Organization Policy v2 API - Class ListPoliciesResponse (2.5.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
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