Class: Google::Apis::AnalyticsV3::AccountTreeRequest
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::AccountTreeRequest
- 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 requests. The account tree request is used in the provisioning api to create an account, property, and view ( profile). It contains the basic information required to make these fields.
Instance Attribute Summary collapse
-
#account_name ⇒ String
Corresponds to the JSON property
accountName
. -
#kind ⇒ String
Resource type for account ticket.
-
#profile_name ⇒ String
Corresponds to the JSON property
profileName
. -
#timezone ⇒ String
Corresponds to the JSON property
timezone
. -
#webproperty_name ⇒ String
Corresponds to the JSON property
webpropertyName
. -
#website_url ⇒ String
Corresponds to the JSON property
websiteUrl
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountTreeRequest
constructor
A new instance of AccountTreeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountTreeRequest
Returns a new instance of AccountTreeRequest.
377 378 379 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 377 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_name ⇒ String
Corresponds to the JSON property accountName
350 351 352 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 350 def account_name @account_name end |
#kind ⇒ String
Resource type for account ticket.
Corresponds to the JSON property kind
355 356 357 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 355 def kind @kind end |
#profile_name ⇒ String
Corresponds to the JSON property profileName
360 361 362 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 360 def profile_name @profile_name end |
#timezone ⇒ String
Corresponds to the JSON property timezone
365 366 367 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 365 def timezone @timezone end |
#webproperty_name ⇒ String
Corresponds to the JSON property webpropertyName
370 371 372 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 370 def webproperty_name @webproperty_name end |
#website_url ⇒ String
Corresponds to the JSON property websiteUrl
375 376 377 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 375 def website_url @website_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
382 383 384 385 386 387 388 389 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 382 def update!(**args) @account_name = args[:account_name] if args.key?(:account_name) @kind = args[:kind] if args.key?(:kind) @profile_name = args[:profile_name] if args.key?(:profile_name) @timezone = args[:timezone] if args.key?(:timezone) @webproperty_name = args[:webproperty_name] if args.key?(:webproperty_name) @website_url = args[:website_url] if args.key?(:website_url) end |