Class protos.google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring (0.1.0)

Represents a CloudControlsPartnerMonitoring

Inheritance

$protobuf.rpc.Service > protos.google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring

Package

@google-cloud/cloudcontrolspartner

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new CloudControlsPartnerMonitoring service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CloudControlsPartnerMonitoring;

Creates new CloudControlsPartnerMonitoring service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
CloudControlsPartnerMonitoring

RPC service. Useful where requests and/or responses are streamed.

getViolation(request, callback)

public getViolation(request: google.cloud.cloudcontrolspartner.v1beta.IGetViolationRequest, callback: google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring.GetViolationCallback): void;

Calls GetViolation.

Parameters
NameDescription
request IGetViolationRequest

GetViolationRequest message or plain object

callback GetViolationCallback

Node-style callback called with the error, if any, and Violation

Returns
TypeDescription
void

getViolation(request)

public getViolation(request: google.cloud.cloudcontrolspartner.v1beta.IGetViolationRequest): Promise<google.cloud.cloudcontrolspartner.v1beta.Violation>;

Calls GetViolation.

Parameter
NameDescription
request IGetViolationRequest

GetViolationRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.cloudcontrolspartner.v1beta.Violation>

Promise

listViolations(request, callback)

public listViolations(request: google.cloud.cloudcontrolspartner.v1beta.IListViolationsRequest, callback: google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring.ListViolationsCallback): void;

Calls ListViolations.

Parameters
NameDescription
request IListViolationsRequest

ListViolationsRequest message or plain object

callback ListViolationsCallback

Node-style callback called with the error, if any, and ListViolationsResponse

Returns
TypeDescription
void

listViolations(request)

public listViolations(request: google.cloud.cloudcontrolspartner.v1beta.IListViolationsRequest): Promise<google.cloud.cloudcontrolspartner.v1beta.ListViolationsResponse>;

Calls ListViolations.

Parameter
NameDescription
request IListViolationsRequest

ListViolationsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.cloudcontrolspartner.v1beta.ListViolationsResponse>

Promise