Skip to content

Commit e11c32a

Browse files
1 parent c75fd58 commit e11c32a

File tree

6 files changed

+257
-6
lines changed

6 files changed

+257
-6
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-rev20251015-2.0.0</version>
25+
<version>v1alpha-rev20251022-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-rev20251015-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1alpha-rev20251022-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: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2866,6 +2866,147 @@ public BatchUpdate set(String parameterName, Object value) {
28662866
return (BatchUpdate) super.set(parameterName, value);
28672867
}
28682868
}
2869+
/**
2870+
* Clears cached test runs for a specific test case and device(s).
2871+
*
2872+
* Create a request for the method "testCases.clearTestCaseCache".
2873+
*
2874+
* This request holds the parameters needed by the firebaseappdistribution server. After setting
2875+
* any optional parameters, call the {@link ClearTestCaseCache#execute()} method to invoke the
2876+
* remote operation.
2877+
*
2878+
* @param testCase Required. The name of the test case resource for which to clear the cache. Format:
2879+
* `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
2880+
* @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest}
2881+
* @return the request
2882+
*/
2883+
public ClearTestCaseCache clearTestCaseCache(java.lang.String testCase, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest content) throws java.io.IOException {
2884+
ClearTestCaseCache result = new ClearTestCaseCache(testCase, content);
2885+
initialize(result);
2886+
return result;
2887+
}
2888+
2889+
public class ClearTestCaseCache extends FirebaseAppDistributionRequest<com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse> {
2890+
2891+
private static final String REST_PATH = "v1alpha/{+testCase}:clearTestCaseCache";
2892+
2893+
private final java.util.regex.Pattern TEST_CASE_PATTERN =
2894+
java.util.regex.Pattern.compile("^projects/[^/]+/apps/[^/]+/testCases/[^/]+$");
2895+
2896+
/**
2897+
* Clears cached test runs for a specific test case and device(s).
2898+
*
2899+
* Create a request for the method "testCases.clearTestCaseCache".
2900+
*
2901+
* This request holds the parameters needed by the the firebaseappdistribution server. After
2902+
* setting any optional parameters, call the {@link ClearTestCaseCache#execute()} method to invoke
2903+
* the remote operation. <p> {@link ClearTestCaseCache#initialize(com.google.api.client.googleapis
2904+
* .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
2905+
* after invoking the constructor. </p>
2906+
*
2907+
* @param testCase Required. The name of the test case resource for which to clear the cache. Format:
2908+
* `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
2909+
* @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest}
2910+
* @since 1.13
2911+
*/
2912+
protected ClearTestCaseCache(java.lang.String testCase, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest content) {
2913+
super(FirebaseAppDistribution.this, "POST", REST_PATH, content, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse.class);
2914+
this.testCase = com.google.api.client.util.Preconditions.checkNotNull(testCase, "Required parameter testCase must be specified.");
2915+
if (!getSuppressPatternChecks()) {
2916+
com.google.api.client.util.Preconditions.checkArgument(TEST_CASE_PATTERN.matcher(testCase).matches(),
2917+
"Parameter testCase must conform to the pattern " +
2918+
"^projects/[^/]+/apps/[^/]+/testCases/[^/]+$");
2919+
}
2920+
}
2921+
2922+
@Override
2923+
public ClearTestCaseCache set$Xgafv(java.lang.String $Xgafv) {
2924+
return (ClearTestCaseCache) super.set$Xgafv($Xgafv);
2925+
}
2926+
2927+
@Override
2928+
public ClearTestCaseCache setAccessToken(java.lang.String accessToken) {
2929+
return (ClearTestCaseCache) super.setAccessToken(accessToken);
2930+
}
2931+
2932+
@Override
2933+
public ClearTestCaseCache setAlt(java.lang.String alt) {
2934+
return (ClearTestCaseCache) super.setAlt(alt);
2935+
}
2936+
2937+
@Override
2938+
public ClearTestCaseCache setCallback(java.lang.String callback) {
2939+
return (ClearTestCaseCache) super.setCallback(callback);
2940+
}
2941+
2942+
@Override
2943+
public ClearTestCaseCache setFields(java.lang.String fields) {
2944+
return (ClearTestCaseCache) super.setFields(fields);
2945+
}
2946+
2947+
@Override
2948+
public ClearTestCaseCache setKey(java.lang.String key) {
2949+
return (ClearTestCaseCache) super.setKey(key);
2950+
}
2951+
2952+
@Override
2953+
public ClearTestCaseCache setOauthToken(java.lang.String oauthToken) {
2954+
return (ClearTestCaseCache) super.setOauthToken(oauthToken);
2955+
}
2956+
2957+
@Override
2958+
public ClearTestCaseCache setPrettyPrint(java.lang.Boolean prettyPrint) {
2959+
return (ClearTestCaseCache) super.setPrettyPrint(prettyPrint);
2960+
}
2961+
2962+
@Override
2963+
public ClearTestCaseCache setQuotaUser(java.lang.String quotaUser) {
2964+
return (ClearTestCaseCache) super.setQuotaUser(quotaUser);
2965+
}
2966+
2967+
@Override
2968+
public ClearTestCaseCache setUploadType(java.lang.String uploadType) {
2969+
return (ClearTestCaseCache) super.setUploadType(uploadType);
2970+
}
2971+
2972+
@Override
2973+
public ClearTestCaseCache setUploadProtocol(java.lang.String uploadProtocol) {
2974+
return (ClearTestCaseCache) super.setUploadProtocol(uploadProtocol);
2975+
}
2976+
2977+
/**
2978+
* Required. The name of the test case resource for which to clear the cache. Format:
2979+
* `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
2980+
*/
2981+
@com.google.api.client.util.Key
2982+
private java.lang.String testCase;
2983+
2984+
/** Required. The name of the test case resource for which to clear the cache. Format:
2985+
`projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
2986+
*/
2987+
public java.lang.String getTestCase() {
2988+
return testCase;
2989+
}
2990+
2991+
/**
2992+
* Required. The name of the test case resource for which to clear the cache. Format:
2993+
* `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
2994+
*/
2995+
public ClearTestCaseCache setTestCase(java.lang.String testCase) {
2996+
if (!getSuppressPatternChecks()) {
2997+
com.google.api.client.util.Preconditions.checkArgument(TEST_CASE_PATTERN.matcher(testCase).matches(),
2998+
"Parameter testCase must conform to the pattern " +
2999+
"^projects/[^/]+/apps/[^/]+/testCases/[^/]+$");
3000+
}
3001+
this.testCase = testCase;
3002+
return this;
3003+
}
3004+
3005+
@Override
3006+
public ClearTestCaseCache set(String parameterName, Object value) {
3007+
return (ClearTestCaseCache) super.set(parameterName, value);
3008+
}
3009+
}
28693010
/**
28703011
* Create a new test case.
28713012
*
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+
* Request message for `ClearTestCaseCache`.
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 GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The list of devices for which to clear the cache. If not present, clear all of them.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<GoogleFirebaseAppdistroV1alphaTestDevice> testDevices;
39+
40+
/**
41+
* Optional. The list of devices for which to clear the cache. If not present, clear all of them.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.util.List<GoogleFirebaseAppdistroV1alphaTestDevice> getTestDevices() {
45+
return testDevices;
46+
}
47+
48+
/**
49+
* Optional. The list of devices for which to clear the cache. If not present, clear all of them.
50+
* @param testDevices testDevices or {@code null} for none
51+
*/
52+
public GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest setTestDevices(java.util.List<GoogleFirebaseAppdistroV1alphaTestDevice> testDevices) {
53+
this.testDevices = testDevices;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest set(String fieldName, Object value) {
59+
return (GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest clone() {
64+
return (GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest) super.clone();
65+
}
66+
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
* Response empty (google.protobuf.Empty) message for `ClearTestCaseCache`
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 GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse set(String fieldName, Object value) {
35+
return (GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse clone() {
40+
return (GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse) super.clone();
41+
}
42+
43+
}

clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-firebaseappdistribution</artifactId>
11-
<version>v1alpha-rev20251015-2.0.0</version>
12-
<name>Firebase App Distribution API v1alpha-rev20251015-2.0.0</name>
11+
<version>v1alpha-rev20251022-2.0.0</version>
12+
<name>Firebase App Distribution API v1alpha-rev20251022-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)