Class ProjectsResource.ConstraintsResource.ListRequest
Lists constraints that could be applied on the specified resource.
Inheritance
ProjectsResource.ConstraintsResource.ListRequest
Implements
Inherited Members
Namespace: Google.Apis.OrgPolicyAPI.v2
Assembly: Google.Apis.OrgPolicyAPI.v2.dll
Syntax
public class ProjectsResource.ConstraintsResource.ListRequest : OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2ListConstraintsResponse>, IClientServiceRequest<GoogleCloudOrgpolicyV2ListConstraintsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
PageSize
Size of the pages to be returned. This is not used, but the server may at any point start using this field to limit page size.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Page token used to retrieve the next page. This is not used, but the server may at any point start using this field.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
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}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()