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
 
  • Method Details

    • build

      protected AuditManagerGrpc.AuditManagerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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.