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,7 +22,7 @@ module Google
|
|
|
22
22
|
module ToolresultsV1beta3
|
|
23
23
|
# Cloud Tool Results API
|
|
24
24
|
#
|
|
25
|
-
#
|
|
25
|
+
# API to publish and access results from developer tools.
|
|
26
26
|
#
|
|
27
27
|
# @example
|
|
28
28
|
# require 'google/apis/toolresults_v1beta3'
|
|
@@ -38,257 +38,202 @@ module Google
|
|
|
38
38
|
attr_accessor :key
|
|
39
39
|
|
|
40
40
|
# @return [String]
|
|
41
|
-
#
|
|
42
|
-
# characters.
|
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
43
43
|
attr_accessor :quota_user
|
|
44
44
|
|
|
45
|
-
# @return [String]
|
|
46
|
-
# Deprecated. Please use quotaUser instead.
|
|
47
|
-
attr_accessor :user_ip
|
|
48
|
-
|
|
49
45
|
def initialize
|
|
50
|
-
super('https://www.googleapis.com/', '
|
|
46
|
+
super('https://www.googleapis.com/', '')
|
|
51
47
|
@batch_path = 'batch/toolresults/v1beta3'
|
|
52
48
|
end
|
|
53
49
|
|
|
54
|
-
#
|
|
55
|
-
# May return any of the following canonical error codes:
|
|
56
|
-
# - PERMISSION_DENIED - if the user is not authorized to read from project
|
|
50
|
+
# Retrieves a single screenshot cluster by its ID
|
|
57
51
|
# @param [String] project_id
|
|
58
52
|
# A Project id.
|
|
59
53
|
# Required.
|
|
60
|
-
# @param [String]
|
|
61
|
-
#
|
|
62
|
-
#
|
|
63
|
-
#
|
|
64
|
-
#
|
|
65
|
-
#
|
|
66
|
-
#
|
|
67
|
-
#
|
|
68
|
-
# Request-specific options
|
|
69
|
-
#
|
|
70
|
-
# @yield [result, err] Result & error if block supplied
|
|
71
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ProjectSettings] parsed result object
|
|
72
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
73
|
-
#
|
|
74
|
-
# @return [Google::Apis::ToolresultsV1beta3::ProjectSettings]
|
|
75
|
-
#
|
|
76
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
77
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
78
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
79
|
-
def get_project_settings(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
80
|
-
command = make_simple_command(:get, '{projectId}/settings', options)
|
|
81
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
|
|
82
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
|
|
83
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
84
|
-
command.query['fields'] = fields unless fields.nil?
|
|
85
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
86
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
87
|
-
execute_or_queue_command(command, &block)
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
# Creates resources for settings which have not yet been set.
|
|
91
|
-
# Currently, this creates a single resource: a Google Cloud Storage bucket, to
|
|
92
|
-
# be used as the default bucket for this project. The bucket is created in an
|
|
93
|
-
# FTL-own storage project. Except for in rare cases, calling this method in
|
|
94
|
-
# parallel from multiple clients will only create a single bucket. In order to
|
|
95
|
-
# avoid unnecessary storage charges, the bucket is configured to automatically
|
|
96
|
-
# delete objects older than 90 days.
|
|
97
|
-
# The bucket is created with the following permissions: - Owner access for
|
|
98
|
-
# owners of central storage project (FTL-owned) - Writer access for owners/
|
|
99
|
-
# editors of customer project - Reader access for viewers of customer project
|
|
100
|
-
# The default ACL on objects created in the bucket is: - Owner access for owners
|
|
101
|
-
# of central storage project - Reader access for owners/editors/viewers of
|
|
102
|
-
# customer project See Google Cloud Storage documentation for more details.
|
|
103
|
-
# If there is already a default bucket set and the project can access the bucket,
|
|
104
|
-
# this call does nothing. However, if the project doesn't have the permission
|
|
105
|
-
# to access the bucket or the bucket is deleted, a new bucket will be created.
|
|
106
|
-
# May return any canonical error codes, including the following:
|
|
107
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project - Any
|
|
108
|
-
# error code raised by Google Cloud Storage
|
|
109
|
-
# @param [String] project_id
|
|
110
|
-
# A Project id.
|
|
54
|
+
# @param [String] history_id
|
|
55
|
+
# A History id.
|
|
56
|
+
# Required.
|
|
57
|
+
# @param [String] execution_id
|
|
58
|
+
# An Execution id.
|
|
59
|
+
# Required.
|
|
60
|
+
# @param [String] cluster_id
|
|
61
|
+
# A Cluster id
|
|
111
62
|
# Required.
|
|
112
63
|
# @param [String] fields
|
|
113
64
|
# Selector specifying which fields to include in a partial response.
|
|
114
65
|
# @param [String] quota_user
|
|
115
|
-
#
|
|
116
|
-
# characters.
|
|
117
|
-
# @param [String] user_ip
|
|
118
|
-
# Deprecated. Please use quotaUser instead.
|
|
66
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
67
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
119
68
|
# @param [Google::Apis::RequestOptions] options
|
|
120
69
|
# Request-specific options
|
|
121
70
|
#
|
|
122
71
|
# @yield [result, err] Result & error if block supplied
|
|
123
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
72
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ScreenshotCluster] parsed result object
|
|
124
73
|
# @yieldparam err [StandardError] error object if request failed
|
|
125
74
|
#
|
|
126
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
75
|
+
# @return [Google::Apis::ToolresultsV1beta3::ScreenshotCluster]
|
|
127
76
|
#
|
|
128
77
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
129
78
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
130
79
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
131
|
-
def
|
|
132
|
-
command = make_simple_command(:
|
|
133
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
|
134
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
|
80
|
+
def get_cluster(project_id, history_id, execution_id, cluster_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
81
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}', options)
|
|
82
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ScreenshotCluster::Representation
|
|
83
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ScreenshotCluster
|
|
135
84
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
85
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
86
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
87
|
+
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
|
136
88
|
command.query['fields'] = fields unless fields.nil?
|
|
137
89
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
138
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
139
90
|
execute_or_queue_command(command, &block)
|
|
140
91
|
end
|
|
141
92
|
|
|
142
|
-
#
|
|
143
|
-
#
|
|
144
|
-
#
|
|
145
|
-
#
|
|
146
|
-
#
|
|
147
|
-
#
|
|
93
|
+
# Lists Screenshot Clusters
|
|
94
|
+
# Returns the list of screenshot clusters corresponding to an execution.
|
|
95
|
+
# Screenshot clusters are created after the execution is finished.
|
|
96
|
+
# Clusters are created from a set of screenshots. Between any two
|
|
97
|
+
# screenshots, a matching score is calculated based off their metadata
|
|
98
|
+
# that determines how similar they are. Screenshots are placed
|
|
99
|
+
# in the cluster that has screens which have the highest matching
|
|
100
|
+
# scores.
|
|
148
101
|
# @param [String] project_id
|
|
149
102
|
# A Project id.
|
|
150
103
|
# Required.
|
|
151
|
-
# @param [
|
|
152
|
-
#
|
|
153
|
-
#
|
|
154
|
-
#
|
|
155
|
-
#
|
|
104
|
+
# @param [String] history_id
|
|
105
|
+
# A History id.
|
|
106
|
+
# Required.
|
|
107
|
+
# @param [String] execution_id
|
|
108
|
+
# An Execution id.
|
|
109
|
+
# Required.
|
|
156
110
|
# @param [String] fields
|
|
157
111
|
# Selector specifying which fields to include in a partial response.
|
|
158
112
|
# @param [String] quota_user
|
|
159
|
-
#
|
|
160
|
-
# characters.
|
|
161
|
-
# @param [String] user_ip
|
|
162
|
-
# Deprecated. Please use quotaUser instead.
|
|
113
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
114
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
163
115
|
# @param [Google::Apis::RequestOptions] options
|
|
164
116
|
# Request-specific options
|
|
165
117
|
#
|
|
166
118
|
# @yield [result, err] Result & error if block supplied
|
|
167
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
119
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse] parsed result object
|
|
168
120
|
# @yieldparam err [StandardError] error object if request failed
|
|
169
121
|
#
|
|
170
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
122
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse]
|
|
171
123
|
#
|
|
172
124
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
173
125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
174
126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
175
|
-
def
|
|
176
|
-
command = make_simple_command(:
|
|
177
|
-
command.
|
|
178
|
-
command.
|
|
179
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
|
180
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::History
|
|
127
|
+
def list_clusters(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
128
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters', options)
|
|
129
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse::Representation
|
|
130
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse
|
|
181
131
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
182
|
-
command.
|
|
132
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
133
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
183
134
|
command.query['fields'] = fields unless fields.nil?
|
|
184
135
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
185
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
186
136
|
execute_or_queue_command(command, &block)
|
|
187
137
|
end
|
|
188
138
|
|
|
189
|
-
# Gets
|
|
139
|
+
# Gets an Environment.
|
|
190
140
|
# May return any of the following canonical error codes:
|
|
191
|
-
# - PERMISSION_DENIED - if the user is not authorized to read project
|
|
192
|
-
# INVALID_ARGUMENT - if the request is malformed
|
|
193
|
-
# does not exist
|
|
141
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
|
142
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
143
|
+
# - NOT_FOUND - if the Environment does not exist
|
|
194
144
|
# @param [String] project_id
|
|
195
|
-
# A Project id.
|
|
196
|
-
# Required.
|
|
145
|
+
# Required. A Project id.
|
|
197
146
|
# @param [String] history_id
|
|
198
|
-
# A History id.
|
|
199
|
-
#
|
|
147
|
+
# Required. A History id.
|
|
148
|
+
# @param [String] execution_id
|
|
149
|
+
# Required. An Execution id.
|
|
150
|
+
# @param [String] environment_id
|
|
151
|
+
# Required. An Environment id.
|
|
200
152
|
# @param [String] fields
|
|
201
153
|
# Selector specifying which fields to include in a partial response.
|
|
202
154
|
# @param [String] quota_user
|
|
203
|
-
#
|
|
204
|
-
# characters.
|
|
205
|
-
# @param [String] user_ip
|
|
206
|
-
# Deprecated. Please use quotaUser instead.
|
|
155
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
156
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
207
157
|
# @param [Google::Apis::RequestOptions] options
|
|
208
158
|
# Request-specific options
|
|
209
159
|
#
|
|
210
160
|
# @yield [result, err] Result & error if block supplied
|
|
211
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
161
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::Environment] parsed result object
|
|
212
162
|
# @yieldparam err [StandardError] error object if request failed
|
|
213
163
|
#
|
|
214
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
164
|
+
# @return [Google::Apis::ToolresultsV1beta3::Environment]
|
|
215
165
|
#
|
|
216
166
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
217
167
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
218
168
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
219
|
-
def
|
|
220
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}', options)
|
|
221
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
|
222
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
|
169
|
+
def get_environment(project_id, history_id, execution_id, environment_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
170
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}', options)
|
|
171
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::Environment::Representation
|
|
172
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::Environment
|
|
223
173
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
224
174
|
command.params['historyId'] = history_id unless history_id.nil?
|
|
175
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
176
|
+
command.params['environmentId'] = environment_id unless environment_id.nil?
|
|
225
177
|
command.query['fields'] = fields unless fields.nil?
|
|
226
178
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
227
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
228
179
|
execute_or_queue_command(command, &block)
|
|
229
180
|
end
|
|
230
181
|
|
|
231
|
-
# Lists
|
|
232
|
-
# The
|
|
233
|
-
# history_id key will be used to order the history with the same modification
|
|
234
|
-
# time.
|
|
182
|
+
# Lists Environments for a given Execution.
|
|
183
|
+
# The Environments are sorted by display name.
|
|
235
184
|
# May return any of the following canonical error codes:
|
|
236
|
-
# - PERMISSION_DENIED - if the user is not authorized to read project
|
|
237
|
-
# INVALID_ARGUMENT - if the request is malformed
|
|
238
|
-
# does not exist
|
|
185
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
|
186
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
187
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
|
239
188
|
# @param [String] project_id
|
|
240
|
-
# A Project id.
|
|
241
|
-
#
|
|
242
|
-
#
|
|
243
|
-
#
|
|
244
|
-
#
|
|
189
|
+
# Required. A Project id.
|
|
190
|
+
# @param [String] history_id
|
|
191
|
+
# Required. A History id.
|
|
192
|
+
# @param [String] execution_id
|
|
193
|
+
# Required. An Execution id.
|
|
245
194
|
# @param [Fixnum] page_size
|
|
246
|
-
# The maximum number of
|
|
247
|
-
# Default value:
|
|
248
|
-
# has a value of 0.
|
|
249
|
-
# Optional.
|
|
195
|
+
# The maximum number of Environments to fetch.
|
|
196
|
+
# Default value: 25. The server will use this default if the field is not set
|
|
197
|
+
# or has a value of 0.
|
|
250
198
|
# @param [String] page_token
|
|
251
199
|
# A continuation token to resume the query at the next item.
|
|
252
|
-
# Optional.
|
|
253
200
|
# @param [String] fields
|
|
254
201
|
# Selector specifying which fields to include in a partial response.
|
|
255
202
|
# @param [String] quota_user
|
|
256
|
-
#
|
|
257
|
-
# characters.
|
|
258
|
-
# @param [String] user_ip
|
|
259
|
-
# Deprecated. Please use quotaUser instead.
|
|
203
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
204
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
260
205
|
# @param [Google::Apis::RequestOptions] options
|
|
261
206
|
# Request-specific options
|
|
262
207
|
#
|
|
263
208
|
# @yield [result, err] Result & error if block supplied
|
|
264
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
209
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse] parsed result object
|
|
265
210
|
# @yieldparam err [StandardError] error object if request failed
|
|
266
211
|
#
|
|
267
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
212
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse]
|
|
268
213
|
#
|
|
269
214
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
270
215
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
271
216
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
272
|
-
def
|
|
273
|
-
command = make_simple_command(:get, '{projectId}/histories', options)
|
|
274
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
|
275
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
|
217
|
+
def list_environments(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
218
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments', options)
|
|
219
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse::Representation
|
|
220
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse
|
|
276
221
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
277
|
-
command.
|
|
222
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
223
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
278
224
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
279
225
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
280
226
|
command.query['fields'] = fields unless fields.nil?
|
|
281
227
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
282
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
283
228
|
execute_or_queue_command(command, &block)
|
|
284
229
|
end
|
|
285
230
|
|
|
286
231
|
# Creates an Execution.
|
|
287
232
|
# The returned Execution will have the id set.
|
|
288
233
|
# May return any of the following canonical error codes:
|
|
289
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
|
290
|
-
# INVALID_ARGUMENT - if the request is malformed
|
|
291
|
-
# History does not exist
|
|
234
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
|
235
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
236
|
+
# - NOT_FOUND - if the containing History does not exist
|
|
292
237
|
# @param [String] project_id
|
|
293
238
|
# A Project id.
|
|
294
239
|
# Required.
|
|
@@ -297,16 +242,14 @@ module Google
|
|
|
297
242
|
# Required.
|
|
298
243
|
# @param [Google::Apis::ToolresultsV1beta3::Execution] execution_object
|
|
299
244
|
# @param [String] request_id
|
|
300
|
-
# A unique request ID for server to detect duplicated requests.
|
|
301
|
-
# UUID.
|
|
245
|
+
# A unique request ID for server to detect duplicated requests.
|
|
246
|
+
# For example, a UUID.
|
|
302
247
|
# Optional, but strongly recommended.
|
|
303
248
|
# @param [String] fields
|
|
304
249
|
# Selector specifying which fields to include in a partial response.
|
|
305
250
|
# @param [String] quota_user
|
|
306
|
-
#
|
|
307
|
-
# characters.
|
|
308
|
-
# @param [String] user_ip
|
|
309
|
-
# Deprecated. Please use quotaUser instead.
|
|
251
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
252
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
310
253
|
# @param [Google::Apis::RequestOptions] options
|
|
311
254
|
# Request-specific options
|
|
312
255
|
#
|
|
@@ -319,8 +262,8 @@ module Google
|
|
|
319
262
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
320
263
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
321
264
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
322
|
-
def
|
|
323
|
-
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions', options)
|
|
265
|
+
def create_execution(project_id, history_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
266
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions', options)
|
|
324
267
|
command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
|
325
268
|
command.request_object = execution_object
|
|
326
269
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
|
@@ -330,15 +273,14 @@ module Google
|
|
|
330
273
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
331
274
|
command.query['fields'] = fields unless fields.nil?
|
|
332
275
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
333
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
334
276
|
execute_or_queue_command(command, &block)
|
|
335
277
|
end
|
|
336
278
|
|
|
337
279
|
# Gets an Execution.
|
|
338
280
|
# May return any of the following canonical error codes:
|
|
339
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
|
340
|
-
# INVALID_ARGUMENT - if the request is malformed
|
|
341
|
-
# does not exist
|
|
281
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
|
282
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
283
|
+
# - NOT_FOUND - if the Execution does not exist
|
|
342
284
|
# @param [String] project_id
|
|
343
285
|
# A Project id.
|
|
344
286
|
# Required.
|
|
@@ -351,10 +293,8 @@ module Google
|
|
|
351
293
|
# @param [String] fields
|
|
352
294
|
# Selector specifying which fields to include in a partial response.
|
|
353
295
|
# @param [String] quota_user
|
|
354
|
-
#
|
|
355
|
-
# characters.
|
|
356
|
-
# @param [String] user_ip
|
|
357
|
-
# Deprecated. Please use quotaUser instead.
|
|
296
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
297
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
358
298
|
# @param [Google::Apis::RequestOptions] options
|
|
359
299
|
# Request-specific options
|
|
360
300
|
#
|
|
@@ -367,8 +307,8 @@ module Google
|
|
|
367
307
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
368
308
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
369
309
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
370
|
-
def
|
|
371
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}', options)
|
|
310
|
+
def get_execution(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
311
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}', options)
|
|
372
312
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
|
373
313
|
command.response_class = Google::Apis::ToolresultsV1beta3::Execution
|
|
374
314
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -376,7 +316,6 @@ module Google
|
|
|
376
316
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
377
317
|
command.query['fields'] = fields unless fields.nil?
|
|
378
318
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
379
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
380
319
|
execute_or_queue_command(command, &block)
|
|
381
320
|
end
|
|
382
321
|
|
|
@@ -385,9 +324,9 @@ module Google
|
|
|
385
324
|
# execution_id key will be used to order the executions with the same
|
|
386
325
|
# creation_time.
|
|
387
326
|
# May return any of the following canonical error codes:
|
|
388
|
-
# - PERMISSION_DENIED - if the user is not authorized to read project
|
|
389
|
-
# INVALID_ARGUMENT - if the request is malformed
|
|
390
|
-
# History does not exist
|
|
327
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
|
328
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
329
|
+
# - NOT_FOUND - if the containing History does not exist
|
|
391
330
|
# @param [String] project_id
|
|
392
331
|
# A Project id.
|
|
393
332
|
# Required.
|
|
@@ -396,8 +335,8 @@ module Google
|
|
|
396
335
|
# Required.
|
|
397
336
|
# @param [Fixnum] page_size
|
|
398
337
|
# The maximum number of Executions to fetch.
|
|
399
|
-
# Default value: 25. The server will use this default if the field is not set
|
|
400
|
-
# has a value of 0.
|
|
338
|
+
# Default value: 25. The server will use this default if the field is not set
|
|
339
|
+
# or has a value of 0.
|
|
401
340
|
# Optional.
|
|
402
341
|
# @param [String] page_token
|
|
403
342
|
# A continuation token to resume the query at the next item.
|
|
@@ -405,10 +344,8 @@ module Google
|
|
|
405
344
|
# @param [String] fields
|
|
406
345
|
# Selector specifying which fields to include in a partial response.
|
|
407
346
|
# @param [String] quota_user
|
|
408
|
-
#
|
|
409
|
-
# characters.
|
|
410
|
-
# @param [String] user_ip
|
|
411
|
-
# Deprecated. Please use quotaUser instead.
|
|
347
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
348
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
412
349
|
# @param [Google::Apis::RequestOptions] options
|
|
413
350
|
# Request-specific options
|
|
414
351
|
#
|
|
@@ -421,8 +358,8 @@ module Google
|
|
|
421
358
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
422
359
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
423
360
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
424
|
-
def
|
|
425
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions', options)
|
|
361
|
+
def list_executions(project_id, history_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
362
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions', options)
|
|
426
363
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse::Representation
|
|
427
364
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse
|
|
428
365
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -431,34 +368,32 @@ module Google
|
|
|
431
368
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
432
369
|
command.query['fields'] = fields unless fields.nil?
|
|
433
370
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
434
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
435
371
|
execute_or_queue_command(command, &block)
|
|
436
372
|
end
|
|
437
373
|
|
|
438
374
|
# Updates an existing Execution with the supplied partial entity.
|
|
439
375
|
# May return any of the following canonical error codes:
|
|
440
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
|
441
|
-
# INVALID_ARGUMENT - if the request is malformed
|
|
442
|
-
#
|
|
443
|
-
# does not exist
|
|
376
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
|
377
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
378
|
+
# - FAILED_PRECONDITION - if the requested state transition is illegal
|
|
379
|
+
# - NOT_FOUND - if the containing History does not exist
|
|
444
380
|
# @param [String] project_id
|
|
445
|
-
# A Project id.
|
|
381
|
+
# A Project id.
|
|
382
|
+
# Required.
|
|
446
383
|
# @param [String] history_id
|
|
447
384
|
# Required.
|
|
448
385
|
# @param [String] execution_id
|
|
449
386
|
# Required.
|
|
450
387
|
# @param [Google::Apis::ToolresultsV1beta3::Execution] execution_object
|
|
451
388
|
# @param [String] request_id
|
|
452
|
-
# A unique request ID for server to detect duplicated requests.
|
|
453
|
-
# UUID.
|
|
389
|
+
# A unique request ID for server to detect duplicated requests.
|
|
390
|
+
# For example, a UUID.
|
|
454
391
|
# Optional, but strongly recommended.
|
|
455
392
|
# @param [String] fields
|
|
456
393
|
# Selector specifying which fields to include in a partial response.
|
|
457
394
|
# @param [String] quota_user
|
|
458
|
-
#
|
|
459
|
-
# characters.
|
|
460
|
-
# @param [String] user_ip
|
|
461
|
-
# Deprecated. Please use quotaUser instead.
|
|
395
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
396
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
462
397
|
# @param [Google::Apis::RequestOptions] options
|
|
463
398
|
# Request-specific options
|
|
464
399
|
#
|
|
@@ -471,8 +406,8 @@ module Google
|
|
|
471
406
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
472
407
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
473
408
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
474
|
-
def
|
|
475
|
-
command = make_simple_command(:patch, '{projectId}/histories/{historyId}/executions/{executionId}', options)
|
|
409
|
+
def patch_execution(project_id, history_id, execution_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
410
|
+
command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}', options)
|
|
476
411
|
command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
|
477
412
|
command.request_object = execution_object
|
|
478
413
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
|
@@ -483,210 +418,193 @@ module Google
|
|
|
483
418
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
484
419
|
command.query['fields'] = fields unless fields.nil?
|
|
485
420
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
486
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
487
421
|
execute_or_queue_command(command, &block)
|
|
488
422
|
end
|
|
489
423
|
|
|
490
|
-
#
|
|
424
|
+
# Creates a History.
|
|
425
|
+
# The returned History will have the id set.
|
|
426
|
+
# May return any of the following canonical error codes:
|
|
427
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
|
428
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
429
|
+
# - NOT_FOUND - if the containing project does not exist
|
|
491
430
|
# @param [String] project_id
|
|
492
431
|
# A Project id.
|
|
493
432
|
# Required.
|
|
494
|
-
# @param [
|
|
495
|
-
#
|
|
496
|
-
#
|
|
497
|
-
#
|
|
498
|
-
#
|
|
499
|
-
# Required.
|
|
500
|
-
# @param [String] cluster_id
|
|
501
|
-
# A Cluster id
|
|
502
|
-
# Required.
|
|
433
|
+
# @param [Google::Apis::ToolresultsV1beta3::History] history_object
|
|
434
|
+
# @param [String] request_id
|
|
435
|
+
# A unique request ID for server to detect duplicated requests.
|
|
436
|
+
# For example, a UUID.
|
|
437
|
+
# Optional, but strongly recommended.
|
|
503
438
|
# @param [String] fields
|
|
504
439
|
# Selector specifying which fields to include in a partial response.
|
|
505
440
|
# @param [String] quota_user
|
|
506
|
-
#
|
|
507
|
-
# characters.
|
|
508
|
-
# @param [String] user_ip
|
|
509
|
-
# Deprecated. Please use quotaUser instead.
|
|
441
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
442
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
510
443
|
# @param [Google::Apis::RequestOptions] options
|
|
511
444
|
# Request-specific options
|
|
512
445
|
#
|
|
513
446
|
# @yield [result, err] Result & error if block supplied
|
|
514
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
447
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::History] parsed result object
|
|
515
448
|
# @yieldparam err [StandardError] error object if request failed
|
|
516
449
|
#
|
|
517
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
450
|
+
# @return [Google::Apis::ToolresultsV1beta3::History]
|
|
518
451
|
#
|
|
519
452
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
520
453
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
521
454
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
522
|
-
def
|
|
523
|
-
command = make_simple_command(:
|
|
524
|
-
command.
|
|
525
|
-
command.
|
|
455
|
+
def create_history(project_id, history_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
456
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories', options)
|
|
457
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
|
458
|
+
command.request_object = history_object
|
|
459
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
|
460
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::History
|
|
526
461
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
527
|
-
command.
|
|
528
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
529
|
-
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
|
462
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
530
463
|
command.query['fields'] = fields unless fields.nil?
|
|
531
464
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
532
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
533
465
|
execute_or_queue_command(command, &block)
|
|
534
466
|
end
|
|
535
467
|
|
|
536
|
-
#
|
|
537
|
-
#
|
|
538
|
-
#
|
|
539
|
-
#
|
|
540
|
-
#
|
|
541
|
-
# are. Screenshots are placed in the cluster that has screens which have the
|
|
542
|
-
# highest matching scores.
|
|
468
|
+
# Gets a History.
|
|
469
|
+
# May return any of the following canonical error codes:
|
|
470
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
|
471
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
472
|
+
# - NOT_FOUND - if the History does not exist
|
|
543
473
|
# @param [String] project_id
|
|
544
474
|
# A Project id.
|
|
545
475
|
# Required.
|
|
546
476
|
# @param [String] history_id
|
|
547
477
|
# A History id.
|
|
548
478
|
# Required.
|
|
549
|
-
# @param [String] execution_id
|
|
550
|
-
# An Execution id.
|
|
551
|
-
# Required.
|
|
552
479
|
# @param [String] fields
|
|
553
480
|
# Selector specifying which fields to include in a partial response.
|
|
554
481
|
# @param [String] quota_user
|
|
555
|
-
#
|
|
556
|
-
# characters.
|
|
557
|
-
# @param [String] user_ip
|
|
558
|
-
# Deprecated. Please use quotaUser instead.
|
|
482
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
483
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
559
484
|
# @param [Google::Apis::RequestOptions] options
|
|
560
485
|
# Request-specific options
|
|
561
486
|
#
|
|
562
487
|
# @yield [result, err] Result & error if block supplied
|
|
563
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
488
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::History] parsed result object
|
|
564
489
|
# @yieldparam err [StandardError] error object if request failed
|
|
565
490
|
#
|
|
566
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
491
|
+
# @return [Google::Apis::ToolresultsV1beta3::History]
|
|
567
492
|
#
|
|
568
493
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
569
494
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
570
495
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
571
|
-
def
|
|
572
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}
|
|
573
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
|
574
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
|
496
|
+
def get_history(project_id, history_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
497
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}', options)
|
|
498
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
|
499
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::History
|
|
575
500
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
576
501
|
command.params['historyId'] = history_id unless history_id.nil?
|
|
577
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
578
502
|
command.query['fields'] = fields unless fields.nil?
|
|
579
503
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
580
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
581
504
|
execute_or_queue_command(command, &block)
|
|
582
505
|
end
|
|
583
506
|
|
|
584
|
-
#
|
|
585
|
-
# The
|
|
507
|
+
# Lists Histories for a given Project.
|
|
508
|
+
# The histories are sorted by modification time in descending order. The
|
|
509
|
+
# history_id key will be used to order the history with the same
|
|
510
|
+
# modification time.
|
|
586
511
|
# May return any of the following canonical error codes:
|
|
587
|
-
# - PERMISSION_DENIED - if the user is not authorized to
|
|
588
|
-
# INVALID_ARGUMENT - if the request is malformed
|
|
589
|
-
#
|
|
590
|
-
# does not exist
|
|
512
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
|
513
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
514
|
+
# - NOT_FOUND - if the History does not exist
|
|
591
515
|
# @param [String] project_id
|
|
592
|
-
#
|
|
593
|
-
#
|
|
594
|
-
#
|
|
595
|
-
#
|
|
596
|
-
#
|
|
597
|
-
# @param [
|
|
598
|
-
#
|
|
599
|
-
#
|
|
600
|
-
#
|
|
601
|
-
# Optional
|
|
516
|
+
# A Project id.
|
|
517
|
+
# Required.
|
|
518
|
+
# @param [String] filter_by_name
|
|
519
|
+
# If set, only return histories with the given name.
|
|
520
|
+
# Optional.
|
|
521
|
+
# @param [Fixnum] page_size
|
|
522
|
+
# The maximum number of Histories to fetch.
|
|
523
|
+
# Default value: 20. The server will use this default if the field is not set
|
|
524
|
+
# or has a value of 0. Any value greater than 100 will be treated as 100.
|
|
525
|
+
# Optional.
|
|
526
|
+
# @param [String] page_token
|
|
527
|
+
# A continuation token to resume the query at the next item.
|
|
528
|
+
# Optional.
|
|
602
529
|
# @param [String] fields
|
|
603
530
|
# Selector specifying which fields to include in a partial response.
|
|
604
531
|
# @param [String] quota_user
|
|
605
|
-
#
|
|
606
|
-
# characters.
|
|
607
|
-
# @param [String] user_ip
|
|
608
|
-
# Deprecated. Please use quotaUser instead.
|
|
532
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
533
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
609
534
|
# @param [Google::Apis::RequestOptions] options
|
|
610
535
|
# Request-specific options
|
|
611
536
|
#
|
|
612
537
|
# @yield [result, err] Result & error if block supplied
|
|
613
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
538
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse] parsed result object
|
|
614
539
|
# @yieldparam err [StandardError] error object if request failed
|
|
615
540
|
#
|
|
616
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
541
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse]
|
|
617
542
|
#
|
|
618
543
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
619
544
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
620
545
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
621
|
-
def
|
|
622
|
-
command = make_simple_command(:
|
|
623
|
-
command.
|
|
624
|
-
command.
|
|
625
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
626
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
|
546
|
+
def list_histories(project_id, filter_by_name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
547
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories', options)
|
|
548
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse::Representation
|
|
549
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse
|
|
627
550
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
628
|
-
command.
|
|
629
|
-
command.
|
|
630
|
-
command.query['
|
|
551
|
+
command.query['filterByName'] = filter_by_name unless filter_by_name.nil?
|
|
552
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
553
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
631
554
|
command.query['fields'] = fields unless fields.nil?
|
|
632
555
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
633
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
634
556
|
execute_or_queue_command(command, &block)
|
|
635
557
|
end
|
|
636
558
|
|
|
637
|
-
#
|
|
638
|
-
#
|
|
639
|
-
#
|
|
640
|
-
#
|
|
641
|
-
# not exist
|
|
559
|
+
# Creates a PerfMetricsSummary resource. Returns the existing one if it has
|
|
560
|
+
# already been created.
|
|
561
|
+
# May return any of the following error code(s):
|
|
562
|
+
# - NOT_FOUND - The containing Step does not exist
|
|
642
563
|
# @param [String] project_id
|
|
643
|
-
#
|
|
644
|
-
# Required.
|
|
564
|
+
# The cloud project
|
|
645
565
|
# @param [String] history_id
|
|
646
|
-
# A
|
|
647
|
-
# Required.
|
|
566
|
+
# A tool results history ID.
|
|
648
567
|
# @param [String] execution_id
|
|
649
|
-
# A
|
|
650
|
-
# Required.
|
|
568
|
+
# A tool results execution ID.
|
|
651
569
|
# @param [String] step_id
|
|
652
|
-
# A
|
|
653
|
-
#
|
|
570
|
+
# A tool results step ID.
|
|
571
|
+
# @param [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] perf_metrics_summary_object
|
|
654
572
|
# @param [String] fields
|
|
655
573
|
# Selector specifying which fields to include in a partial response.
|
|
656
574
|
# @param [String] quota_user
|
|
657
|
-
#
|
|
658
|
-
# characters.
|
|
659
|
-
# @param [String] user_ip
|
|
660
|
-
# Deprecated. Please use quotaUser instead.
|
|
575
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
576
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
661
577
|
# @param [Google::Apis::RequestOptions] options
|
|
662
578
|
# Request-specific options
|
|
663
579
|
#
|
|
664
580
|
# @yield [result, err] Result & error if block supplied
|
|
665
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
581
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] parsed result object
|
|
666
582
|
# @yieldparam err [StandardError] error object if request failed
|
|
667
583
|
#
|
|
668
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
584
|
+
# @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary]
|
|
669
585
|
#
|
|
670
586
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
671
587
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
672
588
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
673
|
-
def
|
|
674
|
-
command = make_simple_command(:
|
|
675
|
-
command.
|
|
676
|
-
command.
|
|
589
|
+
def create_perf_metrics_summary(project_id, history_id, execution_id, step_id, perf_metrics_summary_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
590
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
|
591
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
|
592
|
+
command.request_object = perf_metrics_summary_object
|
|
593
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
|
594
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
|
|
677
595
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
678
596
|
command.params['historyId'] = history_id unless history_id.nil?
|
|
679
597
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
680
598
|
command.params['stepId'] = step_id unless step_id.nil?
|
|
681
599
|
command.query['fields'] = fields unless fields.nil?
|
|
682
600
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
683
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
684
601
|
execute_or_queue_command(command, &block)
|
|
685
602
|
end
|
|
686
603
|
|
|
687
|
-
#
|
|
688
|
-
# May return any of the following error code(s):
|
|
689
|
-
#
|
|
604
|
+
# Creates a PerfSampleSeries.
|
|
605
|
+
# May return any of the following error code(s):
|
|
606
|
+
# - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step
|
|
607
|
+
# - NOT_FOUND - The containing Step does not exist
|
|
690
608
|
# @param [String] project_id
|
|
691
609
|
# The cloud project
|
|
692
610
|
# @param [String] history_id
|
|
@@ -695,217 +613,224 @@ module Google
|
|
|
695
613
|
# A tool results execution ID.
|
|
696
614
|
# @param [String] step_id
|
|
697
615
|
# A tool results step ID.
|
|
616
|
+
# @param [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] perf_sample_series_object
|
|
698
617
|
# @param [String] fields
|
|
699
618
|
# Selector specifying which fields to include in a partial response.
|
|
700
619
|
# @param [String] quota_user
|
|
701
|
-
#
|
|
702
|
-
# characters.
|
|
703
|
-
# @param [String] user_ip
|
|
704
|
-
# Deprecated. Please use quotaUser instead.
|
|
620
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
621
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
705
622
|
# @param [Google::Apis::RequestOptions] options
|
|
706
623
|
# Request-specific options
|
|
707
624
|
#
|
|
708
625
|
# @yield [result, err] Result & error if block supplied
|
|
709
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
626
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] parsed result object
|
|
710
627
|
# @yieldparam err [StandardError] error object if request failed
|
|
711
628
|
#
|
|
712
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
629
|
+
# @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries]
|
|
713
630
|
#
|
|
714
631
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
715
632
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
716
633
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
717
|
-
def
|
|
718
|
-
command = make_simple_command(:
|
|
719
|
-
command.
|
|
720
|
-
command.
|
|
634
|
+
def create_perf_sample_series(project_id, history_id, execution_id, step_id, perf_sample_series_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
635
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
|
636
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
|
637
|
+
command.request_object = perf_sample_series_object
|
|
638
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
|
639
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
|
|
721
640
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
722
641
|
command.params['historyId'] = history_id unless history_id.nil?
|
|
723
642
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
724
643
|
command.params['stepId'] = step_id unless step_id.nil?
|
|
725
644
|
command.query['fields'] = fields unless fields.nil?
|
|
726
645
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
727
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
728
646
|
execute_or_queue_command(command, &block)
|
|
729
647
|
end
|
|
730
648
|
|
|
731
|
-
#
|
|
732
|
-
#
|
|
733
|
-
#
|
|
734
|
-
# May return any of the following canonical error codes:
|
|
735
|
-
# - PERMISSION_DENIED - if the user is not authorized to read project -
|
|
736
|
-
# INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an
|
|
737
|
-
# argument in the request happens to be invalid; e.g. if an attempt is made to
|
|
738
|
-
# list the children of a nonexistent Step - NOT_FOUND - if the containing
|
|
739
|
-
# Execution does not exist
|
|
649
|
+
# Gets a PerfSampleSeries.
|
|
650
|
+
# May return any of the following error code(s):
|
|
651
|
+
# - NOT_FOUND - The specified PerfSampleSeries does not exist
|
|
740
652
|
# @param [String] project_id
|
|
741
|
-
#
|
|
742
|
-
# Required.
|
|
653
|
+
# The cloud project
|
|
743
654
|
# @param [String] history_id
|
|
744
|
-
# A
|
|
745
|
-
# Required.
|
|
655
|
+
# A tool results history ID.
|
|
746
656
|
# @param [String] execution_id
|
|
747
|
-
# A
|
|
748
|
-
#
|
|
749
|
-
#
|
|
750
|
-
#
|
|
751
|
-
#
|
|
752
|
-
# has a value of 0.
|
|
753
|
-
# Optional.
|
|
754
|
-
# @param [String] page_token
|
|
755
|
-
# A continuation token to resume the query at the next item.
|
|
756
|
-
# Optional.
|
|
657
|
+
# A tool results execution ID.
|
|
658
|
+
# @param [String] step_id
|
|
659
|
+
# A tool results step ID.
|
|
660
|
+
# @param [String] sample_series_id
|
|
661
|
+
# A sample series id
|
|
757
662
|
# @param [String] fields
|
|
758
663
|
# Selector specifying which fields to include in a partial response.
|
|
759
664
|
# @param [String] quota_user
|
|
760
|
-
#
|
|
761
|
-
# characters.
|
|
762
|
-
# @param [String] user_ip
|
|
763
|
-
# Deprecated. Please use quotaUser instead.
|
|
665
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
666
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
764
667
|
# @param [Google::Apis::RequestOptions] options
|
|
765
668
|
# Request-specific options
|
|
766
669
|
#
|
|
767
670
|
# @yield [result, err] Result & error if block supplied
|
|
768
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
671
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] parsed result object
|
|
769
672
|
# @yieldparam err [StandardError] error object if request failed
|
|
770
673
|
#
|
|
771
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
674
|
+
# @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries]
|
|
772
675
|
#
|
|
773
676
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
774
677
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
775
678
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
776
|
-
def
|
|
777
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
|
778
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
|
779
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
|
679
|
+
def get_perf_sample_series(project_id, history_id, execution_id, step_id, sample_series_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
680
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', options)
|
|
681
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
|
682
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
|
|
780
683
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
781
684
|
command.params['historyId'] = history_id unless history_id.nil?
|
|
782
685
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
783
|
-
command.
|
|
784
|
-
command.
|
|
686
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
687
|
+
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
|
785
688
|
command.query['fields'] = fields unless fields.nil?
|
|
786
689
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
787
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
788
690
|
execute_or_queue_command(command, &block)
|
|
789
691
|
end
|
|
790
692
|
|
|
791
|
-
#
|
|
693
|
+
# Lists PerfSampleSeries for a given Step.
|
|
694
|
+
# The request provides an optional filter which specifies one or more
|
|
695
|
+
# PerfMetricsType to include in the result; if none returns all.
|
|
696
|
+
# The resulting PerfSampleSeries are sorted by ids.
|
|
792
697
|
# May return any of the following canonical error codes:
|
|
793
|
-
# -
|
|
794
|
-
# INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
|
|
795
|
-
# requested state transition is illegal (e.g try to upload a duplicate xml file),
|
|
796
|
-
# if the updated step is too large (more than 10Mib) - NOT_FOUND - if the
|
|
797
|
-
# containing Execution does not exist
|
|
698
|
+
# - NOT_FOUND - The containing Step does not exist
|
|
798
699
|
# @param [String] project_id
|
|
799
|
-
#
|
|
800
|
-
# Required.
|
|
700
|
+
# The cloud project
|
|
801
701
|
# @param [String] history_id
|
|
802
|
-
# A
|
|
803
|
-
# Required.
|
|
702
|
+
# A tool results history ID.
|
|
804
703
|
# @param [String] execution_id
|
|
805
|
-
# A
|
|
806
|
-
# Required.
|
|
704
|
+
# A tool results execution ID.
|
|
807
705
|
# @param [String] step_id
|
|
808
|
-
# A
|
|
809
|
-
#
|
|
810
|
-
#
|
|
811
|
-
# @param [String] request_id
|
|
812
|
-
# A unique request ID for server to detect duplicated requests. For example, a
|
|
813
|
-
# UUID.
|
|
814
|
-
# Optional, but strongly recommended.
|
|
706
|
+
# A tool results step ID.
|
|
707
|
+
# @param [Array<String>, String] filter
|
|
708
|
+
# Specify one or more PerfMetricType values such as CPU to filter the result
|
|
815
709
|
# @param [String] fields
|
|
816
710
|
# Selector specifying which fields to include in a partial response.
|
|
817
711
|
# @param [String] quota_user
|
|
818
|
-
#
|
|
819
|
-
# characters.
|
|
820
|
-
# @param [String] user_ip
|
|
821
|
-
# Deprecated. Please use quotaUser instead.
|
|
712
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
713
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
822
714
|
# @param [Google::Apis::RequestOptions] options
|
|
823
715
|
# Request-specific options
|
|
824
716
|
#
|
|
825
717
|
# @yield [result, err] Result & error if block supplied
|
|
826
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
718
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse] parsed result object
|
|
827
719
|
# @yieldparam err [StandardError] error object if request failed
|
|
828
720
|
#
|
|
829
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
721
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse]
|
|
830
722
|
#
|
|
831
723
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
832
724
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
833
725
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
834
|
-
def
|
|
835
|
-
command = make_simple_command(:
|
|
836
|
-
command.
|
|
837
|
-
command.
|
|
838
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
839
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
|
726
|
+
def list_perf_sample_series(project_id, history_id, execution_id, step_id, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
727
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
|
728
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse::Representation
|
|
729
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse
|
|
840
730
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
841
731
|
command.params['historyId'] = history_id unless history_id.nil?
|
|
842
732
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
843
733
|
command.params['stepId'] = step_id unless step_id.nil?
|
|
844
|
-
command.query['
|
|
734
|
+
command.query['filter'] = filter unless filter.nil?
|
|
845
735
|
command.query['fields'] = fields unless fields.nil?
|
|
846
736
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
847
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
848
737
|
execute_or_queue_command(command, &block)
|
|
849
738
|
end
|
|
850
739
|
|
|
851
|
-
#
|
|
740
|
+
# Gets the Tool Results settings for a project.
|
|
852
741
|
# May return any of the following canonical error codes:
|
|
853
|
-
# - PERMISSION_DENIED - if the user is not authorized to
|
|
854
|
-
# INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
|
|
855
|
-
# requested state transition is illegal, e.g try to upload a duplicate xml file
|
|
856
|
-
# or a file too large. - NOT_FOUND - if the containing Execution does not exist
|
|
742
|
+
# - PERMISSION_DENIED - if the user is not authorized to read from project
|
|
857
743
|
# @param [String] project_id
|
|
858
744
|
# A Project id.
|
|
859
745
|
# Required.
|
|
860
|
-
# @param [String]
|
|
861
|
-
#
|
|
862
|
-
#
|
|
863
|
-
#
|
|
864
|
-
#
|
|
865
|
-
#
|
|
866
|
-
#
|
|
867
|
-
#
|
|
746
|
+
# @param [String] fields
|
|
747
|
+
# Selector specifying which fields to include in a partial response.
|
|
748
|
+
# @param [String] quota_user
|
|
749
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
750
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
751
|
+
# @param [Google::Apis::RequestOptions] options
|
|
752
|
+
# Request-specific options
|
|
753
|
+
#
|
|
754
|
+
# @yield [result, err] Result & error if block supplied
|
|
755
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ProjectSettings] parsed result object
|
|
756
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
757
|
+
#
|
|
758
|
+
# @return [Google::Apis::ToolresultsV1beta3::ProjectSettings]
|
|
759
|
+
#
|
|
760
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
761
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
762
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
763
|
+
def get_project_settings(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
764
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/settings', options)
|
|
765
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
|
|
766
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
|
|
767
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
768
|
+
command.query['fields'] = fields unless fields.nil?
|
|
769
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
770
|
+
execute_or_queue_command(command, &block)
|
|
771
|
+
end
|
|
772
|
+
|
|
773
|
+
# Creates resources for settings which have not yet been set.
|
|
774
|
+
# Currently, this creates a single resource: a Google Cloud Storage bucket,
|
|
775
|
+
# to be used as the default bucket for this project. The bucket is created
|
|
776
|
+
# in an FTL-own storage project. Except for in rare cases, calling this
|
|
777
|
+
# method in parallel from multiple clients will only create a single bucket.
|
|
778
|
+
# In order to avoid unnecessary storage charges, the bucket is configured to
|
|
779
|
+
# automatically delete objects older than 90 days.
|
|
780
|
+
# The bucket is created with the following permissions:
|
|
781
|
+
# - Owner access for owners of central storage project (FTL-owned)
|
|
782
|
+
# - Writer access for owners/editors of customer project
|
|
783
|
+
# - Reader access for viewers of customer project
|
|
784
|
+
# The default ACL on objects created in the bucket is:
|
|
785
|
+
# - Owner access for owners of central storage project
|
|
786
|
+
# - Reader access for owners/editors/viewers of customer project
|
|
787
|
+
# See Google Cloud Storage documentation for more details.
|
|
788
|
+
# If there is already a default bucket set and the project can access the
|
|
789
|
+
# bucket, this call does nothing. However, if the project doesn't have the
|
|
790
|
+
# permission to access the bucket or the bucket is deleted, a new bucket
|
|
791
|
+
# will be created.
|
|
792
|
+
# May return any canonical error codes, including the following:
|
|
793
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
|
794
|
+
# - Any error code raised by Google Cloud Storage
|
|
795
|
+
# @param [String] project_id
|
|
796
|
+
# A Project id.
|
|
868
797
|
# Required.
|
|
869
|
-
# @param [Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest] publish_xunit_xml_files_request_object
|
|
870
798
|
# @param [String] fields
|
|
871
799
|
# Selector specifying which fields to include in a partial response.
|
|
872
800
|
# @param [String] quota_user
|
|
873
|
-
#
|
|
874
|
-
# characters.
|
|
875
|
-
# @param [String] user_ip
|
|
876
|
-
# Deprecated. Please use quotaUser instead.
|
|
801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
877
803
|
# @param [Google::Apis::RequestOptions] options
|
|
878
804
|
# Request-specific options
|
|
879
805
|
#
|
|
880
806
|
# @yield [result, err] Result & error if block supplied
|
|
881
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
807
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ProjectSettings] parsed result object
|
|
882
808
|
# @yieldparam err [StandardError] error object if request failed
|
|
883
809
|
#
|
|
884
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
810
|
+
# @return [Google::Apis::ToolresultsV1beta3::ProjectSettings]
|
|
885
811
|
#
|
|
886
812
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
887
813
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
888
814
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
889
|
-
def
|
|
890
|
-
command = make_simple_command(:post, '
|
|
891
|
-
command.
|
|
892
|
-
command.
|
|
893
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
894
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
|
815
|
+
def initialize_project_settings(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
816
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}:initializeSettings', options)
|
|
817
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
|
|
818
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
|
|
895
819
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
896
|
-
command.params['historyId'] = history_id unless history_id.nil?
|
|
897
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
898
|
-
command.params['stepId'] = step_id unless step_id.nil?
|
|
899
820
|
command.query['fields'] = fields unless fields.nil?
|
|
900
821
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
901
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
902
822
|
execute_or_queue_command(command, &block)
|
|
903
823
|
end
|
|
904
824
|
|
|
905
|
-
# Creates a
|
|
906
|
-
#
|
|
907
|
-
#
|
|
908
|
-
#
|
|
825
|
+
# Creates a batch of PerfSamples
|
|
826
|
+
# - a client can submit multiple batches of Perf Samples through repeated
|
|
827
|
+
# calls to this method in order to split up a large request payload
|
|
828
|
+
# - duplicates and existing timestamp entries will be ignored.
|
|
829
|
+
# - the batch operation may partially succeed
|
|
830
|
+
# - the set of elements successfully inserted is returned in the response
|
|
831
|
+
# (omits items which already existed in the database).
|
|
832
|
+
# May return any of the following canonical error codes:
|
|
833
|
+
# - NOT_FOUND - The containing PerfSampleSeries does not exist
|
|
909
834
|
# @param [String] project_id
|
|
910
835
|
# The cloud project
|
|
911
836
|
# @param [String] history_id
|
|
@@ -914,46 +839,52 @@ module Google
|
|
|
914
839
|
# A tool results execution ID.
|
|
915
840
|
# @param [String] step_id
|
|
916
841
|
# A tool results step ID.
|
|
917
|
-
# @param [
|
|
842
|
+
# @param [String] sample_series_id
|
|
843
|
+
# A sample series id
|
|
844
|
+
# @param [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest] batch_create_perf_samples_request_object
|
|
918
845
|
# @param [String] fields
|
|
919
846
|
# Selector specifying which fields to include in a partial response.
|
|
920
847
|
# @param [String] quota_user
|
|
921
|
-
#
|
|
922
|
-
# characters.
|
|
923
|
-
# @param [String] user_ip
|
|
924
|
-
# Deprecated. Please use quotaUser instead.
|
|
848
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
849
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
925
850
|
# @param [Google::Apis::RequestOptions] options
|
|
926
851
|
# Request-specific options
|
|
927
852
|
#
|
|
928
853
|
# @yield [result, err] Result & error if block supplied
|
|
929
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
854
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse] parsed result object
|
|
930
855
|
# @yieldparam err [StandardError] error object if request failed
|
|
931
856
|
#
|
|
932
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
857
|
+
# @return [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse]
|
|
933
858
|
#
|
|
934
859
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
935
860
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
936
861
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
937
|
-
def
|
|
938
|
-
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/
|
|
939
|
-
command.request_representation = Google::Apis::ToolresultsV1beta3::
|
|
940
|
-
command.request_object =
|
|
941
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
|
942
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
|
862
|
+
def batch_create_perf_samples(project_id, history_id, execution_id, step_id, sample_series_id, batch_create_perf_samples_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
863
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate', options)
|
|
864
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest::Representation
|
|
865
|
+
command.request_object = batch_create_perf_samples_request_object
|
|
866
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse::Representation
|
|
867
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse
|
|
943
868
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
944
869
|
command.params['historyId'] = history_id unless history_id.nil?
|
|
945
870
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
946
871
|
command.params['stepId'] = step_id unless step_id.nil?
|
|
872
|
+
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
|
947
873
|
command.query['fields'] = fields unless fields.nil?
|
|
948
874
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
949
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
950
875
|
execute_or_queue_command(command, &block)
|
|
951
876
|
end
|
|
952
877
|
|
|
953
|
-
#
|
|
954
|
-
#
|
|
955
|
-
#
|
|
956
|
-
#
|
|
878
|
+
# Lists the Performance Samples of a given Sample Series
|
|
879
|
+
# - The list results are sorted by timestamps ascending
|
|
880
|
+
# - The default page size is 500 samples; and maximum size allowed 5000
|
|
881
|
+
# - The response token indicates the last returned PerfSample timestamp
|
|
882
|
+
# - When the results size exceeds the page size, submit a subsequent request
|
|
883
|
+
# including the page token to return the rest of the samples up to the
|
|
884
|
+
# page limit
|
|
885
|
+
# May return any of the following canonical error codes:
|
|
886
|
+
# - OUT_OF_RANGE - The specified request page_token is out of valid range
|
|
887
|
+
# - NOT_FOUND - The containing PerfSampleSeries does not exist
|
|
957
888
|
# @param [String] project_id
|
|
958
889
|
# The cloud project
|
|
959
890
|
# @param [String] history_id
|
|
@@ -962,147 +893,193 @@ module Google
|
|
|
962
893
|
# A tool results execution ID.
|
|
963
894
|
# @param [String] step_id
|
|
964
895
|
# A tool results step ID.
|
|
965
|
-
# @param [
|
|
896
|
+
# @param [String] sample_series_id
|
|
897
|
+
# A sample series id
|
|
898
|
+
# @param [Fixnum] page_size
|
|
899
|
+
# The default page size is 500 samples, and the maximum size is 5000. If
|
|
900
|
+
# the page_size is greater than 5000, the effective page size will be 5000
|
|
901
|
+
# @param [String] page_token
|
|
902
|
+
# Optional, the next_page_token returned in the previous response
|
|
966
903
|
# @param [String] fields
|
|
967
904
|
# Selector specifying which fields to include in a partial response.
|
|
968
905
|
# @param [String] quota_user
|
|
969
|
-
#
|
|
970
|
-
# characters.
|
|
971
|
-
# @param [String] user_ip
|
|
972
|
-
# Deprecated. Please use quotaUser instead.
|
|
906
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
907
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
973
908
|
# @param [Google::Apis::RequestOptions] options
|
|
974
909
|
# Request-specific options
|
|
975
910
|
#
|
|
976
911
|
# @yield [result, err] Result & error if block supplied
|
|
977
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
912
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse] parsed result object
|
|
978
913
|
# @yieldparam err [StandardError] error object if request failed
|
|
979
914
|
#
|
|
980
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
915
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse]
|
|
981
916
|
#
|
|
982
917
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
983
918
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
984
919
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
985
|
-
def
|
|
986
|
-
command = make_simple_command(:
|
|
987
|
-
command.
|
|
988
|
-
command.
|
|
989
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
|
990
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
|
|
920
|
+
def list_samples(project_id, history_id, execution_id, step_id, sample_series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
921
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples', options)
|
|
922
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse::Representation
|
|
923
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse
|
|
991
924
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
992
925
|
command.params['historyId'] = history_id unless history_id.nil?
|
|
993
926
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
994
927
|
command.params['stepId'] = step_id unless step_id.nil?
|
|
928
|
+
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
|
929
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
930
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
995
931
|
command.query['fields'] = fields unless fields.nil?
|
|
996
932
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
997
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
998
933
|
execute_or_queue_command(command, &block)
|
|
999
934
|
end
|
|
1000
935
|
|
|
1001
|
-
#
|
|
1002
|
-
# May return any of the following error
|
|
1003
|
-
#
|
|
936
|
+
# Lists accessibility clusters for a given Step
|
|
937
|
+
# May return any of the following canonical error codes:
|
|
938
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
|
939
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
940
|
+
# - FAILED_PRECONDITION - if an argument in the request happens to be
|
|
941
|
+
# invalid; e.g. if the locale format is incorrect
|
|
942
|
+
# - NOT_FOUND - if the containing Step does not exist
|
|
943
|
+
# @param [String] name
|
|
944
|
+
# A full resource name of the step.
|
|
945
|
+
# For example, projects/my-project/histories/bh.1234567890abcdef/executions/
|
|
946
|
+
# 1234567890123456789/steps/bs.1234567890abcdef
|
|
947
|
+
# Required.
|
|
948
|
+
# @param [String] locale
|
|
949
|
+
# The accepted format is the canonical Unicode format with hyphen as a
|
|
950
|
+
# delimiter. Language must be lowercase, Language Script - Capitalized,
|
|
951
|
+
# Region - UPPERCASE.
|
|
952
|
+
# See http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for
|
|
953
|
+
# details.
|
|
954
|
+
# Required.
|
|
955
|
+
# @param [String] fields
|
|
956
|
+
# Selector specifying which fields to include in a partial response.
|
|
957
|
+
# @param [String] quota_user
|
|
958
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
959
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
960
|
+
# @param [Google::Apis::RequestOptions] options
|
|
961
|
+
# Request-specific options
|
|
962
|
+
#
|
|
963
|
+
# @yield [result, err] Result & error if block supplied
|
|
964
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse] parsed result object
|
|
965
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
966
|
+
#
|
|
967
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse]
|
|
968
|
+
#
|
|
969
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
970
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
971
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
972
|
+
def accessibility_step_clusters(name, locale: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
973
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/{+name}:accessibilityClusters', options)
|
|
974
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse::Representation
|
|
975
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse
|
|
976
|
+
command.params['name'] = name unless name.nil?
|
|
977
|
+
command.query['locale'] = locale unless locale.nil?
|
|
978
|
+
command.query['fields'] = fields unless fields.nil?
|
|
979
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
980
|
+
execute_or_queue_command(command, &block)
|
|
981
|
+
end
|
|
982
|
+
|
|
983
|
+
# Creates a Step.
|
|
984
|
+
# The returned Step will have the id set.
|
|
985
|
+
# May return any of the following canonical error codes:
|
|
986
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
|
987
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
988
|
+
# - FAILED_PRECONDITION - if the step is too large (more than 10Mib)
|
|
989
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
|
1004
990
|
# @param [String] project_id
|
|
1005
|
-
#
|
|
991
|
+
# Required. A Project id.
|
|
1006
992
|
# @param [String] history_id
|
|
1007
|
-
# A
|
|
993
|
+
# Required. A History id.
|
|
1008
994
|
# @param [String] execution_id
|
|
1009
|
-
#
|
|
1010
|
-
# @param [
|
|
1011
|
-
#
|
|
1012
|
-
#
|
|
1013
|
-
#
|
|
995
|
+
# Required. An Execution id.
|
|
996
|
+
# @param [Google::Apis::ToolresultsV1beta3::Step] step_object
|
|
997
|
+
# @param [String] request_id
|
|
998
|
+
# A unique request ID for server to detect duplicated requests.
|
|
999
|
+
# For example, a UUID.
|
|
1000
|
+
# Optional, but strongly recommended.
|
|
1014
1001
|
# @param [String] fields
|
|
1015
1002
|
# Selector specifying which fields to include in a partial response.
|
|
1016
1003
|
# @param [String] quota_user
|
|
1017
|
-
#
|
|
1018
|
-
# characters.
|
|
1019
|
-
# @param [String] user_ip
|
|
1020
|
-
# Deprecated. Please use quotaUser instead.
|
|
1004
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1005
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1021
1006
|
# @param [Google::Apis::RequestOptions] options
|
|
1022
1007
|
# Request-specific options
|
|
1023
1008
|
#
|
|
1024
1009
|
# @yield [result, err] Result & error if block supplied
|
|
1025
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
1010
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
|
|
1026
1011
|
# @yieldparam err [StandardError] error object if request failed
|
|
1027
1012
|
#
|
|
1028
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
1013
|
+
# @return [Google::Apis::ToolresultsV1beta3::Step]
|
|
1029
1014
|
#
|
|
1030
1015
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1031
1016
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1032
1017
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1033
|
-
def
|
|
1034
|
-
command = make_simple_command(:
|
|
1035
|
-
command.
|
|
1036
|
-
command.
|
|
1018
|
+
def create_step(project_id, history_id, execution_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1019
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
|
1020
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
1021
|
+
command.request_object = step_object
|
|
1022
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
1023
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
|
1037
1024
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
1038
1025
|
command.params['historyId'] = history_id unless history_id.nil?
|
|
1039
1026
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
1040
|
-
command.
|
|
1041
|
-
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
|
1027
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
1042
1028
|
command.query['fields'] = fields unless fields.nil?
|
|
1043
1029
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1044
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1045
1030
|
execute_or_queue_command(command, &block)
|
|
1046
1031
|
end
|
|
1047
1032
|
|
|
1048
|
-
#
|
|
1049
|
-
#
|
|
1050
|
-
#
|
|
1051
|
-
#
|
|
1052
|
-
#
|
|
1053
|
-
# containing Step does not exist
|
|
1033
|
+
# Gets a Step.
|
|
1034
|
+
# May return any of the following canonical error codes:
|
|
1035
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
|
1036
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
1037
|
+
# - NOT_FOUND - if the Step does not exist
|
|
1054
1038
|
# @param [String] project_id
|
|
1055
|
-
#
|
|
1039
|
+
# A Project id.
|
|
1040
|
+
# Required.
|
|
1056
1041
|
# @param [String] history_id
|
|
1057
|
-
# A
|
|
1042
|
+
# A History id.
|
|
1043
|
+
# Required.
|
|
1058
1044
|
# @param [String] execution_id
|
|
1059
|
-
# A
|
|
1045
|
+
# A Execution id.
|
|
1046
|
+
# Required.
|
|
1060
1047
|
# @param [String] step_id
|
|
1061
|
-
# A
|
|
1062
|
-
#
|
|
1063
|
-
# Specify one or more PerfMetricType values such as CPU to filter the result
|
|
1048
|
+
# A Step id.
|
|
1049
|
+
# Required.
|
|
1064
1050
|
# @param [String] fields
|
|
1065
1051
|
# Selector specifying which fields to include in a partial response.
|
|
1066
1052
|
# @param [String] quota_user
|
|
1067
|
-
#
|
|
1068
|
-
# characters.
|
|
1069
|
-
# @param [String] user_ip
|
|
1070
|
-
# Deprecated. Please use quotaUser instead.
|
|
1053
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1054
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1071
1055
|
# @param [Google::Apis::RequestOptions] options
|
|
1072
1056
|
# Request-specific options
|
|
1073
1057
|
#
|
|
1074
1058
|
# @yield [result, err] Result & error if block supplied
|
|
1075
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
1059
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
|
|
1076
1060
|
# @yieldparam err [StandardError] error object if request failed
|
|
1077
1061
|
#
|
|
1078
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
1062
|
+
# @return [Google::Apis::ToolresultsV1beta3::Step]
|
|
1079
1063
|
#
|
|
1080
1064
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1081
1065
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1082
1066
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1083
|
-
def
|
|
1084
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}
|
|
1085
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
|
1086
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
|
1067
|
+
def get_step(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1068
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
|
1069
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
1070
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
|
1087
1071
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
1088
1072
|
command.params['historyId'] = history_id unless history_id.nil?
|
|
1089
1073
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
1090
1074
|
command.params['stepId'] = step_id unless step_id.nil?
|
|
1091
|
-
command.query['filter'] = filter unless filter.nil?
|
|
1092
1075
|
command.query['fields'] = fields unless fields.nil?
|
|
1093
1076
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1094
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1095
1077
|
execute_or_queue_command(command, &block)
|
|
1096
1078
|
end
|
|
1097
1079
|
|
|
1098
|
-
#
|
|
1099
|
-
#
|
|
1100
|
-
#
|
|
1101
|
-
# the batch operation may partially succeed - the set of elements successfully
|
|
1102
|
-
# inserted is returned in the response (omits items which already existed in the
|
|
1103
|
-
# database).
|
|
1104
|
-
# May return any of the following canonical error codes: - NOT_FOUND - The
|
|
1105
|
-
# containing PerfSampleSeries does not exist
|
|
1080
|
+
# Retrieves a PerfMetricsSummary.
|
|
1081
|
+
# May return any of the following error code(s):
|
|
1082
|
+
# - NOT_FOUND - The specified PerfMetricsSummary does not exist
|
|
1106
1083
|
# @param [String] project_id
|
|
1107
1084
|
# The cloud project
|
|
1108
1085
|
# @param [String] history_id
|
|
@@ -1111,111 +1088,212 @@ module Google
|
|
|
1111
1088
|
# A tool results execution ID.
|
|
1112
1089
|
# @param [String] step_id
|
|
1113
1090
|
# A tool results step ID.
|
|
1114
|
-
# @param [String] sample_series_id
|
|
1115
|
-
# A sample series id
|
|
1116
|
-
# @param [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest] batch_create_perf_samples_request_object
|
|
1117
1091
|
# @param [String] fields
|
|
1118
1092
|
# Selector specifying which fields to include in a partial response.
|
|
1119
1093
|
# @param [String] quota_user
|
|
1120
|
-
#
|
|
1121
|
-
# characters.
|
|
1122
|
-
# @param [String] user_ip
|
|
1123
|
-
# Deprecated. Please use quotaUser instead.
|
|
1094
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1095
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1124
1096
|
# @param [Google::Apis::RequestOptions] options
|
|
1125
1097
|
# Request-specific options
|
|
1126
1098
|
#
|
|
1127
1099
|
# @yield [result, err] Result & error if block supplied
|
|
1128
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
1100
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] parsed result object
|
|
1129
1101
|
# @yieldparam err [StandardError] error object if request failed
|
|
1130
1102
|
#
|
|
1131
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
1103
|
+
# @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary]
|
|
1132
1104
|
#
|
|
1133
1105
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1134
1106
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1135
1107
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1136
|
-
def
|
|
1137
|
-
command = make_simple_command(:
|
|
1138
|
-
command.
|
|
1139
|
-
command.
|
|
1140
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse::Representation
|
|
1141
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse
|
|
1108
|
+
def get_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1109
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
|
1110
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
|
1111
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
|
|
1142
1112
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
1143
1113
|
command.params['historyId'] = history_id unless history_id.nil?
|
|
1144
1114
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
1145
1115
|
command.params['stepId'] = step_id unless step_id.nil?
|
|
1146
|
-
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
|
1147
1116
|
command.query['fields'] = fields unless fields.nil?
|
|
1148
1117
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1149
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1150
1118
|
execute_or_queue_command(command, &block)
|
|
1151
1119
|
end
|
|
1152
1120
|
|
|
1153
|
-
# Lists
|
|
1154
|
-
#
|
|
1155
|
-
#
|
|
1156
|
-
#
|
|
1157
|
-
#
|
|
1158
|
-
#
|
|
1159
|
-
#
|
|
1160
|
-
#
|
|
1161
|
-
#
|
|
1121
|
+
# Lists Steps for a given Execution.
|
|
1122
|
+
# The steps are sorted by creation_time in descending order. The
|
|
1123
|
+
# step_id key will be used to order the steps with the same
|
|
1124
|
+
# creation_time.
|
|
1125
|
+
# May return any of the following canonical error codes:
|
|
1126
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
|
1127
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
1128
|
+
# - FAILED_PRECONDITION - if an argument in the request happens to be
|
|
1129
|
+
# invalid; e.g. if an attempt is made to list the
|
|
1130
|
+
# children of a nonexistent Step
|
|
1131
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
|
1162
1132
|
# @param [String] project_id
|
|
1163
|
-
#
|
|
1133
|
+
# A Project id.
|
|
1134
|
+
# Required.
|
|
1164
1135
|
# @param [String] history_id
|
|
1165
|
-
# A
|
|
1136
|
+
# A History id.
|
|
1137
|
+
# Required.
|
|
1166
1138
|
# @param [String] execution_id
|
|
1167
|
-
# A
|
|
1168
|
-
#
|
|
1169
|
-
# A tool results step ID.
|
|
1170
|
-
# @param [String] sample_series_id
|
|
1171
|
-
# A sample series id
|
|
1139
|
+
# A Execution id.
|
|
1140
|
+
# Required.
|
|
1172
1141
|
# @param [Fixnum] page_size
|
|
1173
|
-
# The
|
|
1174
|
-
#
|
|
1142
|
+
# The maximum number of Steps to fetch.
|
|
1143
|
+
# Default value: 25. The server will use this default if the field is not set
|
|
1144
|
+
# or has a value of 0.
|
|
1145
|
+
# Optional.
|
|
1175
1146
|
# @param [String] page_token
|
|
1176
|
-
#
|
|
1147
|
+
# A continuation token to resume the query at the next item.
|
|
1148
|
+
# Optional.
|
|
1177
1149
|
# @param [String] fields
|
|
1178
1150
|
# Selector specifying which fields to include in a partial response.
|
|
1179
1151
|
# @param [String] quota_user
|
|
1180
|
-
#
|
|
1181
|
-
# characters.
|
|
1182
|
-
# @param [String] user_ip
|
|
1183
|
-
# Deprecated. Please use quotaUser instead.
|
|
1152
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1153
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1184
1154
|
# @param [Google::Apis::RequestOptions] options
|
|
1185
1155
|
# Request-specific options
|
|
1186
1156
|
#
|
|
1187
1157
|
# @yield [result, err] Result & error if block supplied
|
|
1188
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
|
1158
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListStepsResponse] parsed result object
|
|
1189
1159
|
# @yieldparam err [StandardError] error object if request failed
|
|
1190
1160
|
#
|
|
1191
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
|
1161
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListStepsResponse]
|
|
1192
1162
|
#
|
|
1193
1163
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1194
1164
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1195
1165
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1196
|
-
def
|
|
1197
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps
|
|
1198
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
|
1199
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
|
1166
|
+
def list_steps(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1167
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
|
1168
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepsResponse::Representation
|
|
1169
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListStepsResponse
|
|
1200
1170
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
1201
1171
|
command.params['historyId'] = history_id unless history_id.nil?
|
|
1202
1172
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
1203
|
-
command.params['stepId'] = step_id unless step_id.nil?
|
|
1204
|
-
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
|
1205
1173
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1206
1174
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1207
1175
|
command.query['fields'] = fields unless fields.nil?
|
|
1208
1176
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1209
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1210
1177
|
execute_or_queue_command(command, &block)
|
|
1211
1178
|
end
|
|
1212
1179
|
|
|
1213
|
-
#
|
|
1214
|
-
#
|
|
1180
|
+
# Updates an existing Step with the supplied partial entity.
|
|
1181
|
+
# May return any of the following canonical error codes:
|
|
1182
|
+
# - PERMISSION_DENIED - if the user is not authorized to write project
|
|
1183
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
1184
|
+
# - FAILED_PRECONDITION - if the requested state transition is illegal
|
|
1185
|
+
# (e.g try to upload a duplicate xml file), if the
|
|
1186
|
+
# updated step is too large (more than 10Mib)
|
|
1187
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
|
1188
|
+
# @param [String] project_id
|
|
1189
|
+
# A Project id.
|
|
1190
|
+
# Required.
|
|
1191
|
+
# @param [String] history_id
|
|
1192
|
+
# A History id.
|
|
1193
|
+
# Required.
|
|
1194
|
+
# @param [String] execution_id
|
|
1195
|
+
# A Execution id.
|
|
1196
|
+
# Required.
|
|
1197
|
+
# @param [String] step_id
|
|
1198
|
+
# A Step id.
|
|
1199
|
+
# Required.
|
|
1200
|
+
# @param [Google::Apis::ToolresultsV1beta3::Step] step_object
|
|
1201
|
+
# @param [String] request_id
|
|
1202
|
+
# A unique request ID for server to detect duplicated requests.
|
|
1203
|
+
# For example, a UUID.
|
|
1204
|
+
# Optional, but strongly recommended.
|
|
1205
|
+
# @param [String] fields
|
|
1206
|
+
# Selector specifying which fields to include in a partial response.
|
|
1207
|
+
# @param [String] quota_user
|
|
1208
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1209
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1210
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1211
|
+
# Request-specific options
|
|
1212
|
+
#
|
|
1213
|
+
# @yield [result, err] Result & error if block supplied
|
|
1214
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
|
|
1215
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1216
|
+
#
|
|
1217
|
+
# @return [Google::Apis::ToolresultsV1beta3::Step]
|
|
1218
|
+
#
|
|
1219
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1220
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1221
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1222
|
+
def patch_step(project_id, history_id, execution_id, step_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1223
|
+
command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
|
1224
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
1225
|
+
command.request_object = step_object
|
|
1226
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
1227
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
|
1228
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
1229
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
1230
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
1231
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
1232
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
1233
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1234
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1235
|
+
execute_or_queue_command(command, &block)
|
|
1236
|
+
end
|
|
1237
|
+
|
|
1238
|
+
# Publish xml files to an existing Step.
|
|
1215
1239
|
# May return any of the following canonical error codes:
|
|
1216
|
-
# - PERMISSION_DENIED - if the user is not authorized to write
|
|
1217
|
-
# INVALID_ARGUMENT - if the request is malformed
|
|
1218
|
-
#
|
|
1240
|
+
# - PERMISSION_DENIED - if the user is not authorized to write project
|
|
1241
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
1242
|
+
# - FAILED_PRECONDITION - if the requested state transition is illegal,
|
|
1243
|
+
# e.g try to upload a duplicate xml file or a file too large.
|
|
1244
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
|
1245
|
+
# @param [String] project_id
|
|
1246
|
+
# A Project id.
|
|
1247
|
+
# Required.
|
|
1248
|
+
# @param [String] history_id
|
|
1249
|
+
# A History id.
|
|
1250
|
+
# Required.
|
|
1251
|
+
# @param [String] execution_id
|
|
1252
|
+
# A Execution id.
|
|
1253
|
+
# Required.
|
|
1254
|
+
# @param [String] step_id
|
|
1255
|
+
# A Step id.
|
|
1256
|
+
# Note: This step must include a TestExecutionStep.
|
|
1257
|
+
# Required.
|
|
1258
|
+
# @param [Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest] publish_xunit_xml_files_request_object
|
|
1259
|
+
# @param [String] fields
|
|
1260
|
+
# Selector specifying which fields to include in a partial response.
|
|
1261
|
+
# @param [String] quota_user
|
|
1262
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1263
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1264
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1265
|
+
# Request-specific options
|
|
1266
|
+
#
|
|
1267
|
+
# @yield [result, err] Result & error if block supplied
|
|
1268
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
|
|
1269
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1270
|
+
#
|
|
1271
|
+
# @return [Google::Apis::ToolresultsV1beta3::Step]
|
|
1272
|
+
#
|
|
1273
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1274
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1275
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1276
|
+
def publish_step_xunit_xml_files(project_id, history_id, execution_id, step_id, publish_xunit_xml_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1277
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', options)
|
|
1278
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest::Representation
|
|
1279
|
+
command.request_object = publish_xunit_xml_files_request_object
|
|
1280
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
1281
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
|
1282
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
1283
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
1284
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
1285
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
1286
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1287
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1288
|
+
execute_or_queue_command(command, &block)
|
|
1289
|
+
end
|
|
1290
|
+
|
|
1291
|
+
# Gets details of a Test Case for a Step.
|
|
1292
|
+
# Experimental test cases API. Still in active development.
|
|
1293
|
+
# May return any of the following canonical error codes:
|
|
1294
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
|
1295
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
1296
|
+
# - NOT_FOUND - if the containing Test Case does not exist
|
|
1219
1297
|
# @param [String] project_id
|
|
1220
1298
|
# A Project id.
|
|
1221
1299
|
# Required.
|
|
@@ -1226,7 +1304,8 @@ module Google
|
|
|
1226
1304
|
# A Execution id
|
|
1227
1305
|
# Required.
|
|
1228
1306
|
# @param [String] step_id
|
|
1229
|
-
# A Step id.
|
|
1307
|
+
# A Step id.
|
|
1308
|
+
# Note: This step must include a TestExecutionStep.
|
|
1230
1309
|
# Required.
|
|
1231
1310
|
# @param [String] test_case_id
|
|
1232
1311
|
# A Test Case id.
|
|
@@ -1234,10 +1313,8 @@ module Google
|
|
|
1234
1313
|
# @param [String] fields
|
|
1235
1314
|
# Selector specifying which fields to include in a partial response.
|
|
1236
1315
|
# @param [String] quota_user
|
|
1237
|
-
#
|
|
1238
|
-
# characters.
|
|
1239
|
-
# @param [String] user_ip
|
|
1240
|
-
# Deprecated. Please use quotaUser instead.
|
|
1316
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1317
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1241
1318
|
# @param [Google::Apis::RequestOptions] options
|
|
1242
1319
|
# Request-specific options
|
|
1243
1320
|
#
|
|
@@ -1250,8 +1327,8 @@ module Google
|
|
|
1250
1327
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1251
1328
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1252
1329
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1253
|
-
def
|
|
1254
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}', options)
|
|
1330
|
+
def get_test_case(project_id, history_id, execution_id, step_id, test_case_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1331
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}', options)
|
|
1255
1332
|
command.response_representation = Google::Apis::ToolresultsV1beta3::TestCase::Representation
|
|
1256
1333
|
command.response_class = Google::Apis::ToolresultsV1beta3::TestCase
|
|
1257
1334
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -1261,16 +1338,15 @@ module Google
|
|
|
1261
1338
|
command.params['testCaseId'] = test_case_id unless test_case_id.nil?
|
|
1262
1339
|
command.query['fields'] = fields unless fields.nil?
|
|
1263
1340
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1264
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1265
1341
|
execute_or_queue_command(command, &block)
|
|
1266
1342
|
end
|
|
1267
1343
|
|
|
1268
|
-
# Lists Test Cases attached to a Step.
|
|
1269
|
-
# active development.
|
|
1344
|
+
# Lists Test Cases attached to a Step.
|
|
1345
|
+
# Experimental test cases API. Still in active development.
|
|
1270
1346
|
# May return any of the following canonical error codes:
|
|
1271
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
|
1272
|
-
# INVALID_ARGUMENT - if the request is malformed
|
|
1273
|
-
# Step does not exist
|
|
1347
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
|
1348
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
1349
|
+
# - NOT_FOUND - if the containing Step does not exist
|
|
1274
1350
|
# @param [String] project_id
|
|
1275
1351
|
# A Project id.
|
|
1276
1352
|
# Required.
|
|
@@ -1281,12 +1357,13 @@ module Google
|
|
|
1281
1357
|
# A Execution id
|
|
1282
1358
|
# Required.
|
|
1283
1359
|
# @param [String] step_id
|
|
1284
|
-
# A Step id.
|
|
1360
|
+
# A Step id.
|
|
1361
|
+
# Note: This step must include a TestExecutionStep.
|
|
1285
1362
|
# Required.
|
|
1286
1363
|
# @param [Fixnum] page_size
|
|
1287
1364
|
# The maximum number of TestCases to fetch.
|
|
1288
|
-
# Default value: 100. The server will use this default if the field is not
|
|
1289
|
-
# or has a value of 0.
|
|
1365
|
+
# Default value: 100. The server will use this default if the field is not
|
|
1366
|
+
# set or has a value of 0.
|
|
1290
1367
|
# Optional.
|
|
1291
1368
|
# @param [String] page_token
|
|
1292
1369
|
# A continuation token to resume the query at the next item.
|
|
@@ -1294,10 +1371,8 @@ module Google
|
|
|
1294
1371
|
# @param [String] fields
|
|
1295
1372
|
# Selector specifying which fields to include in a partial response.
|
|
1296
1373
|
# @param [String] quota_user
|
|
1297
|
-
#
|
|
1298
|
-
# characters.
|
|
1299
|
-
# @param [String] user_ip
|
|
1300
|
-
# Deprecated. Please use quotaUser instead.
|
|
1374
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1375
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1301
1376
|
# @param [Google::Apis::RequestOptions] options
|
|
1302
1377
|
# Request-specific options
|
|
1303
1378
|
#
|
|
@@ -1310,8 +1385,8 @@ module Google
|
|
|
1310
1385
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1311
1386
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1312
1387
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1313
|
-
def
|
|
1314
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases', options)
|
|
1388
|
+
def list_test_cases(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1389
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases', options)
|
|
1315
1390
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse::Representation
|
|
1316
1391
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse
|
|
1317
1392
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -1322,15 +1397,16 @@ module Google
|
|
|
1322
1397
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1323
1398
|
command.query['fields'] = fields unless fields.nil?
|
|
1324
1399
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1325
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1326
1400
|
execute_or_queue_command(command, &block)
|
|
1327
1401
|
end
|
|
1328
1402
|
|
|
1329
1403
|
# Lists thumbnails of images attached to a step.
|
|
1330
|
-
# May return any of the following canonical error codes:
|
|
1331
|
-
# if the user is not authorized to read from the
|
|
1332
|
-
#
|
|
1333
|
-
#
|
|
1404
|
+
# May return any of the following canonical error codes:
|
|
1405
|
+
# - PERMISSION_DENIED - if the user is not authorized to read from the
|
|
1406
|
+
# project, or from any of the images
|
|
1407
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
|
1408
|
+
# - NOT_FOUND - if the step does not exist, or if any of the images
|
|
1409
|
+
# do not exist
|
|
1334
1410
|
# @param [String] project_id
|
|
1335
1411
|
# A Project id.
|
|
1336
1412
|
# Required.
|
|
@@ -1345,8 +1421,8 @@ module Google
|
|
|
1345
1421
|
# Required.
|
|
1346
1422
|
# @param [Fixnum] page_size
|
|
1347
1423
|
# The maximum number of thumbnails to fetch.
|
|
1348
|
-
# Default value: 50. The server will use this default if the field is not set
|
|
1349
|
-
# has a value of 0.
|
|
1424
|
+
# Default value: 50. The server will use this default if the field is not set
|
|
1425
|
+
# or has a value of 0.
|
|
1350
1426
|
# Optional.
|
|
1351
1427
|
# @param [String] page_token
|
|
1352
1428
|
# A continuation token to resume the query at the next item.
|
|
@@ -1354,10 +1430,8 @@ module Google
|
|
|
1354
1430
|
# @param [String] fields
|
|
1355
1431
|
# Selector specifying which fields to include in a partial response.
|
|
1356
1432
|
# @param [String] quota_user
|
|
1357
|
-
#
|
|
1358
|
-
# characters.
|
|
1359
|
-
# @param [String] user_ip
|
|
1360
|
-
# Deprecated. Please use quotaUser instead.
|
|
1433
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1434
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1361
1435
|
# @param [Google::Apis::RequestOptions] options
|
|
1362
1436
|
# Request-specific options
|
|
1363
1437
|
#
|
|
@@ -1370,8 +1444,8 @@ module Google
|
|
|
1370
1444
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1371
1445
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1372
1446
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1373
|
-
def
|
|
1374
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails', options)
|
|
1447
|
+
def list_thumbnails(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1448
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails', options)
|
|
1375
1449
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse::Representation
|
|
1376
1450
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse
|
|
1377
1451
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -1382,7 +1456,6 @@ module Google
|
|
|
1382
1456
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1383
1457
|
command.query['fields'] = fields unless fields.nil?
|
|
1384
1458
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1385
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1386
1459
|
execute_or_queue_command(command, &block)
|
|
1387
1460
|
end
|
|
1388
1461
|
|
|
@@ -1391,7 +1464,6 @@ module Google
|
|
|
1391
1464
|
def apply_command_defaults(command)
|
|
1392
1465
|
command.query['key'] = key unless key.nil?
|
|
1393
1466
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1394
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1395
1467
|
end
|
|
1396
1468
|
end
|
|
1397
1469
|
end
|