Google Shopping Merchant Accounts V1beta Client - Class GetAccountRequest (0.3.0)

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

Request message for the GetAccount method.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the account to retrieve. Format: accounts/{account}

getName

Required. The name of the account to retrieve.

Format: accounts/{account}

Returns
Type Description
string

setName

Required. The name of the account to retrieve.

Format: accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the account to retrieve. Format: accounts/{account} Please see Google\Shopping\Merchant\Accounts\V1beta\AccountsServiceClient::accountName() for help formatting this field.

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