public sealed class InstanceList : IMessage<InstanceList>, IEquatable<InstanceList>, IDeepCloneable<InstanceList>, IBufferMessage, IMessage, IPageResponse<Instance>, IEnumerable<Instance>, IEnumerable
Reference documentation and code samples for the Compute Engine v1 API class InstanceList.
Contains a list of instances.
Implements
IMessage<InstanceList>, IEquatable<InstanceList>, IDeepCloneable<InstanceList>, IBufferMessage, IMessage, IPageResponse<Instance>, IEnumerable<Instance>, IEnumerableNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
InstanceList()
public InstanceList()
InstanceList(InstanceList)
public InstanceList(InstanceList other)
Parameter | |
---|---|
Name | Description |
other | InstanceList |
Properties
HasId
public bool HasId { get; }
Gets whether the "id" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasKind
public bool HasKind { get; }
Gets whether the "kind" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasNextPageToken
public bool HasNextPageToken { get; }
Gets whether the "next_page_token" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasSelfLink
public bool HasSelfLink { get; }
Gets whether the "self_link" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
Id
public string Id { get; set; }
[Output Only] Unique identifier for the resource; defined by the server.
Property Value | |
---|---|
Type | Description |
String |
Items
public RepeatedField<Instance> Items { get; }
A list of Instance resources.
Property Value | |
---|---|
Type | Description |
RepeatedField<Instance> |
Kind
public string Kind { get; set; }
[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.
Property Value | |
---|---|
Type | Description |
String |
NextPageToken
public string NextPageToken { get; set; }
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
Property Value | |
---|---|
Type | Description |
String |
SelfLink
public string SelfLink { get; set; }
[Output Only] Server-defined URL for this resource.
Property Value | |
---|---|
Type | Description |
String |
Warning
public Warning Warning { get; set; }
[Output Only] Informational warning message.
Property Value | |
---|---|
Type | Description |
Warning |
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 |