diff --git a/clients/google-api-services-backupdr/v1/2.0.0/README.md b/clients/google-api-services-backupdr/v1/2.0.0/README.md index 3e42fd69183..10386507c47 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/README.md +++ b/clients/google-api-services-backupdr/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-backupdr - v1-rev20260309-2.0.0 + v1-rev20260318-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-backupdr:v1-rev20260309-2.0.0' + implementation 'com.google.apis:google-api-services-backupdr:v1-rev20260318-2.0.0' } ``` diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/Backup.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/Backup.java index 2d39c3860e6..de71ad06262 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/Backup.java +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/Backup.java @@ -129,6 +129,13 @@ public final class Backup extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private String expireTime; + /** + * Output only. Filestore specific backup properties. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private FilestoreInstanceBackupProperties filestoreInstanceBackupProperties; + /** * Output only. Configuration for a Google Cloud resource. * The value may be {@code null}. @@ -450,6 +457,23 @@ public Backup setExpireTime(String expireTime) { return this; } + /** + * Output only. Filestore specific backup properties. + * @return value or {@code null} for none + */ + public FilestoreInstanceBackupProperties getFilestoreInstanceBackupProperties() { + return filestoreInstanceBackupProperties; + } + + /** + * Output only. Filestore specific backup properties. + * @param filestoreInstanceBackupProperties filestoreInstanceBackupProperties or {@code null} for none + */ + public Backup setFilestoreInstanceBackupProperties(FilestoreInstanceBackupProperties filestoreInstanceBackupProperties) { + this.filestoreInstanceBackupProperties = filestoreInstanceBackupProperties; + return this; + } + /** * Output only. Configuration for a Google Cloud resource. * @return value or {@code null} for none diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/DataSourceGcpResource.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/DataSourceGcpResource.java index 1cb8e965952..13379d7cbc4 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/DataSourceGcpResource.java +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/DataSourceGcpResource.java @@ -64,6 +64,14 @@ public final class DataSourceGcpResource extends com.google.api.client.json.Gene @com.google.api.client.util.Key private DiskDataSourceProperties diskDatasourceProperties; + /** + * Output only. FilestoreInstanceDataSourceProperties has a subset of FileStore instance + * properties that are useful at the Datasource level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private FilestoreInstanceDataSourceProperties filestoreInstanceDatasourceProperties; + /** * Output only. Full resource pathname URL of the source Google Cloud resource. * The value may be {@code null}. @@ -164,6 +172,25 @@ public DataSourceGcpResource setDiskDatasourceProperties(DiskDataSourcePropertie return this; } + /** + * Output only. FilestoreInstanceDataSourceProperties has a subset of FileStore instance + * properties that are useful at the Datasource level. + * @return value or {@code null} for none + */ + public FilestoreInstanceDataSourceProperties getFilestoreInstanceDatasourceProperties() { + return filestoreInstanceDatasourceProperties; + } + + /** + * Output only. FilestoreInstanceDataSourceProperties has a subset of FileStore instance + * properties that are useful at the Datasource level. + * @param filestoreInstanceDatasourceProperties filestoreInstanceDatasourceProperties or {@code null} for none + */ + public DataSourceGcpResource setFilestoreInstanceDatasourceProperties(FilestoreInstanceDataSourceProperties filestoreInstanceDatasourceProperties) { + this.filestoreInstanceDatasourceProperties = filestoreInstanceDatasourceProperties; + return this; + } + /** * Output only. Full resource pathname URL of the source Google Cloud resource. * @return value or {@code null} for none diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/DataSourceGcpResourceInfo.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/DataSourceGcpResourceInfo.java index 59d6727ec28..a993c572048 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/DataSourceGcpResourceInfo.java +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/DataSourceGcpResourceInfo.java @@ -44,6 +44,13 @@ public final class DataSourceGcpResourceInfo extends com.google.api.client.json. @com.google.api.client.util.Key private CloudSqlInstanceDataSourceReferenceProperties cloudSqlInstanceProperties; + /** + * Output only. The properties of the Filestore instance. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private FilestoreInstanceDataSourceReferenceProperties filestoreInstanceProperties; + /** * Output only. The resource name of the Google Cloud resource. Ex: * projects/{project}/zones/{zone}/instances/{instance} @@ -100,6 +107,23 @@ public DataSourceGcpResourceInfo setCloudSqlInstanceProperties(CloudSqlInstanceD return this; } + /** + * Output only. The properties of the Filestore instance. + * @return value or {@code null} for none + */ + public FilestoreInstanceDataSourceReferenceProperties getFilestoreInstanceProperties() { + return filestoreInstanceProperties; + } + + /** + * Output only. The properties of the Filestore instance. + * @param filestoreInstanceProperties filestoreInstanceProperties or {@code null} for none + */ + public DataSourceGcpResourceInfo setFilestoreInstanceProperties(FilestoreInstanceDataSourceReferenceProperties filestoreInstanceProperties) { + this.filestoreInstanceProperties = filestoreInstanceProperties; + return this; + } + /** * Output only. The resource name of the Google Cloud resource. Ex: * projects/{project}/zones/{zone}/instances/{instance} diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/FilestoreInstanceBackupProperties.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/FilestoreInstanceBackupProperties.java new file mode 100644 index 00000000000..1c9afc79888 --- /dev/null +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/FilestoreInstanceBackupProperties.java @@ -0,0 +1,68 @@ +/* + * 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; + +/** + * FilestoreInstanceBackupProperties represents the properties of a Filestore instance that are + * backed up by the datasource. . + * + *

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 FilestoreInstanceBackupProperties extends com.google.api.client.json.GenericJson { + + /** + * Output only. The source instance of the backup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sourceInstance; + + /** + * Output only. The source instance of the backup. + * @return value or {@code null} for none + */ + public java.lang.String getSourceInstance() { + return sourceInstance; + } + + /** + * Output only. The source instance of the backup. + * @param sourceInstance sourceInstance or {@code null} for none + */ + public FilestoreInstanceBackupProperties setSourceInstance(java.lang.String sourceInstance) { + this.sourceInstance = sourceInstance; + return this; + } + + @Override + public FilestoreInstanceBackupProperties set(String fieldName, Object value) { + return (FilestoreInstanceBackupProperties) super.set(fieldName, value); + } + + @Override + public FilestoreInstanceBackupProperties clone() { + return (FilestoreInstanceBackupProperties) super.clone(); + } + +} diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/FilestoreInstanceDataSourceProperties.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/FilestoreInstanceDataSourceProperties.java new file mode 100644 index 00000000000..5380b25feb6 --- /dev/null +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/FilestoreInstanceDataSourceProperties.java @@ -0,0 +1,92 @@ +/* + * 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; + +/** + * FilestoreInstanceDataSourceProperties represents the properties of a Filestore resource that are + * stored in the DataSource. . + * + *

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 FilestoreInstanceDataSourceProperties extends com.google.api.client.json.GenericJson { + + /** + * Output only. The instance creation timestamp. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String instanceCreateTime; + + /** + * Output only. Name of the Filestore instance backed up by the datasource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The instance creation timestamp. + * @return value or {@code null} for none + */ + public String getInstanceCreateTime() { + return instanceCreateTime; + } + + /** + * Output only. The instance creation timestamp. + * @param instanceCreateTime instanceCreateTime or {@code null} for none + */ + public FilestoreInstanceDataSourceProperties setInstanceCreateTime(String instanceCreateTime) { + this.instanceCreateTime = instanceCreateTime; + return this; + } + + /** + * Output only. Name of the Filestore instance backed up by the datasource. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. Name of the Filestore instance backed up by the datasource. + * @param name name or {@code null} for none + */ + public FilestoreInstanceDataSourceProperties setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public FilestoreInstanceDataSourceProperties set(String fieldName, Object value) { + return (FilestoreInstanceDataSourceProperties) super.set(fieldName, value); + } + + @Override + public FilestoreInstanceDataSourceProperties clone() { + return (FilestoreInstanceDataSourceProperties) super.clone(); + } + +} diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/FilestoreInstanceDataSourceReferenceProperties.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/FilestoreInstanceDataSourceReferenceProperties.java new file mode 100644 index 00000000000..e82f1ce5371 --- /dev/null +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/FilestoreInstanceDataSourceReferenceProperties.java @@ -0,0 +1,95 @@ +/* + * 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; + +/** + * FilestoreInstanceDataSourceReferenceProperties represents the properties of a Filestore resource + * that are stored in the DataSourceReference. . + * + *

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 FilestoreInstanceDataSourceReferenceProperties extends com.google.api.client.json.GenericJson { + + /** + * Output only. The instance creation timestamp. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String instanceCreateTime; + + /** + * Output only. Name of the Filestore instance backed up by the datasource. Format: + * projects/{project}/instances/{instance} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The instance creation timestamp. + * @return value or {@code null} for none + */ + public String getInstanceCreateTime() { + return instanceCreateTime; + } + + /** + * Output only. The instance creation timestamp. + * @param instanceCreateTime instanceCreateTime or {@code null} for none + */ + public FilestoreInstanceDataSourceReferenceProperties setInstanceCreateTime(String instanceCreateTime) { + this.instanceCreateTime = instanceCreateTime; + return this; + } + + /** + * Output only. Name of the Filestore instance backed up by the datasource. Format: + * projects/{project}/instances/{instance} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. Name of the Filestore instance backed up by the datasource. Format: + * projects/{project}/instances/{instance} + * @param name name or {@code null} for none + */ + public FilestoreInstanceDataSourceReferenceProperties setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public FilestoreInstanceDataSourceReferenceProperties set(String fieldName, Object value) { + return (FilestoreInstanceDataSourceReferenceProperties) super.set(fieldName, value); + } + + @Override + public FilestoreInstanceDataSourceReferenceProperties clone() { + return (FilestoreInstanceDataSourceReferenceProperties) 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 9e2d777623a..cbaadbcd906 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-rev20260309-2.0.0 - Backup and DR Service API v1-rev20260309-2.0.0 + v1-rev20260318-2.0.0 + Backup and DR Service API v1-rev20260318-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 3e42fd69183..10386507c47 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-rev20260309-2.0.0 + v1-rev20260318-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-backupdr:v1-rev20260309-2.0.0' + implementation 'com.google.apis:google-api-services-backupdr:v1-rev20260318-2.0.0' } ```