Google Shopping Merchant Accounts V1beta Client - Class UpdateOmnichannelSettingRequest (0.9.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class UpdateOmnichannelSettingRequest.

Request message for the UpdateOmnichannelSetting method.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.UpdateOmnichannelSettingRequest

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ omnichannel_setting OmnichannelSetting

Required. The omnichannel setting to update. The omnichannel setting's name field is used to identify the omnichannel setting to be updated.

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to be updated. The following fields are supported in snake_case only: - lsf_type - in_stock - pickup - odo - about - inventory_verification Full replacement with wildcard *is supported, while empty/implied update mask is not.

getOmnichannelSetting

Required. The omnichannel setting to update.

The omnichannel setting's name field is used to identify the omnichannel setting to be updated.

Returns
Type Description
OmnichannelSetting|null

hasOmnichannelSetting

clearOmnichannelSetting

setOmnichannelSetting

Required. The omnichannel setting to update.

The omnichannel setting's name field is used to identify the omnichannel setting to be updated.

Parameter
Name Description
var OmnichannelSetting
Returns
Type Description
$this

getUpdateMask

Required. The list of fields to be updated.

The following fields are supported in snake_case only:

  • lsf_type
  • in_stock
  • pickup
  • odo
  • about
  • inventory_verification Full replacement with wildcard *is supported, while empty/implied update mask is not.
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to be updated.

The following fields are supported in snake_case only:

  • lsf_type
  • in_stock
  • pickup
  • odo
  • about
  • inventory_verification Full replacement with wildcard *is supported, while empty/implied update mask is not.
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
omnichannelSetting OmnichannelSetting

Required. The omnichannel setting to update.

The omnichannel setting's name field is used to identify the omnichannel setting to be updated.

updateMask Google\Protobuf\FieldMask

Required. The list of fields to be updated.

The following fields are supported in snake_case only:

  • lsf_type
  • in_stock
  • pickup
  • odo
  • about
  • inventory_verification

Full replacement with wildcard *is supported, while empty/implied update mask is not.

Returns
Type Description
UpdateOmnichannelSettingRequest