Compute Engine v1 API - Class InstanceTemplateList (2.7.0)

public sealed class InstanceTemplateList : IMessage<InstanceTemplateList>, IEquatable<InstanceTemplateList>, IDeepCloneable<InstanceTemplateList>, IBufferMessage, IMessage, IPageResponse<InstanceTemplate>, IEnumerable<InstanceTemplate>, IEnumerable

Reference documentation and code samples for the Compute Engine v1 API class InstanceTemplateList.

A list of instance templates.

Inheritance

object > InstanceTemplateList

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InstanceTemplateList()

public InstanceTemplateList()

InstanceTemplateList(InstanceTemplateList)

public InstanceTemplateList(InstanceTemplateList other)
Parameter
NameDescription
otherInstanceTemplateList

Properties

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
bool

HasNextPageToken

public bool HasNextPageToken { get; }

Gets whether the "next_page_token" field is set

Property Value
TypeDescription
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
bool

Id

public string Id { get; set; }

[Output Only] Unique identifier for the resource; defined by the server.

Property Value
TypeDescription
string

Items

public RepeatedField<InstanceTemplate> Items { get; }

A list of InstanceTemplate resources.

Property Value
TypeDescription
RepeatedFieldInstanceTemplate

Kind

public string Kind { get; set; }

[Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists.

Property Value
TypeDescription
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
TypeDescription
string
public string SelfLink { get; set; }

[Output Only] Server-defined URL for this resource.

Property Value
TypeDescription
string

Warning

public Warning Warning { get; set; }

[Output Only] Informational warning message.

Property Value
TypeDescription
Warning

Methods

GetEnumerator()

public IEnumerator<InstanceTemplate> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
TypeDescription
IEnumeratorInstanceTemplate

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator