View Source GoogleApi.Redis.V1beta1.Model.ListInstancesResponse (google_api_redis v0.37.0)

Response for ListInstances.

Attributes

  • instances (type: list(GoogleApi.Redis.V1beta1.Model.Instance.t), default: nil) - 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".
  • nextPageToken (type: String.t, default: nil) - Token to retrieve the next page of results, or empty if there are no more results in the list.
  • unreachable (type: list(String.t), default: nil) - Locations that could not be reached.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Redis.V1beta1.Model.ListInstancesResponse{
  instances: [GoogleApi.Redis.V1beta1.Model.Instance.t()] | nil,
  nextPageToken: String.t() | nil,
  unreachable: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.