public class HttpJsonPrivilegedAccessManagerStub extends PrivilegedAccessManagerStub
REST 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 HttpJsonPrivilegedAccessManagerStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonPrivilegedAccessManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(PrivilegedAccessManagerStubSettings settings)
public static final HttpJsonPrivilegedAccessManagerStub create(PrivilegedAccessManagerStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonPrivilegedAccessManagerStub(PrivilegedAccessManagerStubSettings settings, ClientContext clientContext)
protected HttpJsonPrivilegedAccessManagerStub(PrivilegedAccessManagerStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonPrivilegedAccessManagerStub, 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.
HttpJsonPrivilegedAccessManagerStub(PrivilegedAccessManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonPrivilegedAccessManagerStub(PrivilegedAccessManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonPrivilegedAccessManagerStub, 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
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
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