Class GrpcPrivilegedAccessManagerStub (0.3.0)

public class GrpcPrivilegedAccessManagerStub extends PrivilegedAccessManagerStub

gRPC stub implementation for the PrivilegedAccessManager service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > PrivilegedAccessManagerStub > GrpcPrivilegedAccessManagerStub

Static Methods

create(ClientContext clientContext)

public static final GrpcPrivilegedAccessManagerStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcPrivilegedAccessManagerStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcPrivilegedAccessManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcPrivilegedAccessManagerStub
Exceptions
Type Description
IOException

create(PrivilegedAccessManagerStubSettings settings)

public static final GrpcPrivilegedAccessManagerStub create(PrivilegedAccessManagerStubSettings settings)
Parameter
Name Description
settings PrivilegedAccessManagerStubSettings
Returns
Type Description
GrpcPrivilegedAccessManagerStub
Exceptions
Type Description
IOException

Constructors

GrpcPrivilegedAccessManagerStub(PrivilegedAccessManagerStubSettings settings, ClientContext clientContext)

protected GrpcPrivilegedAccessManagerStub(PrivilegedAccessManagerStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcPrivilegedAccessManagerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings PrivilegedAccessManagerStubSettings
clientContext ClientContext

GrpcPrivilegedAccessManagerStub(PrivilegedAccessManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcPrivilegedAccessManagerStub(PrivilegedAccessManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcPrivilegedAccessManagerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings PrivilegedAccessManagerStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

approveGrantCallable()

public UnaryCallable<ApproveGrantRequest,Grant> approveGrantCallable()
Returns
Type Description
UnaryCallable<ApproveGrantRequest,Grant>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

checkOnboardingStatusCallable()

public UnaryCallable<CheckOnboardingStatusRequest,CheckOnboardingStatusResponse> checkOnboardingStatusCallable()
Returns
Type Description
UnaryCallable<CheckOnboardingStatusRequest,CheckOnboardingStatusResponse>
Overrides

close()

public final void close()
Overrides

createEntitlementCallable()

public UnaryCallable<CreateEntitlementRequest,Operation> createEntitlementCallable()
Returns
Type Description
UnaryCallable<CreateEntitlementRequest,Operation>
Overrides

createEntitlementOperationCallable()

public OperationCallable<CreateEntitlementRequest,Entitlement,OperationMetadata> createEntitlementOperationCallable()
Returns
Type Description
OperationCallable<CreateEntitlementRequest,Entitlement,OperationMetadata>
Overrides

createGrantCallable()

public UnaryCallable<CreateGrantRequest,Grant> createGrantCallable()
Returns
Type Description
UnaryCallable<CreateGrantRequest,Grant>
Overrides

deleteEntitlementCallable()

public UnaryCallable<DeleteEntitlementRequest,Operation> deleteEntitlementCallable()
Returns
Type Description
UnaryCallable<DeleteEntitlementRequest,Operation>
Overrides

deleteEntitlementOperationCallable()

public OperationCallable<DeleteEntitlementRequest,Entitlement,OperationMetadata> deleteEntitlementOperationCallable()
Returns
Type Description
OperationCallable<DeleteEntitlementRequest,Entitlement,OperationMetadata>
Overrides

denyGrantCallable()

public UnaryCallable<DenyGrantRequest,Grant> denyGrantCallable()
Returns
Type Description
UnaryCallable<DenyGrantRequest,Grant>
Overrides

getEntitlementCallable()

public UnaryCallable<GetEntitlementRequest,Entitlement> getEntitlementCallable()
Returns
Type Description
UnaryCallable<GetEntitlementRequest,Entitlement>
Overrides

getGrantCallable()

public UnaryCallable<GetGrantRequest,Grant> getGrantCallable()
Returns
Type Description
UnaryCallable<GetGrantRequest,Grant>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listEntitlementsCallable()

public UnaryCallable<ListEntitlementsRequest,ListEntitlementsResponse> listEntitlementsCallable()
Returns
Type Description
UnaryCallable<ListEntitlementsRequest,ListEntitlementsResponse>
Overrides

listEntitlementsPagedCallable()

public UnaryCallable<ListEntitlementsRequest,PrivilegedAccessManagerClient.ListEntitlementsPagedResponse> listEntitlementsPagedCallable()
Returns
Type Description
UnaryCallable<ListEntitlementsRequest,ListEntitlementsPagedResponse>
Overrides

listGrantsCallable()

public UnaryCallable<ListGrantsRequest,ListGrantsResponse> listGrantsCallable()
Returns
Type Description
UnaryCallable<ListGrantsRequest,ListGrantsResponse>
Overrides

listGrantsPagedCallable()

public UnaryCallable<ListGrantsRequest,PrivilegedAccessManagerClient.ListGrantsPagedResponse> listGrantsPagedCallable()
Returns
Type Description
UnaryCallable<ListGrantsRequest,ListGrantsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,PrivilegedAccessManagerClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

revokeGrantCallable()

public UnaryCallable<RevokeGrantRequest,Operation> revokeGrantCallable()
Returns
Type Description
UnaryCallable<RevokeGrantRequest,Operation>
Overrides

revokeGrantOperationCallable()

public OperationCallable<RevokeGrantRequest,Grant,OperationMetadata> revokeGrantOperationCallable()
Returns
Type Description
OperationCallable<RevokeGrantRequest,Grant,OperationMetadata>
Overrides

searchEntitlementsCallable()

public UnaryCallable<SearchEntitlementsRequest,SearchEntitlementsResponse> searchEntitlementsCallable()
Returns
Type Description
UnaryCallable<SearchEntitlementsRequest,SearchEntitlementsResponse>
Overrides

searchEntitlementsPagedCallable()

public UnaryCallable<SearchEntitlementsRequest,PrivilegedAccessManagerClient.SearchEntitlementsPagedResponse> searchEntitlementsPagedCallable()
Returns
Type Description
UnaryCallable<SearchEntitlementsRequest,SearchEntitlementsPagedResponse>
Overrides

searchGrantsCallable()

public UnaryCallable<SearchGrantsRequest,SearchGrantsResponse> searchGrantsCallable()
Returns
Type Description
UnaryCallable<SearchGrantsRequest,SearchGrantsResponse>
Overrides

searchGrantsPagedCallable()

public UnaryCallable<SearchGrantsRequest,PrivilegedAccessManagerClient.SearchGrantsPagedResponse> searchGrantsPagedCallable()
Returns
Type Description
UnaryCallable<SearchGrantsRequest,SearchGrantsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateEntitlementCallable()

public UnaryCallable<UpdateEntitlementRequest,Operation> updateEntitlementCallable()
Returns
Type Description
UnaryCallable<UpdateEntitlementRequest,Operation>
Overrides

updateEntitlementOperationCallable()

public OperationCallable<UpdateEntitlementRequest,Entitlement,OperationMetadata> updateEntitlementOperationCallable()
Returns
Type Description
OperationCallable<UpdateEntitlementRequest,Entitlement,OperationMetadata>
Overrides