Class: Google::Apis::PartnersV2::ListUserStatesResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PartnersV2::ListUserStatesResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/partners_v2/classes.rb,
 generated/google/apis/partners_v2/representations.rb,
 generated/google/apis/partners_v2/representations.rb
Overview
Response message for ListUserStates.
Instance Attribute Summary collapse
- 
  
    
      #response_metadata  ⇒ Google::Apis::PartnersV2::ResponseMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Common data that is in each API response. 
- 
  
    
      #user_states  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    User's states. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListUserStatesResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListUserStatesResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListUserStatesResponse
Returns a new instance of ListUserStatesResponse
| 1386 1387 1388 | # File 'generated/google/apis/partners_v2/classes.rb', line 1386 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#response_metadata ⇒ Google::Apis::PartnersV2::ResponseMetadata
Common data that is in each API response.
Corresponds to the JSON property responseMetadata
| 1379 1380 1381 | # File 'generated/google/apis/partners_v2/classes.rb', line 1379 def @response_metadata end | 
#user_states ⇒ Array<String>
User's states.
Corresponds to the JSON property userStates
| 1384 1385 1386 | # File 'generated/google/apis/partners_v2/classes.rb', line 1384 def user_states @user_states end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1391 1392 1393 1394 | # File 'generated/google/apis/partners_v2/classes.rb', line 1391 def update!(**args) @response_metadata = args[:response_metadata] if args.key?(:response_metadata) @user_states = args[:user_states] if args.key?(:user_states) end |