Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest

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 DeleteConnectedSiteTag RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest

Returns a new instance of GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest.



2990
2991
2992
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2990

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

Instance Attribute Details

#propertyString

The Universal Analytics property to delete 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)


2982
2983
2984
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2982

def property
  @property
end

#tag_idString

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

Returns:

  • (String)


2988
2989
2990
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2988

def tag_id
  @tag_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2995
2996
2997
2998
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2995

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