diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/README.md b/clients/google-api-services-saasservicemgmt/v1/2.0.0/README.md
index e94ad3c0cce..62ad6481046 100644
--- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/README.md
+++ b/clients/google-api-services-saasservicemgmt/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 App Lifecycle Manager 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 Decimal extends com.google.api.client.json.GenericJson { + + /** + * The decimal value, as a string. The string representation consists of an optional sign, `+` + * (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits ("the + * integer"), optionally followed by a fraction, optionally followed by an exponent. An empty + * string **should** be interpreted as `0`. The fraction consists of a decimal point followed by + * zero or more decimal digits. The string must contain at least one digit in either the integer + * or the fraction. The number formed by the sign, the integer and the fraction is referred to as + * the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) + * followed by one or more decimal digits. Services **should** normalize decimal values before + * storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a + * zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to upper- + * case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent + * (`2.5E0` -> `2.5`). Services **may** perform additional normalization based on its own needs + * and the internal decimal implementation selected, such as shifting the decimal point and + * exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services **may** preserve + * trailing zeroes in the fraction to indicate increased precision, but are not required to do so. + * Note that only the `.` character is supported to divide the integer and the fraction; `,` + * **should not** be supported regardless of locale. Additionally, thousand separators **should + * not** be supported. If a service does support them, values **must** be normalized. The ENBF + * grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = + * Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | + * '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range + * of supported values, the maximum supported precision (total number of digits), and, if + * applicable, the scale (number of digits after the decimal point), as well as how it behaves + * when receiving out-of-bounds values. Services **may** choose to accept values passed as input + * even when the value has a higher precision or scale than the service supports, and **should** + * round the value to fit the supported scale. Alternatively, the service **may** error with `400 + * Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error + * with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of + * the supported range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * The decimal value, as a string. The string representation consists of an optional sign, `+` + * (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits ("the + * integer"), optionally followed by a fraction, optionally followed by an exponent. An empty + * string **should** be interpreted as `0`. The fraction consists of a decimal point followed by + * zero or more decimal digits. The string must contain at least one digit in either the integer + * or the fraction. The number formed by the sign, the integer and the fraction is referred to as + * the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) + * followed by one or more decimal digits. Services **should** normalize decimal values before + * storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a + * zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to upper- + * case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent + * (`2.5E0` -> `2.5`). Services **may** perform additional normalization based on its own needs + * and the internal decimal implementation selected, such as shifting the decimal point and + * exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services **may** preserve + * trailing zeroes in the fraction to indicate increased precision, but are not required to do so. + * Note that only the `.` character is supported to divide the integer and the fraction; `,` + * **should not** be supported regardless of locale. Additionally, thousand separators **should + * not** be supported. If a service does support them, values **must** be normalized. The ENBF + * grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = + * Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | + * '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range + * of supported values, the maximum supported precision (total number of digits), and, if + * applicable, the scale (number of digits after the decimal point), as well as how it behaves + * when receiving out-of-bounds values. Services **may** choose to accept values passed as input + * even when the value has a higher precision or scale than the service supports, and **should** + * round the value to fit the supported scale. Alternatively, the service **may** error with `400 + * Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error + * with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of + * the supported range. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * The decimal value, as a string. The string representation consists of an optional sign, `+` + * (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits ("the + * integer"), optionally followed by a fraction, optionally followed by an exponent. An empty + * string **should** be interpreted as `0`. The fraction consists of a decimal point followed by + * zero or more decimal digits. The string must contain at least one digit in either the integer + * or the fraction. The number formed by the sign, the integer and the fraction is referred to as + * the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) + * followed by one or more decimal digits. Services **should** normalize decimal values before + * storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a + * zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to upper- + * case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent + * (`2.5E0` -> `2.5`). Services **may** perform additional normalization based on its own needs + * and the internal decimal implementation selected, such as shifting the decimal point and + * exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services **may** preserve + * trailing zeroes in the fraction to indicate increased precision, but are not required to do so. + * Note that only the `.` character is supported to divide the integer and the fraction; `,` + * **should not** be supported regardless of locale. Additionally, thousand separators **should + * not** be supported. If a service does support them, values **must** be normalized. The ENBF + * grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = + * Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | + * '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range + * of supported values, the maximum supported precision (total number of digits), and, if + * applicable, the scale (number of digits after the decimal point), as well as how it behaves + * when receiving out-of-bounds values. Services **may** choose to accept values passed as input + * even when the value has a higher precision or scale than the service supports, and **should** + * round the value to fit the supported scale. Alternatively, the service **may** error with `400 + * Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error + * with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of + * the supported range. + * @param value value or {@code null} for none + */ + public Decimal setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public Decimal set(String fieldName, Object value) { + return (Decimal) super.set(fieldName, value); + } + + @Override + public Decimal clone() { + return (Decimal) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DeprovisionUnitGroup.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DeprovisionUnitGroup.java deleted file mode 100644 index 3f33582d612..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DeprovisionUnitGroup.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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.saasservicemgmt.v1.model; - -/** - * DeprovisionUnitGroup is the unit group operation that deprovisions the underlying resources - * represented by a UnitGroup. - * - *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 App Lifecycle Manager 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 DeprovisionUnitGroup extends com.google.api.client.json.GenericJson { - - @Override - public DeprovisionUnitGroup set(String fieldName, Object value) { - return (DeprovisionUnitGroup) super.set(fieldName, value); - } - - @Override - public DeprovisionUnitGroup clone() { - return (DeprovisionUnitGroup) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DetachUnitGroup.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DetachUnitGroup.java deleted file mode 100644 index b7761d654a8..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DetachUnitGroup.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * 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.saasservicemgmt.v1.model; - -/** - * DetachUnitGroup is the unit group operation that detaches a provisioned UnitGroup. - * - *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 App Lifecycle Manager 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 DetachUnitGroup extends com.google.api.client.json.GenericJson { - - @Override - public DetachUnitGroup set(String fieldName, Object value) { - return (DetachUnitGroup) super.set(fieldName, value); - } - - @Override - public DetachUnitGroup clone() { - return (DetachUnitGroup) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ProvisionUnitGroup.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ProvisionUnitGroup.java deleted file mode 100644 index 3f7dfc4d0b1..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ProvisionUnitGroup.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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.saasservicemgmt.v1.model; - -/** - * ProvisionUnitGroup is the unit group operation that provisions the underlying resources - * represented by a UnitGroup. - * - *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 App Lifecycle Manager 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 ProvisionUnitGroup extends com.google.api.client.json.GenericJson { - - @Override - public ProvisionUnitGroup set(String fieldName, Object value) { - return (ProvisionUnitGroup) super.set(fieldName, value); - } - - @Override - public ProvisionUnitGroup clone() { - return (ProvisionUnitGroup) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/RolloutKind.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/RolloutKind.java index 75ee5eb0ca8..8457d6f8651 100644 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/RolloutKind.java +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/RolloutKind.java @@ -120,6 +120,14 @@ public final class RolloutKind extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String unitKind; + /** + * Optional. Settings for controlling the pacing of rollouts i.e. the number of units to be rolled + * out in parallel in a region. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private UnitUpdatePacing unitUpdatePacing; + /** * Output only. The timestamp when the resource was last updated. Any change to the resource made * by users must refresh this value. Changes to a resource made by the service should refresh this @@ -345,6 +353,25 @@ public RolloutKind setUnitKind(java.lang.String unitKind) { return this; } + /** + * Optional. Settings for controlling the pacing of rollouts i.e. the number of units to be rolled + * out in parallel in a region. + * @return value or {@code null} for none + */ + public UnitUpdatePacing getUnitUpdatePacing() { + return unitUpdatePacing; + } + + /** + * Optional. Settings for controlling the pacing of rollouts i.e. the number of units to be rolled + * out in parallel in a region. + * @param unitUpdatePacing unitUpdatePacing or {@code null} for none + */ + public RolloutKind setUnitUpdatePacing(UnitUpdatePacing unitUpdatePacing) { + this.unitUpdatePacing = unitUpdatePacing; + return this; + } + /** * Output only. The timestamp when the resource was last updated. Any change to the resource made * by users must refresh this value. Changes to a resource made by the service should refresh this diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/SaasRelease.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/SaasRelease.java index f33208bab5e..b574c71c3d3 100644 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/SaasRelease.java +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/SaasRelease.java @@ -73,22 +73,6 @@ public final class SaasRelease extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String name; - /** - * Required. The Releases that are assigned to this SaasRelease. - * 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 App Lifecycle Manager 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 TierMapping extends com.google.api.client.json.GenericJson { - - /** - * Required. The tier. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String tier; - - /** - * 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 App Lifecycle Manager 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 TierUnitKind extends com.google.api.client.json.GenericJson { - - /** - * Optional. Output only. Input variables for the UnitKind. - * 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 App Lifecycle Manager 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 UnitUpdatePacing extends com.google.api.client.json.GenericJson { + + /** + * Optional. An absolute cap on concurrent units operations. If both percent and count are + * provided, the system uses the MINIMUM (most restrictive). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer maxConcurrentOperationsCount; + + /** + * Optional. The maximum percentage of total units in the scope that can be in-flight. Example: + * 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most + * restrictive). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Decimal maxConcurrentOperationsPercent; + + /** + * Optional. An absolute cap on concurrent units operations. If both percent and count are + * provided, the system uses the MINIMUM (most restrictive). + * @return value or {@code null} for none + */ + public java.lang.Integer getMaxConcurrentOperationsCount() { + return maxConcurrentOperationsCount; + } + + /** + * Optional. An absolute cap on concurrent units operations. If both percent and count are + * provided, the system uses the MINIMUM (most restrictive). + * @param maxConcurrentOperationsCount maxConcurrentOperationsCount or {@code null} for none + */ + public UnitUpdatePacing setMaxConcurrentOperationsCount(java.lang.Integer maxConcurrentOperationsCount) { + this.maxConcurrentOperationsCount = maxConcurrentOperationsCount; + return this; + } + + /** + * Optional. The maximum percentage of total units in the scope that can be in-flight. Example: + * 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most + * restrictive). + * @return value or {@code null} for none + */ + public Decimal getMaxConcurrentOperationsPercent() { + return maxConcurrentOperationsPercent; + } + + /** + * Optional. The maximum percentage of total units in the scope that can be in-flight. Example: + * 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most + * restrictive). + * @param maxConcurrentOperationsPercent maxConcurrentOperationsPercent or {@code null} for none + */ + public UnitUpdatePacing setMaxConcurrentOperationsPercent(Decimal maxConcurrentOperationsPercent) { + this.maxConcurrentOperationsPercent = maxConcurrentOperationsPercent; + return this; + } + + @Override + public UnitUpdatePacing set(String fieldName, Object value) { + return (UnitUpdatePacing) super.set(fieldName, value); + } + + @Override + public UnitUpdatePacing clone() { + return (UnitUpdatePacing) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/pom.xml b/clients/google-api-services-saasservicemgmt/v1/2.0.0/pom.xml index 0c7dfcf89f7..e8c75fd8bcc 100644 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/pom.xml +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@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 App Lifecycle Manager 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 Decimal extends com.google.api.client.json.GenericJson { + + /** + * The decimal value, as a string. The string representation consists of an optional sign, `+` + * (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits ("the + * integer"), optionally followed by a fraction, optionally followed by an exponent. An empty + * string **should** be interpreted as `0`. The fraction consists of a decimal point followed by + * zero or more decimal digits. The string must contain at least one digit in either the integer + * or the fraction. The number formed by the sign, the integer and the fraction is referred to as + * the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) + * followed by one or more decimal digits. Services **should** normalize decimal values before + * storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a + * zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to upper- + * case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent + * (`2.5E0` -> `2.5`). Services **may** perform additional normalization based on its own needs + * and the internal decimal implementation selected, such as shifting the decimal point and + * exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services **may** preserve + * trailing zeroes in the fraction to indicate increased precision, but are not required to do so. + * Note that only the `.` character is supported to divide the integer and the fraction; `,` + * **should not** be supported regardless of locale. Additionally, thousand separators **should + * not** be supported. If a service does support them, values **must** be normalized. The ENBF + * grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = + * Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | + * '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range + * of supported values, the maximum supported precision (total number of digits), and, if + * applicable, the scale (number of digits after the decimal point), as well as how it behaves + * when receiving out-of-bounds values. Services **may** choose to accept values passed as input + * even when the value has a higher precision or scale than the service supports, and **should** + * round the value to fit the supported scale. Alternatively, the service **may** error with `400 + * Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error + * with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of + * the supported range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * The decimal value, as a string. The string representation consists of an optional sign, `+` + * (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits ("the + * integer"), optionally followed by a fraction, optionally followed by an exponent. An empty + * string **should** be interpreted as `0`. The fraction consists of a decimal point followed by + * zero or more decimal digits. The string must contain at least one digit in either the integer + * or the fraction. The number formed by the sign, the integer and the fraction is referred to as + * the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) + * followed by one or more decimal digits. Services **should** normalize decimal values before + * storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a + * zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to upper- + * case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent + * (`2.5E0` -> `2.5`). Services **may** perform additional normalization based on its own needs + * and the internal decimal implementation selected, such as shifting the decimal point and + * exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services **may** preserve + * trailing zeroes in the fraction to indicate increased precision, but are not required to do so. + * Note that only the `.` character is supported to divide the integer and the fraction; `,` + * **should not** be supported regardless of locale. Additionally, thousand separators **should + * not** be supported. If a service does support them, values **must** be normalized. The ENBF + * grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = + * Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | + * '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range + * of supported values, the maximum supported precision (total number of digits), and, if + * applicable, the scale (number of digits after the decimal point), as well as how it behaves + * when receiving out-of-bounds values. Services **may** choose to accept values passed as input + * even when the value has a higher precision or scale than the service supports, and **should** + * round the value to fit the supported scale. Alternatively, the service **may** error with `400 + * Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error + * with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of + * the supported range. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * The decimal value, as a string. The string representation consists of an optional sign, `+` + * (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits ("the + * integer"), optionally followed by a fraction, optionally followed by an exponent. An empty + * string **should** be interpreted as `0`. The fraction consists of a decimal point followed by + * zero or more decimal digits. The string must contain at least one digit in either the integer + * or the fraction. The number formed by the sign, the integer and the fraction is referred to as + * the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) + * followed by one or more decimal digits. Services **should** normalize decimal values before + * storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a + * zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to upper- + * case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent + * (`2.5E0` -> `2.5`). Services **may** perform additional normalization based on its own needs + * and the internal decimal implementation selected, such as shifting the decimal point and + * exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services **may** preserve + * trailing zeroes in the fraction to indicate increased precision, but are not required to do so. + * Note that only the `.` character is supported to divide the integer and the fraction; `,` + * **should not** be supported regardless of locale. Additionally, thousand separators **should + * not** be supported. If a service does support them, values **must** be normalized. The ENBF + * grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = + * Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | + * '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range + * of supported values, the maximum supported precision (total number of digits), and, if + * applicable, the scale (number of digits after the decimal point), as well as how it behaves + * when receiving out-of-bounds values. Services **may** choose to accept values passed as input + * even when the value has a higher precision or scale than the service supports, and **should** + * round the value to fit the supported scale. Alternatively, the service **may** error with `400 + * Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error + * with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of + * the supported range. + * @param value value or {@code null} for none + */ + public Decimal setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public Decimal set(String fieldName, Object value) { + return (Decimal) super.set(fieldName, value); + } + + @Override + public Decimal clone() { + return (Decimal) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DeprovisionUnitGroup.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DeprovisionUnitGroup.java deleted file mode 100644 index 69a7b9d98cd..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DeprovisionUnitGroup.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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.saasservicemgmt.v1beta1.model; - -/** - * DeprovisionUnitGroup is the unit group operation that deprovisions the underlying resources - * represented by a UnitGroup. - * - *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 App Lifecycle Manager 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 DeprovisionUnitGroup extends com.google.api.client.json.GenericJson { - - @Override - public DeprovisionUnitGroup set(String fieldName, Object value) { - return (DeprovisionUnitGroup) super.set(fieldName, value); - } - - @Override - public DeprovisionUnitGroup clone() { - return (DeprovisionUnitGroup) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DetachUnitGroup.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DetachUnitGroup.java deleted file mode 100644 index b79c82bdcd1..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DetachUnitGroup.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * 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.saasservicemgmt.v1beta1.model; - -/** - * DetachUnitGroup is the unit group operation that detaches a provisioned UnitGroup. - * - *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 App Lifecycle Manager 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 DetachUnitGroup extends com.google.api.client.json.GenericJson { - - @Override - public DetachUnitGroup set(String fieldName, Object value) { - return (DetachUnitGroup) super.set(fieldName, value); - } - - @Override - public DetachUnitGroup clone() { - return (DetachUnitGroup) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/EvaluationSpec.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/EvaluationSpec.java index dcea42b6a4c..c07dc076ae7 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/EvaluationSpec.java +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/EvaluationSpec.java @@ -51,13 +51,6 @@ public final class EvaluationSpec extends com.google.api.client.json.GenericJson @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 App Lifecycle Manager 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 ProvisionUnitGroup extends com.google.api.client.json.GenericJson { - - @Override - public ProvisionUnitGroup set(String fieldName, Object value) { - return (ProvisionUnitGroup) super.set(fieldName, value); - } - - @Override - public ProvisionUnitGroup clone() { - return (ProvisionUnitGroup) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/RolloutKind.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/RolloutKind.java index 297604df610..cc7cbed4d7d 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/RolloutKind.java +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/RolloutKind.java @@ -120,6 +120,14 @@ public final class RolloutKind extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String unitKind; + /** + * Optional. Settings for controlling the pacing of rollouts i.e. the number of units to be rolled + * out in parallel in a region. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private UnitUpdatePacing unitUpdatePacing; + /** * Output only. The timestamp when the resource was last updated. Any change to the resource made * by users must refresh this value. Changes to a resource made by the service should refresh this @@ -345,6 +353,25 @@ public RolloutKind setUnitKind(java.lang.String unitKind) { return this; } + /** + * Optional. Settings for controlling the pacing of rollouts i.e. the number of units to be rolled + * out in parallel in a region. + * @return value or {@code null} for none + */ + public UnitUpdatePacing getUnitUpdatePacing() { + return unitUpdatePacing; + } + + /** + * Optional. Settings for controlling the pacing of rollouts i.e. the number of units to be rolled + * out in parallel in a region. + * @param unitUpdatePacing unitUpdatePacing or {@code null} for none + */ + public RolloutKind setUnitUpdatePacing(UnitUpdatePacing unitUpdatePacing) { + this.unitUpdatePacing = unitUpdatePacing; + return this; + } + /** * Output only. The timestamp when the resource was last updated. Any change to the resource made * by users must refresh this value. Changes to a resource made by the service should refresh this diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/SaasRelease.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/SaasRelease.java index a7773b8b66d..6cd95cc0aa9 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/SaasRelease.java +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/SaasRelease.java @@ -73,22 +73,6 @@ public final class SaasRelease extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String name; - /** - * Required. The Releases that are assigned to this SaasRelease. - * 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 App Lifecycle Manager 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 TierMapping extends com.google.api.client.json.GenericJson { - - /** - * Required. The tier. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String tier; - - /** - * 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 App Lifecycle Manager 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 TierUnitKind extends com.google.api.client.json.GenericJson { - - /** - * Optional. Output only. Input variables for the UnitKind. - * 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 App Lifecycle Manager 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 UnitUpdatePacing extends com.google.api.client.json.GenericJson { + + /** + * Optional. An absolute cap on concurrent units operations. If both percent and count are + * provided, the system uses the MINIMUM (most restrictive). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer maxConcurrentOperationsCount; + + /** + * Optional. The maximum percentage of total units in the scope that can be in-flight. Example: + * 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most + * restrictive). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Decimal maxConcurrentOperationsPercent; + + /** + * Optional. An absolute cap on concurrent units operations. If both percent and count are + * provided, the system uses the MINIMUM (most restrictive). + * @return value or {@code null} for none + */ + public java.lang.Integer getMaxConcurrentOperationsCount() { + return maxConcurrentOperationsCount; + } + + /** + * Optional. An absolute cap on concurrent units operations. If both percent and count are + * provided, the system uses the MINIMUM (most restrictive). + * @param maxConcurrentOperationsCount maxConcurrentOperationsCount or {@code null} for none + */ + public UnitUpdatePacing setMaxConcurrentOperationsCount(java.lang.Integer maxConcurrentOperationsCount) { + this.maxConcurrentOperationsCount = maxConcurrentOperationsCount; + return this; + } + + /** + * Optional. The maximum percentage of total units in the scope that can be in-flight. Example: + * 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most + * restrictive). + * @return value or {@code null} for none + */ + public Decimal getMaxConcurrentOperationsPercent() { + return maxConcurrentOperationsPercent; + } + + /** + * Optional. The maximum percentage of total units in the scope that can be in-flight. Example: + * 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most + * restrictive). + * @param maxConcurrentOperationsPercent maxConcurrentOperationsPercent or {@code null} for none + */ + public UnitUpdatePacing setMaxConcurrentOperationsPercent(Decimal maxConcurrentOperationsPercent) { + this.maxConcurrentOperationsPercent = maxConcurrentOperationsPercent; + return this; + } + + @Override + public UnitUpdatePacing set(String fieldName, Object value) { + return (UnitUpdatePacing) super.set(fieldName, value); + } + + @Override + public UnitUpdatePacing clone() { + return (UnitUpdatePacing) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/pom.xml b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/pom.xml index 292e81714fc..387db6faa12 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@