class Google::Apis::RedisV1beta1::ListInstancesResponse
Response for ListInstances.
Attributes
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 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`/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` @return [Array<Google::Apis::RedisV1beta1::Instance>]
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` @return [String]
Locations that could not be reached. Corresponds to the JSON property `unreachable` @return [Array<String>]
Public Class Methods
# File lib/google/apis/redis_v1beta1/classes.rb, line 499 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/redis_v1beta1/classes.rb, line 504 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