google-api-client 0.32.1 → 0.40.0
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.
- checksums.yaml +5 -5
- data/.kokoro/continuous/linux.cfg +2 -2
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/release.cfg +94 -0
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +5 -0
- data/.yardopts +16 -2
- data/CHANGELOG.md +1354 -0
- data/Gemfile +1 -0
- data/OVERVIEW.md +36 -0
- data/README.md +50 -2
- data/Rakefile +71 -2
- data/api_list_config.yaml +1 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +10 -2
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
- data/generated/google/apis/accessapproval_v1/service.rb +869 -0
- data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
- data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admob_v1/classes.rb +951 -0
- data/generated/google/apis/admob_v1/representations.rb +378 -0
- data/generated/google/apis/admob_v1/service.rb +196 -0
- data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
- data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
- data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
- data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +4928 -0
- data/generated/google/apis/apigee_v1/representations.rb +1822 -0
- data/generated/google/apis/apigee_v1/service.rb +5578 -0
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
- data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/bigquery_v2/classes.rb +993 -43
- data/generated/google/apis/bigquery_v2/representations.rb +273 -2
- data/generated/google/apis/bigquery_v2/service.rb +137 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
- data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
- data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
- data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
- data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/books_v1/classes.rb +494 -242
- data/generated/google/apis/books_v1/representations.rb +145 -72
- data/generated/google/apis/books_v1/service.rb +354 -484
- data/generated/google/apis/books_v1.rb +3 -3
- data/generated/google/apis/calendar_v3/classes.rb +8 -21
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +29 -3
- data/generated/google/apis/chat_v1/representations.rb +3 -0
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
- data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
- data/generated/google/apis/cloudasset_v1/service.rb +363 -12
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
- data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
- data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
- data/generated/google/apis/cloudkms_v1/service.rb +15 -3
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
- data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
- data/generated/google/apis/cloudtrace_v2.rb +5 -5
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
- data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
- data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
- data/generated/google/apis/composer_v1/classes.rb +180 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +3252 -973
- data/generated/google/apis/compute_alpha/representations.rb +634 -69
- data/generated/google/apis/compute_alpha/service.rb +9085 -6210
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4787 -1066
- data/generated/google/apis/compute_beta/representations.rb +1394 -31
- data/generated/google/apis/compute_beta/service.rb +8858 -5018
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2976 -599
- data/generated/google/apis/compute_v1/representations.rb +850 -0
- data/generated/google/apis/compute_v1/service.rb +4634 -2481
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +925 -164
- data/generated/google/apis/container_v1/representations.rb +278 -0
- data/generated/google/apis/container_v1/service.rb +175 -158
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +803 -340
- data/generated/google/apis/container_v1beta1/representations.rb +185 -39
- data/generated/google/apis/container_v1beta1/service.rb +294 -277
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1566 -634
- data/generated/google/apis/content_v2/representations.rb +78 -115
- data/generated/google/apis/content_v2/service.rb +81 -206
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +2706 -683
- data/generated/google/apis/content_v2_1/representations.rb +551 -0
- data/generated/google/apis/content_v2_1/service.rb +520 -46
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
- data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
- data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
- data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
- data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
- data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +533 -177
- data/generated/google/apis/dataproc_v1/representations.rb +85 -0
- data/generated/google/apis/dataproc_v1/service.rb +102 -36
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
- data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +17 -23
- data/generated/google/apis/datastore_v1/service.rb +93 -9
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
- data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
- data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
- data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
- data/generated/google/apis/dialogflow_v2/service.rb +849 -158
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
- data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
- data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
- data/generated/google/apis/displayvideo_v1.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +798 -130
- data/generated/google/apis/dlp_v2/representations.rb +277 -3
- data/generated/google/apis/dlp_v2/service.rb +2074 -231
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +220 -251
- data/generated/google/apis/dns_v1/representations.rb +49 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
- data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
- data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +608 -2
- data/generated/google/apis/docs_v1/representations.rb +211 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
- data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +58 -5
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +92 -118
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +66 -5
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +46 -14
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
- data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1235 -158
- data/generated/google/apis/file_v1/representations.rb +401 -22
- data/generated/google/apis/file_v1/service.rb +14 -10
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
- data/generated/google/apis/file_v1beta1/representations.rb +401 -22
- data/generated/google/apis/file_v1beta1/service.rb +18 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/firebaseml_v1.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +26 -24
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +189 -153
- data/generated/google/apis/fitness_v1/service.rb +192 -198
- data/generated/google/apis/fitness_v1.rb +14 -14
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_management_v1management/classes.rb +50 -109
- data/generated/google/apis/games_management_v1management/representations.rb +0 -30
- data/generated/google/apis/games_management_v1management/service.rb +116 -452
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +14 -293
- data/generated/google/apis/games_v1/representations.rb +2 -98
- data/generated/google/apis/games_v1/service.rb +3 -135
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +34 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3439 -0
- data/generated/google/apis/healthcare_v1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
- data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +79 -56
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +201 -169
- data/generated/google/apis/iam_v1/representations.rb +1 -6
- data/generated/google/apis/iam_v1/service.rb +18 -21
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +691 -59
- data/generated/google/apis/iap_v1/representations.rb +254 -0
- data/generated/google/apis/iap_v1/service.rb +362 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +180 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +23 -7
- data/generated/google/apis/language_v1beta2/representations.rb +2 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/lifesciences_v2beta.rb +35 -0
- data/generated/google/apis/logging_v2/classes.rb +292 -91
- data/generated/google/apis/logging_v2/representations.rb +51 -0
- data/generated/google/apis/logging_v2/service.rb +888 -15
- data/generated/google/apis/logging_v2.rb +6 -6
- data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1/service.rb +779 -0
- data/generated/google/apis/managedidentities_v1.rb +35 -0
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
- data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/ml_v1/classes.rb +1518 -233
- data/generated/google/apis/ml_v1/representations.rb +559 -0
- data/generated/google/apis/ml_v1/service.rb +560 -25
- data/generated/google/apis/ml_v1.rb +5 -2
- data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
- data/generated/google/apis/monitoring_v1/representations.rb +513 -0
- data/generated/google/apis/monitoring_v1/service.rb +246 -0
- data/generated/google/apis/monitoring_v1.rb +47 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
- data/generated/google/apis/monitoring_v3/representations.rb +482 -1
- data/generated/google/apis/monitoring_v3/service.rb +614 -162
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
- data/generated/google/apis/oauth2_v2/classes.rb +1 -81
- data/generated/google/apis/oauth2_v2/representations.rb +2 -36
- data/generated/google/apis/oauth2_v2/service.rb +10 -42
- data/generated/google/apis/oauth2_v2.rb +5 -5
- data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
- data/generated/google/apis/osconfig_v1beta.rb +35 -0
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -7
- data/generated/google/apis/oslogin_v1.rb +1 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -2
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
- data/generated/google/apis/oslogin_v1beta.rb +1 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
- data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
- data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
- data/generated/google/apis/pagespeedonline_v5.rb +9 -4
- data/generated/google/apis/people_v1/classes.rb +104 -81
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +72 -79
- data/generated/google/apis/people_v1.rb +10 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/pubsub_v1/classes.rb +248 -76
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +43 -31
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
- data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +48 -18
- data/generated/google/apis/redis_v1/representations.rb +14 -0
- data/generated/google/apis/redis_v1/service.rb +41 -5
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +41 -5
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +308 -325
- data/generated/google/apis/run_v1/representations.rb +63 -103
- data/generated/google/apis/run_v1/service.rb +336 -933
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
- data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
- data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +4 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
- data/generated/google/apis/secretmanager_v1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1.rb +35 -0
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
- data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
- data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
- data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
- data/generated/google/apis/securitycenter_v1/service.rb +225 -21
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
- data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
- data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
- data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
- data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
- data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1741 -253
- data/generated/google/apis/sheets_v4/representations.rb +283 -0
- data/generated/google/apis/sheets_v4/service.rb +9 -11
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +706 -71
- data/generated/google/apis/spanner_v1/representations.rb +194 -0
- data/generated/google/apis/spanner_v1/service.rb +770 -7
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +15 -11
- data/generated/google/apis/speech_v1/representations.rb +2 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
- data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
- data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
- data/generated/google/apis/storage_v1/classes.rb +73 -7
- data/generated/google/apis/storage_v1/representations.rb +10 -0
- data/generated/google/apis/storage_v1/service.rb +29 -4
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +78 -124
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/testing_v1/classes.rb +187 -1
- data/generated/google/apis/testing_v1/representations.rb +93 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
- data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
- data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/tpu_v1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +946 -0
- data/generated/google/apis/translate_v3/representations.rb +439 -0
- data/generated/google/apis/translate_v3/service.rb +781 -0
- data/generated/google/apis/translate_v3.rb +37 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +10 -7
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +67 -1
- data/generated/google/apis/vision_v1/representations.rb +32 -0
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
- data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
- data/generated/google/apis/youtube_v3/representations.rb +99 -191
- data/generated/google/apis/youtube_v3/service.rb +1829 -2150
- data/generated/google/apis/youtube_v3.rb +8 -5
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/core/api_command.rb +7 -0
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/http_command.rb +11 -10
- data/lib/google/apis/core/upload.rb +4 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +9 -4
- data/rakelib/devsite/devsite_builder.rb +126 -0
- data/rakelib/devsite/link_checker.rb +64 -0
- data/rakelib/devsite/repo_metadata.rb +56 -0
- metadata +193 -110
- data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
- data/generated/google/apis/analytics_v2_4/service.rb +0 -331
- data/generated/google/apis/analytics_v2_4.rb +0 -37
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v1.rb +0 -37
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
- data/generated/google/apis/fusiontables_v2.rb +0 -37
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/mirror_v1.rb +0 -37
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
- data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
- data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
- data/generated/google/apis/plus_domains_v1/service.rb +0 -489
- data/generated/google/apis/plus_domains_v1.rb +0 -55
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
- data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
- data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
- data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
- data/generated/google/apis/replicapool_v1beta1.rb +0 -50
- data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
- data/generated/google/apis/servicebroker_v1/service.rb +0 -177
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
- data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/surveys_v2/classes.rb +0 -691
- data/generated/google/apis/surveys_v2.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
- data/generated/google/apis/urlshortener_v1.rb +0 -34
|
@@ -22,26 +22,49 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module ToolresultsV1beta3
|
|
24
24
|
|
|
25
|
+
# Additional details for an ANR crash.
|
|
26
|
+
class Anr
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# A stacktrace.
|
|
30
|
+
# Corresponds to the JSON property `stackTrace`
|
|
31
|
+
# @return [Google::Apis::ToolresultsV1beta3::StackTrace]
|
|
32
|
+
attr_accessor :stack_trace
|
|
33
|
+
|
|
34
|
+
def initialize(**args)
|
|
35
|
+
update!(**args)
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Update properties of this object
|
|
39
|
+
def update!(**args)
|
|
40
|
+
@stack_trace = args[:stack_trace] if args.key?(:stack_trace)
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
25
44
|
# Android app information.
|
|
26
45
|
class AndroidAppInfo
|
|
27
46
|
include Google::Apis::Core::Hashable
|
|
28
47
|
|
|
29
|
-
# The name of the app.
|
|
48
|
+
# The name of the app.
|
|
49
|
+
# Optional
|
|
30
50
|
# Corresponds to the JSON property `name`
|
|
31
51
|
# @return [String]
|
|
32
52
|
attr_accessor :name
|
|
33
53
|
|
|
34
|
-
# The package name of the app.
|
|
54
|
+
# The package name of the app.
|
|
55
|
+
# Required.
|
|
35
56
|
# Corresponds to the JSON property `packageName`
|
|
36
57
|
# @return [String]
|
|
37
58
|
attr_accessor :package_name
|
|
38
59
|
|
|
39
|
-
# The internal version code of the app.
|
|
60
|
+
# The internal version code of the app.
|
|
61
|
+
# Optional.
|
|
40
62
|
# Corresponds to the JSON property `versionCode`
|
|
41
63
|
# @return [String]
|
|
42
64
|
attr_accessor :version_code
|
|
43
65
|
|
|
44
|
-
# The version name of the app.
|
|
66
|
+
# The version name of the app.
|
|
67
|
+
# Optional.
|
|
45
68
|
# Corresponds to the JSON property `versionName`
|
|
46
69
|
# @return [String]
|
|
47
70
|
attr_accessor :version_name
|
|
@@ -61,30 +84,35 @@ module Google
|
|
|
61
84
|
|
|
62
85
|
# A test of an Android application that can control an Android component
|
|
63
86
|
# independently of its normal lifecycle.
|
|
64
|
-
# See
|
|
87
|
+
# See <http://developer.android.com/tools/testing/testing_android.html> for
|
|
88
|
+
# more information on types of Android tests.
|
|
65
89
|
class AndroidInstrumentationTest
|
|
66
90
|
include Google::Apis::Core::Hashable
|
|
67
91
|
|
|
68
|
-
# The java package for the test to be executed.
|
|
92
|
+
# The java package for the test to be executed.
|
|
93
|
+
# Required
|
|
69
94
|
# Corresponds to the JSON property `testPackageId`
|
|
70
95
|
# @return [String]
|
|
71
96
|
attr_accessor :test_package_id
|
|
72
97
|
|
|
73
|
-
# The InstrumentationTestRunner class.
|
|
98
|
+
# The InstrumentationTestRunner class.
|
|
99
|
+
# Required
|
|
74
100
|
# Corresponds to the JSON property `testRunnerClass`
|
|
75
101
|
# @return [String]
|
|
76
102
|
attr_accessor :test_runner_class
|
|
77
103
|
|
|
78
|
-
# Each target must be fully qualified with the package name or class name,
|
|
79
|
-
# one of these formats:
|
|
80
|
-
#
|
|
104
|
+
# Each target must be fully qualified with the package name or class name,
|
|
105
|
+
# in one of these formats:
|
|
106
|
+
# - "package package_name"
|
|
107
|
+
# - "class package_name.class_name"
|
|
108
|
+
# - "class package_name.class_name#method_name"
|
|
81
109
|
# If empty, all targets in the module will be run.
|
|
82
110
|
# Corresponds to the JSON property `testTargets`
|
|
83
111
|
# @return [Array<String>]
|
|
84
112
|
attr_accessor :test_targets
|
|
85
113
|
|
|
86
|
-
# The flag indicates whether Android Test Orchestrator will be used to run
|
|
87
|
-
# or not.
|
|
114
|
+
# The flag indicates whether Android Test Orchestrator will be used to run
|
|
115
|
+
# test or not.
|
|
88
116
|
# Corresponds to the JSON property `useOrchestrator`
|
|
89
117
|
# @return [Boolean]
|
|
90
118
|
attr_accessor :use_orchestrator
|
|
@@ -103,32 +131,37 @@ module Google
|
|
|
103
131
|
end
|
|
104
132
|
end
|
|
105
133
|
|
|
106
|
-
# A test of an android application that explores the application on a virtual
|
|
107
|
-
# physical Android device, finding culprits and crashes as it goes.
|
|
134
|
+
# A test of an android application that explores the application on a virtual
|
|
135
|
+
# or physical Android device, finding culprits and crashes as it goes.
|
|
108
136
|
class AndroidRoboTest
|
|
109
137
|
include Google::Apis::Core::Hashable
|
|
110
138
|
|
|
111
|
-
# The initial activity that should be used to start the app.
|
|
139
|
+
# The initial activity that should be used to start the app.
|
|
140
|
+
# Optional
|
|
112
141
|
# Corresponds to the JSON property `appInitialActivity`
|
|
113
142
|
# @return [String]
|
|
114
143
|
attr_accessor :app_initial_activity
|
|
115
144
|
|
|
116
|
-
# The java package for the bootstrap.
|
|
145
|
+
# The java package for the bootstrap.
|
|
146
|
+
# Optional
|
|
117
147
|
# Corresponds to the JSON property `bootstrapPackageId`
|
|
118
148
|
# @return [String]
|
|
119
149
|
attr_accessor :bootstrap_package_id
|
|
120
150
|
|
|
121
|
-
# The runner class for the bootstrap.
|
|
151
|
+
# The runner class for the bootstrap.
|
|
152
|
+
# Optional
|
|
122
153
|
# Corresponds to the JSON property `bootstrapRunnerClass`
|
|
123
154
|
# @return [String]
|
|
124
155
|
attr_accessor :bootstrap_runner_class
|
|
125
156
|
|
|
126
|
-
# The max depth of the traversal stack Robo can explore.
|
|
157
|
+
# The max depth of the traversal stack Robo can explore.
|
|
158
|
+
# Optional
|
|
127
159
|
# Corresponds to the JSON property `maxDepth`
|
|
128
160
|
# @return [Fixnum]
|
|
129
161
|
attr_accessor :max_depth
|
|
130
162
|
|
|
131
|
-
# The max number of steps/actions Robo can execute.
|
|
163
|
+
# The max number of steps/actions Robo can execute.
|
|
164
|
+
# Default is no limit (0).
|
|
132
165
|
# Optional
|
|
133
166
|
# Corresponds to the JSON property `maxSteps`
|
|
134
167
|
# @return [Fixnum]
|
|
@@ -159,47 +192,30 @@ module Google
|
|
|
159
192
|
|
|
160
193
|
# A test of an Android application that can control an Android component
|
|
161
194
|
# independently of its normal lifecycle.
|
|
162
|
-
# See
|
|
195
|
+
# See <http://developer.android.com/tools/testing/testing_android.html> for
|
|
196
|
+
# more information on types of Android tests.
|
|
163
197
|
# Corresponds to the JSON property `androidInstrumentationTest`
|
|
164
198
|
# @return [Google::Apis::ToolresultsV1beta3::AndroidInstrumentationTest]
|
|
165
199
|
attr_accessor :android_instrumentation_test
|
|
166
200
|
|
|
167
|
-
# A test of an android application that explores the application on a virtual
|
|
168
|
-
# physical Android device, finding culprits and crashes as it goes.
|
|
201
|
+
# A test of an android application that explores the application on a virtual
|
|
202
|
+
# or physical Android device, finding culprits and crashes as it goes.
|
|
169
203
|
# Corresponds to the JSON property `androidRoboTest`
|
|
170
204
|
# @return [Google::Apis::ToolresultsV1beta3::AndroidRoboTest]
|
|
171
205
|
attr_accessor :android_robo_test
|
|
172
206
|
|
|
173
|
-
#
|
|
174
|
-
#
|
|
175
|
-
#
|
|
176
|
-
#
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
#
|
|
180
|
-
#
|
|
181
|
-
#
|
|
182
|
-
#
|
|
183
|
-
#
|
|
184
|
-
#
|
|
185
|
-
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
|
186
|
-
# 1; duration.nanos += 1000000000; `
|
|
187
|
-
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
188
|
-
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
|
189
|
-
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
|
190
|
-
# duration.nanos;
|
|
191
|
-
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
|
192
|
-
# Example 3: Compute Duration from datetime.timedelta in Python.
|
|
193
|
-
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
|
194
|
-
# FromTimedelta(td)
|
|
195
|
-
# # JSON Mapping
|
|
196
|
-
# In JSON format, the Duration type is encoded as a string rather than an object,
|
|
197
|
-
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
|
198
|
-
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
|
199
|
-
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
|
200
|
-
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
|
201
|
-
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
|
202
|
-
# format as "3.000001s".
|
|
207
|
+
# Test Loops are tests that can be launched by the app itself, determining
|
|
208
|
+
# when to run by listening for an intent.
|
|
209
|
+
# Corresponds to the JSON property `androidTestLoop`
|
|
210
|
+
# @return [Google::Apis::ToolresultsV1beta3::AndroidTestLoop]
|
|
211
|
+
attr_accessor :android_test_loop
|
|
212
|
+
|
|
213
|
+
# A Duration represents a signed, fixed-length span of time represented
|
|
214
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
215
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
216
|
+
# or "month". It is related to Timestamp in that the difference between
|
|
217
|
+
# two Timestamp values is a Duration and it can be added or subtracted
|
|
218
|
+
# from a Timestamp. Range is approximately +-10,000 years.
|
|
203
219
|
# Corresponds to the JSON property `testTimeout`
|
|
204
220
|
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
|
205
221
|
attr_accessor :test_timeout
|
|
@@ -213,63 +229,113 @@ module Google
|
|
|
213
229
|
@android_app_info = args[:android_app_info] if args.key?(:android_app_info)
|
|
214
230
|
@android_instrumentation_test = args[:android_instrumentation_test] if args.key?(:android_instrumentation_test)
|
|
215
231
|
@android_robo_test = args[:android_robo_test] if args.key?(:android_robo_test)
|
|
232
|
+
@android_test_loop = args[:android_test_loop] if args.key?(:android_test_loop)
|
|
216
233
|
@test_timeout = args[:test_timeout] if args.key?(:test_timeout)
|
|
217
234
|
end
|
|
218
235
|
end
|
|
219
236
|
|
|
237
|
+
# Test Loops are tests that can be launched by the app itself, determining
|
|
238
|
+
# when to run by listening for an intent.
|
|
239
|
+
class AndroidTestLoop
|
|
240
|
+
include Google::Apis::Core::Hashable
|
|
241
|
+
|
|
242
|
+
def initialize(**args)
|
|
243
|
+
update!(**args)
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
# Update properties of this object
|
|
247
|
+
def update!(**args)
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
|
|
220
251
|
# `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
221
252
|
# URL that describes the type of the serialized message.
|
|
222
|
-
# Protobuf library provides support to pack/unpack Any values in the form
|
|
223
|
-
# utility functions or additional generated methods of the Any type.
|
|
253
|
+
# Protobuf library provides support to pack/unpack Any values in the form
|
|
254
|
+
# of utility functions or additional generated methods of the Any type.
|
|
224
255
|
# Example 1: Pack and unpack a message in C++.
|
|
225
|
-
# Foo foo = ...;
|
|
256
|
+
# Foo foo = ...;
|
|
257
|
+
# Any any;
|
|
258
|
+
# any.PackFrom(foo);
|
|
259
|
+
# ...
|
|
260
|
+
# if (any.UnpackTo(&foo)) `
|
|
261
|
+
# ...
|
|
262
|
+
# `
|
|
226
263
|
# Example 2: Pack and unpack a message in Java.
|
|
227
|
-
# Foo foo = ...;
|
|
228
|
-
#
|
|
264
|
+
# Foo foo = ...;
|
|
265
|
+
# Any any = Any.pack(foo);
|
|
266
|
+
# ...
|
|
267
|
+
# if (any.is(Foo.class)) `
|
|
268
|
+
# foo = any.unpack(Foo.class);
|
|
269
|
+
# `
|
|
229
270
|
# Example 3: Pack and unpack a message in Python.
|
|
230
|
-
# foo = Foo(...)
|
|
231
|
-
#
|
|
271
|
+
# foo = Foo(...)
|
|
272
|
+
# any = Any()
|
|
273
|
+
# any.Pack(foo)
|
|
274
|
+
# ...
|
|
275
|
+
# if any.Is(Foo.DESCRIPTOR):
|
|
276
|
+
# any.Unpack(foo)
|
|
277
|
+
# ...
|
|
232
278
|
# Example 4: Pack and unpack a message in Go
|
|
233
|
-
# foo := &pb.Foo`...`
|
|
234
|
-
# err := ptypes.
|
|
235
|
-
#
|
|
236
|
-
#
|
|
237
|
-
#
|
|
238
|
-
#
|
|
239
|
-
#
|
|
240
|
-
#
|
|
241
|
-
#
|
|
242
|
-
#
|
|
243
|
-
#
|
|
244
|
-
#
|
|
245
|
-
#
|
|
279
|
+
# foo := &pb.Foo`...`
|
|
280
|
+
# any, err := ptypes.MarshalAny(foo)
|
|
281
|
+
# ...
|
|
282
|
+
# foo := &pb.Foo``
|
|
283
|
+
# if err := ptypes.UnmarshalAny(any, foo); err != nil `
|
|
284
|
+
# ...
|
|
285
|
+
# `
|
|
286
|
+
# The pack methods provided by protobuf library will by default use
|
|
287
|
+
# 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
288
|
+
# methods only use the fully qualified type name after the last '/'
|
|
289
|
+
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
290
|
+
# name "y.z".
|
|
291
|
+
# # JSON
|
|
292
|
+
# The JSON representation of an `Any` value uses the regular
|
|
293
|
+
# representation of the deserialized, embedded message, with an
|
|
294
|
+
# additional field `@type` which contains the type URL. Example:
|
|
295
|
+
# package google.profile;
|
|
296
|
+
# message Person `
|
|
297
|
+
# string first_name = 1;
|
|
298
|
+
# string last_name = 2;
|
|
299
|
+
# `
|
|
300
|
+
# `
|
|
301
|
+
# "@type": "type.googleapis.com/google.profile.Person",
|
|
302
|
+
# "firstName": <string>,
|
|
303
|
+
# "lastName": <string>
|
|
304
|
+
# `
|
|
246
305
|
# If the embedded message type is well-known and has a custom JSON
|
|
247
|
-
# representation, that representation will be embedded adding a field
|
|
248
|
-
# which holds the custom JSON in addition to the `@type`
|
|
249
|
-
# message
|
|
250
|
-
# `
|
|
306
|
+
# representation, that representation will be embedded adding a field
|
|
307
|
+
# `value` which holds the custom JSON in addition to the `@type`
|
|
308
|
+
# field. Example (for message google.protobuf.Duration):
|
|
309
|
+
# `
|
|
310
|
+
# "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
311
|
+
# "value": "1.212s"
|
|
312
|
+
# `
|
|
251
313
|
class Any
|
|
252
314
|
include Google::Apis::Core::Hashable
|
|
253
315
|
|
|
254
316
|
# A URL/resource name that uniquely identifies the type of the serialized
|
|
255
|
-
# protocol buffer message. This string must contain at least
|
|
256
|
-
# The last segment of the URL's path must represent
|
|
257
|
-
# the
|
|
258
|
-
#
|
|
317
|
+
# protocol buffer message. This string must contain at least
|
|
318
|
+
# one "/" character. The last segment of the URL's path must represent
|
|
319
|
+
# the fully qualified name of the type (as in
|
|
320
|
+
# `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
321
|
+
# (e.g., leading "." is not accepted).
|
|
259
322
|
# In practice, teams usually precompile into the binary all types that they
|
|
260
|
-
# expect it to use in the context of Any. However, for URLs which use the
|
|
261
|
-
# `http`, `https`, or no scheme, one can optionally set up a type
|
|
262
|
-
# maps type URLs to message definitions as follows:
|
|
263
|
-
# * If no scheme is provided, `https` is assumed.
|
|
264
|
-
#
|
|
265
|
-
#
|
|
266
|
-
#
|
|
267
|
-
#
|
|
268
|
-
#
|
|
269
|
-
#
|
|
270
|
-
#
|
|
271
|
-
#
|
|
272
|
-
#
|
|
323
|
+
# expect it to use in the context of Any. However, for URLs which use the
|
|
324
|
+
# scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
325
|
+
# server that maps type URLs to message definitions as follows:
|
|
326
|
+
# * If no scheme is provided, `https` is assumed.
|
|
327
|
+
# * An HTTP GET on the URL must yield a google.protobuf.Type
|
|
328
|
+
# value in binary format, or produce an error.
|
|
329
|
+
# * Applications are allowed to cache lookup results based on the
|
|
330
|
+
# URL, or have them precompiled into a binary to avoid any
|
|
331
|
+
# lookup. Therefore, binary compatibility needs to be preserved
|
|
332
|
+
# on changes to types. (Use versioned type names to manage
|
|
333
|
+
# breaking changes.)
|
|
334
|
+
# Note: this functionality is not currently available in the official
|
|
335
|
+
# protobuf release, and it is not used for type URLs beginning with
|
|
336
|
+
# type.googleapis.com.
|
|
337
|
+
# Schemes other than `http`, `https` (or the empty scheme) might be
|
|
338
|
+
# used with implementation specific semantics.
|
|
273
339
|
# Corresponds to the JSON property `typeUrl`
|
|
274
340
|
# @return [String]
|
|
275
341
|
attr_accessor :type_url
|
|
@@ -295,70 +361,22 @@ module Google
|
|
|
295
361
|
class AppStartTime
|
|
296
362
|
include Google::Apis::Core::Hashable
|
|
297
363
|
|
|
298
|
-
# A Duration represents a signed, fixed-length span of time represented
|
|
299
|
-
# count of seconds and fractions of seconds at nanosecond
|
|
300
|
-
# independent of any calendar and concepts like "day"
|
|
301
|
-
# to Timestamp in that the difference between
|
|
302
|
-
# and it can be added or subtracted
|
|
303
|
-
# 10,000 years.
|
|
304
|
-
# # Examples
|
|
305
|
-
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
|
306
|
-
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
|
307
|
-
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
|
308
|
-
# start.nanos;
|
|
309
|
-
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
|
310
|
-
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
|
311
|
-
# 1; duration.nanos += 1000000000; `
|
|
312
|
-
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
313
|
-
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
|
314
|
-
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
|
315
|
-
# duration.nanos;
|
|
316
|
-
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
|
317
|
-
# Example 3: Compute Duration from datetime.timedelta in Python.
|
|
318
|
-
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
|
319
|
-
# FromTimedelta(td)
|
|
320
|
-
# # JSON Mapping
|
|
321
|
-
# In JSON format, the Duration type is encoded as a string rather than an object,
|
|
322
|
-
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
|
323
|
-
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
|
324
|
-
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
|
325
|
-
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
|
326
|
-
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
|
327
|
-
# format as "3.000001s".
|
|
364
|
+
# A Duration represents a signed, fixed-length span of time represented
|
|
365
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
366
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
367
|
+
# or "month". It is related to Timestamp in that the difference between
|
|
368
|
+
# two Timestamp values is a Duration and it can be added or subtracted
|
|
369
|
+
# from a Timestamp. Range is approximately +-10,000 years.
|
|
328
370
|
# Corresponds to the JSON property `fullyDrawnTime`
|
|
329
371
|
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
|
330
372
|
attr_accessor :fully_drawn_time
|
|
331
373
|
|
|
332
|
-
# A Duration represents a signed, fixed-length span of time represented
|
|
333
|
-
# count of seconds and fractions of seconds at nanosecond
|
|
334
|
-
# independent of any calendar and concepts like "day"
|
|
335
|
-
# to Timestamp in that the difference between
|
|
336
|
-
# and it can be added or subtracted
|
|
337
|
-
# 10,000 years.
|
|
338
|
-
# # Examples
|
|
339
|
-
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
|
340
|
-
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
|
341
|
-
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
|
342
|
-
# start.nanos;
|
|
343
|
-
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
|
344
|
-
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
|
345
|
-
# 1; duration.nanos += 1000000000; `
|
|
346
|
-
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
347
|
-
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
|
348
|
-
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
|
349
|
-
# duration.nanos;
|
|
350
|
-
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
|
351
|
-
# Example 3: Compute Duration from datetime.timedelta in Python.
|
|
352
|
-
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
|
353
|
-
# FromTimedelta(td)
|
|
354
|
-
# # JSON Mapping
|
|
355
|
-
# In JSON format, the Duration type is encoded as a string rather than an object,
|
|
356
|
-
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
|
357
|
-
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
|
358
|
-
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
|
359
|
-
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
|
360
|
-
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
|
361
|
-
# format as "3.000001s".
|
|
374
|
+
# A Duration represents a signed, fixed-length span of time represented
|
|
375
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
376
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
377
|
+
# or "month". It is related to Timestamp in that the difference between
|
|
378
|
+
# two Timestamp values is a Duration and it can be added or subtracted
|
|
379
|
+
# from a Timestamp. Range is approximately +-10,000 years.
|
|
362
380
|
# Corresponds to the JSON property `initialDisplayTime`
|
|
363
381
|
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
|
364
382
|
attr_accessor :initial_display_time
|
|
@@ -374,6 +392,19 @@ module Google
|
|
|
374
392
|
end
|
|
375
393
|
end
|
|
376
394
|
|
|
395
|
+
# A suggestion to use deep links for a Robo run.
|
|
396
|
+
class AvailableDeepLinks
|
|
397
|
+
include Google::Apis::Core::Hashable
|
|
398
|
+
|
|
399
|
+
def initialize(**args)
|
|
400
|
+
update!(**args)
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
# Update properties of this object
|
|
404
|
+
def update!(**args)
|
|
405
|
+
end
|
|
406
|
+
end
|
|
407
|
+
|
|
377
408
|
# Encapsulates the metadata for basic sample series represented by a line chart
|
|
378
409
|
class BasicPerfSampleSeries
|
|
379
410
|
include Google::Apis::Core::Hashable
|
|
@@ -405,8 +436,8 @@ module Google
|
|
|
405
436
|
end
|
|
406
437
|
end
|
|
407
438
|
|
|
408
|
-
# The request must provide up to a maximum of 5000 samples to be
|
|
409
|
-
# larger sample size will cause an INVALID_ARGUMENT error
|
|
439
|
+
# The request must provide up to a maximum of 5000 samples to be
|
|
440
|
+
# created; a larger sample size will cause an INVALID_ARGUMENT error
|
|
410
441
|
class BatchCreatePerfSamplesRequest
|
|
411
442
|
include Google::Apis::Core::Hashable
|
|
412
443
|
|
|
@@ -444,6 +475,26 @@ module Google
|
|
|
444
475
|
end
|
|
445
476
|
end
|
|
446
477
|
|
|
478
|
+
# A warning that Robo encountered a screen that was mostly blank; this may
|
|
479
|
+
# indicate a problem with the app.
|
|
480
|
+
class BlankScreen
|
|
481
|
+
include Google::Apis::Core::Hashable
|
|
482
|
+
|
|
483
|
+
# The screen id of the element
|
|
484
|
+
# Corresponds to the JSON property `screenId`
|
|
485
|
+
# @return [String]
|
|
486
|
+
attr_accessor :screen_id
|
|
487
|
+
|
|
488
|
+
def initialize(**args)
|
|
489
|
+
update!(**args)
|
|
490
|
+
end
|
|
491
|
+
|
|
492
|
+
# Update properties of this object
|
|
493
|
+
def update!(**args)
|
|
494
|
+
@screen_id = args[:screen_id] if args.key?(:screen_id)
|
|
495
|
+
end
|
|
496
|
+
end
|
|
497
|
+
|
|
447
498
|
#
|
|
448
499
|
class CpuInfo
|
|
449
500
|
include Google::Apis::Core::Hashable
|
|
@@ -475,51 +526,47 @@ module Google
|
|
|
475
526
|
end
|
|
476
527
|
end
|
|
477
528
|
|
|
478
|
-
#
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
#
|
|
498
|
-
#
|
|
499
|
-
#
|
|
500
|
-
#
|
|
501
|
-
#
|
|
502
|
-
#
|
|
503
|
-
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
|
504
|
-
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
|
505
|
-
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
|
506
|
-
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
|
507
|
-
# format as "3.000001s".
|
|
529
|
+
# Crash dialog was detected during the test execution
|
|
530
|
+
class CrashDialogError
|
|
531
|
+
include Google::Apis::Core::Hashable
|
|
532
|
+
|
|
533
|
+
# The name of the package that caused the dialog.
|
|
534
|
+
# Corresponds to the JSON property `crashPackage`
|
|
535
|
+
# @return [String]
|
|
536
|
+
attr_accessor :crash_package
|
|
537
|
+
|
|
538
|
+
def initialize(**args)
|
|
539
|
+
update!(**args)
|
|
540
|
+
end
|
|
541
|
+
|
|
542
|
+
# Update properties of this object
|
|
543
|
+
def update!(**args)
|
|
544
|
+
@crash_package = args[:crash_package] if args.key?(:crash_package)
|
|
545
|
+
end
|
|
546
|
+
end
|
|
547
|
+
|
|
548
|
+
# A Duration represents a signed, fixed-length span of time represented
|
|
549
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
550
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
551
|
+
# or "month". It is related to Timestamp in that the difference between
|
|
552
|
+
# two Timestamp values is a Duration and it can be added or subtracted
|
|
553
|
+
# from a Timestamp. Range is approximately +-10,000 years.
|
|
508
554
|
class Duration
|
|
509
555
|
include Google::Apis::Core::Hashable
|
|
510
556
|
|
|
511
|
-
# Signed fractions of a second at nanosecond resolution of the span
|
|
512
|
-
# Durations less than one second are represented with a 0
|
|
513
|
-
# positive or negative `nanos` field. For durations
|
|
514
|
-
# zero value for the `nanos` field must be
|
|
515
|
-
# field. Must be from -999,999,999
|
|
557
|
+
# Signed fractions of a second at nanosecond resolution of the span
|
|
558
|
+
# of time. Durations less than one second are represented with a 0
|
|
559
|
+
# `seconds` field and a positive or negative `nanos` field. For durations
|
|
560
|
+
# of one second or more, a non-zero value for the `nanos` field must be
|
|
561
|
+
# of the same sign as the `seconds` field. Must be from -999,999,999
|
|
562
|
+
# to +999,999,999 inclusive.
|
|
516
563
|
# Corresponds to the JSON property `nanos`
|
|
517
564
|
# @return [Fixnum]
|
|
518
565
|
attr_accessor :nanos
|
|
519
566
|
|
|
520
|
-
# Signed seconds of the span of time. Must be from -315,576,000,000
|
|
521
|
-
# 000,000 inclusive. Note: these bounds are computed from:
|
|
522
|
-
# hr * 24 hr/day * 365.25 days/year * 10000 years
|
|
567
|
+
# Signed seconds of the span of time. Must be from -315,576,000,000
|
|
568
|
+
# to +315,576,000,000 inclusive. Note: these bounds are computed from:
|
|
569
|
+
# 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
|
|
523
570
|
# Corresponds to the JSON property `seconds`
|
|
524
571
|
# @return [Fixnum]
|
|
525
572
|
attr_accessor :seconds
|
|
@@ -535,132 +582,255 @@ module Google
|
|
|
535
582
|
end
|
|
536
583
|
end
|
|
537
584
|
|
|
585
|
+
# Additional details about encountered login screens.
|
|
586
|
+
class EncounteredLoginScreen
|
|
587
|
+
include Google::Apis::Core::Hashable
|
|
588
|
+
|
|
589
|
+
# Number of encountered distinct login screens.
|
|
590
|
+
# Corresponds to the JSON property `distinctScreens`
|
|
591
|
+
# @return [Fixnum]
|
|
592
|
+
attr_accessor :distinct_screens
|
|
593
|
+
|
|
594
|
+
# Subset of login screens.
|
|
595
|
+
# Corresponds to the JSON property `screenIds`
|
|
596
|
+
# @return [Array<String>]
|
|
597
|
+
attr_accessor :screen_ids
|
|
598
|
+
|
|
599
|
+
def initialize(**args)
|
|
600
|
+
update!(**args)
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
# Update properties of this object
|
|
604
|
+
def update!(**args)
|
|
605
|
+
@distinct_screens = args[:distinct_screens] if args.key?(:distinct_screens)
|
|
606
|
+
@screen_ids = args[:screen_ids] if args.key?(:screen_ids)
|
|
607
|
+
end
|
|
608
|
+
end
|
|
609
|
+
|
|
610
|
+
# Additional details about encountered screens with elements that are not
|
|
611
|
+
# Android UI widgets.
|
|
612
|
+
class EncounteredNonAndroidUiWidgetScreen
|
|
613
|
+
include Google::Apis::Core::Hashable
|
|
614
|
+
|
|
615
|
+
# Number of encountered distinct screens with non Android UI widgets.
|
|
616
|
+
# Corresponds to the JSON property `distinctScreens`
|
|
617
|
+
# @return [Fixnum]
|
|
618
|
+
attr_accessor :distinct_screens
|
|
619
|
+
|
|
620
|
+
# Subset of screens which contain non Android UI widgets.
|
|
621
|
+
# Corresponds to the JSON property `screenIds`
|
|
622
|
+
# @return [Array<String>]
|
|
623
|
+
attr_accessor :screen_ids
|
|
624
|
+
|
|
625
|
+
def initialize(**args)
|
|
626
|
+
update!(**args)
|
|
627
|
+
end
|
|
628
|
+
|
|
629
|
+
# Update properties of this object
|
|
630
|
+
def update!(**args)
|
|
631
|
+
@distinct_screens = args[:distinct_screens] if args.key?(:distinct_screens)
|
|
632
|
+
@screen_ids = args[:screen_ids] if args.key?(:screen_ids)
|
|
633
|
+
end
|
|
634
|
+
end
|
|
635
|
+
|
|
636
|
+
# An Environment represents the set of test runs (Steps) from the parent
|
|
637
|
+
# Execution that are configured with the same set of dimensions (Model,
|
|
638
|
+
# Version, Locale, and Orientation). Multiple such runs occur particularly
|
|
639
|
+
# because of features like sharding (splitting up a test suite to run in
|
|
640
|
+
# parallel across devices) and reruns (running a test multiple times to check
|
|
641
|
+
# for different outcomes).
|
|
642
|
+
class Environment
|
|
643
|
+
include Google::Apis::Core::Hashable
|
|
644
|
+
|
|
645
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
|
646
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
647
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
648
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
649
|
+
# Gregorian calendar backwards to year one.
|
|
650
|
+
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
651
|
+
# second table is needed for interpretation, using a [24-hour linear
|
|
652
|
+
# smear](https://developers.google.com/time/smear).
|
|
653
|
+
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
654
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
655
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
656
|
+
# Corresponds to the JSON property `completionTime`
|
|
657
|
+
# @return [Google::Apis::ToolresultsV1beta3::Timestamp]
|
|
658
|
+
attr_accessor :completion_time
|
|
659
|
+
|
|
660
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
|
661
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
662
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
663
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
664
|
+
# Gregorian calendar backwards to year one.
|
|
665
|
+
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
666
|
+
# second table is needed for interpretation, using a [24-hour linear
|
|
667
|
+
# smear](https://developers.google.com/time/smear).
|
|
668
|
+
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
669
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
670
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
671
|
+
# Corresponds to the JSON property `creationTime`
|
|
672
|
+
# @return [Google::Apis::ToolresultsV1beta3::Timestamp]
|
|
673
|
+
attr_accessor :creation_time
|
|
674
|
+
|
|
675
|
+
# Dimension values describing the environment. Dimension values always
|
|
676
|
+
# consist of "Model", "Version", "Locale", and "Orientation".
|
|
677
|
+
# - In response: always set
|
|
678
|
+
# - In create request: always set
|
|
679
|
+
# - In update request: never set
|
|
680
|
+
# Corresponds to the JSON property `dimensionValue`
|
|
681
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::EnvironmentDimensionValueEntry>]
|
|
682
|
+
attr_accessor :dimension_value
|
|
683
|
+
|
|
684
|
+
# A short human-readable name to display in the UI.
|
|
685
|
+
# Maximum of 100 characters.
|
|
686
|
+
# For example: Nexus 5, API 27.
|
|
687
|
+
# Corresponds to the JSON property `displayName`
|
|
688
|
+
# @return [String]
|
|
689
|
+
attr_accessor :display_name
|
|
690
|
+
|
|
691
|
+
# Output only. An Environment id.
|
|
692
|
+
# Corresponds to the JSON property `environmentId`
|
|
693
|
+
# @return [String]
|
|
694
|
+
attr_accessor :environment_id
|
|
695
|
+
|
|
696
|
+
# Merged test result for environment.
|
|
697
|
+
# If the environment has only one step (no reruns or shards), then the merged
|
|
698
|
+
# result is the same as the step result. If the environment has multiple shards
|
|
699
|
+
# and/or reruns, then the results of shards and reruns that belong to the same
|
|
700
|
+
# environment are merged into one environment result.
|
|
701
|
+
# Corresponds to the JSON property `environmentResult`
|
|
702
|
+
# @return [Google::Apis::ToolresultsV1beta3::MergedResult]
|
|
703
|
+
attr_accessor :environment_result
|
|
704
|
+
|
|
705
|
+
# Output only. An Execution id.
|
|
706
|
+
# Corresponds to the JSON property `executionId`
|
|
707
|
+
# @return [String]
|
|
708
|
+
attr_accessor :execution_id
|
|
709
|
+
|
|
710
|
+
# Output only. A History id.
|
|
711
|
+
# Corresponds to the JSON property `historyId`
|
|
712
|
+
# @return [String]
|
|
713
|
+
attr_accessor :history_id
|
|
714
|
+
|
|
715
|
+
# Output only. A Project id.
|
|
716
|
+
# Corresponds to the JSON property `projectId`
|
|
717
|
+
# @return [String]
|
|
718
|
+
attr_accessor :project_id
|
|
719
|
+
|
|
720
|
+
# The storage for test results.
|
|
721
|
+
# Corresponds to the JSON property `resultsStorage`
|
|
722
|
+
# @return [Google::Apis::ToolresultsV1beta3::ResultsStorage]
|
|
723
|
+
attr_accessor :results_storage
|
|
724
|
+
|
|
725
|
+
# Output only. Summaries of shards.
|
|
726
|
+
# Only one shard will present unless sharding feature is enabled in
|
|
727
|
+
# TestExecutionService.
|
|
728
|
+
# Corresponds to the JSON property `shardSummaries`
|
|
729
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::ShardSummary>]
|
|
730
|
+
attr_accessor :shard_summaries
|
|
731
|
+
|
|
732
|
+
def initialize(**args)
|
|
733
|
+
update!(**args)
|
|
734
|
+
end
|
|
735
|
+
|
|
736
|
+
# Update properties of this object
|
|
737
|
+
def update!(**args)
|
|
738
|
+
@completion_time = args[:completion_time] if args.key?(:completion_time)
|
|
739
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
|
740
|
+
@dimension_value = args[:dimension_value] if args.key?(:dimension_value)
|
|
741
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
742
|
+
@environment_id = args[:environment_id] if args.key?(:environment_id)
|
|
743
|
+
@environment_result = args[:environment_result] if args.key?(:environment_result)
|
|
744
|
+
@execution_id = args[:execution_id] if args.key?(:execution_id)
|
|
745
|
+
@history_id = args[:history_id] if args.key?(:history_id)
|
|
746
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
|
747
|
+
@results_storage = args[:results_storage] if args.key?(:results_storage)
|
|
748
|
+
@shard_summaries = args[:shard_summaries] if args.key?(:shard_summaries)
|
|
749
|
+
end
|
|
750
|
+
end
|
|
751
|
+
|
|
752
|
+
#
|
|
753
|
+
class EnvironmentDimensionValueEntry
|
|
754
|
+
include Google::Apis::Core::Hashable
|
|
755
|
+
|
|
756
|
+
#
|
|
757
|
+
# Corresponds to the JSON property `key`
|
|
758
|
+
# @return [String]
|
|
759
|
+
attr_accessor :key
|
|
760
|
+
|
|
761
|
+
#
|
|
762
|
+
# Corresponds to the JSON property `value`
|
|
763
|
+
# @return [String]
|
|
764
|
+
attr_accessor :value
|
|
765
|
+
|
|
766
|
+
def initialize(**args)
|
|
767
|
+
update!(**args)
|
|
768
|
+
end
|
|
769
|
+
|
|
770
|
+
# Update properties of this object
|
|
771
|
+
def update!(**args)
|
|
772
|
+
@key = args[:key] if args.key?(:key)
|
|
773
|
+
@value = args[:value] if args.key?(:value)
|
|
774
|
+
end
|
|
775
|
+
end
|
|
776
|
+
|
|
538
777
|
# An Execution represents a collection of Steps. For instance, it could
|
|
539
|
-
# represent:
|
|
540
|
-
# a
|
|
778
|
+
# represent:
|
|
779
|
+
# - a mobile test executed across a range of device configurations
|
|
780
|
+
# - a jenkins job with a build step followed by a test step
|
|
541
781
|
# The maximum size of an execution message is 1 MiB.
|
|
542
|
-
# An Execution can be updated until its state is set to COMPLETE at which
|
|
543
|
-
# it becomes immutable.
|
|
782
|
+
# An Execution can be updated until its state is set to COMPLETE at which
|
|
783
|
+
# point it becomes immutable.
|
|
544
784
|
class Execution
|
|
545
785
|
include Google::Apis::Core::Hashable
|
|
546
786
|
|
|
547
787
|
# A Timestamp represents a point in time independent of any time zone or local
|
|
548
|
-
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
549
|
-
# resolution. The count is relative to an epoch at UTC midnight on
|
|
550
|
-
# 1970, in the proleptic Gregorian calendar which extends the
|
|
551
|
-
# backwards to year one.
|
|
788
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
789
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
790
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
791
|
+
# Gregorian calendar backwards to year one.
|
|
552
792
|
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
553
|
-
# second table is needed for interpretation, using a [24-hour linear
|
|
554
|
-
# https://developers.google.com/time/smear).
|
|
793
|
+
# second table is needed for interpretation, using a [24-hour linear
|
|
794
|
+
# smear](https://developers.google.com/time/smear).
|
|
555
795
|
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
556
|
-
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
557
|
-
# (https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
558
|
-
# # Examples
|
|
559
|
-
# Example 1: Compute Timestamp from POSIX `time()`.
|
|
560
|
-
# Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
|
|
561
|
-
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
562
|
-
# struct timeval tv; gettimeofday(&tv, NULL);
|
|
563
|
-
# Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
|
|
564
|
-
# tv_usec * 1000);
|
|
565
|
-
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
566
|
-
# FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
|
|
567
|
-
# dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
568
|
-
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
|
|
569
|
-
# 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
|
|
570
|
-
# timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
571
|
-
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
572
|
-
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
573
|
-
# long millis = System.currentTimeMillis();
|
|
574
|
-
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
|
|
575
|
-
# setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
576
|
-
# Example 5: Compute Timestamp from current time in Python.
|
|
577
|
-
# timestamp = Timestamp() timestamp.GetCurrentTime()
|
|
578
|
-
# # JSON Mapping
|
|
579
|
-
# In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
|
|
580
|
-
# https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
|
|
581
|
-
# month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
|
|
582
|
-
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
|
|
583
|
-
# zero-padded to two digits each. The fractional seconds, which can go up to 9
|
|
584
|
-
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
|
|
585
|
-
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
|
|
586
|
-
# serializer should always use UTC (as indicated by "Z") when printing the
|
|
587
|
-
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
|
|
588
|
-
# other timezones (as indicated by an offset).
|
|
589
|
-
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
|
|
590
|
-
# January 15, 2017.
|
|
591
|
-
# In JavaScript, one can convert a Date object to this format using the standard
|
|
592
|
-
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
|
|
593
|
-
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
|
|
594
|
-
# datetime.datetime` object can be converted to this format using [`strftime`](
|
|
595
|
-
# https://docs.python.org/2/library/time.html#time.strftime) with the time
|
|
596
|
-
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
|
|
597
|
-
# Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
|
|
598
|
-
# org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
|
|
599
|
-
# formatter capable of generating timestamps in this format.
|
|
796
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
797
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
600
798
|
# Corresponds to the JSON property `completionTime`
|
|
601
799
|
# @return [Google::Apis::ToolresultsV1beta3::Timestamp]
|
|
602
800
|
attr_accessor :completion_time
|
|
603
801
|
|
|
604
802
|
# A Timestamp represents a point in time independent of any time zone or local
|
|
605
|
-
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
606
|
-
# resolution. The count is relative to an epoch at UTC midnight on
|
|
607
|
-
# 1970, in the proleptic Gregorian calendar which extends the
|
|
608
|
-
# backwards to year one.
|
|
803
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
804
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
805
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
806
|
+
# Gregorian calendar backwards to year one.
|
|
609
807
|
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
610
|
-
# second table is needed for interpretation, using a [24-hour linear
|
|
611
|
-
# https://developers.google.com/time/smear).
|
|
808
|
+
# second table is needed for interpretation, using a [24-hour linear
|
|
809
|
+
# smear](https://developers.google.com/time/smear).
|
|
612
810
|
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
613
|
-
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
614
|
-
# (https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
615
|
-
# # Examples
|
|
616
|
-
# Example 1: Compute Timestamp from POSIX `time()`.
|
|
617
|
-
# Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
|
|
618
|
-
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
619
|
-
# struct timeval tv; gettimeofday(&tv, NULL);
|
|
620
|
-
# Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
|
|
621
|
-
# tv_usec * 1000);
|
|
622
|
-
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
623
|
-
# FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
|
|
624
|
-
# dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
625
|
-
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
|
|
626
|
-
# 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
|
|
627
|
-
# timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
628
|
-
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
629
|
-
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
630
|
-
# long millis = System.currentTimeMillis();
|
|
631
|
-
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
|
|
632
|
-
# setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
633
|
-
# Example 5: Compute Timestamp from current time in Python.
|
|
634
|
-
# timestamp = Timestamp() timestamp.GetCurrentTime()
|
|
635
|
-
# # JSON Mapping
|
|
636
|
-
# In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
|
|
637
|
-
# https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
|
|
638
|
-
# month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
|
|
639
|
-
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
|
|
640
|
-
# zero-padded to two digits each. The fractional seconds, which can go up to 9
|
|
641
|
-
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
|
|
642
|
-
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
|
|
643
|
-
# serializer should always use UTC (as indicated by "Z") when printing the
|
|
644
|
-
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
|
|
645
|
-
# other timezones (as indicated by an offset).
|
|
646
|
-
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
|
|
647
|
-
# January 15, 2017.
|
|
648
|
-
# In JavaScript, one can convert a Date object to this format using the standard
|
|
649
|
-
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
|
|
650
|
-
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
|
|
651
|
-
# datetime.datetime` object can be converted to this format using [`strftime`](
|
|
652
|
-
# https://docs.python.org/2/library/time.html#time.strftime) with the time
|
|
653
|
-
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
|
|
654
|
-
# Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
|
|
655
|
-
# org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
|
|
656
|
-
# formatter capable of generating timestamps in this format.
|
|
811
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
812
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
657
813
|
# Corresponds to the JSON property `creationTime`
|
|
658
814
|
# @return [Google::Apis::ToolresultsV1beta3::Timestamp]
|
|
659
815
|
attr_accessor :creation_time
|
|
660
816
|
|
|
817
|
+
# The dimensions along which different steps in this execution may vary.
|
|
818
|
+
# This must remain fixed over the life of the execution.
|
|
819
|
+
# Returns INVALID_ARGUMENT if this field is set in an update request.
|
|
820
|
+
# Returns INVALID_ARGUMENT if the same name occurs in more than one
|
|
821
|
+
# dimension_definition.
|
|
822
|
+
# Returns INVALID_ARGUMENT if the size of the list is over 100.
|
|
823
|
+
# - In response: present if set by create
|
|
824
|
+
# - In create request: optional
|
|
825
|
+
# - In update request: never set
|
|
826
|
+
# Corresponds to the JSON property `dimensionDefinitions`
|
|
827
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::MatrixDimensionDefinition>]
|
|
828
|
+
attr_accessor :dimension_definitions
|
|
829
|
+
|
|
661
830
|
# A unique identifier within a History for this Execution.
|
|
662
831
|
# Returns INVALID_ARGUMENT if this field is set or overwritten by the caller.
|
|
663
|
-
# - In response always set
|
|
832
|
+
# - In response always set
|
|
833
|
+
# - In create/update request: never set
|
|
664
834
|
# Corresponds to the JSON property `executionId`
|
|
665
835
|
# @return [String]
|
|
666
836
|
attr_accessor :execution_id
|
|
@@ -677,20 +847,23 @@ module Google
|
|
|
677
847
|
|
|
678
848
|
# The initial state is IN_PROGRESS.
|
|
679
849
|
# The only legal state transitions is from IN_PROGRESS to COMPLETE.
|
|
680
|
-
# A PRECONDITION_FAILED will be returned if an invalid transition is
|
|
850
|
+
# A PRECONDITION_FAILED will be returned if an invalid transition is
|
|
851
|
+
# requested.
|
|
681
852
|
# The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be
|
|
682
853
|
# returned if the state is set to COMPLETE multiple times.
|
|
683
854
|
# If the state is set to COMPLETE, all the in-progress steps within the
|
|
684
|
-
# execution will be set as COMPLETE. If the outcome of the step is not set,
|
|
685
|
-
# outcome will be set to INCONCLUSIVE.
|
|
686
|
-
# - In response always set
|
|
855
|
+
# execution will be set as COMPLETE. If the outcome of the step is not set,
|
|
856
|
+
# the outcome will be set to INCONCLUSIVE.
|
|
857
|
+
# - In response always set
|
|
858
|
+
# - In create/update request: optional
|
|
687
859
|
# Corresponds to the JSON property `state`
|
|
688
860
|
# @return [String]
|
|
689
861
|
attr_accessor :state
|
|
690
862
|
|
|
691
863
|
# TestExecution Matrix ID that the TestExecutionService uses.
|
|
692
|
-
# - In response: present if set by create
|
|
693
|
-
#
|
|
864
|
+
# - In response: present if set by create
|
|
865
|
+
# - In create: optional
|
|
866
|
+
# - In update: never set
|
|
694
867
|
# Corresponds to the JSON property `testExecutionMatrixId`
|
|
695
868
|
# @return [String]
|
|
696
869
|
attr_accessor :test_execution_matrix_id
|
|
@@ -703,6 +876,7 @@ module Google
|
|
|
703
876
|
def update!(**args)
|
|
704
877
|
@completion_time = args[:completion_time] if args.key?(:completion_time)
|
|
705
878
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
|
879
|
+
@dimension_definitions = args[:dimension_definitions] if args.key?(:dimension_definitions)
|
|
706
880
|
@execution_id = args[:execution_id] if args.key?(:execution_id)
|
|
707
881
|
@outcome = args[:outcome] if args.key?(:outcome)
|
|
708
882
|
@specification = args[:specification] if args.key?(:specification)
|
|
@@ -711,6 +885,19 @@ module Google
|
|
|
711
885
|
end
|
|
712
886
|
end
|
|
713
887
|
|
|
888
|
+
# Failed to install the APK.
|
|
889
|
+
class FailedToInstall
|
|
890
|
+
include Google::Apis::Core::Hashable
|
|
891
|
+
|
|
892
|
+
def initialize(**args)
|
|
893
|
+
update!(**args)
|
|
894
|
+
end
|
|
895
|
+
|
|
896
|
+
# Update properties of this object
|
|
897
|
+
def update!(**args)
|
|
898
|
+
end
|
|
899
|
+
end
|
|
900
|
+
|
|
714
901
|
# Details for an outcome with a FAILURE outcome summary.
|
|
715
902
|
class FailureDetail
|
|
716
903
|
include Google::Apis::Core::Hashable
|
|
@@ -721,8 +908,8 @@ module Google
|
|
|
721
908
|
attr_accessor :crashed
|
|
722
909
|
alias_method :crashed?, :crashed
|
|
723
910
|
|
|
724
|
-
# If an app is not installed and thus no test can be run with the app.
|
|
725
|
-
# might be caused by trying to run a test on an unsupported platform.
|
|
911
|
+
# If an app is not installed and thus no test can be run with the app.
|
|
912
|
+
# This might be caused by trying to run a test on an unsupported platform.
|
|
726
913
|
# Corresponds to the JSON property `notInstalled`
|
|
727
914
|
# @return [Boolean]
|
|
728
915
|
attr_accessor :not_installed
|
|
@@ -740,7 +927,8 @@ module Google
|
|
|
740
927
|
attr_accessor :timed_out
|
|
741
928
|
alias_method :timed_out?, :timed_out
|
|
742
929
|
|
|
743
|
-
# If the robo was unable to crawl the app; perhaps because the app did not
|
|
930
|
+
# If the robo was unable to crawl the app; perhaps because the app did not
|
|
931
|
+
# start.
|
|
744
932
|
# Corresponds to the JSON property `unableToCrawl`
|
|
745
933
|
# @return [Boolean]
|
|
746
934
|
attr_accessor :unable_to_crawl
|
|
@@ -760,16 +948,38 @@ module Google
|
|
|
760
948
|
end
|
|
761
949
|
end
|
|
762
950
|
|
|
951
|
+
# Additional details for a fatal exception.
|
|
952
|
+
class FatalException
|
|
953
|
+
include Google::Apis::Core::Hashable
|
|
954
|
+
|
|
955
|
+
# A stacktrace.
|
|
956
|
+
# Corresponds to the JSON property `stackTrace`
|
|
957
|
+
# @return [Google::Apis::ToolresultsV1beta3::StackTrace]
|
|
958
|
+
attr_accessor :stack_trace
|
|
959
|
+
|
|
960
|
+
def initialize(**args)
|
|
961
|
+
update!(**args)
|
|
962
|
+
end
|
|
963
|
+
|
|
964
|
+
# Update properties of this object
|
|
965
|
+
def update!(**args)
|
|
966
|
+
@stack_trace = args[:stack_trace] if args.key?(:stack_trace)
|
|
967
|
+
end
|
|
968
|
+
end
|
|
969
|
+
|
|
763
970
|
# A reference to a file.
|
|
764
971
|
class FileReference
|
|
765
972
|
include Google::Apis::Core::Hashable
|
|
766
973
|
|
|
767
974
|
# The URI of a file stored in Google Cloud Storage.
|
|
768
|
-
# For example: http://storage.googleapis.com/mybucket/path/to/test.xml
|
|
769
|
-
# gsutil format: gs://mybucket/path/to/test.xml
|
|
770
|
-
#
|
|
771
|
-
#
|
|
772
|
-
#
|
|
975
|
+
# For example: http://storage.googleapis.com/mybucket/path/to/test.xml
|
|
976
|
+
# or in gsutil format: gs://mybucket/path/to/test.xml
|
|
977
|
+
# with version-specific info,
|
|
978
|
+
# gs://mybucket/path/to/test.xml#1360383693690000
|
|
979
|
+
# An INVALID_ARGUMENT error will be returned if the URI format is not
|
|
980
|
+
# supported.
|
|
981
|
+
# - In response: always set
|
|
982
|
+
# - In create/update request: always set
|
|
773
983
|
# Corresponds to the JSON property `fileUri`
|
|
774
984
|
# @return [String]
|
|
775
985
|
attr_accessor :file_uri
|
|
@@ -784,14 +994,16 @@ module Google
|
|
|
784
994
|
end
|
|
785
995
|
end
|
|
786
996
|
|
|
787
|
-
# Graphics statistics for the App.
|
|
788
|
-
#
|
|
789
|
-
#
|
|
997
|
+
# Graphics statistics for the App.
|
|
998
|
+
# The information is collected from 'adb shell dumpsys graphicsstats'.
|
|
999
|
+
# For more info see:
|
|
1000
|
+
# https://developer.android.com/training/testing/performance.html
|
|
1001
|
+
# Statistics will only be present for API 23+.
|
|
790
1002
|
class GraphicsStats
|
|
791
1003
|
include Google::Apis::Core::Hashable
|
|
792
1004
|
|
|
793
|
-
# Histogram of frame render times. There should be 154 buckets ranging from
|
|
794
|
-
# 6ms) to [4950ms, infinity)
|
|
1005
|
+
# Histogram of frame render times. There should be 154 buckets ranging from
|
|
1006
|
+
# [5ms, 6ms) to [4950ms, infinity)
|
|
795
1007
|
# Corresponds to the JSON property `buckets`
|
|
796
1008
|
# @return [Array<Google::Apis::ToolresultsV1beta3::GraphicsStatsBucket>]
|
|
797
1009
|
attr_accessor :buckets
|
|
@@ -901,32 +1113,42 @@ module Google
|
|
|
901
1113
|
# start_timestamp_millis field (descending). It can be used to group all the
|
|
902
1114
|
# Executions of a continuous build.
|
|
903
1115
|
# Note that the ordering only operates on one-dimension. If a repository has
|
|
904
|
-
# multiple branches, it means that multiple histories will need to be
|
|
905
|
-
# order to order Executions per branch.
|
|
1116
|
+
# multiple branches, it means that multiple histories will need to be
|
|
1117
|
+
# used in order to order Executions per branch.
|
|
906
1118
|
class History
|
|
907
1119
|
include Google::Apis::Core::Hashable
|
|
908
1120
|
|
|
909
|
-
# A short human-readable (plain text) name to display in the UI.
|
|
910
|
-
# characters.
|
|
911
|
-
# - In response: present if set during create.
|
|
1121
|
+
# A short human-readable (plain text) name to display in the UI.
|
|
1122
|
+
# Maximum of 100 characters.
|
|
1123
|
+
# - In response: present if set during create.
|
|
1124
|
+
# - In create request: optional
|
|
912
1125
|
# Corresponds to the JSON property `displayName`
|
|
913
1126
|
# @return [String]
|
|
914
1127
|
attr_accessor :display_name
|
|
915
1128
|
|
|
916
1129
|
# A unique identifier within a project for this History.
|
|
917
1130
|
# Returns INVALID_ARGUMENT if this field is set or overwritten by the caller.
|
|
918
|
-
# - In response always set
|
|
1131
|
+
# - In response always set
|
|
1132
|
+
# - In create request: never set
|
|
919
1133
|
# Corresponds to the JSON property `historyId`
|
|
920
1134
|
# @return [String]
|
|
921
1135
|
attr_accessor :history_id
|
|
922
1136
|
|
|
923
|
-
# A name to uniquely identify a history within a project.
|
|
924
|
-
# characters.
|
|
925
|
-
# - In response always set
|
|
1137
|
+
# A name to uniquely identify a history within a project.
|
|
1138
|
+
# Maximum of 200 characters.
|
|
1139
|
+
# - In response always set
|
|
1140
|
+
# - In create request: always set
|
|
926
1141
|
# Corresponds to the JSON property `name`
|
|
927
1142
|
# @return [String]
|
|
928
1143
|
attr_accessor :name
|
|
929
1144
|
|
|
1145
|
+
# The platform of the test history.
|
|
1146
|
+
# - In response: always set. Returns the platform of the last execution if
|
|
1147
|
+
# unknown.
|
|
1148
|
+
# Corresponds to the JSON property `testPlatform`
|
|
1149
|
+
# @return [String]
|
|
1150
|
+
attr_accessor :test_platform
|
|
1151
|
+
|
|
930
1152
|
def initialize(**args)
|
|
931
1153
|
update!(**args)
|
|
932
1154
|
end
|
|
@@ -936,6 +1158,7 @@ module Google
|
|
|
936
1158
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
937
1159
|
@history_id = args[:history_id] if args.key?(:history_id)
|
|
938
1160
|
@name = args[:name] if args.key?(:name)
|
|
1161
|
+
@test_platform = args[:test_platform] if args.key?(:test_platform)
|
|
939
1162
|
end
|
|
940
1163
|
end
|
|
941
1164
|
|
|
@@ -943,12 +1166,12 @@ module Google
|
|
|
943
1166
|
class Image
|
|
944
1167
|
include Google::Apis::Core::Hashable
|
|
945
1168
|
|
|
946
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
947
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
|
948
|
-
# gRPC](https://github.com/grpc). Each `Status` message contains
|
|
949
|
-
# data: error code, error message, and error details.
|
|
950
|
-
# You can find out more about this error model and how to work with it in the
|
|
951
|
-
# API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1169
|
+
# The `Status` type defines a logical error model that is suitable for
|
|
1170
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1171
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1172
|
+
# three pieces of data: error code, error message, and error details.
|
|
1173
|
+
# You can find out more about this error model and how to work with it in the
|
|
1174
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
952
1175
|
# Corresponds to the JSON property `error`
|
|
953
1176
|
# @return [Google::Apis::ToolresultsV1beta3::Status]
|
|
954
1177
|
attr_accessor :error
|
|
@@ -982,20 +1205,47 @@ module Google
|
|
|
982
1205
|
end
|
|
983
1206
|
end
|
|
984
1207
|
|
|
1208
|
+
# Additional details of in-app purchases encountered during the crawl.
|
|
1209
|
+
class InAppPurchasesFound
|
|
1210
|
+
include Google::Apis::Core::Hashable
|
|
1211
|
+
|
|
1212
|
+
# The total number of in-app purchases flows explored: how many times the
|
|
1213
|
+
# robo tries to buy a SKU.
|
|
1214
|
+
# Corresponds to the JSON property `inAppPurchasesFlowsExplored`
|
|
1215
|
+
# @return [Fixnum]
|
|
1216
|
+
attr_accessor :in_app_purchases_flows_explored
|
|
1217
|
+
|
|
1218
|
+
# The total number of in-app purchases flows started.
|
|
1219
|
+
# Corresponds to the JSON property `inAppPurchasesFlowsStarted`
|
|
1220
|
+
# @return [Fixnum]
|
|
1221
|
+
attr_accessor :in_app_purchases_flows_started
|
|
1222
|
+
|
|
1223
|
+
def initialize(**args)
|
|
1224
|
+
update!(**args)
|
|
1225
|
+
end
|
|
1226
|
+
|
|
1227
|
+
# Update properties of this object
|
|
1228
|
+
def update!(**args)
|
|
1229
|
+
@in_app_purchases_flows_explored = args[:in_app_purchases_flows_explored] if args.key?(:in_app_purchases_flows_explored)
|
|
1230
|
+
@in_app_purchases_flows_started = args[:in_app_purchases_flows_started] if args.key?(:in_app_purchases_flows_started)
|
|
1231
|
+
end
|
|
1232
|
+
end
|
|
1233
|
+
|
|
985
1234
|
# Details for an outcome with an INCONCLUSIVE outcome summary.
|
|
986
1235
|
class InconclusiveDetail
|
|
987
1236
|
include Google::Apis::Core::Hashable
|
|
988
1237
|
|
|
989
1238
|
# If the end user aborted the test execution before a pass or fail could be
|
|
990
|
-
# determined.
|
|
991
|
-
# the
|
|
1239
|
+
# determined.
|
|
1240
|
+
# For example, the user pressed ctrl-c which sent a kill signal to the test
|
|
1241
|
+
# runner while the test was running.
|
|
992
1242
|
# Corresponds to the JSON property `abortedByUser`
|
|
993
1243
|
# @return [Boolean]
|
|
994
1244
|
attr_accessor :aborted_by_user
|
|
995
1245
|
alias_method :aborted_by_user?, :aborted_by_user
|
|
996
1246
|
|
|
997
|
-
# If results are being provided to the user in certain cases of
|
|
998
|
-
# failures
|
|
1247
|
+
# If results are being provided to the user in certain cases of
|
|
1248
|
+
# infrastructure failures
|
|
999
1249
|
# Corresponds to the JSON property `hasErrorLogs`
|
|
1000
1250
|
# @return [Boolean]
|
|
1001
1251
|
attr_accessor :has_error_logs
|
|
@@ -1022,13 +1272,14 @@ module Google
|
|
|
1022
1272
|
end
|
|
1023
1273
|
end
|
|
1024
1274
|
|
|
1025
|
-
# Step Id and outcome of each individual step that was run as a group with
|
|
1026
|
-
# steps with the same configuration.
|
|
1275
|
+
# Step Id and outcome of each individual step that was run as a group with
|
|
1276
|
+
# other steps with the same configuration.
|
|
1027
1277
|
class IndividualOutcome
|
|
1028
1278
|
include Google::Apis::Core::Hashable
|
|
1029
1279
|
|
|
1030
|
-
# Unique int given to each step.
|
|
1031
|
-
#
|
|
1280
|
+
# Unique int given to each step.
|
|
1281
|
+
# Ranges from 0(inclusive) to total number of steps(exclusive).
|
|
1282
|
+
# The primary step is 0.
|
|
1032
1283
|
# Corresponds to the JSON property `multistepNumber`
|
|
1033
1284
|
# @return [Fixnum]
|
|
1034
1285
|
attr_accessor :multistep_number
|
|
@@ -1038,36 +1289,12 @@ module Google
|
|
|
1038
1289
|
# @return [String]
|
|
1039
1290
|
attr_accessor :outcome_summary
|
|
1040
1291
|
|
|
1041
|
-
# A Duration represents a signed, fixed-length span of time represented
|
|
1042
|
-
# count of seconds and fractions of seconds at nanosecond
|
|
1043
|
-
# independent of any calendar and concepts like "day"
|
|
1044
|
-
# to Timestamp in that the difference between
|
|
1045
|
-
# and it can be added or subtracted
|
|
1046
|
-
# 10,000 years.
|
|
1047
|
-
# # Examples
|
|
1048
|
-
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
|
1049
|
-
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
|
1050
|
-
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
|
1051
|
-
# start.nanos;
|
|
1052
|
-
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
|
1053
|
-
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
|
1054
|
-
# 1; duration.nanos += 1000000000; `
|
|
1055
|
-
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
1056
|
-
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
|
1057
|
-
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
|
1058
|
-
# duration.nanos;
|
|
1059
|
-
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
|
1060
|
-
# Example 3: Compute Duration from datetime.timedelta in Python.
|
|
1061
|
-
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
|
1062
|
-
# FromTimedelta(td)
|
|
1063
|
-
# # JSON Mapping
|
|
1064
|
-
# In JSON format, the Duration type is encoded as a string rather than an object,
|
|
1065
|
-
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
|
1066
|
-
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
|
1067
|
-
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
|
1068
|
-
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
|
1069
|
-
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
|
1070
|
-
# format as "3.000001s".
|
|
1292
|
+
# A Duration represents a signed, fixed-length span of time represented
|
|
1293
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
1294
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
1295
|
+
# or "month". It is related to Timestamp in that the difference between
|
|
1296
|
+
# two Timestamp values is a Duration and it can be added or subtracted
|
|
1297
|
+
# from a Timestamp. Range is approximately +-10,000 years.
|
|
1071
1298
|
# Corresponds to the JSON property `runDuration`
|
|
1072
1299
|
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
|
1073
1300
|
attr_accessor :run_duration
|
|
@@ -1090,48 +1317,266 @@ module Google
|
|
|
1090
1317
|
end
|
|
1091
1318
|
end
|
|
1092
1319
|
|
|
1093
|
-
#
|
|
1094
|
-
class
|
|
1320
|
+
# A warning that Robo did not crawl potentially important parts of the app.
|
|
1321
|
+
class InsufficientCoverage
|
|
1095
1322
|
include Google::Apis::Core::Hashable
|
|
1096
1323
|
|
|
1097
|
-
# Executions.
|
|
1098
|
-
# Always set.
|
|
1099
|
-
# Corresponds to the JSON property `executions`
|
|
1100
|
-
# @return [Array<Google::Apis::ToolresultsV1beta3::Execution>]
|
|
1101
|
-
attr_accessor :executions
|
|
1102
|
-
|
|
1103
|
-
# A continuation token to resume the query at the next item.
|
|
1104
|
-
# Will only be set if there are more Executions to fetch.
|
|
1105
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
1106
|
-
# @return [String]
|
|
1107
|
-
attr_accessor :next_page_token
|
|
1108
|
-
|
|
1109
1324
|
def initialize(**args)
|
|
1110
1325
|
update!(**args)
|
|
1111
1326
|
end
|
|
1112
1327
|
|
|
1113
1328
|
# Update properties of this object
|
|
1114
1329
|
def update!(**args)
|
|
1115
|
-
@executions = args[:executions] if args.key?(:executions)
|
|
1116
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1117
1330
|
end
|
|
1118
1331
|
end
|
|
1119
1332
|
|
|
1120
|
-
#
|
|
1121
|
-
class
|
|
1333
|
+
# Additional details for an iOS app crash.
|
|
1334
|
+
class IosAppCrashed
|
|
1122
1335
|
include Google::Apis::Core::Hashable
|
|
1123
1336
|
|
|
1124
|
-
#
|
|
1125
|
-
# Corresponds to the JSON property `
|
|
1126
|
-
# @return [
|
|
1127
|
-
attr_accessor :
|
|
1337
|
+
# A stacktrace.
|
|
1338
|
+
# Corresponds to the JSON property `stackTrace`
|
|
1339
|
+
# @return [Google::Apis::ToolresultsV1beta3::StackTrace]
|
|
1340
|
+
attr_accessor :stack_trace
|
|
1128
1341
|
|
|
1129
|
-
|
|
1342
|
+
def initialize(**args)
|
|
1343
|
+
update!(**args)
|
|
1344
|
+
end
|
|
1345
|
+
|
|
1346
|
+
# Update properties of this object
|
|
1347
|
+
def update!(**args)
|
|
1348
|
+
@stack_trace = args[:stack_trace] if args.key?(:stack_trace)
|
|
1349
|
+
end
|
|
1350
|
+
end
|
|
1351
|
+
|
|
1352
|
+
# iOS app information
|
|
1353
|
+
class IosAppInfo
|
|
1354
|
+
include Google::Apis::Core::Hashable
|
|
1355
|
+
|
|
1356
|
+
# The name of the app.
|
|
1357
|
+
# Required
|
|
1358
|
+
# Corresponds to the JSON property `name`
|
|
1359
|
+
# @return [String]
|
|
1360
|
+
attr_accessor :name
|
|
1361
|
+
|
|
1362
|
+
def initialize(**args)
|
|
1363
|
+
update!(**args)
|
|
1364
|
+
end
|
|
1365
|
+
|
|
1366
|
+
# Update properties of this object
|
|
1367
|
+
def update!(**args)
|
|
1368
|
+
@name = args[:name] if args.key?(:name)
|
|
1369
|
+
end
|
|
1370
|
+
end
|
|
1371
|
+
|
|
1372
|
+
# A Robo test for an iOS application.
|
|
1373
|
+
class IosRoboTest
|
|
1374
|
+
include Google::Apis::Core::Hashable
|
|
1375
|
+
|
|
1376
|
+
def initialize(**args)
|
|
1377
|
+
update!(**args)
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
# Update properties of this object
|
|
1381
|
+
def update!(**args)
|
|
1382
|
+
end
|
|
1383
|
+
end
|
|
1384
|
+
|
|
1385
|
+
# A iOS mobile test specification
|
|
1386
|
+
class IosTest
|
|
1387
|
+
include Google::Apis::Core::Hashable
|
|
1388
|
+
|
|
1389
|
+
# iOS app information
|
|
1390
|
+
# Corresponds to the JSON property `iosAppInfo`
|
|
1391
|
+
# @return [Google::Apis::ToolresultsV1beta3::IosAppInfo]
|
|
1392
|
+
attr_accessor :ios_app_info
|
|
1393
|
+
|
|
1394
|
+
# A Robo test for an iOS application.
|
|
1395
|
+
# Corresponds to the JSON property `iosRoboTest`
|
|
1396
|
+
# @return [Google::Apis::ToolresultsV1beta3::IosRoboTest]
|
|
1397
|
+
attr_accessor :ios_robo_test
|
|
1398
|
+
|
|
1399
|
+
# A game loop test of an iOS application.
|
|
1400
|
+
# Corresponds to the JSON property `iosTestLoop`
|
|
1401
|
+
# @return [Google::Apis::ToolresultsV1beta3::IosTestLoop]
|
|
1402
|
+
attr_accessor :ios_test_loop
|
|
1403
|
+
|
|
1404
|
+
# A test of an iOS application that uses the XCTest framework.
|
|
1405
|
+
# Corresponds to the JSON property `iosXcTest`
|
|
1406
|
+
# @return [Google::Apis::ToolresultsV1beta3::IosXcTest]
|
|
1407
|
+
attr_accessor :ios_xc_test
|
|
1408
|
+
|
|
1409
|
+
# A Duration represents a signed, fixed-length span of time represented
|
|
1410
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
1411
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
1412
|
+
# or "month". It is related to Timestamp in that the difference between
|
|
1413
|
+
# two Timestamp values is a Duration and it can be added or subtracted
|
|
1414
|
+
# from a Timestamp. Range is approximately +-10,000 years.
|
|
1415
|
+
# Corresponds to the JSON property `testTimeout`
|
|
1416
|
+
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
|
1417
|
+
attr_accessor :test_timeout
|
|
1418
|
+
|
|
1419
|
+
def initialize(**args)
|
|
1420
|
+
update!(**args)
|
|
1421
|
+
end
|
|
1422
|
+
|
|
1423
|
+
# Update properties of this object
|
|
1424
|
+
def update!(**args)
|
|
1425
|
+
@ios_app_info = args[:ios_app_info] if args.key?(:ios_app_info)
|
|
1426
|
+
@ios_robo_test = args[:ios_robo_test] if args.key?(:ios_robo_test)
|
|
1427
|
+
@ios_test_loop = args[:ios_test_loop] if args.key?(:ios_test_loop)
|
|
1428
|
+
@ios_xc_test = args[:ios_xc_test] if args.key?(:ios_xc_test)
|
|
1429
|
+
@test_timeout = args[:test_timeout] if args.key?(:test_timeout)
|
|
1430
|
+
end
|
|
1431
|
+
end
|
|
1432
|
+
|
|
1433
|
+
# A game loop test of an iOS application.
|
|
1434
|
+
class IosTestLoop
|
|
1435
|
+
include Google::Apis::Core::Hashable
|
|
1436
|
+
|
|
1437
|
+
# Bundle ID of the app.
|
|
1438
|
+
# Corresponds to the JSON property `bundleId`
|
|
1439
|
+
# @return [String]
|
|
1440
|
+
attr_accessor :bundle_id
|
|
1441
|
+
|
|
1442
|
+
def initialize(**args)
|
|
1443
|
+
update!(**args)
|
|
1444
|
+
end
|
|
1445
|
+
|
|
1446
|
+
# Update properties of this object
|
|
1447
|
+
def update!(**args)
|
|
1448
|
+
@bundle_id = args[:bundle_id] if args.key?(:bundle_id)
|
|
1449
|
+
end
|
|
1450
|
+
end
|
|
1451
|
+
|
|
1452
|
+
# A test of an iOS application that uses the XCTest framework.
|
|
1453
|
+
class IosXcTest
|
|
1454
|
+
include Google::Apis::Core::Hashable
|
|
1455
|
+
|
|
1456
|
+
# Bundle ID of the app.
|
|
1457
|
+
# Corresponds to the JSON property `bundleId`
|
|
1458
|
+
# @return [String]
|
|
1459
|
+
attr_accessor :bundle_id
|
|
1460
|
+
|
|
1461
|
+
# Xcode version that the test was run with.
|
|
1462
|
+
# Corresponds to the JSON property `xcodeVersion`
|
|
1463
|
+
# @return [String]
|
|
1464
|
+
attr_accessor :xcode_version
|
|
1465
|
+
|
|
1466
|
+
def initialize(**args)
|
|
1467
|
+
update!(**args)
|
|
1468
|
+
end
|
|
1469
|
+
|
|
1470
|
+
# Update properties of this object
|
|
1471
|
+
def update!(**args)
|
|
1472
|
+
@bundle_id = args[:bundle_id] if args.key?(:bundle_id)
|
|
1473
|
+
@xcode_version = args[:xcode_version] if args.key?(:xcode_version)
|
|
1474
|
+
end
|
|
1475
|
+
end
|
|
1476
|
+
|
|
1477
|
+
# Failed to find the launcher activity of an app.
|
|
1478
|
+
class LauncherActivityNotFound
|
|
1479
|
+
include Google::Apis::Core::Hashable
|
|
1480
|
+
|
|
1481
|
+
def initialize(**args)
|
|
1482
|
+
update!(**args)
|
|
1483
|
+
end
|
|
1484
|
+
|
|
1485
|
+
# Update properties of this object
|
|
1486
|
+
def update!(**args)
|
|
1487
|
+
end
|
|
1488
|
+
end
|
|
1489
|
+
|
|
1490
|
+
# Response message for EnvironmentService.ListEnvironments.
|
|
1491
|
+
class ListEnvironmentsResponse
|
|
1492
|
+
include Google::Apis::Core::Hashable
|
|
1493
|
+
|
|
1494
|
+
# Environments.
|
|
1495
|
+
# Always set.
|
|
1496
|
+
# Corresponds to the JSON property `environments`
|
|
1497
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::Environment>]
|
|
1498
|
+
attr_accessor :environments
|
|
1499
|
+
|
|
1500
|
+
# A Execution id
|
|
1501
|
+
# Always set.
|
|
1502
|
+
# Corresponds to the JSON property `executionId`
|
|
1503
|
+
# @return [String]
|
|
1504
|
+
attr_accessor :execution_id
|
|
1505
|
+
|
|
1506
|
+
# A History id.
|
|
1507
|
+
# Always set.
|
|
1508
|
+
# Corresponds to the JSON property `historyId`
|
|
1509
|
+
# @return [String]
|
|
1510
|
+
attr_accessor :history_id
|
|
1511
|
+
|
|
1512
|
+
# A continuation token to resume the query at the next item.
|
|
1513
|
+
# Will only be set if there are more Environments to fetch.
|
|
1514
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1515
|
+
# @return [String]
|
|
1516
|
+
attr_accessor :next_page_token
|
|
1517
|
+
|
|
1518
|
+
# A Project id.
|
|
1519
|
+
# Always set.
|
|
1520
|
+
# Corresponds to the JSON property `projectId`
|
|
1521
|
+
# @return [String]
|
|
1522
|
+
attr_accessor :project_id
|
|
1523
|
+
|
|
1524
|
+
def initialize(**args)
|
|
1525
|
+
update!(**args)
|
|
1526
|
+
end
|
|
1527
|
+
|
|
1528
|
+
# Update properties of this object
|
|
1529
|
+
def update!(**args)
|
|
1530
|
+
@environments = args[:environments] if args.key?(:environments)
|
|
1531
|
+
@execution_id = args[:execution_id] if args.key?(:execution_id)
|
|
1532
|
+
@history_id = args[:history_id] if args.key?(:history_id)
|
|
1533
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1534
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
|
1535
|
+
end
|
|
1536
|
+
end
|
|
1537
|
+
|
|
1538
|
+
#
|
|
1539
|
+
class ListExecutionsResponse
|
|
1540
|
+
include Google::Apis::Core::Hashable
|
|
1541
|
+
|
|
1542
|
+
# Executions.
|
|
1543
|
+
# Always set.
|
|
1544
|
+
# Corresponds to the JSON property `executions`
|
|
1545
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::Execution>]
|
|
1546
|
+
attr_accessor :executions
|
|
1547
|
+
|
|
1548
|
+
# A continuation token to resume the query at the next item.
|
|
1549
|
+
# Will only be set if there are more Executions to fetch.
|
|
1550
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1551
|
+
# @return [String]
|
|
1552
|
+
attr_accessor :next_page_token
|
|
1553
|
+
|
|
1554
|
+
def initialize(**args)
|
|
1555
|
+
update!(**args)
|
|
1556
|
+
end
|
|
1557
|
+
|
|
1558
|
+
# Update properties of this object
|
|
1559
|
+
def update!(**args)
|
|
1560
|
+
@executions = args[:executions] if args.key?(:executions)
|
|
1561
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1562
|
+
end
|
|
1563
|
+
end
|
|
1564
|
+
|
|
1565
|
+
# Response message for HistoryService.List
|
|
1566
|
+
class ListHistoriesResponse
|
|
1567
|
+
include Google::Apis::Core::Hashable
|
|
1568
|
+
|
|
1569
|
+
# Histories.
|
|
1570
|
+
# Corresponds to the JSON property `histories`
|
|
1571
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::History>]
|
|
1572
|
+
attr_accessor :histories
|
|
1573
|
+
|
|
1574
|
+
# A continuation token to resume the query at the next item.
|
|
1130
1575
|
# Will only be set if there are more histories to fetch.
|
|
1131
|
-
# Tokens are valid for up to one hour from the time of the first list
|
|
1132
|
-
# For instance, if you make a list request at 1PM and use the token
|
|
1133
|
-
# first request 10 minutes later, the token from this second
|
|
1134
|
-
# be valid for 50 minutes.
|
|
1576
|
+
# Tokens are valid for up to one hour from the time of the first list
|
|
1577
|
+
# request. For instance, if you make a list request at 1PM and use the token
|
|
1578
|
+
# from this first request 10 minutes later, the token from this second
|
|
1579
|
+
# response will only be valid for 50 minutes.
|
|
1135
1580
|
# Corresponds to the JSON property `nextPageToken`
|
|
1136
1581
|
# @return [String]
|
|
1137
1582
|
attr_accessor :next_page_token
|
|
@@ -1171,8 +1616,8 @@ module Google
|
|
|
1171
1616
|
include Google::Apis::Core::Hashable
|
|
1172
1617
|
|
|
1173
1618
|
# Optional, returned if result size exceeds the page size specified in the
|
|
1174
|
-
# request (or the default page size, 500, if unspecified). It indicates the
|
|
1175
|
-
# sample timestamp to be used as page_token in subsequent request
|
|
1619
|
+
# request (or the default page size, 500, if unspecified). It indicates the
|
|
1620
|
+
# last sample timestamp to be used as page_token in subsequent request
|
|
1176
1621
|
# Corresponds to the JSON property `nextPageToken`
|
|
1177
1622
|
# @return [String]
|
|
1178
1623
|
attr_accessor :next_page_token
|
|
@@ -1197,7 +1642,8 @@ module Google
|
|
|
1197
1642
|
class ListScreenshotClustersResponse
|
|
1198
1643
|
include Google::Apis::Core::Hashable
|
|
1199
1644
|
|
|
1200
|
-
# The set of clusters associated with an execution
|
|
1645
|
+
# The set of clusters associated with an execution
|
|
1646
|
+
# Always set
|
|
1201
1647
|
# Corresponds to the JSON property `clusters`
|
|
1202
1648
|
# @return [Array<Google::Apis::ToolresultsV1beta3::ScreenshotCluster>]
|
|
1203
1649
|
attr_accessor :clusters
|
|
@@ -1212,6 +1658,39 @@ module Google
|
|
|
1212
1658
|
end
|
|
1213
1659
|
end
|
|
1214
1660
|
|
|
1661
|
+
# Response message for AccessibilityService.ListStepAccessibilityClusters.
|
|
1662
|
+
class ListStepAccessibilityClustersResponse
|
|
1663
|
+
include Google::Apis::Core::Hashable
|
|
1664
|
+
|
|
1665
|
+
# A sequence of accessibility suggestions, grouped into clusters.
|
|
1666
|
+
# Within the sequence, clusters that belong to the same SuggestionCategory
|
|
1667
|
+
# should be adjacent.
|
|
1668
|
+
# Within each category, clusters should be ordered by their
|
|
1669
|
+
# SuggestionPriority (ERRORs first).
|
|
1670
|
+
# The categories should be ordered by their highest priority cluster.
|
|
1671
|
+
# Corresponds to the JSON property `clusters`
|
|
1672
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::SuggestionClusterProto>]
|
|
1673
|
+
attr_accessor :clusters
|
|
1674
|
+
|
|
1675
|
+
# A full resource name of the step.
|
|
1676
|
+
# For example, projects/my-project/histories/bh.1234567890abcdef/executions/
|
|
1677
|
+
# 1234567890123456789/steps/bs.1234567890abcdef
|
|
1678
|
+
# Always presents.
|
|
1679
|
+
# Corresponds to the JSON property `name`
|
|
1680
|
+
# @return [String]
|
|
1681
|
+
attr_accessor :name
|
|
1682
|
+
|
|
1683
|
+
def initialize(**args)
|
|
1684
|
+
update!(**args)
|
|
1685
|
+
end
|
|
1686
|
+
|
|
1687
|
+
# Update properties of this object
|
|
1688
|
+
def update!(**args)
|
|
1689
|
+
@clusters = args[:clusters] if args.key?(:clusters)
|
|
1690
|
+
@name = args[:name] if args.key?(:name)
|
|
1691
|
+
end
|
|
1692
|
+
end
|
|
1693
|
+
|
|
1215
1694
|
# A response containing the thumbnails in a step.
|
|
1216
1695
|
class ListStepThumbnailsResponse
|
|
1217
1696
|
include Google::Apis::Core::Hashable
|
|
@@ -1225,11 +1704,14 @@ module Google
|
|
|
1225
1704
|
|
|
1226
1705
|
# A list of image data.
|
|
1227
1706
|
# Images are returned in a deterministic order; they are ordered by these
|
|
1228
|
-
# factors, in order of
|
|
1229
|
-
#
|
|
1230
|
-
#
|
|
1231
|
-
# than images with one.
|
|
1232
|
-
#
|
|
1707
|
+
# factors, in order of
|
|
1708
|
+
# importance:
|
|
1709
|
+
# * First, by their associated test case. Images without a test case are
|
|
1710
|
+
# considered greater than images with one.
|
|
1711
|
+
# * Second, by their creation time. Images without a creation time are
|
|
1712
|
+
# greater than images with one.
|
|
1713
|
+
# * Third, by the order in which they were added to the step (by calls to
|
|
1714
|
+
# CreateStep or UpdateStep).
|
|
1233
1715
|
# Corresponds to the JSON property `thumbnails`
|
|
1234
1716
|
# @return [Array<Google::Apis::ToolresultsV1beta3::Image>]
|
|
1235
1717
|
attr_accessor :thumbnails
|
|
@@ -1297,6 +1779,19 @@ module Google
|
|
|
1297
1779
|
end
|
|
1298
1780
|
end
|
|
1299
1781
|
|
|
1782
|
+
# One dimension of the matrix of different runs of a step.
|
|
1783
|
+
class MatrixDimensionDefinition
|
|
1784
|
+
include Google::Apis::Core::Hashable
|
|
1785
|
+
|
|
1786
|
+
def initialize(**args)
|
|
1787
|
+
update!(**args)
|
|
1788
|
+
end
|
|
1789
|
+
|
|
1790
|
+
# Update properties of this object
|
|
1791
|
+
def update!(**args)
|
|
1792
|
+
end
|
|
1793
|
+
end
|
|
1794
|
+
|
|
1300
1795
|
#
|
|
1301
1796
|
class MemoryInfo
|
|
1302
1797
|
include Google::Apis::Core::Hashable
|
|
@@ -1322,12 +1817,58 @@ module Google
|
|
|
1322
1817
|
end
|
|
1323
1818
|
end
|
|
1324
1819
|
|
|
1820
|
+
# Merged test result for environment.
|
|
1821
|
+
# If the environment has only one step (no reruns or shards), then the merged
|
|
1822
|
+
# result is the same as the step result. If the environment has multiple shards
|
|
1823
|
+
# and/or reruns, then the results of shards and reruns that belong to the same
|
|
1824
|
+
# environment are merged into one environment result.
|
|
1825
|
+
class MergedResult
|
|
1826
|
+
include Google::Apis::Core::Hashable
|
|
1827
|
+
|
|
1828
|
+
# Interprets a result so that humans and machines can act on it.
|
|
1829
|
+
# Corresponds to the JSON property `outcome`
|
|
1830
|
+
# @return [Google::Apis::ToolresultsV1beta3::Outcome]
|
|
1831
|
+
attr_accessor :outcome
|
|
1832
|
+
|
|
1833
|
+
# State of the resource
|
|
1834
|
+
# Corresponds to the JSON property `state`
|
|
1835
|
+
# @return [String]
|
|
1836
|
+
attr_accessor :state
|
|
1837
|
+
|
|
1838
|
+
# The combined and rolled-up result of each test suite that was run as part
|
|
1839
|
+
# of this environment.
|
|
1840
|
+
# Combining:
|
|
1841
|
+
# When the test cases from a suite are run in different steps (sharding),
|
|
1842
|
+
# the results are added back together in one overview. (e.g., if shard1 has
|
|
1843
|
+
# 2 failures and shard2 has 1 failure than the overview failure_count = 3).
|
|
1844
|
+
# Rollup:
|
|
1845
|
+
# When test cases from the same suite are run multiple times (flaky), the
|
|
1846
|
+
# results are combined (e.g., if testcase1.run1 fails, testcase1.run2
|
|
1847
|
+
# passes, and both testcase2.run1 and testcase2.run2 fail then the overview
|
|
1848
|
+
# flaky_count = 1 and failure_count = 1).
|
|
1849
|
+
# Corresponds to the JSON property `testSuiteOverviews`
|
|
1850
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::TestSuiteOverview>]
|
|
1851
|
+
attr_accessor :test_suite_overviews
|
|
1852
|
+
|
|
1853
|
+
def initialize(**args)
|
|
1854
|
+
update!(**args)
|
|
1855
|
+
end
|
|
1856
|
+
|
|
1857
|
+
# Update properties of this object
|
|
1858
|
+
def update!(**args)
|
|
1859
|
+
@outcome = args[:outcome] if args.key?(:outcome)
|
|
1860
|
+
@state = args[:state] if args.key?(:state)
|
|
1861
|
+
@test_suite_overviews = args[:test_suite_overviews] if args.key?(:test_suite_overviews)
|
|
1862
|
+
end
|
|
1863
|
+
end
|
|
1864
|
+
|
|
1325
1865
|
# Details when multiple steps are run with the same configuration as a group.
|
|
1326
1866
|
class MultiStep
|
|
1327
1867
|
include Google::Apis::Core::Hashable
|
|
1328
1868
|
|
|
1329
|
-
# Unique int given to each step.
|
|
1330
|
-
#
|
|
1869
|
+
# Unique int given to each step.
|
|
1870
|
+
# Ranges from 0(inclusive) to total number of steps(exclusive).
|
|
1871
|
+
# The primary step is 0.
|
|
1331
1872
|
# Corresponds to the JSON property `multistepNumber`
|
|
1332
1873
|
# @return [Fixnum]
|
|
1333
1874
|
attr_accessor :multistep_number
|
|
@@ -1355,6 +1896,174 @@ module Google
|
|
|
1355
1896
|
end
|
|
1356
1897
|
end
|
|
1357
1898
|
|
|
1899
|
+
# Additional details for a native crash.
|
|
1900
|
+
class NativeCrash
|
|
1901
|
+
include Google::Apis::Core::Hashable
|
|
1902
|
+
|
|
1903
|
+
# A stacktrace.
|
|
1904
|
+
# Corresponds to the JSON property `stackTrace`
|
|
1905
|
+
# @return [Google::Apis::ToolresultsV1beta3::StackTrace]
|
|
1906
|
+
attr_accessor :stack_trace
|
|
1907
|
+
|
|
1908
|
+
def initialize(**args)
|
|
1909
|
+
update!(**args)
|
|
1910
|
+
end
|
|
1911
|
+
|
|
1912
|
+
# Update properties of this object
|
|
1913
|
+
def update!(**args)
|
|
1914
|
+
@stack_trace = args[:stack_trace] if args.key?(:stack_trace)
|
|
1915
|
+
end
|
|
1916
|
+
end
|
|
1917
|
+
|
|
1918
|
+
# A non-sdk API and examples of it being called along with other metadata
|
|
1919
|
+
# See
|
|
1920
|
+
# https://developer.android.com/distribute/best-practices/develop/restrictions-
|
|
1921
|
+
# non-sdk-interfaces
|
|
1922
|
+
class NonSdkApi
|
|
1923
|
+
include Google::Apis::Core::Hashable
|
|
1924
|
+
|
|
1925
|
+
# The signature of the Non-SDK API
|
|
1926
|
+
# Corresponds to the JSON property `apiSignature`
|
|
1927
|
+
# @return [String]
|
|
1928
|
+
attr_accessor :api_signature
|
|
1929
|
+
|
|
1930
|
+
# Example stack traces of this API being called.
|
|
1931
|
+
# Corresponds to the JSON property `exampleStackTraces`
|
|
1932
|
+
# @return [Array<String>]
|
|
1933
|
+
attr_accessor :example_stack_traces
|
|
1934
|
+
|
|
1935
|
+
# Optional debugging insights for non-SDK API violations.
|
|
1936
|
+
# Corresponds to the JSON property `insights`
|
|
1937
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::NonSdkApiInsight>]
|
|
1938
|
+
attr_accessor :insights
|
|
1939
|
+
|
|
1940
|
+
# The total number of times this API was observed to have been called.
|
|
1941
|
+
# Corresponds to the JSON property `invocationCount`
|
|
1942
|
+
# @return [Fixnum]
|
|
1943
|
+
attr_accessor :invocation_count
|
|
1944
|
+
|
|
1945
|
+
# Which list this API appears on
|
|
1946
|
+
# Corresponds to the JSON property `list`
|
|
1947
|
+
# @return [String]
|
|
1948
|
+
attr_accessor :list
|
|
1949
|
+
|
|
1950
|
+
def initialize(**args)
|
|
1951
|
+
update!(**args)
|
|
1952
|
+
end
|
|
1953
|
+
|
|
1954
|
+
# Update properties of this object
|
|
1955
|
+
def update!(**args)
|
|
1956
|
+
@api_signature = args[:api_signature] if args.key?(:api_signature)
|
|
1957
|
+
@example_stack_traces = args[:example_stack_traces] if args.key?(:example_stack_traces)
|
|
1958
|
+
@insights = args[:insights] if args.key?(:insights)
|
|
1959
|
+
@invocation_count = args[:invocation_count] if args.key?(:invocation_count)
|
|
1960
|
+
@list = args[:list] if args.key?(:list)
|
|
1961
|
+
end
|
|
1962
|
+
end
|
|
1963
|
+
|
|
1964
|
+
# Non-SDK API insights (to address debugging solutions).
|
|
1965
|
+
class NonSdkApiInsight
|
|
1966
|
+
include Google::Apis::Core::Hashable
|
|
1967
|
+
|
|
1968
|
+
# Optional sample stack traces, for which this insight applies (there
|
|
1969
|
+
# should be at least one).
|
|
1970
|
+
# Corresponds to the JSON property `exampleTraceMessages`
|
|
1971
|
+
# @return [Array<String>]
|
|
1972
|
+
attr_accessor :example_trace_messages
|
|
1973
|
+
|
|
1974
|
+
# A unique ID, to be used for determining the effectiveness of this
|
|
1975
|
+
# particular insight in the context of a matcher. (required)
|
|
1976
|
+
# Corresponds to the JSON property `matcherId`
|
|
1977
|
+
# @return [String]
|
|
1978
|
+
attr_accessor :matcher_id
|
|
1979
|
+
|
|
1980
|
+
# This insight indicates that the hidden API usage originates from a
|
|
1981
|
+
# Google-provided library. Users need not take any action.
|
|
1982
|
+
# Corresponds to the JSON property `pendingGoogleUpdateInsight`
|
|
1983
|
+
# @return [Google::Apis::ToolresultsV1beta3::PendingGoogleUpdateInsight]
|
|
1984
|
+
attr_accessor :pending_google_update_insight
|
|
1985
|
+
|
|
1986
|
+
# This insight is a recommendation to upgrade a given library to the specified
|
|
1987
|
+
# version, in order to avoid dependencies on non-SDK APIs.
|
|
1988
|
+
# Corresponds to the JSON property `upgradeInsight`
|
|
1989
|
+
# @return [Google::Apis::ToolresultsV1beta3::UpgradeInsight]
|
|
1990
|
+
attr_accessor :upgrade_insight
|
|
1991
|
+
|
|
1992
|
+
def initialize(**args)
|
|
1993
|
+
update!(**args)
|
|
1994
|
+
end
|
|
1995
|
+
|
|
1996
|
+
# Update properties of this object
|
|
1997
|
+
def update!(**args)
|
|
1998
|
+
@example_trace_messages = args[:example_trace_messages] if args.key?(:example_trace_messages)
|
|
1999
|
+
@matcher_id = args[:matcher_id] if args.key?(:matcher_id)
|
|
2000
|
+
@pending_google_update_insight = args[:pending_google_update_insight] if args.key?(:pending_google_update_insight)
|
|
2001
|
+
@upgrade_insight = args[:upgrade_insight] if args.key?(:upgrade_insight)
|
|
2002
|
+
end
|
|
2003
|
+
end
|
|
2004
|
+
|
|
2005
|
+
# Additional details for a non-sdk API usage violation.
|
|
2006
|
+
class NonSdkApiUsageViolation
|
|
2007
|
+
include Google::Apis::Core::Hashable
|
|
2008
|
+
|
|
2009
|
+
# Signatures of a subset of those hidden API's.
|
|
2010
|
+
# Corresponds to the JSON property `apiSignatures`
|
|
2011
|
+
# @return [Array<String>]
|
|
2012
|
+
attr_accessor :api_signatures
|
|
2013
|
+
|
|
2014
|
+
# Total number of unique hidden API's accessed.
|
|
2015
|
+
# Corresponds to the JSON property `uniqueApis`
|
|
2016
|
+
# @return [Fixnum]
|
|
2017
|
+
attr_accessor :unique_apis
|
|
2018
|
+
|
|
2019
|
+
def initialize(**args)
|
|
2020
|
+
update!(**args)
|
|
2021
|
+
end
|
|
2022
|
+
|
|
2023
|
+
# Update properties of this object
|
|
2024
|
+
def update!(**args)
|
|
2025
|
+
@api_signatures = args[:api_signatures] if args.key?(:api_signatures)
|
|
2026
|
+
@unique_apis = args[:unique_apis] if args.key?(:unique_apis)
|
|
2027
|
+
end
|
|
2028
|
+
end
|
|
2029
|
+
|
|
2030
|
+
# Contains a summary and examples of non-sdk API usage violations.
|
|
2031
|
+
class NonSdkApiUsageViolationReport
|
|
2032
|
+
include Google::Apis::Core::Hashable
|
|
2033
|
+
|
|
2034
|
+
# Examples of the detected API usages.
|
|
2035
|
+
# Corresponds to the JSON property `exampleApis`
|
|
2036
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::NonSdkApi>]
|
|
2037
|
+
attr_accessor :example_apis
|
|
2038
|
+
|
|
2039
|
+
# Minimum API level required for the application to run.
|
|
2040
|
+
# Corresponds to the JSON property `minSdkVersion`
|
|
2041
|
+
# @return [Fixnum]
|
|
2042
|
+
attr_accessor :min_sdk_version
|
|
2043
|
+
|
|
2044
|
+
# Specifies the API Level on which the application is designed to run.
|
|
2045
|
+
# Corresponds to the JSON property `targetSdkVersion`
|
|
2046
|
+
# @return [Fixnum]
|
|
2047
|
+
attr_accessor :target_sdk_version
|
|
2048
|
+
|
|
2049
|
+
# Total number of unique Non-SDK API's accessed.
|
|
2050
|
+
# Corresponds to the JSON property `uniqueApis`
|
|
2051
|
+
# @return [Fixnum]
|
|
2052
|
+
attr_accessor :unique_apis
|
|
2053
|
+
|
|
2054
|
+
def initialize(**args)
|
|
2055
|
+
update!(**args)
|
|
2056
|
+
end
|
|
2057
|
+
|
|
2058
|
+
# Update properties of this object
|
|
2059
|
+
def update!(**args)
|
|
2060
|
+
@example_apis = args[:example_apis] if args.key?(:example_apis)
|
|
2061
|
+
@min_sdk_version = args[:min_sdk_version] if args.key?(:min_sdk_version)
|
|
2062
|
+
@target_sdk_version = args[:target_sdk_version] if args.key?(:target_sdk_version)
|
|
2063
|
+
@unique_apis = args[:unique_apis] if args.key?(:unique_apis)
|
|
2064
|
+
end
|
|
2065
|
+
end
|
|
2066
|
+
|
|
1358
2067
|
# Interprets a result so that humans and machines can act on it.
|
|
1359
2068
|
class Outcome
|
|
1360
2069
|
include Google::Apis::Core::Hashable
|
|
@@ -1375,6 +2084,7 @@ module Google
|
|
|
1375
2084
|
attr_accessor :skipped_detail
|
|
1376
2085
|
|
|
1377
2086
|
# Details for an outcome with a SUCCESS outcome summary.
|
|
2087
|
+
# LINT.IfChange
|
|
1378
2088
|
# Corresponds to the JSON property `successDetail`
|
|
1379
2089
|
# @return [Google::Apis::ToolresultsV1beta3::SuccessDetail]
|
|
1380
2090
|
attr_accessor :success_detail
|
|
@@ -1399,6 +2109,52 @@ module Google
|
|
|
1399
2109
|
end
|
|
1400
2110
|
end
|
|
1401
2111
|
|
|
2112
|
+
# A warning that Robo encountered a screen that has overlapping clickable
|
|
2113
|
+
# elements; this may indicate a potential UI issue.
|
|
2114
|
+
class OverlappingUiElements
|
|
2115
|
+
include Google::Apis::Core::Hashable
|
|
2116
|
+
|
|
2117
|
+
# Resource names of the overlapping screen elements
|
|
2118
|
+
# Corresponds to the JSON property `resourceName`
|
|
2119
|
+
# @return [Array<String>]
|
|
2120
|
+
attr_accessor :resource_name
|
|
2121
|
+
|
|
2122
|
+
# The screen id of the elements
|
|
2123
|
+
# Corresponds to the JSON property `screenId`
|
|
2124
|
+
# @return [String]
|
|
2125
|
+
attr_accessor :screen_id
|
|
2126
|
+
|
|
2127
|
+
def initialize(**args)
|
|
2128
|
+
update!(**args)
|
|
2129
|
+
end
|
|
2130
|
+
|
|
2131
|
+
# Update properties of this object
|
|
2132
|
+
def update!(**args)
|
|
2133
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
2134
|
+
@screen_id = args[:screen_id] if args.key?(:screen_id)
|
|
2135
|
+
end
|
|
2136
|
+
end
|
|
2137
|
+
|
|
2138
|
+
# This insight indicates that the hidden API usage originates from a
|
|
2139
|
+
# Google-provided library. Users need not take any action.
|
|
2140
|
+
class PendingGoogleUpdateInsight
|
|
2141
|
+
include Google::Apis::Core::Hashable
|
|
2142
|
+
|
|
2143
|
+
# The name of the Google-provided library with the non-SDK API dependency.
|
|
2144
|
+
# Corresponds to the JSON property `nameOfGoogleLibrary`
|
|
2145
|
+
# @return [String]
|
|
2146
|
+
attr_accessor :name_of_google_library
|
|
2147
|
+
|
|
2148
|
+
def initialize(**args)
|
|
2149
|
+
update!(**args)
|
|
2150
|
+
end
|
|
2151
|
+
|
|
2152
|
+
# Update properties of this object
|
|
2153
|
+
def update!(**args)
|
|
2154
|
+
@name_of_google_library = args[:name_of_google_library] if args.key?(:name_of_google_library)
|
|
2155
|
+
end
|
|
2156
|
+
end
|
|
2157
|
+
|
|
1402
2158
|
# Encapsulates performance environment info
|
|
1403
2159
|
class PerfEnvironment
|
|
1404
2160
|
include Google::Apis::Core::Hashable
|
|
@@ -1434,18 +2190,22 @@ module Google
|
|
|
1434
2190
|
attr_accessor :app_start_time
|
|
1435
2191
|
|
|
1436
2192
|
# A tool results execution ID.
|
|
2193
|
+
# @OutputOnly
|
|
1437
2194
|
# Corresponds to the JSON property `executionId`
|
|
1438
2195
|
# @return [String]
|
|
1439
2196
|
attr_accessor :execution_id
|
|
1440
2197
|
|
|
1441
|
-
# Graphics statistics for the App.
|
|
1442
|
-
#
|
|
1443
|
-
#
|
|
2198
|
+
# Graphics statistics for the App.
|
|
2199
|
+
# The information is collected from 'adb shell dumpsys graphicsstats'.
|
|
2200
|
+
# For more info see:
|
|
2201
|
+
# https://developer.android.com/training/testing/performance.html
|
|
2202
|
+
# Statistics will only be present for API 23+.
|
|
1444
2203
|
# Corresponds to the JSON property `graphicsStats`
|
|
1445
2204
|
# @return [Google::Apis::ToolresultsV1beta3::GraphicsStats]
|
|
1446
2205
|
attr_accessor :graphics_stats
|
|
1447
2206
|
|
|
1448
2207
|
# A tool results history ID.
|
|
2208
|
+
# @OutputOnly
|
|
1449
2209
|
# Corresponds to the JSON property `historyId`
|
|
1450
2210
|
# @return [String]
|
|
1451
2211
|
attr_accessor :history_id
|
|
@@ -1461,11 +2221,13 @@ module Google
|
|
|
1461
2221
|
attr_accessor :perf_metrics
|
|
1462
2222
|
|
|
1463
2223
|
# The cloud project
|
|
2224
|
+
# @OutputOnly
|
|
1464
2225
|
# Corresponds to the JSON property `projectId`
|
|
1465
2226
|
# @return [String]
|
|
1466
2227
|
attr_accessor :project_id
|
|
1467
2228
|
|
|
1468
2229
|
# A tool results step ID.
|
|
2230
|
+
# @OutputOnly
|
|
1469
2231
|
# Corresponds to the JSON property `stepId`
|
|
1470
2232
|
# @return [String]
|
|
1471
2233
|
attr_accessor :step_id
|
|
@@ -1492,58 +2254,16 @@ module Google
|
|
|
1492
2254
|
include Google::Apis::Core::Hashable
|
|
1493
2255
|
|
|
1494
2256
|
# A Timestamp represents a point in time independent of any time zone or local
|
|
1495
|
-
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
1496
|
-
# resolution. The count is relative to an epoch at UTC midnight on
|
|
1497
|
-
# 1970, in the proleptic Gregorian calendar which extends the
|
|
1498
|
-
# backwards to year one.
|
|
2257
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
2258
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
2259
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
2260
|
+
# Gregorian calendar backwards to year one.
|
|
1499
2261
|
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
1500
|
-
# second table is needed for interpretation, using a [24-hour linear
|
|
1501
|
-
# https://developers.google.com/time/smear).
|
|
2262
|
+
# second table is needed for interpretation, using a [24-hour linear
|
|
2263
|
+
# smear](https://developers.google.com/time/smear).
|
|
1502
2264
|
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
1503
|
-
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
1504
|
-
# (https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
1505
|
-
# # Examples
|
|
1506
|
-
# Example 1: Compute Timestamp from POSIX `time()`.
|
|
1507
|
-
# Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
|
|
1508
|
-
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
1509
|
-
# struct timeval tv; gettimeofday(&tv, NULL);
|
|
1510
|
-
# Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
|
|
1511
|
-
# tv_usec * 1000);
|
|
1512
|
-
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
1513
|
-
# FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
|
|
1514
|
-
# dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
1515
|
-
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
|
|
1516
|
-
# 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
|
|
1517
|
-
# timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
1518
|
-
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
1519
|
-
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
1520
|
-
# long millis = System.currentTimeMillis();
|
|
1521
|
-
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
|
|
1522
|
-
# setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
1523
|
-
# Example 5: Compute Timestamp from current time in Python.
|
|
1524
|
-
# timestamp = Timestamp() timestamp.GetCurrentTime()
|
|
1525
|
-
# # JSON Mapping
|
|
1526
|
-
# In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
|
|
1527
|
-
# https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
|
|
1528
|
-
# month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
|
|
1529
|
-
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
|
|
1530
|
-
# zero-padded to two digits each. The fractional seconds, which can go up to 9
|
|
1531
|
-
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
|
|
1532
|
-
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
|
|
1533
|
-
# serializer should always use UTC (as indicated by "Z") when printing the
|
|
1534
|
-
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
|
|
1535
|
-
# other timezones (as indicated by an offset).
|
|
1536
|
-
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
|
|
1537
|
-
# January 15, 2017.
|
|
1538
|
-
# In JavaScript, one can convert a Date object to this format using the standard
|
|
1539
|
-
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
|
|
1540
|
-
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
|
|
1541
|
-
# datetime.datetime` object can be converted to this format using [`strftime`](
|
|
1542
|
-
# https://docs.python.org/2/library/time.html#time.strftime) with the time
|
|
1543
|
-
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
|
|
1544
|
-
# Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
|
|
1545
|
-
# org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
|
|
1546
|
-
# formatter capable of generating timestamps in this format.
|
|
2265
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
2266
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
1547
2267
|
# Corresponds to the JSON property `sampleTime`
|
|
1548
2268
|
# @return [Google::Apis::ToolresultsV1beta3::Timestamp]
|
|
1549
2269
|
attr_accessor :sample_time
|
|
@@ -1574,29 +2294,189 @@ module Google
|
|
|
1574
2294
|
attr_accessor :basic_perf_sample_series
|
|
1575
2295
|
|
|
1576
2296
|
# A tool results execution ID.
|
|
2297
|
+
# @OutputOnly
|
|
1577
2298
|
# Corresponds to the JSON property `executionId`
|
|
1578
2299
|
# @return [String]
|
|
1579
2300
|
attr_accessor :execution_id
|
|
1580
2301
|
|
|
1581
2302
|
# A tool results history ID.
|
|
2303
|
+
# @OutputOnly
|
|
1582
2304
|
# Corresponds to the JSON property `historyId`
|
|
1583
2305
|
# @return [String]
|
|
1584
2306
|
attr_accessor :history_id
|
|
1585
2307
|
|
|
1586
|
-
# The cloud project
|
|
1587
|
-
#
|
|
1588
|
-
#
|
|
1589
|
-
|
|
2308
|
+
# The cloud project
|
|
2309
|
+
# @OutputOnly
|
|
2310
|
+
# Corresponds to the JSON property `projectId`
|
|
2311
|
+
# @return [String]
|
|
2312
|
+
attr_accessor :project_id
|
|
2313
|
+
|
|
2314
|
+
# A sample series id
|
|
2315
|
+
# @OutputOnly
|
|
2316
|
+
# Corresponds to the JSON property `sampleSeriesId`
|
|
2317
|
+
# @return [String]
|
|
2318
|
+
attr_accessor :sample_series_id
|
|
2319
|
+
|
|
2320
|
+
# A tool results step ID.
|
|
2321
|
+
# @OutputOnly
|
|
2322
|
+
# Corresponds to the JSON property `stepId`
|
|
2323
|
+
# @return [String]
|
|
2324
|
+
attr_accessor :step_id
|
|
2325
|
+
|
|
2326
|
+
def initialize(**args)
|
|
2327
|
+
update!(**args)
|
|
2328
|
+
end
|
|
2329
|
+
|
|
2330
|
+
# Update properties of this object
|
|
2331
|
+
def update!(**args)
|
|
2332
|
+
@basic_perf_sample_series = args[:basic_perf_sample_series] if args.key?(:basic_perf_sample_series)
|
|
2333
|
+
@execution_id = args[:execution_id] if args.key?(:execution_id)
|
|
2334
|
+
@history_id = args[:history_id] if args.key?(:history_id)
|
|
2335
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
|
2336
|
+
@sample_series_id = args[:sample_series_id] if args.key?(:sample_series_id)
|
|
2337
|
+
@step_id = args[:step_id] if args.key?(:step_id)
|
|
2338
|
+
end
|
|
2339
|
+
end
|
|
2340
|
+
|
|
2341
|
+
# A notification that Robo signed in with Google.
|
|
2342
|
+
class PerformedGoogleLogin
|
|
2343
|
+
include Google::Apis::Core::Hashable
|
|
2344
|
+
|
|
2345
|
+
def initialize(**args)
|
|
2346
|
+
update!(**args)
|
|
2347
|
+
end
|
|
2348
|
+
|
|
2349
|
+
# Update properties of this object
|
|
2350
|
+
def update!(**args)
|
|
2351
|
+
end
|
|
2352
|
+
end
|
|
2353
|
+
|
|
2354
|
+
# A notification that Robo performed some monkey actions.
|
|
2355
|
+
class PerformedMonkeyActions
|
|
2356
|
+
include Google::Apis::Core::Hashable
|
|
2357
|
+
|
|
2358
|
+
# The total number of monkey actions performed during the crawl.
|
|
2359
|
+
# Corresponds to the JSON property `totalActions`
|
|
2360
|
+
# @return [Fixnum]
|
|
2361
|
+
attr_accessor :total_actions
|
|
2362
|
+
|
|
2363
|
+
def initialize(**args)
|
|
2364
|
+
update!(**args)
|
|
2365
|
+
end
|
|
2366
|
+
|
|
2367
|
+
# Update properties of this object
|
|
2368
|
+
def update!(**args)
|
|
2369
|
+
@total_actions = args[:total_actions] if args.key?(:total_actions)
|
|
2370
|
+
end
|
|
2371
|
+
end
|
|
2372
|
+
|
|
2373
|
+
# Stores rollup test status of multiple steps that were run as a group and
|
|
2374
|
+
# outcome of each individual step.
|
|
2375
|
+
class PrimaryStep
|
|
2376
|
+
include Google::Apis::Core::Hashable
|
|
2377
|
+
|
|
2378
|
+
# Step Id and outcome of each individual step.
|
|
2379
|
+
# Corresponds to the JSON property `individualOutcome`
|
|
2380
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::IndividualOutcome>]
|
|
2381
|
+
attr_accessor :individual_outcome
|
|
2382
|
+
|
|
2383
|
+
# Rollup test status of multiple steps that were run with the same
|
|
2384
|
+
# configuration as a group.
|
|
2385
|
+
# Corresponds to the JSON property `rollUp`
|
|
2386
|
+
# @return [String]
|
|
2387
|
+
attr_accessor :roll_up
|
|
2388
|
+
|
|
2389
|
+
def initialize(**args)
|
|
2390
|
+
update!(**args)
|
|
2391
|
+
end
|
|
2392
|
+
|
|
2393
|
+
# Update properties of this object
|
|
2394
|
+
def update!(**args)
|
|
2395
|
+
@individual_outcome = args[:individual_outcome] if args.key?(:individual_outcome)
|
|
2396
|
+
@roll_up = args[:roll_up] if args.key?(:roll_up)
|
|
2397
|
+
end
|
|
2398
|
+
end
|
|
2399
|
+
|
|
2400
|
+
# Per-project settings for the Tool Results service.
|
|
2401
|
+
class ProjectSettings
|
|
2402
|
+
include Google::Apis::Core::Hashable
|
|
2403
|
+
|
|
2404
|
+
# The name of the Google Cloud Storage bucket to which results are written.
|
|
2405
|
+
# By default, this is unset.
|
|
2406
|
+
# In update request: optional
|
|
2407
|
+
# In response: optional
|
|
2408
|
+
# Corresponds to the JSON property `defaultBucket`
|
|
2409
|
+
# @return [String]
|
|
2410
|
+
attr_accessor :default_bucket
|
|
2411
|
+
|
|
2412
|
+
# The name of the project's settings.
|
|
2413
|
+
# Always of the form:
|
|
2414
|
+
# projects/`project-id`/settings
|
|
2415
|
+
# In update request: never set
|
|
2416
|
+
# In response: always set
|
|
2417
|
+
# Corresponds to the JSON property `name`
|
|
2418
|
+
# @return [String]
|
|
2419
|
+
attr_accessor :name
|
|
2420
|
+
|
|
2421
|
+
def initialize(**args)
|
|
2422
|
+
update!(**args)
|
|
2423
|
+
end
|
|
2424
|
+
|
|
2425
|
+
# Update properties of this object
|
|
2426
|
+
def update!(**args)
|
|
2427
|
+
@default_bucket = args[:default_bucket] if args.key?(:default_bucket)
|
|
2428
|
+
@name = args[:name] if args.key?(:name)
|
|
2429
|
+
end
|
|
2430
|
+
end
|
|
2431
|
+
|
|
2432
|
+
# Request message for StepService.PublishXunitXmlFiles.
|
|
2433
|
+
class PublishXunitXmlFilesRequest
|
|
2434
|
+
include Google::Apis::Core::Hashable
|
|
2435
|
+
|
|
2436
|
+
# URI of the Xunit XML files to publish.
|
|
2437
|
+
# The maximum size of the file this reference is pointing to is 50MB.
|
|
2438
|
+
# Required.
|
|
2439
|
+
# Corresponds to the JSON property `xunitXmlFiles`
|
|
2440
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::FileReference>]
|
|
2441
|
+
attr_accessor :xunit_xml_files
|
|
2442
|
+
|
|
2443
|
+
def initialize(**args)
|
|
2444
|
+
update!(**args)
|
|
2445
|
+
end
|
|
2446
|
+
|
|
2447
|
+
# Update properties of this object
|
|
2448
|
+
def update!(**args)
|
|
2449
|
+
@xunit_xml_files = args[:xunit_xml_files] if args.key?(:xunit_xml_files)
|
|
2450
|
+
end
|
|
2451
|
+
end
|
|
2452
|
+
|
|
2453
|
+
# A rectangular region.
|
|
2454
|
+
class RegionProto
|
|
2455
|
+
include Google::Apis::Core::Hashable
|
|
2456
|
+
|
|
2457
|
+
# The height, in pixels.
|
|
2458
|
+
# Always set.
|
|
2459
|
+
# Corresponds to the JSON property `heightPx`
|
|
2460
|
+
# @return [Fixnum]
|
|
2461
|
+
attr_accessor :height_px
|
|
2462
|
+
|
|
2463
|
+
# The left side of the rectangle, in pixels.
|
|
2464
|
+
# Always set.
|
|
2465
|
+
# Corresponds to the JSON property `leftPx`
|
|
2466
|
+
# @return [Fixnum]
|
|
2467
|
+
attr_accessor :left_px
|
|
1590
2468
|
|
|
1591
|
-
#
|
|
1592
|
-
#
|
|
1593
|
-
#
|
|
1594
|
-
|
|
2469
|
+
# The top of the rectangle, in pixels.
|
|
2470
|
+
# Always set.
|
|
2471
|
+
# Corresponds to the JSON property `topPx`
|
|
2472
|
+
# @return [Fixnum]
|
|
2473
|
+
attr_accessor :top_px
|
|
1595
2474
|
|
|
1596
|
-
#
|
|
1597
|
-
#
|
|
1598
|
-
#
|
|
1599
|
-
|
|
2475
|
+
# The width, in pixels.
|
|
2476
|
+
# Always set.
|
|
2477
|
+
# Corresponds to the JSON property `widthPx`
|
|
2478
|
+
# @return [Fixnum]
|
|
2479
|
+
attr_accessor :width_px
|
|
1600
2480
|
|
|
1601
2481
|
def initialize(**args)
|
|
1602
2482
|
update!(**args)
|
|
@@ -1604,30 +2484,26 @@ module Google
|
|
|
1604
2484
|
|
|
1605
2485
|
# Update properties of this object
|
|
1606
2486
|
def update!(**args)
|
|
1607
|
-
@
|
|
1608
|
-
@
|
|
1609
|
-
@
|
|
1610
|
-
@
|
|
1611
|
-
@sample_series_id = args[:sample_series_id] if args.key?(:sample_series_id)
|
|
1612
|
-
@step_id = args[:step_id] if args.key?(:step_id)
|
|
2487
|
+
@height_px = args[:height_px] if args.key?(:height_px)
|
|
2488
|
+
@left_px = args[:left_px] if args.key?(:left_px)
|
|
2489
|
+
@top_px = args[:top_px] if args.key?(:top_px)
|
|
2490
|
+
@width_px = args[:width_px] if args.key?(:width_px)
|
|
1613
2491
|
end
|
|
1614
2492
|
end
|
|
1615
2493
|
|
|
1616
|
-
#
|
|
1617
|
-
|
|
1618
|
-
class PrimaryStep
|
|
2494
|
+
# The storage for test results.
|
|
2495
|
+
class ResultsStorage
|
|
1619
2496
|
include Google::Apis::Core::Hashable
|
|
1620
2497
|
|
|
1621
|
-
#
|
|
1622
|
-
# Corresponds to the JSON property `
|
|
1623
|
-
# @return [
|
|
1624
|
-
attr_accessor :
|
|
2498
|
+
# A reference to a file.
|
|
2499
|
+
# Corresponds to the JSON property `resultsStoragePath`
|
|
2500
|
+
# @return [Google::Apis::ToolresultsV1beta3::FileReference]
|
|
2501
|
+
attr_accessor :results_storage_path
|
|
1625
2502
|
|
|
1626
|
-
#
|
|
1627
|
-
#
|
|
1628
|
-
#
|
|
1629
|
-
|
|
1630
|
-
attr_accessor :roll_up
|
|
2503
|
+
# A reference to a file.
|
|
2504
|
+
# Corresponds to the JSON property `xunitXmlFile`
|
|
2505
|
+
# @return [Google::Apis::ToolresultsV1beta3::FileReference]
|
|
2506
|
+
attr_accessor :xunit_xml_file
|
|
1631
2507
|
|
|
1632
2508
|
def initialize(**args)
|
|
1633
2509
|
update!(**args)
|
|
@@ -1635,28 +2511,24 @@ module Google
|
|
|
1635
2511
|
|
|
1636
2512
|
# Update properties of this object
|
|
1637
2513
|
def update!(**args)
|
|
1638
|
-
@
|
|
1639
|
-
@
|
|
2514
|
+
@results_storage_path = args[:results_storage_path] if args.key?(:results_storage_path)
|
|
2515
|
+
@xunit_xml_file = args[:xunit_xml_file] if args.key?(:xunit_xml_file)
|
|
1640
2516
|
end
|
|
1641
2517
|
end
|
|
1642
2518
|
|
|
1643
|
-
#
|
|
1644
|
-
class
|
|
2519
|
+
# Execution stats for a user-provided Robo script.
|
|
2520
|
+
class RoboScriptExecution
|
|
1645
2521
|
include Google::Apis::Core::Hashable
|
|
1646
2522
|
|
|
1647
|
-
# The
|
|
1648
|
-
#
|
|
1649
|
-
#
|
|
1650
|
-
|
|
1651
|
-
# @return [String]
|
|
1652
|
-
attr_accessor :default_bucket
|
|
2523
|
+
# The number of Robo script actions executed successfully.
|
|
2524
|
+
# Corresponds to the JSON property `successfulActions`
|
|
2525
|
+
# @return [Fixnum]
|
|
2526
|
+
attr_accessor :successful_actions
|
|
1653
2527
|
|
|
1654
|
-
# The
|
|
1655
|
-
#
|
|
1656
|
-
#
|
|
1657
|
-
|
|
1658
|
-
# @return [String]
|
|
1659
|
-
attr_accessor :name
|
|
2528
|
+
# The total number of actions in the Robo script.
|
|
2529
|
+
# Corresponds to the JSON property `totalActions`
|
|
2530
|
+
# @return [Fixnum]
|
|
2531
|
+
attr_accessor :total_actions
|
|
1660
2532
|
|
|
1661
2533
|
def initialize(**args)
|
|
1662
2534
|
update!(**args)
|
|
@@ -1664,21 +2536,27 @@ module Google
|
|
|
1664
2536
|
|
|
1665
2537
|
# Update properties of this object
|
|
1666
2538
|
def update!(**args)
|
|
1667
|
-
@
|
|
1668
|
-
@
|
|
2539
|
+
@successful_actions = args[:successful_actions] if args.key?(:successful_actions)
|
|
2540
|
+
@total_actions = args[:total_actions] if args.key?(:total_actions)
|
|
1669
2541
|
end
|
|
1670
2542
|
end
|
|
1671
2543
|
|
|
1672
|
-
#
|
|
1673
|
-
|
|
2544
|
+
# IMPORTANT: It is unsafe to accept this message from an untrusted source,
|
|
2545
|
+
# since it's trivial for an attacker to forge serialized messages that
|
|
2546
|
+
# don't fulfill the type's safety contract -- for example, it could contain
|
|
2547
|
+
# attacker controlled script. A system which receives a SafeHtmlProto
|
|
2548
|
+
# implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe
|
|
2549
|
+
# to return this message in RPC responses, but generally unsafe to accept it
|
|
2550
|
+
# in RPC requests.
|
|
2551
|
+
class SafeHtmlProto
|
|
1674
2552
|
include Google::Apis::Core::Hashable
|
|
1675
2553
|
|
|
1676
|
-
#
|
|
1677
|
-
#
|
|
1678
|
-
#
|
|
1679
|
-
# Corresponds to the JSON property `
|
|
1680
|
-
# @return [
|
|
1681
|
-
attr_accessor :
|
|
2554
|
+
# IMPORTANT: Never set or read this field, even from tests, it is private.
|
|
2555
|
+
# See documentation at the top of .proto file for programming language
|
|
2556
|
+
# packages with which to create or read this message.
|
|
2557
|
+
# Corresponds to the JSON property `privateDoNotAccessOrElseSafeHtmlWrappedValue`
|
|
2558
|
+
# @return [String]
|
|
2559
|
+
attr_accessor :private_do_not_access_or_else_safe_html_wrapped_value
|
|
1682
2560
|
|
|
1683
2561
|
def initialize(**args)
|
|
1684
2562
|
update!(**args)
|
|
@@ -1686,7 +2564,7 @@ module Google
|
|
|
1686
2564
|
|
|
1687
2565
|
# Update properties of this object
|
|
1688
2566
|
def update!(**args)
|
|
1689
|
-
@
|
|
2567
|
+
@private_do_not_access_or_else_safe_html_wrapped_value = args[:private_do_not_access_or_else_safe_html_wrapped_value] if args.key?(:private_do_not_access_or_else_safe_html_wrapped_value)
|
|
1690
2568
|
end
|
|
1691
2569
|
end
|
|
1692
2570
|
|
|
@@ -1694,22 +2572,26 @@ module Google
|
|
|
1694
2572
|
class Screen
|
|
1695
2573
|
include Google::Apis::Core::Hashable
|
|
1696
2574
|
|
|
1697
|
-
# File reference of the png file.
|
|
2575
|
+
# File reference of the png file.
|
|
2576
|
+
# Required.
|
|
1698
2577
|
# Corresponds to the JSON property `fileReference`
|
|
1699
2578
|
# @return [String]
|
|
1700
2579
|
attr_accessor :file_reference
|
|
1701
2580
|
|
|
1702
|
-
# Locale of the device that the screenshot was taken on.
|
|
2581
|
+
# Locale of the device that the screenshot was taken on.
|
|
2582
|
+
# Required.
|
|
1703
2583
|
# Corresponds to the JSON property `locale`
|
|
1704
2584
|
# @return [String]
|
|
1705
2585
|
attr_accessor :locale
|
|
1706
2586
|
|
|
1707
|
-
# Model of the device that the screenshot was taken on.
|
|
2587
|
+
# Model of the device that the screenshot was taken on.
|
|
2588
|
+
# Required.
|
|
1708
2589
|
# Corresponds to the JSON property `model`
|
|
1709
2590
|
# @return [String]
|
|
1710
2591
|
attr_accessor :model
|
|
1711
2592
|
|
|
1712
|
-
# OS version of the device that the screenshot was taken on.
|
|
2593
|
+
# OS version of the device that the screenshot was taken on.
|
|
2594
|
+
# Required.
|
|
1713
2595
|
# Corresponds to the JSON property `version`
|
|
1714
2596
|
# @return [String]
|
|
1715
2597
|
attr_accessor :version
|
|
@@ -1737,14 +2619,15 @@ module Google
|
|
|
1737
2619
|
attr_accessor :activity
|
|
1738
2620
|
|
|
1739
2621
|
# A unique identifier for the cluster.
|
|
2622
|
+
# @OutputOnly
|
|
1740
2623
|
# Corresponds to the JSON property `clusterId`
|
|
1741
2624
|
# @return [String]
|
|
1742
2625
|
attr_accessor :cluster_id
|
|
1743
2626
|
|
|
1744
|
-
# A singular screen that represents the cluster as a whole. This screen will
|
|
1745
|
-
# as the "cover" of the entire cluster. When users look at the clusters,
|
|
1746
|
-
# the key screen from each cluster will be shown. Which screen is the
|
|
1747
|
-
# is determined by the ClusteringAlgorithm
|
|
2627
|
+
# A singular screen that represents the cluster as a whole. This screen will
|
|
2628
|
+
# act as the "cover" of the entire cluster. When users look at the clusters,
|
|
2629
|
+
# only the key screen from each cluster will be shown. Which screen is the
|
|
2630
|
+
# key screen is determined by the ClusteringAlgorithm
|
|
1748
2631
|
# Corresponds to the JSON property `keyScreen`
|
|
1749
2632
|
# @return [Google::Apis::ToolresultsV1beta3::Screen]
|
|
1750
2633
|
attr_accessor :key_screen
|
|
@@ -1767,6 +2650,37 @@ module Google
|
|
|
1767
2650
|
end
|
|
1768
2651
|
end
|
|
1769
2652
|
|
|
2653
|
+
# Result summary for a shard in an environment.
|
|
2654
|
+
class ShardSummary
|
|
2655
|
+
include Google::Apis::Core::Hashable
|
|
2656
|
+
|
|
2657
|
+
# Summaries of the steps belonging to the shard.
|
|
2658
|
+
# With flaky_test_attempts enabled from TestExecutionService, more than one
|
|
2659
|
+
# run (Step) can present. And the runs will be sorted by multistep_number.
|
|
2660
|
+
# Corresponds to the JSON property `runs`
|
|
2661
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::StepSummary>]
|
|
2662
|
+
attr_accessor :runs
|
|
2663
|
+
|
|
2664
|
+
# Merged test result for environment.
|
|
2665
|
+
# If the environment has only one step (no reruns or shards), then the merged
|
|
2666
|
+
# result is the same as the step result. If the environment has multiple shards
|
|
2667
|
+
# and/or reruns, then the results of shards and reruns that belong to the same
|
|
2668
|
+
# environment are merged into one environment result.
|
|
2669
|
+
# Corresponds to the JSON property `shardResult`
|
|
2670
|
+
# @return [Google::Apis::ToolresultsV1beta3::MergedResult]
|
|
2671
|
+
attr_accessor :shard_result
|
|
2672
|
+
|
|
2673
|
+
def initialize(**args)
|
|
2674
|
+
update!(**args)
|
|
2675
|
+
end
|
|
2676
|
+
|
|
2677
|
+
# Update properties of this object
|
|
2678
|
+
def update!(**args)
|
|
2679
|
+
@runs = args[:runs] if args.key?(:runs)
|
|
2680
|
+
@shard_result = args[:shard_result] if args.key?(:shard_result)
|
|
2681
|
+
end
|
|
2682
|
+
end
|
|
2683
|
+
|
|
1770
2684
|
# Details for an outcome with a SKIPPED outcome summary.
|
|
1771
2685
|
class SkippedDetail
|
|
1772
2686
|
include Google::Apis::Core::Hashable
|
|
@@ -1810,6 +2724,11 @@ module Google
|
|
|
1810
2724
|
# @return [Google::Apis::ToolresultsV1beta3::AndroidTest]
|
|
1811
2725
|
attr_accessor :android_test
|
|
1812
2726
|
|
|
2727
|
+
# A iOS mobile test specification
|
|
2728
|
+
# Corresponds to the JSON property `iosTest`
|
|
2729
|
+
# @return [Google::Apis::ToolresultsV1beta3::IosTest]
|
|
2730
|
+
attr_accessor :ios_test
|
|
2731
|
+
|
|
1813
2732
|
def initialize(**args)
|
|
1814
2733
|
update!(**args)
|
|
1815
2734
|
end
|
|
@@ -1817,6 +2736,7 @@ module Google
|
|
|
1817
2736
|
# Update properties of this object
|
|
1818
2737
|
def update!(**args)
|
|
1819
2738
|
@android_test = args[:android_test] if args.key?(:android_test)
|
|
2739
|
+
@ios_test = args[:ios_test] if args.key?(:ios_test)
|
|
1820
2740
|
end
|
|
1821
2741
|
end
|
|
1822
2742
|
|
|
@@ -1840,29 +2760,54 @@ module Google
|
|
|
1840
2760
|
end
|
|
1841
2761
|
end
|
|
1842
2762
|
|
|
1843
|
-
#
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
2763
|
+
# User provided intent failed to resolve to an activity.
|
|
2764
|
+
class StartActivityNotFound
|
|
2765
|
+
include Google::Apis::Core::Hashable
|
|
2766
|
+
|
|
2767
|
+
#
|
|
2768
|
+
# Corresponds to the JSON property `action`
|
|
2769
|
+
# @return [String]
|
|
2770
|
+
attr_accessor :action
|
|
2771
|
+
|
|
2772
|
+
#
|
|
2773
|
+
# Corresponds to the JSON property `uri`
|
|
2774
|
+
# @return [String]
|
|
2775
|
+
attr_accessor :uri
|
|
2776
|
+
|
|
2777
|
+
def initialize(**args)
|
|
2778
|
+
update!(**args)
|
|
2779
|
+
end
|
|
2780
|
+
|
|
2781
|
+
# Update properties of this object
|
|
2782
|
+
def update!(**args)
|
|
2783
|
+
@action = args[:action] if args.key?(:action)
|
|
2784
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
2785
|
+
end
|
|
2786
|
+
end
|
|
2787
|
+
|
|
2788
|
+
# The `Status` type defines a logical error model that is suitable for
|
|
2789
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
|
2790
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
2791
|
+
# three pieces of data: error code, error message, and error details.
|
|
2792
|
+
# You can find out more about this error model and how to work with it in the
|
|
2793
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1849
2794
|
class Status
|
|
1850
2795
|
include Google::Apis::Core::Hashable
|
|
1851
2796
|
|
|
1852
|
-
# The status code, which should be an enum value of
|
|
2797
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
|
1853
2798
|
# Corresponds to the JSON property `code`
|
|
1854
2799
|
# @return [Fixnum]
|
|
1855
2800
|
attr_accessor :code
|
|
1856
2801
|
|
|
1857
|
-
# A list of messages that carry the error details.
|
|
2802
|
+
# A list of messages that carry the error details. There is a common set of
|
|
1858
2803
|
# message types for APIs to use.
|
|
1859
2804
|
# Corresponds to the JSON property `details`
|
|
1860
|
-
# @return [Array<
|
|
2805
|
+
# @return [Array<Hash<String,Object>>]
|
|
1861
2806
|
attr_accessor :details
|
|
1862
2807
|
|
|
1863
|
-
# A developer-facing error message, which should be in English. Any
|
|
1864
|
-
# error message should be localized and sent in the
|
|
1865
|
-
# field, or localized by the client.
|
|
2808
|
+
# A developer-facing error message, which should be in English. Any
|
|
2809
|
+
# user-facing error message should be localized and sent in the
|
|
2810
|
+
# google.rpc.Status.details field, or localized by the client.
|
|
1866
2811
|
# Corresponds to the JSON property `message`
|
|
1867
2812
|
# @return [String]
|
|
1868
2813
|
attr_accessor :message
|
|
@@ -1879,221 +2824,121 @@ module Google
|
|
|
1879
2824
|
end
|
|
1880
2825
|
end
|
|
1881
2826
|
|
|
1882
|
-
# A Step represents a single operation performed as part of
|
|
1883
|
-
# can be used to represent the execution of a tool (
|
|
1884
|
-
# execution or an execution of a compiler).
|
|
1885
|
-
# Steps can overlap (for instance two steps might have the same
|
|
1886
|
-
# some operations are done in parallel).
|
|
2827
|
+
# A Step represents a single operation performed as part of
|
|
2828
|
+
# Execution. A step can be used to represent the execution of a tool (
|
|
2829
|
+
# for example a test runner execution or an execution of a compiler).
|
|
2830
|
+
# Steps can overlap (for instance two steps might have the same
|
|
2831
|
+
# start time if some operations are done in parallel).
|
|
1887
2832
|
# Here is an example, let's consider that we have a continuous build is
|
|
1888
|
-
# executing a test runner for each iteration. The workflow would look like:
|
|
1889
|
-
# user creates a Execution with id 1
|
|
1890
|
-
#
|
|
1891
|
-
#
|
|
1892
|
-
#
|
|
1893
|
-
#
|
|
1894
|
-
#
|
|
1895
|
-
#
|
|
2833
|
+
# executing a test runner for each iteration. The workflow would look like:
|
|
2834
|
+
# - user creates a Execution with id 1
|
|
2835
|
+
# - user creates an TestExecutionStep with id 100 for Execution 1
|
|
2836
|
+
# - user update TestExecutionStep with id 100 to add a raw xml log
|
|
2837
|
+
# + the service parses the xml logs and returns a TestExecutionStep with
|
|
2838
|
+
# updated TestResult(s).
|
|
2839
|
+
# - user update the status of TestExecutionStep with id 100 to COMPLETE
|
|
2840
|
+
# A Step can be updated until its state is set to COMPLETE at which
|
|
2841
|
+
# points it becomes immutable.
|
|
1896
2842
|
# Next tag: 27
|
|
1897
2843
|
class Step
|
|
1898
2844
|
include Google::Apis::Core::Hashable
|
|
1899
2845
|
|
|
1900
2846
|
# A Timestamp represents a point in time independent of any time zone or local
|
|
1901
|
-
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
1902
|
-
# resolution. The count is relative to an epoch at UTC midnight on
|
|
1903
|
-
# 1970, in the proleptic Gregorian calendar which extends the
|
|
1904
|
-
# backwards to year one.
|
|
2847
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
2848
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
2849
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
2850
|
+
# Gregorian calendar backwards to year one.
|
|
1905
2851
|
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
1906
|
-
# second table is needed for interpretation, using a [24-hour linear
|
|
1907
|
-
# https://developers.google.com/time/smear).
|
|
2852
|
+
# second table is needed for interpretation, using a [24-hour linear
|
|
2853
|
+
# smear](https://developers.google.com/time/smear).
|
|
1908
2854
|
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
1909
|
-
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
1910
|
-
# (https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
1911
|
-
# # Examples
|
|
1912
|
-
# Example 1: Compute Timestamp from POSIX `time()`.
|
|
1913
|
-
# Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
|
|
1914
|
-
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
1915
|
-
# struct timeval tv; gettimeofday(&tv, NULL);
|
|
1916
|
-
# Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
|
|
1917
|
-
# tv_usec * 1000);
|
|
1918
|
-
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
1919
|
-
# FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
|
|
1920
|
-
# dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
1921
|
-
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
|
|
1922
|
-
# 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
|
|
1923
|
-
# timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
1924
|
-
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
1925
|
-
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
1926
|
-
# long millis = System.currentTimeMillis();
|
|
1927
|
-
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
|
|
1928
|
-
# setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
1929
|
-
# Example 5: Compute Timestamp from current time in Python.
|
|
1930
|
-
# timestamp = Timestamp() timestamp.GetCurrentTime()
|
|
1931
|
-
# # JSON Mapping
|
|
1932
|
-
# In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
|
|
1933
|
-
# https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
|
|
1934
|
-
# month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
|
|
1935
|
-
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
|
|
1936
|
-
# zero-padded to two digits each. The fractional seconds, which can go up to 9
|
|
1937
|
-
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
|
|
1938
|
-
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
|
|
1939
|
-
# serializer should always use UTC (as indicated by "Z") when printing the
|
|
1940
|
-
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
|
|
1941
|
-
# other timezones (as indicated by an offset).
|
|
1942
|
-
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
|
|
1943
|
-
# January 15, 2017.
|
|
1944
|
-
# In JavaScript, one can convert a Date object to this format using the standard
|
|
1945
|
-
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
|
|
1946
|
-
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
|
|
1947
|
-
# datetime.datetime` object can be converted to this format using [`strftime`](
|
|
1948
|
-
# https://docs.python.org/2/library/time.html#time.strftime) with the time
|
|
1949
|
-
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
|
|
1950
|
-
# Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
|
|
1951
|
-
# org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
|
|
1952
|
-
# formatter capable of generating timestamps in this format.
|
|
2855
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
2856
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
1953
2857
|
# Corresponds to the JSON property `completionTime`
|
|
1954
2858
|
# @return [Google::Apis::ToolresultsV1beta3::Timestamp]
|
|
1955
2859
|
attr_accessor :completion_time
|
|
1956
2860
|
|
|
1957
2861
|
# A Timestamp represents a point in time independent of any time zone or local
|
|
1958
|
-
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
1959
|
-
# resolution. The count is relative to an epoch at UTC midnight on
|
|
1960
|
-
# 1970, in the proleptic Gregorian calendar which extends the
|
|
1961
|
-
# backwards to year one.
|
|
2862
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
2863
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
2864
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
2865
|
+
# Gregorian calendar backwards to year one.
|
|
1962
2866
|
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
1963
|
-
# second table is needed for interpretation, using a [24-hour linear
|
|
1964
|
-
# https://developers.google.com/time/smear).
|
|
2867
|
+
# second table is needed for interpretation, using a [24-hour linear
|
|
2868
|
+
# smear](https://developers.google.com/time/smear).
|
|
1965
2869
|
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
1966
|
-
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
1967
|
-
# (https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
1968
|
-
# # Examples
|
|
1969
|
-
# Example 1: Compute Timestamp from POSIX `time()`.
|
|
1970
|
-
# Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
|
|
1971
|
-
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
1972
|
-
# struct timeval tv; gettimeofday(&tv, NULL);
|
|
1973
|
-
# Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
|
|
1974
|
-
# tv_usec * 1000);
|
|
1975
|
-
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
1976
|
-
# FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
|
|
1977
|
-
# dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
1978
|
-
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
|
|
1979
|
-
# 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
|
|
1980
|
-
# timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
1981
|
-
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
1982
|
-
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
1983
|
-
# long millis = System.currentTimeMillis();
|
|
1984
|
-
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
|
|
1985
|
-
# setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
1986
|
-
# Example 5: Compute Timestamp from current time in Python.
|
|
1987
|
-
# timestamp = Timestamp() timestamp.GetCurrentTime()
|
|
1988
|
-
# # JSON Mapping
|
|
1989
|
-
# In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
|
|
1990
|
-
# https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
|
|
1991
|
-
# month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
|
|
1992
|
-
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
|
|
1993
|
-
# zero-padded to two digits each. The fractional seconds, which can go up to 9
|
|
1994
|
-
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
|
|
1995
|
-
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
|
|
1996
|
-
# serializer should always use UTC (as indicated by "Z") when printing the
|
|
1997
|
-
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
|
|
1998
|
-
# other timezones (as indicated by an offset).
|
|
1999
|
-
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
|
|
2000
|
-
# January 15, 2017.
|
|
2001
|
-
# In JavaScript, one can convert a Date object to this format using the standard
|
|
2002
|
-
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
|
|
2003
|
-
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
|
|
2004
|
-
# datetime.datetime` object can be converted to this format using [`strftime`](
|
|
2005
|
-
# https://docs.python.org/2/library/time.html#time.strftime) with the time
|
|
2006
|
-
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
|
|
2007
|
-
# Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
|
|
2008
|
-
# org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
|
|
2009
|
-
# formatter capable of generating timestamps in this format.
|
|
2870
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
2871
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
2010
2872
|
# Corresponds to the JSON property `creationTime`
|
|
2011
2873
|
# @return [Google::Apis::ToolresultsV1beta3::Timestamp]
|
|
2012
2874
|
attr_accessor :creation_time
|
|
2013
2875
|
|
|
2014
|
-
# A description of this tool
|
|
2015
|
-
#
|
|
2016
|
-
#
|
|
2876
|
+
# A description of this tool
|
|
2877
|
+
# For example: mvn clean package -D skipTests=true
|
|
2878
|
+
# - In response: present if set by create/update request
|
|
2879
|
+
# - In create/update request: optional
|
|
2017
2880
|
# Corresponds to the JSON property `description`
|
|
2018
2881
|
# @return [String]
|
|
2019
2882
|
attr_accessor :description
|
|
2020
2883
|
|
|
2021
|
-
# A Duration represents a signed, fixed-length span of time represented
|
|
2022
|
-
# count of seconds and fractions of seconds at nanosecond
|
|
2023
|
-
# independent of any calendar and concepts like "day"
|
|
2024
|
-
# to Timestamp in that the difference between
|
|
2025
|
-
# and it can be added or subtracted
|
|
2026
|
-
# 10,000 years.
|
|
2027
|
-
# # Examples
|
|
2028
|
-
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
|
2029
|
-
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
|
2030
|
-
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
|
2031
|
-
# start.nanos;
|
|
2032
|
-
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
|
2033
|
-
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
|
2034
|
-
# 1; duration.nanos += 1000000000; `
|
|
2035
|
-
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
2036
|
-
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
|
2037
|
-
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
|
2038
|
-
# duration.nanos;
|
|
2039
|
-
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
|
2040
|
-
# Example 3: Compute Duration from datetime.timedelta in Python.
|
|
2041
|
-
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
|
2042
|
-
# FromTimedelta(td)
|
|
2043
|
-
# # JSON Mapping
|
|
2044
|
-
# In JSON format, the Duration type is encoded as a string rather than an object,
|
|
2045
|
-
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
|
2046
|
-
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
|
2047
|
-
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
|
2048
|
-
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
|
2049
|
-
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
|
2050
|
-
# format as "3.000001s".
|
|
2884
|
+
# A Duration represents a signed, fixed-length span of time represented
|
|
2885
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
2886
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
2887
|
+
# or "month". It is related to Timestamp in that the difference between
|
|
2888
|
+
# two Timestamp values is a Duration and it can be added or subtracted
|
|
2889
|
+
# from a Timestamp. Range is approximately +-10,000 years.
|
|
2051
2890
|
# Corresponds to the JSON property `deviceUsageDuration`
|
|
2052
2891
|
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
|
2053
2892
|
attr_accessor :device_usage_duration
|
|
2054
2893
|
|
|
2055
|
-
# If the execution containing this step has any dimension_definition set,
|
|
2056
|
-
# this field allows the child to specify the values of the dimensions.
|
|
2894
|
+
# If the execution containing this step has any dimension_definition set,
|
|
2895
|
+
# then this field allows the child to specify the values of the dimensions.
|
|
2057
2896
|
# The keys must exactly match the dimension_definition of the execution.
|
|
2058
|
-
# For example, if the execution has
|
|
2059
|
-
# `
|
|
2060
|
-
#
|
|
2061
|
-
#
|
|
2062
|
-
#
|
|
2063
|
-
#
|
|
2064
|
-
#
|
|
2065
|
-
#
|
|
2066
|
-
# dimension_value
|
|
2067
|
-
#
|
|
2068
|
-
#
|
|
2897
|
+
# For example, if the execution has
|
|
2898
|
+
# `dimension_definition = ['attempt', 'device']`
|
|
2899
|
+
# then a step must define values for those dimensions, eg.
|
|
2900
|
+
# `dimension_value = ['attempt': '1', 'device': 'Nexus 6']`
|
|
2901
|
+
# If a step does not participate in one dimension of the matrix,
|
|
2902
|
+
# the value for that dimension should be empty string.
|
|
2903
|
+
# For example, if one of the tests is executed by a runner which
|
|
2904
|
+
# does not support retries, the step could have
|
|
2905
|
+
# `dimension_value = ['attempt': '', 'device': 'Nexus 6']`
|
|
2906
|
+
# If the step does not participate in any dimensions of the matrix,
|
|
2907
|
+
# it may leave dimension_value unset.
|
|
2908
|
+
# A PRECONDITION_FAILED will be returned if any of the keys do not exist
|
|
2909
|
+
# in the dimension_definition of the execution.
|
|
2069
2910
|
# A PRECONDITION_FAILED will be returned if another step in this execution
|
|
2070
2911
|
# already has the same name and dimension_value, but differs on other data
|
|
2071
2912
|
# fields, for example, step field is different.
|
|
2072
|
-
# A PRECONDITION_FAILED will be returned if dimension_value is set, and
|
|
2073
|
-
# a dimension_definition in the execution which is not specified
|
|
2074
|
-
# keys.
|
|
2075
|
-
# - In response: present if set by create
|
|
2076
|
-
#
|
|
2913
|
+
# A PRECONDITION_FAILED will be returned if dimension_value is set, and
|
|
2914
|
+
# there is a dimension_definition in the execution which is not specified
|
|
2915
|
+
# as one of the keys.
|
|
2916
|
+
# - In response: present if set by create
|
|
2917
|
+
# - In create request: optional
|
|
2918
|
+
# - In update request: never set
|
|
2077
2919
|
# Corresponds to the JSON property `dimensionValue`
|
|
2078
2920
|
# @return [Array<Google::Apis::ToolresultsV1beta3::StepDimensionValueEntry>]
|
|
2079
2921
|
attr_accessor :dimension_value
|
|
2080
2922
|
|
|
2081
|
-
# Whether any of the outputs of this step are images whose
|
|
2082
|
-
# fetched with ListThumbnails.
|
|
2083
|
-
# - In response: always set
|
|
2923
|
+
# Whether any of the outputs of this step are images whose
|
|
2924
|
+
# thumbnails can be fetched with ListThumbnails.
|
|
2925
|
+
# - In response: always set
|
|
2926
|
+
# - In create/update request: never set
|
|
2084
2927
|
# Corresponds to the JSON property `hasImages`
|
|
2085
2928
|
# @return [Boolean]
|
|
2086
2929
|
attr_accessor :has_images
|
|
2087
2930
|
alias_method :has_images?, :has_images
|
|
2088
2931
|
|
|
2089
|
-
# Arbitrary user-supplied key/value pairs that are associated with the
|
|
2090
|
-
#
|
|
2091
|
-
#
|
|
2092
|
-
#
|
|
2093
|
-
#
|
|
2094
|
-
#
|
|
2095
|
-
#
|
|
2096
|
-
#
|
|
2932
|
+
# Arbitrary user-supplied key/value pairs that are associated with the
|
|
2933
|
+
# step.
|
|
2934
|
+
# Users are responsible for managing the key namespace such that keys
|
|
2935
|
+
# don't accidentally collide.
|
|
2936
|
+
# An INVALID_ARGUMENT will be returned if the number of labels exceeds 100 or
|
|
2937
|
+
# if the length of any of the keys or values exceeds 100 characters.
|
|
2938
|
+
# - In response: always set
|
|
2939
|
+
# - In create request: optional
|
|
2940
|
+
# - In update request: optional; any new key/value pair will be added to the
|
|
2941
|
+
# map, and any new value for an existing key will update that key's value
|
|
2097
2942
|
# Corresponds to the JSON property `labels`
|
|
2098
2943
|
# @return [Array<Google::Apis::ToolresultsV1beta3::StepLabelsEntry>]
|
|
2099
2944
|
attr_accessor :labels
|
|
@@ -2103,15 +2948,17 @@ module Google
|
|
|
2103
2948
|
# @return [Google::Apis::ToolresultsV1beta3::MultiStep]
|
|
2104
2949
|
attr_accessor :multi_step
|
|
2105
2950
|
|
|
2106
|
-
# A short human-readable name to display in the UI.
|
|
2951
|
+
# A short human-readable name to display in the UI.
|
|
2952
|
+
# Maximum of 100 characters.
|
|
2107
2953
|
# For example: Clean build
|
|
2108
|
-
# A PRECONDITION_FAILED will be returned upon creating a new step if it
|
|
2109
|
-
# its name and dimension_value with an existing step. If two steps
|
|
2110
|
-
# similar action, but have different dimension values, they
|
|
2111
|
-
# same name. For instance, if the same set of tests is
|
|
2112
|
-
# platforms, the two steps should have the same name.
|
|
2113
|
-
# - In response: always set
|
|
2114
|
-
#
|
|
2954
|
+
# A PRECONDITION_FAILED will be returned upon creating a new step if it
|
|
2955
|
+
# shares its name and dimension_value with an existing step. If two steps
|
|
2956
|
+
# represent a similar action, but have different dimension values, they
|
|
2957
|
+
# should share the same name. For instance, if the same set of tests is
|
|
2958
|
+
# run on two different platforms, the two steps should have the same name.
|
|
2959
|
+
# - In response: always set
|
|
2960
|
+
# - In create request: always set
|
|
2961
|
+
# - In update request: never set
|
|
2115
2962
|
# Corresponds to the JSON property `name`
|
|
2116
2963
|
# @return [String]
|
|
2117
2964
|
attr_accessor :name
|
|
@@ -2121,54 +2968,34 @@ module Google
|
|
|
2121
2968
|
# @return [Google::Apis::ToolresultsV1beta3::Outcome]
|
|
2122
2969
|
attr_accessor :outcome
|
|
2123
2970
|
|
|
2124
|
-
# A Duration represents a signed, fixed-length span of time represented
|
|
2125
|
-
# count of seconds and fractions of seconds at nanosecond
|
|
2126
|
-
# independent of any calendar and concepts like "day"
|
|
2127
|
-
# to Timestamp in that the difference between
|
|
2128
|
-
# and it can be added or subtracted
|
|
2129
|
-
# 10,000 years.
|
|
2130
|
-
# # Examples
|
|
2131
|
-
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
|
2132
|
-
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
|
2133
|
-
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
|
2134
|
-
# start.nanos;
|
|
2135
|
-
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
|
2136
|
-
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
|
2137
|
-
# 1; duration.nanos += 1000000000; `
|
|
2138
|
-
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
2139
|
-
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
|
2140
|
-
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
|
2141
|
-
# duration.nanos;
|
|
2142
|
-
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
|
2143
|
-
# Example 3: Compute Duration from datetime.timedelta in Python.
|
|
2144
|
-
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
|
2145
|
-
# FromTimedelta(td)
|
|
2146
|
-
# # JSON Mapping
|
|
2147
|
-
# In JSON format, the Duration type is encoded as a string rather than an object,
|
|
2148
|
-
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
|
2149
|
-
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
|
2150
|
-
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
|
2151
|
-
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
|
2152
|
-
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
|
2153
|
-
# format as "3.000001s".
|
|
2971
|
+
# A Duration represents a signed, fixed-length span of time represented
|
|
2972
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
2973
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
2974
|
+
# or "month". It is related to Timestamp in that the difference between
|
|
2975
|
+
# two Timestamp values is a Duration and it can be added or subtracted
|
|
2976
|
+
# from a Timestamp. Range is approximately +-10,000 years.
|
|
2154
2977
|
# Corresponds to the JSON property `runDuration`
|
|
2155
2978
|
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
|
2156
2979
|
attr_accessor :run_duration
|
|
2157
2980
|
|
|
2158
|
-
# The initial state is IN_PROGRESS.
|
|
2159
|
-
#
|
|
2160
|
-
#
|
|
2161
|
-
#
|
|
2162
|
-
#
|
|
2163
|
-
# set to COMPLETE
|
|
2164
|
-
#
|
|
2981
|
+
# The initial state is IN_PROGRESS.
|
|
2982
|
+
# The only legal state transitions are
|
|
2983
|
+
# * IN_PROGRESS -> COMPLETE
|
|
2984
|
+
# A PRECONDITION_FAILED will be returned if an invalid transition is
|
|
2985
|
+
# requested.
|
|
2986
|
+
# It is valid to create Step with a state set to COMPLETE.
|
|
2987
|
+
# The state can only be set to COMPLETE once. A PRECONDITION_FAILED will be
|
|
2988
|
+
# returned if the state is set to COMPLETE multiple times.
|
|
2989
|
+
# - In response: always set
|
|
2990
|
+
# - In create/update request: optional
|
|
2165
2991
|
# Corresponds to the JSON property `state`
|
|
2166
2992
|
# @return [String]
|
|
2167
2993
|
attr_accessor :state
|
|
2168
2994
|
|
|
2169
2995
|
# A unique identifier within a Execution for this Step.
|
|
2170
2996
|
# Returns INVALID_ARGUMENT if this field is set or overwritten by the caller.
|
|
2171
|
-
# - In response: always set
|
|
2997
|
+
# - In response: always set
|
|
2998
|
+
# - In create/update request: never set
|
|
2172
2999
|
# Corresponds to the JSON property `stepId`
|
|
2173
3000
|
# @return [String]
|
|
2174
3001
|
attr_accessor :step_id
|
|
@@ -2182,8 +3009,8 @@ module Google
|
|
|
2182
3009
|
# @return [Google::Apis::ToolresultsV1beta3::TestExecutionStep]
|
|
2183
3010
|
attr_accessor :test_execution_step
|
|
2184
3011
|
|
|
2185
|
-
# Generic tool step to be used for binaries we do not explicitly support.
|
|
2186
|
-
# example: running cp to copy artifacts from one location to another.
|
|
3012
|
+
# Generic tool step to be used for binaries we do not explicitly support.
|
|
3013
|
+
# For example: running cp to copy artifacts from one location to another.
|
|
2187
3014
|
# Corresponds to the JSON property `toolExecutionStep`
|
|
2188
3015
|
# @return [Google::Apis::ToolresultsV1beta3::ToolExecutionStep]
|
|
2189
3016
|
attr_accessor :tool_execution_step
|
|
@@ -2262,7 +3089,21 @@ module Google
|
|
|
2262
3089
|
end
|
|
2263
3090
|
end
|
|
2264
3091
|
|
|
3092
|
+
# Lightweight summary of a step within this execution.
|
|
3093
|
+
class StepSummary
|
|
3094
|
+
include Google::Apis::Core::Hashable
|
|
3095
|
+
|
|
3096
|
+
def initialize(**args)
|
|
3097
|
+
update!(**args)
|
|
3098
|
+
end
|
|
3099
|
+
|
|
3100
|
+
# Update properties of this object
|
|
3101
|
+
def update!(**args)
|
|
3102
|
+
end
|
|
3103
|
+
end
|
|
3104
|
+
|
|
2265
3105
|
# Details for an outcome with a SUCCESS outcome summary.
|
|
3106
|
+
# LINT.IfChange
|
|
2266
3107
|
class SuccessDetail
|
|
2267
3108
|
include Google::Apis::Core::Hashable
|
|
2268
3109
|
|
|
@@ -2282,97 +3123,161 @@ module Google
|
|
|
2282
3123
|
end
|
|
2283
3124
|
end
|
|
2284
3125
|
|
|
3126
|
+
# A set of similar suggestions that we suspect are closely related.
|
|
3127
|
+
# This proto and most of the nested protos are branched from
|
|
3128
|
+
# foxandcrown.prelaunchreport.service.SuggestionClusterProto, replacing PLR's
|
|
3129
|
+
# dependencies with FTL's.
|
|
3130
|
+
class SuggestionClusterProto
|
|
3131
|
+
include Google::Apis::Core::Hashable
|
|
3132
|
+
|
|
3133
|
+
# Category in which these types of suggestions should appear.
|
|
3134
|
+
# Always set.
|
|
3135
|
+
# Corresponds to the JSON property `category`
|
|
3136
|
+
# @return [String]
|
|
3137
|
+
attr_accessor :category
|
|
3138
|
+
|
|
3139
|
+
# A sequence of suggestions. All of the suggestions within a cluster must
|
|
3140
|
+
# have the same SuggestionPriority and belong to the same SuggestionCategory.
|
|
3141
|
+
# Suggestions with the same screenshot URL should be adjacent.
|
|
3142
|
+
# Corresponds to the JSON property `suggestions`
|
|
3143
|
+
# @return [Array<Google::Apis::ToolresultsV1beta3::SuggestionProto>]
|
|
3144
|
+
attr_accessor :suggestions
|
|
3145
|
+
|
|
3146
|
+
def initialize(**args)
|
|
3147
|
+
update!(**args)
|
|
3148
|
+
end
|
|
3149
|
+
|
|
3150
|
+
# Update properties of this object
|
|
3151
|
+
def update!(**args)
|
|
3152
|
+
@category = args[:category] if args.key?(:category)
|
|
3153
|
+
@suggestions = args[:suggestions] if args.key?(:suggestions)
|
|
3154
|
+
end
|
|
3155
|
+
end
|
|
3156
|
+
|
|
3157
|
+
#
|
|
3158
|
+
class SuggestionProto
|
|
3159
|
+
include Google::Apis::Core::Hashable
|
|
3160
|
+
|
|
3161
|
+
# Reference to a help center article concerning this type of suggestion.
|
|
3162
|
+
# Always set.
|
|
3163
|
+
# Corresponds to the JSON property `helpUrl`
|
|
3164
|
+
# @return [String]
|
|
3165
|
+
attr_accessor :help_url
|
|
3166
|
+
|
|
3167
|
+
# IMPORTANT: It is unsafe to accept this message from an untrusted source,
|
|
3168
|
+
# since it's trivial for an attacker to forge serialized messages that
|
|
3169
|
+
# don't fulfill the type's safety contract -- for example, it could contain
|
|
3170
|
+
# attacker controlled script. A system which receives a SafeHtmlProto
|
|
3171
|
+
# implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe
|
|
3172
|
+
# to return this message in RPC responses, but generally unsafe to accept it
|
|
3173
|
+
# in RPC requests.
|
|
3174
|
+
# Corresponds to the JSON property `longMessage`
|
|
3175
|
+
# @return [Google::Apis::ToolresultsV1beta3::SafeHtmlProto]
|
|
3176
|
+
attr_accessor :long_message
|
|
3177
|
+
|
|
3178
|
+
# Relative importance of a suggestion.
|
|
3179
|
+
# Always set.
|
|
3180
|
+
# Corresponds to the JSON property `priority`
|
|
3181
|
+
# @return [String]
|
|
3182
|
+
attr_accessor :priority
|
|
3183
|
+
|
|
3184
|
+
# A somewhat human readable identifier of the source view, if it does not
|
|
3185
|
+
# have a resource_name. This is a path within the accessibility hierarchy,
|
|
3186
|
+
# an element with resource name; similar to an XPath.
|
|
3187
|
+
# Corresponds to the JSON property `pseudoResourceId`
|
|
3188
|
+
# @return [String]
|
|
3189
|
+
attr_accessor :pseudo_resource_id
|
|
3190
|
+
|
|
3191
|
+
# A rectangular region.
|
|
3192
|
+
# Corresponds to the JSON property `region`
|
|
3193
|
+
# @return [Google::Apis::ToolresultsV1beta3::RegionProto]
|
|
3194
|
+
attr_accessor :region
|
|
3195
|
+
|
|
3196
|
+
# Reference to a view element, identified by its resource name, if it has
|
|
3197
|
+
# one.
|
|
3198
|
+
# Corresponds to the JSON property `resourceName`
|
|
3199
|
+
# @return [String]
|
|
3200
|
+
attr_accessor :resource_name
|
|
3201
|
+
|
|
3202
|
+
# ID of the screen for the suggestion.
|
|
3203
|
+
# It is used for getting the corresponding screenshot path. For example,
|
|
3204
|
+
# screen_id "1" corresponds to "1.png" file in GCS.
|
|
3205
|
+
# Always set.
|
|
3206
|
+
# Corresponds to the JSON property `screenId`
|
|
3207
|
+
# @return [String]
|
|
3208
|
+
attr_accessor :screen_id
|
|
3209
|
+
|
|
3210
|
+
# Relative importance of a suggestion as compared with other suggestions
|
|
3211
|
+
# that have the same priority and category.
|
|
3212
|
+
# This is a meaningless value that can be used to order suggestions that are
|
|
3213
|
+
# in the same category and have the same priority.
|
|
3214
|
+
# The larger values have higher priority (i.e., are more important).
|
|
3215
|
+
# Optional.
|
|
3216
|
+
# Corresponds to the JSON property `secondaryPriority`
|
|
3217
|
+
# @return [Float]
|
|
3218
|
+
attr_accessor :secondary_priority
|
|
3219
|
+
|
|
3220
|
+
# IMPORTANT: It is unsafe to accept this message from an untrusted source,
|
|
3221
|
+
# since it's trivial for an attacker to forge serialized messages that
|
|
3222
|
+
# don't fulfill the type's safety contract -- for example, it could contain
|
|
3223
|
+
# attacker controlled script. A system which receives a SafeHtmlProto
|
|
3224
|
+
# implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe
|
|
3225
|
+
# to return this message in RPC responses, but generally unsafe to accept it
|
|
3226
|
+
# in RPC requests.
|
|
3227
|
+
# Corresponds to the JSON property `shortMessage`
|
|
3228
|
+
# @return [Google::Apis::ToolresultsV1beta3::SafeHtmlProto]
|
|
3229
|
+
attr_accessor :short_message
|
|
3230
|
+
|
|
3231
|
+
# General title for the suggestion, in the user's language, without markup.
|
|
3232
|
+
# Always set.
|
|
3233
|
+
# Corresponds to the JSON property `title`
|
|
3234
|
+
# @return [String]
|
|
3235
|
+
attr_accessor :title
|
|
3236
|
+
|
|
3237
|
+
def initialize(**args)
|
|
3238
|
+
update!(**args)
|
|
3239
|
+
end
|
|
3240
|
+
|
|
3241
|
+
# Update properties of this object
|
|
3242
|
+
def update!(**args)
|
|
3243
|
+
@help_url = args[:help_url] if args.key?(:help_url)
|
|
3244
|
+
@long_message = args[:long_message] if args.key?(:long_message)
|
|
3245
|
+
@priority = args[:priority] if args.key?(:priority)
|
|
3246
|
+
@pseudo_resource_id = args[:pseudo_resource_id] if args.key?(:pseudo_resource_id)
|
|
3247
|
+
@region = args[:region] if args.key?(:region)
|
|
3248
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
3249
|
+
@screen_id = args[:screen_id] if args.key?(:screen_id)
|
|
3250
|
+
@secondary_priority = args[:secondary_priority] if args.key?(:secondary_priority)
|
|
3251
|
+
@short_message = args[:short_message] if args.key?(:short_message)
|
|
3252
|
+
@title = args[:title] if args.key?(:title)
|
|
3253
|
+
end
|
|
3254
|
+
end
|
|
3255
|
+
|
|
2285
3256
|
#
|
|
2286
3257
|
class TestCase
|
|
2287
3258
|
include Google::Apis::Core::Hashable
|
|
2288
3259
|
|
|
2289
|
-
# A Duration represents a signed, fixed-length span of time represented
|
|
2290
|
-
# count of seconds and fractions of seconds at nanosecond
|
|
2291
|
-
# independent of any calendar and concepts like "day"
|
|
2292
|
-
# to Timestamp in that the difference between
|
|
2293
|
-
# and it can be added or subtracted
|
|
2294
|
-
# 10,000 years.
|
|
2295
|
-
# # Examples
|
|
2296
|
-
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
|
2297
|
-
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
|
2298
|
-
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
|
2299
|
-
# start.nanos;
|
|
2300
|
-
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
|
2301
|
-
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
|
2302
|
-
# 1; duration.nanos += 1000000000; `
|
|
2303
|
-
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
2304
|
-
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
|
2305
|
-
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
|
2306
|
-
# duration.nanos;
|
|
2307
|
-
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
|
2308
|
-
# Example 3: Compute Duration from datetime.timedelta in Python.
|
|
2309
|
-
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
|
2310
|
-
# FromTimedelta(td)
|
|
2311
|
-
# # JSON Mapping
|
|
2312
|
-
# In JSON format, the Duration type is encoded as a string rather than an object,
|
|
2313
|
-
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
|
2314
|
-
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
|
2315
|
-
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
|
2316
|
-
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
|
2317
|
-
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
|
2318
|
-
# format as "3.000001s".
|
|
3260
|
+
# A Duration represents a signed, fixed-length span of time represented
|
|
3261
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
3262
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
3263
|
+
# or "month". It is related to Timestamp in that the difference between
|
|
3264
|
+
# two Timestamp values is a Duration and it can be added or subtracted
|
|
3265
|
+
# from a Timestamp. Range is approximately +-10,000 years.
|
|
2319
3266
|
# Corresponds to the JSON property `elapsedTime`
|
|
2320
3267
|
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
|
2321
3268
|
attr_accessor :elapsed_time
|
|
2322
3269
|
|
|
2323
3270
|
# A Timestamp represents a point in time independent of any time zone or local
|
|
2324
|
-
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
2325
|
-
# resolution. The count is relative to an epoch at UTC midnight on
|
|
2326
|
-
# 1970, in the proleptic Gregorian calendar which extends the
|
|
2327
|
-
# backwards to year one.
|
|
3271
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
3272
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
3273
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
3274
|
+
# Gregorian calendar backwards to year one.
|
|
2328
3275
|
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
2329
|
-
# second table is needed for interpretation, using a [24-hour linear
|
|
2330
|
-
# https://developers.google.com/time/smear).
|
|
3276
|
+
# second table is needed for interpretation, using a [24-hour linear
|
|
3277
|
+
# smear](https://developers.google.com/time/smear).
|
|
2331
3278
|
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
2332
|
-
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
2333
|
-
# (https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
2334
|
-
# # Examples
|
|
2335
|
-
# Example 1: Compute Timestamp from POSIX `time()`.
|
|
2336
|
-
# Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
|
|
2337
|
-
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
2338
|
-
# struct timeval tv; gettimeofday(&tv, NULL);
|
|
2339
|
-
# Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
|
|
2340
|
-
# tv_usec * 1000);
|
|
2341
|
-
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
2342
|
-
# FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
|
|
2343
|
-
# dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
2344
|
-
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
|
|
2345
|
-
# 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
|
|
2346
|
-
# timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
2347
|
-
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
2348
|
-
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
2349
|
-
# long millis = System.currentTimeMillis();
|
|
2350
|
-
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
|
|
2351
|
-
# setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
2352
|
-
# Example 5: Compute Timestamp from current time in Python.
|
|
2353
|
-
# timestamp = Timestamp() timestamp.GetCurrentTime()
|
|
2354
|
-
# # JSON Mapping
|
|
2355
|
-
# In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
|
|
2356
|
-
# https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
|
|
2357
|
-
# month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
|
|
2358
|
-
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
|
|
2359
|
-
# zero-padded to two digits each. The fractional seconds, which can go up to 9
|
|
2360
|
-
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
|
|
2361
|
-
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
|
|
2362
|
-
# serializer should always use UTC (as indicated by "Z") when printing the
|
|
2363
|
-
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
|
|
2364
|
-
# other timezones (as indicated by an offset).
|
|
2365
|
-
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
|
|
2366
|
-
# January 15, 2017.
|
|
2367
|
-
# In JavaScript, one can convert a Date object to this format using the standard
|
|
2368
|
-
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
|
|
2369
|
-
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
|
|
2370
|
-
# datetime.datetime` object can be converted to this format using [`strftime`](
|
|
2371
|
-
# https://docs.python.org/2/library/time.html#time.strftime) with the time
|
|
2372
|
-
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
|
|
2373
|
-
# Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
|
|
2374
|
-
# org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
|
|
2375
|
-
# formatter capable of generating timestamps in this format.
|
|
3279
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
3280
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
2376
3281
|
# Corresponds to the JSON property `endTime`
|
|
2377
3282
|
# @return [Google::Apis::ToolresultsV1beta3::Timestamp]
|
|
2378
3283
|
attr_accessor :end_time
|
|
@@ -2384,66 +3289,24 @@ module Google
|
|
|
2384
3289
|
attr_accessor :skipped_message
|
|
2385
3290
|
|
|
2386
3291
|
# The stack trace details if the test case failed or encountered an error.
|
|
2387
|
-
# The maximum size of the stack traces is 100KiB, beyond which the stack
|
|
2388
|
-
# will be truncated.
|
|
3292
|
+
# The maximum size of the stack traces is 100KiB, beyond which the stack
|
|
3293
|
+
# track will be truncated.
|
|
2389
3294
|
# Zero if the test case passed.
|
|
2390
3295
|
# Corresponds to the JSON property `stackTraces`
|
|
2391
3296
|
# @return [Array<Google::Apis::ToolresultsV1beta3::StackTrace>]
|
|
2392
3297
|
attr_accessor :stack_traces
|
|
2393
3298
|
|
|
2394
3299
|
# A Timestamp represents a point in time independent of any time zone or local
|
|
2395
|
-
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
2396
|
-
# resolution. The count is relative to an epoch at UTC midnight on
|
|
2397
|
-
# 1970, in the proleptic Gregorian calendar which extends the
|
|
2398
|
-
# backwards to year one.
|
|
3300
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
3301
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
3302
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
3303
|
+
# Gregorian calendar backwards to year one.
|
|
2399
3304
|
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
2400
|
-
# second table is needed for interpretation, using a [24-hour linear
|
|
2401
|
-
# https://developers.google.com/time/smear).
|
|
3305
|
+
# second table is needed for interpretation, using a [24-hour linear
|
|
3306
|
+
# smear](https://developers.google.com/time/smear).
|
|
2402
3307
|
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
2403
|
-
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
2404
|
-
# (https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
2405
|
-
# # Examples
|
|
2406
|
-
# Example 1: Compute Timestamp from POSIX `time()`.
|
|
2407
|
-
# Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
|
|
2408
|
-
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
2409
|
-
# struct timeval tv; gettimeofday(&tv, NULL);
|
|
2410
|
-
# Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
|
|
2411
|
-
# tv_usec * 1000);
|
|
2412
|
-
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
2413
|
-
# FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
|
|
2414
|
-
# dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
2415
|
-
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
|
|
2416
|
-
# 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
|
|
2417
|
-
# timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
2418
|
-
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
2419
|
-
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
2420
|
-
# long millis = System.currentTimeMillis();
|
|
2421
|
-
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
|
|
2422
|
-
# setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
2423
|
-
# Example 5: Compute Timestamp from current time in Python.
|
|
2424
|
-
# timestamp = Timestamp() timestamp.GetCurrentTime()
|
|
2425
|
-
# # JSON Mapping
|
|
2426
|
-
# In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
|
|
2427
|
-
# https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
|
|
2428
|
-
# month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
|
|
2429
|
-
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
|
|
2430
|
-
# zero-padded to two digits each. The fractional seconds, which can go up to 9
|
|
2431
|
-
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
|
|
2432
|
-
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
|
|
2433
|
-
# serializer should always use UTC (as indicated by "Z") when printing the
|
|
2434
|
-
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
|
|
2435
|
-
# other timezones (as indicated by an offset).
|
|
2436
|
-
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
|
|
2437
|
-
# January 15, 2017.
|
|
2438
|
-
# In JavaScript, one can convert a Date object to this format using the standard
|
|
2439
|
-
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
|
|
2440
|
-
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
|
|
2441
|
-
# datetime.datetime` object can be converted to this format using [`strftime`](
|
|
2442
|
-
# https://docs.python.org/2/library/time.html#time.strftime) with the time
|
|
2443
|
-
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
|
|
2444
|
-
# Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
|
|
2445
|
-
# org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
|
|
2446
|
-
# formatter capable of generating timestamps in this format.
|
|
3308
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
3309
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
2447
3310
|
# Corresponds to the JSON property `startTime`
|
|
2448
3311
|
# @return [Google::Apis::ToolresultsV1beta3::Timestamp]
|
|
2449
3312
|
attr_accessor :start_time
|
|
@@ -2461,13 +3324,16 @@ module Google
|
|
|
2461
3324
|
|
|
2462
3325
|
# A reference to a test case.
|
|
2463
3326
|
# Test case references are canonically ordered lexicographically by these three
|
|
2464
|
-
# factors:
|
|
2465
|
-
#
|
|
3327
|
+
# factors:
|
|
3328
|
+
# * First, by test_suite_name.
|
|
3329
|
+
# * Second, by class_name.
|
|
3330
|
+
# * Third, by name.
|
|
2466
3331
|
# Corresponds to the JSON property `testCaseReference`
|
|
2467
3332
|
# @return [Google::Apis::ToolresultsV1beta3::TestCaseReference]
|
|
2468
3333
|
attr_accessor :test_case_reference
|
|
2469
3334
|
|
|
2470
3335
|
# References to opaque files of any format output by the tool execution.
|
|
3336
|
+
# @OutputOnly
|
|
2471
3337
|
# Corresponds to the JSON property `toolOutputs`
|
|
2472
3338
|
# @return [Array<Google::Apis::ToolresultsV1beta3::ToolOutputReference>]
|
|
2473
3339
|
attr_accessor :tool_outputs
|
|
@@ -2492,8 +3358,10 @@ module Google
|
|
|
2492
3358
|
|
|
2493
3359
|
# A reference to a test case.
|
|
2494
3360
|
# Test case references are canonically ordered lexicographically by these three
|
|
2495
|
-
# factors:
|
|
2496
|
-
#
|
|
3361
|
+
# factors:
|
|
3362
|
+
# * First, by test_suite_name.
|
|
3363
|
+
# * Second, by class_name.
|
|
3364
|
+
# * Third, by name.
|
|
2497
3365
|
class TestCaseReference
|
|
2498
3366
|
include Google::Apis::Core::Hashable
|
|
2499
3367
|
|
|
@@ -2534,20 +3402,22 @@ module Google
|
|
|
2534
3402
|
include Google::Apis::Core::Hashable
|
|
2535
3403
|
|
|
2536
3404
|
# Issues observed during the test execution.
|
|
2537
|
-
# For example, if the mobile app under test crashed during the test,
|
|
2538
|
-
# message and the stack trace content can be recorded here
|
|
2539
|
-
#
|
|
2540
|
-
#
|
|
3405
|
+
# For example, if the mobile app under test crashed during the test,
|
|
3406
|
+
# the error message and the stack trace content can be recorded here
|
|
3407
|
+
# to assist debugging.
|
|
3408
|
+
# - In response: present if set by create or update
|
|
3409
|
+
# - In create/update request: optional
|
|
2541
3410
|
# Corresponds to the JSON property `testIssues`
|
|
2542
3411
|
# @return [Array<Google::Apis::ToolresultsV1beta3::TestIssue>]
|
|
2543
3412
|
attr_accessor :test_issues
|
|
2544
3413
|
|
|
2545
|
-
# List of test suite overview contents. This could be parsed from xUnit XML
|
|
2546
|
-
# by server, or uploaded directly by user. This references should only be
|
|
2547
|
-
# when test suites are fully parsed or uploaded.
|
|
3414
|
+
# List of test suite overview contents. This could be parsed from xUnit XML
|
|
3415
|
+
# log by server, or uploaded directly by user. This references should only be
|
|
3416
|
+
# called when test suites are fully parsed or uploaded.
|
|
2548
3417
|
# The maximum allowed number of test suite overviews per step is 1000.
|
|
2549
|
-
# - In response: always set
|
|
2550
|
-
#
|
|
3418
|
+
# - In response: always set
|
|
3419
|
+
# - In create request: optional
|
|
3420
|
+
# - In update request: never (use publishXunitXmlFiles custom method instead)
|
|
2551
3421
|
# Corresponds to the JSON property `testSuiteOverviews`
|
|
2552
3422
|
# @return [Array<Google::Apis::ToolresultsV1beta3::TestSuiteOverview>]
|
|
2553
3423
|
attr_accessor :test_suite_overviews
|
|
@@ -2557,8 +3427,8 @@ module Google
|
|
|
2557
3427
|
# @return [Google::Apis::ToolresultsV1beta3::TestTiming]
|
|
2558
3428
|
attr_accessor :test_timing
|
|
2559
3429
|
|
|
2560
|
-
# An execution of an arbitrary tool. It could be a test runner or a tool
|
|
2561
|
-
# artifacts or deploying code.
|
|
3430
|
+
# An execution of an arbitrary tool. It could be a test runner or a tool
|
|
3431
|
+
# copying artifacts or deploying code.
|
|
2562
3432
|
# Corresponds to the JSON property `toolExecution`
|
|
2563
3433
|
# @return [Google::Apis::ToolresultsV1beta3::ToolExecution]
|
|
2564
3434
|
attr_accessor :tool_execution
|
|
@@ -2580,17 +3450,20 @@ module Google
|
|
|
2580
3450
|
class TestIssue
|
|
2581
3451
|
include Google::Apis::Core::Hashable
|
|
2582
3452
|
|
|
2583
|
-
# Category of issue.
|
|
3453
|
+
# Category of issue.
|
|
3454
|
+
# Required.
|
|
2584
3455
|
# Corresponds to the JSON property `category`
|
|
2585
3456
|
# @return [String]
|
|
2586
3457
|
attr_accessor :category
|
|
2587
3458
|
|
|
2588
|
-
# A brief human-readable message describing the issue.
|
|
3459
|
+
# A brief human-readable message describing the issue.
|
|
3460
|
+
# Required.
|
|
2589
3461
|
# Corresponds to the JSON property `errorMessage`
|
|
2590
3462
|
# @return [String]
|
|
2591
3463
|
attr_accessor :error_message
|
|
2592
3464
|
|
|
2593
|
-
# Severity of issue.
|
|
3465
|
+
# Severity of issue.
|
|
3466
|
+
# Required.
|
|
2594
3467
|
# Corresponds to the JSON property `severity`
|
|
2595
3468
|
# @return [String]
|
|
2596
3469
|
attr_accessor :severity
|
|
@@ -2600,42 +3473,74 @@ module Google
|
|
|
2600
3473
|
# @return [Google::Apis::ToolresultsV1beta3::StackTrace]
|
|
2601
3474
|
attr_accessor :stack_trace
|
|
2602
3475
|
|
|
2603
|
-
# Type of issue.
|
|
3476
|
+
# Type of issue.
|
|
3477
|
+
# Required.
|
|
2604
3478
|
# Corresponds to the JSON property `type`
|
|
2605
3479
|
# @return [String]
|
|
2606
3480
|
attr_accessor :type
|
|
2607
3481
|
|
|
2608
3482
|
# `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
2609
3483
|
# URL that describes the type of the serialized message.
|
|
2610
|
-
# Protobuf library provides support to pack/unpack Any values in the form
|
|
2611
|
-
# utility functions or additional generated methods of the Any type.
|
|
3484
|
+
# Protobuf library provides support to pack/unpack Any values in the form
|
|
3485
|
+
# of utility functions or additional generated methods of the Any type.
|
|
2612
3486
|
# Example 1: Pack and unpack a message in C++.
|
|
2613
|
-
# Foo foo = ...;
|
|
3487
|
+
# Foo foo = ...;
|
|
3488
|
+
# Any any;
|
|
3489
|
+
# any.PackFrom(foo);
|
|
3490
|
+
# ...
|
|
3491
|
+
# if (any.UnpackTo(&foo)) `
|
|
3492
|
+
# ...
|
|
3493
|
+
# `
|
|
2614
3494
|
# Example 2: Pack and unpack a message in Java.
|
|
2615
|
-
# Foo foo = ...;
|
|
2616
|
-
#
|
|
3495
|
+
# Foo foo = ...;
|
|
3496
|
+
# Any any = Any.pack(foo);
|
|
3497
|
+
# ...
|
|
3498
|
+
# if (any.is(Foo.class)) `
|
|
3499
|
+
# foo = any.unpack(Foo.class);
|
|
3500
|
+
# `
|
|
2617
3501
|
# Example 3: Pack and unpack a message in Python.
|
|
2618
|
-
# foo = Foo(...)
|
|
2619
|
-
#
|
|
3502
|
+
# foo = Foo(...)
|
|
3503
|
+
# any = Any()
|
|
3504
|
+
# any.Pack(foo)
|
|
3505
|
+
# ...
|
|
3506
|
+
# if any.Is(Foo.DESCRIPTOR):
|
|
3507
|
+
# any.Unpack(foo)
|
|
3508
|
+
# ...
|
|
2620
3509
|
# Example 4: Pack and unpack a message in Go
|
|
2621
|
-
# foo := &pb.Foo`...`
|
|
2622
|
-
# err := ptypes.
|
|
2623
|
-
#
|
|
2624
|
-
#
|
|
2625
|
-
#
|
|
2626
|
-
#
|
|
2627
|
-
#
|
|
2628
|
-
#
|
|
2629
|
-
#
|
|
2630
|
-
#
|
|
2631
|
-
#
|
|
2632
|
-
#
|
|
2633
|
-
#
|
|
3510
|
+
# foo := &pb.Foo`...`
|
|
3511
|
+
# any, err := ptypes.MarshalAny(foo)
|
|
3512
|
+
# ...
|
|
3513
|
+
# foo := &pb.Foo``
|
|
3514
|
+
# if err := ptypes.UnmarshalAny(any, foo); err != nil `
|
|
3515
|
+
# ...
|
|
3516
|
+
# `
|
|
3517
|
+
# The pack methods provided by protobuf library will by default use
|
|
3518
|
+
# 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
3519
|
+
# methods only use the fully qualified type name after the last '/'
|
|
3520
|
+
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
3521
|
+
# name "y.z".
|
|
3522
|
+
# # JSON
|
|
3523
|
+
# The JSON representation of an `Any` value uses the regular
|
|
3524
|
+
# representation of the deserialized, embedded message, with an
|
|
3525
|
+
# additional field `@type` which contains the type URL. Example:
|
|
3526
|
+
# package google.profile;
|
|
3527
|
+
# message Person `
|
|
3528
|
+
# string first_name = 1;
|
|
3529
|
+
# string last_name = 2;
|
|
3530
|
+
# `
|
|
3531
|
+
# `
|
|
3532
|
+
# "@type": "type.googleapis.com/google.profile.Person",
|
|
3533
|
+
# "firstName": <string>,
|
|
3534
|
+
# "lastName": <string>
|
|
3535
|
+
# `
|
|
2634
3536
|
# If the embedded message type is well-known and has a custom JSON
|
|
2635
|
-
# representation, that representation will be embedded adding a field
|
|
2636
|
-
# which holds the custom JSON in addition to the `@type`
|
|
2637
|
-
# message
|
|
2638
|
-
# `
|
|
3537
|
+
# representation, that representation will be embedded adding a field
|
|
3538
|
+
# `value` which holds the custom JSON in addition to the `@type`
|
|
3539
|
+
# field. Example (for message google.protobuf.Duration):
|
|
3540
|
+
# `
|
|
3541
|
+
# "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
3542
|
+
# "value": "1.212s"
|
|
3543
|
+
# `
|
|
2639
3544
|
# Corresponds to the JSON property `warning`
|
|
2640
3545
|
# @return [Google::Apis::ToolresultsV1beta3::Any]
|
|
2641
3546
|
attr_accessor :warning
|
|
@@ -2655,76 +3560,67 @@ module Google
|
|
|
2655
3560
|
end
|
|
2656
3561
|
end
|
|
2657
3562
|
|
|
2658
|
-
# A summary of a test suite result either parsed from XML or uploaded
|
|
2659
|
-
# by a user.
|
|
2660
|
-
# Note: the API related comments are for StepService only. This message is
|
|
2661
|
-
# being used in ExecutionService in a read only mode for the corresponding
|
|
3563
|
+
# A summary of a test suite result either parsed from XML or uploaded
|
|
3564
|
+
# directly by a user.
|
|
3565
|
+
# Note: the API related comments are for StepService only. This message is
|
|
3566
|
+
# also being used in ExecutionService in a read only mode for the corresponding
|
|
3567
|
+
# step.
|
|
2662
3568
|
class TestSuiteOverview
|
|
2663
3569
|
include Google::Apis::Core::Hashable
|
|
2664
3570
|
|
|
2665
|
-
# A Duration represents a signed, fixed-length span of time represented
|
|
2666
|
-
# count of seconds and fractions of seconds at nanosecond
|
|
2667
|
-
# independent of any calendar and concepts like "day"
|
|
2668
|
-
# to Timestamp in that the difference between
|
|
2669
|
-
# and it can be added or subtracted
|
|
2670
|
-
# 10,000 years.
|
|
2671
|
-
# # Examples
|
|
2672
|
-
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
|
2673
|
-
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
|
2674
|
-
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
|
2675
|
-
# start.nanos;
|
|
2676
|
-
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
|
2677
|
-
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
|
2678
|
-
# 1; duration.nanos += 1000000000; `
|
|
2679
|
-
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
2680
|
-
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
|
2681
|
-
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
|
2682
|
-
# duration.nanos;
|
|
2683
|
-
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
|
2684
|
-
# Example 3: Compute Duration from datetime.timedelta in Python.
|
|
2685
|
-
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
|
2686
|
-
# FromTimedelta(td)
|
|
2687
|
-
# # JSON Mapping
|
|
2688
|
-
# In JSON format, the Duration type is encoded as a string rather than an object,
|
|
2689
|
-
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
|
2690
|
-
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
|
2691
|
-
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
|
2692
|
-
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
|
2693
|
-
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
|
2694
|
-
# format as "3.000001s".
|
|
3571
|
+
# A Duration represents a signed, fixed-length span of time represented
|
|
3572
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
3573
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
3574
|
+
# or "month". It is related to Timestamp in that the difference between
|
|
3575
|
+
# two Timestamp values is a Duration and it can be added or subtracted
|
|
3576
|
+
# from a Timestamp. Range is approximately +-10,000 years.
|
|
2695
3577
|
# Corresponds to the JSON property `elapsedTime`
|
|
2696
3578
|
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
|
2697
3579
|
attr_accessor :elapsed_time
|
|
2698
3580
|
|
|
2699
3581
|
# Number of test cases in error, typically set by the service by parsing the
|
|
2700
3582
|
# xml_source.
|
|
2701
|
-
# - In create/response: always set
|
|
3583
|
+
# - In create/response: always set
|
|
3584
|
+
# - In update request: never
|
|
2702
3585
|
# Corresponds to the JSON property `errorCount`
|
|
2703
3586
|
# @return [Fixnum]
|
|
2704
3587
|
attr_accessor :error_count
|
|
2705
3588
|
|
|
2706
3589
|
# Number of failed test cases, typically set by the service by parsing the
|
|
2707
3590
|
# xml_source. May also be set by the user.
|
|
2708
|
-
# - In create/response: always set
|
|
3591
|
+
# - In create/response: always set
|
|
3592
|
+
# - In update request: never
|
|
2709
3593
|
# Corresponds to the JSON property `failureCount`
|
|
2710
3594
|
# @return [Fixnum]
|
|
2711
3595
|
attr_accessor :failure_count
|
|
2712
3596
|
|
|
3597
|
+
# Number of flaky test cases, set by the service by rolling up flaky test
|
|
3598
|
+
# attempts.
|
|
3599
|
+
# Present only for rollup test suite overview at environment level. A step
|
|
3600
|
+
# cannot have flaky test cases.
|
|
3601
|
+
# Corresponds to the JSON property `flakyCount`
|
|
3602
|
+
# @return [Fixnum]
|
|
3603
|
+
attr_accessor :flaky_count
|
|
3604
|
+
|
|
2713
3605
|
# The name of the test suite.
|
|
2714
|
-
# - In create/response: always set
|
|
3606
|
+
# - In create/response: always set
|
|
3607
|
+
# - In update request: never
|
|
2715
3608
|
# Corresponds to the JSON property `name`
|
|
2716
3609
|
# @return [String]
|
|
2717
3610
|
attr_accessor :name
|
|
2718
3611
|
|
|
2719
3612
|
# Number of test cases not run, typically set by the service by parsing the
|
|
2720
3613
|
# xml_source.
|
|
2721
|
-
# - In create/response: always set
|
|
3614
|
+
# - In create/response: always set
|
|
3615
|
+
# - In update request: never
|
|
2722
3616
|
# Corresponds to the JSON property `skippedCount`
|
|
2723
3617
|
# @return [Fixnum]
|
|
2724
3618
|
attr_accessor :skipped_count
|
|
2725
3619
|
|
|
2726
|
-
# Number of test cases, typically set by the service by parsing the
|
|
2727
|
-
#
|
|
3620
|
+
# Number of test cases, typically set by the service by parsing the
|
|
3621
|
+
# xml_source.
|
|
3622
|
+
# - In create/response: always set
|
|
3623
|
+
# - In update request: never
|
|
2728
3624
|
# Corresponds to the JSON property `totalCount`
|
|
2729
3625
|
# @return [Fixnum]
|
|
2730
3626
|
attr_accessor :total_count
|
|
@@ -2743,6 +3639,7 @@ module Google
|
|
|
2743
3639
|
@elapsed_time = args[:elapsed_time] if args.key?(:elapsed_time)
|
|
2744
3640
|
@error_count = args[:error_count] if args.key?(:error_count)
|
|
2745
3641
|
@failure_count = args[:failure_count] if args.key?(:failure_count)
|
|
3642
|
+
@flaky_count = args[:flaky_count] if args.key?(:flaky_count)
|
|
2746
3643
|
@name = args[:name] if args.key?(:name)
|
|
2747
3644
|
@skipped_count = args[:skipped_count] if args.key?(:skipped_count)
|
|
2748
3645
|
@total_count = args[:total_count] if args.key?(:total_count)
|
|
@@ -2754,36 +3651,12 @@ module Google
|
|
|
2754
3651
|
class TestTiming
|
|
2755
3652
|
include Google::Apis::Core::Hashable
|
|
2756
3653
|
|
|
2757
|
-
# A Duration represents a signed, fixed-length span of time represented
|
|
2758
|
-
# count of seconds and fractions of seconds at nanosecond
|
|
2759
|
-
# independent of any calendar and concepts like "day"
|
|
2760
|
-
# to Timestamp in that the difference between
|
|
2761
|
-
# and it can be added or subtracted
|
|
2762
|
-
# 10,000 years.
|
|
2763
|
-
# # Examples
|
|
2764
|
-
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
|
2765
|
-
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
|
2766
|
-
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
|
2767
|
-
# start.nanos;
|
|
2768
|
-
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
|
2769
|
-
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
|
2770
|
-
# 1; duration.nanos += 1000000000; `
|
|
2771
|
-
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
2772
|
-
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
|
2773
|
-
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
|
2774
|
-
# duration.nanos;
|
|
2775
|
-
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
|
2776
|
-
# Example 3: Compute Duration from datetime.timedelta in Python.
|
|
2777
|
-
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
|
2778
|
-
# FromTimedelta(td)
|
|
2779
|
-
# # JSON Mapping
|
|
2780
|
-
# In JSON format, the Duration type is encoded as a string rather than an object,
|
|
2781
|
-
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
|
2782
|
-
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
|
2783
|
-
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
|
2784
|
-
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
|
2785
|
-
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
|
2786
|
-
# format as "3.000001s".
|
|
3654
|
+
# A Duration represents a signed, fixed-length span of time represented
|
|
3655
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
3656
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
3657
|
+
# or "month". It is related to Timestamp in that the difference between
|
|
3658
|
+
# two Timestamp values is a Duration and it can be added or subtracted
|
|
3659
|
+
# from a Timestamp. Range is approximately +-10,000 years.
|
|
2787
3660
|
# Corresponds to the JSON property `testProcessDuration`
|
|
2788
3661
|
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
|
2789
3662
|
attr_accessor :test_process_duration
|
|
@@ -2810,7 +3683,8 @@ module Google
|
|
|
2810
3683
|
|
|
2811
3684
|
# The thumbnail file itself.
|
|
2812
3685
|
# That is, the bytes here are precisely the bytes that make up the thumbnail
|
|
2813
|
-
# file; they can be served as an image as-is (with the appropriate content
|
|
3686
|
+
# file; they can be served as an image as-is (with the appropriate content
|
|
3687
|
+
# type.)
|
|
2814
3688
|
# Always set.
|
|
2815
3689
|
# Corresponds to the JSON property `data`
|
|
2816
3690
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
@@ -2843,70 +3717,30 @@ module Google
|
|
|
2843
3717
|
end
|
|
2844
3718
|
|
|
2845
3719
|
# A Timestamp represents a point in time independent of any time zone or local
|
|
2846
|
-
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
2847
|
-
# resolution. The count is relative to an epoch at UTC midnight on
|
|
2848
|
-
# 1970, in the proleptic Gregorian calendar which extends the
|
|
2849
|
-
# backwards to year one.
|
|
3720
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
3721
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
3722
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
3723
|
+
# Gregorian calendar backwards to year one.
|
|
2850
3724
|
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
2851
|
-
# second table is needed for interpretation, using a [24-hour linear
|
|
2852
|
-
# https://developers.google.com/time/smear).
|
|
3725
|
+
# second table is needed for interpretation, using a [24-hour linear
|
|
3726
|
+
# smear](https://developers.google.com/time/smear).
|
|
2853
3727
|
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
2854
|
-
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
2855
|
-
# (https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
2856
|
-
# # Examples
|
|
2857
|
-
# Example 1: Compute Timestamp from POSIX `time()`.
|
|
2858
|
-
# Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
|
|
2859
|
-
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
2860
|
-
# struct timeval tv; gettimeofday(&tv, NULL);
|
|
2861
|
-
# Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
|
|
2862
|
-
# tv_usec * 1000);
|
|
2863
|
-
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
2864
|
-
# FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
|
|
2865
|
-
# dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
2866
|
-
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
|
|
2867
|
-
# 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
|
|
2868
|
-
# timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
2869
|
-
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
2870
|
-
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
2871
|
-
# long millis = System.currentTimeMillis();
|
|
2872
|
-
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
|
|
2873
|
-
# setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
2874
|
-
# Example 5: Compute Timestamp from current time in Python.
|
|
2875
|
-
# timestamp = Timestamp() timestamp.GetCurrentTime()
|
|
2876
|
-
# # JSON Mapping
|
|
2877
|
-
# In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
|
|
2878
|
-
# https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
|
|
2879
|
-
# month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
|
|
2880
|
-
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
|
|
2881
|
-
# zero-padded to two digits each. The fractional seconds, which can go up to 9
|
|
2882
|
-
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
|
|
2883
|
-
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
|
|
2884
|
-
# serializer should always use UTC (as indicated by "Z") when printing the
|
|
2885
|
-
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
|
|
2886
|
-
# other timezones (as indicated by an offset).
|
|
2887
|
-
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
|
|
2888
|
-
# January 15, 2017.
|
|
2889
|
-
# In JavaScript, one can convert a Date object to this format using the standard
|
|
2890
|
-
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
|
|
2891
|
-
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
|
|
2892
|
-
# datetime.datetime` object can be converted to this format using [`strftime`](
|
|
2893
|
-
# https://docs.python.org/2/library/time.html#time.strftime) with the time
|
|
2894
|
-
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
|
|
2895
|
-
# Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
|
|
2896
|
-
# org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
|
|
2897
|
-
# formatter capable of generating timestamps in this format.
|
|
3728
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
3729
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
2898
3730
|
class Timestamp
|
|
2899
3731
|
include Google::Apis::Core::Hashable
|
|
2900
3732
|
|
|
2901
|
-
# Non-negative fractions of a second at nanosecond resolution. Negative
|
|
2902
|
-
# values with fractions must still have non-negative nanos values
|
|
2903
|
-
# forward in time. Must be from 0 to 999,999,999
|
|
3733
|
+
# Non-negative fractions of a second at nanosecond resolution. Negative
|
|
3734
|
+
# second values with fractions must still have non-negative nanos values
|
|
3735
|
+
# that count forward in time. Must be from 0 to 999,999,999
|
|
3736
|
+
# inclusive.
|
|
2904
3737
|
# Corresponds to the JSON property `nanos`
|
|
2905
3738
|
# @return [Fixnum]
|
|
2906
3739
|
attr_accessor :nanos
|
|
2907
3740
|
|
|
2908
|
-
# Represents seconds of UTC time since Unix epoch
|
|
2909
|
-
#
|
|
3741
|
+
# Represents seconds of UTC time since Unix epoch
|
|
3742
|
+
# 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
|
3743
|
+
# 9999-12-31T23:59:59Z inclusive.
|
|
2910
3744
|
# Corresponds to the JSON property `seconds`
|
|
2911
3745
|
# @return [Fixnum]
|
|
2912
3746
|
attr_accessor :seconds
|
|
@@ -2922,15 +3756,16 @@ module Google
|
|
|
2922
3756
|
end
|
|
2923
3757
|
end
|
|
2924
3758
|
|
|
2925
|
-
# An execution of an arbitrary tool. It could be a test runner or a tool
|
|
2926
|
-
# artifacts or deploying code.
|
|
3759
|
+
# An execution of an arbitrary tool. It could be a test runner or a tool
|
|
3760
|
+
# copying artifacts or deploying code.
|
|
2927
3761
|
class ToolExecution
|
|
2928
3762
|
include Google::Apis::Core::Hashable
|
|
2929
3763
|
|
|
2930
|
-
# The full tokenized command line including the program name (equivalent to
|
|
2931
|
-
# in a C program).
|
|
2932
|
-
# - In response: present if set by create request
|
|
2933
|
-
# In
|
|
3764
|
+
# The full tokenized command line including the program name (equivalent to
|
|
3765
|
+
# argv in a C program).
|
|
3766
|
+
# - In response: present if set by create request
|
|
3767
|
+
# - In create request: optional
|
|
3768
|
+
# - In update request: never set
|
|
2934
3769
|
# Corresponds to the JSON property `commandLineArguments`
|
|
2935
3770
|
# @return [Array<String>]
|
|
2936
3771
|
attr_accessor :command_line_arguments
|
|
@@ -2941,21 +3776,23 @@ module Google
|
|
|
2941
3776
|
attr_accessor :exit_code
|
|
2942
3777
|
|
|
2943
3778
|
# References to any plain text logs output the tool execution.
|
|
2944
|
-
# This field can be set before the tool has exited in order to be able to
|
|
2945
|
-
# access to a live view of the logs while the tool is running.
|
|
3779
|
+
# This field can be set before the tool has exited in order to be able to
|
|
3780
|
+
# have access to a live view of the logs while the tool is running.
|
|
2946
3781
|
# The maximum allowed number of tool logs per step is 1000.
|
|
2947
|
-
# - In response: present if set by create/update request
|
|
2948
|
-
#
|
|
2949
|
-
#
|
|
3782
|
+
# - In response: present if set by create/update request
|
|
3783
|
+
# - In create request: optional
|
|
3784
|
+
# - In update request: optional, any value provided will be appended to the
|
|
3785
|
+
# existing list
|
|
2950
3786
|
# Corresponds to the JSON property `toolLogs`
|
|
2951
3787
|
# @return [Array<Google::Apis::ToolresultsV1beta3::FileReference>]
|
|
2952
3788
|
attr_accessor :tool_logs
|
|
2953
3789
|
|
|
2954
3790
|
# References to opaque files of any format output by the tool execution.
|
|
2955
3791
|
# The maximum allowed number of tool outputs per step is 1000.
|
|
2956
|
-
# - In response: present if set by create/update request
|
|
2957
|
-
#
|
|
2958
|
-
#
|
|
3792
|
+
# - In response: present if set by create/update request
|
|
3793
|
+
# - In create request: optional
|
|
3794
|
+
# - In update request: optional, any value provided will be appended to the
|
|
3795
|
+
# existing list
|
|
2959
3796
|
# Corresponds to the JSON property `toolOutputs`
|
|
2960
3797
|
# @return [Array<Google::Apis::ToolresultsV1beta3::ToolOutputReference>]
|
|
2961
3798
|
attr_accessor :tool_outputs
|
|
@@ -2973,13 +3810,13 @@ module Google
|
|
|
2973
3810
|
end
|
|
2974
3811
|
end
|
|
2975
3812
|
|
|
2976
|
-
# Generic tool step to be used for binaries we do not explicitly support.
|
|
2977
|
-
# example: running cp to copy artifacts from one location to another.
|
|
3813
|
+
# Generic tool step to be used for binaries we do not explicitly support.
|
|
3814
|
+
# For example: running cp to copy artifacts from one location to another.
|
|
2978
3815
|
class ToolExecutionStep
|
|
2979
3816
|
include Google::Apis::Core::Hashable
|
|
2980
3817
|
|
|
2981
|
-
# An execution of an arbitrary tool. It could be a test runner or a tool
|
|
2982
|
-
# artifacts or deploying code.
|
|
3818
|
+
# An execution of an arbitrary tool. It could be a test runner or a tool
|
|
3819
|
+
# copying artifacts or deploying code.
|
|
2983
3820
|
# Corresponds to the JSON property `toolExecution`
|
|
2984
3821
|
# @return [Google::Apis::ToolresultsV1beta3::ToolExecution]
|
|
2985
3822
|
attr_accessor :tool_execution
|
|
@@ -2998,8 +3835,10 @@ module Google
|
|
|
2998
3835
|
class ToolExitCode
|
|
2999
3836
|
include Google::Apis::Core::Hashable
|
|
3000
3837
|
|
|
3001
|
-
# Tool execution exit code. A value of 0 means that the execution was
|
|
3002
|
-
#
|
|
3838
|
+
# Tool execution exit code. A value of 0 means that the execution was
|
|
3839
|
+
# successful.
|
|
3840
|
+
# - In response: always set
|
|
3841
|
+
# - In create/update request: always set
|
|
3003
3842
|
# Corresponds to the JSON property `number`
|
|
3004
3843
|
# @return [Fixnum]
|
|
3005
3844
|
attr_accessor :number
|
|
@@ -3019,58 +3858,16 @@ module Google
|
|
|
3019
3858
|
include Google::Apis::Core::Hashable
|
|
3020
3859
|
|
|
3021
3860
|
# A Timestamp represents a point in time independent of any time zone or local
|
|
3022
|
-
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
3023
|
-
# resolution. The count is relative to an epoch at UTC midnight on
|
|
3024
|
-
# 1970, in the proleptic Gregorian calendar which extends the
|
|
3025
|
-
# backwards to year one.
|
|
3861
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
3862
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
3863
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
3864
|
+
# Gregorian calendar backwards to year one.
|
|
3026
3865
|
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
3027
|
-
# second table is needed for interpretation, using a [24-hour linear
|
|
3028
|
-
# https://developers.google.com/time/smear).
|
|
3866
|
+
# second table is needed for interpretation, using a [24-hour linear
|
|
3867
|
+
# smear](https://developers.google.com/time/smear).
|
|
3029
3868
|
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
3030
|
-
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
3031
|
-
# (https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
3032
|
-
# # Examples
|
|
3033
|
-
# Example 1: Compute Timestamp from POSIX `time()`.
|
|
3034
|
-
# Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
|
|
3035
|
-
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
3036
|
-
# struct timeval tv; gettimeofday(&tv, NULL);
|
|
3037
|
-
# Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
|
|
3038
|
-
# tv_usec * 1000);
|
|
3039
|
-
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
3040
|
-
# FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
|
|
3041
|
-
# dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
3042
|
-
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
|
|
3043
|
-
# 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
|
|
3044
|
-
# timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
3045
|
-
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
3046
|
-
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
3047
|
-
# long millis = System.currentTimeMillis();
|
|
3048
|
-
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
|
|
3049
|
-
# setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
3050
|
-
# Example 5: Compute Timestamp from current time in Python.
|
|
3051
|
-
# timestamp = Timestamp() timestamp.GetCurrentTime()
|
|
3052
|
-
# # JSON Mapping
|
|
3053
|
-
# In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
|
|
3054
|
-
# https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
|
|
3055
|
-
# month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
|
|
3056
|
-
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
|
|
3057
|
-
# zero-padded to two digits each. The fractional seconds, which can go up to 9
|
|
3058
|
-
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
|
|
3059
|
-
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
|
|
3060
|
-
# serializer should always use UTC (as indicated by "Z") when printing the
|
|
3061
|
-
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
|
|
3062
|
-
# other timezones (as indicated by an offset).
|
|
3063
|
-
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
|
|
3064
|
-
# January 15, 2017.
|
|
3065
|
-
# In JavaScript, one can convert a Date object to this format using the standard
|
|
3066
|
-
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
|
|
3067
|
-
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
|
|
3068
|
-
# datetime.datetime` object can be converted to this format using [`strftime`](
|
|
3069
|
-
# https://docs.python.org/2/library/time.html#time.strftime) with the time
|
|
3070
|
-
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
|
|
3071
|
-
# Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
|
|
3072
|
-
# org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
|
|
3073
|
-
# formatter capable of generating timestamps in this format.
|
|
3869
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
3870
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
3074
3871
|
# Corresponds to the JSON property `creationTime`
|
|
3075
3872
|
# @return [Google::Apis::ToolresultsV1beta3::Timestamp]
|
|
3076
3873
|
attr_accessor :creation_time
|
|
@@ -3082,8 +3879,10 @@ module Google
|
|
|
3082
3879
|
|
|
3083
3880
|
# A reference to a test case.
|
|
3084
3881
|
# Test case references are canonically ordered lexicographically by these three
|
|
3085
|
-
# factors:
|
|
3086
|
-
#
|
|
3882
|
+
# factors:
|
|
3883
|
+
# * First, by test_suite_name.
|
|
3884
|
+
# * Second, by class_name.
|
|
3885
|
+
# * Third, by name.
|
|
3087
3886
|
# Corresponds to the JSON property `testCase`
|
|
3088
3887
|
# @return [Google::Apis::ToolresultsV1beta3::TestCaseReference]
|
|
3089
3888
|
attr_accessor :test_case
|
|
@@ -3099,6 +3898,135 @@ module Google
|
|
|
3099
3898
|
@test_case = args[:test_case] if args.key?(:test_case)
|
|
3100
3899
|
end
|
|
3101
3900
|
end
|
|
3901
|
+
|
|
3902
|
+
# A warning that the screen hierarchy is deeper than the recommended threshold.
|
|
3903
|
+
class UiElementTooDeep
|
|
3904
|
+
include Google::Apis::Core::Hashable
|
|
3905
|
+
|
|
3906
|
+
# The depth of the screen element
|
|
3907
|
+
# Corresponds to the JSON property `depth`
|
|
3908
|
+
# @return [Fixnum]
|
|
3909
|
+
attr_accessor :depth
|
|
3910
|
+
|
|
3911
|
+
# The screen id of the element
|
|
3912
|
+
# Corresponds to the JSON property `screenId`
|
|
3913
|
+
# @return [String]
|
|
3914
|
+
attr_accessor :screen_id
|
|
3915
|
+
|
|
3916
|
+
# The screen state id of the element
|
|
3917
|
+
# Corresponds to the JSON property `screenStateId`
|
|
3918
|
+
# @return [String]
|
|
3919
|
+
attr_accessor :screen_state_id
|
|
3920
|
+
|
|
3921
|
+
def initialize(**args)
|
|
3922
|
+
update!(**args)
|
|
3923
|
+
end
|
|
3924
|
+
|
|
3925
|
+
# Update properties of this object
|
|
3926
|
+
def update!(**args)
|
|
3927
|
+
@depth = args[:depth] if args.key?(:depth)
|
|
3928
|
+
@screen_id = args[:screen_id] if args.key?(:screen_id)
|
|
3929
|
+
@screen_state_id = args[:screen_state_id] if args.key?(:screen_state_id)
|
|
3930
|
+
end
|
|
3931
|
+
end
|
|
3932
|
+
|
|
3933
|
+
# Default unspecified warning.
|
|
3934
|
+
class UnspecifiedWarning
|
|
3935
|
+
include Google::Apis::Core::Hashable
|
|
3936
|
+
|
|
3937
|
+
def initialize(**args)
|
|
3938
|
+
update!(**args)
|
|
3939
|
+
end
|
|
3940
|
+
|
|
3941
|
+
# Update properties of this object
|
|
3942
|
+
def update!(**args)
|
|
3943
|
+
end
|
|
3944
|
+
end
|
|
3945
|
+
|
|
3946
|
+
# Additional details of an unused robodirective.
|
|
3947
|
+
class UnusedRoboDirective
|
|
3948
|
+
include Google::Apis::Core::Hashable
|
|
3949
|
+
|
|
3950
|
+
# The name of the resource that was unused.
|
|
3951
|
+
# Corresponds to the JSON property `resourceName`
|
|
3952
|
+
# @return [String]
|
|
3953
|
+
attr_accessor :resource_name
|
|
3954
|
+
|
|
3955
|
+
def initialize(**args)
|
|
3956
|
+
update!(**args)
|
|
3957
|
+
end
|
|
3958
|
+
|
|
3959
|
+
# Update properties of this object
|
|
3960
|
+
def update!(**args)
|
|
3961
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
3962
|
+
end
|
|
3963
|
+
end
|
|
3964
|
+
|
|
3965
|
+
# This insight is a recommendation to upgrade a given library to the specified
|
|
3966
|
+
# version, in order to avoid dependencies on non-SDK APIs.
|
|
3967
|
+
class UpgradeInsight
|
|
3968
|
+
include Google::Apis::Core::Hashable
|
|
3969
|
+
|
|
3970
|
+
# The name of the package to be upgraded.
|
|
3971
|
+
# Corresponds to the JSON property `packageName`
|
|
3972
|
+
# @return [String]
|
|
3973
|
+
attr_accessor :package_name
|
|
3974
|
+
|
|
3975
|
+
# The suggested version to upgrade to.
|
|
3976
|
+
# Optional: In case we are not sure which version solves this problem
|
|
3977
|
+
# Corresponds to the JSON property `upgradeToVersion`
|
|
3978
|
+
# @return [String]
|
|
3979
|
+
attr_accessor :upgrade_to_version
|
|
3980
|
+
|
|
3981
|
+
def initialize(**args)
|
|
3982
|
+
update!(**args)
|
|
3983
|
+
end
|
|
3984
|
+
|
|
3985
|
+
# Update properties of this object
|
|
3986
|
+
def update!(**args)
|
|
3987
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
|
3988
|
+
@upgrade_to_version = args[:upgrade_to_version] if args.key?(:upgrade_to_version)
|
|
3989
|
+
end
|
|
3990
|
+
end
|
|
3991
|
+
|
|
3992
|
+
# Additional details of a used Robo directive.
|
|
3993
|
+
class UsedRoboDirective
|
|
3994
|
+
include Google::Apis::Core::Hashable
|
|
3995
|
+
|
|
3996
|
+
# The name of the resource that was used.
|
|
3997
|
+
# Corresponds to the JSON property `resourceName`
|
|
3998
|
+
# @return [String]
|
|
3999
|
+
attr_accessor :resource_name
|
|
4000
|
+
|
|
4001
|
+
def initialize(**args)
|
|
4002
|
+
update!(**args)
|
|
4003
|
+
end
|
|
4004
|
+
|
|
4005
|
+
# Update properties of this object
|
|
4006
|
+
def update!(**args)
|
|
4007
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
4008
|
+
end
|
|
4009
|
+
end
|
|
4010
|
+
|
|
4011
|
+
# Additional details of a used Robo directive with an ignore action.
|
|
4012
|
+
# Note: This is a different scenario than unused directive.
|
|
4013
|
+
class UsedRoboIgnoreDirective
|
|
4014
|
+
include Google::Apis::Core::Hashable
|
|
4015
|
+
|
|
4016
|
+
# The name of the resource that was ignored.
|
|
4017
|
+
# Corresponds to the JSON property `resourceName`
|
|
4018
|
+
# @return [String]
|
|
4019
|
+
attr_accessor :resource_name
|
|
4020
|
+
|
|
4021
|
+
def initialize(**args)
|
|
4022
|
+
update!(**args)
|
|
4023
|
+
end
|
|
4024
|
+
|
|
4025
|
+
# Update properties of this object
|
|
4026
|
+
def update!(**args)
|
|
4027
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
4028
|
+
end
|
|
4029
|
+
end
|
|
3102
4030
|
end
|
|
3103
4031
|
end
|
|
3104
4032
|
end
|