Class protos.google.cloud.discoveryengine.v1beta.ServingConfigService (1.6.0)

Represents a ServingConfigService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.discoveryengine.v1beta.ServingConfigService

Package

@google-cloud/discoveryengine

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

getServingConfig(request, callback)

public getServingConfig(request: google.cloud.discoveryengine.v1beta.IGetServingConfigRequest, callback: google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfigCallback): void;

Calls GetServingConfig.

Parameters
NameDescription
request IGetServingConfigRequest

GetServingConfigRequest message or plain object

callback GetServingConfigCallback

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

Returns
TypeDescription
void

getServingConfig(request)

public getServingConfig(request: google.cloud.discoveryengine.v1beta.IGetServingConfigRequest): Promise<google.cloud.discoveryengine.v1beta.ServingConfig>;

Calls GetServingConfig.

Parameter
NameDescription
request IGetServingConfigRequest

GetServingConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.discoveryengine.v1beta.ServingConfig>

Promise

listServingConfigs(request, callback)

public listServingConfigs(request: google.cloud.discoveryengine.v1beta.IListServingConfigsRequest, callback: google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigsCallback): void;

Calls ListServingConfigs.

Parameters
NameDescription
request IListServingConfigsRequest

ListServingConfigsRequest message or plain object

callback ListServingConfigsCallback

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

Returns
TypeDescription
void

listServingConfigs(request)

public listServingConfigs(request: google.cloud.discoveryengine.v1beta.IListServingConfigsRequest): Promise<google.cloud.discoveryengine.v1beta.ListServingConfigsResponse>;

Calls ListServingConfigs.

Parameter
NameDescription
request IListServingConfigsRequest

ListServingConfigsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.discoveryengine.v1beta.ListServingConfigsResponse>

Promise

updateServingConfig(request, callback)

public updateServingConfig(request: google.cloud.discoveryengine.v1beta.IUpdateServingConfigRequest, callback: google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfigCallback): void;

Calls UpdateServingConfig.

Parameters
NameDescription
request IUpdateServingConfigRequest

UpdateServingConfigRequest message or plain object

callback UpdateServingConfigCallback

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

Returns
TypeDescription
void

updateServingConfig(request)

public updateServingConfig(request: google.cloud.discoveryengine.v1beta.IUpdateServingConfigRequest): Promise<google.cloud.discoveryengine.v1beta.ServingConfig>;

Calls UpdateServingConfig.

Parameter
NameDescription
request IUpdateServingConfigRequest

UpdateServingConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.discoveryengine.v1beta.ServingConfig>

Promise