Class FoldersResource.ConstraintsResource.ListRequest
Lists constraints that could be applied on the specified resource.
Inheritance
FoldersResource.ConstraintsResource.ListRequest
Implements
Inherited Members
Namespace: Google.Apis.OrgPolicyAPI.v2
Assembly: Google.Apis.OrgPolicyAPI.v2.dll
Syntax
public class FoldersResource.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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OrgPolicyAPI.v2.Data.GoogleCloudOrgpolicyV2ListConstraintsResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OrgPolicyAPI.v2.Data.GoogleCloudOrgpolicyV2ListConstraintsResponse>.MethodName
PageSize
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.
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 currently unsupported and will be ignored. 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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OrgPolicyAPI.v2.Data.GoogleCloudOrgpolicyV2ListConstraintsResponse>.RestPath
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()