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
Name
Description
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
Type
Description
string
setName
Required. The name of the managed CSS/MC account.
Format: accounts/{account}
Parameter
Name
Description
var
string
Returns
Type
Description
$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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The name of the managed CSS/MC account.
Format: accounts/{account}
Please see AccountsServiceClient::accountName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Shopping Css V1 Client - Class GetAccountRequest (0.6.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.2 (latest)](/php/docs/reference/shopping-css/latest/V1.GetAccountRequest)\n- [0.6.1](/php/docs/reference/shopping-css/0.6.1/V1.GetAccountRequest)\n- [0.5.1](/php/docs/reference/shopping-css/0.5.1/V1.GetAccountRequest)\n- [0.4.1](/php/docs/reference/shopping-css/0.4.1/V1.GetAccountRequest)\n- [0.3.3](/php/docs/reference/shopping-css/0.3.3/V1.GetAccountRequest)\n- [0.2.9](/php/docs/reference/shopping-css/0.2.9/V1.GetAccountRequest)\n- [0.1.0](/php/docs/reference/shopping-css/0.1.0/V1.GetAccountRequest) \nReference documentation and code samples for the Google Shopping Css V1 Client class GetAccountRequest.\n\nThe request message for the `GetAccount` method.\n\nGenerated from protobuf message `google.shopping.css.v1.GetAccountRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Shopping \\\\ Css \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name of the managed CSS/MC account.\n\nFormat: accounts/{account}\n\n### setName\n\nRequired. The name of the managed CSS/MC account.\n\nFormat: accounts/{account}\n\n### getParent\n\nOptional. Only required when retrieving MC account information.\n\nThe CSS domain that is the parent resource of the MC account.\nFormat: accounts/{account}\n\n### hasParent\n\n### clearParent\n\n### setParent\n\nOptional. Only required when retrieving MC account information.\n\nThe CSS domain that is the parent resource of the MC account.\nFormat: accounts/{account}\n\n### static::build"]]