Skip to content

Commit 888489c

Browse files
1 parent e426884 commit 888489c

File tree

14 files changed

+1006
-12
lines changed

14 files changed

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

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

0 commit comments

Comments
 (0)