Skip to content

Commit 72749f6

Browse files
1 parent 4744265 commit 72749f6

File tree

7 files changed

+380
-11
lines changed

7 files changed

+380
-11
lines changed

clients/google-api-services-firebaseappdistribution/v1alpha/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-firebaseappdistribution</artifactId>
25-
<version>v1alpha-rev20251012-2.0.0</version>
25+
<version>v1alpha-rev20251015-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-firebaseappdistribution:v1alpha-rev20251012-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1alpha-rev20251015-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/FirebaseAppDistribution.java

Lines changed: 146 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2593,7 +2593,7 @@ public class TestCases {
25932593
* any optional parameters, call the {@link BatchDelete#execute()} method to invoke the remote
25942594
* operation.
25952595
*
2596-
* @param parent Required. The parent resource where these test cases will be deleted. Format:
2596+
* @param parent Required. The parent resource of the test cases being deleted. Format:
25972597
* `projects/{project_number}/apps/{app_id}`
25982598
* @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest}
25992599
* @return the request
@@ -2622,7 +2622,7 @@ public class BatchDelete extends FirebaseAppDistributionRequest<com.google.api.s
26222622
* BatchDelete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
26232623
* must be called to initialize this instance immediately after invoking the constructor. </p>
26242624
*
2625-
* @param parent Required. The parent resource where these test cases will be deleted. Format:
2625+
* @param parent Required. The parent resource of the test cases being deleted. Format:
26262626
* `projects/{project_number}/apps/{app_id}`
26272627
* @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest}
26282628
* @since 1.13
@@ -2693,21 +2693,21 @@ public BatchDelete setUploadProtocol(java.lang.String uploadProtocol) {
26932693
}
26942694

26952695
/**
2696-
* Required. The parent resource where these test cases will be deleted. Format:
2696+
* Required. The parent resource of the test cases being deleted. Format:
26972697
* `projects/{project_number}/apps/{app_id}`
26982698
*/
26992699
@com.google.api.client.util.Key
27002700
private java.lang.String parent;
27012701

2702-
/** Required. The parent resource where these test cases will be deleted. Format:
2702+
/** Required. The parent resource of the test cases being deleted. Format:
27032703
`projects/{project_number}/apps/{app_id}`
27042704
*/
27052705
public java.lang.String getParent() {
27062706
return parent;
27072707
}
27082708

