Class CommitmentList (1.3.0)

public sealed class CommitmentList : IMessage<CommitmentList>, IEquatable<CommitmentList>, IDeepCloneable<CommitmentList>, IBufferMessage, IMessage, IPageResponse<Commitment>, IEnumerable<Commitment>, IEnumerable

Contains a list of Commitment resources.

Inheritance

Object > CommitmentList

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

CommitmentList()

public CommitmentList()

CommitmentList(CommitmentList)

public CommitmentList(CommitmentList other)
Parameter
NameDescription
otherCommitmentList

Properties

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
Boolean

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
Boolean

HasNextPageToken

public bool HasNextPageToken { get; }

Gets whether the "next_page_token" field is set

Property Value
TypeDescription
Boolean
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
Boolean

Id

public string Id { get; set; }

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

Property Value
TypeDescription
String

Items

public RepeatedField<Commitment> Items { get; }

A list of Commitment resources.

Property Value
TypeDescription
RepeatedField<Commitment>

Kind

public string Kind { get; set; }

[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.

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<Commitment> GetEnumerator()

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

Returns
TypeDescription
IEnumerator<Commitment>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator