Cloud Controls Partner v1 API - Class CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringBase (1.0.0-beta02)

[BindServiceMethod(typeof(CloudControlsPartnerMonitoring), "BindService")]
public abstract class CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringBase

Reference documentation and code samples for the Cloud Controls Partner v1 API class CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringBase.

Base class for server-side implementations of CloudControlsPartnerMonitoring

Inheritance

object > CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringBase

Namespace

Google.Cloud.CloudControlsPartner.V1

Assembly

Google.Cloud.CloudControlsPartner.V1.dll

Methods

GetViolation(GetViolationRequest, ServerCallContext)

public virtual Task<Violation> GetViolation(GetViolationRequest request, ServerCallContext context)

Gets details of a single Violation.

Parameters
Name Description
request GetViolationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskViolation

The response to send back to the client (wrapped by a task).

ListViolations(ListViolationsRequest, ServerCallContext)

public virtual Task<ListViolationsResponse> ListViolations(ListViolationsRequest request, ServerCallContext context)

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 received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListViolationsResponse

The response to send back to the client (wrapped by a task).