Skip to content

Commit 6cdffbc

Browse files
chore: regenerate serviceconsumermanagement client (#27175)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent 157f725 commit 6cdffbc

File tree

14 files changed

+1012
-12
lines changed

14 files changed

+1012
-12
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-rev20250511-2.0.0</version>
25+
<version>v1-rev20250515-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-rev20250511-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1-rev20250515-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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+
* `BatchingConfigProto` defines the batching configuration for an API 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 Consumer Management API. For a detailed
24+
* 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 BatchingConfigProto extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The request and response fields used in batching.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private BatchingDescriptorProto batchDescriptor;
39+
40+
/**
41+
* The thresholds which trigger a batched request to be sent.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private BatchingSettingsProto thresholds;
46+
47+
/**
48+
* The request and response fields used in batching.
49+
* @return value or {@code null} for none
50+
*/
51+
public BatchingDescriptorProto getBatchDescriptor() {
52+
return batchDescriptor;
53+
}
54+
55+
/**
56+
* The request and response fields used in batching.
57+
* @param batchDescriptor batchDescriptor or {@code null} for none
58+
*/
59+
public BatchingConfigProto setBatchDescriptor(BatchingDescriptorProto batchDescriptor) {
60+
this.batchDescriptor = batchDescriptor;
61+
return this;
62+
}
63+
64+
/**
65+
* The thresholds which trigger a batched request to be sent.
66+
* @return value or {@code null} for none
67+
*/
68+
public BatchingSettingsProto getThresholds() {
69+
return thresholds;
70+
}
71+
72+
/**
73+
* The thresholds which trigger a batched request to be sent.
74+
* @param thresholds thresholds or {@code null} for none
75+
*/
76+
public BatchingConfigProto setThresholds(BatchingSettingsProto thresholds) {
77+
this.thresholds = thresholds;
78+
return this;
79+
}
80+
81+
@Override
82+
public BatchingConfigProto set(String fieldName, Object value) {
83+
return (BatchingConfigProto) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public BatchingConfigProto clone() {
88+
return (BatchingConfigProto) super.clone();
89+
}
90+
91+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
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+
* `BatchingDescriptorProto` specifies the fields of the request message to be used for batching,
21+
* and, optionally, the fields of the response message to be used for demultiplexing.
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 BatchingDescriptorProto extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* The repeated field in the request message to be aggregated by batching.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String batchedField;
40+
41+
/**
42+
* A list of the fields in the request message. Two requests will be batched together only if the
43+
* values of every field specified in `request_discriminator_fields` is equal between the two
44+
* requests.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.util.List<java.lang.String> discriminatorFields;
49+
50+
/**
51+
* Optional. When present, indicates the field in the response message to be used to demultiplex
52+
* the response into multiple response messages, in correspondence with the multiple request
53+
* messages originally batched together.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.lang.String subresponseField;
58+
59+
/**
60+
* The repeated field in the request message to be aggregated by batching.
61+
* @return value or {@code null} for none
62+
*/
63+
public java.lang.String getBatchedField() {
64+
return batchedField;
65+
}
66+
67+
/**
68+
* The repeated field in the request message to be aggregated by batching.
69+
* @param batchedField batchedField or {@code null} for none
70+
*/
71+
public BatchingDescriptorProto setBatchedField(java.lang.String batchedField) {
72+
this.batchedField = batchedField;
73+
return this;
74+
}
75+
76+
/**
77+
* A list of the fields in the request message. Two requests will be batched together only if the
78+
* values of every field specified in `request_discriminator_fields` is equal between the two
79+
* requests.
80+
* @return value or {@code null} for none
81+
*/
82+
public java.util.List<java.lang.String> getDiscriminatorFields() {
83+
return discriminatorFields;
84+
}
85+
86+
/**
87+
* A list of the fields in the request message. Two requests will be batched together only if the
88+
* values of every field specified in `request_discriminator_fields` is equal between the two
89+
* requests.
90+
* @param discriminatorFields discriminatorFields or {@code null} for none
91+
*/
92+
public BatchingDescriptorProto setDiscriminatorFields(java.util.List<java.lang.String> discriminatorFields) {
93+
this.discriminatorFields = discriminatorFields;
94+
return this;
95+
}
96+
97+
/**
98+
* Optional. When present, indicates the field in the response message to be used to demultiplex
99+
* the response into multiple response messages, in correspondence with the multiple request
100+
* messages originally batched together.
101+
* @return value or {@code null} for none
102+
*/
103+
public java.lang.String getSubresponseField() {
104+
return subresponseField;
105+
}
106+
107+
/**
108+
* Optional. When present, indicates the field in the response message to be used to demultiplex
109+
* the response into multiple response messages, in correspondence with the multiple request
110+
* messages originally batched together.
111+
* @param subresponseField subresponseField or {@code null} for none
112+
*/
113+
public BatchingDescriptorProto setSubresponseField(java.lang.String subresponseField) {
114+
this.subresponseField = subresponseField;
115+
return this;
116+
}
117+
118+
@Override
119+
public BatchingDescriptorProto set(String fieldName, Object value) {
120+
return (BatchingDescriptorProto) super.set(fieldName, value);
121+
}
122+
123+
@Override
124+
public BatchingDescriptorProto clone() {
125+
return (BatchingDescriptorProto) super.clone();
126+
}
127+
128+
}

0 commit comments

Comments
 (0)