Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse

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

Response for looking up GA4 property connected to a UA property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse

Returns a new instance of GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse.



3607
3608
3609
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3607

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

Instance Attribute Details

#propertyString

The GA4 property connected to the UA property. An empty string is returned when there is no connected GA4 property. Format: properties/property_id Example: properties/1234 Corresponds to the JSON property property

Returns:

  • (String)


3605
3606
3607
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3605

def property
  @property
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3612
3613
3614
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3612

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