Class AuditManagerGrpc.AuditManagerBlockingV2Stub

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

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

    • build

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

      public Enrollment enrollResource(EnrollResourceRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • generateAuditScopeReport

      public AuditScopeReport generateAuditScopeReport(GenerateAuditScopeReportRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • generateAuditReport

      public Operation generateAuditReport(GenerateAuditReportRequest request) throws io.grpc.StatusException
       Register the Audit Report generation requests and returns the OperationId
       using which the customer can track the report generation progress.
       
      Throws:
      io.grpc.StatusException
    • listAuditReports

      public ListAuditReportsResponse listAuditReports(ListAuditReportsRequest request) throws io.grpc.StatusException
       Lists audit reports in the selected parent scope
       
      Throws:
      io.grpc.StatusException
    • getAuditReport

      public AuditReport getAuditReport(GetAuditReportRequest request) throws io.grpc.StatusException
       Get the overall audit report
       
      Throws:
      io.grpc.StatusException
    • getResourceEnrollmentStatus

      public ResourceEnrollmentStatus getResourceEnrollmentStatus(GetResourceEnrollmentStatusRequest request) throws io.grpc.StatusException
       Get a resource along with its enrollment status.
       
      Throws:
      io.grpc.StatusException
    • listResourceEnrollmentStatuses

      public ListResourceEnrollmentStatusesResponse listResourceEnrollmentStatuses(ListResourceEnrollmentStatusesRequest request) throws io.grpc.StatusException
       Fetches all resources under the parent along with their enrollment.
       
      Throws:
      io.grpc.StatusException
    • listControls

      public ListControlsResponse listControls(ListControlsRequest request) throws io.grpc.StatusException
       Gets controls needed to be implemented to be compliant to a standard.
       
      Throws:
      io.grpc.StatusException