Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPropertySummary

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/analyticsadmin_v1alpha/classes.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

A virtual resource representing metadata for an GA4 property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaPropertySummary

Returns a new instance of GoogleAnalyticsAdminV1alphaPropertySummary.



1179
1180
1181
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 1179

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

Instance Attribute Details

#display_nameString

Display name for the property referred to in this account summary. Corresponds to the JSON property displayName

Returns:

  • (String)


1171
1172
1173
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 1171

def display_name
  @display_name
end

#propertyString

Resource name of property referred to by this property summary Format: properties/property_id Example: "properties/1000" Corresponds to the JSON property property

Returns:

  • (String)


1177
1178
1179
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 1177

def property
  @property
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1184
1185
1186
1187
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 1184

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