Organization Policy v2 API - Class ListPoliciesRequest (2.5.0)

public sealed class ListPoliciesRequest : IMessage<ListPoliciesRequest>, IEquatable<ListPoliciesRequest>, IDeepCloneable<ListPoliciesRequest>, IBufferMessage, IMessage, IPageRequest

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

The request sent to the [ListPolicies] [google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method.

Inheritance

object > ListPoliciesRequest

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

ListPoliciesRequest()

public ListPoliciesRequest()

ListPoliciesRequest(ListPoliciesRequest)

public ListPoliciesRequest(ListPoliciesRequest other)
Parameter
NameDescription
otherListPoliciesRequest

Properties

PageSize

public int PageSize { get; set; }

Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.

Property Value
TypeDescription
int

PageToken

public string PageToken { get; set; }

Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. The target Google Cloud resource that parents the set of constraints and policies that will be returned from this call. Must be in one of the following forms:

  • projects/{project_number}
  • projects/{project_id}
  • folders/{folder_id}
  • organizations/{organization_id}
Property Value
TypeDescription
string

ParentAsFolderName

public FolderName ParentAsFolderName { get; set; }

FolderName-typed view over the Parent resource name property.

Property Value
TypeDescription
FolderName

ParentAsOrganizationName

public OrganizationName ParentAsOrganizationName { get; set; }

OrganizationName-typed view over the Parent resource name property.

Property Value
TypeDescription
OrganizationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
TypeDescription
IResourceName