Represents a CloudCatalog
Inheritance
$protobuf.rpc.Service > protos.google.cloud.billing.v1.CloudCatalogPackage
@google-cloud/billingConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new CloudCatalog service.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IListServicesRequest
ListServicesRequest message or plain object |
callback |
ListServicesCallback
Node-style callback called with the error, if any, and ListServicesResponse |
Returns | |
---|---|
Type | Description |
void |
listServices(request)
public listServices(request: google.cloud.billing.v1.IListServicesRequest): Promise<google.cloud.billing.v1.ListServicesResponse>;
Calls ListServices.
Parameter | |
---|---|
Name | Description |
request |
IListServicesRequest
ListServicesRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IListSkusRequest
ListSkusRequest message or plain object |
callback |
ListSkusCallback
Node-style callback called with the error, if any, and ListSkusResponse |
Returns | |
---|---|
Type | Description |
void |
listSkus(request)
public listSkus(request: google.cloud.billing.v1.IListSkusRequest): Promise<google.cloud.billing.v1.ListSkusResponse>;
Calls ListSkus.
Parameter | |
---|---|
Name | Description |
request |
IListSkusRequest
ListSkusRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.billing.v1.ListSkusResponse> | Promise |