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.
Defined Under Namespace
Classes: AccountSettings
Instance Attribute Summary collapse
- 
  
    
      #account_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property accountName.
- 
  
    
      #account_settings  ⇒ Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property accountSettings.
- 
  
    
      #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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountTreeRequest
Returns a new instance of AccountTreeRequest
| 382 383 384 | # File 'generated/google/apis/analytics_v3/classes.rb', line 382 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 | 
#account_settings ⇒ Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings
Corresponds to the JSON property accountSettings
| 355 356 357 | # File 'generated/google/apis/analytics_v3/classes.rb', line 355 def account_settings @account_settings end | 
#kind ⇒ String
Resource type for account ticket.
Corresponds to the JSON property kind
| 360 361 362 | # File 'generated/google/apis/analytics_v3/classes.rb', line 360 def kind @kind end | 
#profile_name ⇒ String
Corresponds to the JSON property profileName
| 365 366 367 | # File 'generated/google/apis/analytics_v3/classes.rb', line 365 def profile_name @profile_name end | 
#timezone ⇒ String
Corresponds to the JSON property timezone
| 370 371 372 | # File 'generated/google/apis/analytics_v3/classes.rb', line 370 def timezone @timezone end | 
#webproperty_name ⇒ String
Corresponds to the JSON property webpropertyName
| 375 376 377 | # File 'generated/google/apis/analytics_v3/classes.rb', line 375 def webproperty_name @webproperty_name end | 
#website_url ⇒ String
Corresponds to the JSON property websiteUrl
| 380 381 382 | # File 'generated/google/apis/analytics_v3/classes.rb', line 380 def website_url @website_url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 387 388 389 390 391 392 393 394 395 | # File 'generated/google/apis/analytics_v3/classes.rb', line 387 def update!(**args) @account_name = args[:account_name] if args.key?(:account_name) @account_settings = args[:account_settings] if args.key?(:account_settings) @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 |