Google Shopping Merchant Accounts V1 Client - Class UpdateBusinessIdentityRequest (0.10.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class UpdateBusinessIdentityRequest.

Request message for the UpdateBusinessIdentity method.

Generated from protobuf message google.shopping.merchant.accounts.v1.UpdateBusinessIdentityRequest

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ business_identity BusinessIdentity

Required. The new version of the business identity.

↳ update_mask Google\Protobuf\FieldMask

Optional. List of fields being updated. The following fields are supported (in both snake_case and lowerCamelCase): - black_owned - latino_owned - promotions_consent - small_business - veteran_owned - women_owned

getBusinessIdentity

Required. The new version of the business identity.

Returns
Type Description
BusinessIdentity|null

hasBusinessIdentity

clearBusinessIdentity

setBusinessIdentity

Required. The new version of the business identity.

Parameter
Name Description
var BusinessIdentity
Returns
Type Description
$this

getUpdateMask

Optional. List of fields being updated.

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

  • black_owned
  • latino_owned
  • promotions_consent
  • small_business
  • veteran_owned
  • women_owned
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. List of fields being updated.

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

  • black_owned
  • latino_owned
  • promotions_consent
  • small_business
  • veteran_owned
  • women_owned
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
businessIdentity BusinessIdentity

Required. The new version of the business identity.

updateMask Google\Protobuf\FieldMask

Optional. List of fields being updated.

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

  • black_owned
  • latino_owned
  • promotions_consent
  • small_business
  • veteran_owned
  • women_owned
Returns
Type Description
UpdateBusinessIdentityRequest