Class ListConstraintsResponse (2.0.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class ListConstraintsResponse : IMessage<ListConstraintsResponse>, IEquatable<ListConstraintsResponse>, IDeepCloneable<ListConstraintsResponse>, IBufferMessage, IMessage, IPageResponse<Constraint>, IEnumerable<Constraint>, IEnumerable

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
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