Skip to content

Commit 75274fc

Browse files
1 parent b6a04a3 commit 75274fc

File tree

4 files changed

+30
-12
lines changed

4 files changed

+30
-12
lines changed

clients/google-api-services-sts/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-sts</artifactId>
25-
<version>v1-rev20250813-2.0.0</version>
25+
<version>v1-rev20250827-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-sts:v1-rev20250813-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sts:v1-rev20250827-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-sts/v1/2.0.0/com/google/api/services/sts/v1/model/GoogleIdentityStsV1ExchangeTokenRequest.java

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,12 @@ public final class GoogleIdentityStsV1ExchangeTokenRequest extends com.google.ap
144144
* this field to obtain an access token with new security attributes applied, such as a Credential
145145
* Access Boundary. In this case, set `subject_token_type` to `urn:ietf:params:oauth:token-
146146
* type:access_token`. If an access token already contains security attributes, you cannot apply
147-
* additional security attributes.
147+
* additional security attributes. If the request is for X.509 certificate-based authentication,
148+
* the `subject_token` must be a JSON-formatted list of X.509 certificates in DER format, as
149+
* defined in [RFC 7515](https://www.rfc-editor.org/rfc/rfc7515#section-4.1.6).
150+
* `subject_token_type` must be `urn:ietf:params:oauth:token-type:mtls`. The following example
151+
* shows a JSON-formatted list of X.509 certificate in DER format: ``` [\"MIIEYDCCA0i...\",
152+
* \"MCIFFGAGTT0...\"] ```
148153
* The value may be {@code null}.
149154
*/
150155
@com.google.api.client.util.Key
@@ -154,7 +159,8 @@ public final class GoogleIdentityStsV1ExchangeTokenRequest extends com.google.ap
154159
* Required. An identifier that indicates the type of the security token in the `subject_token`
155160
* parameter. Supported values are `urn:ietf:params:oauth:token-type:jwt`,
156161
* `urn:ietf:params:oauth:token-type:id_token`, `urn:ietf:params:aws:token-type:aws4_request`,
157-
* `urn:ietf:params:oauth:token-type:access_token`, and `urn:ietf:params:oauth:token-type:saml2`.
162+
* `urn:ietf:params:oauth:token-type:access_token`, `urn:ietf:params:oauth:token-type:mtls`, and
163+
* `urn:ietf:params:oauth:token-type:saml2`.
158164
* The value may be {@code null}.
159165
*/
160166
@com.google.api.client.util.Key
@@ -337,7 +343,12 @@ public GoogleIdentityStsV1ExchangeTokenRequest setScope(java.lang.String scope)
337343
* this field to obtain an access token with new security attributes applied, such as a Credential
338344
* Access Boundary. In this case, set `subject_token_type` to `urn:ietf:params:oauth:token-
339345
* type:access_token`. If an access token already contains security attributes, you cannot apply
340-
* additional security attributes.
346+
* additional security attributes. If the request is for X.509 certificate-based authentication,
347+
* the `subject_token` must be a JSON-formatted list of X.509 certificates in DER format, as
348+
* defined in [RFC 7515](https://www.rfc-editor.org/rfc/rfc7515#section-4.1.6).
349+
* `subject_token_type` must be `urn:ietf:params:oauth:token-type:mtls`. The following example
350+
* shows a JSON-formatted list of X.509 certificate in DER format: ``` [\"MIIEYDCCA0i...\",
351+
* \"MCIFFGAGTT0...\"] ```
341352
* @return value or {@code null} for none
342353
*/
343354
public java.lang.String getSubjectToken() {
@@ -410,7 +421,12 @@ public java.lang.String getSubjectToken() {
410421
* this field to obtain an access token with new security attributes applied, such as a Credential
411422
* Access Boundary. In this case, set `subject_token_type` to `urn:ietf:params:oauth:token-
412423
* type:access_token`. If an access token already contains security attributes, you cannot apply
413-
* additional security attributes.
424+
* additional security attributes. If the request is for X.509 certificate-based authentication,
425+
* the `subject_token` must be a JSON-formatted list of X.509 certificates in DER format, as
426+
* defined in [RFC 7515](https://www.rfc-editor.org/rfc/rfc7515#section-4.1.6).
427+
* `subject_token_type` must be `urn:ietf:params:oauth:token-type:mtls`. The following example
428+
* shows a JSON-formatted list of X.509 certificate in DER format: ``` [\"MIIEYDCCA0i...\",
429+
* \"MCIFFGAGTT0...\"] ```
414430
* @param subjectToken subjectToken or {@code null} for none
415431
*/
416432
public GoogleIdentityStsV1ExchangeTokenRequest setSubjectToken(java.lang.String subjectToken) {
@@ -422,7 +438,8 @@ public GoogleIdentityStsV1ExchangeTokenRequest setSubjectToken(java.lang.String
422438
* Required. An identifier that indicates the type of the security token in the `subject_token`
423439
* parameter. Supported values are `urn:ietf:params:oauth:token-type:jwt`,
424440
* `urn:ietf:params:oauth:token-type:id_token`, `urn:ietf:params:aws:token-type:aws4_request`,
425-
* `urn:ietf:params:oauth:token-type:access_token`, and `urn:ietf:params:oauth:token-type:saml2`.
441+
* `urn:ietf:params:oauth:token-type:access_token`, `urn:ietf:params:oauth:token-type:mtls`, and
442+
* `urn:ietf:params:oauth:token-type:saml2`.
426443
* @return value or {@code null} for none
427444
*/
428445
public java.lang.String getSubjectTokenType() {
@@ -433,7 +450,8 @@ public java.lang.String getSubjectTokenType() {
433450
* Required. An identifier that indicates the type of the security token in the `subject_token`
434451
* parameter. Supported values are `urn:ietf:params:oauth:token-type:jwt`,
435452
* `urn:ietf:params:oauth:token-type:id_token`, `urn:ietf:params:aws:token-type:aws4_request`,
436-
* `urn:ietf:params:oauth:token-type:access_token`, and `urn:ietf:params:oauth:token-type:saml2`.
453+
* `urn:ietf:params:oauth:token-type:access_token`, `urn:ietf:params:oauth:token-type:mtls`, and
454+
* `urn:ietf:params:oauth:token-type:saml2`.
437455
* @param subjectTokenType subjectTokenType or {@code null} for none
438456
*/
439457
public GoogleIdentityStsV1ExchangeTokenRequest setSubjectTokenType(java.lang.String subjectTokenType) {

clients/google-api-services-sts/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-sts</artifactId>
11-
<version>v1-rev20250813-2.0.0</version>
12-
<name>Security Token Service API v1-rev20250813-2.0.0</name>
11+
<version>v1-rev20250827-2.0.0</version>
12+
<name>Security Token Service API v1-rev20250827-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-sts/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-sts</artifactId>
25-
<version>v1-rev20250813-2.0.0</version>
25+
<version>v1-rev20250827-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-sts:v1-rev20250813-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sts:v1-rev20250827-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)