Skip to content

Commit 6e6bed4

Browse files
1 parent cd1110c commit 6e6bed4

File tree

9 files changed

+214
-60
lines changed

9 files changed

+214
-60
lines changed

clients/google-api-services-serviceusage/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-serviceusage</artifactId>
25-
<version>v1-rev20250919-2.0.0</version>
25+
<version>v1-rev20251021-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-serviceusage:v1-rev20250919-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20251021-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/ServiceUsage.java

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,40 @@ public List setPageToken(java.lang.String pageToken) {
736736
return this;
737737
}
738738

739+
/**
740+
* When set to `true`, operations that are reachable are returned as normal, and those that
741+
* are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can
742+
* only be `true` when reading across collections e.g. when `parent` is set to
743+
* `"projects/example/locations/-"`. This field is not by default supported and will result in
744+
* an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or
745+
* product specific documentation.
746+
*/
747+
@com.google.api.client.util.Key
748+
private java.lang.Boolean returnPartialSuccess;
749+
750+
/** When set to `true`, operations that are reachable are returned as normal, and those that are
751+
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
752+
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
753+
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
754+
explicitly documented otherwise in service or product specific documentation.
755+
*/
756+
public java.lang.Boolean getReturnPartialSuccess() {
757+
return returnPartialSuccess;
758+
}
759+
760+
/**
761+
* When set to `true`, operations that are reachable are returned as normal, and those that
762+
* are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can
763+
* only be `true` when reading across collections e.g. when `parent` is set to
764+
* `"projects/example/locations/-"`. This field is not by default supported and will result in
765+
* an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or
766+
* product specific documentation.
767+
*/
768+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
769+
this.returnPartialSuccess = returnPartialSuccess;
770+
return this;
771+
}
772+
739773
@Override
740774
public List set(String parameterName, Object value) {
741775
return (List) super.set(parameterName, value);
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
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.serviceusage.v1.model;
18+
19+
/**
20+
* Content Security Policy contains the content security related policy of a resource.
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 Usage 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 ContentSecurityPolicy extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* mcp_content_security contains the content security related settings at resource level for MCP
34+
* traffic.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private ContentSecurity mcpContentSecurity;
39+
40+
/**
41+
* Output only. The resource name of the policy. Only the `default` policy is supported. We allow
42+
* the following formats: `projects/{PROJECT_NUMBER}/contentSecurityPolicies/default`,
43+
* `projects/{PROJECT_ID}/contentSecurityPolicies/default`, We only support project level content
44+
* security policy for now.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String name;
49+
50+
/**
51+
* mcp_content_security contains the content security related settings at resource level for MCP
52+
* traffic.
53+
* @return value or {@code null} for none
54+
*/
55+
public ContentSecurity getMcpContentSecurity() {
56+
return mcpContentSecurity;
57+
}
58+
59+
/**
60+
* mcp_content_security contains the content security related settings at resource level for MCP
61+
* traffic.
62+
* @param mcpContentSecurity mcpContentSecurity or {@code null} for none
63+
*/
64+
public ContentSecurityPolicy setMcpContentSecurity(ContentSecurity mcpContentSecurity) {
65+
this.mcpContentSecurity = mcpContentSecurity;
66+
return this;
67+
}
68+
69+
/**
70+
* Output only. The resource name of the policy. Only the `default` policy is supported. We allow
71+
* the following formats: `projects/{PROJECT_NUMBER}/contentSecurityPolicies/default`,
72+
* `projects/{PROJECT_ID}/contentSecurityPolicies/default`, We only support project level content
73+
* security policy for now.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.String getName() {
77+
return name;
78+
}
79+
80+
/**
81+
* Output only. The resource name of the policy. Only the `default` policy is supported. We allow
82+
* the following formats: `projects/{PROJECT_NUMBER}/contentSecurityPolicies/default`,
83+
* `projects/{PROJECT_ID}/contentSecurityPolicies/default`, We only support project level content
84+
* security policy for now.
85+
* @param name name or {@code null} for none
86+
*/
87+
public ContentSecurityPolicy setName(java.lang.String name) {
88+
this.name = name;
89+
return this;
90+
}
91+
92+
@Override
93+
public ContentSecurityPolicy set(String fieldName, Object value) {
94+
return (ContentSecurityPolicy) super.set(fieldName, value);
95+
}
96+
97+
@Override
98+
public ContentSecurityPolicy clone() {
99+
return (ContentSecurityPolicy) super.clone();
100+
}
101+
102+
}

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/model/GoogleApiServiceusageV2betaConsumerPolicy.java

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,6 @@
3030
@SuppressWarnings("javadoc")
3131
public final class GoogleApiServiceusageV2betaConsumerPolicy extends com.google.api.client.json.GenericJson {
3232

33-
/**
34-
* Optional. Annotations is an unstructured key-value map stored with a policy that may be set by
35-
* external tools to store and retrieve arbitrary metadata. They are not queryable and should be
36-
* preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)
37-
* The value may be {@code null}.
38-
*/
39-
@com.google.api.client.util.Key
40-
private java.util.Map<String, java.lang.String> annotations;
41-
4233
/**
4334
* Output only. The time the policy was created. For singleton policies, this is the first touch
4435
* of the policy.
@@ -78,27 +69,6 @@ public final class GoogleApiServiceusageV2betaConsumerPolicy extends com.google.
7869
@com.google.api.client.util.Key
7970
private String updateTime;
8071

81-
/**
82-
* Optional. Annotations is an unstructured key-value map stored with a policy that may be set by
83-
* external tools to store and retrieve arbitrary metadata. They are not queryable and should be
84-
* preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)
85-
* @return value or {@code null} for none
86-
*/
87-
public java.util.Map<String, java.lang.String> getAnnotations() {
88-
return annotations;
89-
}
90-
91-
/**
92-
* Optional. Annotations is an unstructured key-value map stored with a policy that may be set by
93-
* external tools to store and retrieve arbitrary metadata. They are not queryable and should be
94-
* preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)
95-
* @param annotations annotations or {@code null} for none
96-
*/
97-
public GoogleApiServiceusageV2betaConsumerPolicy setAnnotations(java.util.Map<String, java.lang.String> annotations) {
98-
this.annotations = annotations;
99-
return this;
100-
}
101-
10272
/**
10373
* Output only. The time the policy was created. For singleton policies, this is the first touch
10474
* of the policy.

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/model/ListOperationsResponse.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ public final class ListOperationsResponse extends com.google.api.client.json.Gen
4343
@com.google.api.client.util.Key
4444
private java.util.List<Operation> operations;
4545

46+
/**
47+
* Unordered list. Unreachable resources. Populated when the request sets
48+
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
49+
* attempting to list all resources across all supported locations.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.util.List<java.lang.String> unreachable;
54+
4655
/**
4756
* The standard List next-page token.
4857
* @return value or {@code null} for none
@@ -77,6 +86,27 @@ public ListOperationsResponse setOperations(java.util.List<Operation> operations
7786
return this;
7887
}
7988

89+
/**
90+
* Unordered list. Unreachable resources. Populated when the request sets
91+
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
92+
* attempting to list all resources across all supported locations.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.util.List<java.lang.String> getUnreachable() {
96+
return unreachable;
97+
}
98+
99+
/**
100+
* Unordered list. Unreachable resources. Populated when the request sets
101+
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
102+
* attempting to list all resources across all supported locations.
103+
* @param unreachable unreachable or {@code null} for none
104+
*/
105+
public ListOperationsResponse setUnreachable(java.util.List<java.lang.String> unreachable) {
106+
this.unreachable = unreachable;
107+
return this;
108+
}
109+
80110
@Override
81111
public ListOperationsResponse set(String fieldName, Object value) {
82112
return (ListOperationsResponse) super.set(fieldName, value);

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/model/McpPolicy.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@
3030
@SuppressWarnings("javadoc")
3131
public final class McpPolicy extends com.google.api.client.json.GenericJson {
3232

33-
/**
34-
* ContentSecurity contains the content security related fields of a MCP policy.
35-
* The value may be {@code null}.
36-
*/
37-
@com.google.api.client.util.Key
38-
private ContentSecurity contentSecurity;
39-
4033
/**
4134
* Output only. The time the policy was created. For singleton policies (such as the `default`
4235
* policy), this is the first touch of the policy.
@@ -82,23 +75,6 @@ public final class McpPolicy extends com.google.api.client.json.GenericJson {
8275
@com.google.api.client.util.Key
8376
private String updateTime;
8477

85-
/**
86-
* ContentSecurity contains the content security related fields of a MCP policy.
87-
* @return value or {@code null} for none
88-
*/
89-
public ContentSecurity getContentSecurity() {
90-
return contentSecurity;
91-
}
92-
93-
/**
94-
* ContentSecurity contains the content security related fields of a MCP policy.
95-
* @param contentSecurity contentSecurity or {@code null} for none
96-
*/
97-
public McpPolicy setContentSecurity(ContentSecurity contentSecurity) {
98-
this.contentSecurity = contentSecurity;
99-
return this;
100-
}
101-
10278
/**
10379
* Output only. The time the policy was created. For singleton policies (such as the `default`
10480
* policy), this is the first touch of the policy.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.serviceusage.v1.model;
18+
19+
/**
20+
* Metadata for the `UpdateContentSecurityPolicy` method.
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 Usage 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 UpdateContentSecurityPolicyMetadata extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public UpdateContentSecurityPolicyMetadata set(String fieldName, Object value) {
34+
return (UpdateContentSecurityPolicyMetadata) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public UpdateContentSecurityPolicyMetadata clone() {
39+
return (UpdateContentSecurityPolicyMetadata) super.clone();
40+
}
41+
42+
}

clients/google-api-services-serviceusage/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-serviceusage</artifactId>
11-
<version>v1-rev20250919-2.0.0</version>
12-
<name>Service Usage API v1-rev20250919-2.0.0</name>
11+
<version>v1-rev20251021-2.0.0</version>
12+
<name>Service Usage API v1-rev20251021-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-serviceusage/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-serviceusage</artifactId>
25-
<version>v1-rev20250919-2.0.0</version>
25+
<version>v1-rev20251021-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-serviceusage:v1-rev20250919-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20251021-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)