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.
Static Methods
create(ClientContext clientContext)
public static final GrpcPrivilegedAccessManagerStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcPrivilegedAccessManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(PrivilegedAccessManagerStubSettings settings)
public static final GrpcPrivilegedAccessManagerStub create(PrivilegedAccessManagerStubSettings settings)
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.
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.
Methods
approveGrantCallable()
public UnaryCallable<ApproveGrantRequest,Grant> approveGrantCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
checkOnboardingStatusCallable()
public UnaryCallable<CheckOnboardingStatusRequest,CheckOnboardingStatusResponse> checkOnboardingStatusCallable()
Overrides
close()
public final void close()
Overrides
createEntitlementCallable()
public UnaryCallable<CreateEntitlementRequest,Operation> createEntitlementCallable()
Overrides
createEntitlementOperationCallable()
public OperationCallable<CreateEntitlementRequest,Entitlement,OperationMetadata> createEntitlementOperationCallable()
Overrides
createGrantCallable()
public UnaryCallable<CreateGrantRequest,Grant> createGrantCallable()
Overrides
deleteEntitlementCallable()
public UnaryCallable<DeleteEntitlementRequest,Operation> deleteEntitlementCallable()
Overrides
deleteEntitlementOperationCallable()
public OperationCallable<DeleteEntitlementRequest,Entitlement,OperationMetadata> deleteEntitlementOperationCallable()
Overrides
denyGrantCallable()
public UnaryCallable<DenyGrantRequest,Grant> denyGrantCallable()
Overrides
getEntitlementCallable()
public UnaryCallable<GetEntitlementRequest,Entitlement> getEntitlementCallable()
Overrides
getGrantCallable()
public UnaryCallable<GetGrantRequest,Grant> getGrantCallable()
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()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listEntitlementsCallable()
public UnaryCallable<ListEntitlementsRequest,ListEntitlementsResponse> listEntitlementsCallable()
Overrides
listEntitlementsPagedCallable()
public UnaryCallable<ListEntitlementsRequest,PrivilegedAccessManagerClient.ListEntitlementsPagedResponse> listEntitlementsPagedCallable()
Overrides
listGrantsCallable()
public UnaryCallable<ListGrantsRequest,ListGrantsResponse> listGrantsCallable()
Overrides
listGrantsPagedCallable()
public UnaryCallable<ListGrantsRequest,PrivilegedAccessManagerClient.ListGrantsPagedResponse> listGrantsPagedCallable()
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()
Overrides
revokeGrantCallable()
public UnaryCallable<RevokeGrantRequest,Operation> revokeGrantCallable()
Overrides
revokeGrantOperationCallable()
public OperationCallable<RevokeGrantRequest,Grant,OperationMetadata> revokeGrantOperationCallable()
Overrides
searchEntitlementsCallable()
public UnaryCallable<SearchEntitlementsRequest,SearchEntitlementsResponse> searchEntitlementsCallable()
Overrides
searchEntitlementsPagedCallable()
public UnaryCallable<SearchEntitlementsRequest,PrivilegedAccessManagerClient.SearchEntitlementsPagedResponse> searchEntitlementsPagedCallable()
Overrides
searchGrantsCallable()
public UnaryCallable<SearchGrantsRequest,SearchGrantsResponse> searchGrantsCallable()
Overrides
searchGrantsPagedCallable()
public UnaryCallable<SearchGrantsRequest,PrivilegedAccessManagerClient.SearchGrantsPagedResponse> searchGrantsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateEntitlementCallable()
public UnaryCallable<UpdateEntitlementRequest,Operation> updateEntitlementCallable()
Overrides
updateEntitlementOperationCallable()
public OperationCallable<UpdateEntitlementRequest,Entitlement,OperationMetadata> updateEntitlementOperationCallable()
Overrides