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)
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> |
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> |
close()
public final void close()
createEntitlementCallable()
public UnaryCallable<CreateEntitlementRequest,Operation> createEntitlementCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateEntitlementRequest,Operation> |
createEntitlementOperationCallable()
public OperationCallable<CreateEntitlementRequest,Entitlement,OperationMetadata> createEntitlementOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateEntitlementRequest,Entitlement,OperationMetadata> |
createGrantCallable()
public UnaryCallable<CreateGrantRequest,Grant> createGrantCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateGrantRequest,Grant> |
deleteEntitlementCallable()
public UnaryCallable<DeleteEntitlementRequest,Operation> deleteEntitlementCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteEntitlementRequest,Operation> |
deleteEntitlementOperationCallable()
public OperationCallable<DeleteEntitlementRequest,Entitlement,OperationMetadata> deleteEntitlementOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteEntitlementRequest,Entitlement,OperationMetadata> |
denyGrantCallable()
public UnaryCallable<DenyGrantRequest,Grant> denyGrantCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DenyGrantRequest,Grant> |
getEntitlementCallable()
public UnaryCallable<GetEntitlementRequest,Entitlement> getEntitlementCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetEntitlementRequest,Entitlement> |
getGrantCallable()
public UnaryCallable<GetGrantRequest,Grant> getGrantCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetGrantRequest,Grant> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
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> |
listEntitlementsPagedCallable()
public UnaryCallable<ListEntitlementsRequest,PrivilegedAccessManagerClient.ListEntitlementsPagedResponse> listEntitlementsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListEntitlementsRequest,ListEntitlementsPagedResponse> |
listGrantsCallable()
public UnaryCallable<ListGrantsRequest,ListGrantsResponse> listGrantsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGrantsRequest,ListGrantsResponse> |
listGrantsPagedCallable()
public UnaryCallable<ListGrantsRequest,PrivilegedAccessManagerClient.ListGrantsPagedResponse> listGrantsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGrantsRequest,ListGrantsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,PrivilegedAccessManagerClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
revokeGrantCallable()
public UnaryCallable<RevokeGrantRequest,Operation> revokeGrantCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RevokeGrantRequest,Operation> |
revokeGrantOperationCallable()
public OperationCallable<RevokeGrantRequest,Grant,OperationMetadata> revokeGrantOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RevokeGrantRequest,Grant,OperationMetadata> |
searchEntitlementsCallable()
public UnaryCallable<SearchEntitlementsRequest,SearchEntitlementsResponse> searchEntitlementsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchEntitlementsRequest,SearchEntitlementsResponse> |
searchEntitlementsPagedCallable()
public UnaryCallable<SearchEntitlementsRequest,PrivilegedAccessManagerClient.SearchEntitlementsPagedResponse> searchEntitlementsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchEntitlementsRequest,SearchEntitlementsPagedResponse> |
searchGrantsCallable()
public UnaryCallable<SearchGrantsRequest,SearchGrantsResponse> searchGrantsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchGrantsRequest,SearchGrantsResponse> |
searchGrantsPagedCallable()
public UnaryCallable<SearchGrantsRequest,PrivilegedAccessManagerClient.SearchGrantsPagedResponse> searchGrantsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchGrantsRequest,SearchGrantsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateEntitlementCallable()
public UnaryCallable<UpdateEntitlementRequest,Operation> updateEntitlementCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateEntitlementRequest,Operation> |
updateEntitlementOperationCallable()
public OperationCallable<UpdateEntitlementRequest,Entitlement,OperationMetadata> updateEntitlementOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateEntitlementRequest,Entitlement,OperationMetadata> |