Cloud Controls Partner v1beta API - Class CloudControlsPartnerMonitoringClientImpl (1.0.0-beta02)

public sealed class CloudControlsPartnerMonitoringClientImpl : CloudControlsPartnerMonitoringClient

Reference documentation and code samples for the Cloud Controls Partner v1beta API class CloudControlsPartnerMonitoringClientImpl.

CloudControlsPartnerMonitoring client wrapper implementation, for convenient use.

Inheritance

object > CloudControlsPartnerMonitoringClient > CloudControlsPartnerMonitoringClientImpl

Namespace

Google.Cloud.CloudControlsPartner.V1Beta

Assembly

Google.Cloud.CloudControlsPartner.V1Beta.dll

Remarks

Service describing handlers for resources

Constructors

CloudControlsPartnerMonitoringClientImpl(CloudControlsPartnerMonitoringClient, CloudControlsPartnerMonitoringSettings, ILogger)

public CloudControlsPartnerMonitoringClientImpl(CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringClient grpcClient, CloudControlsPartnerMonitoringSettings settings, ILogger logger)

Constructs a client wrapper for the CloudControlsPartnerMonitoring service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient CloudControlsPartnerMonitoringCloudControlsPartnerMonitoringClient

The underlying gRPC client.

settings CloudControlsPartnerMonitoringSettings

The base CloudControlsPartnerMonitoringSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringClient GrpcClient { get; }

The underlying gRPC CloudControlsPartnerMonitoring client

Property Value
Type Description
CloudControlsPartnerMonitoringCloudControlsPartnerMonitoringClient
Overrides

Methods

GetViolation(GetViolationRequest, CallSettings)

public override Violation GetViolation(GetViolationRequest request, CallSettings callSettings = null)

Gets details of a single Violation.

Parameters
Name Description
request GetViolationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Violation

The RPC response.

Overrides

GetViolationAsync(GetViolationRequest, CallSettings)

public override Task<Violation> GetViolationAsync(GetViolationRequest request, CallSettings callSettings = null)

Gets details of a single Violation.

Parameters
Name Description
request GetViolationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskViolation

A Task containing the RPC response.

Overrides

ListViolations(ListViolationsRequest, CallSettings)

public override PagedEnumerable<ListViolationsResponse, Violation> ListViolations(ListViolationsRequest request, CallSettings callSettings = null)

Lists Violations for a workload Callers may also choose to read across multiple Customers or for a single customer as per AIP-159 by using '-' (the hyphen or dash character) as a wildcard character instead of {customer} & {workload}. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}

Parameters
Name Description
request ListViolationsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListViolationsResponseViolation

A pageable sequence of Violation resources.

Overrides

ListViolationsAsync(ListViolationsRequest, CallSettings)

public override PagedAsyncEnumerable<ListViolationsResponse, Violation> ListViolationsAsync(ListViolationsRequest request, CallSettings callSettings = null)

Lists Violations for a workload Callers may also choose to read across multiple Customers or for a single customer as per AIP-159 by using '-' (the hyphen or dash character) as a wildcard character instead of {customer} & {workload}. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}

Parameters
Name Description
request ListViolationsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListViolationsResponseViolation

A pageable asynchronous sequence of Violation resources.

Overrides