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: com.google.apis google-api-services-saasservicemgmt - v1-rev20260526-2.0.0 + v1-rev20260603-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20260526-2.0.0' + implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20260603-2.0.0' } ``` diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/Decimal.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/Decimal.java new file mode 100644 index 00000000000..064e59c31d9 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/Decimal.java @@ -0,0 +1,154 @@ +/* + * 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; + +/** + * A representation of a decimal value, such as 2.5. Clients may convert values into language-native + * decimal formats, such as Java's [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/j + * ava.base/java/math/BigDecimal.html) or Python's + * [decimal.Decimal](https://docs.python.org/3/library/decimal.html). + * + *

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.List releases; - - /** - * Required. A mapping between Tiers and UnitKinds that are part of this SaasRelease. While Tiers - * are defined as top-level resources, the mapping between Tiers and Unit Kinds is defined per - * SaasRelease. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List tierMappings; - /** * Output only. The unique identifier of the resource. UID is unique in the time and space for * this resource within the scope of the service. It is typically generated by the server on @@ -207,44 +191,6 @@ public SaasRelease setName(java.lang.String name) { return this; } - /** - * Required. The Releases that are assigned to this SaasRelease. - * @return value or {@code null} for none - */ - public java.util.List getReleases() { - return releases; - } - - /** - * Required. The Releases that are assigned to this SaasRelease. - * @param releases releases or {@code null} for none - */ - public SaasRelease setReleases(java.util.List releases) { - this.releases = releases; - return this; - } - - /** - * Required. A mapping between Tiers and UnitKinds that are part of this SaasRelease. While Tiers - * are defined as top-level resources, the mapping between Tiers and Unit Kinds is defined per - * SaasRelease. - * @return value or {@code null} for none - */ - public java.util.List getTierMappings() { - return tierMappings; - } - - /** - * Required. A mapping between Tiers and UnitKinds that are part of this SaasRelease. While Tiers - * are defined as top-level resources, the mapping between Tiers and Unit Kinds is defined per - * SaasRelease. - * @param tierMappings tierMappings or {@code null} for none - */ - public SaasRelease setTierMappings(java.util.List tierMappings) { - this.tierMappings = tierMappings; - return this; - } - /** * Output only. The unique identifier of the resource. UID is unique in the time and space for * this resource within the scope of the service. It is typically generated by the server on diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierMapping.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierMapping.java deleted file mode 100644 index c225999479b..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierMapping.java +++ /dev/null @@ -1,88 +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; - -/** - * TierMapping describes the mapping between a Tier and its associated UnitKinds. - * - *

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 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.List unitKinds; - - /** - * Required. The tier. - * @return value or {@code null} for none - */ - public java.lang.String getTier() { - return tier; - } - - /** - * Required. The tier. - * @param tier tier or {@code null} for none - */ - public TierMapping setTier(java.lang.String tier) { - this.tier = tier; - return this; - } - - /** - * @return value or {@code null} for none - */ - public java.util.List getUnitKinds() { - return unitKinds; - } - - /** - * @param unitKinds unitKinds or {@code null} for none - */ - public TierMapping setUnitKinds(java.util.List unitKinds) { - this.unitKinds = unitKinds; - return this; - } - - @Override - public TierMapping set(String fieldName, Object value) { - return (TierMapping) super.set(fieldName, value); - } - - @Override - public TierMapping clone() { - return (TierMapping) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierUnitKind.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierUnitKind.java deleted file mode 100644 index 0a6e7eeaed7..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierUnitKind.java +++ /dev/null @@ -1,91 +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; - -/** - * A description of a single Unit Kind that is part of a Tier. - * - *

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 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.List inputVariables; - - /** - * Required. Immutable. The unique identifier of the UnitKind. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String unitKind; - - /** - * Optional. Output only. Input variables for the UnitKind. - * @return value or {@code null} for none - */ - public java.util.List getInputVariables() { - return inputVariables; - } - - /** - * Optional. Output only. Input variables for the UnitKind. - * @param inputVariables inputVariables or {@code null} for none - */ - public TierUnitKind setInputVariables(java.util.List inputVariables) { - this.inputVariables = inputVariables; - return this; - } - - /** - * Required. Immutable. The unique identifier of the UnitKind. - * @return value or {@code null} for none - */ - public java.lang.String getUnitKind() { - return unitKind; - } - - /** - * Required. Immutable. The unique identifier of the UnitKind. - * @param unitKind unitKind or {@code null} for none - */ - public TierUnitKind setUnitKind(java.lang.String unitKind) { - this.unitKind = unitKind; - return this; - } - - @Override - public TierUnitKind set(String fieldName, Object value) { - return (TierUnitKind) super.set(fieldName, value); - } - - @Override - public TierUnitKind clone() { - return (TierUnitKind) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroup.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroup.java index 187f3899b6c..a5874b9bf90 100644 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroup.java +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroup.java @@ -73,27 +73,6 @@ public final class UnitGroup extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String name; - /** - * Required. Immutable. The SaaS that this UnitGroup is created for. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String saas; - - /** - * Required. Immutable. Current SaasRelease that the UnitGroup is provisioned with. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String saasRelease; - - /** - * Optional. Output only. State of the UnitGroup. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String state; - /** * Output only. The unique identifier of the resource. UID is unique in the time and space for * this resource within the scope of the service. It is typically generated by the server on @@ -212,57 +191,6 @@ public UnitGroup setName(java.lang.String name) { return this; } - /** - * Required. Immutable. The SaaS that this UnitGroup is created for. - * @return value or {@code null} for none - */ - public java.lang.String getSaas() { - return saas; - } - - /** - * Required. Immutable. The SaaS that this UnitGroup is created for. - * @param saas saas or {@code null} for none - */ - public UnitGroup setSaas(java.lang.String saas) { - this.saas = saas; - return this; - } - - /** - * Required. Immutable. Current SaasRelease that the UnitGroup is provisioned with. - * @return value or {@code null} for none - */ - public java.lang.String getSaasRelease() { - return saasRelease; - } - - /** - * Required. Immutable. Current SaasRelease that the UnitGroup is provisioned with. - * @param saasRelease saasRelease or {@code null} for none - */ - public UnitGroup setSaasRelease(java.lang.String saasRelease) { - this.saasRelease = saasRelease; - return this; - } - - /** - * Optional. Output only. State of the UnitGroup. - * @return value or {@code null} for none - */ - public java.lang.String getState() { - return state; - } - - /** - * Optional. Output only. State of the UnitGroup. - * @param state state or {@code null} for none - */ - public UnitGroup setState(java.lang.String state) { - this.state = state; - return this; - } - /** * Output only. The unique identifier of the resource. UID is unique in the time and space for * this resource within the scope of the service. It is typically generated by the server on diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroupOperation.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroupOperation.java index 06ae8b71992..80377c03caa 100644 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroupOperation.java +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroupOperation.java @@ -47,20 +47,6 @@ public final class UnitGroupOperation extends com.google.api.client.json.Generic @com.google.api.client.util.Key private String createTime; - /** - * Optional. Represents a deprovision operation on a UnitGroup. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private DeprovisionUnitGroup deprovisionUnitGroup; - - /** - * Optional. Represents a detach operation on a UnitGroup. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private DetachUnitGroup detachUnitGroup; - /** * Output only. An opaque value that uniquely identifies a version or generation of a resource. It * can be used to confirm that the client and server agree on the ordering of a resource being @@ -86,20 +72,6 @@ public final class UnitGroupOperation extends com.google.api.client.json.Generic @com.google.api.client.util.Key private java.lang.String name; - /** - * Optional. Represents a provision operation on a UnitGroup. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private ProvisionUnitGroup provisionUnitGroup; - - /** - * Optional. Tier represents the tier level of the UnitGroupOperation. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String tier; - /** * Output only. The unique identifier of the resource. UID is unique in the time and space for * this resource within the scope of the service. It is typically generated by the server on @@ -159,40 +131,6 @@ public UnitGroupOperation setCreateTime(String createTime) { return this; } - /** - * Optional. Represents a deprovision operation on a UnitGroup. - * @return value or {@code null} for none - */ - public DeprovisionUnitGroup getDeprovisionUnitGroup() { - return deprovisionUnitGroup; - } - - /** - * Optional. Represents a deprovision operation on a UnitGroup. - * @param deprovisionUnitGroup deprovisionUnitGroup or {@code null} for none - */ - public UnitGroupOperation setDeprovisionUnitGroup(DeprovisionUnitGroup deprovisionUnitGroup) { - this.deprovisionUnitGroup = deprovisionUnitGroup; - return this; - } - - /** - * Optional. Represents a detach operation on a UnitGroup. - * @return value or {@code null} for none - */ - public DetachUnitGroup getDetachUnitGroup() { - return detachUnitGroup; - } - - /** - * Optional. Represents a detach operation on a UnitGroup. - * @param detachUnitGroup detachUnitGroup or {@code null} for none - */ - public UnitGroupOperation setDetachUnitGroup(DetachUnitGroup detachUnitGroup) { - this.detachUnitGroup = detachUnitGroup; - return this; - } - /** * Output only. An opaque value that uniquely identifies a version or generation of a resource. It * can be used to confirm that the client and server agree on the ordering of a resource being @@ -252,40 +190,6 @@ public UnitGroupOperation setName(java.lang.String name) { return this; } - /** - * Optional. Represents a provision operation on a UnitGroup. - * @return value or {@code null} for none - */ - public ProvisionUnitGroup getProvisionUnitGroup() { - return provisionUnitGroup; - } - - /** - * Optional. Represents a provision operation on a UnitGroup. - * @param provisionUnitGroup provisionUnitGroup or {@code null} for none - */ - public UnitGroupOperation setProvisionUnitGroup(ProvisionUnitGroup provisionUnitGroup) { - this.provisionUnitGroup = provisionUnitGroup; - return this; - } - - /** - * Optional. Tier represents the tier level of the UnitGroupOperation. - * @return value or {@code null} for none - */ - public java.lang.String getTier() { - return tier; - } - - /** - * Optional. Tier represents the tier level of the UnitGroupOperation. - * @param tier tier or {@code null} for none - */ - public UnitGroupOperation setTier(java.lang.String tier) { - this.tier = tier; - return this; - } - /** * Output only. The unique identifier of the resource. UID is unique in the time and space for * this resource within the scope of the service. It is typically generated by the server on diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitUpdatePacing.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitUpdatePacing.java new file mode 100644 index 00000000000..f136423b61f --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitUpdatePacing.java @@ -0,0 +1,101 @@ +/* + * 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; + +/** + * UnitUpdatePacing defines the policy for the maximum number of unit operations that can run for a + * rollout in parallel in a single region. + * + *

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 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 @@ com.google.apis google-api-services-saasservicemgmt - v1-rev20260526-2.0.0 - App Lifecycle Manager API v1-rev20260526-2.0.0 + v1-rev20260603-2.0.0 + App Lifecycle Manager API v1-rev20260603-2.0.0 jar 2011 diff --git a/clients/google-api-services-saasservicemgmt/v1/README.md b/clients/google-api-services-saasservicemgmt/v1/README.md index e94ad3c0cce..62ad6481046 100644 --- a/clients/google-api-services-saasservicemgmt/v1/README.md +++ b/clients/google-api-services-saasservicemgmt/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-saasservicemgmt - v1-rev20260526-2.0.0 + v1-rev20260603-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20260526-2.0.0' + implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20260603-2.0.0' } ``` diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/README.md b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/README.md index c9eff38012c..a6f8c477269 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-saasservicemgmt - v1beta1-rev20260526-2.0.0 + v1beta1-rev20260603-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20260526-2.0.0' + implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20260603-2.0.0' } ``` diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Decimal.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Decimal.java new file mode 100644 index 00000000000..8384e35c2a8 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Decimal.java @@ -0,0 +1,154 @@ +/* + * 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; + +/** + * A representation of a decimal value, such as 2.5. Clients may convert values into language-native + * decimal formats, such as Java's [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/j + * ava.base/java/math/BigDecimal.html) or Python's + * [decimal.Decimal](https://docs.python.org/3/library/decimal.html). + * + *

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.List attributes; - /** - * Optional. The ID of an allocation to use as the default. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String defaultAllocation; - /** * Optional. Deprecated: Use `base_target` instead. Default variant or allocation of the flag. * The value may be {@code null}. @@ -65,13 +58,6 @@ public final class EvaluationSpec extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String defaultTarget; - /** - * Optional. The name of a variant to use as the default. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String defaultVariant; - /** * Optional. Evaluation rules define the logic for evaluating the flag against a given context. * The rules are evaluated sequentially in their specified order. @@ -129,23 +115,6 @@ public EvaluationSpec setAttributes(java.util.List attributes) return this; } - /** - * Optional. The ID of an allocation to use as the default. - * @return value or {@code null} for none - */ - public java.lang.String getDefaultAllocation() { - return defaultAllocation; - } - - /** - * Optional. The ID of an allocation to use as the default. - * @param defaultAllocation defaultAllocation or {@code null} for none - */ - public EvaluationSpec setDefaultAllocation(java.lang.String defaultAllocation) { - this.defaultAllocation = defaultAllocation; - return this; - } - /** * Optional. Deprecated: Use `base_target` instead. Default variant or allocation of the flag. * @return value or {@code null} for none @@ -163,23 +132,6 @@ public EvaluationSpec setDefaultTarget(java.lang.String defaultTarget) { return this; } - /** - * Optional. The name of a variant to use as the default. - * @return value or {@code null} for none - */ - public java.lang.String getDefaultVariant() { - return defaultVariant; - } - - /** - * Optional. The name of a variant to use as the default. - * @param defaultVariant defaultVariant or {@code null} for none - */ - public EvaluationSpec setDefaultVariant(java.lang.String defaultVariant) { - this.defaultVariant = defaultVariant; - return this; - } - /** * Optional. Evaluation rules define the logic for evaluating the flag against a given context. * The rules are evaluated sequentially in their specified order. diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ProvisionUnitGroup.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ProvisionUnitGroup.java deleted file mode 100644 index e03eb85a91f..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/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.v1beta1.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/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.List releases; - - /** - * Required. A mapping between Tiers and UnitKinds that are part of this SaasRelease. While Tiers - * are defined as top-level resources, the mapping between Tiers and Unit Kinds is defined per - * SaasRelease. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List tierMappings; - /** * Output only. The unique identifier of the resource. UID is unique in the time and space for * this resource within the scope of the service. It is typically generated by the server on @@ -207,44 +191,6 @@ public SaasRelease setName(java.lang.String name) { return this; } - /** - * Required. The Releases that are assigned to this SaasRelease. - * @return value or {@code null} for none - */ - public java.util.List getReleases() { - return releases; - } - - /** - * Required. The Releases that are assigned to this SaasRelease. - * @param releases releases or {@code null} for none - */ - public SaasRelease setReleases(java.util.List releases) { - this.releases = releases; - return this; - } - - /** - * Required. A mapping between Tiers and UnitKinds that are part of this SaasRelease. While Tiers - * are defined as top-level resources, the mapping between Tiers and Unit Kinds is defined per - * SaasRelease. - * @return value or {@code null} for none - */ - public java.util.List getTierMappings() { - return tierMappings; - } - - /** - * Required. A mapping between Tiers and UnitKinds that are part of this SaasRelease. While Tiers - * are defined as top-level resources, the mapping between Tiers and Unit Kinds is defined per - * SaasRelease. - * @param tierMappings tierMappings or {@code null} for none - */ - public SaasRelease setTierMappings(java.util.List tierMappings) { - this.tierMappings = tierMappings; - return this; - } - /** * Output only. The unique identifier of the resource. UID is unique in the time and space for * this resource within the scope of the service. It is typically generated by the server on diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierMapping.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierMapping.java deleted file mode 100644 index cd220f9f229..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierMapping.java +++ /dev/null @@ -1,88 +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; - -/** - * TierMapping describes the mapping between a Tier and its associated UnitKinds. - * - *

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 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.List unitKinds; - - /** - * Required. The tier. - * @return value or {@code null} for none - */ - public java.lang.String getTier() { - return tier; - } - - /** - * Required. The tier. - * @param tier tier or {@code null} for none - */ - public TierMapping setTier(java.lang.String tier) { - this.tier = tier; - return this; - } - - /** - * @return value or {@code null} for none - */ - public java.util.List getUnitKinds() { - return unitKinds; - } - - /** - * @param unitKinds unitKinds or {@code null} for none - */ - public TierMapping setUnitKinds(java.util.List unitKinds) { - this.unitKinds = unitKinds; - return this; - } - - @Override - public TierMapping set(String fieldName, Object value) { - return (TierMapping) super.set(fieldName, value); - } - - @Override - public TierMapping clone() { - return (TierMapping) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierUnitKind.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierUnitKind.java deleted file mode 100644 index 600bf506f29..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierUnitKind.java +++ /dev/null @@ -1,91 +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; - -/** - * A description of a single Unit Kind that is part of a Tier. - * - *

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 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.List inputVariables; - - /** - * Required. Immutable. The unique identifier of the UnitKind. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String unitKind; - - /** - * Optional. Output only. Input variables for the UnitKind. - * @return value or {@code null} for none - */ - public java.util.List getInputVariables() { - return inputVariables; - } - - /** - * Optional. Output only. Input variables for the UnitKind. - * @param inputVariables inputVariables or {@code null} for none - */ - public TierUnitKind setInputVariables(java.util.List inputVariables) { - this.inputVariables = inputVariables; - return this; - } - - /** - * Required. Immutable. The unique identifier of the UnitKind. - * @return value or {@code null} for none - */ - public java.lang.String getUnitKind() { - return unitKind; - } - - /** - * Required. Immutable. The unique identifier of the UnitKind. - * @param unitKind unitKind or {@code null} for none - */ - public TierUnitKind setUnitKind(java.lang.String unitKind) { - this.unitKind = unitKind; - return this; - } - - @Override - public TierUnitKind set(String fieldName, Object value) { - return (TierUnitKind) super.set(fieldName, value); - } - - @Override - public TierUnitKind clone() { - return (TierUnitKind) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroup.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroup.java index b89f45b83a0..4958eb81a33 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroup.java +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroup.java @@ -73,27 +73,6 @@ public final class UnitGroup extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String name; - /** - * Required. Immutable. The SaaS that this UnitGroup is created for. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String saas; - - /** - * Required. Immutable. Current SaasRelease that the UnitGroup is provisioned with. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String saasRelease; - - /** - * Optional. Output only. State of the UnitGroup. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String state; - /** * Output only. The unique identifier of the resource. UID is unique in the time and space for * this resource within the scope of the service. It is typically generated by the server on @@ -212,57 +191,6 @@ public UnitGroup setName(java.lang.String name) { return this; } - /** - * Required. Immutable. The SaaS that this UnitGroup is created for. - * @return value or {@code null} for none - */ - public java.lang.String getSaas() { - return saas; - } - - /** - * Required. Immutable. The SaaS that this UnitGroup is created for. - * @param saas saas or {@code null} for none - */ - public UnitGroup setSaas(java.lang.String saas) { - this.saas = saas; - return this; - } - - /** - * Required. Immutable. Current SaasRelease that the UnitGroup is provisioned with. - * @return value or {@code null} for none - */ - public java.lang.String getSaasRelease() { - return saasRelease; - } - - /** - * Required. Immutable. Current SaasRelease that the UnitGroup is provisioned with. - * @param saasRelease saasRelease or {@code null} for none - */ - public UnitGroup setSaasRelease(java.lang.String saasRelease) { - this.saasRelease = saasRelease; - return this; - } - - /** - * Optional. Output only. State of the UnitGroup. - * @return value or {@code null} for none - */ - public java.lang.String getState() { - return state; - } - - /** - * Optional. Output only. State of the UnitGroup. - * @param state state or {@code null} for none - */ - public UnitGroup setState(java.lang.String state) { - this.state = state; - return this; - } - /** * Output only. The unique identifier of the resource. UID is unique in the time and space for * this resource within the scope of the service. It is typically generated by the server on diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroupOperation.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroupOperation.java index 443035eac09..4e91b554702 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroupOperation.java +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroupOperation.java @@ -47,20 +47,6 @@ public final class UnitGroupOperation extends com.google.api.client.json.Generic @com.google.api.client.util.Key private String createTime; - /** - * Optional. Represents a deprovision operation on a UnitGroup. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private DeprovisionUnitGroup deprovisionUnitGroup; - - /** - * Optional. Represents a detach operation on a UnitGroup. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private DetachUnitGroup detachUnitGroup; - /** * Output only. An opaque value that uniquely identifies a version or generation of a resource. It * can be used to confirm that the client and server agree on the ordering of a resource being @@ -86,20 +72,6 @@ public final class UnitGroupOperation extends com.google.api.client.json.Generic @com.google.api.client.util.Key private java.lang.String name; - /** - * Optional. Represents a provision operation on a UnitGroup. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private ProvisionUnitGroup provisionUnitGroup; - - /** - * Optional. Tier represents the tier level of the UnitGroupOperation. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String tier; - /** * Output only. The unique identifier of the resource. UID is unique in the time and space for * this resource within the scope of the service. It is typically generated by the server on @@ -159,40 +131,6 @@ public UnitGroupOperation setCreateTime(String createTime) { return this; } - /** - * Optional. Represents a deprovision operation on a UnitGroup. - * @return value or {@code null} for none - */ - public DeprovisionUnitGroup getDeprovisionUnitGroup() { - return deprovisionUnitGroup; - } - - /** - * Optional. Represents a deprovision operation on a UnitGroup. - * @param deprovisionUnitGroup deprovisionUnitGroup or {@code null} for none - */ - public UnitGroupOperation setDeprovisionUnitGroup(DeprovisionUnitGroup deprovisionUnitGroup) { - this.deprovisionUnitGroup = deprovisionUnitGroup; - return this; - } - - /** - * Optional. Represents a detach operation on a UnitGroup. - * @return value or {@code null} for none - */ - public DetachUnitGroup getDetachUnitGroup() { - return detachUnitGroup; - } - - /** - * Optional. Represents a detach operation on a UnitGroup. - * @param detachUnitGroup detachUnitGroup or {@code null} for none - */ - public UnitGroupOperation setDetachUnitGroup(DetachUnitGroup detachUnitGroup) { - this.detachUnitGroup = detachUnitGroup; - return this; - } - /** * Output only. An opaque value that uniquely identifies a version or generation of a resource. It * can be used to confirm that the client and server agree on the ordering of a resource being @@ -252,40 +190,6 @@ public UnitGroupOperation setName(java.lang.String name) { return this; } - /** - * Optional. Represents a provision operation on a UnitGroup. - * @return value or {@code null} for none - */ - public ProvisionUnitGroup getProvisionUnitGroup() { - return provisionUnitGroup; - } - - /** - * Optional. Represents a provision operation on a UnitGroup. - * @param provisionUnitGroup provisionUnitGroup or {@code null} for none - */ - public UnitGroupOperation setProvisionUnitGroup(ProvisionUnitGroup provisionUnitGroup) { - this.provisionUnitGroup = provisionUnitGroup; - return this; - } - - /** - * Optional. Tier represents the tier level of the UnitGroupOperation. - * @return value or {@code null} for none - */ - public java.lang.String getTier() { - return tier; - } - - /** - * Optional. Tier represents the tier level of the UnitGroupOperation. - * @param tier tier or {@code null} for none - */ - public UnitGroupOperation setTier(java.lang.String tier) { - this.tier = tier; - return this; - } - /** * Output only. The unique identifier of the resource. UID is unique in the time and space for * this resource within the scope of the service. It is typically generated by the server on diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitUpdatePacing.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitUpdatePacing.java new file mode 100644 index 00000000000..3e8c0b378bb --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitUpdatePacing.java @@ -0,0 +1,101 @@ +/* + * 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; + +/** + * UnitUpdatePacing defines the policy for the maximum number of unit operations that can run for a + * rollout in parallel in a single region. + * + *

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 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 @@ com.google.apis google-api-services-saasservicemgmt - v1beta1-rev20260526-2.0.0 - App Lifecycle Manager API v1beta1-rev20260526-2.0.0 + v1beta1-rev20260603-2.0.0 + App Lifecycle Manager API v1beta1-rev20260603-2.0.0 jar 2011 diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/README.md b/clients/google-api-services-saasservicemgmt/v1beta1/README.md index c9eff38012c..a6f8c477269 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/README.md +++ b/clients/google-api-services-saasservicemgmt/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-saasservicemgmt - v1beta1-rev20260526-2.0.0 + v1beta1-rev20260603-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20260526-2.0.0' + implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20260603-2.0.0' } ```