Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPropertySummary
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPropertySummary
- 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
A virtual resource representing metadata for an GA4 property.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Display name for the property referred to in this account summary.
-
#property ⇒ String
Resource name of property referred to by this property summary Format: properties/
property_idExample: "properties/1000" Corresponds to the JSON propertyproperty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaPropertySummary
constructor
A new instance of GoogleAnalyticsAdminV1alphaPropertySummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaPropertySummary
Returns a new instance of GoogleAnalyticsAdminV1alphaPropertySummary.
1132 1133 1134 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1132 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Display name for the property referred to in this account summary.
Corresponds to the JSON property displayName
1124 1125 1126 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1124 def display_name @display_name end |
#property ⇒ String
Resource name of property referred to by this property summary Format:
properties/property_id Example: "properties/1000"
Corresponds to the JSON property property
1130 1131 1132 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1130 def property @property end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1137 1138 1139 1140 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1137 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @property = args[:property] if args.key?(:property) end |