Class protos.google.cloud.billing.v1.CloudCatalog (4.2.0)

Represents a CloudCatalog

Inheritance

$protobuf.rpc.Service > protos.google.cloud.billing.v1.CloudCatalog

Package

@google-cloud/billing

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new CloudCatalog 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): CloudCatalog;

Creates new CloudCatalog 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
CloudCatalog

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

listServices(request, callback)

public listServices(request: google.cloud.billing.v1.IListServicesRequest, callback: google.cloud.billing.v1.CloudCatalog.ListServicesCallback): void;

Calls ListServices.

Parameters
NameDescription
request IListServicesRequest

ListServicesRequest message or plain object

callback ListServicesCallback

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

Returns
TypeDescription
void

listServices(request)

public listServices(request: google.cloud.billing.v1.IListServicesRequest): Promise<google.cloud.billing.v1.ListServicesResponse>;

Calls ListServices.

Parameter
NameDescription
request IListServicesRequest

ListServicesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.billing.v1.ListServicesResponse>

Promise

listSkus(request, callback)

public listSkus(request: google.cloud.billing.v1.IListSkusRequest, callback: google.cloud.billing.v1.CloudCatalog.ListSkusCallback): void;

Calls ListSkus.

Parameters
NameDescription
request IListSkusRequest

ListSkusRequest message or plain object

callback ListSkusCallback

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

Returns
TypeDescription
void

listSkus(request)

public listSkus(request: google.cloud.billing.v1.IListSkusRequest): Promise<google.cloud.billing.v1.ListSkusResponse>;

Calls ListSkus.

Parameter
NameDescription
request IListSkusRequest

ListSkusRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.billing.v1.ListSkusResponse>

Promise