Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class GetUserRequest.
Request message for theGetUsermethod.
Generated from protobuf messagegoogle.shopping.merchant.accounts.v1.GetUserRequest
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the user to retrieve. Format:accounts/{account}/users/{email}It is also possible to retrieve the user corresponding to the caller by usingmerather than an email address as inaccounts/{account}/users/me.
getName
Required. The name of the user to retrieve.
Format:accounts/{account}/users/{email}It is also possible to retrieve the user corresponding to the caller by
usingmerather than an email address as inaccounts/{account}/users/me.
Returns
Type
Description
string
setName
Required. The name of the user to retrieve.
Format:accounts/{account}/users/{email}It is also possible to retrieve the user corresponding to the caller by
usingmerather than an email address as inaccounts/{account}/users/me.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The name of the user to retrieve.
Format:accounts/{account}/users/{email}
It is also possible to retrieve the user corresponding to the caller by
usingmerather than an email address as inaccounts/{account}/users/me. Please seeUserServiceClient::userName()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-09-04 UTC."],[],[],null,["# Google Shopping Merchant Accounts V1 Client - Class GetUserRequest (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/php/docs/reference/shopping-merchant-accounts/latest/V1.GetUserRequest)\n- [0.10.0](/php/docs/reference/shopping-merchant-accounts/0.10.0/V1.GetUserRequest)\n- [0.9.1](/php/docs/reference/shopping-merchant-accounts/0.9.1/V1.GetUserRequest)\n- [0.8.0](/php/docs/reference/shopping-merchant-accounts/0.8.0/V1.GetUserRequest)\n- [0.7.0](/php/docs/reference/shopping-merchant-accounts/0.7.0/V1.GetUserRequest)\n- [0.6.0](/php/docs/reference/shopping-merchant-accounts/0.6.0/V1.GetUserRequest)\n- [0.5.0](/php/docs/reference/shopping-merchant-accounts/0.5.0/V1.GetUserRequest)\n- [0.4.0](/php/docs/reference/shopping-merchant-accounts/0.4.0/V1.GetUserRequest)\n- [0.3.3](/php/docs/reference/shopping-merchant-accounts/0.3.3/V1.GetUserRequest)\n- [0.2.0](/php/docs/reference/shopping-merchant-accounts/0.2.0/V1.GetUserRequest)\n- [0.1.0](/php/docs/reference/shopping-merchant-accounts/0.1.0/V1.GetUserRequest) \nReference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class GetUserRequest.\n\nRequest message for the `GetUser` method.\n\nGenerated from protobuf message `google.shopping.merchant.accounts.v1.GetUserRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Shopping \\\\ Merchant \\\\ Accounts \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name of the user to retrieve.\n\nFormat: `accounts/{account}/users/{email}`\nIt is also possible to retrieve the user corresponding to the caller by\nusing `me` rather than an email address as in\n`accounts/{account}/users/me`.\n\n### setName\n\nRequired. The name of the user to retrieve.\n\nFormat: `accounts/{account}/users/{email}`\nIt is also possible to retrieve the user corresponding to the caller by\nusing `me` rather than an email address as in\n`accounts/{account}/users/me`.\n\n### static::build"]]