Google Analytics Admin V1beta Client - Class GetAccountRequest (0.13.0)

Reference documentation and code samples for the Google Analytics Admin V1beta Client class GetAccountRequest.

Request message for GetAccount RPC.

Generated from protobuf message google.analytics.admin.v1beta.GetAccountRequest

Methods

build

Parameter
NameDescription
name string

Required. The name of the account to lookup. Format: accounts/{account} Example: "accounts/100" Please see {@see \Google\Analytics\Admin\V1beta\AnalyticsAdminServiceClient::accountName()} for help formatting this field.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\GetAccountRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the account to lookup. Format: accounts/{account} Example: "accounts/100"

getName

Required. The name of the account to lookup.

Format: accounts/{account} Example: "accounts/100"

Returns
TypeDescription
string

setName

Required. The name of the account to lookup.

Format: accounts/{account} Example: "accounts/100"

Parameter
NameDescription
var string
Returns
TypeDescription
$this