Show / Hide Table of Contents

Class RewriteObject

Describes options for object rewrite.

Inheritance
object
RewriteObject
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.StorageBatchOperations.v1.Data
Assembly: Google.Apis.StorageBatchOperations.v1.dll
Syntax
public class RewriteObject : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

KmsKey

Optional. Resource name of the Cloud KMS key that is used to encrypt the object. The Cloud KMS key must be located in same location as the object. For details, see https://cloud.google.com/storage/docs/encryption/using-customer-managed-keys#add-object-key Format: projects/{project_id}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key} For example: projects/123456/locations/us-central1/keyRings/my-keyring/cryptoKeys/my-key. The object will be rewritten and set with the specified KMS key.

Declaration
[JsonProperty("kmsKey")]
public virtual string KmsKey { get; set; }
Property Value
Type Description
string

StorageClass

Optional. Rewrites the object to the specified storage class. Setting this field will perform a full byte copy of the object if the storage class is different from the object's current storage class. If Autoclass is enabled on the bucket, storage class changes are ignored by Cloud Storage.

Declaration
[JsonProperty("storageClass")]
public virtual string StorageClass { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX