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:
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 @@