Tool: ListBackups
Lists all backups associated with a specific data source. Use this to find available recovery points.
The following sample demonstrate how to use curl to invoke the ListBackups MCP tool.
| Curl Request |
|---|
curl --location 'https://backupdr.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "ListBackups", "arguments": { // provide these details according to the tool's MCP specification } }, "jsonrpc": "2.0", "id": 1 }' |
Input Schema
Request message for listing Backups.
ListBackupsRequest
| JSON representation |
|---|
{
"parent": string,
"pageSize": integer,
"pageToken": string,
"filter": string,
"orderBy": string,
"view": enum ( |
| Fields | |
|---|---|
parent |
Required. The project and location for which to retrieve backup information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve data sources for all locations, use "-" for the '{location}' value. |
pageSize |
Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
pageToken |
Optional. A token identifying a page of results the server should return. |
filter |
Optional. Filtering results. |
orderBy |
Optional. Hint for how to order the results. |
view |
Optional. Reserved for future use to provide a BASIC & FULL view of Backup resource. |
BackupView
BackupView contains enum options for Partial and Full view.
| Enums | |
|---|---|
BACKUP_VIEW_UNSPECIFIED |
If the value is not set, the default 'FULL' view is used. |
BACKUP_VIEW_BASIC |
Includes basic data about the Backup, but not the full contents. |
BACKUP_VIEW_FULL |
Includes all data about the Backup. This is the default value (for both ListBackups and GetBackup). |
Output Schema
Response message for listing Backups.
ListBackupsResponse
| JSON representation |
|---|
{
"backups": [
{
object ( |
| Fields | |
|---|---|
backups[] |
The list of Backup instances in the project for the specified location. If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return data sources in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. |
nextPageToken |
A token identifying a page of results the server should return. |
unreachable[] |
Locations that could not be reached. |
Backup
| JSON representation |
|---|
{ "name": string, "labels": { string: string, ... }, "state": enum ( |
| Fields | |
|---|---|
name |
Output only. Identifier. Name of the backup to create. It must have the format |
labels |
Optional. Resource labels to represent user provided metadata. No labels currently defined. An object containing a list of |
state |
Output only. The Backup resource instance state. |
serviceLocks[] |
Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup. |
backupApplianceLocks[] |
Optional. The list of BackupLocks taken by the accessor Backup Appliance. |
backupType |
Output only. Type of the backup, unspecified, scheduled or ondemand. |
resourceSizeBytes |
Output only. source resource size in bytes at the time of the backup. |
kmsKeyVersions[] |
Optional. Output only. The list of KMS key versions used to encrypt the backup. |
Union field
|
|
description |
Output only. The description of the Backup instance (2048 characters or less). |
Union field
|
|
createTime |
Output only. The time when the instance was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field
|
|
updateTime |
Output only. The time when the instance was updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field
|
|
enforcedRetentionEndTime |
Optional. The backup can not be deleted before this time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field
|
|
backupRetentionInheritance |
Output only. Setting for how the enforced retention end time is inherited. This value is copied from this backup's BackupVault. |
Union field
|
|
expireTime |
Optional. When this backup is automatically expired. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field
|
|
consistencyTime |
Output only. The point in time when this backup was captured from the source. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field
|
|
etag |
Optional. Server specified ETag to prevent updates from overwriting each other. |
Union field backup_properties. Workload specific backup properties. backup_properties can be only one of the following: |
|
computeInstanceBackupProperties |
Output only. Compute Engine specific backup properties. |
cloudSqlInstanceBackupProperties |
Output only. Cloud SQL specific backup properties. |
backupApplianceBackupProperties |
Output only. Backup Appliance specific backup properties. |
alloyDbBackupProperties |
Output only. AlloyDB specific backup properties. |
diskBackupProperties |
Output only. Disk specific backup properties. |
filestoreInstanceBackupProperties |
Output only. Filestore specific backup properties. |
Union field plan_info. Configuration Info has the resource format-specific configuration. plan_info can be only one of the following: |
|
gcpBackupPlanInfo |
Output only. Configuration for a Google Cloud resource. |
Union field
|
|
satisfiesPzs |
Optional. Output only. Reserved for future use. |
Union field
|
|
satisfiesPzi |
Optional. Output only. Reserved for future use. |
Union field source_resource. Resource that is being backed up. source_resource can be only one of the following: |
|
gcpResource |
Output only. Unique identifier of the GCP resource that is being backed up. |
Timestamp
| JSON representation |
|---|
{ "seconds": string, "nanos": integer } |
| Fields | |
|---|---|
seconds |
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be between -62135596800 and 253402300799 inclusive (which corresponds to 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z). |
nanos |
Non-negative fractions of a second at nanosecond resolution. This field is the nanosecond portion of the duration, not an alternative to seconds. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be between 0 and 999,999,999 inclusive. |
LabelsEntry
| JSON representation |
|---|
{ "key": string, "value": string } |
| Fields | |
|---|---|
key |
|
value |
|
BackupLock
| JSON representation |
|---|
{ "lockUntilTime": string, // Union field |
| Fields | |
|---|---|
lockUntilTime |
Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field ClientLockInfo. Metadata about the owner and reason for the lock. ClientLockInfo can be only one of the following: |
|
backupApplianceLockInfo |
If the client is a backup and recovery appliance, this contains metadata about why the lock exists. |
serviceLockInfo |
Output only. Contains metadata about the lock exist for Google Cloud native backups. |
BackupApplianceLockInfo
| JSON representation |
|---|
{ "backupApplianceId": string, "backupApplianceName": string, "lockReason": string, // Union field |
| Fields | |
|---|---|
backupApplianceId |
Required. The ID of the backup/recovery appliance that created this lock. |
backupApplianceName |
Required. The name of the backup/recovery appliance that created this lock. |
lockReason |
Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service. |
Union field lock_source. The information about this lock. lock_source can be only one of the following: |
|
jobName |
The job name on the backup/recovery appliance that created this lock. |
backupImage |
The image name that depends on this Backup. |
slaId |
The SLA on the backup/recovery appliance that owns the lock. |
ServiceLockInfo
| JSON representation |
|---|
{ "operation": string } |
| Fields | |
|---|---|
operation |
Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes. |
ComputeInstanceBackupProperties
| JSON representation |
|---|
{ "networkInterface": [ { object ( |
| Fields | |
|---|---|
networkInterface[] |
An array of network access configurations for this interface. |
disk[] |
An array of disks that are associated with the instances that are created from these properties. |
serviceAccount[] |
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances. |
guestAccelerator[] |
A list of guest accelerator cards' type and count to use for instances created from these properties. |
labels |
Labels to apply to instances that are created from these properties. An object containing a list of |
guestFlush |
Optional. Indicates whether to perform a guest flush operation before taking a compute backup. When set to false, the system will create crash-consistent backups. Default value is false. |
Union field
|
|
description |
An optional text description for the instances that are created from these properties. |
Union field
|
|
tags |
A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt). |
Union field
|
|
machineType |
The machine type to use for instances that are created from these properties. |
Union field
|
|
canIpForward |
Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify |
Union field
|
|
metadata |
The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information. |
Union field
|
|
scheduling |
Specifies the scheduling options for the instances that are created from these properties. |
Union field
|
|
minCpuPlatform |
Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as |
Union field
|
|
keyRevocationActionType |
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. |
Union field
|
|
sourceInstance |
The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance |
Tags
| JSON representation |
|---|
{ "items": [ string ] } |
| Fields | |
|---|---|
items[] |
Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. |
NetworkInterface
| JSON representation |
|---|
{ "accessConfigs": [ { object ( |
| Fields | |
|---|---|
accessConfigs[] |
Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access. |
ipv6AccessConfigs[] |
Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access. |
aliasIpRanges[] |
Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks. |
Union field
|
|
network |
Optional. URL of the VPC network resource for this instance. |
Union field
|
|
subnetwork |
Optional. The URL of the Subnetwork resource for this instance. |
Union field
|
|
networkIP |
Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system. |
Union field
|
|
ipv6Address |
Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork. |
Union field
|
|
internalIpv6PrefixLength |
Optional. The prefix length of the primary internal IPv6 range. |
Union field
|
|
name |
Output only. [Output Only] The name of the network interface, which is generated by the server. |
Union field
|
|
stackType |
The stack type for this network interface. |
Union field
|
|
ipv6AccessType |
Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. |
Union field
|
|
queueCount |
Optional. The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users. |
Union field
|
|
nicType |
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. |
Union field
|
|
networkAttachment |
Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}. |
AccessConfig
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
type |
Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. |
Union field
|
|
name |
Optional. The name of this access configuration. |
Union field
|
|
natIP |
Optional. The external IP address of this access configuration. |
Union field
|
|
externalIpv6 |
Optional. The external IPv6 address of this access configuration. |
Union field
|
|
externalIpv6PrefixLength |
Optional. The prefix length of the external IPv6 range. |
Union field
|
|
setPublicPtr |
Optional. Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. |
Union field
|
|
publicPtrDomainName |
Optional. The DNS domain name for the public PTR record. |
Union field
|
|
networkTier |
Optional. This signifies the networking tier used for configuring this access |
AliasIpRange
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
ipCidrRange |
Optional. The IP alias ranges to allocate for this interface. |
Union field
|
|
subnetworkRangeName |
Optional. The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used. |
AttachedDisk
| JSON representation |
|---|
{ "license": [ string ], "guestOsFeature": [ { object ( |
| Fields | |
|---|---|
license[] |
Optional. Any valid publicly visible licenses. |
guestOsFeature[] |
Optional. A list of features to enable on the guest operating system. Applicable only for bootable images. |
Union field
|
|
initializeParams |
Optional. Specifies the parameters to initialize this disk. |
Union field
|
|
deviceName |
Optional. This is used as an identifier for the disks. This is the unique name has to provided to modify disk parameters like disk_name and replica_zones (in case of RePDs) |
Union field
|
|
kind |
Optional. Type of the resource. |
Union field
|
|
diskTypeDeprecated |
Specifies the type of the disk. |
Union field
|
|
mode |
Optional. The mode in which to attach this disk. |
Union field
|
|
source |
Optional. Specifies a valid partial or full URL to an existing Persistent Disk resource. |
Union field
|
|
index |
Optional. A zero-based index to this disk, where 0 is reserved for the boot disk. |
Union field
|
|
boot |
Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem. |
Union field
|
|
autoDelete |
Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). |
Union field
|
|
diskInterface |
Optional. Specifies the disk interface to use for attaching this disk. |
Union field
|
|
diskEncryptionKey |
Optional. Encrypts or decrypts a disk using a customer-supplied encryption key. |
Union field
|
|
diskSizeGb |
Optional. The size of the disk in GB. |
Union field
|
|
savedState |
Optional. Output only. The state of the disk. |
Union field
|
|
diskType |
Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd |
Union field
|
|
type |
Optional. Specifies the type of the disk. |
InitializeParams
| JSON representation |
|---|
{ "replicaZones": [ string ], // Union field |
| Fields | |
|---|---|
replicaZones[] |
Optional. URL of the zone where the disk should be created. Required for each regional disk associated with the instance. |
Union field
|
|
diskName |
Optional. Specifies the disk name. If not specified, the default is to use the name of the instance. |
GuestOsFeature
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
type |
The ID of a supported feature. |
CustomerEncryptionKey
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field key. The key to use for encryption. key can be only one of the following: |
|
rawKey |
Optional. Specifies a 256-bit customer-supplied encryption key. |
rsaEncryptedKey |
Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. |
kmsKeyName |
Optional. The name of the encryption key that is stored in Google Cloud KMS. |
Union field
|
|
kmsKeyServiceAccount |
Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. |
Metadata
| JSON representation |
|---|
{
"items": [
{
object ( |
| Fields | |
|---|---|
items[] |
Optional. Array of key/value pairs. The total size of all keys and values must be less than 512 KB. |
Entry
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
key |
Optional. Key for the metadata entry. |
Union field
|
|
value |
Optional. Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB). |
ServiceAccount
| JSON representation |
|---|
{ "scopes": [ string ], // Union field |
| Fields | |
|---|---|
scopes[] |
Optional. The list of scopes to be made available for this service account. |
Union field
|
|
email |
Optional. Email address of the service account. |
Scheduling
| JSON representation |
|---|
{ "nodeAffinities": [ { object ( |
| Fields | |
|---|---|
nodeAffinities[] |
Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity. |
Union field
|
|
onHostMaintenance |
Optional. Defines the maintenance behavior for this instance. |
Union field
|
|
automaticRestart |
Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). |
Union field
|
|
preemptible |
Optional. Defines whether the instance is preemptible. |
Union field
|
|
minNodeCpus |
Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. |
Union field
|
|
provisioningModel |
Optional. Specifies the provisioning model of the instance. |
Union field
|
|
instanceTerminationAction |
Optional. Specifies the termination action for the instance. |
Union field
|
|
localSsdRecoveryTimeout |
Optional. Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour. |
NodeAffinity
| JSON representation |
|---|
{ "values": [ string ], // Union field |
| Fields | |
|---|---|
values[] |
Optional. Corresponds to the label values of Node resource. |
Union field
|
|
key |
Optional. Corresponds to the label key of Node resource. |
Union field
|
|
operator |
Optional. Defines the operation of node selection. |
SchedulingDuration
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
seconds |
Optional. Span of time at a resolution of a second. |
Union field
|
|
nanos |
Optional. Span of time that's a fraction of a second at nanosecond resolution. |
AcceleratorConfig
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
acceleratorType |
Optional. Full or partial URL of the accelerator type resource to attach to this instance. |
Union field
|
|
acceleratorCount |
Optional. The number of the guest accelerator cards exposed to this instance. |
LabelsEntry
| JSON representation |
|---|
{ "key": string, "value": string } |
| Fields | |
|---|---|
key |
|
value |
|
CloudSqlInstanceBackupProperties
| JSON representation |
|---|
{ "databaseInstalledVersion": string, "finalBackup": boolean, "sourceInstance": string, "instanceCreateTime": string, "instanceTier": string, "instanceDeleteTime": string } |
| Fields | |
|---|---|
databaseInstalledVersion |
Output only. The installed database version of the Cloud SQL instance when the backup was taken. |
finalBackup |
Output only. Whether the backup is a final backup. |
sourceInstance |
Output only. The source instance of the backup. Format: projects/{project}/instances/{instance} |
instanceCreateTime |
Output only. The instance creation timestamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
instanceTier |
Output only. The tier (or machine type) for this instance. Example: |
instanceDeleteTime |
Output only. The instance delete timestamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
BackupApplianceBackupProperties
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
generationId |
Output only. The numeric generation ID of the backup (monotonically increasing). |
Union field
|
|
finalizeTime |
Output only. The time when this backup object was finalized (if none, backup is not finalized). Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field
|
|
recoveryRangeStartTime |
Optional. The earliest timestamp of data available in this Backup. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field
|
|
recoveryRangeEndTime |
Optional. The latest timestamp of data available in this Backup. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
AlloyDbClusterBackupProperties
| JSON representation |
|---|
{ "storedBytes": string, "chainId": string, "databaseVersion": string, // Union field |
| Fields | |
|---|---|
storedBytes |
Output only. Storage usage of this particular backup |
chainId |
Output only. The chain id of this backup. Backups belonging to the same chain are sharing the same chain id. This property is calculated and maintained by BackupDR. |
databaseVersion |
Output only. The PostgreSQL major version of the AlloyDB cluster when the backup was taken. |
Union field
|
|
description |
An optional text description for the backup. |
DiskBackupProperties
| JSON representation |
|---|
{ "licenses": [ string ], "guestOsFeature": [ { object ( |
| Fields | |
|---|---|
licenses[] |
A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image. |
guestOsFeature[] |
A list of guest OS features that are applicable to this backup. |
replicaZones[] |
The URL of the Zones where the source disk should be replicated. |
labels |
The labels of the source disk. An object containing a list of |
guestFlush |
Optional. Defines if the guest flush is enabled for the source disk. Default value is false. |
Union field
|
|
description |
A description of the source disk. |
Union field
|
|
architecture |
The architecture of the source disk. Valid values are ARM64 or X86_64. |
Union field
|
|
type |
The URL of the type of the disk. |
Union field
|
|
sizeGb |
Size(in GB) of the source disk. |
Union field
|
|
region |
Region and zone are mutually exclusive fields. The URL of the region of the source disk. |
Union field
|
|
zone |
The URL of the Zone where the source disk. |
Union field
|
|
sourceDisk |
The source disk used to create this backup. |
Union field
|
|
accessMode |
The access mode of the source disk. |
Union field
|
|
provisionedIops |
The number of IOPS provisioned for the source disk. |
Union field
|
|
provisionedThroughput |
The number of throughput provisioned for the source disk. |
Union field
|
|
physicalBlockSizeBytes |
The physical block size of the source disk. |
Union field
|
|
enableConfidentialCompute |
Indicates whether the source disk is using confidential compute mode. |
Union field
|
|
storagePool |
The storage pool of the source disk. |
LabelsEntry
| JSON representation |
|---|
{ "key": string, "value": string } |
| Fields | |
|---|---|
key |
|
value |
|
FilestoreInstanceBackupProperties
| JSON representation |
|---|
{ "sourceInstance": string } |
| Fields | |
|---|---|
sourceInstance |
Output only. The source instance of the backup. |
GCPBackupPlanInfo
| JSON representation |
|---|
{ "backupPlan": string, "backupPlanRuleId": string, "backupPlanRevisionName": string, "backupPlanRevisionId": string } |
| Fields | |
|---|---|
backupPlan |
Resource name of backup plan by which workload is protected at the time of the backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId} |
backupPlanRuleId |
The rule id of the backup plan which triggered this backup in case of scheduled backup or used for |
backupPlanRevisionName |
Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId} |
backupPlanRevisionId |
The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. |
BackupGcpResource
| JSON representation |
|---|
{ "gcpResourcename": string, "location": string, "type": string } |
| Fields | |
|---|---|
gcpResourcename |
Name of the Google Cloud resource. |
location |
Location of the resource: |
type |
Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance. |
BackupRetentionInheritance
How a backup's enforced retention end time is inherited.
| Enums | |
|---|---|
BACKUP_RETENTION_INHERITANCE_UNSPECIFIED |
Inheritance behavior not set. This will default to INHERIT_VAULT_RETENTION. |
INHERIT_VAULT_RETENTION |
The enforced retention end time of a backup will be inherited from the backup vault's This is the default behavior. |
MATCH_BACKUP_EXPIRE_TIME |
The enforced retention end time of a backup will always match the expire time of the backup. If this is set, the backup's enforced retention end time will be set to match the expire time during creation of the backup. When updating, the ERET and expire time must be updated together and have the same value. Invalid update requests will be rejected by the server. |
State
Holds the state of the backup resource.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
State not set. |
CREATING |
The backup is being created. |
ACTIVE |
The backup has been created and is fully usable. |
DELETING |
The backup is being deleted. |
ERROR |
The backup is experiencing an issue and might be unusable. |
UPLOADING |
The backup is being uploaded. |
AccessType
The type of configuration.
| Enums | |
|---|---|
ACCESS_TYPE_UNSPECIFIED |
Default value. This value is unused. |
ONE_TO_ONE_NAT |
ONE_TO_ONE_NAT |
DIRECT_IPV6 |
Direct IPv6 access. |
NetworkTier
Network tier property used by addresses, instances and forwarding rules.
| Enums | |
|---|---|
NETWORK_TIER_UNSPECIFIED |
Default value. This value is unused. |
PREMIUM |
High quality, Google-grade network tier, support for all networking products. |
STANDARD |
Public internet quality, only limited support for other networking products. |
StackType
Stack type for this network interface.
| Enums | |
|---|---|
STACK_TYPE_UNSPECIFIED |
Default should be STACK_TYPE_UNSPECIFIED. |
IPV4_ONLY |
The network interface will be assigned IPv4 address. |
IPV4_IPV6 |
The network interface can have both IPv4 and IPv6 addresses. |
Ipv6AccessType
IPv6 access type for this network interface.
| Enums | |
|---|---|
UNSPECIFIED_IPV6_ACCESS_TYPE |
IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet. |
INTERNAL |
This network interface can have internal IPv6. |
EXTERNAL |
This network interface can have external IPv6. |
NicType
Nic type for this network interface.
| Enums | |
|---|---|
NIC_TYPE_UNSPECIFIED |
Default should be NIC_TYPE_UNSPECIFIED. |
VIRTIO_NET |
VIRTIO |
GVNIC |
GVNIC |
DiskType
List of the Disk Types.
| Enums | |
|---|---|
DISK_TYPE_UNSPECIFIED |
Default value, which is unused. |
SCRATCH |
A scratch disk type. |
PERSISTENT |
A persistent disk type. |
DiskMode
List of the Disk Modes.
| Enums | |
|---|---|
DISK_MODE_UNSPECIFIED |
Default value, which is unused. |
READ_WRITE |
Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode. |
READ_ONLY |
Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time. |
LOCKED |
The disk is locked for administrative reasons. Nobody else can use the disk. This mode is used (for example) when taking a snapshot of a disk to prevent mounting the disk while it is being snapshotted. |
DiskInterface
List of the Disk Interfaces.
| Enums | |
|---|---|
DISK_INTERFACE_UNSPECIFIED |
Default value, which is unused. |
SCSI |
SCSI Disk Interface. |
NVME |
NVME Disk Interface. |
NVDIMM |
NVDIMM Disk Interface. |
ISCSI |
ISCSI Disk Interface. |
FeatureType
List of the Feature Types.
| Enums | |
|---|---|
FEATURE_TYPE_UNSPECIFIED |
Default value, which is unused. |
VIRTIO_SCSI_MULTIQUEUE |
VIRTIO_SCSI_MULTIQUEUE feature type. |
WINDOWS |
WINDOWS feature type. |
MULTI_IP_SUBNET |
MULTI_IP_SUBNET feature type. |
UEFI_COMPATIBLE |
UEFI_COMPATIBLE feature type. |
SECURE_BOOT |
SECURE_BOOT feature type. |
GVNIC |
GVNIC feature type. |
SEV_CAPABLE |
SEV_CAPABLE feature type. |
BARE_METAL_LINUX_COMPATIBLE |
BARE_METAL_LINUX_COMPATIBLE feature type. |
SUSPEND_RESUME_COMPATIBLE |
SUSPEND_RESUME_COMPATIBLE feature type. |
SEV_LIVE_MIGRATABLE |
SEV_LIVE_MIGRATABLE feature type. |
SEV_SNP_CAPABLE |
SEV_SNP_CAPABLE feature type. |
TDX_CAPABLE |
TDX_CAPABLE feature type. |
IDPF |
IDPF feature type. |
SEV_LIVE_MIGRATABLE_V2 |
SEV_LIVE_MIGRATABLE_V2 feature type. |
DiskSavedState
List of the states of the Disk.
| Enums | |
|---|---|
DISK_SAVED_STATE_UNSPECIFIED |
Default Disk state has not been preserved. |
PRESERVED |
Disk state has been preserved. |
OnHostMaintenance
Defines the maintenance behavior for this instance=
| Enums | |
|---|---|
ON_HOST_MAINTENANCE_UNSPECIFIED |
Default value. This value is unused. |
TERMINATE |
Tells Compute Engine to terminate and (optionally) restart the instance away from the maintenance activity. |
MIGRATE |
Default, Allows Compute Engine to automatically migrate instances out of the way of maintenance events. |
Operator
Defines the type of node selections.
| Enums | |
|---|---|
OPERATOR_UNSPECIFIED |
Default value. This value is unused. |
IN |
Requires Compute Engine to seek for matched nodes. |
NOT_IN |
Requires Compute Engine to avoid certain nodes. |
ProvisioningModel
Defines the provisioning model for an instance.
| Enums | |
|---|---|
PROVISIONING_MODEL_UNSPECIFIED |
Default value. This value is not used. |
STANDARD |
Standard provisioning with user controlled runtime, no discounts. |
SPOT |
Heavily discounted, no guaranteed runtime. |
InstanceTerminationAction
Defines the supported termination actions for an instance.
| Enums | |
|---|---|
INSTANCE_TERMINATION_ACTION_UNSPECIFIED |
Default value. This value is unused. |
DELETE |
Delete the VM. |
STOP |
Stop the VM without storing in-memory content. default action. |
KeyRevocationActionType
Specifies whether the virtual machine instance will be shut down on key revocation. It is currently used in instance, instance properties and GMI protos
| Enums | |
|---|---|
KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED |
Default value. This value is unused. |
NONE |
Indicates user chose no operation. |
STOP |
Indicates user chose to opt for VM shutdown on key revocation. |
Architecture
Architecture of the source disk.
| Enums | |
|---|---|
ARCHITECTURE_UNSPECIFIED |
Default value. This value is unused. |
X86_64 |
Disks with architecture X86_64 |
ARM64 |
Disks with architecture ARM64 |
BackupType
Type of the backup, scheduled or ondemand.
| Enums | |
|---|---|
BACKUP_TYPE_UNSPECIFIED |
Backup type is unspecified. |
SCHEDULED |
Scheduled backup. |
ON_DEMAND |
On demand backup. |
ON_DEMAND_OPERATIONAL |
Operational backup. |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