[BindServiceMethod(typeof(CloudControlsPartnerMonitoring), "BindService")]
public abstract class CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringBaseReference documentation and code samples for the Cloud Controls Partner v1 API class CloudControlsPartnerMonitoring.CloudControlsPartnerMonitoringBase.
Base class for server-side implementations of CloudControlsPartnerMonitoring
Namespace
Google.Cloud.CloudControlsPartner.V1Assembly
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 | GetViolationRequestThe request received from the client. | 
| context | ServerCallContextThe 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 | ListViolationsRequestThe request received from the client. | 
| context | ServerCallContextThe 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). |