Class: Google::Apis::AnalyticsV3::AccountTicket
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::AccountTicket
 
- 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 ticket. The account ticket consists of the ticket ID and the basic information for the account, property and profile.
Instance Attribute Summary collapse
- 
  
    
      #account  ⇒ Google::Apis::AnalyticsV3::Account 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JSON template for Analytics account entry. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Account ticket ID used to access the account ticket. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource type for account ticket. 
- 
  
    
      #profile  ⇒ Google::Apis::AnalyticsV3::Profile 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JSON template for an Analytics view (profile). 
- 
  
    
      #redirect_uri  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Redirect URI where the user will be sent after accepting Terms of Service. 
- 
  
    
      #webproperty  ⇒ Google::Apis::AnalyticsV3::Webproperty 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JSON template for an Analytics web property. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AccountTicket 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AccountTicket. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountTicket
Returns a new instance of AccountTicket
| 326 327 328 | # File 'generated/google/apis/analytics_v3/classes.rb', line 326 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
| 298 299 300 | # File 'generated/google/apis/analytics_v3/classes.rb', line 298 def account @account end | 
#id ⇒ String
Account ticket ID used to access the account ticket.
Corresponds to the JSON property id
| 303 304 305 | # File 'generated/google/apis/analytics_v3/classes.rb', line 303 def id @id end | 
#kind ⇒ String
Resource type for account ticket.
Corresponds to the JSON property kind
| 308 309 310 | # File 'generated/google/apis/analytics_v3/classes.rb', line 308 def kind @kind end | 
#profile ⇒ Google::Apis::AnalyticsV3::Profile
JSON template for an Analytics view (profile).
Corresponds to the JSON property profile
| 313 314 315 | # File 'generated/google/apis/analytics_v3/classes.rb', line 313 def profile @profile end | 
#redirect_uri ⇒ String
Redirect URI where the user will be sent after accepting Terms of Service.
Must be configured in APIs console as a callback URL.
Corresponds to the JSON property redirectUri
| 319 320 321 | # File 'generated/google/apis/analytics_v3/classes.rb', line 319 def redirect_uri @redirect_uri end | 
#webproperty ⇒ Google::Apis::AnalyticsV3::Webproperty
JSON template for an Analytics web property.
Corresponds to the JSON property webproperty
| 324 325 326 | # File 'generated/google/apis/analytics_v3/classes.rb', line 324 def webproperty @webproperty end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 331 332 333 334 335 336 337 338 | # File 'generated/google/apis/analytics_v3/classes.rb', line 331 def update!(**args) @account = args[:account] if args.key?(:account) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @profile = args[:profile] if args.key?(:profile) @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri) @webproperty = args[:webproperty] if args.key?(:webproperty) end |