Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccountSummary
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccountSummary
- 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 an overview of an account and all its child GA4 properties.
Instance Attribute Summary collapse
-
#account ⇒ String
Resource name of account referred to by this account summary Format: accounts/
account_id
Example: "accounts/1000" Corresponds to the JSON propertyaccount
. -
#display_name ⇒ String
Display name for the account referred to in this account summary.
-
#name ⇒ String
Resource name for this account summary.
-
#property_summaries ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPropertySummary>
List of summaries for child accounts of this account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccountSummary
constructor
A new instance of GoogleAnalyticsAdminV1alphaAccountSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccountSummary
Returns a new instance of GoogleAnalyticsAdminV1alphaAccountSummary.
106 107 108 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 106 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account ⇒ String
Resource name of account referred to by this account summary Format: accounts/
account_id
Example: "accounts/1000"
Corresponds to the JSON property account
88 89 90 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 88 def account @account end |
#display_name ⇒ String
Display name for the account referred to in this account summary.
Corresponds to the JSON property displayName
93 94 95 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 93 def display_name @display_name end |
#name ⇒ String
Resource name for this account summary. Format: accountSummaries/account_id
Example: "accountSummaries/1000"
Corresponds to the JSON property name
99 100 101 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 99 def name @name end |
#property_summaries ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPropertySummary>
List of summaries for child accounts of this account.
Corresponds to the JSON property propertySummaries
104 105 106 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 104 def property_summaries @property_summaries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
111 112 113 114 115 116 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 111 def update!(**args) @account = args[:account] if args.key?(:account) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @property_summaries = args[:property_summaries] if args.key?(:property_summaries) end |