Organization Policy v2 API - Class ListCustomConstraintsResponse (2.5.0)

public sealed class ListCustomConstraintsResponse : IMessage<ListCustomConstraintsResponse>, IEquatable<ListCustomConstraintsResponse>, IDeepCloneable<ListCustomConstraintsResponse>, IBufferMessage, IMessage, IPageResponse<CustomConstraint>, IEnumerable<CustomConstraint>, IEnumerable

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

The response returned from the [ListCustomConstraints] [google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints] method. It will be empty if no custom constraints are set on the organization resource.

Inheritance

object > ListCustomConstraintsResponse

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

ListCustomConstraintsResponse()

public ListCustomConstraintsResponse()

ListCustomConstraintsResponse(ListCustomConstraintsResponse)

public ListCustomConstraintsResponse(ListCustomConstraintsResponse other)
Parameter
Name Description
other ListCustomConstraintsResponse

Properties

CustomConstraints

public RepeatedField<CustomConstraint> CustomConstraints { get; }

All custom constraints that exist on the organization resource. It will be empty if no custom constraints are set.

Property Value
Type Description
RepeatedFieldCustomConstraint

NextPageToken

public string NextPageToken { get; set; }

Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.

Property Value
Type Description
string

Methods

GetEnumerator()

public IEnumerator<CustomConstraint> GetEnumerator()

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

Returns
Type Description
IEnumeratorCustomConstraint