Skip to content

Commit e2bde19

Browse files
feat(testing): update the api
#### testing:v1 The following keys were added: - schemas.AndroidRoboTest.properties.roboMode.type (Total Keys: 1)
1 parent e5ed441 commit e2bde19

File tree

2 files changed

+28
-8
lines changed

2 files changed

+28
-8
lines changed

docs/dyn/testing_v1.projects.testMatrices.html

+12-6
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ <h3>Method Details</h3>
278278
&quot;resourceName&quot;: &quot;A String&quot;, # Required. The android resource name of the target UI element. For example, in Java: R.string.foo in xml: @string/foo Only the &quot;foo&quot; part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html
279279
},
280280
],
281+
&quot;roboMode&quot;: &quot;A String&quot;, # The mode in which Robo should run. Most clients should allow the server to populate this field automatically.
281282
&quot;roboScript&quot;: { # A reference to a file, used for user inputs. # A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.
282283
&quot;gcsPath&quot;: &quot;A String&quot;, # A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding)
283284
},
@@ -401,7 +402,7 @@ <h3>Method Details</h3>
401402
},
402403
],
403404
&quot;networkProfile&quot;: &quot;A String&quot;, # The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.
404-
&quot;systrace&quot;: { # 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.
405+
&quot;systrace&quot;: { # 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.
405406
&quot;durationSeconds&quot;: 42, # Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.
406407
},
407408
},
@@ -472,6 +473,7 @@ <h3>Method Details</h3>
472473
&quot;resourceName&quot;: &quot;A String&quot;, # Required. The android resource name of the target UI element. For example, in Java: R.string.foo in xml: @string/foo Only the &quot;foo&quot; part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html
473474
},
474475
],
476+
&quot;roboMode&quot;: &quot;A String&quot;, # The mode in which Robo should run. Most clients should allow the server to populate this field automatically.
475477
&quot;roboScript&quot;: { # A reference to a file, used for user inputs. # A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.
476478
&quot;gcsPath&quot;: &quot;A String&quot;, # A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding)
477479
},
@@ -595,7 +597,7 @@ <h3>Method Details</h3>
595597
},
596598
],
597599
&quot;networkProfile&quot;: &quot;A String&quot;, # The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.
598-
&quot;systrace&quot;: { # 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.
600+
&quot;systrace&quot;: { # 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.
599601
&quot;durationSeconds&quot;: 42, # Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.
600602
},
601603
},
@@ -770,6 +772,7 @@ <h3>Method Details</h3>
770772
&quot;resourceName&quot;: &quot;A String&quot;, # Required. The android resource name of the target UI element. For example, in Java: R.string.foo in xml: @string/foo Only the &quot;foo&quot; part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html
771773
},
772774
],
775+
&quot;roboMode&quot;: &quot;A String&quot;, # The mode in which Robo should run. Most clients should allow the server to populate this field automatically.
773776
&quot;roboScript&quot;: { # A reference to a file, used for user inputs. # A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.
774777
&quot;gcsPath&quot;: &quot;A String&quot;, # A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding)
775778
},
@@ -893,7 +896,7 @@ <h3>Method Details</h3>
893896
},
894897
],
895898
&quot;networkProfile&quot;: &quot;A String&quot;, # The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.
896-
&quot;systrace&quot;: { # 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.
899+
&quot;systrace&quot;: { # 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.
897900
&quot;durationSeconds&quot;: 42, # Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.
898901
},
899902
},
@@ -964,6 +967,7 @@ <h3>Method Details</h3>
964967
&quot;resourceName&quot;: &quot;A String&quot;, # Required. The android resource name of the target UI element. For example, in Java: R.string.foo in xml: @string/foo Only the &quot;foo&quot; part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html
965968
},
966969
],
970+
&quot;roboMode&quot;: &quot;A String&quot;, # The mode in which Robo should run. Most clients should allow the server to populate this field automatically.
967971
&quot;roboScript&quot;: { # A reference to a file, used for user inputs. # A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.
968972
&quot;gcsPath&quot;: &quot;A String&quot;, # A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding)
969973
},
@@ -1087,7 +1091,7 @@ <h3>Method Details</h3>
10871091
},
10881092
],
10891093
&quot;networkProfile&quot;: &quot;A String&quot;, # The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.
1090-
&quot;systrace&quot;: { # 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.
1094+
&quot;systrace&quot;: { # 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.
10911095
&quot;durationSeconds&quot;: 42, # Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.
10921096
},
10931097
},
@@ -1269,6 +1273,7 @@ <h3>Method Details</h3>
12691273
&quot;resourceName&quot;: &quot;A String&quot;, # Required. The android resource name of the target UI element. For example, in Java: R.string.foo in xml: @string/foo Only the &quot;foo&quot; part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html
12701274
},
12711275
],
1276+
&quot;roboMode&quot;: &quot;A String&quot;, # The mode in which Robo should run. Most clients should allow the server to populate this field automatically.
12721277
&quot;roboScript&quot;: { # A reference to a file, used for user inputs. # A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.
12731278
&quot;gcsPath&quot;: &quot;A String&quot;, # A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding)
12741279
},
@@ -1392,7 +1397,7 @@ <h3>Method Details</h3>
13921397
},
13931398
],
13941399
&quot;networkProfile&quot;: &quot;A String&quot;, # The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.
1395-
&quot;systrace&quot;: { # 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.
1400+
&quot;systrace&quot;: { # 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.
13961401
&quot;durationSeconds&quot;: 42, # Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.
13971402
},
13981403
},
@@ -1463,6 +1468,7 @@ <h3>Method Details</h3>
14631468
&quot;resourceName&quot;: &quot;A String&quot;, # Required. The android resource name of the target UI element. For example, in Java: R.string.foo in xml: @string/foo Only the &quot;foo&quot; part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html
14641469
},
14651470
],
1471+
&quot;roboMode&quot;: &quot;A String&quot;, # The mode in which Robo should run. Most clients should allow the server to populate this field automatically.
14661472
&quot;roboScript&quot;: { # A reference to a file, used for user inputs. # A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.
14671473
&quot;gcsPath&quot;: &quot;A String&quot;, # A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding)
14681474
},
@@ -1586,7 +1592,7 @@ <h3>Method Details</h3>
15861592
},
15871593
],
15881594
&quot;networkProfile&quot;: &quot;A String&quot;, # The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.
1589-
&quot;systrace&quot;: { # 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.
1595+
&quot;systrace&quot;: { # 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.
15901596
&quot;durationSeconds&quot;: 42, # Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.
15911597
},
15921598
},

