@maxim_mazurok/gapi.client.testing-v1 0.1.20260310 → 0.2.20260313
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +183 -49
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://testing.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260313
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -58,7 +58,10 @@ declare namespace gapi.client {
|
|
|
58
58
|
/** The java package for the application under test. The default value is determined by examining the application's manifest. */
|
|
59
59
|
appPackageId?: string;
|
|
60
60
|
/** The option of whether running each test within its own invocation of instrumentation with Android Test Orchestrator or not. ** Orchestrator is only compatible with AndroidJUnitRunner version 1.1 or higher! ** Orchestrator offers the following benefits: - No shared state - Crashes are isolated - Logs are scoped per test See for more information about Android Test Orchestrator. If not set, the test will be run without the orchestrator. */
|
|
61
|
-
orchestratorOption?:
|
|
61
|
+
orchestratorOption?:
|
|
62
|
+
| 'ORCHESTRATOR_OPTION_UNSPECIFIED'
|
|
63
|
+
| 'USE_ORCHESTRATOR'
|
|
64
|
+
| 'DO_NOT_USE_ORCHESTRATOR';
|
|
62
65
|
/** The option to run tests in multiple shards in parallel. */
|
|
63
66
|
shardingOption?: ShardingOption;
|
|
64
67
|
/** Required. The APK containing the test code to be executed. */
|
|
@@ -82,15 +85,25 @@ declare namespace gapi.client {
|
|
|
82
85
|
}
|
|
83
86
|
interface AndroidModel {
|
|
84
87
|
/** Reasons for access denial. This model is accessible if this list is empty, otherwise the model is viewable only. */
|
|
85
|
-
accessDeniedReasons?:
|
|
88
|
+
accessDeniedReasons?:
|
|
89
|
+
| 'ACCESS_DENIED_REASON_UNSPECIFIED'
|
|
90
|
+
| 'EULA_NOT_ACCEPTED'[];
|
|
86
91
|
/** The company that this device is branded with. Example: "Google", "Samsung". */
|
|
87
92
|
brand?: string;
|
|
88
93
|
/** The name of the industrial design. This corresponds to android.os.Build.DEVICE. */
|
|
89
94
|
codename?: string;
|
|
90
95
|
/** Whether this device is virtual or physical. */
|
|
91
|
-
form?:
|
|
96
|
+
form?: 'DEVICE_FORM_UNSPECIFIED' | 'VIRTUAL' | 'PHYSICAL' | 'EMULATOR';
|
|
92
97
|
/** Whether this device is a phone, tablet, wearable, etc. */
|
|
93
|
-
formFactor?:
|
|
98
|
+
formFactor?:
|
|
99
|
+
| 'DEVICE_FORM_FACTOR_UNSPECIFIED'
|
|
100
|
+
| 'PHONE'
|
|
101
|
+
| 'TABLET'
|
|
102
|
+
| 'WEARABLE'
|
|
103
|
+
| 'TV'
|
|
104
|
+
| 'AUTOMOTIVE'
|
|
105
|
+
| 'DESKTOP'
|
|
106
|
+
| 'XR';
|
|
94
107
|
/** The unique opaque id for this model. Use this for invoking the TestExecutionService. */
|
|
95
108
|
id?: string;
|
|
96
109
|
/** Output only. Lab info of this device. */
|
|
@@ -134,7 +147,7 @@ declare namespace gapi.client {
|
|
|
134
147
|
/** A set of directives Robo should apply during the crawl. This allows users to customize the crawl. For example, the username and password for a test account can be provided. */
|
|
135
148
|
roboDirectives?: RoboDirective[];
|
|
136
149
|
/** The mode in which Robo should run. Most clients should allow the server to populate this field automatically. */
|
|
137
|
-
roboMode?:
|
|
150
|
+
roboMode?: 'ROBO_MODE_UNSPECIFIED' | 'ROBO_VERSION_1' | 'ROBO_VERSION_2';
|
|
138
151
|
/** A JSON file with a sequence of actions Robo should perform as a prologue for the crawl. */
|
|
139
152
|
roboScript?: FileReference;
|
|
140
153
|
/** The intents used to launch the app for the crawl. If none are provided, then the main launcher activity is launched. If some are provided, then only those provided are launched (the main launcher activity must be provided explicitly). */
|
|
@@ -222,7 +235,18 @@ declare namespace gapi.client {
|
|
|
222
235
|
interface CancelDeviceSessionRequest {}
|
|
223
236
|
interface CancelTestMatrixResponse {
|
|
224
237
|
/** The current rolled-up state of the test matrix. If this state is already final, then the cancelation request will have no effect. */
|
|
225
|
-
testState?:
|
|
238
|
+
testState?:
|
|
239
|
+
| 'TEST_STATE_UNSPECIFIED'
|
|
240
|
+
| 'VALIDATING'
|
|
241
|
+
| 'PENDING'
|
|
242
|
+
| 'RUNNING'
|
|
243
|
+
| 'FINISHED'
|
|
244
|
+
| 'ERROR'
|
|
245
|
+
| 'UNSUPPORTED_ENVIRONMENT'
|
|
246
|
+
| 'INCOMPATIBLE_ENVIRONMENT'
|
|
247
|
+
| 'INCOMPATIBLE_ARCHITECTURE'
|
|
248
|
+
| 'CANCELLED'
|
|
249
|
+
| 'INVALID';
|
|
226
250
|
}
|
|
227
251
|
interface ClientInfo {
|
|
228
252
|
/** The list of detailed information about client. */
|
|
@@ -256,7 +280,7 @@ declare namespace gapi.client {
|
|
|
256
280
|
/** An IP address block in CIDR notation eg: 34.68.194.64/29 */
|
|
257
281
|
block?: string;
|
|
258
282
|
/** Whether this block is used by physical or virtual devices */
|
|
259
|
-
form?:
|
|
283
|
+
form?: 'DEVICE_FORM_UNSPECIFIED' | 'VIRTUAL' | 'PHYSICAL' | 'EMULATOR';
|
|
260
284
|
}
|
|
261
285
|
interface DeviceIpBlockCatalog {
|
|
262
286
|
/** The device IP blocks used by Firebase Test Lab */
|
|
@@ -278,7 +302,15 @@ declare namespace gapi.client {
|
|
|
278
302
|
/** Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}" */
|
|
279
303
|
name?: string;
|
|
280
304
|
/** Output only. Current state of the DeviceSession. */
|
|
281
|
-
state?:
|
|
305
|
+
state?:
|
|
306
|
+
| 'SESSION_STATE_UNSPECIFIED'
|
|
307
|
+
| 'REQUESTED'
|
|
308
|
+
| 'PENDING'
|
|
309
|
+
| 'ACTIVE'
|
|
310
|
+
| 'EXPIRED'
|
|
311
|
+
| 'FINISHED'
|
|
312
|
+
| 'UNAVAILABLE'
|
|
313
|
+
| 'ERROR';
|
|
282
314
|
/** Output only. The historical state transitions of the session_state message including the current session state. */
|
|
283
315
|
stateHistories?: SessionStateEvent[];
|
|
284
316
|
/** Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes. */
|
|
@@ -374,7 +406,15 @@ declare namespace gapi.client {
|
|
|
374
406
|
/** Device capabilities. Copied from https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html */
|
|
375
407
|
deviceCapabilities?: string[];
|
|
376
408
|
/** Whether this device is a phone, tablet, wearable, etc. */
|
|
377
|
-
formFactor?:
|
|
409
|
+
formFactor?:
|
|
410
|
+
| 'DEVICE_FORM_FACTOR_UNSPECIFIED'
|
|
411
|
+
| 'PHONE'
|
|
412
|
+
| 'TABLET'
|
|
413
|
+
| 'WEARABLE'
|
|
414
|
+
| 'TV'
|
|
415
|
+
| 'AUTOMOTIVE'
|
|
416
|
+
| 'DESKTOP'
|
|
417
|
+
| 'XR';
|
|
378
418
|
/** The unique opaque id for this model. Use this for invoking the TestExecutionService. */
|
|
379
419
|
id?: string;
|
|
380
420
|
/** The human-readable name for this device model. Examples: "iPhone 4s", "iPad Mini 2". */
|
|
@@ -515,7 +555,12 @@ declare namespace gapi.client {
|
|
|
515
555
|
}
|
|
516
556
|
interface PerAndroidVersionInfo {
|
|
517
557
|
/** The number of online devices for an Android version. */
|
|
518
|
-
deviceCapacity?:
|
|
558
|
+
deviceCapacity?:
|
|
559
|
+
| 'DEVICE_CAPACITY_UNSPECIFIED'
|
|
560
|
+
| 'DEVICE_CAPACITY_HIGH'
|
|
561
|
+
| 'DEVICE_CAPACITY_MEDIUM'
|
|
562
|
+
| 'DEVICE_CAPACITY_LOW'
|
|
563
|
+
| 'DEVICE_CAPACITY_NONE';
|
|
519
564
|
/** Output only. Identifies supported clients for DirectAccess for this Android version. */
|
|
520
565
|
directAccessVersionInfo?: DirectAccessVersionInfo;
|
|
521
566
|
/** Output only. The estimated wait time for a single interactive device session using Direct Access. */
|
|
@@ -525,7 +570,12 @@ declare namespace gapi.client {
|
|
|
525
570
|
}
|
|
526
571
|
interface PerIosVersionInfo {
|
|
527
572
|
/** The number of online devices for an iOS version. */
|
|
528
|
-
deviceCapacity?:
|
|
573
|
+
deviceCapacity?:
|
|
574
|
+
| 'DEVICE_CAPACITY_UNSPECIFIED'
|
|
575
|
+
| 'DEVICE_CAPACITY_HIGH'
|
|
576
|
+
| 'DEVICE_CAPACITY_MEDIUM'
|
|
577
|
+
| 'DEVICE_CAPACITY_LOW'
|
|
578
|
+
| 'DEVICE_CAPACITY_NONE';
|
|
529
579
|
/** An iOS version. */
|
|
530
580
|
versionId?: string;
|
|
531
581
|
}
|
|
@@ -553,7 +603,11 @@ declare namespace gapi.client {
|
|
|
553
603
|
}
|
|
554
604
|
interface RoboDirective {
|
|
555
605
|
/** Required. The type of action that Robo should perform on the specified element. */
|
|
556
|
-
actionType?:
|
|
606
|
+
actionType?:
|
|
607
|
+
| 'ACTION_TYPE_UNSPECIFIED'
|
|
608
|
+
| 'SINGLE_CLICK'
|
|
609
|
+
| 'ENTER_TEXT'
|
|
610
|
+
| 'IGNORE';
|
|
557
611
|
/** The text that Robo is directed to set. If left empty, the directive will be treated as a CLICK on the element matching the resource_name. */
|
|
558
612
|
inputText?: string;
|
|
559
613
|
/** Required. The android resource name of the target UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html */
|
|
@@ -579,7 +633,15 @@ declare namespace gapi.client {
|
|
|
579
633
|
/** Output only. The time that the session_state first encountered that state. */
|
|
580
634
|
eventTime?: string;
|
|
581
635
|
/** Output only. The session_state tracked by this event */
|
|
582
|
-
sessionState?:
|
|
636
|
+
sessionState?:
|
|
637
|
+
| 'SESSION_STATE_UNSPECIFIED'
|
|
638
|
+
| 'REQUESTED'
|
|
639
|
+
| 'PENDING'
|
|
640
|
+
| 'ACTIVE'
|
|
641
|
+
| 'EXPIRED'
|
|
642
|
+
| 'FINISHED'
|
|
643
|
+
| 'UNAVAILABLE'
|
|
644
|
+
| 'ERROR';
|
|
583
645
|
/** Output only. A human-readable message to explain the state. */
|
|
584
646
|
stateMessage?: string;
|
|
585
647
|
}
|
|
@@ -647,7 +709,18 @@ declare namespace gapi.client {
|
|
|
647
709
|
/** Output only. Details about the shard. */
|
|
648
710
|
shard?: Shard;
|
|
649
711
|
/** Output only. Indicates the current progress of the test execution (e.g., FINISHED). */
|
|
650
|
-
state?:
|
|
712
|
+
state?:
|
|
713
|
+
| 'TEST_STATE_UNSPECIFIED'
|
|
714
|
+
| 'VALIDATING'
|
|
715
|
+
| 'PENDING'
|
|
716
|
+
| 'RUNNING'
|
|
717
|
+
| 'FINISHED'
|
|
718
|
+
| 'ERROR'
|
|
719
|
+
| 'UNSUPPORTED_ENVIRONMENT'
|
|
720
|
+
| 'INCOMPATIBLE_ENVIRONMENT'
|
|
721
|
+
| 'INCOMPATIBLE_ARCHITECTURE'
|
|
722
|
+
| 'CANCELLED'
|
|
723
|
+
| 'INVALID';
|
|
651
724
|
/** Output only. Additional details about the running test. */
|
|
652
725
|
testDetails?: TestDetails;
|
|
653
726
|
/** Output only. How to run the test. */
|
|
@@ -669,15 +742,70 @@ declare namespace gapi.client {
|
|
|
669
742
|
/** The number of times a TestExecution should be re-attempted if one or more of its test cases fail for any reason. The maximum number of reruns allowed is 10. Default is 0, which implies no reruns. */
|
|
670
743
|
flakyTestAttempts?: number;
|
|
671
744
|
/** Output only. Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state. */
|
|
672
|
-
invalidMatrixDetails?:
|
|
745
|
+
invalidMatrixDetails?:
|
|
746
|
+
| 'INVALID_MATRIX_DETAILS_UNSPECIFIED'
|
|
747
|
+
| 'DETAILS_UNAVAILABLE'
|
|
748
|
+
| 'MALFORMED_APK'
|
|
749
|
+
| 'MALFORMED_TEST_APK'
|
|
750
|
+
| 'NO_MANIFEST'
|
|
751
|
+
| 'NO_PACKAGE_NAME'
|
|
752
|
+
| 'INVALID_PACKAGE_NAME'
|
|
753
|
+
| 'TEST_SAME_AS_APP'
|
|
754
|
+
| 'NO_INSTRUMENTATION'
|
|
755
|
+
| 'NO_SIGNATURE'
|
|
756
|
+
| 'INSTRUMENTATION_ORCHESTRATOR_INCOMPATIBLE'
|
|
757
|
+
| 'NO_TEST_RUNNER_CLASS'
|
|
758
|
+
| 'NO_LAUNCHER_ACTIVITY'
|
|
759
|
+
| 'FORBIDDEN_PERMISSIONS'
|
|
760
|
+
| 'INVALID_ROBO_DIRECTIVES'
|
|
761
|
+
| 'INVALID_RESOURCE_NAME'
|
|
762
|
+
| 'INVALID_DIRECTIVE_ACTION'
|
|
763
|
+
| 'TEST_LOOP_INTENT_FILTER_NOT_FOUND'
|
|
764
|
+
| 'SCENARIO_LABEL_NOT_DECLARED'
|
|
765
|
+
| 'SCENARIO_LABEL_MALFORMED'
|
|
766
|
+
| 'SCENARIO_NOT_DECLARED'
|
|
767
|
+
| 'DEVICE_ADMIN_RECEIVER'
|
|
768
|
+
| 'MALFORMED_XC_TEST_ZIP'
|
|
769
|
+
| 'BUILT_FOR_IOS_SIMULATOR'
|
|
770
|
+
| 'NO_TESTS_IN_XC_TEST_ZIP'
|
|
771
|
+
| 'USE_DESTINATION_ARTIFACTS'
|
|
772
|
+
| 'TEST_NOT_APP_HOSTED'
|
|
773
|
+
| 'PLIST_CANNOT_BE_PARSED'
|
|
774
|
+
| 'TEST_ONLY_APK'
|
|
775
|
+
| 'MALFORMED_IPA'
|
|
776
|
+
| 'MISSING_URL_SCHEME'
|
|
777
|
+
| 'MALFORMED_APP_BUNDLE'
|
|
778
|
+
| 'NO_CODE_APK'
|
|
779
|
+
| 'INVALID_INPUT_APK'
|
|
780
|
+
| 'INVALID_APK_PREVIEW_SDK'
|
|
781
|
+
| 'MATRIX_TOO_LARGE'
|
|
782
|
+
| 'TEST_QUOTA_EXCEEDED'
|
|
783
|
+
| 'SERVICE_NOT_ACTIVATED'
|
|
784
|
+
| 'UNKNOWN_PERMISSION_ERROR';
|
|
673
785
|
/** Output Only. The overall outcome of the test. Only set when the test matrix state is FINISHED. */
|
|
674
|
-
outcomeSummary?:
|
|
786
|
+
outcomeSummary?:
|
|
787
|
+
| 'OUTCOME_SUMMARY_UNSPECIFIED'
|
|
788
|
+
| 'SUCCESS'
|
|
789
|
+
| 'FAILURE'
|
|
790
|
+
| 'INCONCLUSIVE'
|
|
791
|
+
| 'SKIPPED';
|
|
675
792
|
/** The cloud project that owns the test matrix. */
|
|
676
793
|
projectId?: string;
|
|
677
794
|
/** Required. Where the results for the matrix are written. */
|
|
678
795
|
resultStorage?: ResultStorage;
|
|
679
796
|
/** Output only. Indicates the current progress of the test matrix. */
|
|
680
|
-
state?:
|
|
797
|
+
state?:
|
|
798
|
+
| 'TEST_STATE_UNSPECIFIED'
|
|
799
|
+
| 'VALIDATING'
|
|
800
|
+
| 'PENDING'
|
|
801
|
+
| 'RUNNING'
|
|
802
|
+
| 'FINISHED'
|
|
803
|
+
| 'ERROR'
|
|
804
|
+
| 'UNSUPPORTED_ENVIRONMENT'
|
|
805
|
+
| 'INCOMPATIBLE_ENVIRONMENT'
|
|
806
|
+
| 'INCOMPATIBLE_ARCHITECTURE'
|
|
807
|
+
| 'CANCELLED'
|
|
808
|
+
| 'INVALID';
|
|
681
809
|
/** Output only. The list of test executions that the service creates for this matrix. */
|
|
682
810
|
testExecutions?: TestExecution[];
|
|
683
811
|
/** Output only. Unique id set by the service. */
|
|
@@ -797,11 +925,11 @@ declare namespace gapi.client {
|
|
|
797
925
|
/** Gets the details of an Android application APK. */
|
|
798
926
|
getApkDetails(request: {
|
|
799
927
|
/** V1 error format. */
|
|
800
|
-
'$.xgafv'?:
|
|
928
|
+
'$.xgafv'?: '1' | '2';
|
|
801
929
|
/** OAuth access token. */
|
|
802
930
|
access_token?: string;
|
|
803
931
|
/** Data format for response. */
|
|
804
|
-
alt?:
|
|
932
|
+
alt?: 'json' | 'media' | 'proto';
|
|
805
933
|
/** 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) */
|
|
806
934
|
'bundleLocation.gcsPath'?: string;
|
|
807
935
|
/** JSONP */
|
|
@@ -826,11 +954,11 @@ declare namespace gapi.client {
|
|
|
826
954
|
getApkDetails(
|
|
827
955
|
request: {
|
|
828
956
|
/** V1 error format. */
|
|
829
|
-
'$.xgafv'?:
|
|
957
|
+
'$.xgafv'?: '1' | '2';
|
|
830
958
|
/** OAuth access token. */
|
|
831
959
|
access_token?: string;
|
|
832
960
|
/** Data format for response. */
|
|
833
|
-
alt?:
|
|
961
|
+
alt?: 'json' | 'media' | 'proto';
|
|
834
962
|
/** 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) */
|
|
835
963
|
'bundleLocation.gcsPath'?: string;
|
|
836
964
|
/** JSONP */
|
|
@@ -857,11 +985,11 @@ declare namespace gapi.client {
|
|
|
857
985
|
/** POST /v1/projects/{project_id}/deviceSessions/{device_session_id}:cancel Changes the DeviceSession to state FINISHED and terminates all connections. Canceled sessions are not deleted and can be retrieved or listed by the user until they expire based on the 28 day deletion policy. */
|
|
858
986
|
cancel(request: {
|
|
859
987
|
/** V1 error format. */
|
|
860
|
-
'$.xgafv'?:
|
|
988
|
+
'$.xgafv'?: '1' | '2';
|
|
861
989
|
/** OAuth access token. */
|
|
862
990
|
access_token?: string;
|
|
863
991
|
/** Data format for response. */
|
|
864
|
-
alt?:
|
|
992
|
+
alt?: 'json' | 'media' | 'proto';
|
|
865
993
|
/** JSONP */
|
|
866
994
|
callback?: string;
|
|
867
995
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -886,11 +1014,11 @@ declare namespace gapi.client {
|
|
|
886
1014
|
cancel(
|
|
887
1015
|
request: {
|
|
888
1016
|
/** V1 error format. */
|
|
889
|
-
'$.xgafv'?:
|
|
1017
|
+
'$.xgafv'?: '1' | '2';
|
|
890
1018
|
/** OAuth access token. */
|
|
891
1019
|
access_token?: string;
|
|
892
1020
|
/** Data format for response. */
|
|
893
|
-
alt?:
|
|
1021
|
+
alt?: 'json' | 'media' | 'proto';
|
|
894
1022
|
/** JSONP */
|
|
895
1023
|
callback?: string;
|
|
896
1024
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -915,11 +1043,11 @@ declare namespace gapi.client {
|
|
|
915
1043
|
/** POST /v1/projects/{project_id}/deviceSessions */
|
|
916
1044
|
create(request: {
|
|
917
1045
|
/** V1 error format. */
|
|
918
|
-
'$.xgafv'?:
|
|
1046
|
+
'$.xgafv'?: '1' | '2';
|
|
919
1047
|
/** OAuth access token. */
|
|
920
1048
|
access_token?: string;
|
|
921
1049
|
/** Data format for response. */
|
|
922
|
-
alt?:
|
|
1050
|
+
alt?: 'json' | 'media' | 'proto';
|
|
923
1051
|
/** JSONP */
|
|
924
1052
|
callback?: string;
|
|
925
1053
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -944,11 +1072,11 @@ declare namespace gapi.client {
|
|
|
944
1072
|
create(
|
|
945
1073
|
request: {
|
|
946
1074
|
/** V1 error format. */
|
|
947
|
-
'$.xgafv'?:
|
|
1075
|
+
'$.xgafv'?: '1' | '2';
|
|
948
1076
|
/** OAuth access token. */
|
|
949
1077
|
access_token?: string;
|
|
950
1078
|
/** Data format for response. */
|
|
951
|
-
alt?:
|
|
1079
|
+
alt?: 'json' | 'media' | 'proto';
|
|
952
1080
|
/** JSONP */
|
|
953
1081
|
callback?: string;
|
|
954
1082
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -973,11 +1101,11 @@ declare namespace gapi.client {
|
|
|
973
1101
|
/** GET /v1/projects/{project_id}/deviceSessions/{device_session_id} Return a DeviceSession, which documents the allocation status and whether the device is allocated. Clients making requests from this API must poll GetDeviceSession. */
|
|
974
1102
|
get(request?: {
|
|
975
1103
|
/** V1 error format. */
|
|
976
|
-
'$.xgafv'?:
|
|
1104
|
+
'$.xgafv'?: '1' | '2';
|
|
977
1105
|
/** OAuth access token. */
|
|
978
1106
|
access_token?: string;
|
|
979
1107
|
/** Data format for response. */
|
|
980
|
-
alt?:
|
|
1108
|
+
alt?: 'json' | 'media' | 'proto';
|
|
981
1109
|
/** JSONP */
|
|
982
1110
|
callback?: string;
|
|
983
1111
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1000,11 +1128,11 @@ declare namespace gapi.client {
|
|
|
1000
1128
|
/** GET /v1/projects/{project_id}/deviceSessions Lists device Sessions owned by the project user. */
|
|
1001
1129
|
list(request?: {
|
|
1002
1130
|
/** V1 error format. */
|
|
1003
|
-
'$.xgafv'?:
|
|
1131
|
+
'$.xgafv'?: '1' | '2';
|
|
1004
1132
|
/** OAuth access token. */
|
|
1005
1133
|
access_token?: string;
|
|
1006
1134
|
/** Data format for response. */
|
|
1007
|
-
alt?:
|
|
1135
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1008
1136
|
/** JSONP */
|
|
1009
1137
|
callback?: string;
|
|
1010
1138
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1033,11 +1161,11 @@ declare namespace gapi.client {
|
|
|
1033
1161
|
/** PATCH /v1/projects/{projectId}/deviceSessions/deviceSessionId}:updateDeviceSession Updates the current device session to the fields described by the update_mask. */
|
|
1034
1162
|
patch(request: {
|
|
1035
1163
|
/** V1 error format. */
|
|
1036
|
-
'$.xgafv'?:
|
|
1164
|
+
'$.xgafv'?: '1' | '2';
|
|
1037
1165
|
/** OAuth access token. */
|
|
1038
1166
|
access_token?: string;
|
|
1039
1167
|
/** Data format for response. */
|
|
1040
|
-
alt?:
|
|
1168
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1041
1169
|
/** JSONP */
|
|
1042
1170
|
callback?: string;
|
|
1043
1171
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1064,11 +1192,11 @@ declare namespace gapi.client {
|
|
|
1064
1192
|
patch(
|
|
1065
1193
|
request: {
|
|
1066
1194
|
/** V1 error format. */
|
|
1067
|
-
'$.xgafv'?:
|
|
1195
|
+
'$.xgafv'?: '1' | '2';
|
|
1068
1196
|
/** OAuth access token. */
|
|
1069
1197
|
access_token?: string;
|
|
1070
1198
|
/** Data format for response. */
|
|
1071
|
-
alt?:
|
|
1199
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1072
1200
|
/** JSONP */
|
|
1073
1201
|
callback?: string;
|
|
1074
1202
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1097,11 +1225,11 @@ declare namespace gapi.client {
|
|
|
1097
1225
|
/** Cancels unfinished test executions in a test matrix. This call returns immediately and cancellation proceeds asynchronously. If the matrix is already final, this operation will have no effect. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Test Matrix does not exist */
|
|
1098
1226
|
cancel(request?: {
|
|
1099
1227
|
/** V1 error format. */
|
|
1100
|
-
'$.xgafv'?:
|
|
1228
|
+
'$.xgafv'?: '1' | '2';
|
|
1101
1229
|
/** OAuth access token. */
|
|
1102
1230
|
access_token?: string;
|
|
1103
1231
|
/** Data format for response. */
|
|
1104
|
-
alt?:
|
|
1232
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1105
1233
|
/** JSONP */
|
|
1106
1234
|
callback?: string;
|
|
1107
1235
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1126,11 +1254,11 @@ declare namespace gapi.client {
|
|
|
1126
1254
|
/** Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is limited to use at most 2000 devices in parallel. The returned matrix will not yet contain the executions that will be created for this matrix. Execution creation happens later on and will require a call to GetTestMatrix. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix tries to use too many simultaneous devices. */
|
|
1127
1255
|
create(request: {
|
|
1128
1256
|
/** V1 error format. */
|
|
1129
|
-
'$.xgafv'?:
|
|
1257
|
+
'$.xgafv'?: '1' | '2';
|
|
1130
1258
|
/** OAuth access token. */
|
|
1131
1259
|
access_token?: string;
|
|
1132
1260
|
/** Data format for response. */
|
|
1133
|
-
alt?:
|
|
1261
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1134
1262
|
/** JSONP */
|
|
1135
1263
|
callback?: string;
|
|
1136
1264
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1157,11 +1285,11 @@ declare namespace gapi.client {
|
|
|
1157
1285
|
create(
|
|
1158
1286
|
request: {
|
|
1159
1287
|
/** V1 error format. */
|
|
1160
|
-
'$.xgafv'?:
|
|
1288
|
+
'$.xgafv'?: '1' | '2';
|
|
1161
1289
|
/** OAuth access token. */
|
|
1162
1290
|
access_token?: string;
|
|
1163
1291
|
/** Data format for response. */
|
|
1164
|
-
alt?:
|
|
1292
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1165
1293
|
/** JSONP */
|
|
1166
1294
|
callback?: string;
|
|
1167
1295
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1188,11 +1316,11 @@ declare namespace gapi.client {
|
|
|
1188
1316
|
/** Checks the status of a test matrix and the executions once they are created. The test matrix will contain the list of test executions to run if and only if the resultStorage.toolResultsExecution fields have been populated. Note: Flaky test executions may be added to the matrix at a later stage. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Test Matrix does not exist */
|
|
1189
1317
|
get(request?: {
|
|
1190
1318
|
/** V1 error format. */
|
|
1191
|
-
'$.xgafv'?:
|
|
1319
|
+
'$.xgafv'?: '1' | '2';
|
|
1192
1320
|
/** OAuth access token. */
|
|
1193
1321
|
access_token?: string;
|
|
1194
1322
|
/** Data format for response. */
|
|
1195
|
-
alt?:
|
|
1323
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1196
1324
|
/** JSONP */
|
|
1197
1325
|
callback?: string;
|
|
1198
1326
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1223,15 +1351,21 @@ declare namespace gapi.client {
|
|
|
1223
1351
|
/** Gets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not exist - INTERNAL - if an internal error occurred */
|
|
1224
1352
|
get(request?: {
|
|
1225
1353
|
/** V1 error format. */
|
|
1226
|
-
'$.xgafv'?:
|
|
1354
|
+
'$.xgafv'?: '1' | '2';
|
|
1227
1355
|
/** OAuth access token. */
|
|
1228
1356
|
access_token?: string;
|
|
1229
1357
|
/** Data format for response. */
|
|
1230
|
-
alt?:
|
|
1358
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1231
1359
|
/** JSONP */
|
|
1232
1360
|
callback?: string;
|
|
1233
1361
|
/** Required. The type of environment that should be listed. */
|
|
1234
|
-
environmentType:
|
|
1362
|
+
environmentType:
|
|
1363
|
+
| 'ENVIRONMENT_TYPE_UNSPECIFIED'
|
|
1364
|
+
| 'ANDROID'
|
|
1365
|
+
| 'IOS'
|
|
1366
|
+
| 'NETWORK_CONFIGURATION'
|
|
1367
|
+
| 'PROVIDED_SOFTWARE'
|
|
1368
|
+
| 'DEVICE_IP_BLOCKS';
|
|
1235
1369
|
/** Selector specifying which fields to include in a partial response. */
|
|
1236
1370
|
fields?: string;
|
|
1237
1371
|
/** Optional. Whether to include viewable only models in the response. This is only applicable for Android models. */
|