Class ReencryptObjectRequest
Implements
Inherited Members
Namespace: Oci.ObjectstorageService.Requests
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class ReencryptObjectRequest : IOciRequest
Examples
Click here to see an example of how to use ReencryptObject request.
Properties
BucketName
Declaration
[Required(ErrorMessage = "BucketName is required.")]
[HttpConverter(TargetEnum.Path, "bucketName")]
public string BucketName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1 |
Remarks
Required
NamespaceName
Declaration
[Required(ErrorMessage = "NamespaceName is required.")]
[HttpConverter(TargetEnum.Path, "namespaceName")]
public string NamespaceName { get; set; }
Property Value
Type | Description |
---|---|
string | The Object Storage namespace used for the request. |
Remarks
Required
ObjectName
Declaration
[Required(ErrorMessage = "ObjectName is required.")]
[HttpConverter(TargetEnum.Path, "objectName")]
public string ObjectName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the object. Avoid entering confidential information. Example: test/object1.log |
Remarks
Required
OpcClientRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-client-request-id")]
public string OpcClientRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The client request ID for tracing. |
ReencryptObjectDetails
Declaration
[Required(ErrorMessage = "ReencryptObjectDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public ReencryptObjectDetails ReencryptObjectDetails { get; set; }
Property Value
Type | Description |
---|---|
ReencryptObjectDetails | Request object for re-encrypting the data encryption key associated with an object. |
Remarks
Required
VersionId
Declaration
[HttpConverter(TargetEnum.Query, "versionId")]
public string VersionId { get; set; }
Property Value
Type | Description |
---|---|
string | VersionId used to identify a particular version of the object |