Package com.google.cloud.auditmanager.v1
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
-
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.AuditManagerBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AuditManagerGrpc.AuditManagerBlockingV2Stub>
-
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.
- 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
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
-