Skip to content

Commit 3cba322

Browse files
1 parent 395980c commit 3cba322

File tree

5 files changed

+197
-6
lines changed

5 files changed

+197
-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-rev20241003-2.0.0</version>
25+
<version>v1alpha-rev20241004-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-rev20241003-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1alpha-rev20241004-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: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,6 +1849,154 @@ public Tests tests() {
18491849
*/
18501850
public class Tests {
18511851

1852+
/**
1853+
* Abort automated test run on release.
1854+
*
1855+
* Create a request for the method "tests.cancel".
1856+
*
1857+
* This request holds the parameters needed by the firebaseappdistribution server. After setting
1858+
* any optional parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
1859+
*
1860+
* @param name Required. The name of the release test resource. Format:
1861+
* `projects/{project_number}/apps/{app_id}/releases/{release_id}/tests/{test_id}`
1862+
* @return the request
1863+
*/
1864+
public Cancel cancel(java.lang.String name) throws java.io.IOException {
1865+
Cancel result = new Cancel(name);
1866+
initialize(result);
1867+
return result;
1868+
}
1869+
1870+
public class Cancel extends FirebaseAppDistributionRequest<com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse> {
1871+
1872+
private static final String REST_PATH = "v1alpha/{+name}:cancel";
1873+
1874+
private final java.util.regex.Pattern NAME_PATTERN =
1875+
java.util.regex.Pattern.compile("^projects/[^/]+/apps/[^/]+/releases/[^/]+/tests/[^/]+$");
1876+
1877+
/**
1878+
* Abort automated test run on release.
1879+
*
1880+
* Create a request for the method "tests.cancel".
1881+
*
1882+
* This request holds the parameters needed by the the firebaseappdistribution server. After
1883+
* setting any optional parameters, call the {@link Cancel#execute()} method to invoke the remote
1884+
* operation. <p> {@link
1885+
* Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
1886+
* be called to initialize this instance immediately after invoking the constructor. </p>
1887+
*
1888+
* @param name Required. The name of the release test resource. Format:
1889+
* `projects/{project_number}/apps/{app_id}/releases/{release_id}/tests/{test_id}`
1890+
* @since 1.13
1891+
*/
1892+
protected Cancel(java.lang.String name) {
1893+
super(FirebaseAppDistribution.this, "GET", REST_PATH, null, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse.class);
1894+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
1895+
if (!getSuppressPatternChecks()) {
1896+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
1897+
"Parameter name must conform to the pattern " +
1898+
"^projects/[^/]+/apps/[^/]+/releases/[^/]+/tests/[^/]+$");
1899+
}
1900+
}
1901+
1902+
@Override
1903+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
1904+
return super.executeUsingHead();
1905+
}
1906+
1907+
@Override
1908+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
1909+
return super.buildHttpRequestUsingHead();
1910+
}
1911+
1912+
@Override
1913+
public Cancel set$Xgafv(java.lang.String $Xgafv) {
1914+
return (Cancel) super.set$Xgafv($Xgafv);
1915+
}
1916+
1917+
@Override
1918+
public Cancel setAccessToken(java.lang.String accessToken) {
1919+
return (Cancel) super.setAccessToken(accessToken);
1920+
}
1921+
1922+
@Override
1923+
public Cancel setAlt(java.lang.String alt) {
1924+
return (Cancel) super.setAlt(alt);
1925+
}
1926+
1927+
@Override
1928+
public Cancel setCallback(java.lang.String callback) {
1929+
return (Cancel) super.setCallback(callback);
1930+
}
1931+
1932+
@Override
1933+
public Cancel setFields(java.lang.String fields) {
1934+
return (Cancel) super.setFields(fields);
1935+
}
1936+
1937+
@Override
1938+
public Cancel setKey(java.lang.String key) {
1939+
return (Cancel) super.setKey(key);
1940+
}
1941+
1942+
@Override
1943+
public Cancel setOauthToken(java.lang.String oauthToken) {
1944+
return (Cancel) super.setOauthToken(oauthToken);
1945+
}
1946+
1947+
@Override
1948+
public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) {
1949+
return (Cancel) super.setPrettyPrint(prettyPrint);
1950+
}
1951+
1952+
@Override
1953+
public Cancel setQuotaUser(java.lang.String quotaUser) {
1954+
return (Cancel) super.setQuotaUser(quotaUser);
1955+
}
1956+
1957+
@Override
1958+
public Cancel setUploadType(java.lang.String uploadType) {
1959+
return (Cancel) super.setUploadType(uploadType);
1960+
}
1961+
1962+
@Override
1963+
public Cancel setUploadProtocol(java.lang.String uploadProtocol) {
1964+
return (Cancel) super.setUploadProtocol(uploadProtocol);
1965+
}
1966+
1967+
/**
1968+
* Required. The name of the release test resource. Format:
1969+
* `projects/{project_number}/apps/{app_id}/releases/{release_id}/tests/{test_id}`
1970+
*/
1971+
@com.google.api.client.util.Key
1972+
private java.lang.String name;
1973+
1974+
/** Required. The name of the release test resource. Format:
1975+
`projects/{project_number}/apps/{app_id}/releases/{release_id}/tests/{test_id}`
1976+
*/
1977+
public java.lang.String getName() {
1978+
return name;
1979+
}
1980+
1981+
/**
1982+
* Required. The name of the release test resource. Format:
1983+
* `projects/{project_number}/apps/{app_id}/releases/{release_id}/tests/{test_id}`
1984+
*/
1985+
public Cancel setName(java.lang.String name) {
1986+
if (!getSuppressPatternChecks()) {
1987+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
1988+
"Parameter name must conform to the pattern " +
1989+
"^projects/[^/]+/apps/[^/]+/releases/[^/]+/tests/[^/]+$");
1990+
}
1991+
this.name = name;
1992+
return this;
1993+
}
1994+
1995+
@Override
1996+
public Cancel set(String parameterName, Object value) {
1997+
return (Cancel) super.set(parameterName, value);
1998+
}
1999+
}
18522000
/**
18532001
* Run automated test(s) on release.
18542002
*
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+
* The (empty) response message for `CancelReleaseTest`.
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 GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse set(String fieldName, Object value) {
35+
return (GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse clone() {
40+
return (GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse) 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-rev20241003-2.0.0</version>
12-
<name>Firebase App Distribution API v1alpha-rev20241003-2.0.0</name>
11+
<version>v1alpha-rev20241004-2.0.0</version>
12+
<name>Firebase App Distribution API v1alpha-rev20241004-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-rev20241003-2.0.0</version>
25+
<version>v1alpha-rev20241004-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-rev20241003-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1alpha-rev20241004-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)