Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest

Inherits:
Object
  • Object
show all
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

Request message for CreateConnectedSiteTag RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest

Returns a new instance of GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest.



2410
2411
2412
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2410

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#connected_site_tagGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConnectedSiteTag

Configuration for a specific Connected Site Tag. Corresponds to the JSON property connectedSiteTag



2401
2402
2403
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2401

def connected_site_tag
  @connected_site_tag
end

#propertyString

The Universal Analytics property to create connected site tags for. This API does not support GA4 properties. Format: properties/ universalAnalyticsPropertyId Example: properties/1234 Corresponds to the JSON property property

Returns:

  • (String)


2408
2409
2410
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2408

def property
  @property
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2415
2416
2417
2418
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2415

def update!(**args)
  @connected_site_tag = args[:connected_site_tag] if args.key?(:connected_site_tag)
  @property = args[:property] if args.key?(:property)
end