Organization Policy v2 API - Class ListConstraintsResponse (2.3.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

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
RepeatedFieldConstraint

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
IEnumeratorConstraint