Skip to content

Commit 90f4158

Browse files
1 parent 6080307 commit 90f4158

26 files changed

+3462
-6
lines changed

clients/google-api-services-cloudbilling/v1beta/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-cloudbilling</artifactId>
25-
<version>v1beta-rev20250711-2.0.0</version>
25+
<version>v1beta-rev20260320-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-cloudbilling:v1beta-rev20250711-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudbilling:v1beta-rev20260320-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-cloudbilling/v1beta/2.0.0/com/google/api/services/cloudbilling/v1beta/Cloudbilling.java

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3156,6 +3156,130 @@ public List set(String parameterName, Object value) {
31563156
}
31573157
}
31583158

3159+
/**
3160+
* An accessor for creating requests from the V1beta collection.
3161+
*
3162+
* <p>The typical use is:</p>
3163+
* <pre>
3164+
* {@code Cloudbilling cloudbilling = new Cloudbilling(...);}
3165+
* {@code Cloudbilling.V1beta.List request = cloudbilling.v1beta().list(parameters ...)}
3166+
* </pre>
3167+
*
3168+
* @return the resource collection
3169+
*/
3170+
public V1beta v1beta() {
3171+
return new V1beta();
3172+
}
3173+
3174+
/**
3175+
* The "v1beta" collection of methods.
3176+
*/
3177+
public class V1beta {
3178+
3179+
/**
3180+
* Analyzes cost data for a billing account and/or specific projects. Returns a natural language
3181+
* summary and supporting datasets.
3182+
*
3183+
* Create a request for the method "v1beta.generateInsights".
3184+
*
3185+
* This request holds the parameters needed by the cloudbilling server. After setting any optional
3186+
* parameters, call the {@link GenerateInsights#execute()} method to invoke the remote operation.
3187+
*
3188+
* @param content the {@link com.google.api.services.cloudbilling.v1beta.model.GenerateInsightsRequest}
3189+
* @return the request
3190+
*/
3191+
public GenerateInsights generateInsights(com.google.api.services.cloudbilling.v1beta.model.GenerateInsightsRequest content) throws java.io.IOException {
3192+
GenerateInsights result = new GenerateInsights(content);
3193+
initialize(result);
3194+
return result;
3195+
}
3196+
3197+
public class GenerateInsights extends CloudbillingRequest<com.google.api.services.cloudbilling.v1beta.model.GenerateInsightsResponse> {
3198+
3199+
private static final String REST_PATH = "v1beta:generateInsights";
3200+
3201+
/**
3202+
* Analyzes cost data for a billing account and/or specific projects. Returns a natural language
3203+
* summary and supporting datasets.
3204+
*
3205+
* Create a request for the method "v1beta.generateInsights".
3206+
*
3207+
* This request holds the parameters needed by the the cloudbilling server. After setting any
3208+
* optional parameters, call the {@link GenerateInsights#execute()} method to invoke the remote
3209+
* operation. <p> {@link GenerateInsights#initialize(com.google.api.client.googleapis.services.Abs
3210+
* tractGoogleClientRequest)} must be called to initialize this instance immediately after
3211+
* invoking the constructor. </p>
3212+
*
3213+
* @param content the {@link com.google.api.services.cloudbilling.v1beta.model.GenerateInsightsRequest}
3214+
* @since 1.13
3215+
*/
3216+
protected GenerateInsights(com.google.api.services.cloudbilling.v1beta.model.GenerateInsightsRequest content) {
3217+
super(Cloudbilling.this, "POST", REST_PATH, content, com.google.api.services.cloudbilling.v1beta.model.GenerateInsightsResponse.class);
3218+
}
3219+
3220+
@Override
3221+
public GenerateInsights set$Xgafv(java.lang.String $Xgafv) {
3222+
return (GenerateInsights) super.set$Xgafv($Xgafv);
3223+
}
3224+
3225+
@Override
3226+
public GenerateInsights setAccessToken(java.lang.String accessToken) {
3227+
return (GenerateInsights) super.setAccessToken(accessToken);
3228+
}
3229+
3230+
@Override
3231+
public GenerateInsights setAlt(java.lang.String alt) {
3232+
return (GenerateInsights) super.setAlt(alt);
3233+
}
3234+
3235+
@Override
3236+
public GenerateInsights setCallback(java.lang.String callback) {
3237+
return (GenerateInsights) super.setCallback(callback);
3238+
}
3239+
3240+
@Override
3241+
public GenerateInsights setFields(java.lang.String fields) {
3242+
return (GenerateInsights) super.setFields(fields);
3243+
}
3244+
3245+
@Override
3246+
public GenerateInsights setKey(java.lang.String key) {
3247+
return (GenerateInsights) super.setKey(key);
3248+
}
3249+
3250+
@Override
3251+
public GenerateInsights setOauthToken(java.lang.String oauthToken) {
3252+
return (GenerateInsights) super.setOauthToken(oauthToken);
3253+
}
3254+
3255+
@Override
3256+
public GenerateInsights setPrettyPrint(java.lang.Boolean prettyPrint) {
3257+
return (GenerateInsights) super.setPrettyPrint(prettyPrint);
3258+
}
3259+
3260+
@Override
3261+
public GenerateInsights setQuotaUser(java.lang.String quotaUser) {
3262+
return (GenerateInsights) super.setQuotaUser(quotaUser);
3263+
}
3264+
3265+
@Override
3266+
public GenerateInsights setUploadType(java.lang.String uploadType) {
3267+
return (GenerateInsights) super.setUploadType(uploadType);
3268+
}
3269+
3270+
@Override
3271+
public GenerateInsights setUploadProtocol(java.lang.String uploadProtocol) {
3272+
return (GenerateInsights) super.setUploadProtocol(uploadProtocol);
3273+
}
3274+
3275+
@Override
3276+
public GenerateInsights set(String parameterName, Object value) {
3277+
return (GenerateInsights) super.set(parameterName, value);
3278+
}
3279+
}
3280+
3281+
}
3282+
31593283
/**
31603284
* Builder for {@link Cloudbilling}.
31613285
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,212 @@
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.cloudbilling.v1beta.model;
18+
19+
/**
20+
* A local representation of the query used to fetch the data. This is used instead of the raw
21+
* QueryBillingDataRequest to avoid pulling in Cloud Policy Enforcement (CPE) resource_type
22+
* annotations into the response payload, which causes ESF validation failures.
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Cloud Billing API. For a detailed 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 AgenticQueryInfo extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* The columns queried.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String columns;
40+
41+
/**
42+
* The filter applied to the query.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String filter;
47+
48+
/**
49+
* The group-by clause applied to the query.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String groupBy;
54+
55+
/**
56+
* The row limit applied to the query.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.Integer limit;
61+
62+
/**
63+
* The order-by clause applied to the query.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private java.lang.String orderBy;
68+
69+
/**
70+
* The parents (e.g. projects, billing accounts) queried.
71+
* The value may be {@code null}.
72+
*/
73+
@com.google.api.client.util.Key
74+
private java.util.List<java.lang.String> parents;
75+
76+
/**
77+
* The view queried.
78+
* The value may be {@code null}.
79+
*/
80+
@com.google.api.client.util.Key
81+
private java.lang.String view;
82+
83+
/**
84+
* The columns queried.
85+
* @return value or {@code null} for none
86+
*/
87+
public java.lang.String getColumns() {
88+
return columns;
89+
}
90+
91+
/**
92+
* The columns queried.
93+
* @param columns columns or {@code null} for none
94+
*/
95+
public AgenticQueryInfo setColumns(java.lang.String columns) {
96+
this.columns = columns;
97+
return this;
98+
}
99+
100+
/**
101+
* The filter applied to the query.
102+
* @return value or {@code null} for none
103+
*/
104+
public java.lang.String getFilter() {
105+
return filter;
106+
}
107+
108+
/**
109+
* The filter applied to the query.
110+
* @param filter filter or {@code null} for none
111+
*/
112+
public AgenticQueryInfo setFilter(java.lang.String filter) {
113+
this.filter = filter;
114+
return this;
115+
}
116+
117+
/**
118+
* The group-by clause applied to the query.
119+
* @return value or {@code null} for none
120+
*/
121+
public java.lang.String getGroupBy() {
122+
return groupBy;
123+
}
124+
125+
/**
126+
* The group-by clause applied to the query.
127+
* @param groupBy groupBy or {@code null} for none
128+
*/
129+
public AgenticQueryInfo setGroupBy(java.lang.String groupBy) {
130+
this.groupBy = groupBy;
131+
return this;
132+
}
133+
134+
/**
135+
* The row limit applied to the query.
136+
* @return value or {@code null} for none
137+
*/
138+
public java.lang.Integer getLimit() {
139+
return limit;
140+
}
141+
142+
/**
143+
* The row limit applied to the query.
144+
* @param limit limit or {@code null} for none
145+
*/
146+
public AgenticQueryInfo setLimit(java.lang.Integer limit) {
147+
this.limit = limit;
148+
return this;
149+
}
150+
151+
/**
152+
* The order-by clause applied to the query.
153+
* @return value or {@code null} for none
154+
*/
155+
public java.lang.String getOrderBy() {
156+
return orderBy;
157+
}
158+
159+
/**
160+
* The order-by clause applied to the query.
161+
* @param orderBy orderBy or {@code null} for none
162+
*/
163+
public AgenticQueryInfo setOrderBy(java.lang.String orderBy) {
164+
this.orderBy = orderBy;
165+
return this;
166+
}
167+
168+
/**
169+
* The parents (e.g. projects, billing accounts) queried.
170+
* @return value or {@code null} for none
171+
*/
172+
public java.util.List<java.lang.String> getParents() {
173+
return parents;
174+
}
175+
176+
/**
177+
* The parents (e.g. projects, billing accounts) queried.
178+
* @param parents parents or {@code null} for none
179+
*/
180+
public AgenticQueryInfo setParents(java.util.List<java.lang.String> parents) {
181+
this.parents = parents;
182+
return this;
183+
}
184+
185+
/**
186+
* The view queried.
187+
* @return value or {@code null} for none
188+
*/
189+
public java.lang.String getView() {
190+
return view;
191+
}
192+
193+
/**
194+
* The view queried.
195+
* @param view view or {@code null} for none
196+
*/
197+
public AgenticQueryInfo setView(java.lang.String view) {
198+
this.view = view;
199+
return this;
200+
}
201+
202+
@Override
203+
public AgenticQueryInfo set(String fieldName, Object value) {
204+
return (AgenticQueryInfo) super.set(fieldName, value);
205+
}
206+
207+
@Override
208+
public AgenticQueryInfo clone() {
209+
return (AgenticQueryInfo) super.clone();
210+
}
211+
212+
}

0 commit comments

Comments
 (0)