Skip to content

Commit b65ed3f

Browse files
1 parent e9a05a1 commit b65ed3f

File tree

8 files changed

+233
-15
lines changed

8 files changed

+233
-15
lines changed

clients/google-api-services-servicecontrol/v2/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-servicecontrol</artifactId>
25-
<version>v2-rev20250425-2.0.0</version>
25+
<version>v2-rev20250820-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-servicecontrol:v2-rev20250425-2.0.0'
38+
implementation 'com.google.apis:google-api-services-servicecontrol:v2-rev20250820-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-servicecontrol/v2/2.0.0/com/google/api/services/servicecontrol/v2/ServiceControl.java

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,9 @@ public Check set(String parameterName, Object value) {
315315
* Infrastructure](https://cloud.google.com/service-infrastructure). It reports a list of operations
316316
* that have occurred on a service. It must be called after the operations have been executed. For
317317
* more information, see [Telemetry Reporting](https://cloud.google.com/service-
318-
* infrastructure/docs/telemetry-reporting). NOTE: The telemetry reporting has a hard limit of 1000
319-
* operations and 1MB per Report call. It is recommended to have no more than 100 operations per
320-
* call. This method requires the `servicemanagement.services.report` permission on the specified
321-
* service. For more information, see [Service Control API Access
318+
* infrastructure/docs/telemetry-reporting). NOTE: The telemetry reporting has a hard limit of 100
319+
* operations and 1MB per Report call. This method requires the `servicemanagement.services.report`
320+
* permission on the specified service. For more information, see [Service Control API Access
322321
* Control](https://cloud.google.com/service-infrastructure/docs/service-control/access-control).
323322
*
324323
* Create a request for the method "services.report".
@@ -348,11 +347,11 @@ public class Report extends ServiceControlRequest<com.google.api.services.servic
348347
* Infrastructure](https://cloud.google.com/service-infrastructure). It reports a list of
349348
* operations that have occurred on a service. It must be called after the operations have been
350349
* executed. For more information, see [Telemetry Reporting](https://cloud.google.com/service-
351-
* infrastructure/docs/telemetry-reporting). NOTE: The telemetry reporting has a hard limit of
352-
* 1000 operations and 1MB per Report call. It is recommended to have no more than 100 operations
353-
* per call. This method requires the `servicemanagement.services.report` permission on the
354-
* specified service. For more information, see [Service Control API Access
355-
* Control](https://cloud.google.com/service-infrastructure/docs/service-control/access-control).
350+
* infrastructure/docs/telemetry-reporting). NOTE: The telemetry reporting has a hard limit of 100
351+
* operations and 1MB per Report call. This method requires the
352+
* `servicemanagement.services.report` permission on the specified service. For more information,
353+
* see [Service Control API Access Control](https://cloud.google.com/service-
354+
* infrastructure/docs/service-control/access-control).
356355
*
357356
* Create a request for the method "services.report".
358357
*

clients/google-api-services-servicecontrol/v2/2.0.0/com/google/api/services/servicecontrol/v2/model/Auth.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ public final class Auth extends com.google.api.client.json.GenericJson {
6767
@com.google.api.client.util.Key
6868
private java.util.Map<String, java.lang.Object> claims;
6969

70+
/**
71+
* Attributes of the OAuth token associated with the request.
72+
* The value may be {@code null}.
73+
*/
74+
@com.google.api.client.util.Key
75+
private Oauth oauth;
76+
7077
/**
7178
* The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`)
7279
* claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks
@@ -169,6 +176,23 @@ public Auth setClaims(java.util.Map<String, java.lang.Object> claims) {
169176
return this;
170177
}
171178

179+
/**
180+
* Attributes of the OAuth token associated with the request.
181+
* @return value or {@code null} for none
182+
*/
183+
public Oauth getOauth() {
184+
return oauth;
185+
}
186+
187+
/**
188+
* Attributes of the OAuth token associated with the request.
189+
* @param oauth oauth or {@code null} for none
190+
*/
191+
public Auth setOauth(Oauth oauth) {
192+
this.oauth = oauth;
193+
return this;
194+
}
195+
172196
/**
173197
* The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`)
174198
* claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks

clients/google-api-services-servicecontrol/v2/2.0.0/com/google/api/services/servicecontrol/v2/model/AuthenticationInfo.java

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,23 @@ public final class AuthenticationInfo extends com.google.api.client.json.Generic
3737
@com.google.api.client.util.Key
3838
private java.lang.String authoritySelector;
3939

40+
/**
41+
* Converted from "identity_cloudgaia.AuditLoggableShortLivedCredential" proto. This message will
42+
* be used by security, detection and response team. For context please refer to go/cg:short-
43+
* lived-credential-logging. When the JSON object represented here has a proto equivalent, the
44+
* proto name will be indicated in the `@type` property.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.util.Map<String, java.lang.Object> loggableShortLivedCredential;
49+
50+
/**
51+
* OAuth authentication information such as the OAuth client ID.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private OAuthInfo oauthInfo;
56+
4057
/**
4158
* The email address of the authenticated user (or service account on behalf of third party
4259
* principal) making the request. For third party identity callers, the `principal_subject` field
@@ -110,6 +127,46 @@ public AuthenticationInfo setAuthoritySelector(java.lang.String authoritySelecto
110127
return this;
111128
}
112129

130+
/**
131+
* Converted from "identity_cloudgaia.AuditLoggableShortLivedCredential" proto. This message will
132+
* be used by security, detection and response team. For context please refer to go/cg:short-
133+
* lived-credential-logging. When the JSON object represented here has a proto equivalent, the
134+
* proto name will be indicated in the `@type` property.
135+
* @return value or {@code null} for none
136+
*/
137+
public java.util.Map<String, java.lang.Object> getLoggableShortLivedCredential() {
138+
return loggableShortLivedCredential;
139+
}
140+
141+
/**
142+
* Converted from "identity_cloudgaia.AuditLoggableShortLivedCredential" proto. This message will
143+
* be used by security, detection and response team. For context please refer to go/cg:short-
144+
* lived-credential-logging. When the JSON object represented here has a proto equivalent, the
145+
* proto name will be indicated in the `@type` property.
146+
* @param loggableShortLivedCredential loggableShortLivedCredential or {@code null} for none
147+
*/
148+
public AuthenticationInfo setLoggableShortLivedCredential(java.util.Map<String, java.lang.Object> loggableShortLivedCredential) {
149+
this.loggableShortLivedCredential = loggableShortLivedCredential;
150+
return this;
151+
}
152+
153+
/**
154+
* OAuth authentication information such as the OAuth client ID.
155+
* @return value or {@code null} for none
156+
*/
157+
public OAuthInfo getOauthInfo() {
158+
return oauthInfo;
159+
}
160+
161+
/**
162+
* OAuth authentication information such as the OAuth client ID.
163+
* @param oauthInfo oauthInfo or {@code null} for none
164+
*/
165+
public AuthenticationInfo setOauthInfo(OAuthInfo oauthInfo) {
166+
this.oauthInfo = oauthInfo;
167+
return this;
168+
}
169+
113170
/**
114171
* The email address of the authenticated user (or service account on behalf of third party
115172
* principal) making the request. For third party identity callers, the `principal_subject` field
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.servicecontrol.v2.model;
18+
19+
/**
20+
* OAuth related information about the request.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Service Control API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class OAuthInfo extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The OAuth client ID of the 1P or 3P application acting on behalf of the user.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String oauthClientId;
38+
39+
/**
40+
* The OAuth client ID of the 1P or 3P application acting on behalf of the user.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getOauthClientId() {
44+
return oauthClientId;
45+
}
46+
47+
/**
48+
* The OAuth client ID of the 1P or 3P application acting on behalf of the user.
49+
* @param oauthClientId oauthClientId or {@code null} for none
50+
*/
51+
public OAuthInfo setOauthClientId(java.lang.String oauthClientId) {
52+
this.oauthClientId = oauthClientId;
53+
return this;
54+
}
55+
56+
@Override
57+
public OAuthInfo set(String fieldName, Object value) {
58+
return (OAuthInfo) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public OAuthInfo clone() {
63+
return (OAuthInfo) super.clone();
64+
}
65+
66+
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.servicecontrol.v2.model;
18+
19+
/**
20+
* This message defines attributes associated with OAuth credentials.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Service Control API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class Oauth extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The optional OAuth client ID. This is the unique public identifier issued by an authorization
34+
* server to a registered client application. Empty string is equivalent to no oauth client id.
35+
* WARNING: This is for MCP tools/call and tools/list authorization and not for general use.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String clientId;
40+
41+
/**
42+
* The optional OAuth client ID. This is the unique public identifier issued by an authorization
43+
* server to a registered client application. Empty string is equivalent to no oauth client id.
44+
* WARNING: This is for MCP tools/call and tools/list authorization and not for general use.
45+
* @return value or {@code null} for none
46+
*/
47+
public java.lang.String getClientId() {
48+
return clientId;
49+
}
50+
51+
/**
52+
* The optional OAuth client ID. This is the unique public identifier issued by an authorization
53+
* server to a registered client application. Empty string is equivalent to no oauth client id.
54+
* WARNING: This is for MCP tools/call and tools/list authorization and not for general use.
55+
* @param clientId clientId or {@code null} for none
56+
*/
57+
public Oauth setClientId(java.lang.String clientId) {
58+
this.clientId = clientId;
59+
return this;
60+
}
61+
62+
@Override
63+
public Oauth set(String fieldName, Object value) {
64+
return (Oauth) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public Oauth clone() {
69+
return (Oauth) super.clone();
70+
}
71+
72+
}

clients/google-api-services-servicecontrol/v2/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-servicecontrol</artifactId>
11-
<version>v2-rev20250425-2.0.0</version>
12-
<name>Service Control API v2-rev20250425-2.0.0</name>
11+
<version>v2-rev20250820-2.0.0</version>
12+
<name>Service Control API v2-rev20250820-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-servicecontrol/v2/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-servicecontrol</artifactId>
25-
<version>v2-rev20250425-2.0.0</version>
25+
<version>v2-rev20250820-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-servicecontrol:v2-rev20250425-2.0.0'
38+
implementation 'com.google.apis:google-api-services-servicecontrol:v2-rev20250820-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)