Skip to content

Commit e165751

Browse files
1 parent 4296a11 commit e165751

File tree

6 files changed

+275
-8
lines changed

6 files changed

+275
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
9393
<link>https://googleapis.dev/java/google-http-client/1.46.1/</link>
94-
<link>https://googleapis.dev/java/google-oauth-client/1.37.0/</link>
94+
<link>https://googleapis.dev/java/google-oauth-client/1.38.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.7.2/</link>
9696
</links>
9797
</configuration>

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-rev20250207-2.0.0</version>
25+
<version>v1alpha-rev20250219-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-rev20250207-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1alpha-rev20250219-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: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,6 +1482,156 @@ public Projects projects() {
14821482
*/
14831483
public class Projects {
14841484

1485+
/**
1486+
* Get information about the quota for `ReleaseTests`.
1487+
*
1488+
* Create a request for the method "projects.getTestQuota".
1489+
*
1490+
* This request holds the parameters needed by the firebaseappdistribution server. After setting
1491+
* any optional parameters, call the {@link GetTestQuota#execute()} method to invoke the remote
1492+
* operation.
1493+
*
1494+
* @param name Required. The name of the `TestQuota` resource to retrieve. Format:
1495+
* `projects/{project_number}/testQuota`
1496+
* @return the request
1497+
*/
1498+
public GetTestQuota getTestQuota(java.lang.String name) throws java.io.IOException {
1499+
GetTestQuota result = new GetTestQuota(name);
1500+
initialize(result);
1501+
return result;
1502+
}
1503+
1504+
public class GetTestQuota extends FirebaseAppDistributionRequest<com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestQuota> {
1505+
1506+
private static final String REST_PATH = "v1alpha/{+name}";
1507+
1508+
private final java.util.regex.Pattern NAME_PATTERN =
1509+
java.util.regex.Pattern.compile("^projects/[^/]+/testQuota$");
1510+
1511+
/**
1512+
* Get information about the quota for `ReleaseTests`.
1513+
*
1514+
* Create a request for the method "projects.getTestQuota".
1515+
*
1516+
* This request holds the parameters needed by the the firebaseappdistribution server. After
1517+
* setting any optional parameters, call the {@link GetTestQuota#execute()} method to invoke the
1518+
* remote operation. <p> {@link
1519+
* GetTestQuota#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
1520+
* must be called to initialize this instance immediately after invoking the constructor. </p>
1521+
*
1522+
* @param name Required. The name of the `TestQuota` resource to retrieve. Format:
1523+
* `projects/{project_number}/testQuota`
1524+
* @since 1.13
1525+
*/
1526+
protected GetTestQuota(java.lang.String name) {
1527+
super(FirebaseAppDistribution.this, "GET", REST_PATH, null, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestQuota.class);
1528+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
1529+
if (!getSuppressPatternChecks()) {
1530+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
1531+
"Parameter name must conform to the pattern " +
1532+
"^projects/[^/]+/testQuota$");
1533+
}
1534+
}
1535+
1536+
@Override
1537+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
1538+
return super.executeUsingHead();
1539+
}
1540+
1541+
@Override
1542+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
1543+
return super.buildHttpRequestUsingHead();
1544+
}
1545+
1546+
@Override
1547+
public GetTestQuota set$Xgafv(java.lang.String $Xgafv) {
1548+
return (GetTestQuota) super.set$Xgafv($Xgafv);
1549+
}
1550+
1551+
@Override
1552+
public GetTestQuota setAccessToken(java.lang.String accessToken) {
1553+
return (GetTestQuota) super.setAccessToken(accessToken);
1554+
}
1555+
1556+
@Override
1557+
public GetTestQuota setAlt(java.lang.String alt) {
1558+
return (GetTestQuota) super.setAlt(alt);
1559+
}
1560+
1561+
@Override
1562+
public GetTestQuota setCallback(java.lang.String callback) {
1563+
return (GetTestQuota) super.setCallback(callback);
1564+
}
1565+
1566+
@Override
1567+
public GetTestQuota setFields(java.lang.String fields) {
1568+
return (GetTestQuota) super.setFields(fields);
1569+
}
1570+
1571+
@Override
1572+
public GetTestQuota setKey(java.lang.String key) {
1573+
return (GetTestQuota) super.setKey(key);
1574+
}
1575+
1576+
@Override
1577+
public GetTestQuota setOauthToken(java.lang.String oauthToken) {
1578+
return (GetTestQuota) super.setOauthToken(oauthToken);
1579+
}
1580+
1581+
@Override
1582+
public GetTestQuota setPrettyPrint(java.lang.Boolean prettyPrint) {
1583+
return (GetTestQuota) super.setPrettyPrint(prettyPrint);
1584+
}
1585+
1586+
@Override
1587+
public GetTestQuota setQuotaUser(java.lang.String quotaUser) {
1588+
return (GetTestQuota) super.setQuotaUser(quotaUser);
1589+
}
1590+
1591+
@Override
1592+
public GetTestQuota setUploadType(java.lang.String uploadType) {
1593+
return (GetTestQuota) super.setUploadType(uploadType);
1594+
}
1595+
1596+
@Override
1597+
public GetTestQuota setUploadProtocol(java.lang.String uploadProtocol) {
1598+
return (GetTestQuota) super.setUploadProtocol(uploadProtocol);
1599+
}
1600+
1601+
/**
1602+
* Required. The name of the `TestQuota` resource to retrieve. Format:
1603+
* `projects/{project_number}/testQuota`
1604+
*/
1605+
@com.google.api.client.util.Key
1606+
private java.lang.String name;
1607+
1608+
/** Required. The name of the `TestQuota` resource to retrieve. Format:
1609+
`projects/{project_number}/testQuota`
1610+
*/
1611+
public java.lang.String getName() {
1612+
return name;
1613+
}
1614+
1615+
/**
1616+
* Required. The name of the `TestQuota` resource to retrieve. Format:
1617+
* `projects/{project_number}/testQuota`
1618+
*/
1619+
public GetTestQuota setName(java.lang.String name) {
1620+
if (!getSuppressPatternChecks()) {
1621+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
1622+
"Parameter name must conform to the pattern " +
1623+
"^projects/[^/]+/testQuota$");
1624+
}
1625+
this.name = name;
1626+
return this;
1627+
}
1628+
1629+
@Override
1630+
public GetTestQuota set(String parameterName, Object value) {
1631+
return (GetTestQuota) super.set(parameterName, value);
1632+
}
1633+
}
1634+
14851635
/**
14861636
* An accessor for creating requests from the Apps collection.
14871637
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
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+
* Customer quota information for `ReleaseTests`. Note: This quota only applies to tests with
21+
* `AiInstructions` and is separate from the quota which might apply to the device time used by any
22+
* tests.
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 Firebase App Distribution API. For a detailed
26+
* explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class GoogleFirebaseAppdistroV1alphaTestQuota extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* Output only. Maximum number of `ReleaseTests` allotted for the current month.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
40+
private java.lang.Long limit;
41+
42+
/**
43+
* Identifier. The name of the `TestQuota` resource. Format: `projects/{project_number}/testQuota`
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String name;
48+
49+
/**
50+
* Output only. Number of `ReleaseTests` run in the current month
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
54+
private java.lang.Long usage;
55+
56+
/**
57+
* Output only. Maximum number of `ReleaseTests` allotted for the current month.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.Long getLimit() {
61+
return limit;
62+
}
63+
64+
/**
65+
* Output only. Maximum number of `ReleaseTests` allotted for the current month.
66+
* @param limit limit or {@code null} for none
67+
*/
68+
public GoogleFirebaseAppdistroV1alphaTestQuota setLimit(java.lang.Long limit) {
69+
this.limit = limit;
70+
return this;
71+
}
72+
73+
/**
74+
* Identifier. The name of the `TestQuota` resource. Format: `projects/{project_number}/testQuota`
75+
* @return value or {@code null} for none
76+
*/
77+
public java.lang.String getName() {
78+
return name;
79+
}
80+
81+
/**
82+
* Identifier. The name of the `TestQuota` resource. Format: `projects/{project_number}/testQuota`
83+
* @param name name or {@code null} for none
84+
*/
85+
public GoogleFirebaseAppdistroV1alphaTestQuota setName(java.lang.String name) {
86+
this.name = name;
87+
return this;
88+
}
89+
90+
/**
91+
* Output only. Number of `ReleaseTests` run in the current month
92+
* @return value or {@code null} for none
93+
*/
94+
public java.lang.Long getUsage() {
95+
return usage;
96+
}
97+
98+
/**
99+
* Output only. Number of `ReleaseTests` run in the current month
100+
* @param usage usage or {@code null} for none
101+
*/
102+
public GoogleFirebaseAppdistroV1alphaTestQuota setUsage(java.lang.Long usage) {
103+
this.usage = usage;
104+
return this;
105+
}
106+
107+
@Override
108+
public GoogleFirebaseAppdistroV1alphaTestQuota set(String fieldName, Object value) {
109+
return (GoogleFirebaseAppdistroV1alphaTestQuota) super.set(fieldName, value);
110+
}
111+
112+
@Override
113+
public GoogleFirebaseAppdistroV1alphaTestQuota clone() {
114+
return (GoogleFirebaseAppdistroV1alphaTestQuota) super.clone();
115+
}
116+
117+
}

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

Lines changed: 3 additions & 3 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-rev20250207-2.0.0</version>
12-
<name>Firebase App Distribution API v1alpha-rev20250207-2.0.0</name>
11+
<version>v1alpha-rev20250219-2.0.0</version>
12+
<name>Firebase App Distribution API v1alpha-rev20250219-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>
@@ -91,7 +91,7 @@
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
9393
<link>https://googleapis.dev/java/google-http-client/1.46.1/</link>
94-
<link>https://googleapis.dev/java/google-oauth-client/1.37.0/</link>
94+
<link>https://googleapis.dev/java/google-oauth-client/1.38.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.7.2/</link>
9696
</links>
9797
</configuration>

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

0 commit comments

Comments
 (0)