Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConnectedSiteTag
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConnectedSiteTag
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
Configuration for a specific Connected Site Tag.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Required.
-
#tag_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaConnectedSiteTag
constructor
A new instance of GoogleAnalyticsAdminV1alphaConnectedSiteTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaConnectedSiteTag
Returns a new instance of GoogleAnalyticsAdminV1alphaConnectedSiteTag.
2206 2207 2208 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2206 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Required. User-provided display name for the connected site tag. Must be less
than 256 characters.
Corresponds to the JSON property displayName
2198 2199 2200 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2198 def display_name @display_name end |
#tag_id ⇒ String
Required. "Tag ID to forward events to. Also known as the Measurement ID, or
the "G-ID" (For example: G-12345).
Corresponds to the JSON property tagId
2204 2205 2206 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2204 def tag_id @tag_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2211 2212 2213 2214 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2211 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @tag_id = args[:tag_id] if args.key?(:tag_id) end |