googleapiclient/discovery_cache/documents/testing.v1.json

+16-2
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@
282282
}
283283
}
284284
},
285-
"revision": "20210625",
285+
"revision": "20210713",
286286
"rootUrl": "https://testing.googleapis.com/",
287287
"schemas": {
288288
"Account": {
@@ -589,6 +589,20 @@
589589
},
590590
"type": "array"
591591
},
592+
"roboMode": {
593+
"description": "The mode in which Robo should run. Most clients should allow the server to populate this field automatically.",
594+
"enum": [
595+
"ROBO_MODE_UNSPECIFIED",
596+
"ROBO_VERSION_1",
597+
"ROBO_VERSION_2"
598+
],
599+
"enumDescriptions": [
600+
"LINT.IfChange This means that the server should choose the mode. Recommended.",
601+
"Runs Robo in UIAutomator-only mode without app resigning",
602+
"Runs Robo in standard Espresso with UIAutomator fallback"
603+
],
604+
"type": "string"
605+
},
592606
"roboScript": {
593607
"$ref": "FileReference",
594608
"description": "A JSON file with a sequence of actions Robo should perform as a prologue for the crawl."
@@ -1980,7 +1994,7 @@
19801994
},
19811995
"systrace": {
19821996
"$ref": "SystraceSetup",
1983-
"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."
1997+
"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."
19841998
}
19851999
},
19862000
"type": "object"

0 commit comments

Comments
 (0)