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
|
@@ -80,55 +80,22 @@ module Google
|
|
|
80
80
|
execute_or_queue_command(command, &block)
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
#
|
|
84
|
-
# @param [String] project_id
|
|
85
|
-
# The project to send the WorkerMessages to.
|
|
86
|
-
# @param [String] location
|
|
87
|
-
# The location which contains the job
|
|
88
|
-
# @param [Google::Apis::DataflowV1b3::SendWorkerMessagesRequest] send_worker_messages_request_object
|
|
89
|
-
# @param [String] fields
|
|
90
|
-
# Selector specifying which fields to include in a partial response.
|
|
91
|
-
# @param [String] quota_user
|
|
92
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
93
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
94
|
-
# @param [Google::Apis::RequestOptions] options
|
|
95
|
-
# Request-specific options
|
|
96
|
-
#
|
|
97
|
-
# @yield [result, err] Result & error if block supplied
|
|
98
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::SendWorkerMessagesResponse] parsed result object
|
|
99
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
100
|
-
#
|
|
101
|
-
# @return [Google::Apis::DataflowV1b3::SendWorkerMessagesResponse]
|
|
102
|
-
#
|
|
103
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
104
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
105
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
106
|
-
def worker_project_location_messages(project_id, location, send_worker_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
107
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/WorkerMessages', options)
|
|
108
|
-
command.request_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesRequest::Representation
|
|
109
|
-
command.request_object = send_worker_messages_request_object
|
|
110
|
-
command.response_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesResponse::Representation
|
|
111
|
-
command.response_class = Google::Apis::DataflowV1b3::SendWorkerMessagesResponse
|
|
112
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
113
|
-
command.params['location'] = location unless location.nil?
|
|
114
|
-
command.query['fields'] = fields unless fields.nil?
|
|
115
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
116
|
-
execute_or_queue_command(command, &block)
|
|
117
|
-
end
|
|
118
|
-
|
|
119
|
-
# Launch a template.
|
|
83
|
+
# List the jobs of a project across all regions.
|
|
120
84
|
# @param [String] project_id
|
|
121
|
-
#
|
|
85
|
+
# The project which owns the jobs.
|
|
86
|
+
# @param [String] filter
|
|
87
|
+
# The kind of filter to use.
|
|
122
88
|
# @param [String] location
|
|
123
|
-
# The location
|
|
124
|
-
# @param [
|
|
125
|
-
#
|
|
126
|
-
#
|
|
127
|
-
#
|
|
128
|
-
# @param [String]
|
|
129
|
-
#
|
|
130
|
-
#
|
|
131
|
-
#
|
|
89
|
+
# The location that contains this job.
|
|
90
|
+
# @param [Fixnum] page_size
|
|
91
|
+
# If there are many jobs, limit response to at most this many.
|
|
92
|
+
# The actual number of jobs returned will be the lesser of max_responses
|
|
93
|
+
# and an unspecified server-defined limit.
|
|
94
|
+
# @param [String] page_token
|
|
95
|
+
# Set this to the 'next_page_token' field of a previous response
|
|
96
|
+
# to request additional results in a long list.
|
|
97
|
+
# @param [String] view
|
|
98
|
+
# Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
|
|
132
99
|
# @param [String] fields
|
|
133
100
|
# Selector specifying which fields to include in a partial response.
|
|
134
101
|
# @param [String] quota_user
|
|
@@ -138,40 +105,39 @@ module Google
|
|
|
138
105
|
# Request-specific options
|
|
139
106
|
#
|
|
140
107
|
# @yield [result, err] Result & error if block supplied
|
|
141
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
108
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ListJobsResponse] parsed result object
|
|
142
109
|
# @yieldparam err [StandardError] error object if request failed
|
|
143
110
|
#
|
|
144
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
111
|
+
# @return [Google::Apis::DataflowV1b3::ListJobsResponse]
|
|
145
112
|
#
|
|
146
113
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
147
114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
148
115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
149
|
-
def
|
|
150
|
-
command = make_simple_command(:
|
|
151
|
-
command.
|
|
152
|
-
command.
|
|
153
|
-
command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation
|
|
154
|
-
command.response_class = Google::Apis::DataflowV1b3::LaunchTemplateResponse
|
|
116
|
+
def aggregated_project_job(project_id, filter: nil, location: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
117
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs:aggregated', options)
|
|
118
|
+
command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation
|
|
119
|
+
command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse
|
|
155
120
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
156
|
-
command.
|
|
157
|
-
command.query['
|
|
158
|
-
command.query['
|
|
121
|
+
command.query['filter'] = filter unless filter.nil?
|
|
122
|
+
command.query['location'] = location unless location.nil?
|
|
123
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
124
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
125
|
+
command.query['view'] = view unless view.nil?
|
|
159
126
|
command.query['fields'] = fields unless fields.nil?
|
|
160
127
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
161
128
|
execute_or_queue_command(command, &block)
|
|
162
129
|
end
|
|
163
130
|
|
|
164
|
-
#
|
|
131
|
+
# Creates a Cloud Dataflow job.
|
|
165
132
|
# @param [String] project_id
|
|
166
|
-
#
|
|
133
|
+
# The ID of the Cloud Platform project that the job belongs to.
|
|
134
|
+
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
|
167
135
|
# @param [String] location
|
|
168
|
-
# The location
|
|
136
|
+
# The location that contains this job.
|
|
137
|
+
# @param [String] replace_job_id
|
|
138
|
+
# Deprecated. This field is now in the Job message.
|
|
169
139
|
# @param [String] view
|
|
170
|
-
# The
|
|
171
|
-
# @param [String] gcs_path
|
|
172
|
-
# Required. A Cloud Storage path to the template from which to
|
|
173
|
-
# create the job.
|
|
174
|
-
# Must be a valid Cloud Storage URL, beginning with `gs://`.
|
|
140
|
+
# The level of information requested in response.
|
|
175
141
|
# @param [String] fields
|
|
176
142
|
# Selector specifying which fields to include in a partial response.
|
|
177
143
|
# @param [String] quota_user
|
|
@@ -181,33 +147,38 @@ module Google
|
|
|
181
147
|
# Request-specific options
|
|
182
148
|
#
|
|
183
149
|
# @yield [result, err] Result & error if block supplied
|
|
184
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
150
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object
|
|
185
151
|
# @yieldparam err [StandardError] error object if request failed
|
|
186
152
|
#
|
|
187
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
153
|
+
# @return [Google::Apis::DataflowV1b3::Job]
|
|
188
154
|
#
|
|
189
155
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
190
156
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
191
157
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
192
|
-
def
|
|
193
|
-
command = make_simple_command(:
|
|
194
|
-
command.
|
|
195
|
-
command.
|
|
158
|
+
def create_project_job(project_id, job_object = nil, location: nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
159
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs', options)
|
|
160
|
+
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
161
|
+
command.request_object = job_object
|
|
162
|
+
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
163
|
+
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
196
164
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
197
|
-
command.
|
|
165
|
+
command.query['location'] = location unless location.nil?
|
|
166
|
+
command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil?
|
|
198
167
|
command.query['view'] = view unless view.nil?
|
|
199
|
-
command.query['gcsPath'] = gcs_path unless gcs_path.nil?
|
|
200
168
|
command.query['fields'] = fields unless fields.nil?
|
|
201
169
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
202
170
|
execute_or_queue_command(command, &block)
|
|
203
171
|
end
|
|
204
172
|
|
|
205
|
-
#
|
|
173
|
+
# Gets the state of the specified Cloud Dataflow job.
|
|
206
174
|
# @param [String] project_id
|
|
207
|
-
#
|
|
175
|
+
# The ID of the Cloud Platform project that the job belongs to.
|
|
176
|
+
# @param [String] job_id
|
|
177
|
+
# The job ID.
|
|
208
178
|
# @param [String] location
|
|
209
|
-
# The location
|
|
210
|
-
# @param [
|
|
179
|
+
# The location that contains this job.
|
|
180
|
+
# @param [String] view
|
|
181
|
+
# The level of information requested in response.
|
|
211
182
|
# @param [String] fields
|
|
212
183
|
# Selector specifying which fields to include in a partial response.
|
|
213
184
|
# @param [String] quota_user
|
|
@@ -225,14 +196,14 @@ module Google
|
|
|
225
196
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
226
197
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
227
198
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
228
|
-
def
|
|
229
|
-
command = make_simple_command(:
|
|
230
|
-
command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation
|
|
231
|
-
command.request_object = create_job_from_template_request_object
|
|
199
|
+
def get_project_job(project_id, job_id, location: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
200
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}', options)
|
|
232
201
|
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
233
202
|
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
234
203
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
235
|
-
command.params['
|
|
204
|
+
command.params['jobId'] = job_id unless job_id.nil?
|
|
205
|
+
command.query['location'] = location unless location.nil?
|
|
206
|
+
command.query['view'] = view unless view.nil?
|
|
236
207
|
command.query['fields'] = fields unless fields.nil?
|
|
237
208
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
238
209
|
execute_or_queue_command(command, &block)
|
|
@@ -241,10 +212,10 @@ module Google
|
|
|
241
212
|
# Request the job status.
|
|
242
213
|
# @param [String] project_id
|
|
243
214
|
# A project id.
|
|
244
|
-
# @param [String] location
|
|
245
|
-
# The location which contains the job specified by job_id.
|
|
246
215
|
# @param [String] job_id
|
|
247
216
|
# The job to get messages for.
|
|
217
|
+
# @param [String] location
|
|
218
|
+
# The location which contains the job specified by job_id.
|
|
248
219
|
# @param [String] start_time
|
|
249
220
|
# Return only metric data that has changed since this time.
|
|
250
221
|
# Default is to return all information about all metrics for the job.
|
|
@@ -265,33 +236,33 @@ module Google
|
|
|
265
236
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
266
237
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
267
238
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
268
|
-
def
|
|
269
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/
|
|
239
|
+
def get_project_job_metrics(project_id, job_id, location: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
240
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options)
|
|
270
241
|
command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation
|
|
271
242
|
command.response_class = Google::Apis::DataflowV1b3::JobMetrics
|
|
272
243
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
273
|
-
command.params['location'] = location unless location.nil?
|
|
274
244
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
245
|
+
command.query['location'] = location unless location.nil?
|
|
275
246
|
command.query['startTime'] = start_time unless start_time.nil?
|
|
276
247
|
command.query['fields'] = fields unless fields.nil?
|
|
277
248
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
278
249
|
execute_or_queue_command(command, &block)
|
|
279
250
|
end
|
|
280
251
|
|
|
281
|
-
# List the jobs of a project.
|
|
252
|
+
# List the jobs of a project in a given region.
|
|
282
253
|
# @param [String] project_id
|
|
283
254
|
# The project which owns the jobs.
|
|
284
|
-
# @param [String] location
|
|
285
|
-
# The location that contains this job.
|
|
286
255
|
# @param [String] filter
|
|
287
256
|
# The kind of filter to use.
|
|
288
|
-
# @param [String]
|
|
289
|
-
#
|
|
290
|
-
# to request additional results in a long list.
|
|
257
|
+
# @param [String] location
|
|
258
|
+
# The location that contains this job.
|
|
291
259
|
# @param [Fixnum] page_size
|
|
292
260
|
# If there are many jobs, limit response to at most this many.
|
|
293
261
|
# The actual number of jobs returned will be the lesser of max_responses
|
|
294
262
|
# and an unspecified server-defined limit.
|
|
263
|
+
# @param [String] page_token
|
|
264
|
+
# Set this to the 'next_page_token' field of a previous response
|
|
265
|
+
# to request additional results in a long list.
|
|
295
266
|
# @param [String] view
|
|
296
267
|
# Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
|
|
297
268
|
# @param [String] fields
|
|
@@ -311,30 +282,29 @@ module Google
|
|
|
311
282
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
312
283
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
313
284
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
314
|
-
def
|
|
315
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/
|
|
285
|
+
def list_project_jobs(project_id, filter: nil, location: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
286
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs', options)
|
|
316
287
|
command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation
|
|
317
288
|
command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse
|
|
318
289
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
319
|
-
command.params['location'] = location unless location.nil?
|
|
320
290
|
command.query['filter'] = filter unless filter.nil?
|
|
321
|
-
command.query['
|
|
291
|
+
command.query['location'] = location unless location.nil?
|
|
322
292
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
293
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
323
294
|
command.query['view'] = view unless view.nil?
|
|
324
295
|
command.query['fields'] = fields unless fields.nil?
|
|
325
296
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
326
297
|
execute_or_queue_command(command, &block)
|
|
327
298
|
end
|
|
328
299
|
|
|
329
|
-
#
|
|
300
|
+
# Updates the state of an existing Cloud Dataflow job.
|
|
330
301
|
# @param [String] project_id
|
|
331
302
|
# The ID of the Cloud Platform project that the job belongs to.
|
|
332
|
-
# @param [String] location
|
|
333
|
-
# The location that contains this job.
|
|
334
303
|
# @param [String] job_id
|
|
335
304
|
# The job ID.
|
|
336
|
-
# @param [
|
|
337
|
-
#
|
|
305
|
+
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
|
306
|
+
# @param [String] location
|
|
307
|
+
# The location that contains this job.
|
|
338
308
|
# @param [String] fields
|
|
339
309
|
# Selector specifying which fields to include in a partial response.
|
|
340
310
|
# @param [String] quota_user
|
|
@@ -352,27 +322,26 @@ module Google
|
|
|
352
322
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
353
323
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
354
324
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
355
|
-
def
|
|
356
|
-
command = make_simple_command(:
|
|
325
|
+
def update_project_job(project_id, job_id, job_object = nil, location: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
326
|
+
command = make_simple_command(:put, 'v1b3/projects/{projectId}/jobs/{jobId}', options)
|
|
327
|
+
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
328
|
+
command.request_object = job_object
|
|
357
329
|
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
358
330
|
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
359
331
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
360
|
-
command.params['location'] = location unless location.nil?
|
|
361
332
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
362
|
-
command.query['
|
|
333
|
+
command.query['location'] = location unless location.nil?
|
|
363
334
|
command.query['fields'] = fields unless fields.nil?
|
|
364
335
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
365
336
|
execute_or_queue_command(command, &block)
|
|
366
337
|
end
|
|
367
338
|
|
|
368
|
-
#
|
|
339
|
+
# Get encoded debug configuration for component. Not cacheable.
|
|
369
340
|
# @param [String] project_id
|
|
370
|
-
# The
|
|
371
|
-
# @param [String] location
|
|
372
|
-
# The location that contains this job.
|
|
341
|
+
# The project id.
|
|
373
342
|
# @param [String] job_id
|
|
374
|
-
# The job
|
|
375
|
-
# @param [Google::Apis::DataflowV1b3::
|
|
343
|
+
# The job id.
|
|
344
|
+
# @param [Google::Apis::DataflowV1b3::GetDebugConfigRequest] get_debug_config_request_object
|
|
376
345
|
# @param [String] fields
|
|
377
346
|
# Selector specifying which fields to include in a partial response.
|
|
378
347
|
# @param [String] quota_user
|
|
@@ -382,38 +351,33 @@ module Google
|
|
|
382
351
|
# Request-specific options
|
|
383
352
|
#
|
|
384
353
|
# @yield [result, err] Result & error if block supplied
|
|
385
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
354
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::GetDebugConfigResponse] parsed result object
|
|
386
355
|
# @yieldparam err [StandardError] error object if request failed
|
|
387
356
|
#
|
|
388
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
357
|
+
# @return [Google::Apis::DataflowV1b3::GetDebugConfigResponse]
|
|
389
358
|
#
|
|
390
359
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
391
360
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
392
361
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
393
|
-
def
|
|
394
|
-
command = make_simple_command(:
|
|
395
|
-
command.request_representation = Google::Apis::DataflowV1b3::
|
|
396
|
-
command.request_object =
|
|
397
|
-
command.response_representation = Google::Apis::DataflowV1b3::
|
|
398
|
-
command.response_class = Google::Apis::DataflowV1b3::
|
|
362
|
+
def get_project_job_debug_config(project_id, job_id, get_debug_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
363
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig', options)
|
|
364
|
+
command.request_representation = Google::Apis::DataflowV1b3::GetDebugConfigRequest::Representation
|
|
365
|
+
command.request_object = get_debug_config_request_object
|
|
366
|
+
command.response_representation = Google::Apis::DataflowV1b3::GetDebugConfigResponse::Representation
|
|
367
|
+
command.response_class = Google::Apis::DataflowV1b3::GetDebugConfigResponse
|
|
399
368
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
400
|
-
command.params['location'] = location unless location.nil?
|
|
401
369
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
402
370
|
command.query['fields'] = fields unless fields.nil?
|
|
403
371
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
404
372
|
execute_or_queue_command(command, &block)
|
|
405
373
|
end
|
|
406
374
|
|
|
407
|
-
#
|
|
375
|
+
# Send encoded debug capture data for component.
|
|
408
376
|
# @param [String] project_id
|
|
409
|
-
# The
|
|
410
|
-
# @param [String]
|
|
411
|
-
# The
|
|
412
|
-
# @param [Google::Apis::DataflowV1b3::
|
|
413
|
-
# @param [String] replace_job_id
|
|
414
|
-
# Deprecated. This field is now in the Job message.
|
|
415
|
-
# @param [String] view
|
|
416
|
-
# The level of information requested in response.
|
|
377
|
+
# The project id.
|
|
378
|
+
# @param [String] job_id
|
|
379
|
+
# The job id.
|
|
380
|
+
# @param [Google::Apis::DataflowV1b3::SendDebugCaptureRequest] send_debug_capture_request_object
|
|
417
381
|
# @param [String] fields
|
|
418
382
|
# Selector specifying which fields to include in a partial response.
|
|
419
383
|
# @param [String] quota_user
|
|
@@ -423,76 +387,50 @@ module Google
|
|
|
423
387
|
# Request-specific options
|
|
424
388
|
#
|
|
425
389
|
# @yield [result, err] Result & error if block supplied
|
|
426
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
390
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::SendDebugCaptureResponse] parsed result object
|
|
427
391
|
# @yieldparam err [StandardError] error object if request failed
|
|
428
392
|
#
|
|
429
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
393
|
+
# @return [Google::Apis::DataflowV1b3::SendDebugCaptureResponse]
|
|
430
394
|
#
|
|
431
395
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
432
396
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
433
397
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
434
|
-
def
|
|
435
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/
|
|
436
|
-
command.request_representation = Google::Apis::DataflowV1b3::
|
|
437
|
-
command.request_object =
|
|
438
|
-
command.response_representation = Google::Apis::DataflowV1b3::
|
|
439
|
-
command.response_class = Google::Apis::DataflowV1b3::
|
|
398
|
+
def send_project_job_debug_capture(project_id, job_id, send_debug_capture_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
399
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture', options)
|
|
400
|
+
command.request_representation = Google::Apis::DataflowV1b3::SendDebugCaptureRequest::Representation
|
|
401
|
+
command.request_object = send_debug_capture_request_object
|
|
402
|
+
command.response_representation = Google::Apis::DataflowV1b3::SendDebugCaptureResponse::Representation
|
|
403
|
+
command.response_class = Google::Apis::DataflowV1b3::SendDebugCaptureResponse
|
|
440
404
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
441
|
-
command.params['
|
|
442
|
-
command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil?
|
|
443
|
-
command.query['view'] = view unless view.nil?
|
|
405
|
+
command.params['jobId'] = job_id unless job_id.nil?
|
|
444
406
|
command.query['fields'] = fields unless fields.nil?
|
|
445
407
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
446
408
|
execute_or_queue_command(command, &block)
|
|
447
409
|
end
|
|
448
410
|
|
|
449
|
-
#
|
|
411
|
+
# Request the job status.
|
|
450
412
|
# @param [String] project_id
|
|
451
|
-
#
|
|
452
|
-
# @param [String] location
|
|
453
|
-
# The location which contains the WorkItem's job.
|
|
413
|
+
# A project id.
|
|
454
414
|
# @param [String] job_id
|
|
455
|
-
#
|
|
456
|
-
# @param [
|
|
457
|
-
#
|
|
458
|
-
#
|
|
459
|
-
# @param [String] quota_user
|
|
460
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
461
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
462
|
-
# @param [Google::Apis::RequestOptions] options
|
|
463
|
-
# Request-specific options
|
|
464
|
-
#
|
|
465
|
-
# @yield [result, err] Result & error if block supplied
|
|
466
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::LeaseWorkItemResponse] parsed result object
|
|
467
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
468
|
-
#
|
|
469
|
-
# @return [Google::Apis::DataflowV1b3::LeaseWorkItemResponse]
|
|
470
|
-
#
|
|
471
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
472
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
473
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
474
|
-
def lease_project_location_work_item(project_id, location, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
475
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease', options)
|
|
476
|
-
command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation
|
|
477
|
-
command.request_object = lease_work_item_request_object
|
|
478
|
-
command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation
|
|
479
|
-
command.response_class = Google::Apis::DataflowV1b3::LeaseWorkItemResponse
|
|
480
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
481
|
-
command.params['location'] = location unless location.nil?
|
|
482
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
|
483
|
-
command.query['fields'] = fields unless fields.nil?
|
|
484
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
485
|
-
execute_or_queue_command(command, &block)
|
|
486
|
-
end
|
|
487
|
-
|
|
488
|
-
# Reports the status of dataflow WorkItems leased by a worker.
|
|
489
|
-
# @param [String] project_id
|
|
490
|
-
# The project which owns the WorkItem's job.
|
|
415
|
+
# The job to get messages about.
|
|
416
|
+
# @param [String] end_time
|
|
417
|
+
# Return only messages with timestamps < end_time. The default is now
|
|
418
|
+
# (i.e. return up to the latest messages available).
|
|
491
419
|
# @param [String] location
|
|
492
|
-
# The location which contains the
|
|
493
|
-
# @param [String]
|
|
494
|
-
#
|
|
495
|
-
# @param [
|
|
420
|
+
# The location which contains the job specified by job_id.
|
|
421
|
+
# @param [String] minimum_importance
|
|
422
|
+
# Filter to only get messages with importance >= level
|
|
423
|
+
# @param [Fixnum] page_size
|
|
424
|
+
# If specified, determines the maximum number of messages to
|
|
425
|
+
# return. If unspecified, the service may choose an appropriate
|
|
426
|
+
# default, or may return an arbitrarily large number of results.
|
|
427
|
+
# @param [String] page_token
|
|
428
|
+
# If supplied, this should be the value of next_page_token returned
|
|
429
|
+
# by an earlier call. This will cause the next page of results to
|
|
430
|
+
# be returned.
|
|
431
|
+
# @param [String] start_time
|
|
432
|
+
# If specified, return only messages with timestamps >= start_time.
|
|
433
|
+
# The default is the job creation time (i.e. beginning of messages).
|
|
496
434
|
# @param [String] fields
|
|
497
435
|
# Selector specifying which fields to include in a partial response.
|
|
498
436
|
# @param [String] quota_user
|
|
@@ -502,36 +440,37 @@ module Google
|
|
|
502
440
|
# Request-specific options
|
|
503
441
|
#
|
|
504
442
|
# @yield [result, err] Result & error if block supplied
|
|
505
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
443
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ListJobMessagesResponse] parsed result object
|
|
506
444
|
# @yieldparam err [StandardError] error object if request failed
|
|
507
445
|
#
|
|
508
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
446
|
+
# @return [Google::Apis::DataflowV1b3::ListJobMessagesResponse]
|
|
509
447
|
#
|
|
510
448
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
511
449
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
512
450
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
513
|
-
def
|
|
514
|
-
command = make_simple_command(:
|
|
515
|
-
command.
|
|
516
|
-
command.
|
|
517
|
-
command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation
|
|
518
|
-
command.response_class = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse
|
|
451
|
+
def list_project_job_messages(project_id, job_id, end_time: nil, location: nil, minimum_importance: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
452
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/messages', options)
|
|
453
|
+
command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation
|
|
454
|
+
command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse
|
|
519
455
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
520
|
-
command.params['location'] = location unless location.nil?
|
|
521
456
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
457
|
+
command.query['endTime'] = end_time unless end_time.nil?
|
|
458
|
+
command.query['location'] = location unless location.nil?
|
|
459
|
+
command.query['minimumImportance'] = minimum_importance unless minimum_importance.nil?
|
|
460
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
461
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
462
|
+
command.query['startTime'] = start_time unless start_time.nil?
|
|
522
463
|
command.query['fields'] = fields unless fields.nil?
|
|
523
464
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
524
465
|
execute_or_queue_command(command, &block)
|
|
525
466
|
end
|
|
526
467
|
|
|
527
|
-
#
|
|
468
|
+
# Leases a dataflow WorkItem to run.
|
|
528
469
|
# @param [String] project_id
|
|
529
|
-
#
|
|
530
|
-
# @param [String] location
|
|
531
|
-
# The location which contains the job specified by job_id.
|
|
470
|
+
# Identifies the project this worker belongs to.
|
|
532
471
|
# @param [String] job_id
|
|
533
|
-
#
|
|
534
|
-
# @param [Google::Apis::DataflowV1b3::
|
|
472
|
+
# Identifies the workflow job this worker belongs to.
|
|
473
|
+
# @param [Google::Apis::DataflowV1b3::LeaseWorkItemRequest] lease_work_item_request_object
|
|
535
474
|
# @param [String] fields
|
|
536
475
|
# Selector specifying which fields to include in a partial response.
|
|
537
476
|
# @param [String] quota_user
|
|
@@ -541,36 +480,33 @@ module Google
|
|
|
541
480
|
# Request-specific options
|
|
542
481
|
#
|
|
543
482
|
# @yield [result, err] Result & error if block supplied
|
|
544
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
483
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::LeaseWorkItemResponse] parsed result object
|
|
545
484
|
# @yieldparam err [StandardError] error object if request failed
|
|
546
485
|
#
|
|
547
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
486
|
+
# @return [Google::Apis::DataflowV1b3::LeaseWorkItemResponse]
|
|
548
487
|
#
|
|
549
488
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
550
489
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
551
490
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
552
|
-
def
|
|
553
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/
|
|
554
|
-
command.request_representation = Google::Apis::DataflowV1b3::
|
|
555
|
-
command.request_object =
|
|
556
|
-
command.response_representation = Google::Apis::DataflowV1b3::
|
|
557
|
-
command.response_class = Google::Apis::DataflowV1b3::
|
|
491
|
+
def lease_project_work_item(project_id, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
492
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', options)
|
|
493
|
+
command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation
|
|
494
|
+
command.request_object = lease_work_item_request_object
|
|
495
|
+
command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation
|
|
496
|
+
command.response_class = Google::Apis::DataflowV1b3::LeaseWorkItemResponse
|
|
558
497
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
559
|
-
command.params['location'] = location unless location.nil?
|
|
560
498
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
561
499
|
command.query['fields'] = fields unless fields.nil?
|
|
562
500
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
563
501
|
execute_or_queue_command(command, &block)
|
|
564
502
|
end
|
|
565
503
|
|
|
566
|
-
#
|
|
504
|
+
# Reports the status of dataflow WorkItems leased by a worker.
|
|
567
505
|
# @param [String] project_id
|
|
568
|
-
# The project
|
|
569
|
-
# @param [String] location
|
|
570
|
-
# The location which contains the job specified by job_id.
|
|
506
|
+
# The project which owns the WorkItem's job.
|
|
571
507
|
# @param [String] job_id
|
|
572
|
-
# The job
|
|
573
|
-
# @param [Google::Apis::DataflowV1b3::
|
|
508
|
+
# The job which the WorkItem is part of.
|
|
509
|
+
# @param [Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest] report_work_item_status_request_object
|
|
574
510
|
# @param [String] fields
|
|
575
511
|
# Selector specifying which fields to include in a partial response.
|
|
576
512
|
# @param [String] quota_user
|
|
@@ -580,51 +516,33 @@ module Google
|
|
|
580
516
|
# Request-specific options
|
|
581
517
|
#
|
|
582
518
|
# @yield [result, err] Result & error if block supplied
|
|
583
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
519
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] parsed result object
|
|
584
520
|
# @yieldparam err [StandardError] error object if request failed
|
|
585
521
|
#
|
|
586
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
522
|
+
# @return [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse]
|
|
587
523
|
#
|
|
588
524
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
589
525
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
590
526
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
591
|
-
def
|
|
592
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/
|
|
593
|
-
command.request_representation = Google::Apis::DataflowV1b3::
|
|
594
|
-
command.request_object =
|
|
595
|
-
command.response_representation = Google::Apis::DataflowV1b3::
|
|
596
|
-
command.response_class = Google::Apis::DataflowV1b3::
|
|
527
|
+
def report_project_job_work_item_status(project_id, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
528
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', options)
|
|
529
|
+
command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation
|
|
530
|
+
command.request_object = report_work_item_status_request_object
|
|
531
|
+
command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation
|
|
532
|
+
command.response_class = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse
|
|
597
533
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
598
|
-
command.params['location'] = location unless location.nil?
|
|
599
534
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
600
535
|
command.query['fields'] = fields unless fields.nil?
|
|
601
536
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
602
537
|
execute_or_queue_command(command, &block)
|
|
603
538
|
end
|
|
604
539
|
|
|
605
|
-
#
|
|
540
|
+
# Send a worker_message to the service.
|
|
606
541
|
# @param [String] project_id
|
|
607
|
-
#
|
|
542
|
+
# The project to send the WorkerMessages to.
|
|
608
543
|
# @param [String] location
|
|
609
|
-
# The location which contains the job
|
|
610
|
-
# @param [
|
|
611
|
-
# The job to get messages about.
|
|
612
|
-
# @param [String] end_time
|
|
613
|
-
# Return only messages with timestamps < end_time. The default is now
|
|
614
|
-
# (i.e. return up to the latest messages available).
|
|
615
|
-
# @param [String] start_time
|
|
616
|
-
# If specified, return only messages with timestamps >= start_time.
|
|
617
|
-
# The default is the job creation time (i.e. beginning of messages).
|
|
618
|
-
# @param [String] page_token
|
|
619
|
-
# If supplied, this should be the value of next_page_token returned
|
|
620
|
-
# by an earlier call. This will cause the next page of results to
|
|
621
|
-
# be returned.
|
|
622
|
-
# @param [Fixnum] page_size
|
|
623
|
-
# If specified, determines the maximum number of messages to
|
|
624
|
-
# return. If unspecified, the service may choose an appropriate
|
|
625
|
-
# default, or may return an arbitrarily large number of results.
|
|
626
|
-
# @param [String] minimum_importance
|
|
627
|
-
# Filter to only get messages with importance >= level
|
|
544
|
+
# The location which contains the job
|
|
545
|
+
# @param [Google::Apis::DataflowV1b3::SendWorkerMessagesRequest] send_worker_messages_request_object
|
|
628
546
|
# @param [String] fields
|
|
629
547
|
# Selector specifying which fields to include in a partial response.
|
|
630
548
|
# @param [String] quota_user
|
|
@@ -634,42 +552,37 @@ module Google
|
|
|
634
552
|
# Request-specific options
|
|
635
553
|
#
|
|
636
554
|
# @yield [result, err] Result & error if block supplied
|
|
637
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
555
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::SendWorkerMessagesResponse] parsed result object
|
|
638
556
|
# @yieldparam err [StandardError] error object if request failed
|
|
639
557
|
#
|
|
640
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
558
|
+
# @return [Google::Apis::DataflowV1b3::SendWorkerMessagesResponse]
|
|
641
559
|
#
|
|
642
560
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
643
561
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
644
562
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
645
|
-
def
|
|
646
|
-
command = make_simple_command(:
|
|
647
|
-
command.
|
|
648
|
-
command.
|
|
563
|
+
def worker_project_location_messages(project_id, location, send_worker_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
564
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/WorkerMessages', options)
|
|
565
|
+
command.request_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesRequest::Representation
|
|
566
|
+
command.request_object = send_worker_messages_request_object
|
|
567
|
+
command.response_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesResponse::Representation
|
|
568
|
+
command.response_class = Google::Apis::DataflowV1b3::SendWorkerMessagesResponse
|
|
649
569
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
650
570
|
command.params['location'] = location unless location.nil?
|
|
651
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
|
652
|
-
command.query['endTime'] = end_time unless end_time.nil?
|
|
653
|
-
command.query['startTime'] = start_time unless start_time.nil?
|
|
654
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
655
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
656
|
-
command.query['minimumImportance'] = minimum_importance unless minimum_importance.nil?
|
|
657
571
|
command.query['fields'] = fields unless fields.nil?
|
|
658
572
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
659
573
|
execute_or_queue_command(command, &block)
|
|
660
574
|
end
|
|
661
575
|
|
|
662
|
-
#
|
|
576
|
+
# Creates a Cloud Dataflow job.
|
|
663
577
|
# @param [String] project_id
|
|
664
|
-
#
|
|
578
|
+
# The ID of the Cloud Platform project that the job belongs to.
|
|
665
579
|
# @param [String] location
|
|
666
|
-
# The location
|
|
580
|
+
# The location that contains this job.
|
|
581
|
+
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
|
582
|
+
# @param [String] replace_job_id
|
|
583
|
+
# Deprecated. This field is now in the Job message.
|
|
667
584
|
# @param [String] view
|
|
668
|
-
# The
|
|
669
|
-
# @param [String] gcs_path
|
|
670
|
-
# Required. A Cloud Storage path to the template from which to
|
|
671
|
-
# create the job.
|
|
672
|
-
# Must be a valid Cloud Storage URL, beginning with `gs://`.
|
|
585
|
+
# The level of information requested in response.
|
|
673
586
|
# @param [String] fields
|
|
674
587
|
# Selector specifying which fields to include in a partial response.
|
|
675
588
|
# @param [String] quota_user
|
|
@@ -679,31 +592,38 @@ module Google
|
|
|
679
592
|
# Request-specific options
|
|
680
593
|
#
|
|
681
594
|
# @yield [result, err] Result & error if block supplied
|
|
682
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
595
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object
|
|
683
596
|
# @yieldparam err [StandardError] error object if request failed
|
|
684
597
|
#
|
|
685
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
598
|
+
# @return [Google::Apis::DataflowV1b3::Job]
|
|
686
599
|
#
|
|
687
600
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
688
601
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
689
602
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
690
|
-
def
|
|
691
|
-
command = make_simple_command(:
|
|
692
|
-
command.
|
|
693
|
-
command.
|
|
603
|
+
def create_project_location_job(project_id, location, job_object = nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
604
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs', options)
|
|
605
|
+
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
606
|
+
command.request_object = job_object
|
|
607
|
+
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
608
|
+
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
694
609
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
695
|
-
command.
|
|
610
|
+
command.params['location'] = location unless location.nil?
|
|
611
|
+
command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil?
|
|
696
612
|
command.query['view'] = view unless view.nil?
|
|
697
|
-
command.query['gcsPath'] = gcs_path unless gcs_path.nil?
|
|
698
613
|
command.query['fields'] = fields unless fields.nil?
|
|
699
614
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
700
615
|
execute_or_queue_command(command, &block)
|
|
701
616
|
end
|
|
702
617
|
|
|
703
|
-
#
|
|
618
|
+
# Gets the state of the specified Cloud Dataflow job.
|
|
704
619
|
# @param [String] project_id
|
|
705
|
-
#
|
|
706
|
-
# @param [
|
|
620
|
+
# The ID of the Cloud Platform project that the job belongs to.
|
|
621
|
+
# @param [String] location
|
|
622
|
+
# The location that contains this job.
|
|
623
|
+
# @param [String] job_id
|
|
624
|
+
# The job ID.
|
|
625
|
+
# @param [String] view
|
|
626
|
+
# The level of information requested in response.
|
|
707
627
|
# @param [String] fields
|
|
708
628
|
# Selector specifying which fields to include in a partial response.
|
|
709
629
|
# @param [String] quota_user
|
|
@@ -721,31 +641,29 @@ module Google
|
|
|
721
641
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
722
642
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
723
643
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
724
|
-
def
|
|
725
|
-
command = make_simple_command(:
|
|
726
|
-
command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation
|
|
727
|
-
command.request_object = create_job_from_template_request_object
|
|
644
|
+
def get_project_location_job(project_id, location, job_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
645
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
|
|
728
646
|
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
729
647
|
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
730
648
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
649
|
+
command.params['location'] = location unless location.nil?
|
|
650
|
+
command.params['jobId'] = job_id unless job_id.nil?
|
|
651
|
+
command.query['view'] = view unless view.nil?
|
|
731
652
|
command.query['fields'] = fields unless fields.nil?
|
|
732
653
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
733
654
|
execute_or_queue_command(command, &block)
|
|
734
655
|
end
|
|
735
656
|
|
|
736
|
-
#
|
|
657
|
+
# Request the job status.
|
|
737
658
|
# @param [String] project_id
|
|
738
|
-
#
|
|
739
|
-
# @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object
|
|
659
|
+
# A project id.
|
|
740
660
|
# @param [String] location
|
|
741
|
-
# The location
|
|
742
|
-
# @param [
|
|
743
|
-
#
|
|
744
|
-
#
|
|
745
|
-
#
|
|
746
|
-
#
|
|
747
|
-
# the job.
|
|
748
|
-
# Must be valid Cloud Storage URL, beginning with 'gs://'.
|
|
661
|
+
# The location which contains the job specified by job_id.
|
|
662
|
+
# @param [String] job_id
|
|
663
|
+
# The job to get messages for.
|
|
664
|
+
# @param [String] start_time
|
|
665
|
+
# Return only metric data that has changed since this time.
|
|
666
|
+
# Default is to return all information about all metrics for the job.
|
|
749
667
|
# @param [String] fields
|
|
750
668
|
# Selector specifying which fields to include in a partial response.
|
|
751
669
|
# @param [String] quota_user
|
|
@@ -755,43 +673,41 @@ module Google
|
|
|
755
673
|
# Request-specific options
|
|
756
674
|
#
|
|
757
675
|
# @yield [result, err] Result & error if block supplied
|
|
758
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
676
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::JobMetrics] parsed result object
|
|
759
677
|
# @yieldparam err [StandardError] error object if request failed
|
|
760
678
|
#
|
|
761
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
679
|
+
# @return [Google::Apis::DataflowV1b3::JobMetrics]
|
|
762
680
|
#
|
|
763
681
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
764
682
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
765
683
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
766
|
-
def
|
|
767
|
-
command = make_simple_command(:
|
|
768
|
-
command.
|
|
769
|
-
command.
|
|
770
|
-
command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation
|
|
771
|
-
command.response_class = Google::Apis::DataflowV1b3::LaunchTemplateResponse
|
|
684
|
+
def get_project_location_job_metrics(project_id, location, job_id, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
685
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics', options)
|
|
686
|
+
command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation
|
|
687
|
+
command.response_class = Google::Apis::DataflowV1b3::JobMetrics
|
|
772
688
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
773
|
-
command.
|
|
774
|
-
command.
|
|
775
|
-
command.query['
|
|
689
|
+
command.params['location'] = location unless location.nil?
|
|
690
|
+
command.params['jobId'] = job_id unless job_id.nil?
|
|
691
|
+
command.query['startTime'] = start_time unless start_time.nil?
|
|
776
692
|
command.query['fields'] = fields unless fields.nil?
|
|
777
693
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
778
694
|
execute_or_queue_command(command, &block)
|
|
779
695
|
end
|
|
780
696
|
|
|
781
|
-
# List the jobs of a project.
|
|
697
|
+
# List the jobs of a project in a given region.
|
|
782
698
|
# @param [String] project_id
|
|
783
699
|
# The project which owns the jobs.
|
|
784
|
-
# @param [String] filter
|
|
785
|
-
# The kind of filter to use.
|
|
786
700
|
# @param [String] location
|
|
787
701
|
# The location that contains this job.
|
|
788
|
-
# @param [String]
|
|
789
|
-
#
|
|
790
|
-
# to request additional results in a long list.
|
|
702
|
+
# @param [String] filter
|
|
703
|
+
# The kind of filter to use.
|
|
791
704
|
# @param [Fixnum] page_size
|
|
792
705
|
# If there are many jobs, limit response to at most this many.
|
|
793
706
|
# The actual number of jobs returned will be the lesser of max_responses
|
|
794
707
|
# and an unspecified server-defined limit.
|
|
708
|
+
# @param [String] page_token
|
|
709
|
+
# Set this to the 'next_page_token' field of a previous response
|
|
710
|
+
# to request additional results in a long list.
|
|
795
711
|
# @param [String] view
|
|
796
712
|
# Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
|
|
797
713
|
# @param [String] fields
|
|
@@ -811,30 +727,29 @@ module Google
|
|
|
811
727
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
812
728
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
813
729
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
814
|
-
def
|
|
815
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs', options)
|
|
730
|
+
def list_project_location_jobs(project_id, location, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
731
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs', options)
|
|
816
732
|
command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation
|
|
817
733
|
command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse
|
|
818
734
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
735
|
+
command.params['location'] = location unless location.nil?
|
|
819
736
|
command.query['filter'] = filter unless filter.nil?
|
|
820
|
-
command.query['location'] = location unless location.nil?
|
|
821
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
822
737
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
738
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
823
739
|
command.query['view'] = view unless view.nil?
|
|
824
740
|
command.query['fields'] = fields unless fields.nil?
|
|
825
741
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
826
742
|
execute_or_queue_command(command, &block)
|
|
827
743
|
end
|
|
828
744
|
|
|
829
|
-
#
|
|
745
|
+
# Updates the state of an existing Cloud Dataflow job.
|
|
830
746
|
# @param [String] project_id
|
|
831
747
|
# The ID of the Cloud Platform project that the job belongs to.
|
|
832
|
-
# @param [String] job_id
|
|
833
|
-
# The job ID.
|
|
834
|
-
# @param [String] view
|
|
835
|
-
# The level of information requested in response.
|
|
836
748
|
# @param [String] location
|
|
837
749
|
# The location that contains this job.
|
|
750
|
+
# @param [String] job_id
|
|
751
|
+
# The job ID.
|
|
752
|
+
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
|
838
753
|
# @param [String] fields
|
|
839
754
|
# Selector specifying which fields to include in a partial response.
|
|
840
755
|
# @param [String] quota_user
|
|
@@ -852,27 +767,28 @@ module Google
|
|
|
852
767
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
853
768
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
854
769
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
855
|
-
def
|
|
856
|
-
command = make_simple_command(:
|
|
770
|
+
def update_project_location_job(project_id, location, job_id, job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
771
|
+
command = make_simple_command(:put, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
|
|
772
|
+
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
773
|
+
command.request_object = job_object
|
|
857
774
|
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
858
775
|
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
859
776
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
777
|
+
command.params['location'] = location unless location.nil?
|
|
860
778
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
861
|
-
command.query['view'] = view unless view.nil?
|
|
862
|
-
command.query['location'] = location unless location.nil?
|
|
863
779
|
command.query['fields'] = fields unless fields.nil?
|
|
864
780
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
865
781
|
execute_or_queue_command(command, &block)
|
|
866
782
|
end
|
|
867
783
|
|
|
868
|
-
#
|
|
784
|
+
# Get encoded debug configuration for component. Not cacheable.
|
|
869
785
|
# @param [String] project_id
|
|
870
|
-
# The
|
|
871
|
-
# @param [String] job_id
|
|
872
|
-
# The job ID.
|
|
873
|
-
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
|
786
|
+
# The project id.
|
|
874
787
|
# @param [String] location
|
|
875
|
-
# The location
|
|
788
|
+
# The location which contains the job specified by job_id.
|
|
789
|
+
# @param [String] job_id
|
|
790
|
+
# The job id.
|
|
791
|
+
# @param [Google::Apis::DataflowV1b3::GetDebugConfigRequest] get_debug_config_request_object
|
|
876
792
|
# @param [String] fields
|
|
877
793
|
# Selector specifying which fields to include in a partial response.
|
|
878
794
|
# @param [String] quota_user
|
|
@@ -882,38 +798,36 @@ module Google
|
|
|
882
798
|
# Request-specific options
|
|
883
799
|
#
|
|
884
800
|
# @yield [result, err] Result & error if block supplied
|
|
885
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
801
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::GetDebugConfigResponse] parsed result object
|
|
886
802
|
# @yieldparam err [StandardError] error object if request failed
|
|
887
803
|
#
|
|
888
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
804
|
+
# @return [Google::Apis::DataflowV1b3::GetDebugConfigResponse]
|
|
889
805
|
#
|
|
890
806
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
891
807
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
892
808
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
893
|
-
def
|
|
894
|
-
command = make_simple_command(:
|
|
895
|
-
command.request_representation = Google::Apis::DataflowV1b3::
|
|
896
|
-
command.request_object =
|
|
897
|
-
command.response_representation = Google::Apis::DataflowV1b3::
|
|
898
|
-
command.response_class = Google::Apis::DataflowV1b3::
|
|
809
|
+
def get_project_location_job_debug_config(project_id, location, job_id, get_debug_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
810
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig', options)
|
|
811
|
+
command.request_representation = Google::Apis::DataflowV1b3::GetDebugConfigRequest::Representation
|
|
812
|
+
command.request_object = get_debug_config_request_object
|
|
813
|
+
command.response_representation = Google::Apis::DataflowV1b3::GetDebugConfigResponse::Representation
|
|
814
|
+
command.response_class = Google::Apis::DataflowV1b3::GetDebugConfigResponse
|
|
899
815
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
816
|
+
command.params['location'] = location unless location.nil?
|
|
900
817
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
901
|
-
command.query['location'] = location unless location.nil?
|
|
902
818
|
command.query['fields'] = fields unless fields.nil?
|
|
903
819
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
904
820
|
execute_or_queue_command(command, &block)
|
|
905
821
|
end
|
|
906
822
|
|
|
907
|
-
#
|
|
823
|
+
# Send encoded debug capture data for component.
|
|
908
824
|
# @param [String] project_id
|
|
909
|
-
# The
|
|
910
|
-
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
|
911
|
-
# @param [String] view
|
|
912
|
-
# The level of information requested in response.
|
|
825
|
+
# The project id.
|
|
913
826
|
# @param [String] location
|
|
914
|
-
# The location
|
|
915
|
-
# @param [String]
|
|
916
|
-
#
|
|
827
|
+
# The location which contains the job specified by job_id.
|
|
828
|
+
# @param [String] job_id
|
|
829
|
+
# The job id.
|
|
830
|
+
# @param [Google::Apis::DataflowV1b3::SendDebugCaptureRequest] send_debug_capture_request_object
|
|
917
831
|
# @param [String] fields
|
|
918
832
|
# Selector specifying which fields to include in a partial response.
|
|
919
833
|
# @param [String] quota_user
|
|
@@ -923,24 +837,23 @@ module Google
|
|
|
923
837
|
# Request-specific options
|
|
924
838
|
#
|
|
925
839
|
# @yield [result, err] Result & error if block supplied
|
|
926
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
840
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::SendDebugCaptureResponse] parsed result object
|
|
927
841
|
# @yieldparam err [StandardError] error object if request failed
|
|
928
842
|
#
|
|
929
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
843
|
+
# @return [Google::Apis::DataflowV1b3::SendDebugCaptureResponse]
|
|
930
844
|
#
|
|
931
845
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
932
846
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
933
847
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
934
|
-
def
|
|
935
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs', options)
|
|
936
|
-
command.request_representation = Google::Apis::DataflowV1b3::
|
|
937
|
-
command.request_object =
|
|
938
|
-
command.response_representation = Google::Apis::DataflowV1b3::
|
|
939
|
-
command.response_class = Google::Apis::DataflowV1b3::
|
|
848
|
+
def send_project_location_job_debug_capture(project_id, location, job_id, send_debug_capture_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
849
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture', options)
|
|
850
|
+
command.request_representation = Google::Apis::DataflowV1b3::SendDebugCaptureRequest::Representation
|
|
851
|
+
command.request_object = send_debug_capture_request_object
|
|
852
|
+
command.response_representation = Google::Apis::DataflowV1b3::SendDebugCaptureResponse::Representation
|
|
853
|
+
command.response_class = Google::Apis::DataflowV1b3::SendDebugCaptureResponse
|
|
940
854
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
941
|
-
command.
|
|
942
|
-
command.
|
|
943
|
-
command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil?
|
|
855
|
+
command.params['location'] = location unless location.nil?
|
|
856
|
+
command.params['jobId'] = job_id unless job_id.nil?
|
|
944
857
|
command.query['fields'] = fields unless fields.nil?
|
|
945
858
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
946
859
|
execute_or_queue_command(command, &block)
|
|
@@ -949,13 +862,26 @@ module Google
|
|
|
949
862
|
# Request the job status.
|
|
950
863
|
# @param [String] project_id
|
|
951
864
|
# A project id.
|
|
952
|
-
# @param [String] job_id
|
|
953
|
-
# The job to get messages for.
|
|
954
865
|
# @param [String] location
|
|
955
866
|
# The location which contains the job specified by job_id.
|
|
867
|
+
# @param [String] job_id
|
|
868
|
+
# The job to get messages about.
|
|
869
|
+
# @param [String] end_time
|
|
870
|
+
# Return only messages with timestamps < end_time. The default is now
|
|
871
|
+
# (i.e. return up to the latest messages available).
|
|
872
|
+
# @param [String] minimum_importance
|
|
873
|
+
# Filter to only get messages with importance >= level
|
|
874
|
+
# @param [Fixnum] page_size
|
|
875
|
+
# If specified, determines the maximum number of messages to
|
|
876
|
+
# return. If unspecified, the service may choose an appropriate
|
|
877
|
+
# default, or may return an arbitrarily large number of results.
|
|
878
|
+
# @param [String] page_token
|
|
879
|
+
# If supplied, this should be the value of next_page_token returned
|
|
880
|
+
# by an earlier call. This will cause the next page of results to
|
|
881
|
+
# be returned.
|
|
956
882
|
# @param [String] start_time
|
|
957
|
-
#
|
|
958
|
-
#
|
|
883
|
+
# If specified, return only messages with timestamps >= start_time.
|
|
884
|
+
# The default is the job creation time (i.e. beginning of messages).
|
|
959
885
|
# @param [String] fields
|
|
960
886
|
# Selector specifying which fields to include in a partial response.
|
|
961
887
|
# @param [String] quota_user
|
|
@@ -965,30 +891,75 @@ module Google
|
|
|
965
891
|
# Request-specific options
|
|
966
892
|
#
|
|
967
893
|
# @yield [result, err] Result & error if block supplied
|
|
968
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
894
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ListJobMessagesResponse] parsed result object
|
|
969
895
|
# @yieldparam err [StandardError] error object if request failed
|
|
970
896
|
#
|
|
971
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
897
|
+
# @return [Google::Apis::DataflowV1b3::ListJobMessagesResponse]
|
|
972
898
|
#
|
|
973
899
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
974
900
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
975
901
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
976
|
-
def
|
|
977
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/
|
|
978
|
-
command.response_representation = Google::Apis::DataflowV1b3::
|
|
979
|
-
command.response_class = Google::Apis::DataflowV1b3::
|
|
902
|
+
def list_project_location_job_messages(project_id, location, job_id, end_time: nil, minimum_importance: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
903
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages', options)
|
|
904
|
+
command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation
|
|
905
|
+
command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse
|
|
980
906
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
907
|
+
command.params['location'] = location unless location.nil?
|
|
981
908
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
982
|
-
command.query['
|
|
909
|
+
command.query['endTime'] = end_time unless end_time.nil?
|
|
910
|
+
command.query['minimumImportance'] = minimum_importance unless minimum_importance.nil?
|
|
911
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
912
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
983
913
|
command.query['startTime'] = start_time unless start_time.nil?
|
|
984
914
|
command.query['fields'] = fields unless fields.nil?
|
|
985
915
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
986
916
|
execute_or_queue_command(command, &block)
|
|
987
917
|
end
|
|
988
918
|
|
|
919
|
+
# Leases a dataflow WorkItem to run.
|
|
920
|
+
# @param [String] project_id
|
|
921
|
+
# Identifies the project this worker belongs to.
|
|
922
|
+
# @param [String] location
|
|
923
|
+
# The location which contains the WorkItem's job.
|
|
924
|
+
# @param [String] job_id
|
|
925
|
+
# Identifies the workflow job this worker belongs to.
|
|
926
|
+
# @param [Google::Apis::DataflowV1b3::LeaseWorkItemRequest] lease_work_item_request_object
|
|
927
|
+
# @param [String] fields
|
|
928
|
+
# Selector specifying which fields to include in a partial response.
|
|
929
|
+
# @param [String] quota_user
|
|
930
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
931
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
932
|
+
# @param [Google::Apis::RequestOptions] options
|
|
933
|
+
# Request-specific options
|
|
934
|
+
#
|
|
935
|
+
# @yield [result, err] Result & error if block supplied
|
|
936
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::LeaseWorkItemResponse] parsed result object
|
|
937
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
938
|
+
#
|
|
939
|
+
# @return [Google::Apis::DataflowV1b3::LeaseWorkItemResponse]
|
|
940
|
+
#
|
|
941
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
942
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
943
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
944
|
+
def lease_project_location_work_item(project_id, location, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
945
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease', options)
|
|
946
|
+
command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation
|
|
947
|
+
command.request_object = lease_work_item_request_object
|
|
948
|
+
command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation
|
|
949
|
+
command.response_class = Google::Apis::DataflowV1b3::LeaseWorkItemResponse
|
|
950
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
951
|
+
command.params['location'] = location unless location.nil?
|
|
952
|
+
command.params['jobId'] = job_id unless job_id.nil?
|
|
953
|
+
command.query['fields'] = fields unless fields.nil?
|
|
954
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
955
|
+
execute_or_queue_command(command, &block)
|
|
956
|
+
end
|
|
957
|
+
|
|
989
958
|
# Reports the status of dataflow WorkItems leased by a worker.
|
|
990
959
|
# @param [String] project_id
|
|
991
960
|
# The project which owns the WorkItem's job.
|
|
961
|
+
# @param [String] location
|
|
962
|
+
# The location which contains the WorkItem's job.
|
|
992
963
|
# @param [String] job_id
|
|
993
964
|
# The job which the WorkItem is part of.
|
|
994
965
|
# @param [Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest] report_work_item_status_request_object
|
|
@@ -1009,25 +980,26 @@ module Google
|
|
|
1009
980
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1010
981
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1011
982
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1012
|
-
def
|
|
1013
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', options)
|
|
983
|
+
def report_project_location_job_work_item_status(project_id, location, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
984
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus', options)
|
|
1014
985
|
command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation
|
|
1015
986
|
command.request_object = report_work_item_status_request_object
|
|
1016
987
|
command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation
|
|
1017
988
|
command.response_class = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse
|
|
1018
989
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
990
|
+
command.params['location'] = location unless location.nil?
|
|
1019
991
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
1020
992
|
command.query['fields'] = fields unless fields.nil?
|
|
1021
993
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1022
994
|
execute_or_queue_command(command, &block)
|
|
1023
995
|
end
|
|
1024
996
|
|
|
1025
|
-
#
|
|
997
|
+
# Creates a Cloud Dataflow job from a template.
|
|
1026
998
|
# @param [String] project_id
|
|
1027
|
-
#
|
|
1028
|
-
# @param [String]
|
|
1029
|
-
#
|
|
1030
|
-
# @param [Google::Apis::DataflowV1b3::
|
|
999
|
+
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
1000
|
+
# @param [String] location
|
|
1001
|
+
# The location to which to direct the request.
|
|
1002
|
+
# @param [Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest] create_job_from_template_request_object
|
|
1031
1003
|
# @param [String] fields
|
|
1032
1004
|
# Selector specifying which fields to include in a partial response.
|
|
1033
1005
|
# @param [String] quota_user
|
|
@@ -1037,33 +1009,38 @@ module Google
|
|
|
1037
1009
|
# Request-specific options
|
|
1038
1010
|
#
|
|
1039
1011
|
# @yield [result, err] Result & error if block supplied
|
|
1040
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
1012
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object
|
|
1041
1013
|
# @yieldparam err [StandardError] error object if request failed
|
|
1042
1014
|
#
|
|
1043
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
1015
|
+
# @return [Google::Apis::DataflowV1b3::Job]
|
|
1044
1016
|
#
|
|
1045
1017
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1046
1018
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1047
1019
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1048
|
-
def
|
|
1049
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/
|
|
1050
|
-
command.request_representation = Google::Apis::DataflowV1b3::
|
|
1051
|
-
command.request_object =
|
|
1052
|
-
command.response_representation = Google::Apis::DataflowV1b3::
|
|
1053
|
-
command.response_class = Google::Apis::DataflowV1b3::
|
|
1020
|
+
def create_job_from_template_with_location(project_id, location, create_job_from_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1021
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates', options)
|
|
1022
|
+
command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation
|
|
1023
|
+
command.request_object = create_job_from_template_request_object
|
|
1024
|
+
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
1025
|
+
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
1054
1026
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
1055
|
-
command.params['
|
|
1027
|
+
command.params['location'] = location unless location.nil?
|
|
1056
1028
|
command.query['fields'] = fields unless fields.nil?
|
|
1057
1029
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1058
1030
|
execute_or_queue_command(command, &block)
|
|
1059
1031
|
end
|
|
1060
1032
|
|
|
1061
|
-
#
|
|
1033
|
+
# Get the template associated with a template.
|
|
1062
1034
|
# @param [String] project_id
|
|
1063
|
-
# The project
|
|
1064
|
-
# @param [String]
|
|
1065
|
-
# The
|
|
1066
|
-
# @param [
|
|
1035
|
+
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
1036
|
+
# @param [String] location
|
|
1037
|
+
# The location to which to direct the request.
|
|
1038
|
+
# @param [String] gcs_path
|
|
1039
|
+
# Required. A Cloud Storage path to the template from which to
|
|
1040
|
+
# create the job.
|
|
1041
|
+
# Must be a valid Cloud Storage URL, beginning with `gs://`.
|
|
1042
|
+
# @param [String] view
|
|
1043
|
+
# The view to retrieve. Defaults to METADATA_ONLY.
|
|
1067
1044
|
# @param [String] fields
|
|
1068
1045
|
# Selector specifying which fields to include in a partial response.
|
|
1069
1046
|
# @param [String] quota_user
|
|
@@ -1073,33 +1050,40 @@ module Google
|
|
|
1073
1050
|
# Request-specific options
|
|
1074
1051
|
#
|
|
1075
1052
|
# @yield [result, err] Result & error if block supplied
|
|
1076
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
1053
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::GetTemplateResponse] parsed result object
|
|
1077
1054
|
# @yieldparam err [StandardError] error object if request failed
|
|
1078
1055
|
#
|
|
1079
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
1056
|
+
# @return [Google::Apis::DataflowV1b3::GetTemplateResponse]
|
|
1080
1057
|
#
|
|
1081
1058
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1082
1059
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1083
1060
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1084
|
-
def
|
|
1085
|
-
command = make_simple_command(:
|
|
1086
|
-
command.
|
|
1087
|
-
command.
|
|
1088
|
-
command.response_representation = Google::Apis::DataflowV1b3::SendDebugCaptureResponse::Representation
|
|
1089
|
-
command.response_class = Google::Apis::DataflowV1b3::SendDebugCaptureResponse
|
|
1061
|
+
def get_project_location_template(project_id, location, gcs_path: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1062
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/templates:get', options)
|
|
1063
|
+
command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation
|
|
1064
|
+
command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse
|
|
1090
1065
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
1091
|
-
command.params['
|
|
1066
|
+
command.params['location'] = location unless location.nil?
|
|
1067
|
+
command.query['gcsPath'] = gcs_path unless gcs_path.nil?
|
|
1068
|
+
command.query['view'] = view unless view.nil?
|
|
1092
1069
|
command.query['fields'] = fields unless fields.nil?
|
|
1093
1070
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1094
1071
|
execute_or_queue_command(command, &block)
|
|
1095
1072
|
end
|
|
1096
1073
|
|
|
1097
|
-
#
|
|
1074
|
+
# Launch a template.
|
|
1098
1075
|
# @param [String] project_id
|
|
1099
|
-
# The project
|
|
1100
|
-
# @param [String]
|
|
1101
|
-
# The
|
|
1102
|
-
# @param [Google::Apis::DataflowV1b3::
|
|
1076
|
+
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
1077
|
+
# @param [String] location
|
|
1078
|
+
# The location to which to direct the request.
|
|
1079
|
+
# @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object
|
|
1080
|
+
# @param [String] gcs_path
|
|
1081
|
+
# Required. A Cloud Storage path to the template from which to create
|
|
1082
|
+
# the job.
|
|
1083
|
+
# Must be valid Cloud Storage URL, beginning with 'gs://'.
|
|
1084
|
+
# @param [Boolean] validate_only
|
|
1085
|
+
# If true, the request is validated but not actually executed.
|
|
1086
|
+
# Defaults to false.
|
|
1103
1087
|
# @param [String] fields
|
|
1104
1088
|
# Selector specifying which fields to include in a partial response.
|
|
1105
1089
|
# @param [String] quota_user
|
|
@@ -1109,50 +1093,73 @@ module Google
|
|
|
1109
1093
|
# Request-specific options
|
|
1110
1094
|
#
|
|
1111
1095
|
# @yield [result, err] Result & error if block supplied
|
|
1112
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
1096
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::LaunchTemplateResponse] parsed result object
|
|
1113
1097
|
# @yieldparam err [StandardError] error object if request failed
|
|
1114
1098
|
#
|
|
1115
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
1099
|
+
# @return [Google::Apis::DataflowV1b3::LaunchTemplateResponse]
|
|
1116
1100
|
#
|
|
1117
1101
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1118
1102
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1119
1103
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1120
|
-
def
|
|
1121
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/
|
|
1122
|
-
command.request_representation = Google::Apis::DataflowV1b3::
|
|
1123
|
-
command.request_object =
|
|
1124
|
-
command.response_representation = Google::Apis::DataflowV1b3::
|
|
1125
|
-
command.response_class = Google::Apis::DataflowV1b3::
|
|
1104
|
+
def launch_project_location_template(project_id, location, launch_template_parameters_object = nil, gcs_path: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1105
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates:launch', options)
|
|
1106
|
+
command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation
|
|
1107
|
+
command.request_object = launch_template_parameters_object
|
|
1108
|
+
command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation
|
|
1109
|
+
command.response_class = Google::Apis::DataflowV1b3::LaunchTemplateResponse
|
|
1126
1110
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
1127
|
-
command.params['
|
|
1111
|
+
command.params['location'] = location unless location.nil?
|
|
1112
|
+
command.query['gcsPath'] = gcs_path unless gcs_path.nil?
|
|
1113
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
|
1128
1114
|
command.query['fields'] = fields unless fields.nil?
|
|
1129
1115
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1130
1116
|
execute_or_queue_command(command, &block)
|
|
1131
1117
|
end
|
|
1132
1118
|
|
|
1133
|
-
#
|
|
1119
|
+
# Creates a Cloud Dataflow job from a template.
|
|
1134
1120
|
# @param [String] project_id
|
|
1135
|
-
#
|
|
1136
|
-
# @param [
|
|
1137
|
-
#
|
|
1121
|
+
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
1122
|
+
# @param [Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest] create_job_from_template_request_object
|
|
1123
|
+
# @param [String] fields
|
|
1124
|
+
# Selector specifying which fields to include in a partial response.
|
|
1125
|
+
# @param [String] quota_user
|
|
1126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1128
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1129
|
+
# Request-specific options
|
|
1130
|
+
#
|
|
1131
|
+
# @yield [result, err] Result & error if block supplied
|
|
1132
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object
|
|
1133
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1134
|
+
#
|
|
1135
|
+
# @return [Google::Apis::DataflowV1b3::Job]
|
|
1136
|
+
#
|
|
1137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1140
|
+
def create_job_from_template(project_id, create_job_from_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1141
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates', options)
|
|
1142
|
+
command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation
|
|
1143
|
+
command.request_object = create_job_from_template_request_object
|
|
1144
|
+
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
1145
|
+
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
1146
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
1147
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1148
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1149
|
+
execute_or_queue_command(command, &block)
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1152
|
+
# Get the template associated with a template.
|
|
1153
|
+
# @param [String] project_id
|
|
1154
|
+
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
1155
|
+
# @param [String] gcs_path
|
|
1156
|
+
# Required. A Cloud Storage path to the template from which to
|
|
1157
|
+
# create the job.
|
|
1158
|
+
# Must be a valid Cloud Storage URL, beginning with `gs://`.
|
|
1138
1159
|
# @param [String] location
|
|
1139
|
-
# The location which
|
|
1140
|
-
# @param [String]
|
|
1141
|
-
#
|
|
1142
|
-
# (i.e. return up to the latest messages available).
|
|
1143
|
-
# @param [String] page_token
|
|
1144
|
-
# If supplied, this should be the value of next_page_token returned
|
|
1145
|
-
# by an earlier call. This will cause the next page of results to
|
|
1146
|
-
# be returned.
|
|
1147
|
-
# @param [String] start_time
|
|
1148
|
-
# If specified, return only messages with timestamps >= start_time.
|
|
1149
|
-
# The default is the job creation time (i.e. beginning of messages).
|
|
1150
|
-
# @param [Fixnum] page_size
|
|
1151
|
-
# If specified, determines the maximum number of messages to
|
|
1152
|
-
# return. If unspecified, the service may choose an appropriate
|
|
1153
|
-
# default, or may return an arbitrarily large number of results.
|
|
1154
|
-
# @param [String] minimum_importance
|
|
1155
|
-
# Filter to only get messages with importance >= level
|
|
1160
|
+
# The location to which to direct the request.
|
|
1161
|
+
# @param [String] view
|
|
1162
|
+
# The view to retrieve. Defaults to METADATA_ONLY.
|
|
1156
1163
|
# @param [String] fields
|
|
1157
1164
|
# Selector specifying which fields to include in a partial response.
|
|
1158
1165
|
# @param [String] quota_user
|
|
@@ -1162,26 +1169,67 @@ module Google
|
|
|
1162
1169
|
# Request-specific options
|
|
1163
1170
|
#
|
|
1164
1171
|
# @yield [result, err] Result & error if block supplied
|
|
1165
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
1172
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::GetTemplateResponse] parsed result object
|
|
1166
1173
|
# @yieldparam err [StandardError] error object if request failed
|
|
1167
1174
|
#
|
|
1168
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
1175
|
+
# @return [Google::Apis::DataflowV1b3::GetTemplateResponse]
|
|
1169
1176
|
#
|
|
1170
1177
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1171
1178
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1172
1179
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1173
|
-
def
|
|
1174
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/
|
|
1175
|
-
command.response_representation = Google::Apis::DataflowV1b3::
|
|
1176
|
-
command.response_class = Google::Apis::DataflowV1b3::
|
|
1180
|
+
def get_project_template(project_id, gcs_path: nil, location: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1181
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/templates:get', options)
|
|
1182
|
+
command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation
|
|
1183
|
+
command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse
|
|
1177
1184
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
1178
|
-
command.
|
|
1185
|
+
command.query['gcsPath'] = gcs_path unless gcs_path.nil?
|
|
1179
1186
|
command.query['location'] = location unless location.nil?
|
|
1180
|
-
command.query['
|
|
1181
|
-
command.query['
|
|
1182
|
-
command.query['
|
|
1183
|
-
command
|
|
1184
|
-
|
|
1187
|
+
command.query['view'] = view unless view.nil?
|
|
1188
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1189
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1190
|
+
execute_or_queue_command(command, &block)
|
|
1191
|
+
end
|
|
1192
|
+
|
|
1193
|
+
# Launch a template.
|
|
1194
|
+
# @param [String] project_id
|
|
1195
|
+
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
1196
|
+
# @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object
|
|
1197
|
+
# @param [String] gcs_path
|
|
1198
|
+
# Required. A Cloud Storage path to the template from which to create
|
|
1199
|
+
# the job.
|
|
1200
|
+
# Must be valid Cloud Storage URL, beginning with 'gs://'.
|
|
1201
|
+
# @param [String] location
|
|
1202
|
+
# The location to which to direct the request.
|
|
1203
|
+
# @param [Boolean] validate_only
|
|
1204
|
+
# If true, the request is validated but not actually executed.
|
|
1205
|
+
# Defaults to false.
|
|
1206
|
+
# @param [String] fields
|
|
1207
|
+
# Selector specifying which fields to include in a partial response.
|
|
1208
|
+
# @param [String] quota_user
|
|
1209
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1210
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1211
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1212
|
+
# Request-specific options
|
|
1213
|
+
#
|
|
1214
|
+
# @yield [result, err] Result & error if block supplied
|
|
1215
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::LaunchTemplateResponse] parsed result object
|
|
1216
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1217
|
+
#
|
|
1218
|
+
# @return [Google::Apis::DataflowV1b3::LaunchTemplateResponse]
|
|
1219
|
+
#
|
|
1220
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1221
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1222
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1223
|
+
def launch_project_template(project_id, launch_template_parameters_object = nil, gcs_path: nil, location: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1224
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates:launch', options)
|
|
1225
|
+
command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation
|
|
1226
|
+
command.request_object = launch_template_parameters_object
|
|
1227
|
+
command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation
|
|
1228
|
+
command.response_class = Google::Apis::DataflowV1b3::LaunchTemplateResponse
|
|
1229
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
1230
|
+
command.query['gcsPath'] = gcs_path unless gcs_path.nil?
|
|
1231
|
+
command.query['location'] = location unless location.nil?
|
|
1232
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
|
1185
1233
|
command.query['fields'] = fields unless fields.nil?
|
|
1186
1234
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1187
1235
|
execute_or_queue_command(command, &block)
|