Google Shopping Merchant Accounts V1beta Client - Class UpdateAutomaticImprovementsRequest (0.6.0)

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

Request message for the UpdateAutomaticImprovements method.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ automatic_improvements AutomaticImprovements

Required. The new version of the automatic imrovements.

↳ update_mask Google\Protobuf\FieldMask

Required. List of fields being updated. The following fields are supported (in both snake_case and lowerCamelCase): - item_updates - item_updates.account_level_settings - image_improvements - image_improvements.account_level_settings - shipping_improvements - shipping_improvements.allow_shipping_improvements

getAutomaticImprovements

Required. The new version of the automatic imrovements.

Returns
Type Description
AutomaticImprovements|null

hasAutomaticImprovements

clearAutomaticImprovements

setAutomaticImprovements

Required. The new version of the automatic imrovements.

Parameter
Name Description
var AutomaticImprovements
Returns
Type Description
$this

getUpdateMask

Required. List of fields being updated.

The following fields are supported (in both snake_case and lowerCamelCase):

  • item_updates
  • item_updates.account_level_settings
  • image_improvements
  • image_improvements.account_level_settings
  • shipping_improvements
  • shipping_improvements.allow_shipping_improvements
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. List of fields being updated.

The following fields are supported (in both snake_case and lowerCamelCase):

  • item_updates
  • item_updates.account_level_settings
  • image_improvements
  • image_improvements.account_level_settings
  • shipping_improvements
  • shipping_improvements.allow_shipping_improvements
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
automaticImprovements AutomaticImprovements

Required. The new version of the automatic imrovements.

updateMask Google\Protobuf\FieldMask

Required. List of fields being updated. The following fields are supported (in both snake_case and lowerCamelCase):

  • item_updates
  • item_updates.account_level_settings
  • image_improvements
  • image_improvements.account_level_settings
  • shipping_improvements
  • shipping_improvements.allow_shipping_improvements
Returns
Type Description
UpdateAutomaticImprovementsRequest