Class OrganizationsResource.PoliciesResource.ListRequest
Retrieves all of the policies that exist on a particular resource.
Inheritance
Inherited Members
Namespace: Google.Apis.OrgPolicyAPI.v2
Assembly: Google.Apis.OrgPolicyAPI.v2.dll
Syntax
public class OrganizationsResource.PoliciesResource.ListRequest : OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2ListPoliciesResponse>, IClientServiceRequest<GoogleCloudOrgpolicyV2ListPoliciesResponse>, 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 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 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}
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()