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.
Implements
IMessageListCustomConstraintsResponse, IEquatableListCustomConstraintsResponse, IDeepCloneableListCustomConstraintsResponse, IBufferMessage, IMessage, IPageResponseCustomConstraint, IEnumerableCustomConstraint, IEnumerableNamespace
Google.Cloud.OrgPolicy.V2Assembly
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 |