Show / Hide Table of Contents

Class ObjectsResource.GetIamPolicyRequest

Returns an IAM policy for the specified object.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Policy>
StorageBaseServiceRequest<Policy>
ObjectsResource.GetIamPolicyRequest
Implements
IClientServiceRequest<Policy>
IClientServiceRequest
Inherited Members
StorageBaseServiceRequest<Policy>.Alt
StorageBaseServiceRequest<Policy>.Fields
StorageBaseServiceRequest<Policy>.Key
StorageBaseServiceRequest<Policy>.OauthToken
StorageBaseServiceRequest<Policy>.PrettyPrint
StorageBaseServiceRequest<Policy>.QuotaUser
StorageBaseServiceRequest<Policy>.UploadType
StorageBaseServiceRequest<Policy>.UserIp
ClientServiceRequest<Policy>.Execute()
ClientServiceRequest<Policy>.ExecuteAsStream()
ClientServiceRequest<Policy>.ExecuteAsync()
ClientServiceRequest<Policy>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Policy>.ExecuteAsStreamAsync()
ClientServiceRequest<Policy>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Policy>.CreateRequest(bool?)
ClientServiceRequest<Policy>.GenerateRequestUri()
ClientServiceRequest<Policy>.GetBody()
ClientServiceRequest<Policy>.GetDefaultETagAction(string)
ClientServiceRequest<Policy>.ETagAction
ClientServiceRequest<Policy>.ModifyRequest
ClientServiceRequest<Policy>.ValidateParameters
ClientServiceRequest<Policy>.ApiVersion
ClientServiceRequest<Policy>.RequestParameters
ClientServiceRequest<Policy>.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.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class ObjectsResource.GetIamPolicyRequest : StorageBaseServiceRequest<Policy>, IClientServiceRequest<Policy>, IClientServiceRequest

Constructors

GetIamPolicyRequest(IClientService, string, string)

Constructs a new GetIamPolicy request.

Declaration
public GetIamPolicyRequest(IClientService service, string bucket, string storageObject)
Parameters
Type Name Description
IClientService service
string bucket
string storageObject

Properties

Bucket

Name of the bucket in which the object resides.

Declaration
[RequestParameter("bucket", RequestParameterType.Path)]
public virtual string Bucket { get; }
Property Value
Type Description
string

Generation

If present, selects a specific revision of this object (as opposed to the latest version, the default).

Declaration
[RequestParameter("generation", RequestParameterType.Query)]
public virtual long? Generation { get; set; }
Property Value
Type Description
long?

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Object

Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.

Declaration
[RequestParameter("object", RequestParameterType.Path)]
public virtual string Object { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

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

UserProject

The project to be billed for this request. Required for Requester Pays buckets.

Declaration
[RequestParameter("userProject", RequestParameterType.Query)]
public virtual string UserProject { get; set; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes GetIamPolicy parameter list.

Declaration
protected override void InitParameters()
Overrides
StorageBaseServiceRequest<Policy>.InitParameters()

Implements

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