public class HttpJsonAccessApprovalStub extends AccessApprovalStub
REST stub implementation for the AccessApproval service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonAccessApprovalStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAccessApprovalStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(AccessApprovalStubSettings settings)
public static final HttpJsonAccessApprovalStub create(AccessApprovalStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonAccessApprovalStub(AccessApprovalStubSettings settings, ClientContext clientContext)
protected HttpJsonAccessApprovalStub(AccessApprovalStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonAccessApprovalStub, 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
HttpJsonAccessApprovalStub(AccessApprovalStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonAccessApprovalStub(AccessApprovalStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAccessApprovalStub, 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
Methods
approveApprovalRequestCallable()
public UnaryCallable<ApproveApprovalRequestMessage,ApprovalRequest> approveApprovalRequestCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteAccessApprovalSettingsCallable()
public UnaryCallable<DeleteAccessApprovalSettingsMessage,Empty> deleteAccessApprovalSettingsCallable()
Returns
Overrides
dismissApprovalRequestCallable()
public UnaryCallable<DismissApprovalRequestMessage,ApprovalRequest> dismissApprovalRequestCallable()
Returns
Overrides
getAccessApprovalServiceAccountCallable()
public UnaryCallable<GetAccessApprovalServiceAccountMessage,AccessApprovalServiceAccount> getAccessApprovalServiceAccountCallable()
Returns
Overrides
getAccessApprovalSettingsCallable()
public UnaryCallable<GetAccessApprovalSettingsMessage,AccessApprovalSettings> getAccessApprovalSettingsCallable()
Returns
Overrides
getApprovalRequestCallable()
public UnaryCallable<GetApprovalRequestMessage,ApprovalRequest> getApprovalRequestCallable()
Returns
Overrides
invalidateApprovalRequestCallable()
public UnaryCallable<InvalidateApprovalRequestMessage,ApprovalRequest> invalidateApprovalRequestCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listApprovalRequestsCallable()
public UnaryCallable<ListApprovalRequestsMessage,ListApprovalRequestsResponse> listApprovalRequestsCallable()
Returns
Overrides
listApprovalRequestsPagedCallable()
public UnaryCallable<ListApprovalRequestsMessage,AccessApprovalAdminClient.ListApprovalRequestsPagedResponse> listApprovalRequestsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateAccessApprovalSettingsCallable()
public UnaryCallable<UpdateAccessApprovalSettingsMessage,AccessApprovalSettings> updateAccessApprovalSettingsCallable()
Returns
Overrides