Class: Google::Apis::MemcacheV1::ListInstancesResponse
- Inherits:
-
Object
- Object
- Google::Apis::MemcacheV1::ListInstancesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/memcache_v1/classes.rb,
lib/google/apis/memcache_v1/representations.rb,
lib/google/apis/memcache_v1/representations.rb
Overview
Response for ListInstances.
Instance Attribute Summary collapse
-
#instances ⇒ Array<Google::Apis::MemcacheV1::Instance>
A list of Memcached 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.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListInstancesResponse
constructor
A new instance of ListInstancesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListInstancesResponse
Returns a new instance of ListInstancesResponse.
1207 1208 1209 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1207 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<Google::Apis::MemcacheV1::Instance>
A list of Memcached 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.
Corresponds to the JSON property instances
1194 1195 1196 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1194 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
1200 1201 1202 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1200 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
1205 1206 1207 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1205 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1212 1213 1214 1215 1216 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1212 def update!(**args) @instances = args[:instances] if args.key?(:instances) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) end |