public sealed class ListInstancesResponse : IMessage<ListInstancesResponse>, IEquatable<ListInstancesResponse>, IDeepCloneable<ListInstancesResponse>, IBufferMessage, IMessage, IPageResponse<Instance>, IEnumerable<Instance>, IEnumerableResponse for [ListInstances][google.cloud.redis.v1.CloudRedis.ListInstances].
Implements
IMessage<ListInstancesResponse>, IEquatable<ListInstancesResponse>, IDeepCloneable<ListInstancesResponse>, IBufferMessage, IMessage, IPageResponse<Instance>, IEnumerable<Instance>, IEnumerableNamespace
Google.Cloud.Redis.V1Assembly
Google.Cloud.Redis.V1.dll
Constructors
ListInstancesResponse()
public ListInstancesResponse()ListInstancesResponse(ListInstancesResponse)
public ListInstancesResponse(ListInstancesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListInstancesResponse |
Properties
Instances
public RepeatedField<Instance> Instances { get; }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 dummy 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".
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<Instance> |
|
NextPageToken
public string NextPageToken { get; set; }Token to retrieve the next page of results, or empty if there are no more results in the list.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Unreachable
public RepeatedField<string> Unreachable { get; }Locations that could not be reached.
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<String> |
|
Methods
GetEnumerator()
public IEnumerator<Instance> GetEnumerator()Returns an enumerator that iterates through the resources in this response.
| Returns | |
|---|---|
| Type | Description |
IEnumerator<Instance> |
|
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()| Returns | |
|---|---|
| Type | Description |
IEnumerator |
|