Class HttpJsonPrivilegedAccessManagerStub (0.6.0)

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.

Inheritance

java.lang.Object > PrivilegedAccessManagerStub > HttpJsonPrivilegedAccessManagerStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(PrivilegedAccessManagerStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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.

Parameters
Name Description
settings PrivilegedAccessManagerStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings PrivilegedAccessManagerStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
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()
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