Google Shopping Css V1 Client - Class GetAccountRequest (0.1.0)

Reference documentation and code samples for the Google Shopping Css V1 Client class GetAccountRequest.

The request message for the GetAccount method.

Generated from protobuf message google.shopping.css.v1.GetAccountRequest

Namespace

Google \ Shopping \ Css \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the managed CSS/MC account. Format: accounts/{account}

↳ parent string

Optional. Only required when retrieving MC account information. The CSS domain that is the parent resource of the MC account. Format: accounts/{account}

getName

Required. The name of the managed CSS/MC account.

Format: accounts/{account}

Returns
TypeDescription
string

setName

Required. The name of the managed CSS/MC account.

Format: accounts/{account}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getParent

Optional. Only required when retrieving MC account information.

The CSS domain that is the parent resource of the MC account. Format: accounts/{account}

Returns
TypeDescription
string

hasParent

clearParent

setParent

Optional. Only required when retrieving MC account information.

The CSS domain that is the parent resource of the MC account. Format: accounts/{account}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the managed CSS/MC account. Format: accounts/{account} Please see Google\Shopping\Css\V1\AccountsServiceClient::accountName() for help formatting this field.

Returns
TypeDescription
Google\Shopping\Css\V1\GetAccountRequest