Show / Hide Table of Contents

Class ObjectsResource.ComposeRequest

Concatenates a list of existing objects into a new object in the same bucket.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Object>
StorageBaseServiceRequest<Object>
ObjectsResource.ComposeRequest
Implements
IClientServiceRequest<Object>
IClientServiceRequest
Inherited Members
StorageBaseServiceRequest<Object>.Alt
StorageBaseServiceRequest<Object>.Fields
StorageBaseServiceRequest<Object>.Key
StorageBaseServiceRequest<Object>.OauthToken
StorageBaseServiceRequest<Object>.PrettyPrint
StorageBaseServiceRequest<Object>.QuotaUser
StorageBaseServiceRequest<Object>.UploadType
StorageBaseServiceRequest<Object>.UserIp
ClientServiceRequest<Object>.Execute()
ClientServiceRequest<Object>.ExecuteAsStream()
ClientServiceRequest<Object>.ExecuteAsync()
ClientServiceRequest<Object>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Object>.ExecuteAsStreamAsync()
ClientServiceRequest<Object>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Object>.CreateRequest(bool?)
ClientServiceRequest<Object>.GenerateRequestUri()
ClientServiceRequest<Object>.GetDefaultETagAction(string)
ClientServiceRequest<Object>.ETagAction
ClientServiceRequest<Object>.ModifyRequest
ClientServiceRequest<Object>.ValidateParameters
ClientServiceRequest<Object>.ApiVersion
ClientServiceRequest<Object>.RequestParameters
ClientServiceRequest<Object>.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.ComposeRequest : StorageBaseServiceRequest<Object>, IClientServiceRequest<Object>, IClientServiceRequest

Constructors

ComposeRequest(IClientService, ComposeRequest, string, string)

Constructs a new Compose request.

Declaration
public ComposeRequest(IClientService service, ComposeRequest body, string destinationBucket, string destinationObject)
Parameters
Type Name Description
IClientService service
ComposeRequest body
string destinationBucket
string destinationObject

Properties

DestinationBucket

Name of the bucket containing the source objects. The destination object is stored in this bucket.

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

DestinationObject

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

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

DestinationPredefinedAcl

Apply a predefined set of access controls to the destination object.

Declaration
[RequestParameter("destinationPredefinedAcl", RequestParameterType.Query)]
public virtual ObjectsResource.ComposeRequest.DestinationPredefinedAclEnum? DestinationPredefinedAcl { get; set; }
Property Value
Type Description
ObjectsResource.ComposeRequest.DestinationPredefinedAclEnum?

HttpMethod

Gets the HTTP method.

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

IfGenerationMatch

Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.

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

IfMetagenerationMatch

Makes the operation conditional on whether the object's current metageneration matches the given value.

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

KmsKeyName

Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the object. Overrides the object metadata's kms_key_name value, if any.

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

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Object>.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

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Object>.GetBody()

InitParameters()

Initializes Compose parameter list.

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

Implements

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