gu
return this;
}
+ /**
+ * Provides options for creating a disk from a source Compute Instance backup.
+ * @return value or {@code null} for none
+ */
+ public RestoreDiskFromInstanceOptions getInstanceBackupSource() {
+ return instanceBackupSource;
+ }
+
+ /**
+ * Provides options for creating a disk from a source Compute Instance backup.
+ * @param instanceBackupSource instanceBackupSource or {@code null} for none
+ */
+ public DiskRestoreProperties setInstanceBackupSource(RestoreDiskFromInstanceOptions instanceBackupSource) {
+ this.instanceBackupSource = instanceBackupSource;
+ return this;
+ }
+
/**
* Optional. Labels to apply to this disk. These can be modified later using setLabels method.
* Label values can be empty.
diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/RestoreDiskFromInstanceOptions.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/RestoreDiskFromInstanceOptions.java
new file mode 100644
index 00000000000..70d25e1cbcd
--- /dev/null
+++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/RestoreDiskFromInstanceOptions.java
@@ -0,0 +1,94 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.backupdr.v1.model;
+
+/**
+ * Options for creating a disk from a source Compute Instance backup.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Backup and DR Service API. For a detailed explanation
+ * see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class RestoreDiskFromInstanceOptions extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Specifies that the boot disk should be restored from the instance backup. This field should
+ * only be set to `true` if selected.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean bootDisk;
+
+ /**
+ * The device name of the disk to restore from the VM backup.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String sourceDeviceName;
+
+ /**
+ * Specifies that the boot disk should be restored from the instance backup. This field should
+ * only be set to `true` if selected.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getBootDisk() {
+ return bootDisk;
+ }
+
+ /**
+ * Specifies that the boot disk should be restored from the instance backup. This field should
+ * only be set to `true` if selected.
+ * @param bootDisk bootDisk or {@code null} for none
+ */
+ public RestoreDiskFromInstanceOptions setBootDisk(java.lang.Boolean bootDisk) {
+ this.bootDisk = bootDisk;
+ return this;
+ }
+
+ /**
+ * The device name of the disk to restore from the VM backup.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getSourceDeviceName() {
+ return sourceDeviceName;
+ }
+
+ /**
+ * The device name of the disk to restore from the VM backup.
+ * @param sourceDeviceName sourceDeviceName or {@code null} for none
+ */
+ public RestoreDiskFromInstanceOptions setSourceDeviceName(java.lang.String sourceDeviceName) {
+ this.sourceDeviceName = sourceDeviceName;
+ return this;
+ }
+
+ @Override
+ public RestoreDiskFromInstanceOptions set(String fieldName, Object value) {
+ return (RestoreDiskFromInstanceOptions) super.set(fieldName, value);
+ }
+
+ @Override
+ public RestoreDiskFromInstanceOptions clone() {
+ return (RestoreDiskFromInstanceOptions) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-backupdr/v1/2.0.0/pom.xml b/clients/google-api-services-backupdr/v1/2.0.0/pom.xml
index 8457d4863c3..1d808f1cb6e 100644
--- a/clients/google-api-services-backupdr/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-backupdr/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-backupdr
- v1-rev20260805-2.0.0
- Backup and DR Service API v1-rev20260805-2.0.0
+ v1-rev20260812-2.0.0
+ Backup and DR Service API v1-rev20260812-2.0.0
jar
2011
diff --git a/clients/google-api-services-backupdr/v1/README.md b/clients/google-api-services-backupdr/v1/README.md
index c1161626ee4..4bd587c6a6d 100644
--- a/clients/google-api-services-backupdr/v1/README.md
+++ b/clients/google-api-services-backupdr/v1/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-backupdr
- v1-rev20260805-2.0.0
+ v1-rev20260812-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-backupdr:v1-rev20260805-2.0.0'
+ implementation 'com.google.apis:google-api-services-backupdr:v1-rev20260812-2.0.0'
}
```