Organization Policy v2 API - Class ListConstraintsResponse (2.1.0)

public sealed class ListConstraintsResponse : IMessage<ListConstraintsResponse>, IEquatable<ListConstraintsResponse>, IDeepCloneable<ListConstraintsResponse>, IBufferMessage, IMessage, IPageResponse<Constraint>, IEnumerable<Constraint>, IEnumerable

Reference documentation and code samples for the Organization Policy v2 API class ListConstraintsResponse.

The response returned from the [ListConstraints] [google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints] method.

Inheritance

Object > ListConstraintsResponse

Implements

IMessage<ListConstraintsResponse>, IEquatable<ListConstraintsResponse>, IDeepCloneable<ListConstraintsResponse>, IBufferMessage, IMessage, IPageResponse<Constraint>, System.Collections.Generic.IEnumerable<Constraint>, System.Collections.IEnumerable

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

ListConstraintsResponse()

public ListConstraintsResponse()

ListConstraintsResponse(ListConstraintsResponse)

public ListConstraintsResponse(ListConstraintsResponse other)
Parameter
NameDescription
otherListConstraintsResponse

Properties

Constraints

public RepeatedField<Constraint> Constraints { get; }

The collection of constraints that are available on the targeted resource.

Property Value
TypeDescription
RepeatedField<Constraint>

NextPageToken

public string NextPageToken { get; set; }

Page token used to retrieve the next page. This is currently not used.

Property Value
TypeDescription
String

Methods

GetEnumerator()

public IEnumerator<Constraint> GetEnumerator()

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

Returns
TypeDescription
IEnumerator<Constraint>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator