google-api-client 0.13.2 → 0.13.3
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 +4 -4
- data/CHANGELOG.md +149 -0
- data/bin/generate-api +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
- data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
- data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
- data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
- data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
- data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
- data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
- data/generated/google/apis/adexperiencereport_v1.rb +35 -0
- data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
- data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
- data/generated/google/apis/admin_directory_v1/service.rb +39 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +37 -0
- data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
- data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
- data/generated/google/apis/analytics_v2_4/service.rb +345 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +15 -2
- data/generated/google/apis/analytics_v3/representations.rb +3 -0
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
- data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
- data/generated/google/apis/androidmanagement_v1.rb +35 -0
- data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
- data/generated/google/apis/androidpublisher_v1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
- data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
- data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
- data/generated/google/apis/appengine_v1/representations.rb +351 -335
- data/generated/google/apis/appengine_v1/service.rb +255 -239
- data/generated/google/apis/appengine_v1alpha.rb +41 -0
- data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
- data/generated/google/apis/appengine_v1beta.rb +41 -0
- data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
- data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
- data/generated/google/apis/appengine_v1beta4.rb +41 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
- data/generated/google/apis/appengine_v1beta5.rb +41 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +106 -18
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
- data/generated/google/apis/blogger_v2.rb +34 -0
- data/generated/google/apis/blogger_v2/classes.rb +947 -0
- data/generated/google/apis/blogger_v2/representations.rb +465 -0
- data/generated/google/apis/blogger_v2/service.rb +424 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +4 -207
- data/generated/google/apis/calendar_v3/representations.rb +0 -97
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/classroom_v1.rb +27 -27
- data/generated/google/apis/classroom_v1/classes.rb +1037 -926
- data/generated/google/apis/classroom_v1/representations.rb +294 -244
- data/generated/google/apis/classroom_v1/service.rb +1114 -1109
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
- data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
- data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
- data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
- data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
- data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
- data/generated/google/apis/cloudfunctions_v1.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
- data/generated/google/apis/cloudkms_v1/service.rb +320 -320
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
- data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
- data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
- data/generated/google/apis/cloudtrace_v2.rb +43 -0
- data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
- data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
- data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
- data/generated/google/apis/compute_alpha.rb +49 -0
- data/generated/google/apis/compute_alpha/classes.rb +23796 -0
- data/generated/google/apis/compute_alpha/representations.rb +9391 -0
- data/generated/google/apis/compute_alpha/service.rb +24188 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1597 -235
- data/generated/google/apis/compute_beta/representations.rb +477 -0
- data/generated/google/apis/compute_beta/service.rb +2875 -1677
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +319 -197
- data/generated/google/apis/compute_v1/representations.rb +51 -0
- data/generated/google/apis/compute_v1/service.rb +2057 -172
- data/generated/google/apis/consumersurveys_v2.rb +40 -0
- data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
- data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
- data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1072 -936
- data/generated/google/apis/container_v1/representations.rb +266 -202
- data/generated/google/apis/container_v1/service.rb +243 -243
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
- data/generated/google/apis/container_v1beta1/representations.rb +662 -0
- data/generated/google/apis/container_v1beta1/service.rb +1875 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +72 -3
- data/generated/google/apis/content_v2/representations.rb +23 -0
- data/generated/google/apis/content_v2/service.rb +23 -18
- data/generated/google/apis/content_v2sandbox.rb +35 -0
- data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
- data/generated/google/apis/content_v2sandbox/service.rb +709 -0
- data/generated/google/apis/dataflow_v1b3.rb +5 -5
- data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
- data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
- data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
- data/generated/google/apis/dataproc_v1/representations.rb +227 -227
- data/generated/google/apis/dataproc_v1/service.rb +254 -254
- data/generated/google/apis/dataproc_v1beta2.rb +34 -0
- data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +1311 -773
- data/generated/google/apis/datastore_v1/representations.rb +351 -148
- data/generated/google/apis/datastore_v1/service.rb +206 -55
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
- data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
- data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
- data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
- data/generated/google/apis/dlp_v2beta1.rb +36 -0
- data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
- data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
- data/generated/google/apis/firebaserules_v1/service.rb +113 -113
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +37 -0
- data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
- data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
- data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +8 -8
- data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
- data/generated/google/apis/genomics_v1/representations.rb +482 -482
- data/generated/google/apis/genomics_v1/service.rb +966 -966
- data/generated/google/apis/genomics_v1alpha2.rb +40 -0
- data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +664 -395
- data/generated/google/apis/iam_v1/representations.rb +194 -81
- data/generated/google/apis/iam_v1/service.rb +657 -92
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +8 -8
- data/generated/google/apis/language_v1.rb +4 -1
- data/generated/google/apis/language_v1/classes.rb +393 -393
- data/generated/google/apis/language_v1/representations.rb +95 -95
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +4 -1
- data/generated/google/apis/language_v1beta1/classes.rb +457 -457
- data/generated/google/apis/language_v1beta1/representations.rb +114 -114
- data/generated/google/apis/language_v1beta1/service.rb +48 -48
- data/generated/google/apis/language_v1beta2.rb +39 -0
- data/generated/google/apis/language_v1beta2/classes.rb +824 -0
- data/generated/google/apis/language_v1beta2/representations.rb +373 -0
- data/generated/google/apis/language_v1beta2/service.rb +217 -0
- data/generated/google/apis/logging_v2.rb +9 -9
- data/generated/google/apis/logging_v2/classes.rb +840 -834
- data/generated/google/apis/logging_v2/representations.rb +168 -167
- data/generated/google/apis/logging_v2/service.rb +667 -463
- data/generated/google/apis/logging_v2beta1.rb +9 -9
- data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
- data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
- data/generated/google/apis/logging_v2beta1/service.rb +253 -255
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
- data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
- data/generated/google/apis/manufacturers_v1/service.rb +8 -7
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1487 -1676
- data/generated/google/apis/ml_v1/representations.rb +229 -299
- data/generated/google/apis/ml_v1/service.rb +359 -253
- data/generated/google/apis/ml_v1beta1.rb +34 -0
- data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
- data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
- data/generated/google/apis/ml_v1beta1/service.rb +975 -0
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +834 -834
- data/generated/google/apis/monitoring_v3/representations.rb +168 -168
- data/generated/google/apis/monitoring_v3/service.rb +330 -330
- data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
- data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
- data/generated/google/apis/mybusiness_v3/service.rb +241 -241
- data/generated/google/apis/oauth2_v1.rb +43 -0
- data/generated/google/apis/oauth2_v1/classes.rb +321 -0
- data/generated/google/apis/oauth2_v1/representations.rb +135 -0
- data/generated/google/apis/oauth2_v1/service.rb +337 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +37 -0
- data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
- data/generated/google/apis/pagespeedonline_v1.rb +32 -0
- data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
- data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
- data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1512 -1512
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +596 -596
- data/generated/google/apis/people_v1.rb +15 -15
- data/generated/google/apis/people_v1/classes.rb +1384 -1383
- data/generated/google/apis/people_v1/representations.rb +311 -311
- data/generated/google/apis/people_v1/service.rb +208 -202
- data/generated/google/apis/playcustomapp_v1.rb +34 -0
- data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
- data/generated/google/apis/playmoviespartner_v1.rb +34 -0
- data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
- data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
- data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/prediction_v1_2.rb +44 -0
- data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
- data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
- data/generated/google/apis/prediction_v1_2/service.rb +287 -0
- data/generated/google/apis/prediction_v1_3.rb +44 -0
- data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
- data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
- data/generated/google/apis/prediction_v1_3/service.rb +284 -0
- data/generated/google/apis/prediction_v1_4.rb +44 -0
- data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
- data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
- data/generated/google/apis/prediction_v1_4/service.rb +284 -0
- data/generated/google/apis/prediction_v1_5.rb +44 -0
- data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
- data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
- data/generated/google/apis/prediction_v1_5/service.rb +357 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +352 -352
- data/generated/google/apis/pubsub_v1/representations.rb +77 -77
- data/generated/google/apis/pubsub_v1/service.rb +346 -346
- data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
- data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
- data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
- data/generated/google/apis/replicapool_v1beta1.rb +50 -0
- data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
- data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
- data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
- data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
- data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
- data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
- data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
- data/generated/google/apis/safebrowsing_v4.rb +32 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +99 -157
- data/generated/google/apis/script_v1/representations.rb +17 -47
- data/generated/google/apis/script_v1/service.rb +12 -12
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
- data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
- data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
- data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
- data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
- data/generated/google/apis/serviceuser_v1.rb +5 -5
- data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
- data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
- data/generated/google/apis/serviceuser_v1/service.rb +43 -43
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
- data/generated/google/apis/sheets_v4/representations.rb +931 -930
- data/generated/google/apis/sheets_v4/service.rb +244 -244
- data/generated/google/apis/slides_v1.rb +10 -10
- data/generated/google/apis/slides_v1/classes.rb +2915 -2915
- data/generated/google/apis/slides_v1/representations.rb +698 -698
- data/generated/google/apis/slides_v1/service.rb +35 -35
- data/generated/google/apis/sourcerepo_v1.rb +3 -3
- data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
- data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
- data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
- data/generated/google/apis/spanner_v1.rb +4 -4
- data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
- data/generated/google/apis/spanner_v1/representations.rb +338 -323
- data/generated/google/apis/spanner_v1/service.rb +689 -689
- data/generated/google/apis/spectrum_v1explorer.rb +31 -0
- data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
- data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
- data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
- data/generated/google/apis/speech_v1.rb +34 -0
- data/generated/google/apis/speech_v1/classes.rb +572 -0
- data/generated/google/apis/speech_v1/representations.rb +236 -0
- data/generated/google/apis/speech_v1/service.rb +277 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
- data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
- data/generated/google/apis/speech_v1beta1/service.rb +46 -46
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -6
- data/generated/google/apis/storage_v1/service.rb +51 -29
- data/generated/google/apis/storage_v1beta1.rb +40 -0
- data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
- data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
- data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
- data/generated/google/apis/storage_v1beta2.rb +40 -0
- data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
- data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
- data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
- data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
- data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
- data/generated/google/apis/streetviewpublish_v1.rb +36 -0
- data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
- data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
- data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
- data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
- data/generated/google/apis/translate_v2/classes.rb +111 -111
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +94 -94
- data/generated/google/apis/vault_v1.rb +31 -0
- data/generated/google/apis/vault_v1/classes.rb +554 -0
- data/generated/google/apis/vault_v1/representations.rb +318 -0
- data/generated/google/apis/vault_v1/service.rb +677 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
- data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +4 -4
- data/generated/google/apis/vision_v1/classes.rb +1176 -1178
- data/generated/google/apis/vision_v1/representations.rb +235 -235
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
- data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
- data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
- data/lib/google/apis/version.rb +1 -1
- metadata +246 -2
|
@@ -0,0 +1,1288 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'google/apis/core/base_service'
|
|
16
|
+
require 'google/apis/core/json_representation'
|
|
17
|
+
require 'google/apis/core/hashable'
|
|
18
|
+
require 'google/apis/errors'
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Apis
|
|
22
|
+
module ToolresultsV1beta3firstparty
|
|
23
|
+
# Cloud Tool Results firstparty API
|
|
24
|
+
#
|
|
25
|
+
# Reads and publishes results from Firebase Test Lab.
|
|
26
|
+
#
|
|
27
|
+
# @example
|
|
28
|
+
# require 'google/apis/toolresults_v1beta3firstparty'
|
|
29
|
+
#
|
|
30
|
+
# Toolresults = Google::Apis::ToolresultsV1beta3firstparty # Alias the module
|
|
31
|
+
# service = Toolresults::ToolResultsService.new
|
|
32
|
+
#
|
|
33
|
+
# @see https://firebase.google.com/docs/test-lab/
|
|
34
|
+
class ToolResultsService < Google::Apis::Core::BaseService
|
|
35
|
+
# @return [String]
|
|
36
|
+
# API key. Your API key identifies your project and provides you with API access,
|
|
37
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
38
|
+
attr_accessor :key
|
|
39
|
+
|
|
40
|
+
# @return [String]
|
|
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
|
+
# Overrides userIp if both are provided.
|
|
44
|
+
attr_accessor :quota_user
|
|
45
|
+
|
|
46
|
+
# @return [String]
|
|
47
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
48
|
+
# enforce per-user limits.
|
|
49
|
+
attr_accessor :user_ip
|
|
50
|
+
|
|
51
|
+
def initialize
|
|
52
|
+
super('https://www.googleapis.com/', 'toolresults/v1beta3firstparty/projects/')
|
|
53
|
+
@batch_path = 'batch'
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Gets the Tool Results settings for a project.
|
|
57
|
+
# May return any of the following canonical error codes:
|
|
58
|
+
# - PERMISSION_DENIED - if the user is not authorized to read from project
|
|
59
|
+
# @param [String] project_id
|
|
60
|
+
# A Project id.
|
|
61
|
+
# Required.
|
|
62
|
+
# @param [String] fields
|
|
63
|
+
# Selector specifying which fields to include in a partial response.
|
|
64
|
+
# @param [String] quota_user
|
|
65
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
66
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
67
|
+
# Overrides userIp if both are provided.
|
|
68
|
+
# @param [String] user_ip
|
|
69
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
70
|
+
# enforce per-user limits.
|
|
71
|
+
# @param [Google::Apis::RequestOptions] options
|
|
72
|
+
# Request-specific options
|
|
73
|
+
#
|
|
74
|
+
# @yield [result, err] Result & error if block supplied
|
|
75
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings] parsed result object
|
|
76
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
77
|
+
#
|
|
78
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings]
|
|
79
|
+
#
|
|
80
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
81
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
82
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
83
|
+
def get_project_settings(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
84
|
+
command = make_simple_command(:get, '{projectId}/settings', options)
|
|
85
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings::Representation
|
|
86
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings
|
|
87
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
88
|
+
command.query['fields'] = fields unless fields.nil?
|
|
89
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
90
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
91
|
+
execute_or_queue_command(command, &block)
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Creates resources for settings which have not yet been set.
|
|
95
|
+
# Currently, this creates a single resource: a Google Cloud Storage bucket, to
|
|
96
|
+
# be used as the default bucket for this project. The bucket is created in an
|
|
97
|
+
# FTL-own storage project. Except for in rare cases, calling this method in
|
|
98
|
+
# parallel from multiple clients will only create a single bucket. In order to
|
|
99
|
+
# avoid unnecessary storage charges, the bucket is configured to automatically
|
|
100
|
+
# delete objects older than 90 days.
|
|
101
|
+
# The bucket is created with the following permissions: - Owner access for
|
|
102
|
+
# owners of central storage project (FTL-owned) - Writer access for owners/
|
|
103
|
+
# editors of customer project - Reader access for viewers of customer project
|
|
104
|
+
# The default ACL on objects created in the bucket is: - Owner access for owners
|
|
105
|
+
# of central storage project - Reader access for owners/editors/viewers of
|
|
106
|
+
# customer project See Google Cloud Storage documentation for more details.
|
|
107
|
+
# If there is already a default bucket set and the project can access the bucket,
|
|
108
|
+
# this call does nothing. However, if the project doesn't have the permission
|
|
109
|
+
# to access the bucket or the bucket is deleted, a new bucket will be created.
|
|
110
|
+
# May return any canonical error codes, including the following:
|
|
111
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project - Any
|
|
112
|
+
# error code raised by Google Cloud Storage
|
|
113
|
+
# @param [String] project_id
|
|
114
|
+
# A Project id.
|
|
115
|
+
# Required.
|
|
116
|
+
# @param [String] fields
|
|
117
|
+
# Selector specifying which fields to include in a partial response.
|
|
118
|
+
# @param [String] quota_user
|
|
119
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
120
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
121
|
+
# Overrides userIp if both are provided.
|
|
122
|
+
# @param [String] user_ip
|
|
123
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
124
|
+
# enforce per-user limits.
|
|
125
|
+
# @param [Google::Apis::RequestOptions] options
|
|
126
|
+
# Request-specific options
|
|
127
|
+
#
|
|
128
|
+
# @yield [result, err] Result & error if block supplied
|
|
129
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings] parsed result object
|
|
130
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
131
|
+
#
|
|
132
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings]
|
|
133
|
+
#
|
|
134
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
135
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
136
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
137
|
+
def initialize_project_settings(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
138
|
+
command = make_simple_command(:post, '{projectId}:initializeSettings', options)
|
|
139
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings::Representation
|
|
140
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings
|
|
141
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
142
|
+
command.query['fields'] = fields unless fields.nil?
|
|
143
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
144
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
145
|
+
execute_or_queue_command(command, &block)
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# Creates a History.
|
|
149
|
+
# The returned History will have the id set.
|
|
150
|
+
# May return any of the following canonical error codes:
|
|
151
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project -
|
|
152
|
+
# INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing
|
|
153
|
+
# project does not exist
|
|
154
|
+
# @param [String] project_id
|
|
155
|
+
# A Project id.
|
|
156
|
+
# Required.
|
|
157
|
+
# @param [Google::Apis::ToolresultsV1beta3firstparty::History] history_object
|
|
158
|
+
# @param [String] request_id
|
|
159
|
+
# A unique request ID for server to detect duplicated requests. For example, a
|
|
160
|
+
# UUID.
|
|
161
|
+
# Optional, but strongly recommended.
|
|
162
|
+
# @param [String] fields
|
|
163
|
+
# Selector specifying which fields to include in a partial response.
|
|
164
|
+
# @param [String] quota_user
|
|
165
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
166
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
167
|
+
# Overrides userIp if both are provided.
|
|
168
|
+
# @param [String] user_ip
|
|
169
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
170
|
+
# enforce per-user limits.
|
|
171
|
+
# @param [Google::Apis::RequestOptions] options
|
|
172
|
+
# Request-specific options
|
|
173
|
+
#
|
|
174
|
+
# @yield [result, err] Result & error if block supplied
|
|
175
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::History] parsed result object
|
|
176
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
177
|
+
#
|
|
178
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::History]
|
|
179
|
+
#
|
|
180
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
181
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
182
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
183
|
+
def create_project_history(project_id, history_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
184
|
+
command = make_simple_command(:post, '{projectId}/histories', options)
|
|
185
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::History::Representation
|
|
186
|
+
command.request_object = history_object
|
|
187
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::History::Representation
|
|
188
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::History
|
|
189
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
190
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
191
|
+
command.query['fields'] = fields unless fields.nil?
|
|
192
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
193
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
194
|
+
execute_or_queue_command(command, &block)
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# Gets a History.
|
|
198
|
+
# May return any of the following canonical error codes:
|
|
199
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project -
|
|
200
|
+
# INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History
|
|
201
|
+
# does not exist
|
|
202
|
+
# @param [String] project_id
|
|
203
|
+
# A Project id.
|
|
204
|
+
# Required.
|
|
205
|
+
# @param [String] history_id
|
|
206
|
+
# A History id.
|
|
207
|
+
# Required.
|
|
208
|
+
# @param [String] fields
|
|
209
|
+
# Selector specifying which fields to include in a partial response.
|
|
210
|
+
# @param [String] quota_user
|
|
211
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
212
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
213
|
+
# Overrides userIp if both are provided.
|
|
214
|
+
# @param [String] user_ip
|
|
215
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
216
|
+
# enforce per-user limits.
|
|
217
|
+
# @param [Google::Apis::RequestOptions] options
|
|
218
|
+
# Request-specific options
|
|
219
|
+
#
|
|
220
|
+
# @yield [result, err] Result & error if block supplied
|
|
221
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::History] parsed result object
|
|
222
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
223
|
+
#
|
|
224
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::History]
|
|
225
|
+
#
|
|
226
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
227
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
228
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
229
|
+
def get_project_history(project_id, history_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
230
|
+
command = make_simple_command(:get, '{projectId}/histories/{historyId}', options)
|
|
231
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::History::Representation
|
|
232
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::History
|
|
233
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
234
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
235
|
+
command.query['fields'] = fields unless fields.nil?
|
|
236
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
237
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
238
|
+
execute_or_queue_command(command, &block)
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
# Lists Histories for a given Project.
|
|
242
|
+
# The histories are sorted by modification time in descending order. The
|
|
243
|
+
# history_id key will be used to order the history with the same modification
|
|
244
|
+
# time.
|
|
245
|
+
# May return any of the following canonical error codes:
|
|
246
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project -
|
|
247
|
+
# INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History
|
|
248
|
+
# does not exist
|
|
249
|
+
# @param [String] project_id
|
|
250
|
+
# A Project id.
|
|
251
|
+
# Required.
|
|
252
|
+
# @param [String] filter_by_name
|
|
253
|
+
# If set, only return histories with the given name.
|
|
254
|
+
# Optional.
|
|
255
|
+
# @param [Fixnum] page_size
|
|
256
|
+
# The maximum number of Histories to fetch.
|
|
257
|
+
# Default value: 20. The server will use this default if the field is not set or
|
|
258
|
+
# has a value of 0. Any value greater than 100 will be treated as 100.
|
|
259
|
+
# Optional.
|
|
260
|
+
# @param [String] page_token
|
|
261
|
+
# A continuation token to resume the query at the next item.
|
|
262
|
+
# Optional.
|
|
263
|
+
# @param [String] fields
|
|
264
|
+
# Selector specifying which fields to include in a partial response.
|
|
265
|
+
# @param [String] quota_user
|
|
266
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
267
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
268
|
+
# Overrides userIp if both are provided.
|
|
269
|
+
# @param [String] user_ip
|
|
270
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
271
|
+
# enforce per-user limits.
|
|
272
|
+
# @param [Google::Apis::RequestOptions] options
|
|
273
|
+
# Request-specific options
|
|
274
|
+
#
|
|
275
|
+
# @yield [result, err] Result & error if block supplied
|
|
276
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListHistoriesResponse] parsed result object
|
|
277
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
278
|
+
#
|
|
279
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::ListHistoriesResponse]
|
|
280
|
+
#
|
|
281
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
282
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
283
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
284
|
+
def list_project_histories(project_id, filter_by_name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
285
|
+
command = make_simple_command(:get, '{projectId}/histories', options)
|
|
286
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListHistoriesResponse::Representation
|
|
287
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListHistoriesResponse
|
|
288
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
289
|
+
command.query['filterByName'] = filter_by_name unless filter_by_name.nil?
|
|
290
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
291
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
292
|
+
command.query['fields'] = fields unless fields.nil?
|
|
293
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
294
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
295
|
+
execute_or_queue_command(command, &block)
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
# Creates an Execution.
|
|
299
|
+
# The returned Execution will have the id set.
|
|
300
|
+
# May return any of the following canonical error codes:
|
|
301
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project -
|
|
302
|
+
# INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing
|
|
303
|
+
# History does not exist
|
|
304
|
+
# @param [String] project_id
|
|
305
|
+
# A Project id.
|
|
306
|
+
# Required.
|
|
307
|
+
# @param [String] history_id
|
|
308
|
+
# A History id.
|
|
309
|
+
# Required.
|
|
310
|
+
# @param [Google::Apis::ToolresultsV1beta3firstparty::Execution] execution_object
|
|
311
|
+
# @param [String] request_id
|
|
312
|
+
# A unique request ID for server to detect duplicated requests. For example, a
|
|
313
|
+
# UUID.
|
|
314
|
+
# Optional, but strongly recommended.
|
|
315
|
+
# @param [String] fields
|
|
316
|
+
# Selector specifying which fields to include in a partial response.
|
|
317
|
+
# @param [String] quota_user
|
|
318
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
319
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
320
|
+
# Overrides userIp if both are provided.
|
|
321
|
+
# @param [String] user_ip
|
|
322
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
323
|
+
# enforce per-user limits.
|
|
324
|
+
# @param [Google::Apis::RequestOptions] options
|
|
325
|
+
# Request-specific options
|
|
326
|
+
#
|
|
327
|
+
# @yield [result, err] Result & error if block supplied
|
|
328
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Execution] parsed result object
|
|
329
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
330
|
+
#
|
|
331
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::Execution]
|
|
332
|
+
#
|
|
333
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
334
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
335
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
336
|
+
def create_project_history_execution(project_id, history_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
337
|
+
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions', options)
|
|
338
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::Execution::Representation
|
|
339
|
+
command.request_object = execution_object
|
|
340
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Execution::Representation
|
|
341
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Execution
|
|
342
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
343
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
344
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
345
|
+
command.query['fields'] = fields unless fields.nil?
|
|
346
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
347
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
348
|
+
execute_or_queue_command(command, &block)
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
# Gets an Execution.
|
|
352
|
+
# May return any of the following canonical error codes:
|
|
353
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project -
|
|
354
|
+
# INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Execution
|
|
355
|
+
# does not exist
|
|
356
|
+
# @param [String] project_id
|
|
357
|
+
# A Project id.
|
|
358
|
+
# Required.
|
|
359
|
+
# @param [String] history_id
|
|
360
|
+
# A History id.
|
|
361
|
+
# Required.
|
|
362
|
+
# @param [String] execution_id
|
|
363
|
+
# An Execution id.
|
|
364
|
+
# Required.
|
|
365
|
+
# @param [String] fields
|
|
366
|
+
# Selector specifying which fields to include in a partial response.
|
|
367
|
+
# @param [String] quota_user
|
|
368
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
369
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
370
|
+
# Overrides userIp if both are provided.
|
|
371
|
+
# @param [String] user_ip
|
|
372
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
373
|
+
# enforce per-user limits.
|
|
374
|
+
# @param [Google::Apis::RequestOptions] options
|
|
375
|
+
# Request-specific options
|
|
376
|
+
#
|
|
377
|
+
# @yield [result, err] Result & error if block supplied
|
|
378
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Execution] parsed result object
|
|
379
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
380
|
+
#
|
|
381
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::Execution]
|
|
382
|
+
#
|
|
383
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
384
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
385
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
386
|
+
def get_project_history_execution(project_id, history_id, execution_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
387
|
+
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}', options)
|
|
388
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Execution::Representation
|
|
389
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Execution
|
|
390
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
391
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
392
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
393
|
+
command.query['fields'] = fields unless fields.nil?
|
|
394
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
395
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
396
|
+
execute_or_queue_command(command, &block)
|
|
397
|
+
end
|
|
398
|
+
|
|
399
|
+
# Lists Histories for a given Project.
|
|
400
|
+
# The executions are sorted by creation_time in descending order. The
|
|
401
|
+
# execution_id key will be used to order the executions with the same
|
|
402
|
+
# creation_time.
|
|
403
|
+
# May return any of the following canonical error codes:
|
|
404
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project -
|
|
405
|
+
# INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing
|
|
406
|
+
# History does not exist
|
|
407
|
+
# @param [String] project_id
|
|
408
|
+
# A Project id.
|
|
409
|
+
# Required.
|
|
410
|
+
# @param [String] history_id
|
|
411
|
+
# A History id.
|
|
412
|
+
# Required.
|
|
413
|
+
# @param [Fixnum] page_size
|
|
414
|
+
# The maximum number of Executions to fetch.
|
|
415
|
+
# Default value: 25. The server will use this default if the field is not set or
|
|
416
|
+
# has a value of 0.
|
|
417
|
+
# Optional.
|
|
418
|
+
# @param [String] page_token
|
|
419
|
+
# A continuation token to resume the query at the next item.
|
|
420
|
+
# Optional.
|
|
421
|
+
# @param [String] fields
|
|
422
|
+
# Selector specifying which fields to include in a partial response.
|
|
423
|
+
# @param [String] quota_user
|
|
424
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
425
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
426
|
+
# Overrides userIp if both are provided.
|
|
427
|
+
# @param [String] user_ip
|
|
428
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
429
|
+
# enforce per-user limits.
|
|
430
|
+
# @param [Google::Apis::RequestOptions] options
|
|
431
|
+
# Request-specific options
|
|
432
|
+
#
|
|
433
|
+
# @yield [result, err] Result & error if block supplied
|
|
434
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListExecutionsResponse] parsed result object
|
|
435
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
436
|
+
#
|
|
437
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::ListExecutionsResponse]
|
|
438
|
+
#
|
|
439
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
440
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
441
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
442
|
+
def list_project_history_executions(project_id, history_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
443
|
+
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions', options)
|
|
444
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListExecutionsResponse::Representation
|
|
445
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListExecutionsResponse
|
|
446
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
447
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
448
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
449
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
450
|
+
command.query['fields'] = fields unless fields.nil?
|
|
451
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
452
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
453
|
+
execute_or_queue_command(command, &block)
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
# Updates an existing Execution with the supplied partial entity.
|
|
457
|
+
# May return any of the following canonical error codes:
|
|
458
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project -
|
|
459
|
+
# INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
|
|
460
|
+
# requested state transition is illegal - NOT_FOUND - if the containing History
|
|
461
|
+
# does not exist
|
|
462
|
+
# @param [String] project_id
|
|
463
|
+
# A Project id. Required.
|
|
464
|
+
# @param [String] history_id
|
|
465
|
+
# Required.
|
|
466
|
+
# @param [String] execution_id
|
|
467
|
+
# Required.
|
|
468
|
+
# @param [Google::Apis::ToolresultsV1beta3firstparty::Execution] execution_object
|
|
469
|
+
# @param [String] request_id
|
|
470
|
+
# A unique request ID for server to detect duplicated requests. For example, a
|
|
471
|
+
# UUID.
|
|
472
|
+
# Optional, but strongly recommended.
|
|
473
|
+
# @param [String] fields
|
|
474
|
+
# Selector specifying which fields to include in a partial response.
|
|
475
|
+
# @param [String] quota_user
|
|
476
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
477
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
478
|
+
# Overrides userIp if both are provided.
|
|
479
|
+
# @param [String] user_ip
|
|
480
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
481
|
+
# enforce per-user limits.
|
|
482
|
+
# @param [Google::Apis::RequestOptions] options
|
|
483
|
+
# Request-specific options
|
|
484
|
+
#
|
|
485
|
+
# @yield [result, err] Result & error if block supplied
|
|
486
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Execution] parsed result object
|
|
487
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
488
|
+
#
|
|
489
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::Execution]
|
|
490
|
+
#
|
|
491
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
492
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
493
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
494
|
+
def patch_project_history_execution(project_id, history_id, execution_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
495
|
+
command = make_simple_command(:patch, '{projectId}/histories/{historyId}/executions/{executionId}', options)
|
|
496
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::Execution::Representation
|
|
497
|
+
command.request_object = execution_object
|
|
498
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Execution::Representation
|
|
499
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Execution
|
|
500
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
501
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
502
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
503
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
504
|
+
command.query['fields'] = fields unless fields.nil?
|
|
505
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
506
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
507
|
+
execute_or_queue_command(command, &block)
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
# Lists Screenshot Clusters
|
|
511
|
+
# Returns the list of screenshot clusters corresponding to an execution.
|
|
512
|
+
# Screenshot clusters are created after the execution is finished. Clusters are
|
|
513
|
+
# created from a set of screenshots. Between any two screenshots, a matching
|
|
514
|
+
# score is calculated based off their metadata that determines how similar they
|
|
515
|
+
# are. Screenshots are placed in the cluster that has screens which have the
|
|
516
|
+
# highest matching scores.
|
|
517
|
+
# @param [String] project_id
|
|
518
|
+
# A Project id.
|
|
519
|
+
# Required.
|
|
520
|
+
# @param [String] history_id
|
|
521
|
+
# A History id.
|
|
522
|
+
# Required.
|
|
523
|
+
# @param [String] execution_id
|
|
524
|
+
# An Execution id.
|
|
525
|
+
# Required.
|
|
526
|
+
# @param [String] fields
|
|
527
|
+
# Selector specifying which fields to include in a partial response.
|
|
528
|
+
# @param [String] quota_user
|
|
529
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
530
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
531
|
+
# Overrides userIp if both are provided.
|
|
532
|
+
# @param [String] user_ip
|
|
533
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
534
|
+
# enforce per-user limits.
|
|
535
|
+
# @param [Google::Apis::RequestOptions] options
|
|
536
|
+
# Request-specific options
|
|
537
|
+
#
|
|
538
|
+
# @yield [result, err] Result & error if block supplied
|
|
539
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListScreenshotClustersResponse] parsed result object
|
|
540
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
541
|
+
#
|
|
542
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::ListScreenshotClustersResponse]
|
|
543
|
+
#
|
|
544
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
545
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
546
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
547
|
+
def list_project_history_execution_clusters(project_id, history_id, execution_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
548
|
+
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/clusters', options)
|
|
549
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListScreenshotClustersResponse::Representation
|
|
550
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListScreenshotClustersResponse
|
|
551
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
552
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
553
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
554
|
+
command.query['fields'] = fields unless fields.nil?
|
|
555
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
556
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
557
|
+
execute_or_queue_command(command, &block)
|
|
558
|
+
end
|
|
559
|
+
|
|
560
|
+
# Creates a Step.
|
|
561
|
+
# The returned Step will have the id set.
|
|
562
|
+
# May return any of the following canonical error codes:
|
|
563
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project -
|
|
564
|
+
# INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
|
|
565
|
+
# step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution
|
|
566
|
+
# does not exist
|
|
567
|
+
# @param [String] project_id
|
|
568
|
+
# A Project id.
|
|
569
|
+
# Required.
|
|
570
|
+
# @param [String] history_id
|
|
571
|
+
# A History id.
|
|
572
|
+
# Required.
|
|
573
|
+
# @param [String] execution_id
|
|
574
|
+
# A Execution id.
|
|
575
|
+
# Required.
|
|
576
|
+
# @param [Google::Apis::ToolresultsV1beta3firstparty::Step] step_object
|
|
577
|
+
# @param [String] request_id
|
|
578
|
+
# A unique request ID for server to detect duplicated requests. For example, a
|
|
579
|
+
# UUID.
|
|
580
|
+
# Optional, but strongly recommended.
|
|
581
|
+
# @param [String] fields
|
|
582
|
+
# Selector specifying which fields to include in a partial response.
|
|
583
|
+
# @param [String] quota_user
|
|
584
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
585
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
586
|
+
# Overrides userIp if both are provided.
|
|
587
|
+
# @param [String] user_ip
|
|
588
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
589
|
+
# enforce per-user limits.
|
|
590
|
+
# @param [Google::Apis::RequestOptions] options
|
|
591
|
+
# Request-specific options
|
|
592
|
+
#
|
|
593
|
+
# @yield [result, err] Result & error if block supplied
|
|
594
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Step] parsed result object
|
|
595
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
596
|
+
#
|
|
597
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::Step]
|
|
598
|
+
#
|
|
599
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
600
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
601
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
602
|
+
def create_project_history_execution_step(project_id, history_id, execution_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
603
|
+
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
|
604
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::Step::Representation
|
|
605
|
+
command.request_object = step_object
|
|
606
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Step::Representation
|
|
607
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Step
|
|
608
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
609
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
610
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
611
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
612
|
+
command.query['fields'] = fields unless fields.nil?
|
|
613
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
614
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
615
|
+
execute_or_queue_command(command, &block)
|
|
616
|
+
end
|
|
617
|
+
|
|
618
|
+
# Gets a Step.
|
|
619
|
+
# May return any of the following canonical error codes:
|
|
620
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project -
|
|
621
|
+
# INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Step does
|
|
622
|
+
# not exist
|
|
623
|
+
# @param [String] project_id
|
|
624
|
+
# A Project id.
|
|
625
|
+
# Required.
|
|
626
|
+
# @param [String] history_id
|
|
627
|
+
# A History id.
|
|
628
|
+
# Required.
|
|
629
|
+
# @param [String] execution_id
|
|
630
|
+
# A Execution id.
|
|
631
|
+
# Required.
|
|
632
|
+
# @param [String] step_id
|
|
633
|
+
# A Step id.
|
|
634
|
+
# Required.
|
|
635
|
+
# @param [String] fields
|
|
636
|
+
# Selector specifying which fields to include in a partial response.
|
|
637
|
+
# @param [String] quota_user
|
|
638
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
639
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
640
|
+
# Overrides userIp if both are provided.
|
|
641
|
+
# @param [String] user_ip
|
|
642
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
643
|
+
# enforce per-user limits.
|
|
644
|
+
# @param [Google::Apis::RequestOptions] options
|
|
645
|
+
# Request-specific options
|
|
646
|
+
#
|
|
647
|
+
# @yield [result, err] Result & error if block supplied
|
|
648
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Step] parsed result object
|
|
649
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
650
|
+
#
|
|
651
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::Step]
|
|
652
|
+
#
|
|
653
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
654
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
655
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
656
|
+
def get_project_history_execution_step(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
657
|
+
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
|
658
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Step::Representation
|
|
659
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Step
|
|
660
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
661
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
662
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
663
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
664
|
+
command.query['fields'] = fields unless fields.nil?
|
|
665
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
666
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
667
|
+
execute_or_queue_command(command, &block)
|
|
668
|
+
end
|
|
669
|
+
|
|
670
|
+
# Retrieves a PerfMetricsSummary.
|
|
671
|
+
# May return any of the following error code(s): - NOT_FOUND - The specified
|
|
672
|
+
# PerfMetricsSummary does not exist
|
|
673
|
+
# @param [String] project_id
|
|
674
|
+
# The cloud project
|
|
675
|
+
# @param [String] history_id
|
|
676
|
+
# A tool results history ID.
|
|
677
|
+
# @param [String] execution_id
|
|
678
|
+
# A tool results execution ID.
|
|
679
|
+
# @param [String] step_id
|
|
680
|
+
# A tool results step ID.
|
|
681
|
+
# @param [String] fields
|
|
682
|
+
# Selector specifying which fields to include in a partial response.
|
|
683
|
+
# @param [String] quota_user
|
|
684
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
685
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
686
|
+
# Overrides userIp if both are provided.
|
|
687
|
+
# @param [String] user_ip
|
|
688
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
689
|
+
# enforce per-user limits.
|
|
690
|
+
# @param [Google::Apis::RequestOptions] options
|
|
691
|
+
# Request-specific options
|
|
692
|
+
#
|
|
693
|
+
# @yield [result, err] Result & error if block supplied
|
|
694
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary] parsed result object
|
|
695
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
696
|
+
#
|
|
697
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary]
|
|
698
|
+
#
|
|
699
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
700
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
701
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
702
|
+
def get_project_history_execution_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
703
|
+
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
|
704
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary::Representation
|
|
705
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary
|
|
706
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
707
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
708
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
709
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
710
|
+
command.query['fields'] = fields unless fields.nil?
|
|
711
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
712
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
713
|
+
execute_or_queue_command(command, &block)
|
|
714
|
+
end
|
|
715
|
+
|
|
716
|
+
# Lists Steps for a given Execution.
|
|
717
|
+
# The steps are sorted by creation_time in descending order. The step_id key
|
|
718
|
+
# will be used to order the steps with the same creation_time.
|
|
719
|
+
# May return any of the following canonical error codes:
|
|
720
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project -
|
|
721
|
+
# INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an
|
|
722
|
+
# argument in the request happens to be invalid; e.g. if an attempt is made to
|
|
723
|
+
# list the children of a nonexistent Step - NOT_FOUND - if the containing
|
|
724
|
+
# Execution does not exist
|
|
725
|
+
# @param [String] project_id
|
|
726
|
+
# A Project id.
|
|
727
|
+
# Required.
|
|
728
|
+
# @param [String] history_id
|
|
729
|
+
# A History id.
|
|
730
|
+
# Required.
|
|
731
|
+
# @param [String] execution_id
|
|
732
|
+
# A Execution id.
|
|
733
|
+
# Required.
|
|
734
|
+
# @param [Fixnum] page_size
|
|
735
|
+
# The maximum number of Steps to fetch.
|
|
736
|
+
# Default value: 25. The server will use this default if the field is not set or
|
|
737
|
+
# has a value of 0.
|
|
738
|
+
# Optional.
|
|
739
|
+
# @param [String] page_token
|
|
740
|
+
# A continuation token to resume the query at the next item.
|
|
741
|
+
# Optional.
|
|
742
|
+
# @param [String] fields
|
|
743
|
+
# Selector specifying which fields to include in a partial response.
|
|
744
|
+
# @param [String] quota_user
|
|
745
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
746
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
747
|
+
# Overrides userIp if both are provided.
|
|
748
|
+
# @param [String] user_ip
|
|
749
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
750
|
+
# enforce per-user limits.
|
|
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::ToolresultsV1beta3firstparty::ListStepsResponse] parsed result object
|
|
756
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
757
|
+
#
|
|
758
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::ListStepsResponse]
|
|
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 list_project_history_execution_steps(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
764
|
+
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
|
765
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListStepsResponse::Representation
|
|
766
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListStepsResponse
|
|
767
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
768
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
769
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
770
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
771
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
772
|
+
command.query['fields'] = fields unless fields.nil?
|
|
773
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
774
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
775
|
+
execute_or_queue_command(command, &block)
|
|
776
|
+
end
|
|
777
|
+
|
|
778
|
+
# Updates an existing Step with the supplied partial entity.
|
|
779
|
+
# May return any of the following canonical error codes:
|
|
780
|
+
# - PERMISSION_DENIED - if the user is not authorized to write project -
|
|
781
|
+
# INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
|
|
782
|
+
# requested state transition is illegal (e.g try to upload a duplicate xml file),
|
|
783
|
+
# if the updated step is too large (more than 10Mib) - NOT_FOUND - if the
|
|
784
|
+
# containing Execution does not exist
|
|
785
|
+
# @param [String] project_id
|
|
786
|
+
# A Project id.
|
|
787
|
+
# Required.
|
|
788
|
+
# @param [String] history_id
|
|
789
|
+
# A History id.
|
|
790
|
+
# Required.
|
|
791
|
+
# @param [String] execution_id
|
|
792
|
+
# A Execution id.
|
|
793
|
+
# Required.
|
|
794
|
+
# @param [String] step_id
|
|
795
|
+
# A Step id.
|
|
796
|
+
# Required.
|
|
797
|
+
# @param [Google::Apis::ToolresultsV1beta3firstparty::Step] step_object
|
|
798
|
+
# @param [String] request_id
|
|
799
|
+
# A unique request ID for server to detect duplicated requests. For example, a
|
|
800
|
+
# UUID.
|
|
801
|
+
# Optional, but strongly recommended.
|
|
802
|
+
# @param [String] fields
|
|
803
|
+
# Selector specifying which fields to include in a partial response.
|
|
804
|
+
# @param [String] quota_user
|
|
805
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
806
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
807
|
+
# Overrides userIp if both are provided.
|
|
808
|
+
# @param [String] user_ip
|
|
809
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
810
|
+
# enforce per-user limits.
|
|
811
|
+
# @param [Google::Apis::RequestOptions] options
|
|
812
|
+
# Request-specific options
|
|
813
|
+
#
|
|
814
|
+
# @yield [result, err] Result & error if block supplied
|
|
815
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Step] parsed result object
|
|
816
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
817
|
+
#
|
|
818
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::Step]
|
|
819
|
+
#
|
|
820
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
821
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
822
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
823
|
+
def patch_project_history_execution_step(project_id, history_id, execution_id, step_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
824
|
+
command = make_simple_command(:patch, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
|
825
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::Step::Representation
|
|
826
|
+
command.request_object = step_object
|
|
827
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Step::Representation
|
|
828
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Step
|
|
829
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
830
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
831
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
832
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
833
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
834
|
+
command.query['fields'] = fields unless fields.nil?
|
|
835
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
836
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
837
|
+
execute_or_queue_command(command, &block)
|
|
838
|
+
end
|
|
839
|
+
|
|
840
|
+
# Publish xml files to an existing Step.
|
|
841
|
+
# May return any of the following canonical error codes:
|
|
842
|
+
# - PERMISSION_DENIED - if the user is not authorized to write project -
|
|
843
|
+
# INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
|
|
844
|
+
# requested state transition is illegal, e.g try to upload a duplicate xml file
|
|
845
|
+
# or a file too large. - NOT_FOUND - if the containing Execution does not exist
|
|
846
|
+
# @param [String] project_id
|
|
847
|
+
# A Project id.
|
|
848
|
+
# Required.
|
|
849
|
+
# @param [String] history_id
|
|
850
|
+
# A History id.
|
|
851
|
+
# Required.
|
|
852
|
+
# @param [String] execution_id
|
|
853
|
+
# A Execution id.
|
|
854
|
+
# Required.
|
|
855
|
+
# @param [String] step_id
|
|
856
|
+
# A Step id. Note: This step must include a TestExecutionStep.
|
|
857
|
+
# Required.
|
|
858
|
+
# @param [Google::Apis::ToolresultsV1beta3firstparty::PublishXunitXmlFilesRequest] publish_xunit_xml_files_request_object
|
|
859
|
+
# @param [String] fields
|
|
860
|
+
# Selector specifying which fields to include in a partial response.
|
|
861
|
+
# @param [String] quota_user
|
|
862
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
863
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
864
|
+
# Overrides userIp if both are provided.
|
|
865
|
+
# @param [String] user_ip
|
|
866
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
867
|
+
# enforce per-user limits.
|
|
868
|
+
# @param [Google::Apis::RequestOptions] options
|
|
869
|
+
# Request-specific options
|
|
870
|
+
#
|
|
871
|
+
# @yield [result, err] Result & error if block supplied
|
|
872
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Step] parsed result object
|
|
873
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
874
|
+
#
|
|
875
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::Step]
|
|
876
|
+
#
|
|
877
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
878
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
879
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
880
|
+
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, user_ip: nil, options: nil, &block)
|
|
881
|
+
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', options)
|
|
882
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::PublishXunitXmlFilesRequest::Representation
|
|
883
|
+
command.request_object = publish_xunit_xml_files_request_object
|
|
884
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Step::Representation
|
|
885
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Step
|
|
886
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
887
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
888
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
889
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
890
|
+
command.query['fields'] = fields unless fields.nil?
|
|
891
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
892
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
893
|
+
execute_or_queue_command(command, &block)
|
|
894
|
+
end
|
|
895
|
+
|
|
896
|
+
# Creates a PerfMetricsSummary resource.
|
|
897
|
+
# May return any of the following error code(s): - ALREADY_EXISTS - A
|
|
898
|
+
# PerfMetricSummary already exists for the given Step - NOT_FOUND - The
|
|
899
|
+
# containing Step does not exist
|
|
900
|
+
# @param [String] project_id
|
|
901
|
+
# The cloud project
|
|
902
|
+
# @param [String] history_id
|
|
903
|
+
# A tool results history ID.
|
|
904
|
+
# @param [String] execution_id
|
|
905
|
+
# A tool results execution ID.
|
|
906
|
+
# @param [String] step_id
|
|
907
|
+
# A tool results step ID.
|
|
908
|
+
# @param [Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary] perf_metrics_summary_object
|
|
909
|
+
# @param [String] fields
|
|
910
|
+
# Selector specifying which fields to include in a partial response.
|
|
911
|
+
# @param [String] quota_user
|
|
912
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
913
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
914
|
+
# Overrides userIp if both are provided.
|
|
915
|
+
# @param [String] user_ip
|
|
916
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
917
|
+
# enforce per-user limits.
|
|
918
|
+
# @param [Google::Apis::RequestOptions] options
|
|
919
|
+
# Request-specific options
|
|
920
|
+
#
|
|
921
|
+
# @yield [result, err] Result & error if block supplied
|
|
922
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary] parsed result object
|
|
923
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
924
|
+
#
|
|
925
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary]
|
|
926
|
+
#
|
|
927
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
928
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
929
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
930
|
+
def create_project_history_execution_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, perf_metrics_summary_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
931
|
+
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
|
932
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary::Representation
|
|
933
|
+
command.request_object = perf_metrics_summary_object
|
|
934
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary::Representation
|
|
935
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary
|
|
936
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
937
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
938
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
939
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
940
|
+
command.query['fields'] = fields unless fields.nil?
|
|
941
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
942
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
943
|
+
execute_or_queue_command(command, &block)
|
|
944
|
+
end
|
|
945
|
+
|
|
946
|
+
# Creates a PerfSampleSeries.
|
|
947
|
+
# May return any of the following error code(s): - ALREADY_EXISTS -
|
|
948
|
+
# PerfMetricSummary already exists for the given Step - NOT_FOUND - The
|
|
949
|
+
# containing Step does not exist
|
|
950
|
+
# @param [String] project_id
|
|
951
|
+
# The cloud project
|
|
952
|
+
# @param [String] history_id
|
|
953
|
+
# A tool results history ID.
|
|
954
|
+
# @param [String] execution_id
|
|
955
|
+
# A tool results execution ID.
|
|
956
|
+
# @param [String] step_id
|
|
957
|
+
# A tool results step ID.
|
|
958
|
+
# @param [Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries] perf_sample_series_object
|
|
959
|
+
# @param [String] fields
|
|
960
|
+
# Selector specifying which fields to include in a partial response.
|
|
961
|
+
# @param [String] quota_user
|
|
962
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
963
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
964
|
+
# Overrides userIp if both are provided.
|
|
965
|
+
# @param [String] user_ip
|
|
966
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
967
|
+
# enforce per-user limits.
|
|
968
|
+
# @param [Google::Apis::RequestOptions] options
|
|
969
|
+
# Request-specific options
|
|
970
|
+
#
|
|
971
|
+
# @yield [result, err] Result & error if block supplied
|
|
972
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries] parsed result object
|
|
973
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
974
|
+
#
|
|
975
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries]
|
|
976
|
+
#
|
|
977
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
978
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
979
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
980
|
+
def create_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, perf_sample_series_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
981
|
+
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
|
982
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries::Representation
|
|
983
|
+
command.request_object = perf_sample_series_object
|
|
984
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries::Representation
|
|
985
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries
|
|
986
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
987
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
988
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
989
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
990
|
+
command.query['fields'] = fields unless fields.nil?
|
|
991
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
992
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
993
|
+
execute_or_queue_command(command, &block)
|
|
994
|
+
end
|
|
995
|
+
|
|
996
|
+
# Gets a PerfSampleSeries.
|
|
997
|
+
# May return any of the following error code(s): - NOT_FOUND - The specified
|
|
998
|
+
# PerfSampleSeries does not exist
|
|
999
|
+
# @param [String] project_id
|
|
1000
|
+
# The cloud project
|
|
1001
|
+
# @param [String] history_id
|
|
1002
|
+
# A tool results history ID.
|
|
1003
|
+
# @param [String] execution_id
|
|
1004
|
+
# A tool results execution ID.
|
|
1005
|
+
# @param [String] step_id
|
|
1006
|
+
# A tool results step ID.
|
|
1007
|
+
# @param [String] sample_series_id
|
|
1008
|
+
# A sample series id
|
|
1009
|
+
# @param [String] fields
|
|
1010
|
+
# Selector specifying which fields to include in a partial response.
|
|
1011
|
+
# @param [String] quota_user
|
|
1012
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1013
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1014
|
+
# Overrides userIp if both are provided.
|
|
1015
|
+
# @param [String] user_ip
|
|
1016
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1017
|
+
# enforce per-user limits.
|
|
1018
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1019
|
+
# Request-specific options
|
|
1020
|
+
#
|
|
1021
|
+
# @yield [result, err] Result & error if block supplied
|
|
1022
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries] parsed result object
|
|
1023
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1024
|
+
#
|
|
1025
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries]
|
|
1026
|
+
#
|
|
1027
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1028
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1029
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1030
|
+
def get_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, sample_series_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1031
|
+
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', options)
|
|
1032
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries::Representation
|
|
1033
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries
|
|
1034
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
1035
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
1036
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
1037
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
1038
|
+
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
|
1039
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1040
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1041
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1042
|
+
execute_or_queue_command(command, &block)
|
|
1043
|
+
end
|
|
1044
|
+
|
|
1045
|
+
# Lists PerfSampleSeries for a given Step.
|
|
1046
|
+
# The request provides an optional filter which specifies one or more
|
|
1047
|
+
# PerfMetricsType to include in the result; if none returns all. The resulting
|
|
1048
|
+
# PerfSampleSeries are sorted by ids.
|
|
1049
|
+
# May return any of the following canonical error codes: - NOT_FOUND - The
|
|
1050
|
+
# containing Step does not exist
|
|
1051
|
+
# @param [String] project_id
|
|
1052
|
+
# The cloud project
|
|
1053
|
+
# @param [String] history_id
|
|
1054
|
+
# A tool results history ID.
|
|
1055
|
+
# @param [String] execution_id
|
|
1056
|
+
# A tool results execution ID.
|
|
1057
|
+
# @param [String] step_id
|
|
1058
|
+
# A tool results step ID.
|
|
1059
|
+
# @param [Array<String>, String] filter
|
|
1060
|
+
# Specify one or more PerfMetricType values such as CPU to filter the result
|
|
1061
|
+
# @param [String] fields
|
|
1062
|
+
# Selector specifying which fields to include in a partial response.
|
|
1063
|
+
# @param [String] quota_user
|
|
1064
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1065
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1066
|
+
# Overrides userIp if both are provided.
|
|
1067
|
+
# @param [String] user_ip
|
|
1068
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1069
|
+
# enforce per-user limits.
|
|
1070
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1071
|
+
# Request-specific options
|
|
1072
|
+
#
|
|
1073
|
+
# @yield [result, err] Result & error if block supplied
|
|
1074
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListPerfSampleSeriesResponse] parsed result object
|
|
1075
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1076
|
+
#
|
|
1077
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::ListPerfSampleSeriesResponse]
|
|
1078
|
+
#
|
|
1079
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1080
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1081
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1082
|
+
def list_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1083
|
+
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
|
1084
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListPerfSampleSeriesResponse::Representation
|
|
1085
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListPerfSampleSeriesResponse
|
|
1086
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
1087
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
1088
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
1089
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
1090
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1091
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1092
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1093
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1094
|
+
execute_or_queue_command(command, &block)
|
|
1095
|
+
end
|
|
1096
|
+
|
|
1097
|
+
# Creates a batch of PerfSamples - a client can submit multiple batches of Perf
|
|
1098
|
+
# Samples through repeated calls to this method in order to split up a large
|
|
1099
|
+
# request payload - duplicates and existing timestamp entries will be ignored. -
|
|
1100
|
+
# the batch operation may partially succeed - the set of elements successfully
|
|
1101
|
+
# inserted is returned in the response (omits items which already existed in the
|
|
1102
|
+
# database).
|
|
1103
|
+
# May return any of the following canonical error codes: - NOT_FOUND - The
|
|
1104
|
+
# containing PerfSampleSeries does not exist
|
|
1105
|
+
# @param [String] project_id
|
|
1106
|
+
# The cloud project
|
|
1107
|
+
# @param [String] history_id
|
|
1108
|
+
# A tool results history ID.
|
|
1109
|
+
# @param [String] execution_id
|
|
1110
|
+
# A tool results execution ID.
|
|
1111
|
+
# @param [String] step_id
|
|
1112
|
+
# A tool results step ID.
|
|
1113
|
+
# @param [String] sample_series_id
|
|
1114
|
+
# A sample series id
|
|
1115
|
+
# @param [Google::Apis::ToolresultsV1beta3firstparty::BatchCreatePerfSamplesRequest] batch_create_perf_samples_request_object
|
|
1116
|
+
# @param [String] fields
|
|
1117
|
+
# Selector specifying which fields to include in a partial response.
|
|
1118
|
+
# @param [String] quota_user
|
|
1119
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1120
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1121
|
+
# Overrides userIp if both are provided.
|
|
1122
|
+
# @param [String] user_ip
|
|
1123
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1124
|
+
# enforce per-user limits.
|
|
1125
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1126
|
+
# Request-specific options
|
|
1127
|
+
#
|
|
1128
|
+
# @yield [result, err] Result & error if block supplied
|
|
1129
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::BatchCreatePerfSamplesResponse] parsed result object
|
|
1130
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1131
|
+
#
|
|
1132
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::BatchCreatePerfSamplesResponse]
|
|
1133
|
+
#
|
|
1134
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1135
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1136
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1137
|
+
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, user_ip: nil, options: nil, &block)
|
|
1138
|
+
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate', options)
|
|
1139
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::BatchCreatePerfSamplesRequest::Representation
|
|
1140
|
+
command.request_object = batch_create_perf_samples_request_object
|
|
1141
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::BatchCreatePerfSamplesResponse::Representation
|
|
1142
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::BatchCreatePerfSamplesResponse
|
|
1143
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
1144
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
1145
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
1146
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
1147
|
+
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
|
1148
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1149
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1150
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1151
|
+
execute_or_queue_command(command, &block)
|
|
1152
|
+
end
|
|
1153
|
+
|
|
1154
|
+
# Lists the Performance Samples of a given Sample Series - The list results are
|
|
1155
|
+
# sorted by timestamps ascending - The default page size is 500 samples; and
|
|
1156
|
+
# maximum size allowed 5000 - The response token indicates the last returned
|
|
1157
|
+
# PerfSample timestamp - When the results size exceeds the page size, submit a
|
|
1158
|
+
# subsequent request including the page token to return the rest of the samples
|
|
1159
|
+
# up to the page limit
|
|
1160
|
+
# May return any of the following canonical error codes: - OUT_OF_RANGE - The
|
|
1161
|
+
# specified request page_token is out of valid range - NOT_FOUND - The
|
|
1162
|
+
# containing PerfSampleSeries does not exist
|
|
1163
|
+
# @param [String] project_id
|
|
1164
|
+
# The cloud project
|
|
1165
|
+
# @param [String] history_id
|
|
1166
|
+
# A tool results history ID.
|
|
1167
|
+
# @param [String] execution_id
|
|
1168
|
+
# A tool results execution ID.
|
|
1169
|
+
# @param [String] step_id
|
|
1170
|
+
# A tool results step ID.
|
|
1171
|
+
# @param [String] sample_series_id
|
|
1172
|
+
# A sample series id
|
|
1173
|
+
# @param [Fixnum] page_size
|
|
1174
|
+
# The default page size is 500 samples, and the maximum size is 5000. If the
|
|
1175
|
+
# page_size is greater than 5000, the effective page size will be 5000
|
|
1176
|
+
# @param [String] page_token
|
|
1177
|
+
# Optional, the next_page_token returned in the previous response
|
|
1178
|
+
# @param [String] fields
|
|
1179
|
+
# Selector specifying which fields to include in a partial response.
|
|
1180
|
+
# @param [String] quota_user
|
|
1181
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1182
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1183
|
+
# Overrides userIp if both are provided.
|
|
1184
|
+
# @param [String] user_ip
|
|
1185
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1186
|
+
# enforce per-user limits.
|
|
1187
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1188
|
+
# Request-specific options
|
|
1189
|
+
#
|
|
1190
|
+
# @yield [result, err] Result & error if block supplied
|
|
1191
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListPerfSamplesResponse] parsed result object
|
|
1192
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1193
|
+
#
|
|
1194
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::ListPerfSamplesResponse]
|
|
1195
|
+
#
|
|
1196
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1197
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1198
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1199
|
+
def list_project_history_execution_step_perf_sample_series_samples(project_id, history_id, execution_id, step_id, sample_series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1200
|
+
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples', options)
|
|
1201
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListPerfSamplesResponse::Representation
|
|
1202
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListPerfSamplesResponse
|
|
1203
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
1204
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
1205
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
1206
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
1207
|
+
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
|
1208
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1209
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1210
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1211
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1212
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1213
|
+
execute_or_queue_command(command, &block)
|
|
1214
|
+
end
|
|
1215
|
+
|
|
1216
|
+
# Lists thumbnails of images attached to a step.
|
|
1217
|
+
# May return any of the following canonical error codes: - PERMISSION_DENIED -
|
|
1218
|
+
# if the user is not authorized to read from the project, or from any of the
|
|
1219
|
+
# images - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the
|
|
1220
|
+
# step does not exist, or if any of the images do not exist
|
|
1221
|
+
# @param [String] project_id
|
|
1222
|
+
# A Project id.
|
|
1223
|
+
# Required.
|
|
1224
|
+
# @param [String] history_id
|
|
1225
|
+
# A History id.
|
|
1226
|
+
# Required.
|
|
1227
|
+
# @param [String] execution_id
|
|
1228
|
+
# An Execution id.
|
|
1229
|
+
# Required.
|
|
1230
|
+
# @param [String] step_id
|
|
1231
|
+
# A Step id.
|
|
1232
|
+
# Required.
|
|
1233
|
+
# @param [Fixnum] page_size
|
|
1234
|
+
# The maximum number of thumbnails to fetch.
|
|
1235
|
+
# Default value: 50. The server will use this default if the field is not set or
|
|
1236
|
+
# has a value of 0.
|
|
1237
|
+
# Optional.
|
|
1238
|
+
# @param [String] page_token
|
|
1239
|
+
# A continuation token to resume the query at the next item.
|
|
1240
|
+
# Optional.
|
|
1241
|
+
# @param [String] fields
|
|
1242
|
+
# Selector specifying which fields to include in a partial response.
|
|
1243
|
+
# @param [String] quota_user
|
|
1244
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1245
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1246
|
+
# Overrides userIp if both are provided.
|
|
1247
|
+
# @param [String] user_ip
|
|
1248
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1249
|
+
# enforce per-user limits.
|
|
1250
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1251
|
+
# Request-specific options
|
|
1252
|
+
#
|
|
1253
|
+
# @yield [result, err] Result & error if block supplied
|
|
1254
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListStepThumbnailsResponse] parsed result object
|
|
1255
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1256
|
+
#
|
|
1257
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::ListStepThumbnailsResponse]
|
|
1258
|
+
#
|
|
1259
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1260
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1261
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1262
|
+
def list_project_history_execution_step_thumbnails(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1263
|
+
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails', options)
|
|
1264
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListStepThumbnailsResponse::Representation
|
|
1265
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListStepThumbnailsResponse
|
|
1266
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
1267
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
1268
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
1269
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
|
1270
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1271
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1272
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1273
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1274
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1275
|
+
execute_or_queue_command(command, &block)
|
|
1276
|
+
end
|
|
1277
|
+
|
|
1278
|
+
protected
|
|
1279
|
+
|
|
1280
|
+
def apply_command_defaults(command)
|
|
1281
|
+
command.query['key'] = key unless key.nil?
|
|
1282
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1283
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1284
|
+
end
|
|
1285
|
+
end
|
|
1286
|
+
end
|
|
1287
|
+
end
|
|
1288
|
+
end
|