Class AuditManagerGrpc.AuditManagerStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<AuditManagerGrpc.AuditManagerStub>
com.google.cloud.auditmanager.v1.AuditManagerGrpc.AuditManagerStub
Enclosing class:
AuditManagerGrpc

public static final class AuditManagerGrpc.AuditManagerStub extends io.grpc.stub.AbstractAsyncStub<AuditManagerGrpc.AuditManagerStub>
A stub to allow clients to do asynchronous rpc calls to service AuditManager.
 Service describing handlers for resources
 
  • Method Details

    • build

      protected AuditManagerGrpc.AuditManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AuditManagerGrpc.AuditManagerStub>
    • enrollResource

      public void enrollResource(EnrollResourceRequest request, io.grpc.stub.StreamObserver<Enrollment> responseObserver)
       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 void generateAuditScopeReport(GenerateAuditScopeReportRequest request, io.grpc.stub.StreamObserver<AuditScopeReport> responseObserver)
       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 void generateAuditReport(GenerateAuditReportRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Register the Audit Report generation requests and returns the OperationId
       using which the customer can track the report generation progress.
       
    • listAuditReports

      public void listAuditReports(ListAuditReportsRequest request, io.grpc.stub.StreamObserver<ListAuditReportsResponse> responseObserver)
       Lists audit reports in the selected parent scope
       
    • getAuditReport

      public void getAuditReport(GetAuditReportRequest request, io.grpc.stub.StreamObserver<AuditReport> responseObserver)
       Get the overall audit report
       
    • getResourceEnrollmentStatus

      public void getResourceEnrollmentStatus(GetResourceEnrollmentStatusRequest request, io.grpc.stub.StreamObserver<ResourceEnrollmentStatus> responseObserver)
       Get a resource along with its enrollment status.
       
    • listResourceEnrollmentStatuses

      public void listResourceEnrollmentStatuses(ListResourceEnrollmentStatusesRequest request, io.grpc.stub.StreamObserver<ListResourceEnrollmentStatusesResponse> responseObserver)
       Fetches all resources under the parent along with their enrollment.
       
    • listControls

      public void listControls(ListControlsRequest request, io.grpc.stub.StreamObserver<ListControlsResponse> responseObserver)
       Gets controls needed to be implemented to be compliant to a standard.