Skip to content

Commit 115391a

Browse files
1 parent 0037577 commit 115391a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+6
-5554
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-rev20241106-2.0.0</version>
25+
<version>v1beta-rev20250711-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-rev20241106-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudbilling:v1beta-rev20250711-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: 0 additions & 272 deletions
Original file line numberDiff line numberDiff line change
@@ -153,155 +153,6 @@ public BillingAccounts billingAccounts() {
153153
*/
154154
public class BillingAccounts {
155155

156-
/**
157-
* Use custom pricing in the estimate, using a `CostScenario` with a defined `billingAccount`.
158-
*
159-
* Create a request for the method "billingAccounts.estimateCostScenario".
160-
*
161-
* This request holds the parameters needed by the cloudbilling server. After setting any optional
162-
* parameters, call the {@link EstimateCostScenario#execute()} method to invoke the remote
163-
* operation.
164-
*
165-
* @param billingAccount Resource name of the billing account for the cost estimate. The resource name has the form
166-
* `billingAccounts/{billing_account_id}`. For example,
167-
* `billingAccounts/012345-567890-ABCDEF` is the resource name for billing account
168-
* `012345-567890-ABCDEF`. Must be specified.
169-
* @param content the {@link com.google.api.services.cloudbilling.v1beta.model.EstimateCostScenarioForBillingAccountRequest}
170-
* @return the request
171-
*/
172-
public EstimateCostScenario estimateCostScenario(java.lang.String billingAccount, com.google.api.services.cloudbilling.v1beta.model.EstimateCostScenarioForBillingAccountRequest content) throws java.io.IOException {
173-
EstimateCostScenario result = new EstimateCostScenario(billingAccount, content);
174-
initialize(result);
175-
return result;
176-
}
177-
178-
public class EstimateCostScenario extends CloudbillingRequest<com.google.api.services.cloudbilling.v1beta.model.EstimateCostScenarioForBillingAccountResponse> {
179-
180-
private static final String REST_PATH = "v1beta/{+billingAccount}:estimateCostScenario";
181-
182-
private final java.util.regex.Pattern BILLING_ACCOUNT_PATTERN =
183-
java.util.regex.Pattern.compile("^billingAccounts/[^/]+$");
184-
185-
/**
186-
* Use custom pricing in the estimate, using a `CostScenario` with a defined `billingAccount`.
187-
*
188-
* Create a request for the method "billingAccounts.estimateCostScenario".
189-
*
190-
* This request holds the parameters needed by the the cloudbilling server. After setting any
191-
* optional parameters, call the {@link EstimateCostScenario#execute()} method to invoke the
192-
* remote operation. <p> {@link EstimateCostScenario#initialize(com.google.api.client.googleapis.s
193-
* ervices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
194-
* after invoking the constructor. </p>
195-
*
196-
* @param billingAccount Resource name of the billing account for the cost estimate. The resource name has the form
197-
* `billingAccounts/{billing_account_id}`. For example,
198-
* `billingAccounts/012345-567890-ABCDEF` is the resource name for billing account
199-
* `012345-567890-ABCDEF`. Must be specified.
200-
* @param content the {@link com.google.api.services.cloudbilling.v1beta.model.EstimateCostScenarioForBillingAccountRequest}
201-
* @since 1.13
202-
*/
203-
protected EstimateCostScenario(java.lang.String billingAccount, com.google.api.services.cloudbilling.v1beta.model.EstimateCostScenarioForBillingAccountRequest content) {
204-
super(Cloudbilling.this, "POST", REST_PATH, content, com.google.api.services.cloudbilling.v1beta.model.EstimateCostScenarioForBillingAccountResponse.class);
205-
this.billingAccount = com.google.api.client.util.Preconditions.checkNotNull(billingAccount, "Required parameter billingAccount must be specified.");
206-
if (!getSuppressPatternChecks()) {
207-
com.google.api.client.util.Preconditions.checkArgument(BILLING_ACCOUNT_PATTERN.matcher(billingAccount).matches(),
208-
"Parameter billingAccount must conform to the pattern " +
209-
"^billingAccounts/[^/]+$");
210-
}
211-
}
212-
213-
@Override
214-
public EstimateCostScenario set$Xgafv(java.lang.String $Xgafv) {
215-
return (EstimateCostScenario) super.set$Xgafv($Xgafv);
216-
}
217-
218-
@Override
219-
public EstimateCostScenario setAccessToken(java.lang.String accessToken) {
220-
return (EstimateCostScenario) super.setAccessToken(accessToken);
221-
}
222-
223-
@Override
224-
public EstimateCostScenario setAlt(java.lang.String alt) {
225-
return (EstimateCostScenario) super.setAlt(alt);
226-
}
227-
228-
@Override
229-
public EstimateCostScenario setCallback(java.lang.String callback) {
230-
return (EstimateCostScenario) super.setCallback(callback);
231-
}
232-
233-
@Override
234-
public EstimateCostScenario setFields(java.lang.String fields) {
235-
return (EstimateCostScenario) super.setFields(fields);
236-
}
237-
238-
@Override
239-
public EstimateCostScenario setKey(java.lang.String key) {
240-
return (EstimateCostScenario) super.setKey(key);
241-
}
242-
243-
@Override
244-
public EstimateCostScenario setOauthToken(java.lang.String oauthToken) {
245-
return (EstimateCostScenario) super.setOauthToken(oauthToken);
246-
}
247-
248-
@Override
249-
public EstimateCostScenario setPrettyPrint(java.lang.Boolean prettyPrint) {
250-
return (EstimateCostScenario) super.setPrettyPrint(prettyPrint);
251-
}
252-
253-
@Override
254-
public EstimateCostScenario setQuotaUser(java.lang.String quotaUser) {
255-
return (EstimateCostScenario) super.setQuotaUser(quotaUser);
256-
}
257-
258-
@Override
259-
public EstimateCostScenario setUploadType(java.lang.String uploadType) {
260-
return (EstimateCostScenario) super.setUploadType(uploadType);
261-
}
262-
263-
@Override
264-
public EstimateCostScenario setUploadProtocol(java.lang.String uploadProtocol) {
265-
return (EstimateCostScenario) super.setUploadProtocol(uploadProtocol);
266-
}
267-
268-
/**
269-
* Resource name of the billing account for the cost estimate. The resource name has the form
270-
* `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`
271-
* is the resource name for billing account `012345-567890-ABCDEF`. Must be specified.
272-
*/
273-
@com.google.api.client.util.Key
274-
private java.lang.String billingAccount;
275-
276-
/** Resource name of the billing account for the cost estimate. The resource name has the form
277-
`billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF` is the
278-
resource name for billing account `012345-567890-ABCDEF`. Must be specified.
279-
*/
280-
public java.lang.String getBillingAccount() {
281-
return billingAccount;
282-
}
283-
284-
/**
285-
* Resource name of the billing account for the cost estimate. The resource name has the form
286-
* `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`
287-
* is the resource name for billing account `012345-567890-ABCDEF`. Must be specified.
288-
*/
289-
public EstimateCostScenario setBillingAccount(java.lang.String billingAccount) {
290-
if (!getSuppressPatternChecks()) {
291-
com.google.api.client.util.Preconditions.checkArgument(BILLING_ACCOUNT_PATTERN.matcher(billingAccount).matches(),
292-
"Parameter billingAccount must conform to the pattern " +
293-
"^billingAccounts/[^/]+$");
294-
}
295-
this.billingAccount = billingAccount;
296-
return this;
297-
}
298-
299-
@Override
300-
public EstimateCostScenario set(String parameterName, Object value) {
301-
return (EstimateCostScenario) super.set(parameterName, value);
302-
}
303-
}
304-
305156
/**
306157
* An accessor for creating requests from the Services collection.
307158
*
@@ -3305,129 +3156,6 @@ public List set(String parameterName, Object value) {
33053156
}
33063157
}
33073158

3308-
/**
3309-
* An accessor for creating requests from the V1beta collection.
3310-
*
3311-
* <p>The typical use is:</p>
3312-
* <pre>
3313-
* {@code Cloudbilling cloudbilling = new Cloudbilling(...);}
3314-
* {@code Cloudbilling.V1beta.List request = cloudbilling.v1beta().list(parameters ...)}
3315-
* </pre>
3316-
*
3317-
* @return the resource collection
3318-
*/
3319-
public V1beta v1beta() {
3320-
return new V1beta();
3321-
}
3322-
3323-
/**
3324-
* The "v1beta" collection of methods.
3325-
*/
3326-
public class V1beta {
3327-
3328-
/**
3329-
* Estimate list prices using a `CostScenario` without a defined `billingAccount`.
3330-
*
3331-
* Create a request for the method "v1beta.estimateCostScenario".
3332-
*
3333-
* This request holds the parameters needed by the cloudbilling server. After setting any optional
3334-
* parameters, call the {@link EstimateCostScenario#execute()} method to invoke the remote
3335-
* operation.
3336-
*
3337-
* @param content the {@link com.google.api.services.cloudbilling.v1beta.model.EstimateCostScenarioWithListPriceRequest}
3338-
* @return the request
3339-
*/
3340-
public EstimateCostScenario estimateCostScenario(com.google.api.services.cloudbilling.v1beta.model.EstimateCostScenarioWithListPriceRequest content) throws java.io.IOException {
3341-
EstimateCostScenario result = new EstimateCostScenario(content);
3342-
initialize(result);
3343-
return result;
3344-
}
3345-
3346-
public class EstimateCostScenario extends CloudbillingRequest<com.google.api.services.cloudbilling.v1beta.model.EstimateCostScenarioWithListPriceResponse> {
3347-
3348-
private static final String REST_PATH = "v1beta:estimateCostScenario";
3349-
3350-
/**
3351-
* Estimate list prices using a `CostScenario` without a defined `billingAccount`.
3352-
*
3353-
* Create a request for the method "v1beta.estimateCostScenario".
3354-
*
3355-
* This request holds the parameters needed by the the cloudbilling server. After setting any
3356-
* optional parameters, call the {@link EstimateCostScenario#execute()} method to invoke the
3357-
* remote operation. <p> {@link EstimateCostScenario#initialize(com.google.api.client.googleapis.s
3358-
* ervices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
3359-
* after invoking the constructor. </p>
3360-
*
3361-
* @param content the {@link com.google.api.services.cloudbilling.v1beta.model.EstimateCostScenarioWithListPriceRequest}
3362-
* @since 1.13
3363-
*/
3364-
protected EstimateCostScenario(com.google.api.services.cloudbilling.v1beta.model.EstimateCostScenarioWithListPriceRequest content) {
3365-
super(Cloudbilling.this, "POST", REST_PATH, content, com.google.api.services.cloudbilling.v1beta.model.EstimateCostScenarioWithListPriceResponse.class);
3366-
}
3367-
3368-
@Override
3369-
public EstimateCostScenario set$Xgafv(java.lang.String $Xgafv) {
3370-
return (EstimateCostScenario) super.set$Xgafv($Xgafv);
3371-
}
3372-
3373-
@Override
3374-
public EstimateCostScenario setAccessToken(java.lang.String accessToken) {
3375-
return (EstimateCostScenario) super.setAccessToken(accessToken);
3376-
}
3377-
3378-
@Override
3379-
public EstimateCostScenario setAlt(java.lang.String alt) {
3380-
return (EstimateCostScenario) super.setAlt(alt);
3381-
}
3382-
3383-
@Override
3384-
public EstimateCostScenario setCallback(java.lang.String callback) {
3385-
return (EstimateCostScenario) super.setCallback(callback);
3386-
}
3387-
3388-
@Override
3389-
public EstimateCostScenario setFields(java.lang.String fields) {
3390-
return (EstimateCostScenario) super.setFields(fields);
3391-
}
3392-
3393-
@Override
3394-
public EstimateCostScenario setKey(java.lang.String key) {
3395-
return (EstimateCostScenario) super.setKey(key);
3396-
}
3397-
3398-
@Override
3399-
public EstimateCostScenario setOauthToken(java.lang.String oauthToken) {
3400-
return (EstimateCostScenario) super.setOauthToken(oauthToken);
3401-
}
3402-
3403-
@Override
3404-
public EstimateCostScenario setPrettyPrint(java.lang.Boolean prettyPrint) {
3405-
return (EstimateCostScenario) super.setPrettyPrint(prettyPrint);
3406-
}
3407-
3408-
@Override
3409-
public EstimateCostScenario setQuotaUser(java.lang.String quotaUser) {
3410-
return (EstimateCostScenario) super.setQuotaUser(quotaUser);
3411-
}
3412-
3413-
@Override
3414-
public EstimateCostScenario setUploadType(java.lang.String uploadType) {
3415-
return (EstimateCostScenario) super.setUploadType(uploadType);
3416-
}
3417-
3418-
@Override
3419-
public EstimateCostScenario setUploadProtocol(java.lang.String uploadProtocol) {
3420-
return (EstimateCostScenario) super.setUploadProtocol(uploadProtocol);
3421-
}
3422-
3423-
@Override
3424-
public EstimateCostScenario set(String parameterName, Object value) {
3425-
return (EstimateCostScenario) super.set(parameterName, value);
3426-
}
3427-
}
3428-
3429-
}
3430-
34313159
/**
34323160
* Builder for {@link Cloudbilling}.
34333161
*

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

Lines changed: 0 additions & 90 deletions
This file was deleted.

0 commit comments

Comments
 (0)