Google Analytics Admin V1alpha Client - Class GetGlobalSiteTagRequest (0.23.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class GetGlobalSiteTagRequest.

Request message for GetGlobalSiteTag RPC.

Generated from protobuf message google.analytics.admin.v1alpha.GetGlobalSiteTagRequest

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag"

getName

Required. The name of the site tag to lookup.

Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag"

Returns
Type Description
string

setName

Required. The name of the site tag to lookup.

Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag"

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag" Please see Google\Analytics\Admin\V1alpha\AnalyticsAdminServiceClient::globalSiteTagName() for help formatting this field.

Returns
Type Description
Google\Analytics\Admin\V1alpha\GetGlobalSiteTagRequest