Skip to content

Commit

Permalink
feat(testing): update the api
Browse files Browse the repository at this point in the history
#### testing:v1

The following keys were added:
- schemas.TestSetup.properties.initialSetupApks (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Nov 7, 2023
1 parent 6651a85 commit 5b59e9b
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 1 deletion.
48 changes: 48 additions & 0 deletions docs/dyn/testing_v1.projects.testMatrices.html
Expand Up @@ -416,6 +416,14 @@ <h3>Method Details</h3>
},
},
],
&quot;initialSetupApks&quot;: [ # Optional. Initial setup APKs to install before the app under test is installed. Currently capped at 100.
{ # An Android package file to install.
&quot;location&quot;: { # A reference to a file, used for user inputs. # The path to an APK to be installed on the device before the test begins.
&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)
},
&quot;packageName&quot;: &quot;A String&quot;, # The java package for the APK to be installed. Value is determined by examining the application&#x27;s manifest.
},
],
&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.
&quot;systrace&quot;: { # Systrace configuration for the run. Deprecated: Systrace used Python 2 which was sunsetted on 2020-01-01. Systrace is no longer supported in the Cloud Testing API, and no Systrace file will be provided in the results.
&quot;durationSeconds&quot;: 42, # Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.
Expand Down Expand Up @@ -625,6 +633,14 @@ <h3>Method Details</h3>
},
},
],
&quot;initialSetupApks&quot;: [ # Optional. Initial setup APKs to install before the app under test is installed. Currently capped at 100.
{ # An Android package file to install.
&quot;location&quot;: { # A reference to a file, used for user inputs. # The path to an APK to be installed on the device before the test begins.
&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)
},
&quot;packageName&quot;: &quot;A String&quot;, # The java package for the APK to be installed. Value is determined by examining the application&#x27;s manifest.
},
],
&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.
&quot;systrace&quot;: { # Systrace configuration for the run. Deprecated: Systrace used Python 2 which was sunsetted on 2020-01-01. Systrace is no longer supported in the Cloud Testing API, and no Systrace file will be provided in the results.
&quot;durationSeconds&quot;: 42, # Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.
Expand Down Expand Up @@ -939,6 +955,14 @@ <h3>Method Details</h3>
},
},
],
&quot;initialSetupApks&quot;: [ # Optional. Initial setup APKs to install before the app under test is installed. Currently capped at 100.
{ # An Android package file to install.
&quot;location&quot;: { # A reference to a file, used for user inputs. # The path to an APK to be installed on the device before the test begins.
&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)
},
&quot;packageName&quot;: &quot;A String&quot;, # The java package for the APK to be installed. Value is determined by examining the application&#x27;s manifest.
},
],
&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.
&quot;systrace&quot;: { # Systrace configuration for the run. Deprecated: Systrace used Python 2 which was sunsetted on 2020-01-01. Systrace is no longer supported in the Cloud Testing API, and no Systrace file will be provided in the results.
&quot;durationSeconds&quot;: 42, # Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.
Expand Down Expand Up @@ -1148,6 +1172,14 @@ <h3>Method Details</h3>
},
},
],
&quot;initialSetupApks&quot;: [ # Optional. Initial setup APKs to install before the app under test is installed. Currently capped at 100.
{ # An Android package file to install.
&quot;location&quot;: { # A reference to a file, used for user inputs. # The path to an APK to be installed on the device before the test begins.
&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)
},
&quot;packageName&quot;: &quot;A String&quot;, # The java package for the APK to be installed. Value is determined by examining the application&#x27;s manifest.
},
],
&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.
&quot;systrace&quot;: { # Systrace configuration for the run. Deprecated: Systrace used Python 2 which was sunsetted on 2020-01-01. Systrace is no longer supported in the Cloud Testing API, and no Systrace file will be provided in the results.
&quot;durationSeconds&quot;: 42, # Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.
Expand Down Expand Up @@ -1469,6 +1501,14 @@ <h3>Method Details</h3>
},
},
],
&quot;initialSetupApks&quot;: [ # Optional. Initial setup APKs to install before the app under test is installed. Currently capped at 100.
{ # An Android package file to install.
&quot;location&quot;: { # A reference to a file, used for user inputs. # The path to an APK to be installed on the device before the test begins.
&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)
},
&quot;packageName&quot;: &quot;A String&quot;, # The java package for the APK to be installed. Value is determined by examining the application&#x27;s manifest.
},
],
&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.
&quot;systrace&quot;: { # Systrace configuration for the run. Deprecated: Systrace used Python 2 which was sunsetted on 2020-01-01. Systrace is no longer supported in the Cloud Testing API, and no Systrace file will be provided in the results.
&quot;durationSeconds&quot;: 42, # Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.
Expand Down Expand Up @@ -1678,6 +1718,14 @@ <h3>Method Details</h3>
},
},
],
&quot;initialSetupApks&quot;: [ # Optional. Initial setup APKs to install before the app under test is installed. Currently capped at 100.
{ # An Android package file to install.
&quot;location&quot;: { # A reference to a file, used for user inputs. # The path to an APK to be installed on the device before the test begins.
&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)
},
&quot;packageName&quot;: &quot;A String&quot;, # The java package for the APK to be installed. Value is determined by examining the application&#x27;s manifest.
},
],
&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.
&quot;systrace&quot;: { # Systrace configuration for the run. Deprecated: Systrace used Python 2 which was sunsetted on 2020-01-01. Systrace is no longer supported in the Cloud Testing API, and no Systrace file will be provided in the results.
&quot;durationSeconds&quot;: 42, # Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.
Expand Down
9 changes: 8 additions & 1 deletion googleapiclient/discovery_cache/documents/testing.v1.json
Expand Up @@ -442,7 +442,7 @@
}
}
},
"revision": "20231023",
"revision": "20231031",
"rootUrl": "https://testing.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -2564,6 +2564,13 @@
},
"type": "array"
},
"initialSetupApks": {
"description": "Optional. Initial setup APKs to install before the app under test is installed. Currently capped at 100.",
"items": {
"$ref": "Apk"
},
"type": "array"
},
"networkProfile": {
"description": "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.",
"type": "string"
Expand Down

0 comments on commit 5b59e9b

Please sign in to comment.