Class: Google::Apis::AnalyticsV3::AccountTreeResponse
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::AccountTreeResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/google/apis/analytics_v3/representations.rb
Overview
JSON template for an Analytics account tree response. The account tree response is used in the provisioning api to return the result of creating an account, property, and view (profile).
Defined Under Namespace
Classes: AccountSettings
Instance Attribute Summary collapse
-
#account ⇒ Google::Apis::AnalyticsV3::Account
JSON template for Analytics account entry.
-
#account_settings ⇒ Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings
Corresponds to the JSON property
accountSettings
. -
#kind ⇒ String
Resource type for account ticket.
-
#profile ⇒ Google::Apis::AnalyticsV3::Profile
JSON template for an Analytics view (profile).
-
#webproperty ⇒ Google::Apis::AnalyticsV3::Webproperty
JSON template for an Analytics web property.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountTreeResponse
constructor
A new instance of AccountTreeResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountTreeResponse
Returns a new instance of AccountTreeResponse
484 485 486 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 484 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account ⇒ Google::Apis::AnalyticsV3::Account
JSON template for Analytics account entry.
Corresponds to the JSON property account
462 463 464 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 462 def account @account end |
#account_settings ⇒ Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings
Corresponds to the JSON property accountSettings
467 468 469 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 467 def account_settings @account_settings end |
#kind ⇒ String
Resource type for account ticket.
Corresponds to the JSON property kind
472 473 474 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 472 def kind @kind end |
#profile ⇒ Google::Apis::AnalyticsV3::Profile
JSON template for an Analytics view (profile).
Corresponds to the JSON property profile
477 478 479 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 477 def profile @profile end |
#webproperty ⇒ Google::Apis::AnalyticsV3::Webproperty
JSON template for an Analytics web property.
Corresponds to the JSON property webproperty
482 483 484 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 482 def webproperty @webproperty end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
489 490 491 492 493 494 495 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 489 def update!(**args) @account = args[:account] if args.key?(:account) @account_settings = args[:account_settings] if args.key?(:account_settings) @kind = args[:kind] if args.key?(:kind) @profile = args[:profile] if args.key?(:profile) @webproperty = args[:webproperty] if args.key?(:webproperty) end |