Class: Google::Apis::DfareportingV3_0::UserProfile
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DfareportingV3_0::UserProfile
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dfareporting_v3_0/classes.rb,
generated/google/apis/dfareporting_v3_0/representations.rb,
generated/google/apis/dfareporting_v3_0/representations.rb 
Overview
Represents a UserProfile resource.
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The account ID to which this profile belongs.
 - 
  
    
      #account_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The account name this profile belongs to.
 - 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The eTag of this response for caching purposes.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The kind of resource this is, in this case dfareporting#userProfile.
 - 
  
    
      #profile_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The unique ID of the user profile.
 - 
  
    
      #sub_account_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The sub account ID this profile belongs to if applicable.
 - 
  
    
      #sub_account_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The sub account name this profile belongs to if applicable.
 - 
  
    
      #user_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The user name.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UserProfile 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of UserProfile.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UserProfile
Returns a new instance of UserProfile
      11697 11698 11699  | 
    
      # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11697 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#account_id ⇒ Fixnum
The account ID to which this profile belongs.
Corresponds to the JSON property accountId
      11660 11661 11662  | 
    
      # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11660 def account_id @account_id end  | 
  
#account_name ⇒ String
The account name this profile belongs to.
Corresponds to the JSON property accountName
      11665 11666 11667  | 
    
      # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11665 def account_name @account_name end  | 
  
#etag ⇒ String
The eTag of this response for caching purposes.
Corresponds to the JSON property etag
      11670 11671 11672  | 
    
      # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11670 def etag @etag end  | 
  
#kind ⇒ String
The kind of resource this is, in this case dfareporting#userProfile.
Corresponds to the JSON property kind
      11675 11676 11677  | 
    
      # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11675 def kind @kind end  | 
  
#profile_id ⇒ Fixnum
The unique ID of the user profile.
Corresponds to the JSON property profileId
      11680 11681 11682  | 
    
      # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11680 def profile_id @profile_id end  | 
  
#sub_account_id ⇒ Fixnum
The sub account ID this profile belongs to if applicable.
Corresponds to the JSON property subAccountId
      11685 11686 11687  | 
    
      # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11685 def sub_account_id @sub_account_id end  | 
  
#sub_account_name ⇒ String
The sub account name this profile belongs to if applicable.
Corresponds to the JSON property subAccountName
      11690 11691 11692  | 
    
      # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11690 def sub_account_name @sub_account_name end  | 
  
#user_name ⇒ String
The user name.
Corresponds to the JSON property userName
      11695 11696 11697  | 
    
      # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11695 def user_name @user_name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      11702 11703 11704 11705 11706 11707 11708 11709 11710 11711  | 
    
      # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11702 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @account_name = args[:account_name] if args.key?(:account_name) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) @profile_id = args[:profile_id] if args.key?(:profile_id) @sub_account_id = args[:sub_account_id] if args.key?(:sub_account_id) @sub_account_name = args[:sub_account_name] if args.key?(:sub_account_name) @user_name = args[:user_name] if args.key?(:user_name) end  |