Cloud Controls Partner v1beta API - Class CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringClient (1.0.0-beta02)

public class CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringClient : ClientBase<CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringClient>

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

Client for CloudControlsPartnerMonitoring

Inheritance

object > ClientBase > ClientBaseCloudControlsPartnerMonitoringCloudControlsPartnerMonitoringClient > CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringClient

Namespace

Google.Cloud.CloudControlsPartner.V1Beta

Assembly

Google.Cloud.CloudControlsPartner.V1Beta.dll

Constructors

CloudControlsPartnerMonitoringClient()

protected CloudControlsPartnerMonitoringClient()

Protected parameterless constructor to allow creation of test doubles.

CloudControlsPartnerMonitoringClient(CallInvoker)

public CloudControlsPartnerMonitoringClient(CallInvoker callInvoker)

Creates a new client for CloudControlsPartnerMonitoring that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

CloudControlsPartnerMonitoringClient(ChannelBase)

public CloudControlsPartnerMonitoringClient(ChannelBase channel)

Creates a new client for CloudControlsPartnerMonitoring

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

CloudControlsPartnerMonitoringClient(ClientBaseConfiguration)

protected CloudControlsPartnerMonitoringClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

GetViolation(GetViolationRequest, CallOptions)

public virtual Violation GetViolation(GetViolationRequest request, CallOptions options)

Gets details of a single Violation.

Parameters
Name Description
request GetViolationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Violation

The response received from the server.

GetViolation(GetViolationRequest, Metadata, DateTime?, CancellationToken)

public virtual Violation GetViolation(GetViolationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single Violation.

Parameters
Name Description
request GetViolationRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Violation

The response received from the server.

GetViolationAsync(GetViolationRequest, CallOptions)

public virtual AsyncUnaryCall<Violation> GetViolationAsync(GetViolationRequest request, CallOptions options)

Gets details of a single Violation.

Parameters
Name Description
request GetViolationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallViolation

The call object.

GetViolationAsync(GetViolationRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Violation> GetViolationAsync(GetViolationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single Violation.

Parameters
Name Description
request GetViolationRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallViolation

The call object.

ListViolations(ListViolationsRequest, CallOptions)

public virtual ListViolationsResponse ListViolations(ListViolationsRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListViolationsResponse

The response received from the server.

ListViolations(ListViolationsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListViolationsResponse ListViolations(ListViolationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListViolationsResponse

The response received from the server.

ListViolationsAsync(ListViolationsRequest, CallOptions)

public virtual AsyncUnaryCall<ListViolationsResponse> ListViolationsAsync(ListViolationsRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListViolationsResponse

The call object.

ListViolationsAsync(ListViolationsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListViolationsResponse> ListViolationsAsync(ListViolationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListViolationsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
CloudControlsPartnerMonitoringCloudControlsPartnerMonitoringClient
Overrides