From f05cc03dfcb2cc40468e98baa10aa50b7b93448f Mon Sep 17 00:00:00 2001 From: "flank-release[bot]" <73127551+flank-release[bot]@users.noreply.github.com> Date: Mon, 9 Aug 2021 08:12:09 +0200 Subject: [PATCH] [Automatic PR] Firebase API Client update (#2126) --- firebase_apis/json/testing_v1.json | 2 +- .../com/google/testing/model/TestSetup.java | 24 ++++++++++++------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/firebase_apis/json/testing_v1.json b/firebase_apis/json/testing_v1.json index e16a867f1c..bad2236407 100644 --- a/firebase_apis/json/testing_v1.json +++ b/firebase_apis/json/testing_v1.json @@ -1994,7 +1994,7 @@ }, "systrace": { "$ref": "SystraceSetup", - "description": "Systrace configuration for the run. If set a systrace will be taken, starting on test start and lasting for the configured duration. The systrace file thus obtained is put in the results bucket together with the other artifacts from the run." + "description": "Deprecated: Systrace uses Python 2 which has been sunset 2020-01-01. Support of Systrace may stop at any time, at which point no Systrace file will be provided in the results. Systrace configuration for the run. If set a systrace will be taken, starting on test start and lasting for the configured duration. The systrace file thus obtained is put in the results bucket together with the other artifacts from the run." } }, "type": "object" diff --git a/firebase_apis/test_api/src/main/java/com/google/testing/model/TestSetup.java b/firebase_apis/test_api/src/main/java/com/google/testing/model/TestSetup.java index 44cc96502f..dafaacea35 100644 --- a/firebase_apis/test_api/src/main/java/com/google/testing/model/TestSetup.java +++ b/firebase_apis/test_api/src/main/java/com/google/testing/model/TestSetup.java @@ -104,9 +104,11 @@ public final class TestSetup extends com.google.api.client.json.GenericJson { private java.lang.String networkProfile; /** - * Systrace configuration for the run. If set a systrace will be taken, starting on test start and - * lasting for the configured duration. The systrace file thus obtained is put in the results - * bucket together with the other artifacts from the run. + * Deprecated: Systrace uses Python 2 which has been sunset 2020-01-01. Support of Systrace may + * stop at any time, at which point no Systrace file will be provided in the results. Systrace + * configuration for the run. If set a systrace will be taken, starting on test start and lasting + * for the configured duration. The systrace file thus obtained is put in the results bucket + * together with the other artifacts from the run. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -246,9 +248,11 @@ public TestSetup setNetworkProfile(java.lang.String networkProfile) { } /** - * Systrace configuration for the run. If set a systrace will be taken, starting on test start and - * lasting for the configured duration. The systrace file thus obtained is put in the results - * bucket together with the other artifacts from the run. + * Deprecated: Systrace uses Python 2 which has been sunset 2020-01-01. Support of Systrace may + * stop at any time, at which point no Systrace file will be provided in the results. Systrace + * configuration for the run. If set a systrace will be taken, starting on test start and lasting + * for the configured duration. The systrace file thus obtained is put in the results bucket + * together with the other artifacts from the run. * @return value or {@code null} for none */ public SystraceSetup getSystrace() { @@ -256,9 +260,11 @@ public SystraceSetup getSystrace() { } /** - * Systrace configuration for the run. If set a systrace will be taken, starting on test start and - * lasting for the configured duration. The systrace file thus obtained is put in the results - * bucket together with the other artifacts from the run. + * Deprecated: Systrace uses Python 2 which has been sunset 2020-01-01. Support of Systrace may + * stop at any time, at which point no Systrace file will be provided in the results. Systrace + * configuration for the run. If set a systrace will be taken, starting on test start and lasting + * for the configured duration. The systrace file thus obtained is put in the results bucket + * together with the other artifacts from the run. * @param systrace systrace or {@code null} for none */ public TestSetup setSystrace(SystraceSetup systrace) {