Class AccessApprovalGrpc (2.3.1)

public final class AccessApprovalGrpc

This API allows a customer to manage accesses to cloud resources by Google personnel. It defines the following resource model:

  • The API has a collection of ApprovalRequest resources, named approvalRequests/{approval_request}
  • The API has top-level settings per Project/Folder/Organization, named accessApprovalSettings The service also periodically emails a list of recipients, defined at the Project/Folder/Organization level in the accessApprovalSettings, when there is a pending ApprovalRequest for them to act on. The ApprovalRequests can also optionally be published to a Pub/Sub topic owned by the customer (contact support if you would like to enable Pub/Sub notifications). ApprovalRequests can be approved or dismissed. Google personnel can only access the indicated resource or resources if the request is approved (subject to some exclusions: https://cloud.google.com/access-approval/docs/overview#exclusions). Note: Using Access Approval functionality will mean that Google may not be able to meet the SLAs for your chosen products, as any support response times may be dramatically increased. As such the SLAs do not apply to any service disruption to the extent impacted by Customer's use of Access Approval. Do not enable Access Approval for projects where you may require high service availability and rapid response by Google Cloud Support. After a request is approved or dismissed, no further action may be taken on it. Requests with the requested_expiration in the past or with no activity for 14 days are considered dismissed. When an approval expires, the request is considered dismissed. If a request is not approved or dismissed, we call it pending.

Inheritance

java.lang.Object > AccessApprovalGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getApproveApprovalRequestMethod()

public static MethodDescriptor<ApproveApprovalRequestMessage,ApprovalRequest> getApproveApprovalRequestMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ApproveApprovalRequestMessage,ApprovalRequest>

getDeleteAccessApprovalSettingsMethod()

public static MethodDescriptor<DeleteAccessApprovalSettingsMessage,Empty> getDeleteAccessApprovalSettingsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteAccessApprovalSettingsMessage,Empty>

getDismissApprovalRequestMethod()

public static MethodDescriptor<DismissApprovalRequestMessage,ApprovalRequest> getDismissApprovalRequestMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DismissApprovalRequestMessage,ApprovalRequest>

getGetAccessApprovalServiceAccountMethod()

public static MethodDescriptor<GetAccessApprovalServiceAccountMessage,AccessApprovalServiceAccount> getGetAccessApprovalServiceAccountMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetAccessApprovalServiceAccountMessage,AccessApprovalServiceAccount>

getGetAccessApprovalSettingsMethod()

public static MethodDescriptor<GetAccessApprovalSettingsMessage,AccessApprovalSettings> getGetAccessApprovalSettingsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetAccessApprovalSettingsMessage,AccessApprovalSettings>

getGetApprovalRequestMethod()

public static MethodDescriptor<GetApprovalRequestMessage,ApprovalRequest> getGetApprovalRequestMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetApprovalRequestMessage,ApprovalRequest>

getInvalidateApprovalRequestMethod()

public static MethodDescriptor<InvalidateApprovalRequestMessage,ApprovalRequest> getInvalidateApprovalRequestMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<InvalidateApprovalRequestMessage,ApprovalRequest>

getListApprovalRequestsMethod()

public static MethodDescriptor<ListApprovalRequestsMessage,ListApprovalRequestsResponse> getListApprovalRequestsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListApprovalRequestsMessage,ListApprovalRequestsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateAccessApprovalSettingsMethod()

public static MethodDescriptor<UpdateAccessApprovalSettingsMessage,AccessApprovalSettings> getUpdateAccessApprovalSettingsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateAccessApprovalSettingsMessage,AccessApprovalSettings>

newBlockingStub(Channel channel)

public static AccessApprovalGrpc.AccessApprovalBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
AccessApprovalGrpc.AccessApprovalBlockingStub

newFutureStub(Channel channel)

public static AccessApprovalGrpc.AccessApprovalFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
AccessApprovalGrpc.AccessApprovalFutureStub

newStub(Channel channel)

public static AccessApprovalGrpc.AccessApprovalStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
AccessApprovalGrpc.AccessApprovalStub