Organization Policy v2 API - Class ListConstraintsRequest (2.7.0)

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

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

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

Inheritance

object > ListConstraintsRequest

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

ListConstraintsRequest()

public ListConstraintsRequest()

ListConstraintsRequest(ListConstraintsRequest)

public ListConstraintsRequest(ListConstraintsRequest other)
Parameter
Name Description
other ListConstraintsRequest

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
Type Description
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
Type Description
string

Parent

public string Parent { get; set; }

Required. The Google Cloud resource that parents the constraint. Must be in one of the following forms:

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

ParentAsFolderName

public FolderName ParentAsFolderName { get; set; }

FolderName-typed view over the Parent resource name property.

Property Value
Type Description
FolderName

ParentAsOrganizationName

public OrganizationName ParentAsOrganizationName { get; set; }

OrganizationName-typed view over the Parent resource name property.

Property Value
Type Description
OrganizationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
Type Description
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
Type Description
IResourceName