Class: Google::Apis::RedisV1beta1::ListInstancesResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::RedisV1beta1::ListInstancesResponse
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/redis_v1beta1/classes.rb,
generated/google/apis/redis_v1beta1/representations.rb,
generated/google/apis/redis_v1beta1/representations.rb 
Overview
Response for ListInstances.
Instance Attribute Summary collapse
- 
  
    
      #instances  ⇒ Array<Google::Apis::RedisV1beta1::Instance> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of Redis instances in the project in the specified location, or across all locations.
 - 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Token to retrieve the next page of results, or empty if there are no more results in the list.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListInstancesResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ListInstancesResponse.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListInstancesResponse
Returns a new instance of ListInstancesResponse
      321 322 323  | 
    
      # File 'generated/google/apis/redis_v1beta1/classes.rb', line 321 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#instances ⇒ Array<Google::Apis::RedisV1beta1::Instance>
A list of Redis instances in the project in the specified location,
or across all locations.
If the location_id in the parent field of the request is "-", all regions
available to the project are queried, and the results aggregated.
If in such an aggregated query a location is unavailable, a dummy Redis
entry is included in the response with the "name" field set to a value of
the form projects/project_id/locations/location_id/instances/- and the
"status" field set to ERROR and "status_message" field set to "location not
available for ListInstances".
Corresponds to the JSON property instances
      313 314 315  | 
    
      # File 'generated/google/apis/redis_v1beta1/classes.rb', line 313 def instances @instances end  | 
  
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more
results in the list.
Corresponds to the JSON property nextPageToken
      319 320 321  | 
    
      # File 'generated/google/apis/redis_v1beta1/classes.rb', line 319 def next_page_token @next_page_token end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      326 327 328 329  | 
    
      # File 'generated/google/apis/redis_v1beta1/classes.rb', line 326 def update!(**args) @instances = args[:instances] if args.key?(:instances) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end  |