public sealed class AuditManagerClientImpl : AuditManagerClientReference documentation and code samples for the Audit Manager v1 API class AuditManagerClientImpl.
AuditManager client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AuditManager.V1Assembly
Google.Cloud.AuditManager.V1.dll
Remarks
Service describing handlers for resources
Constructors
AuditManagerClientImpl(AuditManagerClient, AuditManagerSettings, ILogger)
public AuditManagerClientImpl(AuditManager.AuditManagerClient grpcClient, AuditManagerSettings settings, ILogger logger)Constructs a client wrapper for the AuditManager service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
AuditManagerAuditManagerClientThe underlying gRPC client. |
settings |
AuditManagerSettingsThe base AuditManagerSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GenerateAuditReportOperationsClient
public override OperationsClient GenerateAuditReportOperationsClient { get; }The long-running operations client for GenerateAuditReport.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override AuditManager.AuditManagerClient GrpcClient { get; }The underlying gRPC AuditManager client
| Property Value | |
|---|---|
| Type | Description |
AuditManagerAuditManagerClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
EnrollResource(EnrollResourceRequest, CallSettings)
public override Enrollment EnrollResource(EnrollResourceRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
EnrollResourceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Enrollment |
The RPC response. |
EnrollResourceAsync(EnrollResourceRequest, CallSettings)
public override Task<Enrollment> EnrollResourceAsync(EnrollResourceRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
EnrollResourceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEnrollment |
A Task containing the RPC response. |
GenerateAuditReport(GenerateAuditReportRequest, CallSettings)
public override Operation<AuditReport, OperationMetadata> GenerateAuditReport(GenerateAuditReportRequest request, CallSettings callSettings = null)Register the Audit Report generation requests and returns the OperationId using which the customer can track the report generation progress.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAuditReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAuditReportOperationMetadata |
The RPC response. |
GenerateAuditReportAsync(GenerateAuditReportRequest, CallSettings)
public override Task<Operation<AuditReport, OperationMetadata>> GenerateAuditReportAsync(GenerateAuditReportRequest request, CallSettings callSettings = null)Register the Audit Report generation requests and returns the OperationId using which the customer can track the report generation progress.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAuditReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAuditReportOperationMetadata |
A Task containing the RPC response. |
GenerateAuditScopeReport(GenerateAuditScopeReportRequest, CallSettings)
public override AuditScopeReport GenerateAuditScopeReport(GenerateAuditScopeReportRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAuditScopeReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AuditScopeReport |
The RPC response. |
GenerateAuditScopeReportAsync(GenerateAuditScopeReportRequest, CallSettings)
public override Task<AuditScopeReport> GenerateAuditScopeReportAsync(GenerateAuditScopeReportRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAuditScopeReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAuditScopeReport |
A Task containing the RPC response. |
GetAuditReport(GetAuditReportRequest, CallSettings)
public override AuditReport GetAuditReport(GetAuditReportRequest request, CallSettings callSettings = null)Get the overall audit report
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuditReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AuditReport |
The RPC response. |
GetAuditReportAsync(GetAuditReportRequest, CallSettings)
public override Task<AuditReport> GetAuditReportAsync(GetAuditReportRequest request, CallSettings callSettings = null)Get the overall audit report
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuditReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAuditReport |
A Task containing the RPC response. |
GetResourceEnrollmentStatus(GetResourceEnrollmentStatusRequest, CallSettings)
public override ResourceEnrollmentStatus GetResourceEnrollmentStatus(GetResourceEnrollmentStatusRequest request, CallSettings callSettings = null)Get a resource along with its enrollment status.
| Parameters | |
|---|---|
| Name | Description |
request |
GetResourceEnrollmentStatusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus |
The RPC response. |
GetResourceEnrollmentStatusAsync(GetResourceEnrollmentStatusRequest, CallSettings)
public override Task<ResourceEnrollmentStatus> GetResourceEnrollmentStatusAsync(GetResourceEnrollmentStatusRequest request, CallSettings callSettings = null)Get a resource along with its enrollment status.
| Parameters | |
|---|---|
| Name | Description |
request |
GetResourceEnrollmentStatusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskResourceEnrollmentStatus |
A Task containing the RPC response. |
ListAuditReports(ListAuditReportsRequest, CallSettings)
public override PagedEnumerable<ListAuditReportsResponse, AuditReport> ListAuditReports(ListAuditReportsRequest request, CallSettings callSettings = null)Lists audit reports in the selected parent scope
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuditReportsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAuditReportsResponseAuditReport |
A pageable sequence of AuditReport resources. |
ListAuditReportsAsync(ListAuditReportsRequest, CallSettings)
public override PagedAsyncEnumerable<ListAuditReportsResponse, AuditReport> ListAuditReportsAsync(ListAuditReportsRequest request, CallSettings callSettings = null)Lists audit reports in the selected parent scope
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuditReportsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAuditReportsResponseAuditReport |
A pageable asynchronous sequence of AuditReport resources. |
ListControls(ListControlsRequest, CallSettings)
public override PagedEnumerable<ListControlsResponse, Control> ListControls(ListControlsRequest request, CallSettings callSettings = null)Gets controls needed to be implemented to be compliant to a standard.
| Parameters | |
|---|---|
| Name | Description |
request |
ListControlsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListControlsResponseControl |
A pageable sequence of Control resources. |
ListControlsAsync(ListControlsRequest, CallSettings)
public override PagedAsyncEnumerable<ListControlsResponse, Control> ListControlsAsync(ListControlsRequest request, CallSettings callSettings = null)Gets controls needed to be implemented to be compliant to a standard.
| Parameters | |
|---|---|
| Name | Description |
request |
ListControlsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListControlsResponseControl |
A pageable asynchronous sequence of Control resources. |
ListResourceEnrollmentStatuses(ListResourceEnrollmentStatusesRequest, CallSettings)
public override PagedEnumerable<ListResourceEnrollmentStatusesResponse, ResourceEnrollmentStatus> ListResourceEnrollmentStatuses(ListResourceEnrollmentStatusesRequest request, CallSettings callSettings = null)Fetches all resources under the parent along with their enrollment.
| Parameters | |
|---|---|
| Name | Description |
request |
ListResourceEnrollmentStatusesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListResourceEnrollmentStatusesResponseResourceEnrollmentStatus |
A pageable sequence of ResourceEnrollmentStatus resources. |
ListResourceEnrollmentStatusesAsync(ListResourceEnrollmentStatusesRequest, CallSettings)
public override PagedAsyncEnumerable<ListResourceEnrollmentStatusesResponse, ResourceEnrollmentStatus> ListResourceEnrollmentStatusesAsync(ListResourceEnrollmentStatusesRequest request, CallSettings callSettings = null)Fetches all resources under the parent along with their enrollment.
| Parameters | |
|---|---|
| Name | Description |
request |
ListResourceEnrollmentStatusesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListResourceEnrollmentStatusesResponseResourceEnrollmentStatus |
A pageable asynchronous sequence of ResourceEnrollmentStatus resources. |