Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaPropertySummary
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaPropertySummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1beta/classes.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb
Overview
A virtual resource representing metadata for a Google Analytics property.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Display name for the property referred to in this property summary.
-
#parent ⇒ String
Resource name of this property's logical parent.
-
#property ⇒ String
Resource name of property referred to by this property summary Format: properties/
property_id
Example: "properties/1000" Corresponds to the JSON propertyproperty
. -
#property_type ⇒ String
The property's property type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaPropertySummary
constructor
A new instance of GoogleAnalyticsAdminV1betaPropertySummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaPropertySummary
Returns a new instance of GoogleAnalyticsAdminV1betaPropertySummary.
2030 2031 2032 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 2030 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Display name for the property referred to in this property summary.
Corresponds to the JSON property displayName
2010 2011 2012 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 2010 def display_name @display_name end |
#parent ⇒ String
Resource name of this property's logical parent. Note: The Property-Moving UI
can be used to change the parent. Format: accounts/account
, properties/
property
Example: "accounts/100", "properties/200"
Corresponds to the JSON property parent
2017 2018 2019 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 2017 def parent @parent 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
2023 2024 2025 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 2023 def property @property end |
#property_type ⇒ String
The property's property type.
Corresponds to the JSON property propertyType
2028 2029 2030 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 2028 def property_type @property_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2035 2036 2037 2038 2039 2040 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 2035 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @parent = args[:parent] if args.key?(:parent) @property = args[:property] if args.key?(:property) @property_type = args[:property_type] if args.key?(:property_type) end |