Google Analytics Admin V1alpha Client - Class GetGlobalSiteTagRequest (0.19.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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this