Class protos.google.cloud.discoveryengine.v1alpha.EstimateBillingService (1.7.0)

Represents an EstimateBillingService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.discoveryengine.v1alpha.EstimateBillingService

Package

@google-cloud/discoveryengine

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

estimateDataSize(request, callback)

public estimateDataSize(request: google.cloud.discoveryengine.v1alpha.IEstimateDataSizeRequest, callback: google.cloud.discoveryengine.v1alpha.EstimateBillingService.EstimateDataSizeCallback): void;

Calls EstimateDataSize.

Parameters
NameDescription
request IEstimateDataSizeRequest

EstimateDataSizeRequest message or plain object

callback EstimateDataSizeCallback

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

Returns
TypeDescription
void

estimateDataSize(request)

public estimateDataSize(request: google.cloud.discoveryengine.v1alpha.IEstimateDataSizeRequest): Promise<google.longrunning.Operation>;

Calls EstimateDataSize.

Parameter
NameDescription
request IEstimateDataSizeRequest

EstimateDataSizeRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise