public sealed class ListPoliciesResponse : IMessage<ListPoliciesResponse>, IEquatable<ListPoliciesResponse>, IDeepCloneable<ListPoliciesResponse>, IBufferMessage, IMessage, IPageResponse<Policy>, IEnumerable<Policy>, IEnumerable
Reference documentation and code samples for the Organization Policy v2 API class ListPoliciesResponse.
The response returned from the [ListPolicies] [google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method. It will be empty if no policies are set on the resource.
Implements
IMessageListPoliciesResponse, IEquatableListPoliciesResponse, IDeepCloneableListPoliciesResponse, IBufferMessage, IMessage, IPageResponsePolicy, IEnumerablePolicy, IEnumerableNamespace
Google.Cloud.OrgPolicy.V2Assembly
Google.Cloud.OrgPolicy.V2.dll
Constructors
ListPoliciesResponse()
public ListPoliciesResponse()
ListPoliciesResponse(ListPoliciesResponse)
public ListPoliciesResponse(ListPoliciesResponse other)
Parameter | |
---|---|
Name | Description |
other | ListPoliciesResponse |
Properties
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 |
Policies
public RepeatedField<Policy> Policies { get; }
All policies that exist on the resource. It will be empty if no policies are set.
Property Value | |
---|---|
Type | Description |
RepeatedFieldPolicy |
Methods
GetEnumerator()
public IEnumerator<Policy> GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Returns | |
---|---|
Type | Description |
IEnumeratorPolicy |