Class protos.google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService (2.2.0)

Represents an OmnichannelSettingsService

Inheritance

$protobuf.rpc.Service > protos.google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService

Package

@google-shopping/accounts

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

createOmnichannelSetting(request, callback)

public createOmnichannelSetting(request: google.shopping.merchant.accounts.v1beta.ICreateOmnichannelSettingRequest, callback: google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.CreateOmnichannelSettingCallback): void;

Calls CreateOmnichannelSetting.

Parameters
Name Description
request ICreateOmnichannelSettingRequest

CreateOmnichannelSettingRequest message or plain object

callback CreateOmnichannelSettingCallback

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

Returns
Type Description
void

createOmnichannelSetting(request)

public createOmnichannelSetting(request: google.shopping.merchant.accounts.v1beta.ICreateOmnichannelSettingRequest): Promise<google.shopping.merchant.accounts.v1beta.OmnichannelSetting>;

Calls CreateOmnichannelSetting.

Parameter
Name Description
request ICreateOmnichannelSettingRequest

CreateOmnichannelSettingRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.accounts.v1beta.OmnichannelSetting>

Promise

getOmnichannelSetting(request, callback)

public getOmnichannelSetting(request: google.shopping.merchant.accounts.v1beta.IGetOmnichannelSettingRequest, callback: google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.GetOmnichannelSettingCallback): void;

Calls GetOmnichannelSetting.

Parameters
Name Description
request IGetOmnichannelSettingRequest

GetOmnichannelSettingRequest message or plain object

callback GetOmnichannelSettingCallback

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

Returns
Type Description
void

getOmnichannelSetting(request)

public getOmnichannelSetting(request: google.shopping.merchant.accounts.v1beta.IGetOmnichannelSettingRequest): Promise<google.shopping.merchant.accounts.v1beta.OmnichannelSetting>;

Calls GetOmnichannelSetting.

Parameter
Name Description
request IGetOmnichannelSettingRequest

GetOmnichannelSettingRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.accounts.v1beta.OmnichannelSetting>

Promise

listOmnichannelSettings(request, callback)

public listOmnichannelSettings(request: google.shopping.merchant.accounts.v1beta.IListOmnichannelSettingsRequest, callback: google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.ListOmnichannelSettingsCallback): void;

Calls ListOmnichannelSettings.

Parameters
Name Description
request IListOmnichannelSettingsRequest

ListOmnichannelSettingsRequest message or plain object

callback ListOmnichannelSettingsCallback

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

Returns
Type Description
void

listOmnichannelSettings(request)

public listOmnichannelSettings(request: google.shopping.merchant.accounts.v1beta.IListOmnichannelSettingsRequest): Promise<google.shopping.merchant.accounts.v1beta.ListOmnichannelSettingsResponse>;

Calls ListOmnichannelSettings.

Parameter
Name Description
request IListOmnichannelSettingsRequest

ListOmnichannelSettingsRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.accounts.v1beta.ListOmnichannelSettingsResponse>

Promise

requestInventoryVerification(request, callback)

public requestInventoryVerification(request: google.shopping.merchant.accounts.v1beta.IRequestInventoryVerificationRequest, callback: google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.RequestInventoryVerificationCallback): void;

Calls RequestInventoryVerification.

Parameters
Name Description
request IRequestInventoryVerificationRequest

RequestInventoryVerificationRequest message or plain object

callback RequestInventoryVerificationCallback

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

Returns
Type Description
void

requestInventoryVerification(request)

public requestInventoryVerification(request: google.shopping.merchant.accounts.v1beta.IRequestInventoryVerificationRequest): Promise<google.shopping.merchant.accounts.v1beta.RequestInventoryVerificationResponse>;

Calls RequestInventoryVerification.

Parameter
Name Description
request IRequestInventoryVerificationRequest

RequestInventoryVerificationRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.accounts.v1beta.RequestInventoryVerificationResponse>

Promise

updateOmnichannelSetting(request, callback)

public updateOmnichannelSetting(request: google.shopping.merchant.accounts.v1beta.IUpdateOmnichannelSettingRequest, callback: google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.UpdateOmnichannelSettingCallback): void;

Calls UpdateOmnichannelSetting.

Parameters
Name Description
request IUpdateOmnichannelSettingRequest

UpdateOmnichannelSettingRequest message or plain object

callback UpdateOmnichannelSettingCallback

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

Returns
Type Description
void

updateOmnichannelSetting(request)

public updateOmnichannelSetting(request: google.shopping.merchant.accounts.v1beta.IUpdateOmnichannelSettingRequest): Promise<google.shopping.merchant.accounts.v1beta.OmnichannelSetting>;

Calls UpdateOmnichannelSetting.

Parameter
Name Description
request IUpdateOmnichannelSettingRequest

UpdateOmnichannelSettingRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.accounts.v1beta.OmnichannelSetting>

Promise