Class: Google::Apis::AnalyticsV3::UserRef
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::UserRef
 
- 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 a user reference.
Instance Attribute Summary collapse
- 
  
    
      #email  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Email ID of this user. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    User ID. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property kind.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UserRef 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UserRef. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UserRef
Returns a new instance of UserRef
| 5349 5350 5351 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5349 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#email ⇒ String
Email ID of this user.
Corresponds to the JSON property email
| 5337 5338 5339 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5337 def email @email end | 
#id ⇒ String
User ID.
Corresponds to the JSON property id
| 5342 5343 5344 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5342 def id @id end | 
#kind ⇒ String
Corresponds to the JSON property kind
| 5347 5348 5349 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5347 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 5354 5355 5356 5357 5358 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5354 def update!(**args) @email = args[:email] if args.key?(:email) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) end |