Organization Policy v2 API - Class ListPoliciesResponse (2.2.0)

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.

Inheritance

Object > ListPoliciesResponse

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

ListPoliciesResponse()

public ListPoliciesResponse()

ListPoliciesResponse(ListPoliciesResponse)

public ListPoliciesResponse(ListPoliciesResponse other)
Parameter
NameDescription
otherListPoliciesResponse

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
TypeDescription
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
TypeDescription
RepeatedField<Policy>

Methods

GetEnumerator()

public IEnumerator<Policy> GetEnumerator()

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

Returns
TypeDescription
IEnumerator<Policy>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator