Google Shopping Merchant Accounts V1beta Client - Class UpdateRegionRequest (0.1.0)

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

Request message for the UpdateRegion method.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ region Google\Shopping\Merchant\Accounts\V1beta\Region

Required. The updated region.

↳ update_mask Google\Protobuf\FieldMask

Optional. The comma-separated field mask indicating the fields to update. Example: "displayName,postalCodeArea.regionCode".

getRegion

Required. The updated region.

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\Region|null

hasRegion

clearRegion

setRegion

Required. The updated region.

Parameter
Name Description
var Google\Shopping\Merchant\Accounts\V1beta\Region
Returns
Type Description
$this

getUpdateMask

Optional. The comma-separated field mask indicating the fields to update.

Example: "displayName,postalCodeArea.regionCode".

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The comma-separated field mask indicating the fields to update.

Example: "displayName,postalCodeArea.regionCode".

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
region Google\Shopping\Merchant\Accounts\V1beta\Region

Required. The updated region.

updateMask Google\Protobuf\FieldMask

Optional. The comma-separated field mask indicating the fields to update. Example: "displayName,postalCodeArea.regionCode".

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\UpdateRegionRequest