Class PoliciesResource.ListPoliciesRequest
Retrieves the policies of the specified kind that are attached to a resource. The response lists only policy metadata. In particular, policy rules are omitted.
Inheritance
Inherited Members
Namespace: Google.Apis.Iam.v2beta
Assembly: Google.Apis.Iam.v2beta.dll
Syntax
public class PoliciesResource.ListPoliciesRequest : IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>, IClientServiceRequest<GoogleIamV2betaListPoliciesResponse>, IClientServiceRequest
Constructors
ListPoliciesRequest(IClientService, string)
Constructs a new ListPolicies request.
Declaration
public ListPoliciesRequest(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
The maximum number of policies to return. IAM ignores this value and uses the value 1000.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A page token received in a ListPoliciesResponse. Provide this token to retrieve the next page.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The resource that the policy is attached to, along with the kind of policy to list. Format:
policies/{attachment_point}/denypolicies
The attachment point is identified by its URL-encoded full
resource name, which means that the forward-slash character, /
, must be written as %2F
. For example,
policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies
. For organizations
and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or
the numeric 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 ListPolicies parameter list.
Declaration
protected override void InitParameters()