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

Backup

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

A Filestore backup.

interface Backup {
readonly capacityGb?: bigint;
readonly createTime?: Date;
description?: string;
readonly downloadBytes?: bigint;
kmsKey?: string;
labels?: {
[key: string]: string;
}
;
readonly name?: string;
readonly satisfiesPzi?: boolean;
readonly satisfiesPzs?: boolean;
sourceFileShare?: string;
sourceInstance?: string;
readonly sourceInstanceTier?:
| "TIER_UNSPECIFIED"
| "STANDARD"
| "PREMIUM"
| "BASIC_HDD"
| "BASIC_SSD"
| "HIGH_SCALE_SSD"
| "ENTERPRISE"
| "ZONAL"
| "REGIONAL";
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "FINALIZING"
| "READY"
| "DELETING"
| "INVALID";
readonly storageBytes?: bigint;
}

§Properties

§
readonly capacityGb?: bigint
[src]

Output only. Capacity of the source file share when the backup was created.

§
readonly createTime?: Date
[src]

Output only. The time when the backup was created.

§
description?: string
[src]

A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.

§
readonly downloadBytes?: bigint
[src]

Output only. Amount of bytes that will be downloaded if the backup is restored. This may be different than storage bytes, since sequential backups of the same disk will share storage.

§
kmsKey?: string
[src]

Immutable. KMS key name used for data encryption.

§
labels?: {
[key: string]: string;
}
[src]

Resource labels to represent user provided metadata.

§
readonly name?: string
[src]

Output only. The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}.

§
readonly satisfiesPzi?: boolean
[src]

Output only. Reserved for future use.

§
readonly satisfiesPzs?: boolean
[src]

Output only. Reserved for future use.

§
sourceFileShare?: string
[src]

Name of the file share in the source Filestore instance that the backup is created from.

§
sourceInstance?: string
[src]

The resource name of the source Filestore instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}, used to create this backup.

§
readonly sourceInstanceTier?: "TIER_UNSPECIFIED" | "STANDARD" | "PREMIUM" | "BASIC_HDD" | "BASIC_SSD" | "HIGH_SCALE_SSD" | "ENTERPRISE" | "ZONAL" | "REGIONAL"
[src]

Output only. The service tier of the source Filestore instance that this backup is created from.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "FINALIZING" | "READY" | "DELETING" | "INVALID"
[src]

Output only. The backup state.

§
readonly storageBytes?: bigint
[src]

Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.