Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-saasservicemgmt</artifactId>
<version>v1-rev20260526-2.0.0</version>
<version>v1-rev20260603-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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).
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading