public class AuditManager.AuditManagerClient : ClientBase<AuditManager.AuditManagerClient>Reference documentation and code samples for the Audit Manager v1 API class AuditManager.AuditManagerClient.
Client for AuditManager
Inheritance
object > ClientBase > ClientBaseAuditManagerAuditManagerClient > AuditManager.AuditManagerClientNamespace
Google.Cloud.AuditManager.V1Assembly
Google.Cloud.AuditManager.V1.dll
Constructors
AuditManagerClient()
protected AuditManagerClient()Protected parameterless constructor to allow creation of test doubles.
AuditManagerClient(CallInvoker)
public AuditManagerClient(CallInvoker callInvoker)Creates a new client for AuditManager that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
AuditManagerClient(ChannelBase)
public AuditManagerClient(ChannelBase channel)Creates a new client for AuditManager
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
AuditManagerClient(ClientBaseConfiguration)
protected AuditManagerClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateAuditSchedule(CreateAuditScheduleRequest, CallOptions)
public virtual AuditSchedule CreateAuditSchedule(CreateAuditScheduleRequest request, CallOptions options)Creates a new audit schedule in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAuditScheduleRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AuditSchedule |
The response received from the server. |
CreateAuditSchedule(CreateAuditScheduleRequest, Metadata, DateTime?, CancellationToken)
public virtual AuditSchedule CreateAuditSchedule(CreateAuditScheduleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new audit schedule in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAuditScheduleRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AuditSchedule |
The response received from the server. |
CreateAuditScheduleAsync(CreateAuditScheduleRequest, CallOptions)
public virtual AsyncUnaryCall<AuditSchedule> CreateAuditScheduleAsync(CreateAuditScheduleRequest request, CallOptions options)Creates a new audit schedule in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAuditScheduleRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAuditSchedule |
The call object. |
CreateAuditScheduleAsync(CreateAuditScheduleRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AuditSchedule> CreateAuditScheduleAsync(CreateAuditScheduleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new audit schedule in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAuditScheduleRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAuditSchedule |
The call object. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
EnrollResource(EnrollResourceRequest, CallOptions)
public virtual Enrollment EnrollResource(EnrollResourceRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Enrollment |
The response received from the server. |
EnrollResource(EnrollResourceRequest, Metadata, DateTime?, CancellationToken)
public virtual Enrollment EnrollResource(EnrollResourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Enrollment |
The response received from the server. |
EnrollResourceAsync(EnrollResourceRequest, CallOptions)
public virtual AsyncUnaryCall<Enrollment> EnrollResourceAsync(EnrollResourceRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallEnrollment |
The call object. |
EnrollResourceAsync(EnrollResourceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Enrollment> EnrollResourceAsync(EnrollResourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallEnrollment |
The call object. |
GenerateAuditReport(GenerateAuditReportRequest, CallOptions)
public virtual Operation GenerateAuditReport(GenerateAuditReportRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
GenerateAuditReport(GenerateAuditReportRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation GenerateAuditReport(GenerateAuditReportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
GenerateAuditReportAsync(GenerateAuditReportRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> GenerateAuditReportAsync(GenerateAuditReportRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
GenerateAuditReportAsync(GenerateAuditReportRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> GenerateAuditReportAsync(GenerateAuditReportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
GenerateAuditScopeReport(GenerateAuditScopeReportRequest, CallOptions)
public virtual AuditScopeReport GenerateAuditScopeReport(GenerateAuditScopeReportRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AuditScopeReport |
The response received from the server. |
GenerateAuditScopeReport(GenerateAuditScopeReportRequest, Metadata, DateTime?, CancellationToken)
public virtual AuditScopeReport GenerateAuditScopeReport(GenerateAuditScopeReportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AuditScopeReport |
The response received from the server. |
GenerateAuditScopeReportAsync(GenerateAuditScopeReportRequest, CallOptions)
public virtual AsyncUnaryCall<AuditScopeReport> GenerateAuditScopeReportAsync(GenerateAuditScopeReportRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAuditScopeReport |
The call object. |
GenerateAuditScopeReportAsync(GenerateAuditScopeReportRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AuditScopeReport> GenerateAuditScopeReportAsync(GenerateAuditScopeReportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAuditScopeReport |
The call object. |
GetAuditReport(GetAuditReportRequest, CallOptions)
public virtual AuditReport GetAuditReport(GetAuditReportRequest request, CallOptions options)Gets the full metadata and findings for an audit report.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuditReportRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AuditReport |
The response received from the server. |
GetAuditReport(GetAuditReportRequest, Metadata, DateTime?, CancellationToken)
public virtual AuditReport GetAuditReport(GetAuditReportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets the full metadata and findings for an audit report.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuditReportRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AuditReport |
The response received from the server. |
GetAuditReportAsync(GetAuditReportRequest, CallOptions)
public virtual AsyncUnaryCall<AuditReport> GetAuditReportAsync(GetAuditReportRequest request, CallOptions options)Gets the full metadata and findings for an audit report.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuditReportRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAuditReport |
The call object. |
GetAuditReportAsync(GetAuditReportRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AuditReport> GetAuditReportAsync(GetAuditReportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets the full metadata and findings for an audit report.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuditReportRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAuditReport |
The call object. |
GetAuditSchedule(GetAuditScheduleRequest, CallOptions)
public virtual AuditSchedule GetAuditSchedule(GetAuditScheduleRequest request, CallOptions options)Gets details of a single audit schedule.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuditScheduleRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AuditSchedule |
The response received from the server. |
GetAuditSchedule(GetAuditScheduleRequest, Metadata, DateTime?, CancellationToken)
public virtual AuditSchedule GetAuditSchedule(GetAuditScheduleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single audit schedule.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuditScheduleRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AuditSchedule |
The response received from the server. |
GetAuditScheduleAsync(GetAuditScheduleRequest, CallOptions)
public virtual AsyncUnaryCall<AuditSchedule> GetAuditScheduleAsync(GetAuditScheduleRequest request, CallOptions options)Gets details of a single audit schedule.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuditScheduleRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAuditSchedule |
The call object. |
GetAuditScheduleAsync(GetAuditScheduleRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AuditSchedule> GetAuditScheduleAsync(GetAuditScheduleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single audit schedule.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuditScheduleRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAuditSchedule |
The call object. |
GetResourceEnrollmentStatus(GetResourceEnrollmentStatusRequest, CallOptions)
public virtual ResourceEnrollmentStatus GetResourceEnrollmentStatus(GetResourceEnrollmentStatusRequest request, CallOptions options)Gets a resource and its enrollment status.
| Parameters | |
|---|---|
| Name | Description |
request |
GetResourceEnrollmentStatusRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus |
The response received from the server. |
GetResourceEnrollmentStatus(GetResourceEnrollmentStatusRequest, Metadata, DateTime?, CancellationToken)
public virtual ResourceEnrollmentStatus GetResourceEnrollmentStatus(GetResourceEnrollmentStatusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets a resource and its enrollment status.
| Parameters | |
|---|---|
| Name | Description |
request |
GetResourceEnrollmentStatusRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus |
The response received from the server. |
GetResourceEnrollmentStatusAsync(GetResourceEnrollmentStatusRequest, CallOptions)
public virtual AsyncUnaryCall<ResourceEnrollmentStatus> GetResourceEnrollmentStatusAsync(GetResourceEnrollmentStatusRequest request, CallOptions options)Gets a resource and its enrollment status.
| Parameters | |
|---|---|
| Name | Description |
request |
GetResourceEnrollmentStatusRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallResourceEnrollmentStatus |
The call object. |
GetResourceEnrollmentStatusAsync(GetResourceEnrollmentStatusRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ResourceEnrollmentStatus> GetResourceEnrollmentStatusAsync(GetResourceEnrollmentStatusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets a resource and its enrollment status.
| Parameters | |
|---|---|
| Name | Description |
request |
GetResourceEnrollmentStatusRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallResourceEnrollmentStatus |
The call object. |
ListAuditReports(ListAuditReportsRequest, CallOptions)
public virtual ListAuditReportsResponse ListAuditReports(ListAuditReportsRequest request, CallOptions options)Lists the audit reports for the organization, folder, or project that you specify as the parent scope.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuditReportsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListAuditReportsResponse |
The response received from the server. |
ListAuditReports(ListAuditReportsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListAuditReportsResponse ListAuditReports(ListAuditReportsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists the audit reports for the organization, folder, or project that you specify as the parent scope.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuditReportsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListAuditReportsResponse |
The response received from the server. |
ListAuditReportsAsync(ListAuditReportsRequest, CallOptions)
public virtual AsyncUnaryCall<ListAuditReportsResponse> ListAuditReportsAsync(ListAuditReportsRequest request, CallOptions options)Lists the audit reports for the organization, folder, or project that you specify as the parent scope.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuditReportsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListAuditReportsResponse |
The call object. |
ListAuditReportsAsync(ListAuditReportsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListAuditReportsResponse> ListAuditReportsAsync(ListAuditReportsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists the audit reports for the organization, folder, or project that you specify as the parent scope.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuditReportsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListAuditReportsResponse |
The call object. |
ListAuditSchedules(ListAuditSchedulesRequest, CallOptions)
public virtual ListAuditSchedulesResponse ListAuditSchedules(ListAuditSchedulesRequest request, CallOptions options)Lists audit schedules in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuditSchedulesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListAuditSchedulesResponse |
The response received from the server. |
ListAuditSchedules(ListAuditSchedulesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListAuditSchedulesResponse ListAuditSchedules(ListAuditSchedulesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists audit schedules in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuditSchedulesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListAuditSchedulesResponse |
The response received from the server. |
ListAuditSchedulesAsync(ListAuditSchedulesRequest, CallOptions)
public virtual AsyncUnaryCall<ListAuditSchedulesResponse> ListAuditSchedulesAsync(ListAuditSchedulesRequest request, CallOptions options)Lists audit schedules in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuditSchedulesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListAuditSchedulesResponse |
The call object. |
ListAuditSchedulesAsync(ListAuditSchedulesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListAuditSchedulesResponse> ListAuditSchedulesAsync(ListAuditSchedulesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists audit schedules in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuditSchedulesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListAuditSchedulesResponse |
The call object. |
ListControls(ListControlsRequest, CallOptions)
public virtual ListControlsResponse ListControls(ListControlsRequest request, CallOptions options)Lists the controls that you must implement to become compliant to a regulatory standard.
| Parameters | |
|---|---|
| Name | Description |
request |
ListControlsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListControlsResponse |
The response received from the server. |
ListControls(ListControlsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListControlsResponse ListControls(ListControlsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists the controls that you must implement to become compliant to a regulatory standard.
| Parameters | |
|---|---|
| Name | Description |
request |
ListControlsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListControlsResponse |
The response received from the server. |
ListControlsAsync(ListControlsRequest, CallOptions)
public virtual AsyncUnaryCall<ListControlsResponse> ListControlsAsync(ListControlsRequest request, CallOptions options)Lists the controls that you must implement to become compliant to a regulatory standard.
| Parameters | |
|---|---|
| Name | Description |
request |
ListControlsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListControlsResponse |
The call object. |
ListControlsAsync(ListControlsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListControlsResponse> ListControlsAsync(ListControlsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists the controls that you must implement to become compliant to a regulatory standard.
| Parameters | |
|---|---|
| Name | Description |
request |
ListControlsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListControlsResponse |
The call object. |
ListResourceEnrollmentStatuses(ListResourceEnrollmentStatusesRequest, CallOptions)
public virtual ListResourceEnrollmentStatusesResponse ListResourceEnrollmentStatuses(ListResourceEnrollmentStatusesRequest request, CallOptions options)Lists all the folders and projects in an organization or folder, along with their enrollments.
| Parameters | |
|---|---|
| Name | Description |
request |
ListResourceEnrollmentStatusesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListResourceEnrollmentStatusesResponse |
The response received from the server. |
ListResourceEnrollmentStatuses(ListResourceEnrollmentStatusesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListResourceEnrollmentStatusesResponse ListResourceEnrollmentStatuses(ListResourceEnrollmentStatusesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all the folders and projects in an organization or folder, along with their enrollments.
| Parameters | |
|---|---|
| Name | Description |
request |
ListResourceEnrollmentStatusesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListResourceEnrollmentStatusesResponse |
The response received from the server. |
ListResourceEnrollmentStatusesAsync(ListResourceEnrollmentStatusesRequest, CallOptions)
public virtual AsyncUnaryCall<ListResourceEnrollmentStatusesResponse> ListResourceEnrollmentStatusesAsync(ListResourceEnrollmentStatusesRequest request, CallOptions options)Lists all the folders and projects in an organization or folder, along with their enrollments.
| Parameters | |
|---|---|
| Name | Description |
request |
ListResourceEnrollmentStatusesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListResourceEnrollmentStatusesResponse |
The call object. |
ListResourceEnrollmentStatusesAsync(ListResourceEnrollmentStatusesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListResourceEnrollmentStatusesResponse> ListResourceEnrollmentStatusesAsync(ListResourceEnrollmentStatusesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all the folders and projects in an organization or folder, along with their enrollments.
| Parameters | |
|---|---|
| Name | Description |
request |
ListResourceEnrollmentStatusesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListResourceEnrollmentStatusesResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override AuditManager.AuditManagerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
AuditManagerAuditManagerClient |
|
UpdateAuditSchedule(UpdateAuditScheduleRequest, CallOptions)
public virtual AuditSchedule UpdateAuditSchedule(UpdateAuditScheduleRequest request, CallOptions options)Updates an existing audit schedule.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAuditScheduleRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AuditSchedule |
The response received from the server. |
UpdateAuditSchedule(UpdateAuditScheduleRequest, Metadata, DateTime?, CancellationToken)
public virtual AuditSchedule UpdateAuditSchedule(UpdateAuditScheduleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates an existing audit schedule.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAuditScheduleRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AuditSchedule |
The response received from the server. |
UpdateAuditScheduleAsync(UpdateAuditScheduleRequest, CallOptions)
public virtual AsyncUnaryCall<AuditSchedule> UpdateAuditScheduleAsync(UpdateAuditScheduleRequest request, CallOptions options)Updates an existing audit schedule.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAuditScheduleRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAuditSchedule |
The call object. |
UpdateAuditScheduleAsync(UpdateAuditScheduleRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AuditSchedule> UpdateAuditScheduleAsync(UpdateAuditScheduleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates an existing audit schedule.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAuditScheduleRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAuditSchedule |
The call object. |