Class: Google::Apis::MemcacheV1beta2::ListInstancesResponse
- Inherits:
-
Object
- Object
- Google::Apis::MemcacheV1beta2::ListInstancesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/memcache_v1beta2/classes.rb,
generated/google/apis/memcache_v1beta2/representations.rb,
generated/google/apis/memcache_v1beta2/representations.rb
Overview
Response for ListInstances.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results in the list.
-
#resources ⇒ Array<Google::Apis::MemcacheV1beta2::Instance>
A list of Memcached instances in the project in the specified location, or across all locations.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListInstancesResponse
Returns a new instance of ListInstancesResponse.
974 975 976 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 974 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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
959 960 961 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 959 def next_page_token @next_page_token end |
#resources ⇒ Array<Google::Apis::MemcacheV1beta2::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 resources
967 968 969 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 967 def resources @resources end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
972 973 974 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 972 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
979 980 981 982 983 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 979 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @resources = args[:resources] if args.key?(:resources) @unreachable = args[:unreachable] if args.key?(:unreachable) end |