Skip to content

Commit 22dacda

Browse files
1 parent 357fd21 commit 22dacda

File tree

20 files changed

+434
-42
lines changed

20 files changed

+434
-42
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-rev20250130-2.0.0</version>
25+
<version>v1-rev20250218-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-rev20250130-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20250218-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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+
* Aspect represents Generic aspect. It is used to configure an aspect without making direct changes
21+
* to service.proto
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Service Usage API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class Aspect extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The type of this aspect configuration.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String kind;
39+
40+
/**
41+
* Content of the configuration. The underlying schema should be defined by Aspect owners as
42+
* protobuf message under `apiserving/configaspects/proto`.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.Map<String, java.lang.Object> spec;
47+
48+
/**
49+
* The type of this aspect configuration.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.String getKind() {
53+
return kind;
54+
}
55+
56+
/**
57+
* The type of this aspect configuration.
58+
* @param kind kind or {@code null} for none
59+
*/
60+
public Aspect setKind(java.lang.String kind) {
61+
this.kind = kind;
62+
return this;
63+
}
64+
65+
/**
66+
* Content of the configuration. The underlying schema should be defined by Aspect owners as
67+
* protobuf message under `apiserving/configaspects/proto`.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.util.Map<String, java.lang.Object> getSpec() {
71+
return spec;
72+
}
73+
74+
/**
75+
* Content of the configuration. The underlying schema should be defined by Aspect owners as
76+
* protobuf message under `apiserving/configaspects/proto`.
77+
* @param spec spec or {@code null} for none
78+
*/
79+
public Aspect setSpec(java.util.Map<String, java.lang.Object> spec) {
80+
this.spec = spec;
81+
return this;
82+
}
83+
84+
@Override
85+
public Aspect set(String fieldName, Object value) {
86+
return (Aspect) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public Aspect clone() {
91+
return (Aspect) super.clone();
92+
}
93+
94+
}

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ public final class BackendRule extends com.google.api.client.json.GenericJson {
6666
@com.google.api.client.util.Key
6767
private java.lang.String jwtAudience;
6868

69+
/**
70+
* The load balancing policy used for connection to the application backend. Defined as an
71+
* arbitrary string to accomondate custom load balancing policies supported by the underlying
72+
* channel, but suggest most users use one of the standard policies, such as the default,
73+
* "RoundRobin".
74+
* The value may be {@code null}.
75+
*/
76+
@com.google.api.client.util.Key
77+
private java.lang.String loadBalancingPolicy;
78+
6979
/**
7080
* Deprecated, do not use.
7181
* The value may be {@code null}.
@@ -200,6 +210,29 @@ public BackendRule setJwtAudience(java.lang.String jwtAudience) {
200210
return this;
201211
}
202212

213+
/**
214+
* The load balancing policy used for connection to the application backend. Defined as an
215+
* arbitrary string to accomondate custom load balancing policies supported by the underlying
216+
* channel, but suggest most users use one of the standard policies, such as the default,
217+
* "RoundRobin".
218+
* @return value or {@code null} for none
219+
*/
220+
public java.lang.String getLoadBalancingPolicy() {
221+
return loadBalancingPolicy;
222+
}
223+
224+
/**
225+
* The load balancing policy used for connection to the application backend. Defined as an
226+
* arbitrary string to accomondate custom load balancing policies supported by the underlying
227+
* channel, but suggest most users use one of the standard policies, such as the default,
228+
* "RoundRobin".
229+
* @param loadBalancingPolicy loadBalancingPolicy or {@code null} for none
230+
*/
231+
public BackendRule setLoadBalancingPolicy(java.lang.String loadBalancingPolicy) {
232+
this.loadBalancingPolicy = loadBalancingPolicy;
233+
return this;
234+
}
235+
203236
/**
204237
* Deprecated, do not use.
205238
* @return value or {@code null} for none

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ public final class Documentation extends com.google.api.client.json.GenericJson
9090
private java.util.List<DocumentationRule> rules;
9191

9292
/**
93-
* Specifies section and content to override boilerplate content provided by go/api-docgen.
94-
* Currently overrides following sections: 1. rest.service.client_libraries
93+
* Specifies section and content to override the boilerplate content. Currently overrides
94+
* following sections: 1. rest.service.client_libraries
9595
* The value may be {@code null}.
9696
*/
9797
@com.google.api.client.util.Key
@@ -211,17 +211,17 @@ public Documentation setRules(java.util.List<DocumentationRule> rules) {
211211
}
212212

213213
/**
214-
* Specifies section and content to override boilerplate content provided by go/api-docgen.
215-
* Currently overrides following sections: 1. rest.service.client_libraries
214+
* Specifies section and content to override the boilerplate content. Currently overrides
215+
* following sections: 1. rest.service.client_libraries
216216
* @return value or {@code null} for none
217217
*/
218218
public java.util.List<Page> getSectionOverrides() {
219219
return sectionOverrides;
220220
}
221221

222222
/**
223-
* Specifies section and content to override boilerplate content provided by go/api-docgen.
224-
* Currently overrides following sections: 1. rest.service.client_libraries
223+
* Specifies section and content to override the boilerplate content. Currently overrides
224+
* following sections: 1. rest.service.client_libraries
225225
* @param sectionOverrides sectionOverrides or {@code null} for none
226226
*/
227227
public Documentation setSectionOverrides(java.util.List<Page> sectionOverrides) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public final class DocumentationRule extends com.google.api.client.json.GenericJ
4848

4949
/**
5050
* String of comma or space separated case-sensitive words for which method/field name replacement
51-
* will be disabled by go/api-docgen.
51+
* will be disabled.
5252
* The value may be {@code null}.
5353
*/
5454
@com.google.api.client.util.Key
@@ -107,7 +107,7 @@ public DocumentationRule setDescription(java.lang.String description) {
107107

108108
/**
109109
* String of comma or space separated case-sensitive words for which method/field name replacement
110-
* will be disabled by go/api-docgen.
110+
* will be disabled.
111111
* @return value or {@code null} for none
112112
*/
113113
public java.lang.String getDisableReplacementWords() {
@@ -116,7 +116,7 @@ public java.lang.String getDisableReplacementWords() {
116116

117117
/**
118118
* String of comma or space separated case-sensitive words for which method/field name replacement
119-
* will be disabled by go/api-docgen.
119+
* will be disabled.
120120
* @param disableReplacementWords disableReplacementWords or {@code null} for none
121121
*/
122122
public DocumentationRule setDisableReplacementWords(java.lang.String disableReplacementWords) {

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ public final class ExperimentalFeatures extends com.google.api.client.json.Gener
4848
@com.google.api.client.util.Key
4949
private java.lang.Boolean restAsyncIoEnabled;
5050

51+
/**
52+
* Disables generation of an unversioned Python package for this client library. This means that
53+
* the module names will need to be versioned in import statements. For example `import
54+
* google.cloud.library_v2` instead of `import google.cloud.library`.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.Boolean unversionedPackageDisabled;
59+
5160
/**
5261
* Enables generation of protobuf code using new types that are more Pythonic which are included
5362
* in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the
@@ -90,6 +99,27 @@ public ExperimentalFeatures setRestAsyncIoEnabled(java.lang.Boolean restAsyncIoE
9099
return this;
91100
}
92101

102+
/**
103+
* Disables generation of an unversioned Python package for this client library. This means that
104+
* the module names will need to be versioned in import statements. For example `import
105+
* google.cloud.library_v2` instead of `import google.cloud.library`.
106+
* @return value or {@code null} for none
107+
*/
108+
public java.lang.Boolean getUnversionedPackageDisabled() {
109+
return unversionedPackageDisabled;
110+
}
111+
112+
/**
113+
* Disables generation of an unversioned Python package for this client library. This means that
114+
* the module names will need to be versioned in import statements. For example `import
115+
* google.cloud.library_v2` instead of `import google.cloud.library`.
116+
* @param unversionedPackageDisabled unversionedPackageDisabled or {@code null} for none
117+
*/
118+
public ExperimentalFeatures setUnversionedPackageDisabled(java.lang.Boolean unversionedPackageDisabled) {
119+
this.unversionedPackageDisabled = unversionedPackageDisabled;
120+
return this;
121+
}
122+
93123
@Override
94124
public ExperimentalFeatures set(String fieldName, Object value) {
95125
return (ExperimentalFeatures) super.set(fieldName, value);

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,22 @@ public final class GoogleApiService extends com.google.api.client.json.GenericJs
5555
com.google.api.client.util.Data.nullOf(Api.class);
5656
}
5757

58+
/**
59+
* Configuration aspects. This is a repeated field to allow multiple aspects to be configured. The
60+
* kind field in each ConfigAspect specifies the type of aspect. The spec field contains the
61+
* configuration for that aspect. The schema for the spec field is defined by the backend service
62+
* owners.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.util.List<Aspect> aspects;
67+
68+
static {
69+
// hack to force ProGuard to consider Aspect used, since otherwise it would be stripped out
70+
// see https://github.com/google/google-api-java-client/issues/543
71+
com.google.api.client.util.Data.nullOf(Aspect.class);
72+
}
73+
5874
/**
5975
* Auth configuration.
6076
* The value may be {@code null}.
@@ -296,6 +312,29 @@ public GoogleApiService setApis(java.util.List<Api> apis) {
296312
return this;
297313
}
298314

315+
/**
316+
* Configuration aspects. This is a repeated field to allow multiple aspects to be configured. The
317+
* kind field in each ConfigAspect specifies the type of aspect. The spec field contains the
318+
* configuration for that aspect. The schema for the spec field is defined by the backend service
319+
* owners.
320+
* @return value or {@code null} for none
321+
*/
322+
public java.util.List<Aspect> getAspects() {
323+
return aspects;
324+
}
325+
326+
/**
327+
* Configuration aspects. This is a repeated field to allow multiple aspects to be configured. The
328+
* kind field in each ConfigAspect specifies the type of aspect. The spec field contains the
329+
* configuration for that aspect. The schema for the spec field is defined by the backend service
330+
* owners.
331+
* @param aspects aspects or {@code null} for none
332+
*/
333+
public GoogleApiService setAspects(java.util.List<Aspect> aspects) {
334+
this.aspects = aspects;
335+
return this;
336+
}
337+
299338
/**
300339
* Auth configuration.
301340
* @return value or {@code null} for none

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public final class GoogleApiServiceusageV2betaAnalysis extends com.google.api.cl
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
37-
private GoogleApiServiceusageV2betaAnalysisResult analysis;
37+
private GoogleApiServiceusageV2betaAnalysisResult analysisResult;
3838

3939
/**
4040
* Output only. The type of analysis.
@@ -63,16 +63,16 @@ public final class GoogleApiServiceusageV2betaAnalysis extends com.google.api.cl
6363
* Output only. Analysis result of updating a policy.
6464
* @return value or {@code null} for none
6565
*/
66-
public GoogleApiServiceusageV2betaAnalysisResult getAnalysis() {
67-
return analysis;
66+
public GoogleApiServiceusageV2betaAnalysisResult getAnalysisResult() {
67+
return analysisResult;
6868
}
6969

7070
/**
7171
* Output only. Analysis result of updating a policy.
72-
* @param analysis analysis or {@code null} for none
72+
* @param analysisResult analysisResult or {@code null} for none
7373
*/
74-
public GoogleApiServiceusageV2betaAnalysis setAnalysis(GoogleApiServiceusageV2betaAnalysisResult analysis) {
75-
this.analysis = analysis;
74+
public GoogleApiServiceusageV2betaAnalysis setAnalysisResult(GoogleApiServiceusageV2betaAnalysisResult analysisResult) {
75+
this.analysisResult = analysisResult;
7676
return this;
7777
}
7878

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-rev20250130-2.0.0</version>
12-
<name>Service Usage API v1-rev20250130-2.0.0</name>
11+
<version>v1-rev20250218-2.0.0</version>
12+
<name>Service Usage API v1-rev20250218-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-rev20250130-2.0.0</version>
25+
<version>v1-rev20250218-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-rev20250130-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20250218-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)