Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class UpdateRegionRequest.
Request message for the UpdateRegion method.
Generated from protobuf message google.shopping.merchant.accounts.v1.UpdateRegionRequest
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1Methods
__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: |
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:
|
| Returns | |
|---|---|
| Type | Description |
UpdateRegionRequest |
|