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)Adds your project, folder, or organization to Audit Manager. This method creates the Audit Manager service agent in your workload and grants required permissions to the service agent. If you make this request on a workload that's already enrolled, then this method overrides 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)Adds your project, folder, or organization to Audit Manager. This method creates the Audit Manager service agent in your workload and grants required permissions to the service agent. If you make this request on a workload that's already enrolled, then this method overrides 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)Registers audit report generation requests. This method returns the operation identifier that you can use to 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)Registers audit report generation requests. This method returns the operation identifier that you can use to 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 an audit scope report for the given standard.
The report includes the following:
- The technical attributes and constraints that Audit Manager uses to verify your compliance with a framework.
- A list of Google Cloud services and resources that are within the scope of the framework.
| 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 an audit scope report for the given standard.
The report includes the following:
- The technical attributes and constraints that Audit Manager uses to verify your compliance with a framework.
- A list of Google Cloud services and resources that are within the scope of the framework.
| 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)Gets the full metadata and findings for an 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)Gets the full metadata and findings for an 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)Gets a resource and 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)Gets a resource and 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 the audit reports for the organization, folder, or project that you specify as the 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 the audit reports for the organization, folder, or project that you specify as the 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)Lists the controls that you must implement to become compliant to a regulatory 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)Lists the controls that you must implement to become compliant to a regulatory 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)Lists all the folders and projects in an organization or folder, along with their enrollments.
| 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)Lists all the folders and projects in an organization or folder, along with their enrollments.
| 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. |