27092709
/**
2710-
* Required. The parent resource where these test cases will be deleted. Format:
2710+
* Required. The parent resource of the test cases being deleted. Format:
27112711
* `projects/{project_number}/apps/{app_id}`
27122712
*/
27132713
public BatchDelete setParent(java.lang.String parent) {
@@ -2725,6 +2725,147 @@ public BatchDelete set(String parameterName, Object value) {
27252725
return (BatchDelete) super.set(parameterName, value);
27262726
}
27272727
}
2728+
/**
2729+
* Updates multiple test cases.
2730+
*
2731+
* Create a request for the method "testCases.batchUpdate".
2732+
*
2733+
* This request holds the parameters needed by the firebaseappdistribution server. After setting
2734+
* any optional parameters, call the {@link BatchUpdate#execute()} method to invoke the remote
2735+
* operation.
2736+
*
2737+
* @param parent Required. The parent resource of the test cases being updated. Format:
2738+
* `projects/{project_number}/apps/{app_id}`
2739+
* @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest}
2740+
* @return the request
2741+
*/
2742+
public BatchUpdate batchUpdate(java.lang.String parent, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest content) throws java.io.IOException {
2743+
BatchUpdate result = new BatchUpdate(parent, content);
2744+
initialize(result);
2745+
return result;
2746+
}
2747+
2748+
public class BatchUpdate extends FirebaseAppDistributionRequest<com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse> {
2749+
2750+
private static final String REST_PATH = "v1alpha/{+parent}/testCases:batchUpdate";
2751+
2752+
private final java.util.regex.Pattern PARENT_PATTERN =
2753+
java.util.regex.Pattern.compile("^projects/[^/]+/apps/[^/]+$");
2754+
2755+
/**
2756+
* Updates multiple test cases.
2757+
*
2758+
* Create a request for the method "testCases.batchUpdate".
2759+
*
2760+
* This request holds the parameters needed by the the firebaseappdistribution server. After
2761+
* setting any optional parameters, call the {@link BatchUpdate#execute()} method to invoke the
2762+
* remote operation. <p> {@link
2763+
* BatchUpdate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
2764+
* must be called to initialize this instance immediately after invoking the constructor. </p>
2765+
*
2766+
* @param parent Required. The parent resource of the test cases being updated. Format:
2767+
* `projects/{project_number}/apps/{app_id}`
2768+
* @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest}
2769+
* @since 1.13
2770+
*/
2771+
protected BatchUpdate(java.lang.String parent, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest content) {
2772+
super(FirebaseAppDistribution.this, "POST", REST_PATH, content, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse.class);
2773+
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
2774+
if (!getSuppressPatternChecks()) {
2775+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
2776+
"Parameter parent must conform to the pattern " +
2777+
"^projects/[^/]+/apps/[^/]+$");
2778+
}
2779+
}
2780+
2781+
@Override
2782+
public BatchUpdate set$Xgafv(java.lang.String $Xgafv) {
2783+
return (BatchUpdate) super.set$Xgafv($Xgafv);
2784+
}
2785+
2786+
@Override
2787+
public BatchUpdate setAccessToken(java.lang.String accessToken) {
2788+
return (BatchUpdate) super.setAccessToken(accessToken);
2789+
}
2790+
2791+
@Override
2792+
public BatchUpdate setAlt(java.lang.String alt) {
2793+
return (BatchUpdate) super.setAlt(alt);
2794+
}
2795+
2796+
@Override
2797+
public BatchUpdate setCallback(java.lang.String callback) {
2798+
return (BatchUpdate) super.setCallback(callback);
2799+
}
2800+
2801+
@Override
2802+
public BatchUpdate setFields(java.lang.String fields) {
2803+
return (BatchUpdate) super.setFields(fields);
2804+
}
2805+
2806+
@Override
2807+
public BatchUpdate setKey(java.lang.String key) {
2808+
return (BatchUpdate) super.setKey(key);
2809+
}
2810+
2811+
@Override
2812+
public BatchUpdate setOauthToken(java.lang.String oauthToken) {
2813+
return (BatchUpdate) super.setOauthToken(oauthToken);
2814+
}
2815+
2816+
@Override
2817+
public BatchUpdate setPrettyPrint(java.lang.Boolean prettyPrint) {
2818+
return (BatchUpdate) super.setPrettyPrint(prettyPrint);
2819+
}
2820+
2821+
@Override
2822+
public BatchUpdate setQuotaUser(java.lang.String quotaUser) {
2823+
return (BatchUpdate) super.setQuotaUser(quotaUser);
2824+
}
2825+
2826+
@Override
2827+
public BatchUpdate setUploadType(java.lang.String uploadType) {
2828+
return (BatchUpdate) super.setUploadType(uploadType);
2829+
}
2830+
2831+
@Override
2832+
public BatchUpdate setUploadProtocol(java.lang.String uploadProtocol) {
2833+
return (BatchUpdate) super.setUploadProtocol(uploadProtocol);
2834+
}
2835+
2836+
/**
2837+
* Required. The parent resource of the test cases being updated. Format:
2838+
* `projects/{project_number}/apps/{app_id}`
2839+
*/
2840+
@com.google.api.client.util.Key
2841+
private java.lang.String parent;
2842+
2843+
/** Required. The parent resource of the test cases being updated. Format:
2844+
`projects/{project_number}/apps/{app_id}`
2845+
*/
2846+
public java.lang.String getParent() {
2847+
return parent;
2848+
}
2849+
2850+
/**
2851+
* Required. The parent resource of the test cases being updated. Format:
2852+
* `projects/{project_number}/apps/{app_id}`
2853+
*/
2854+
public BatchUpdate setParent(java.lang.String parent) {
2855+
if (!getSuppressPatternChecks()) {
2856+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
2857+
"Parameter parent must conform to the pattern " +
2858+
"^projects/[^/]+/apps/[^/]+$");
2859+
}
2860+
this.parent = parent;
2861+
return this;
2862+
}
2863+
2864+
@Override
2865+
public BatchUpdate set(String parameterName, Object value) {
2866+
return (BatchUpdate) super.set(parameterName, value);
2867+
}
2868+
}
27282869
/**
27292870
* Create a new test case.
27302871
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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.firebaseappdistribution.v1alpha.model;
18+
19+
/**
20+
* The request message for `BatchUpdateTestCase`.
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 Firebase App Distribution 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 GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The update requests. A maximum number of 1000 test cases can be updated in one batch
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest> requests;
39+
40+
/**
41+
* Required. The update requests. A maximum number of 1000 test cases can be updated in one batch
42+
* @return value or {@code null} for none
43+
*/
44+
public java.util.List<GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest> getRequests() {
45+
return requests;
46+
}
47+
48+
/**
49+
* Required. The update requests. A maximum number of 1000 test cases can be updated in one batch
50+
* @param requests requests or {@code null} for none
51+
*/
52+
public GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest setRequests(java.util.List<GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest> requests) {
53+
this.requests = requests;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest set(String fieldName, Object value) {
59+
return (GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest clone() {
64+
return (GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest) super.clone();
65+
}
66+
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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.firebaseappdistribution.v1alpha.model;
18+
19+
/**
20+
* The response message for `BatchUpdateTestCase`.
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 Firebase App Distribution 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 GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The updated test cases.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<GoogleFirebaseAppdistroV1alphaTestCase> testCases;
39+
40+
/**
41+
* The updated test cases.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.util.List<GoogleFirebaseAppdistroV1alphaTestCase> getTestCases() {
45+
return testCases;
46+
}
47+
48+
/**
49+
* The updated test cases.
50+
* @param testCases testCases or {@code null} for none
51+
*/
52+
public GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse setTestCases(java.util.List<GoogleFirebaseAppdistroV1alphaTestCase> testCases) {
53+
this.testCases = testCases;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse set(String fieldName, Object value) {
59+
return (GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse clone() {
64+
return (GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse) super.clone();
65+
}
66+
67+
}

0 commit comments

Comments
 (0)