Interface GlobalSiteTagOrBuilder (0.56.0)

public interface GlobalSiteTagOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Output only. Resource name for this GlobalSiteTag resource. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Resource name for this GlobalSiteTag resource. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getSnippet()

public abstract String getSnippet()

Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure.

string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The snippet.

getSnippetBytes()

public abstract ByteString getSnippetBytes()

Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure.

string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for snippet.