diff --git a/clients/google-api-services-firebaseappdistribution/v1/2.0.0/README.md b/clients/google-api-services-firebaseappdistribution/v1/2.0.0/README.md index 6a108bd9477..e30a0e60a7d 100644 --- a/clients/google-api-services-firebaseappdistribution/v1/2.0.0/README.md +++ b/clients/google-api-services-firebaseappdistribution/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firebaseappdistribution - v1-rev20240605-2.0.0 + v1-rev20241115-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1-rev20240605-2.0.0' + implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1-rev20241115-2.0.0' } ``` diff --git a/clients/google-api-services-firebaseappdistribution/v1/2.0.0/com/google/api/services/firebaseappdistribution/v1/FirebaseAppDistribution.java b/clients/google-api-services-firebaseappdistribution/v1/2.0.0/com/google/api/services/firebaseappdistribution/v1/FirebaseAppDistribution.java index 2d2541ae491..51df4a0d153 100644 --- a/clients/google-api-services-firebaseappdistribution/v1/2.0.0/com/google/api/services/firebaseappdistribution/v1/FirebaseAppDistribution.java +++ b/clients/google-api-services-firebaseappdistribution/v1/2.0.0/com/google/api/services/firebaseappdistribution/v1/FirebaseAppDistribution.java @@ -1943,7 +1943,7 @@ public class Operations { * it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other * methods to check whether the cancellation succeeded or whether the operation completed despite * cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an - * operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to + * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Create a request for the method "operations.cancel". @@ -1974,7 +1974,7 @@ public class Cancel extends FirebaseAppDistributionRequestcom.google.apis google-api-services-firebaseappdistribution - v1-rev20240605-2.0.0 - Firebase App Distribution API v1-rev20240605-2.0.0 + v1-rev20241115-2.0.0 + Firebase App Distribution API v1-rev20241115-2.0.0 jar 2011 @@ -90,7 +90,7 @@ Firebase App Distribution API ${project.version} http://docs.oracle.com/javase/7/docs/api - https://googleapis.dev/java/google-http-client/1.45.0/ + https://googleapis.dev/java/google-http-client/1.45.2/ https://googleapis.dev/java/google-oauth-client/1.36.0/ https://googleapis.dev/java/google-api-client/2.7.0/ diff --git a/clients/google-api-services-firebaseappdistribution/v1/README.md b/clients/google-api-services-firebaseappdistribution/v1/README.md index 6a108bd9477..e30a0e60a7d 100644 --- a/clients/google-api-services-firebaseappdistribution/v1/README.md +++ b/clients/google-api-services-firebaseappdistribution/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firebaseappdistribution - v1-rev20240605-2.0.0 + v1-rev20241115-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1-rev20240605-2.0.0' + implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1-rev20241115-2.0.0' } ``` diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/README.md b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/README.md index 9baf897d4f0..26207b02c0f 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/README.md +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firebaseappdistribution - v1alpha-rev20241101-2.0.0 + v1alpha-rev20241204-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1alpha-rev20241101-2.0.0' + implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1alpha-rev20241204-2.0.0' } ``` diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/FirebaseAppDistribution.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/FirebaseAppDistribution.java index d551596f3f7..0e89cf4582d 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/FirebaseAppDistribution.java +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/FirebaseAppDistribution.java @@ -2529,6 +2529,819 @@ public List set(String parameterName, Object value) { } } + /** + * An accessor for creating requests from the TestCases collection. + * + *

The typical use is:

+ *
+       *   {@code FirebaseAppDistribution firebaseappdistribution = new FirebaseAppDistribution(...);}
+       *   {@code FirebaseAppDistribution.TestCases.List request = firebaseappdistribution.testCases().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public TestCases testCases() { + return new TestCases(); + } + + /** + * The "testCases" collection of methods. + */ + public class TestCases { + + /** + * Create a new test case. + * + * Create a request for the method "testCases.create". + * + * This request holds the parameters needed by the firebaseappdistribution server. After setting + * any optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent resource where this test case will be created. Format: + * `projects/{project_number}/apps/{app_id}` + * @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestCase} + * @return the request + */ + public Create create(java.lang.String parent, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestCase content) throws java.io.IOException { + Create result = new Create(parent, content); + initialize(result); + return result; + } + + public class Create extends FirebaseAppDistributionRequest { + + private static final String REST_PATH = "v1alpha/{+parent}/testCases"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/apps/[^/]+$"); + + /** + * Create a new test case. + * + * Create a request for the method "testCases.create". + * + * This request holds the parameters needed by the the firebaseappdistribution server. After + * setting any optional parameters, call the {@link Create#execute()} method to invoke the remote + * operation.

{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. The parent resource where this test case will be created. Format: + * `projects/{project_number}/apps/{app_id}` + * @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestCase} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestCase content) { + super(FirebaseAppDistribution.this, "POST", REST_PATH, content, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestCase.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/apps/[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The parent resource where this test case will be created. Format: + * `projects/{project_number}/apps/{app_id}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent resource where this test case will be created. Format: + `projects/{project_number}/apps/{app_id}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent resource where this test case will be created. Format: + * `projects/{project_number}/apps/{app_id}` + */ + public Create setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/apps/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. The ID to use for the test case, which will become the final component of the + * test case's resource name. This value should be 4-63 characters, and valid characters + * are /a-z-/. + */ + @com.google.api.client.util.Key + private java.lang.String testCaseId; + + /** Optional. The ID to use for the test case, which will become the final component of the test case's + resource name. This value should be 4-63 characters, and valid characters are /a-z-/. + */ + public java.lang.String getTestCaseId() { + return testCaseId; + } + + /** + * Optional. The ID to use for the test case, which will become the final component of the + * test case's resource name. This value should be 4-63 characters, and valid characters + * are /a-z-/. + */ + public Create setTestCaseId(java.lang.String testCaseId) { + this.testCaseId = testCaseId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Delete a test case. + * + * Create a request for the method "testCases.delete". + * + * This request holds the parameters needed by the firebaseappdistribution server. After setting + * any optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the test case resource to delete. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends FirebaseAppDistributionRequest { + + private static final String REST_PATH = "v1alpha/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/apps/[^/]+/testCases/[^/]+$"); + + /** + * Delete a test case. + * + * Create a request for the method "testCases.delete". + * + * This request holds the parameters needed by the the firebaseappdistribution server. After + * setting any optional parameters, call the {@link Delete#execute()} method to invoke the remote + * operation.

{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. The name of the test case resource to delete. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(FirebaseAppDistribution.this, "DELETE", REST_PATH, null, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleProtobufEmpty.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/apps/[^/]+/testCases/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the test case resource to delete. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the test case resource to delete. Format: + `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the test case resource to delete. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + */ + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/apps/[^/]+/testCases/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Get a test case. + * + * Create a request for the method "testCases.get". + * + * This request holds the parameters needed by the firebaseappdistribution server. After setting + * any optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the test case resource to retrieve. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends FirebaseAppDistributionRequest { + + private static final String REST_PATH = "v1alpha/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/apps/[^/]+/testCases/[^/]+$"); + + /** + * Get a test case. + * + * Create a request for the method "testCases.get". + * + * This request holds the parameters needed by the the firebaseappdistribution server. After + * setting any optional parameters, call the {@link Get#execute()} method to invoke the remote + * operation.

{@link + * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. The name of the test case resource to retrieve. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(FirebaseAppDistribution.this, "GET", REST_PATH, null, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestCase.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/apps/[^/]+/testCases/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the test case resource to retrieve. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the test case resource to retrieve. Format: + `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the test case resource to retrieve. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/apps/[^/]+/testCases/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * List test cases. + * + * Create a request for the method "testCases.list". + * + * This request holds the parameters needed by the firebaseappdistribution server. After setting + * any optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent resource from which to list test cases. Format: + * `projects/{project_number}/apps/{app_id}` + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends FirebaseAppDistributionRequest { + + private static final String REST_PATH = "v1alpha/{+parent}/testCases"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/apps/[^/]+$"); + + /** + * List test cases. + * + * Create a request for the method "testCases.list". + * + * This request holds the parameters needed by the the firebaseappdistribution server. After + * setting any optional parameters, call the {@link List#execute()} method to invoke the remote + * operation.

{@link + * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. The parent resource from which to list test cases. Format: + * `projects/{project_number}/apps/{app_id}` + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(FirebaseAppDistribution.this, "GET", REST_PATH, null, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaListTestCasesResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/apps/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The parent resource from which to list test cases. Format: + * `projects/{project_number}/apps/{app_id}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent resource from which to list test cases. Format: + `projects/{project_number}/apps/{app_id}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent resource from which to list test cases. Format: + * `projects/{project_number}/apps/{app_id}` + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/apps/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. The maximum number of test cases to return. The service may return fewer than + * this value. If unspecified, at most 50 test cases will be returned. The maximum value + * is 1000; values above 1000 will be coerced to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of test cases to return. The service may return fewer than this value. + If unspecified, at most 50 test cases will be returned. The maximum value is 1000; values above + 1000 will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of test cases to return. The service may return fewer than + * this value. If unspecified, at most 50 test cases will be returned. The maximum value + * is 1000; values above 1000 will be coerced to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `ListTestCases` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided to + * `ListTestCases` must match the call that provided the page token. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous `ListTestCases` call. Provide this to retrieve the + subsequent page. When paginating, all other parameters provided to `ListTestCases` must match the + call that provided the page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `ListTestCases` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided to + * `ListTestCases` must match the call that provided the page token. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * Update a test case. + * + * Create a request for the method "testCases.patch". + * + * This request holds the parameters needed by the firebaseappdistribution server. After setting + * any optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * + * @param name Identifier. The name of the test case resource. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + * @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestCase} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestCase content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends FirebaseAppDistributionRequest { + + private static final String REST_PATH = "v1alpha/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/apps/[^/]+/testCases/[^/]+$"); + + /** + * Update a test case. + * + * Create a request for the method "testCases.patch". + * + * This request holds the parameters needed by the the firebaseappdistribution server. After + * setting any optional parameters, call the {@link Patch#execute()} method to invoke the remote + * operation.

{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Identifier. The name of the test case resource. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + * @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestCase} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestCase content) { + super(FirebaseAppDistribution.this, "PATCH", REST_PATH, content, com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaTestCase.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/apps/[^/]+/testCases/[^/]+$"); + } + } + + @Override + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); + } + + @Override + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); + } + + @Override + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); + } + + @Override + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); + } + + @Override + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); + } + + @Override + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); + } + + @Override + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); + } + + @Override + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); + } + + @Override + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); + } + + @Override + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); + } + + @Override + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); + } + + /** + * Identifier. The name of the test case resource. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Identifier. The name of the test case resource. Format: + `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The name of the test case resource. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + */ + public Patch setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/apps/[^/]+/testCases/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + + } } /** * An accessor for creating requests from the Testers collection. diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaApp.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaApp.java index 81b13c6570a..e9753d00432 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaApp.java +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaApp.java @@ -17,7 +17,7 @@ package com.google.api.services.firebaseappdistribution.v1alpha.model; /** - * Model definition for GoogleFirebaseAppdistroV1alphaApp. + * An app. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Firebase App Distribution API. For a detailed diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest.java index 3c142de5853..487e17ba935 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest.java +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest.java @@ -17,7 +17,7 @@ package com.google.api.services.firebaseappdistribution.v1alpha.model; /** - * Model definition for GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest. + * The request message for `CreateReleaseNotes`. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Firebase App Distribution API. For a detailed diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse.java index 5374eb69dcc..2d685547062 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse.java +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse.java @@ -17,7 +17,7 @@ package com.google.api.services.firebaseappdistribution.v1alpha.model; /** - * Model definition for GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse. + * The response message for `CreateReleaseNotes`. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Firebase App Distribution API. For a detailed diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest.java index 2cf87859f91..481e4c6b311 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest.java +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest.java @@ -17,7 +17,7 @@ package com.google.api.services.firebaseappdistribution.v1alpha.model; /** - * Model definition for GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest. + * The request message for `EnableAccessOnRelease`. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Firebase App Distribution API. For a detailed diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse.java index 81e07b4ff2f..3ba94d1c496 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse.java +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse.java @@ -17,7 +17,7 @@ package com.google.api.services.firebaseappdistribution.v1alpha.model; /** - * Model definition for GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse. + * The response message for `EnableAccessOnRelease`. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Firebase App Distribution API. For a detailed diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse.java index 70ddccfb01e..8a7f83cfaf0 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse.java +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse.java @@ -17,7 +17,7 @@ package com.google.api.services.firebaseappdistribution.v1alpha.model; /** - * Model definition for GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse. + * The response message for `GetUploadStatus`. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Firebase App Distribution API. For a detailed diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaJwt.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaJwt.java index e0d437e6160..f509cb31197 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaJwt.java +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaJwt.java @@ -17,7 +17,7 @@ package com.google.api.services.firebaseappdistribution.v1alpha.model; /** - * Model definition for GoogleFirebaseAppdistroV1alphaJwt. + * A JWT token. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Firebase App Distribution API. For a detailed @@ -31,12 +31,14 @@ public final class GoogleFirebaseAppdistroV1alphaJwt extends com.google.api.client.json.GenericJson { /** + * The JWT token (three Base64URL-encoded strings joined by dots). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String token; /** + * The JWT token (three Base64URL-encoded strings joined by dots). * @return value or {@code null} for none */ public java.lang.String getToken() { @@ -44,6 +46,7 @@ public java.lang.String getToken() { } /** + * The JWT token (three Base64URL-encoded strings joined by dots). * @param token token or {@code null} for none */ public GoogleFirebaseAppdistroV1alphaJwt setToken(java.lang.String token) { diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaListTestCasesResponse.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaListTestCasesResponse.java new file mode 100644 index 00000000000..4c24940e113 --- /dev/null +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaListTestCasesResponse.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.firebaseappdistribution.v1alpha.model; + +/** + * The response message for `ListTestCases`. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Firebase App Distribution API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleFirebaseAppdistroV1alphaListTestCasesResponse extends com.google.api.client.json.GenericJson { + + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, + * there are no subsequent pages. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The test cases from the specified app. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List testCases; + + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, + * there are no subsequent pages. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, + * there are no subsequent pages. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public GoogleFirebaseAppdistroV1alphaListTestCasesResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The test cases from the specified app. + * @return value or {@code null} for none + */ + public java.util.List getTestCases() { + return testCases; + } + + /** + * The test cases from the specified app. + * @param testCases testCases or {@code null} for none + */ + public GoogleFirebaseAppdistroV1alphaListTestCasesResponse setTestCases(java.util.List testCases) { + this.testCases = testCases; + return this; + } + + @Override + public GoogleFirebaseAppdistroV1alphaListTestCasesResponse set(String fieldName, Object value) { + return (GoogleFirebaseAppdistroV1alphaListTestCasesResponse) super.set(fieldName, value); + } + + @Override + public GoogleFirebaseAppdistroV1alphaListTestCasesResponse clone() { + return (GoogleFirebaseAppdistroV1alphaListTestCasesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaProvisionAppResponse.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaProvisionAppResponse.java index c718bcc5e6c..ab3bba4b7c4 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaProvisionAppResponse.java +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaProvisionAppResponse.java @@ -17,7 +17,7 @@ package com.google.api.services.firebaseappdistribution.v1alpha.model; /** - * Model definition for GoogleFirebaseAppdistroV1alphaProvisionAppResponse. + * The response message for `ProvisionApp`. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Firebase App Distribution API. For a detailed diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaReleaseNotes.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaReleaseNotes.java index a807b777199..0f0a384acef 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaReleaseNotes.java +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaReleaseNotes.java @@ -17,7 +17,7 @@ package com.google.api.services.firebaseappdistribution.v1alpha.model; /** - * Model definition for GoogleFirebaseAppdistroV1alphaReleaseNotes. + * Release notes for a release. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Firebase App Distribution API. For a detailed @@ -31,12 +31,14 @@ public final class GoogleFirebaseAppdistroV1alphaReleaseNotes extends com.google.api.client.json.GenericJson { /** + * The actual release notes text from the user. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String releaseNotes; /** + * The actual release notes text from the user. * @return value or {@code null} for none */ public java.lang.String getReleaseNotes() { @@ -44,6 +46,7 @@ public java.lang.String getReleaseNotes() { } /** + * The actual release notes text from the user. * @param releaseNotes releaseNotes or {@code null} for none */ public GoogleFirebaseAppdistroV1alphaReleaseNotes setReleaseNotes(java.lang.String releaseNotes) { diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaReleaseTest.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaReleaseTest.java index 04daaa568f8..6312925f23d 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaReleaseTest.java +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaReleaseTest.java @@ -80,6 +80,15 @@ public final class GoogleFirebaseAppdistroV1alphaReleaseTest extends com.google. @com.google.api.client.util.Key private java.lang.String name; + /** + * Optional. The test case that was used to generate this release test. Note: The test case may + * have changed or been deleted since the release test was created. Format: + * `projects/{project_number}/apps/{app}/testCases/{test_case}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String testCase; + /** * Output only. The state of the release test. * The value may be {@code null}. @@ -193,6 +202,27 @@ public GoogleFirebaseAppdistroV1alphaReleaseTest setName(java.lang.String name) return this; } + /** + * Optional. The test case that was used to generate this release test. Note: The test case may + * have changed or been deleted since the release test was created. Format: + * `projects/{project_number}/apps/{app}/testCases/{test_case}` + * @return value or {@code null} for none + */ + public java.lang.String getTestCase() { + return testCase; + } + + /** + * Optional. The test case that was used to generate this release test. Note: The test case may + * have changed or been deleted since the release test was created. Format: + * `projects/{project_number}/apps/{app}/testCases/{test_case}` + * @param testCase testCase or {@code null} for none + */ + public GoogleFirebaseAppdistroV1alphaReleaseTest setTestCase(java.lang.String testCase) { + this.testCase = testCase; + return this; + } + /** * Output only. The state of the release test. * @return value or {@code null} for none diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaTestCase.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaTestCase.java new file mode 100644 index 00000000000..32cabbc7ab3 --- /dev/null +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleFirebaseAppdistroV1alphaTestCase.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.firebaseappdistribution.v1alpha.model; + +/** + * AI test cases + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Firebase App Distribution API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleFirebaseAppdistroV1alphaTestCase extends com.google.api.client.json.GenericJson { + + /** + * Optional. Instructions for AI driven test. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleFirebaseAppdistroV1alphaAiInstructions aiInstructions; + + /** + * Required. Display name of the test case. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Identifier. The name of the test case resource. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Optional. Instructions for AI driven test. + * @return value or {@code null} for none + */ + public GoogleFirebaseAppdistroV1alphaAiInstructions getAiInstructions() { + return aiInstructions; + } + + /** + * Optional. Instructions for AI driven test. + * @param aiInstructions aiInstructions or {@code null} for none + */ + public GoogleFirebaseAppdistroV1alphaTestCase setAiInstructions(GoogleFirebaseAppdistroV1alphaAiInstructions aiInstructions) { + this.aiInstructions = aiInstructions; + return this; + } + + /** + * Required. Display name of the test case. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Required. Display name of the test case. + * @param displayName displayName or {@code null} for none + */ + public GoogleFirebaseAppdistroV1alphaTestCase setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Identifier. The name of the test case resource. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The name of the test case resource. Format: + * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` + * @param name name or {@code null} for none + */ + public GoogleFirebaseAppdistroV1alphaTestCase setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleFirebaseAppdistroV1alphaTestCase set(String fieldName, Object value) { + return (GoogleFirebaseAppdistroV1alphaTestCase) super.set(fieldName, value); + } + + @Override + public GoogleFirebaseAppdistroV1alphaTestCase clone() { + return (GoogleFirebaseAppdistroV1alphaTestCase) super.clone(); + } + +} diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleProtobufEmpty.java b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleProtobufEmpty.java new file mode 100644 index 00000000000..cec6a1c2c27 --- /dev/null +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/com/google/api/services/firebaseappdistribution/v1alpha/model/GoogleProtobufEmpty.java @@ -0,0 +1,45 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.firebaseappdistribution.v1alpha.model; + +/** + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your + * APIs. A typical example is to use it as the request or the response type of an API method. For + * instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Firebase App Distribution API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleProtobufEmpty extends com.google.api.client.json.GenericJson { + + @Override + public GoogleProtobufEmpty set(String fieldName, Object value) { + return (GoogleProtobufEmpty) super.set(fieldName, value); + } + + @Override + public GoogleProtobufEmpty clone() { + return (GoogleProtobufEmpty) super.clone(); + } + +} diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/pom.xml b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/pom.xml index 7379b9656b2..0899e265d65 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/pom.xml +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-firebaseappdistribution - v1alpha-rev20241101-2.0.0 - Firebase App Distribution API v1alpha-rev20241101-2.0.0 + v1alpha-rev20241204-2.0.0 + Firebase App Distribution API v1alpha-rev20241204-2.0.0 jar 2011 @@ -90,7 +90,7 @@ Firebase App Distribution API ${project.version} http://docs.oracle.com/javase/7/docs/api - https://googleapis.dev/java/google-http-client/1.45.0/ + https://googleapis.dev/java/google-http-client/1.45.2/ https://googleapis.dev/java/google-oauth-client/1.36.0/ https://googleapis.dev/java/google-api-client/2.7.0/ diff --git a/clients/google-api-services-firebaseappdistribution/v1alpha/README.md b/clients/google-api-services-firebaseappdistribution/v1alpha/README.md index 9baf897d4f0..26207b02c0f 100644 --- a/clients/google-api-services-firebaseappdistribution/v1alpha/README.md +++ b/clients/google-api-services-firebaseappdistribution/v1alpha/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firebaseappdistribution - v1alpha-rev20241101-2.0.0 + v1alpha-rev20241204-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1alpha-rev20241101-2.0.0' + implementation 'com.google.apis:google-api-services-firebaseappdistribution:v1alpha-rev20241204-2.0.0' } ```