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

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 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
Region|null

hasRegion

clearRegion

setRegion

Required. The updated region.

Parameter
Name Description
var 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 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
UpdateRegionRequest