class Google::Apis::RedisV1::ListInstancesResponse

Response for ListInstances.

Attributes

instances[RW]

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::RedisV1::Instance>]

next_page_token[RW]

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]

unreachable[RW]

Locations that could not be reached. Corresponds to the JSON property `unreachable` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/redis_v1/classes.rb, line 496
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/redis_v1/classes.rb, line 501
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