class Google::Apis::AnalyticsV3::AccountTreeResponse
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).
Attributes
account[RW]
JSON template for Analytics account entry. Corresponds to the JSON property `account` @return [Google::Apis::AnalyticsV3::Account]
kind[RW]
Resource type for account ticket. Corresponds to the JSON property `kind` @return [String]
profile[RW]
JSON template for an Analytics view (profile). Corresponds to the JSON property `profile` @return [Google::Apis::AnalyticsV3::Profile]
webproperty[RW]
JSON template for an Analytics web property. Corresponds to the JSON property `webproperty` @return [Google::Apis::AnalyticsV3::Webproperty]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 418 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/analytics_v3/classes.rb, line 423 def update!(**args) @account = args[:account] if args.key?(:account) @kind = args[:kind] if args.key?(:kind) @profile = args[:profile] if args.key?(:profile) @webproperty = args[:webproperty] if args.key?(:webproperty) end