Class: Google::Apis::RedisV1::ListClustersResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::RedisV1::ListClustersResponse
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb 
Overview
Response for ListClusters.
Instance Attribute Summary collapse
- 
  
    
      #clusters  ⇒ Array<Google::Apis::RedisV1::Cluster> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of Redis clusters 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.
 - 
  
    
      #unreachable  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Locations that could not be reached.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListClustersResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ListClustersResponse.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ListClustersResponse
Returns a new instance of ListClustersResponse.
      1688 1689 1690  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1688 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#clusters ⇒ Array<Google::Apis::RedisV1::Cluster>
A list of Redis clusters 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 placeholder Redis
entry is included in the response with the name field set to a value of the
form projects/project_id/locations/location_id/clusters/- and the 
status field set to ERROR and status_message field set to "location not
available for ListClusters".
Corresponds to the JSON property clusters
      1675 1676 1677  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1675 def clusters @clusters 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
      1681 1682 1683  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1681 def next_page_token @next_page_token end  | 
  
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
      1686 1687 1688  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1686 def unreachable @unreachable end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1693 1694 1695 1696 1697  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1693 def update!(**args) @clusters = args[:clusters] if args.key?(:clusters) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) end  |