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.



3581
3582
3583
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3581

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)


3579
3580
3581
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3579

def property
  @property
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3586
3587
3588
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3586

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