Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>
PoliciesResource.ListPoliciesRequest
Implements
IClientServiceRequest<GoogleIamV2betaListPoliciesResponse>
IClientServiceRequest
Inherited Members
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>.Xgafv
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>.AccessToken
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>.Alt
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>.Callback
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>.Fields
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>.Key
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>.OauthToken
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>.PrettyPrint
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>.QuotaUser
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>.UploadType
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>.UploadProtocol
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.Execute()
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.ExecuteAsync()
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.GetBody()
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.ETagAction
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.ModifyRequest
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.ValidateParameters
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.ApiVersion
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.RequestParameters
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.MethodName

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
ClientServiceRequest<GoogleIamV2betaListPoliciesResponse>.RestPath

Methods

InitParameters()

Initializes ListPolicies parameter list.

Declaration
protected override void InitParameters()
Overrides
IamBaseServiceRequest<GoogleIamV2betaListPoliciesResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX