Package com.google.cloud.auditmanager.v1
Class AuditManagerGrpc.AuditManagerFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<AuditManagerGrpc.AuditManagerFutureStub>
com.google.cloud.auditmanager.v1.AuditManagerGrpc.AuditManagerFutureStub
- Enclosing class:
- AuditManagerGrpc
public static final class AuditManagerGrpc.AuditManagerFutureStub
extends io.grpc.stub.AbstractFutureStub<AuditManagerGrpc.AuditManagerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service AuditManager.
Service describing handlers for resources
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected AuditManagerGrpc.AuditManagerFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Enrollment>enrollResource(EnrollResourceRequest request) Enrolls the customer resource(folder/project/organization) to the audit manager service by creating the audit managers Service Agent in customers workload and granting required permissions to the Service Agent.com.google.common.util.concurrent.ListenableFuture<Operation>Register the Audit Report generation requests and returns the OperationId using which the customer can track the report generation progress.com.google.common.util.concurrent.ListenableFuture<AuditScopeReport>Generates a demo report highlighting different responsibilities (Google/Customer/ shared) required to be fulfilled for the customer's workload to be compliant with the given standard.com.google.common.util.concurrent.ListenableFuture<AuditReport>getAuditReport(GetAuditReportRequest request) Get the overall audit reportcom.google.common.util.concurrent.ListenableFuture<ResourceEnrollmentStatus>Get a resource along with its enrollment status.com.google.common.util.concurrent.ListenableFuture<ListAuditReportsResponse>listAuditReports(ListAuditReportsRequest request) Lists audit reports in the selected parent scopecom.google.common.util.concurrent.ListenableFuture<ListControlsResponse>listControls(ListControlsRequest request) Gets controls needed to be implemented to be compliant to a standard.com.google.common.util.concurrent.ListenableFuture<ListResourceEnrollmentStatusesResponse>Fetches all resources under the parent along with their enrollment.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AuditManagerGrpc.AuditManagerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AuditManagerGrpc.AuditManagerFutureStub>
-
enrollResource
public com.google.common.util.concurrent.ListenableFuture<Enrollment> enrollResource(EnrollResourceRequest request) Enrolls the customer resource(folder/project/organization) to the audit manager service by creating the audit managers Service Agent in customers workload and granting required permissions to the Service Agent. Please note that if enrollment request is made on the already enrolled workload then enrollment is executed overriding the existing set of destinations.
-
generateAuditScopeReport
public com.google.common.util.concurrent.ListenableFuture<AuditScopeReport> generateAuditScopeReport(GenerateAuditScopeReportRequest request) Generates a demo report highlighting different responsibilities (Google/Customer/ shared) required to be fulfilled for the customer's workload to be compliant with the given standard.
-
generateAuditReport
public com.google.common.util.concurrent.ListenableFuture<Operation> generateAuditReport(GenerateAuditReportRequest request) Register the Audit Report generation requests and returns the OperationId using which the customer can track the report generation progress.
-
listAuditReports
public com.google.common.util.concurrent.ListenableFuture<ListAuditReportsResponse> listAuditReports(ListAuditReportsRequest request) Lists audit reports in the selected parent scope
-
getAuditReport
public com.google.common.util.concurrent.ListenableFuture<AuditReport> getAuditReport(GetAuditReportRequest request) Get the overall audit report
-
getResourceEnrollmentStatus
public com.google.common.util.concurrent.ListenableFuture<ResourceEnrollmentStatus> getResourceEnrollmentStatus(GetResourceEnrollmentStatusRequest request) Get a resource along with its enrollment status.
-
listResourceEnrollmentStatuses
public com.google.common.util.concurrent.ListenableFuture<ListResourceEnrollmentStatusesResponse> listResourceEnrollmentStatuses(ListResourceEnrollmentStatusesRequest request) Fetches all resources under the parent along with their enrollment.
-
listControls
public com.google.common.util.concurrent.ListenableFuture<ListControlsResponse> listControls(ListControlsRequest request) Gets controls needed to be implemented to be compliant to a standard.
-