Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPropertySummary
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPropertySummary
- 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
-
#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_id
Example: "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.
1179 1180 1181 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 1179 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
1171 1172 1173 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 1171 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
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 |