Package com.google.cloud.auditmanager.v1
Class AuditManagerGrpc.AuditManagerBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AuditManagerGrpc.AuditManagerBlockingStub>
com.google.cloud.auditmanager.v1.AuditManagerGrpc.AuditManagerBlockingStub
- Enclosing class:
- AuditManagerGrpc
public static final class AuditManagerGrpc.AuditManagerBlockingStub
extends io.grpc.stub.AbstractBlockingStub<AuditManagerGrpc.AuditManagerBlockingStub>
A stub to allow clients to do limited synchronous 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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) 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.Register the Audit Report generation requests and returns the OperationId using which the customer can track the report generation progress.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.getAuditReport(GetAuditReportRequest request) Get the overall audit reportGet a resource along with its enrollment status.listAuditReports(ListAuditReportsRequest request) Lists audit reports in the selected parent scopelistControls(ListControlsRequest request) Gets controls needed to be implemented to be compliant to a standard.Fetches all resources under the parent along with their enrollment.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.AuditManagerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AuditManagerGrpc.AuditManagerBlockingStub>
-
enrollResource
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
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
Register the Audit Report generation requests and returns the OperationId using which the customer can track the report generation progress.
-
listAuditReports
Lists audit reports in the selected parent scope
-
getAuditReport
Get the overall audit report
-
getResourceEnrollmentStatus
public ResourceEnrollmentStatus getResourceEnrollmentStatus(GetResourceEnrollmentStatusRequest request) Get a resource along with its enrollment status.
-
listResourceEnrollmentStatuses
public ListResourceEnrollmentStatusesResponse listResourceEnrollmentStatuses(ListResourceEnrollmentStatusesRequest request) Fetches all resources under the parent along with their enrollment.
-
listControls
Gets controls needed to be implemented to be compliant to a standard.
-