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 DiskExclusionLabels extends com.google.api.client.json.GenericJson { + + /** + * Optional. Labels used to identify disks for exclusion from the backup. If a disk carries any of + * these labels, it will be excluded (OR logic). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 LabelKeyValPair extends com.google.api.client.json.GenericJson { + + /** + * Key of the label. The key must follow the format: `\\p{Ll}\\p{Lo}{0,62}`. This means the key + * must start with a lowercase letter or a lowercase international character, followed by zero or + * more lowercase letters, lowercase international characters, numbers, underscores, or dashes. + * The key must be at most 63 characters long. International characters are allowed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * Value of the label. The value must follow the format: `[\\p{Ll}\\p{Lo}\\p{N}_-]{1,63}`. This + * means the value must be one or more lowercase letters, lowercase international characters, + * numbers, underscores, or dashes. The value must be at most 63 characters long. International + * characters are allowed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * Key of the label. The key must follow the format: `\\p{Ll}\\p{Lo}{0,62}`. This means the key + * must start with a lowercase letter or a lowercase international character, followed by zero or + * more lowercase letters, lowercase international characters, numbers, underscores, or dashes. + * The key must be at most 63 characters long. International characters are allowed. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * Key of the label. The key must follow the format: `\\p{Ll}\\p{Lo}{0,62}`. This means the key + * must start with a lowercase letter or a lowercase international character, followed by zero or + * more lowercase letters, lowercase international characters, numbers, underscores, or dashes. + * The key must be at most 63 characters long. International characters are allowed. + * @param key key or {@code null} for none + */ + public LabelKeyValPair setKey(java.lang.String key) { + this.key = key; + return this; + } + + /** + * Value of the label. The value must follow the format: `[\\p{Ll}\\p{Lo}\\p{N}_-]{1,63}`. This + * means the value must be one or more lowercase letters, lowercase international characters, + * numbers, underscores, or dashes. The value must be at most 63 characters long. International + * characters are allowed. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * Value of the label. The value must follow the format: `[\\p{Ll}\\p{Lo}\\p{N}_-]{1,63}`. This + * means the value must be one or more lowercase letters, lowercase international characters, + * numbers, underscores, or dashes. The value must be at most 63 characters long. International + * characters are allowed. + * @param value value or {@code null} for none + */ + public LabelKeyValPair setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public LabelKeyValPair set(String fieldName, Object value) { + return (LabelKeyValPair) super.set(fieldName, value); + } + + @Override + public LabelKeyValPair clone() { + return (LabelKeyValPair) 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 83d1a7c6921..8457d4863c3 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 @@