Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsadmin_v1alpha/classes.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
Read-only resource with the tag for sending data from a website to a WebDataStream.
Instance Attribute Summary collapse
-
#snippet ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaGlobalSiteTag
constructor
A new instance of GoogleAnalyticsAdminV1alphaGlobalSiteTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaGlobalSiteTag
Returns a new instance of GoogleAnalyticsAdminV1alphaGlobalSiteTag.
719 720 721 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 719 def initialize(**args) update!(**args) end |
Instance Attribute Details
#snippet ⇒ String
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
717 718 719 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 717 def snippet @snippet end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
724 725 726 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 724 def update!(**args) @snippet = args[:snippet] if args.key?(:snippet) end |