class Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag

Read-only resource with the tag for sending data from a website to a WebDataStream.

Attributes

name[RW]

Output only. Resource name for this GlobalSiteTag resource. Format: properties/ `propertyId`/globalSiteTag Corresponds to the JSON property `name` @return [String]

snippet[RW]

Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure. Corresponds to the JSON property `snippet` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 1290
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 1295
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @snippet = args[:snippet] if args.key?(:snippet)
end