Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RewriteObject

import type { RewriteObject } from "https://googleapis.deno.dev/v1/storagebatchoperations:v1.ts";

Describes options for object rewrite.

interface RewriteObject {
kmsKey?: string;
}

§Properties

§
kmsKey?: string
[src]

Required. Resource name of the Cloud KMS key that will be used to encrypt the object. The Cloud KMS key must be located in same location as the object. Refer to https://cloud.google.com/storage/docs/encryption/using-customer-managed-keys#add-object-key for additional documentation. Format: projects/{project}/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.