Click or drag to resize

PutObjectRequest Class

Parameters in an object upload request
Inheritance Hierarchy

Namespace:  OBS.Model
Assembly:  esdk_obs_.net (in esdk_obs_.net.dll) Version: 3.1.3.0 (3.1.3)
Syntax
C#
public class PutObjectRequest : PutObjectBasicRequest

The PutObjectRequest type exposes the following members.

Constructors
  NameDescription
Public methodPutObjectRequest
Initializes a new instance of the PutObjectRequest class
Top
Properties
  NameDescription
Public propertyAutoClose
Whether to automatically close the input stream. The default value is "true".
Public propertyBucketName
Bucket name
(Inherited from ObsBucketWebServiceRequest.)
Public propertyCannedAcl
Object ACL
(Inherited from PutObjectBasicRequest.)
Public propertyContentLength
Size of the object content to be uploaded
Public propertyContentMd5
Base64-encoded MD5 value of the object content to be uploaded, used for consistency verification on the server
Public propertyContentType
MIME type of the object
(Inherited from PutObjectBasicRequest.)
Public propertyExpires
Expiration time of a successfully uploaded object
Public propertyFilePath
Path to the source file
Public propertyInputStream
Data stream to be uploaded
Public propertyMetadata
Customized metadata of the object
(Inherited from PutObjectBasicRequest.)
Public propertyObjectKey
Object name
(Inherited from PutObjectBasicRequest.)
Public propertyOffset
Start offset of a part in the source file
Public propertyProgressInterval
Interval for refreshing the upload progress. The default value is 100 KB or 1 second.
Public propertyProgressMetric Obsolete.
Public propertyProgressType
Mode for presenting the upload progress. The default value is "ByBytes".
Public propertySseHeader
SSE decryption headers of the object content
(Inherited from PutObjectBasicRequest.)
Public propertyStorageClass
Object storage class
(Inherited from PutObjectBasicRequest.)
Public propertySuccessRedirectLocation
Redirection address after a successfully responded request
(Inherited from PutObjectBasicRequest.)
Public propertyUploadProgress
Upload progress callback function
Public propertyWebsiteRedirectLocation
Redirection link which can redirect the request to another object in the bucket or to an external URL
(Inherited from PutObjectBasicRequest.)
Top
Methods
  NameDescription
Public methodGrantExtensionPermission
Grant the OBS extension permissions to a user.
(Inherited from PutObjectBasicRequest.)
Public methodWithDrawExtensionPermission
Withdraw the user's OBS extension permissions.
(Inherited from PutObjectBasicRequest.)
Top
See Also