Skip to content

Commit 357fd21

Browse files
chore: regenerate serviceconsumermanagement client (googleapis#25905)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent 7e04602 commit 357fd21

File tree

18 files changed

+424
-30
lines changed

18 files changed

+424
-30
lines changed

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

clients/google-api-services-serviceconsumermanagement/v1/2.0.0/com/google/api/services/serviceconsumermanagement/v1/model/Service.java

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

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

334+
/**
335+
* Configuration aspects. This is a repeated field to allow multiple aspects to be configured. The
336+
* kind field in each ConfigAspect specifies the type of aspect. The spec field contains the
337+
* configuration for that aspect. The schema for the spec field is defined by the backend service
338+
* owners.
339+
* @return value or {@code null} for none
340+
*/
341+
public java.util.List<Aspect> getAspects() {
342+
return aspects;
343+
}
344+
345+
/**
346+
* Configuration aspects. This is a repeated field to allow multiple aspects to be configured. The
347+
* kind field in each ConfigAspect specifies the type of aspect. The spec field contains the
348+
* configuration for that aspect. The schema for the spec field is defined by the backend service
349+
* owners.
350+
* @param aspects aspects or {@code null} for none
351+
*/
352+
public Service setAspects(java.util.List<Aspect> aspects) {
353+
this.aspects = aspects;
354+
return this;
355+
}
356+
318357
/**
319358
* Auth configuration.
320359
* @return value or {@code null} for none

clients/google-api-services-serviceconsumermanagement/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-serviceconsumermanagement</artifactId>
11-
<version>v1-rev20250130-2.0.0</version>
12-
<name>Service Consumer Management API v1-rev20250130-2.0.0</name>
11+
<version>v1-rev20250218-2.0.0</version>
12+
<name>Service Consumer Management API v1-rev20250218-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

clients/google-api-services-serviceconsumermanagement/v1beta1/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-serviceconsumermanagement</artifactId>
25-
<version>v1beta1-rev20250130-2.0.0</version>
25+
<version>v1beta1-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-serviceconsumermanagement:v1beta1-rev20250130-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1beta1-rev20250218-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)