google-api-client 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/api_names.yaml +945 -41609
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
- data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
- data/generated/google/apis/appengine_v1/representations.rb +362 -343
- data/generated/google/apis/appengine_v1/service.rb +220 -220
- 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 +5 -5
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
- data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
- data/generated/google/apis/civicinfo_v2/service.rb +12 -12
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +1013 -991
- data/generated/google/apis/classroom_v1/representations.rb +207 -204
- data/generated/google/apis/classroom_v1/service.rb +709 -709
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
- data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
- data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
- data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
- data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
- data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
- data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
- data/generated/google/apis/cloudkms_v1/service.rb +267 -267
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
- data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +163 -15
- data/generated/google/apis/compute_beta/representations.rb +54 -14
- data/generated/google/apis/compute_beta/service.rb +2258 -482
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +465 -13
- data/generated/google/apis/compute_v1/representations.rb +202 -16
- data/generated/google/apis/compute_v1/service.rb +573 -309
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +635 -589
- data/generated/google/apis/container_v1/representations.rb +139 -111
- data/generated/google/apis/container_v1/service.rb +272 -227
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +86 -74
- data/generated/google/apis/content_v2/representations.rb +107 -105
- data/generated/google/apis/content_v2/service.rb +131 -130
- data/generated/google/apis/customsearch_v1.rb +2 -2
- data/generated/google/apis/customsearch_v1/classes.rb +0 -6
- data/generated/google/apis/customsearch_v1/representations.rb +0 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -5
- data/generated/google/apis/dataflow_v1b3.rb +7 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
- data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
- data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +543 -691
- data/generated/google/apis/dataproc_v1/representations.rb +129 -185
- data/generated/google/apis/dataproc_v1/service.rb +347 -347
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +833 -833
- data/generated/google/apis/datastore_v1/representations.rb +182 -182
- data/generated/google/apis/datastore_v1/service.rb +45 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
- data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
- data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
- data/generated/google/apis/firebaserules_v1/service.rb +103 -103
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
- data/generated/google/apis/genomics_v1/representations.rb +291 -291
- data/generated/google/apis/genomics_v1/service.rb +821 -821
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/service.rb +3 -0
- data/generated/google/apis/iam_v1/classes.rb +338 -338
- data/generated/google/apis/iam_v1/representations.rb +98 -98
- data/generated/google/apis/iam_v1/service.rb +35 -35
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +374 -374
- data/generated/google/apis/language_v1/representations.rb +97 -97
- data/generated/google/apis/language_v1/service.rb +16 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +441 -441
- data/generated/google/apis/language_v1beta1/representations.rb +108 -108
- data/generated/google/apis/language_v1beta1/service.rb +30 -30
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +712 -712
- data/generated/google/apis/logging_v2/representations.rb +109 -109
- data/generated/google/apis/logging_v2/service.rb +543 -539
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
- data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
- data/generated/google/apis/logging_v2beta1/service.rb +257 -256
- data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
- data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1830 -1210
- data/generated/google/apis/ml_v1/representations.rb +342 -120
- data/generated/google/apis/ml_v1/service.rb +365 -258
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +889 -889
- data/generated/google/apis/monitoring_v3/representations.rb +174 -174
- data/generated/google/apis/monitoring_v3/service.rb +119 -119
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +550 -536
- data/generated/google/apis/partners_v2/representations.rb +118 -116
- data/generated/google/apis/partners_v2/service.rb +439 -439
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +414 -413
- data/generated/google/apis/people_v1/representations.rb +85 -85
- data/generated/google/apis/people_v1/service.rb +111 -18
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
- data/generated/google/apis/pubsub_v1/classes.rb +249 -249
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +415 -415
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +27 -27
- data/generated/google/apis/script_v1/representations.rb +5 -5
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
- data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
- data/generated/google/apis/searchconsole_v1/service.rb +4 -4
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
- data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
- data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
- data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
- data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
- data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
- data/generated/google/apis/serviceuser_v1/service.rb +37 -37
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
- data/generated/google/apis/sheets_v4/representations.rb +994 -824
- data/generated/google/apis/sheets_v4/service.rb +80 -80
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2885 -2885
- data/generated/google/apis/slides_v1/representations.rb +310 -310
- data/generated/google/apis/slides_v1/service.rb +54 -54
- data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
- data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
- data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
- data/generated/google/apis/spanner_v1/representations.rb +174 -174
- data/generated/google/apis/spanner_v1/service.rb +497 -497
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
- data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
- data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +40 -6
- data/generated/google/apis/storage_v1/representations.rb +20 -4
- data/generated/google/apis/storage_v1/service.rb +61 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
- data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
- data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +12 -12
- data/generated/google/apis/translate_v2/representations.rb +10 -10
- data/generated/google/apis/translate_v2/service.rb +62 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1267 -1267
- data/generated/google/apis/vision_v1/representations.rb +200 -200
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
- data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
- data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -32,16 +32,16 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# @see https://cloud.google.com/dataflow
|
|
34
34
|
class DataflowService < Google::Apis::Core::BaseService
|
|
35
|
-
# @return [String]
|
|
36
|
-
# API key. Your API key identifies your project and provides you with API access,
|
|
37
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
38
|
-
attr_accessor :key
|
|
39
|
-
|
|
40
35
|
# @return [String]
|
|
41
36
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
42
37
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
43
38
|
attr_accessor :quota_user
|
|
44
39
|
|
|
40
|
+
# @return [String]
|
|
41
|
+
# API key. Your API key identifies your project and provides you with API access,
|
|
42
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
43
|
+
attr_accessor :key
|
|
44
|
+
|
|
45
45
|
def initialize
|
|
46
46
|
super('https://dataflow.googleapis.com/', '')
|
|
47
47
|
@batch_path = 'batch'
|
|
@@ -80,6 +80,80 @@ module Google
|
|
|
80
80
|
execute_or_queue_command(command, &block)
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
+
# Get the template associated with a template.
|
|
84
|
+
# @param [String] project_id
|
|
85
|
+
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
86
|
+
# @param [String] view
|
|
87
|
+
# The view to retrieve. Defaults to METADATA_ONLY.
|
|
88
|
+
# @param [String] gcs_path
|
|
89
|
+
# Required. A Cloud Storage path to the template from which to
|
|
90
|
+
# create the job.
|
|
91
|
+
# Must be a valid Cloud Storage URL, beginning with `gs://`.
|
|
92
|
+
# @param [String] location
|
|
93
|
+
# The location to which to direct the request.
|
|
94
|
+
# @param [String] quota_user
|
|
95
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
96
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
97
|
+
# @param [String] fields
|
|
98
|
+
# Selector specifying which fields to include in a partial response.
|
|
99
|
+
# @param [Google::Apis::RequestOptions] options
|
|
100
|
+
# Request-specific options
|
|
101
|
+
#
|
|
102
|
+
# @yield [result, err] Result & error if block supplied
|
|
103
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::GetTemplateResponse] parsed result object
|
|
104
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
105
|
+
#
|
|
106
|
+
# @return [Google::Apis::DataflowV1b3::GetTemplateResponse]
|
|
107
|
+
#
|
|
108
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
109
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
110
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
111
|
+
def get_project_template(project_id, view: nil, gcs_path: nil, location: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
112
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/templates:get', options)
|
|
113
|
+
command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation
|
|
114
|
+
command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse
|
|
115
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
116
|
+
command.query['view'] = view unless view.nil?
|
|
117
|
+
command.query['gcsPath'] = gcs_path unless gcs_path.nil?
|
|
118
|
+
command.query['location'] = location unless location.nil?
|
|
119
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
120
|
+
command.query['fields'] = fields unless fields.nil?
|
|
121
|
+
execute_or_queue_command(command, &block)
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# Creates a Cloud Dataflow job from a template.
|
|
125
|
+
# @param [String] project_id
|
|
126
|
+
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
127
|
+
# @param [Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest] create_job_from_template_request_object
|
|
128
|
+
# @param [String] quota_user
|
|
129
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
130
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
131
|
+
# @param [String] fields
|
|
132
|
+
# Selector specifying which fields to include in a partial response.
|
|
133
|
+
# @param [Google::Apis::RequestOptions] options
|
|
134
|
+
# Request-specific options
|
|
135
|
+
#
|
|
136
|
+
# @yield [result, err] Result & error if block supplied
|
|
137
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object
|
|
138
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
139
|
+
#
|
|
140
|
+
# @return [Google::Apis::DataflowV1b3::Job]
|
|
141
|
+
#
|
|
142
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
143
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
144
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
145
|
+
def create_job_from_template(project_id, create_job_from_template_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
146
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates', options)
|
|
147
|
+
command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation
|
|
148
|
+
command.request_object = create_job_from_template_request_object
|
|
149
|
+
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
150
|
+
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
151
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
152
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
153
|
+
command.query['fields'] = fields unless fields.nil?
|
|
154
|
+
execute_or_queue_command(command, &block)
|
|
155
|
+
end
|
|
156
|
+
|
|
83
157
|
# Launch a template.
|
|
84
158
|
# @param [String] project_id
|
|
85
159
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
@@ -125,17 +199,98 @@ module Google
|
|
|
125
199
|
execute_or_queue_command(command, &block)
|
|
126
200
|
end
|
|
127
201
|
|
|
202
|
+
# Send a worker_message to the service.
|
|
203
|
+
# @param [String] project_id
|
|
204
|
+
# The project to send the WorkerMessages to.
|
|
205
|
+
# @param [String] location
|
|
206
|
+
# The location which contains the job
|
|
207
|
+
# @param [Google::Apis::DataflowV1b3::SendWorkerMessagesRequest] send_worker_messages_request_object
|
|
208
|
+
# @param [String] quota_user
|
|
209
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
210
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
211
|
+
# @param [String] fields
|
|
212
|
+
# Selector specifying which fields to include in a partial response.
|
|
213
|
+
# @param [Google::Apis::RequestOptions] options
|
|
214
|
+
# Request-specific options
|
|
215
|
+
#
|
|
216
|
+
# @yield [result, err] Result & error if block supplied
|
|
217
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::SendWorkerMessagesResponse] parsed result object
|
|
218
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
219
|
+
#
|
|
220
|
+
# @return [Google::Apis::DataflowV1b3::SendWorkerMessagesResponse]
|
|
221
|
+
#
|
|
222
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
223
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
224
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
225
|
+
def worker_project_location_messages(project_id, location, send_worker_messages_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
226
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/WorkerMessages', options)
|
|
227
|
+
command.request_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesRequest::Representation
|
|
228
|
+
command.request_object = send_worker_messages_request_object
|
|
229
|
+
command.response_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesResponse::Representation
|
|
230
|
+
command.response_class = Google::Apis::DataflowV1b3::SendWorkerMessagesResponse
|
|
231
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
232
|
+
command.params['location'] = location unless location.nil?
|
|
233
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
234
|
+
command.query['fields'] = fields unless fields.nil?
|
|
235
|
+
execute_or_queue_command(command, &block)
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
# Launch a template.
|
|
239
|
+
# @param [String] project_id
|
|
240
|
+
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
241
|
+
# @param [String] location
|
|
242
|
+
# The location to which to direct the request.
|
|
243
|
+
# @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object
|
|
244
|
+
# @param [Boolean] validate_only
|
|
245
|
+
# If true, the request is validated but not actually executed.
|
|
246
|
+
# Defaults to false.
|
|
247
|
+
# @param [String] gcs_path
|
|
248
|
+
# Required. A Cloud Storage path to the template from which to create
|
|
249
|
+
# the job.
|
|
250
|
+
# Must be valid Cloud Storage URL, beginning with 'gs://'.
|
|
251
|
+
# @param [String] quota_user
|
|
252
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
253
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
254
|
+
# @param [String] fields
|
|
255
|
+
# Selector specifying which fields to include in a partial response.
|
|
256
|
+
# @param [Google::Apis::RequestOptions] options
|
|
257
|
+
# Request-specific options
|
|
258
|
+
#
|
|
259
|
+
# @yield [result, err] Result & error if block supplied
|
|
260
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::LaunchTemplateResponse] parsed result object
|
|
261
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
262
|
+
#
|
|
263
|
+
# @return [Google::Apis::DataflowV1b3::LaunchTemplateResponse]
|
|
264
|
+
#
|
|
265
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
266
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
267
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
268
|
+
def launch_project_location_template(project_id, location, launch_template_parameters_object = nil, validate_only: nil, gcs_path: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
269
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates:launch', options)
|
|
270
|
+
command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation
|
|
271
|
+
command.request_object = launch_template_parameters_object
|
|
272
|
+
command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation
|
|
273
|
+
command.response_class = Google::Apis::DataflowV1b3::LaunchTemplateResponse
|
|
274
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
275
|
+
command.params['location'] = location unless location.nil?
|
|
276
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
|
277
|
+
command.query['gcsPath'] = gcs_path unless gcs_path.nil?
|
|
278
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
279
|
+
command.query['fields'] = fields unless fields.nil?
|
|
280
|
+
execute_or_queue_command(command, &block)
|
|
281
|
+
end
|
|
282
|
+
|
|
128
283
|
# Get the template associated with a template.
|
|
129
284
|
# @param [String] project_id
|
|
130
285
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
131
286
|
# @param [String] location
|
|
132
287
|
# The location to which to direct the request.
|
|
133
|
-
# @param [String] view
|
|
134
|
-
# The view to retrieve. Defaults to METADATA_ONLY.
|
|
135
288
|
# @param [String] gcs_path
|
|
136
289
|
# Required. A Cloud Storage path to the template from which to
|
|
137
290
|
# create the job.
|
|
138
291
|
# Must be a valid Cloud Storage URL, beginning with `gs://`.
|
|
292
|
+
# @param [String] view
|
|
293
|
+
# The view to retrieve. Defaults to METADATA_ONLY.
|
|
139
294
|
# @param [String] quota_user
|
|
140
295
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
141
296
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -153,14 +308,14 @@ module Google
|
|
|
153
308
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
154
309
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
155
310
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
156
|
-
def
|
|
157
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/templates:get', options)
|
|
311
|
+
def get_project_location_template(project_id, location, gcs_path: nil, view: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
312
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/templates:get', options)
|
|
158
313
|
command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation
|
|
159
314
|
command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse
|
|
160
315
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
161
|
-
command.
|
|
162
|
-
command.query['view'] = view unless view.nil?
|
|
316
|
+
command.params['location'] = location unless location.nil?
|
|
163
317
|
command.query['gcsPath'] = gcs_path unless gcs_path.nil?
|
|
318
|
+
command.query['view'] = view unless view.nil?
|
|
164
319
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
165
320
|
command.query['fields'] = fields unless fields.nil?
|
|
166
321
|
execute_or_queue_command(command, &block)
|
|
@@ -169,6 +324,8 @@ module Google
|
|
|
169
324
|
# Creates a Cloud Dataflow job from a template.
|
|
170
325
|
# @param [String] project_id
|
|
171
326
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
327
|
+
# @param [String] location
|
|
328
|
+
# The location to which to direct the request.
|
|
172
329
|
# @param [Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest] create_job_from_template_request_object
|
|
173
330
|
# @param [String] quota_user
|
|
174
331
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
@@ -187,24 +344,27 @@ module Google
|
|
|
187
344
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
188
345
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
189
346
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
190
|
-
def
|
|
191
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates', options)
|
|
347
|
+
def create_job_from_template_with_location(project_id, location, create_job_from_template_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
348
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates', options)
|
|
192
349
|
command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation
|
|
193
350
|
command.request_object = create_job_from_template_request_object
|
|
194
351
|
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
195
352
|
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
196
353
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
354
|
+
command.params['location'] = location unless location.nil?
|
|
197
355
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
198
356
|
command.query['fields'] = fields unless fields.nil?
|
|
199
357
|
execute_or_queue_command(command, &block)
|
|
200
358
|
end
|
|
201
359
|
|
|
202
|
-
#
|
|
360
|
+
# Updates the state of an existing Cloud Dataflow job.
|
|
203
361
|
# @param [String] project_id
|
|
204
|
-
# The project
|
|
362
|
+
# The ID of the Cloud Platform project that the job belongs to.
|
|
205
363
|
# @param [String] location
|
|
206
|
-
# The location
|
|
207
|
-
# @param [
|
|
364
|
+
# The location that contains this job.
|
|
365
|
+
# @param [String] job_id
|
|
366
|
+
# The job ID.
|
|
367
|
+
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
|
208
368
|
# @param [String] quota_user
|
|
209
369
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
210
370
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -214,22 +374,23 @@ module Google
|
|
|
214
374
|
# Request-specific options
|
|
215
375
|
#
|
|
216
376
|
# @yield [result, err] Result & error if block supplied
|
|
217
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
377
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object
|
|
218
378
|
# @yieldparam err [StandardError] error object if request failed
|
|
219
379
|
#
|
|
220
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
380
|
+
# @return [Google::Apis::DataflowV1b3::Job]
|
|
221
381
|
#
|
|
222
382
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
223
383
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
224
384
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
225
|
-
def
|
|
226
|
-
command = make_simple_command(:
|
|
227
|
-
command.request_representation = Google::Apis::DataflowV1b3::
|
|
228
|
-
command.request_object =
|
|
229
|
-
command.response_representation = Google::Apis::DataflowV1b3::
|
|
230
|
-
command.response_class = Google::Apis::DataflowV1b3::
|
|
385
|
+
def update_project_location_job(project_id, location, job_id, job_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
386
|
+
command = make_simple_command(:put, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
|
|
387
|
+
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
388
|
+
command.request_object = job_object
|
|
389
|
+
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
390
|
+
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
231
391
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
232
392
|
command.params['location'] = location unless location.nil?
|
|
393
|
+
command.params['jobId'] = job_id unless job_id.nil?
|
|
233
394
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
234
395
|
command.query['fields'] = fields unless fields.nil?
|
|
235
396
|
execute_or_queue_command(command, &block)
|
|
@@ -241,10 +402,10 @@ module Google
|
|
|
241
402
|
# @param [String] location
|
|
242
403
|
# The location that contains this job.
|
|
243
404
|
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
|
244
|
-
# @param [String] view
|
|
245
|
-
# The level of information requested in response.
|
|
246
405
|
# @param [String] replace_job_id
|
|
247
406
|
# Deprecated. This field is now in the Job message.
|
|
407
|
+
# @param [String] view
|
|
408
|
+
# The level of information requested in response.
|
|
248
409
|
# @param [String] quota_user
|
|
249
410
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
250
411
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -262,7 +423,7 @@ module Google
|
|
|
262
423
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
263
424
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
264
425
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
265
|
-
def create_project_location_job(project_id, location, job_object = nil,
|
|
426
|
+
def create_project_location_job(project_id, location, job_object = nil, replace_job_id: nil, view: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
266
427
|
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs', options)
|
|
267
428
|
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
268
429
|
command.request_object = job_object
|
|
@@ -270,8 +431,8 @@ module Google
|
|
|
270
431
|
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
271
432
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
272
433
|
command.params['location'] = location unless location.nil?
|
|
273
|
-
command.query['view'] = view unless view.nil?
|
|
274
434
|
command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil?
|
|
435
|
+
command.query['view'] = view unless view.nil?
|
|
275
436
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
276
437
|
command.query['fields'] = fields unless fields.nil?
|
|
277
438
|
execute_or_queue_command(command, &block)
|
|
@@ -404,45 +565,6 @@ module Google
|
|
|
404
565
|
execute_or_queue_command(command, &block)
|
|
405
566
|
end
|
|
406
567
|
|
|
407
|
-
# Updates the state of an existing Cloud Dataflow job.
|
|
408
|
-
# @param [String] project_id
|
|
409
|
-
# The ID of the Cloud Platform project that the job belongs to.
|
|
410
|
-
# @param [String] location
|
|
411
|
-
# The location that contains this job.
|
|
412
|
-
# @param [String] job_id
|
|
413
|
-
# The job ID.
|
|
414
|
-
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
|
415
|
-
# @param [String] quota_user
|
|
416
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
417
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
418
|
-
# @param [String] fields
|
|
419
|
-
# Selector specifying which fields to include in a partial response.
|
|
420
|
-
# @param [Google::Apis::RequestOptions] options
|
|
421
|
-
# Request-specific options
|
|
422
|
-
#
|
|
423
|
-
# @yield [result, err] Result & error if block supplied
|
|
424
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object
|
|
425
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
426
|
-
#
|
|
427
|
-
# @return [Google::Apis::DataflowV1b3::Job]
|
|
428
|
-
#
|
|
429
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
430
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
431
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
432
|
-
def update_project_location_job(project_id, location, job_id, job_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
433
|
-
command = make_simple_command(:put, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
|
|
434
|
-
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
435
|
-
command.request_object = job_object
|
|
436
|
-
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
437
|
-
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
438
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
439
|
-
command.params['location'] = location unless location.nil?
|
|
440
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
|
441
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
442
|
-
command.query['fields'] = fields unless fields.nil?
|
|
443
|
-
execute_or_queue_command(command, &block)
|
|
444
|
-
end
|
|
445
|
-
|
|
446
568
|
# Get encoded debug configuration for component. Not cacheable.
|
|
447
569
|
# @param [String] project_id
|
|
448
570
|
# The project id.
|
|
@@ -656,98 +778,16 @@ module Google
|
|
|
656
778
|
execute_or_queue_command(command, &block)
|
|
657
779
|
end
|
|
658
780
|
|
|
659
|
-
#
|
|
660
|
-
# @param [String] project_id
|
|
661
|
-
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
662
|
-
# @param [String] location
|
|
663
|
-
# The location to which to direct the request.
|
|
664
|
-
# @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object
|
|
665
|
-
# @param [Boolean] validate_only
|
|
666
|
-
# If true, the request is validated but not actually executed.
|
|
667
|
-
# Defaults to false.
|
|
668
|
-
# @param [String] gcs_path
|
|
669
|
-
# Required. A Cloud Storage path to the template from which to create
|
|
670
|
-
# the job.
|
|
671
|
-
# Must be valid Cloud Storage URL, beginning with 'gs://'.
|
|
672
|
-
# @param [String] quota_user
|
|
673
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
674
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
675
|
-
# @param [String] fields
|
|
676
|
-
# Selector specifying which fields to include in a partial response.
|
|
677
|
-
# @param [Google::Apis::RequestOptions] options
|
|
678
|
-
# Request-specific options
|
|
679
|
-
#
|
|
680
|
-
# @yield [result, err] Result & error if block supplied
|
|
681
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::LaunchTemplateResponse] parsed result object
|
|
682
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
683
|
-
#
|
|
684
|
-
# @return [Google::Apis::DataflowV1b3::LaunchTemplateResponse]
|
|
685
|
-
#
|
|
686
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
687
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
688
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
689
|
-
def launch_project_location_template(project_id, location, launch_template_parameters_object = nil, validate_only: nil, gcs_path: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
690
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates:launch', options)
|
|
691
|
-
command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation
|
|
692
|
-
command.request_object = launch_template_parameters_object
|
|
693
|
-
command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation
|
|
694
|
-
command.response_class = Google::Apis::DataflowV1b3::LaunchTemplateResponse
|
|
695
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
696
|
-
command.params['location'] = location unless location.nil?
|
|
697
|
-
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
|
698
|
-
command.query['gcsPath'] = gcs_path unless gcs_path.nil?
|
|
699
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
700
|
-
command.query['fields'] = fields unless fields.nil?
|
|
701
|
-
execute_or_queue_command(command, &block)
|
|
702
|
-
end
|
|
703
|
-
|
|
704
|
-
# Get the template associated with a template.
|
|
705
|
-
# @param [String] project_id
|
|
706
|
-
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
707
|
-
# @param [String] location
|
|
708
|
-
# The location to which to direct the request.
|
|
709
|
-
# @param [String] view
|
|
710
|
-
# The view to retrieve. Defaults to METADATA_ONLY.
|
|
711
|
-
# @param [String] gcs_path
|
|
712
|
-
# Required. A Cloud Storage path to the template from which to
|
|
713
|
-
# create the job.
|
|
714
|
-
# Must be a valid Cloud Storage URL, beginning with `gs://`.
|
|
715
|
-
# @param [String] quota_user
|
|
716
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
717
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
718
|
-
# @param [String] fields
|
|
719
|
-
# Selector specifying which fields to include in a partial response.
|
|
720
|
-
# @param [Google::Apis::RequestOptions] options
|
|
721
|
-
# Request-specific options
|
|
722
|
-
#
|
|
723
|
-
# @yield [result, err] Result & error if block supplied
|
|
724
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::GetTemplateResponse] parsed result object
|
|
725
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
726
|
-
#
|
|
727
|
-
# @return [Google::Apis::DataflowV1b3::GetTemplateResponse]
|
|
728
|
-
#
|
|
729
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
730
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
731
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
732
|
-
def get_project_location_template(project_id, location, view: nil, gcs_path: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
733
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/templates:get', options)
|
|
734
|
-
command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation
|
|
735
|
-
command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse
|
|
736
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
737
|
-
command.params['location'] = location unless location.nil?
|
|
738
|
-
command.query['view'] = view unless view.nil?
|
|
739
|
-
command.query['gcsPath'] = gcs_path unless gcs_path.nil?
|
|
740
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
741
|
-
command.query['fields'] = fields unless fields.nil?
|
|
742
|
-
execute_or_queue_command(command, &block)
|
|
743
|
-
end
|
|
744
|
-
|
|
745
|
-
# Creates a Cloud Dataflow job from a template.
|
|
781
|
+
# Request the job status.
|
|
746
782
|
# @param [String] project_id
|
|
747
|
-
#
|
|
783
|
+
# A project id.
|
|
784
|
+
# @param [String] job_id
|
|
785
|
+
# The job to get messages for.
|
|
748
786
|
# @param [String] location
|
|
749
|
-
# The location
|
|
750
|
-
# @param [
|
|
787
|
+
# The location which contains the job specified by job_id.
|
|
788
|
+
# @param [String] start_time
|
|
789
|
+
# Return only metric data that has changed since this time.
|
|
790
|
+
# Default is to return all information about all metrics for the job.
|
|
751
791
|
# @param [String] quota_user
|
|
752
792
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
753
793
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -757,22 +797,22 @@ module Google
|
|
|
757
797
|
# Request-specific options
|
|
758
798
|
#
|
|
759
799
|
# @yield [result, err] Result & error if block supplied
|
|
760
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
800
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::JobMetrics] parsed result object
|
|
761
801
|
# @yieldparam err [StandardError] error object if request failed
|
|
762
802
|
#
|
|
763
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
803
|
+
# @return [Google::Apis::DataflowV1b3::JobMetrics]
|
|
764
804
|
#
|
|
765
805
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
766
806
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
767
807
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
768
|
-
def
|
|
769
|
-
command = make_simple_command(:
|
|
770
|
-
command.
|
|
771
|
-
command.
|
|
772
|
-
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
773
|
-
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
808
|
+
def get_project_job_metrics(project_id, job_id, location: nil, start_time: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
809
|
+
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options)
|
|
810
|
+
command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation
|
|
811
|
+
command.response_class = Google::Apis::DataflowV1b3::JobMetrics
|
|
774
812
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
775
|
-
command.params['
|
|
813
|
+
command.params['jobId'] = job_id unless job_id.nil?
|
|
814
|
+
command.query['location'] = location unless location.nil?
|
|
815
|
+
command.query['startTime'] = start_time unless start_time.nil?
|
|
776
816
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
777
817
|
command.query['fields'] = fields unless fields.nil?
|
|
778
818
|
execute_or_queue_command(command, &block)
|
|
@@ -783,10 +823,10 @@ module Google
|
|
|
783
823
|
# The ID of the Cloud Platform project that the job belongs to.
|
|
784
824
|
# @param [String] job_id
|
|
785
825
|
# The job ID.
|
|
786
|
-
# @param [String] view
|
|
787
|
-
# The level of information requested in response.
|
|
788
826
|
# @param [String] location
|
|
789
827
|
# The location that contains this job.
|
|
828
|
+
# @param [String] view
|
|
829
|
+
# The level of information requested in response.
|
|
790
830
|
# @param [String] quota_user
|
|
791
831
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
792
832
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -804,14 +844,14 @@ module Google
|
|
|
804
844
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
805
845
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
806
846
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
807
|
-
def get_project_job(project_id, job_id,
|
|
847
|
+
def get_project_job(project_id, job_id, location: nil, view: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
808
848
|
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}', options)
|
|
809
849
|
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
|
810
850
|
command.response_class = Google::Apis::DataflowV1b3::Job
|
|
811
851
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
812
852
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
813
|
-
command.query['view'] = view unless view.nil?
|
|
814
853
|
command.query['location'] = location unless location.nil?
|
|
854
|
+
command.query['view'] = view unless view.nil?
|
|
815
855
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
816
856
|
command.query['fields'] = fields unless fields.nil?
|
|
817
857
|
execute_or_queue_command(command, &block)
|
|
@@ -946,46 +986,6 @@ module Google
|
|
|
946
986
|
execute_or_queue_command(command, &block)
|
|
947
987
|
end
|
|
948
988
|
|
|
949
|
-
# Request the job status.
|
|
950
|
-
# @param [String] project_id
|
|
951
|
-
# A project id.
|
|
952
|
-
# @param [String] job_id
|
|
953
|
-
# The job to get messages for.
|
|
954
|
-
# @param [String] location
|
|
955
|
-
# The location which contains the job specified by job_id.
|
|
956
|
-
# @param [String] start_time
|
|
957
|
-
# Return only metric data that has changed since this time.
|
|
958
|
-
# Default is to return all information about all metrics for the job.
|
|
959
|
-
# @param [String] quota_user
|
|
960
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
961
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
962
|
-
# @param [String] fields
|
|
963
|
-
# Selector specifying which fields to include in a partial response.
|
|
964
|
-
# @param [Google::Apis::RequestOptions] options
|
|
965
|
-
# Request-specific options
|
|
966
|
-
#
|
|
967
|
-
# @yield [result, err] Result & error if block supplied
|
|
968
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::JobMetrics] parsed result object
|
|
969
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
970
|
-
#
|
|
971
|
-
# @return [Google::Apis::DataflowV1b3::JobMetrics]
|
|
972
|
-
#
|
|
973
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
974
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
975
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
976
|
-
def get_project_job_metrics(project_id, job_id, location: nil, start_time: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
977
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options)
|
|
978
|
-
command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation
|
|
979
|
-
command.response_class = Google::Apis::DataflowV1b3::JobMetrics
|
|
980
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
981
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
|
982
|
-
command.query['location'] = location unless location.nil?
|
|
983
|
-
command.query['startTime'] = start_time unless start_time.nil?
|
|
984
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
985
|
-
command.query['fields'] = fields unless fields.nil?
|
|
986
|
-
execute_or_queue_command(command, &block)
|
|
987
|
-
end
|
|
988
|
-
|
|
989
989
|
# Get encoded debug configuration for component. Not cacheable.
|
|
990
990
|
# @param [String] project_id
|
|
991
991
|
# The project id.
|
|
@@ -1058,12 +1058,12 @@ module Google
|
|
|
1058
1058
|
execute_or_queue_command(command, &block)
|
|
1059
1059
|
end
|
|
1060
1060
|
|
|
1061
|
-
#
|
|
1061
|
+
# Reports the status of dataflow WorkItems leased by a worker.
|
|
1062
1062
|
# @param [String] project_id
|
|
1063
|
-
#
|
|
1063
|
+
# The project which owns the WorkItem's job.
|
|
1064
1064
|
# @param [String] job_id
|
|
1065
|
-
#
|
|
1066
|
-
# @param [Google::Apis::DataflowV1b3::
|
|
1065
|
+
# The job which the WorkItem is part of.
|
|
1066
|
+
# @param [Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest] report_work_item_status_request_object
|
|
1067
1067
|
# @param [String] quota_user
|
|
1068
1068
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
1069
1069
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -1073,20 +1073,20 @@ module Google
|
|
|
1073
1073
|
# Request-specific options
|
|
1074
1074
|
#
|
|
1075
1075
|
# @yield [result, err] Result & error if block supplied
|
|
1076
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
1076
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] parsed result object
|
|
1077
1077
|
# @yieldparam err [StandardError] error object if request failed
|
|
1078
1078
|
#
|
|
1079
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
1079
|
+
# @return [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse]
|
|
1080
1080
|
#
|
|
1081
1081
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1082
1082
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1083
1083
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1084
|
-
def
|
|
1085
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:
|
|
1086
|
-
command.request_representation = Google::Apis::DataflowV1b3::
|
|
1087
|
-
command.request_object =
|
|
1088
|
-
command.response_representation = Google::Apis::DataflowV1b3::
|
|
1089
|
-
command.response_class = Google::Apis::DataflowV1b3::
|
|
1084
|
+
def report_project_job_work_item_status(project_id, job_id, report_work_item_status_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
1085
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', options)
|
|
1086
|
+
command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation
|
|
1087
|
+
command.request_object = report_work_item_status_request_object
|
|
1088
|
+
command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation
|
|
1089
|
+
command.response_class = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse
|
|
1090
1090
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
1091
1091
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
1092
1092
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -1094,12 +1094,12 @@ module Google
|
|
|
1094
1094
|
execute_or_queue_command(command, &block)
|
|
1095
1095
|
end
|
|
1096
1096
|
|
|
1097
|
-
#
|
|
1097
|
+
# Leases a dataflow WorkItem to run.
|
|
1098
1098
|
# @param [String] project_id
|
|
1099
|
-
#
|
|
1099
|
+
# Identifies the project this worker belongs to.
|
|
1100
1100
|
# @param [String] job_id
|
|
1101
|
-
#
|
|
1102
|
-
# @param [Google::Apis::DataflowV1b3::
|
|
1101
|
+
# Identifies the workflow job this worker belongs to.
|
|
1102
|
+
# @param [Google::Apis::DataflowV1b3::LeaseWorkItemRequest] lease_work_item_request_object
|
|
1103
1103
|
# @param [String] quota_user
|
|
1104
1104
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
1105
1105
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -1109,20 +1109,20 @@ module Google
|
|
|
1109
1109
|
# Request-specific options
|
|
1110
1110
|
#
|
|
1111
1111
|
# @yield [result, err] Result & error if block supplied
|
|
1112
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::
|
|
1112
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::LeaseWorkItemResponse] parsed result object
|
|
1113
1113
|
# @yieldparam err [StandardError] error object if request failed
|
|
1114
1114
|
#
|
|
1115
|
-
# @return [Google::Apis::DataflowV1b3::
|
|
1115
|
+
# @return [Google::Apis::DataflowV1b3::LeaseWorkItemResponse]
|
|
1116
1116
|
#
|
|
1117
1117
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1118
1118
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1119
1119
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1120
|
-
def
|
|
1121
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:
|
|
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::
|
|
1120
|
+
def lease_project_work_item(project_id, job_id, lease_work_item_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
1121
|
+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', options)
|
|
1122
|
+
command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation
|
|
1123
|
+
command.request_object = lease_work_item_request_object
|
|
1124
|
+
command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation
|
|
1125
|
+
command.response_class = Google::Apis::DataflowV1b3::LeaseWorkItemResponse
|
|
1126
1126
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
1127
1127
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
1128
1128
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -1135,11 +1135,6 @@ module Google
|
|
|
1135
1135
|
# A project id.
|
|
1136
1136
|
# @param [String] job_id
|
|
1137
1137
|
# The job to get messages about.
|
|
1138
|
-
# @param [String] location
|
|
1139
|
-
# The location which contains the job specified by job_id.
|
|
1140
|
-
# @param [String] end_time
|
|
1141
|
-
# Return only messages with timestamps < end_time. The default is now
|
|
1142
|
-
# (i.e. return up to the latest messages available).
|
|
1143
1138
|
# @param [String] page_token
|
|
1144
1139
|
# If supplied, this should be the value of next_page_token returned
|
|
1145
1140
|
# by an earlier call. This will cause the next page of results to
|
|
@@ -1153,6 +1148,11 @@ module Google
|
|
|
1153
1148
|
# default, or may return an arbitrarily large number of results.
|
|
1154
1149
|
# @param [String] minimum_importance
|
|
1155
1150
|
# Filter to only get messages with importance >= level
|
|
1151
|
+
# @param [String] location
|
|
1152
|
+
# The location which contains the job specified by job_id.
|
|
1153
|
+
# @param [String] end_time
|
|
1154
|
+
# Return only messages with timestamps < end_time. The default is now
|
|
1155
|
+
# (i.e. return up to the latest messages available).
|
|
1156
1156
|
# @param [String] quota_user
|
|
1157
1157
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
1158
1158
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -1170,18 +1170,18 @@ module Google
|
|
|
1170
1170
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1171
1171
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1172
1172
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1173
|
-
def list_project_job_messages(project_id, job_id,
|
|
1173
|
+
def list_project_job_messages(project_id, job_id, page_token: nil, start_time: nil, page_size: nil, minimum_importance: nil, location: nil, end_time: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
1174
1174
|
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/messages', options)
|
|
1175
1175
|
command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation
|
|
1176
1176
|
command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse
|
|
1177
1177
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
1178
1178
|
command.params['jobId'] = job_id unless job_id.nil?
|
|
1179
|
-
command.query['location'] = location unless location.nil?
|
|
1180
|
-
command.query['endTime'] = end_time unless end_time.nil?
|
|
1181
1179
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1182
1180
|
command.query['startTime'] = start_time unless start_time.nil?
|
|
1183
1181
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1184
1182
|
command.query['minimumImportance'] = minimum_importance unless minimum_importance.nil?
|
|
1183
|
+
command.query['location'] = location unless location.nil?
|
|
1184
|
+
command.query['endTime'] = end_time unless end_time.nil?
|
|
1185
1185
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1186
1186
|
command.query['fields'] = fields unless fields.nil?
|
|
1187
1187
|
execute_or_queue_command(command, &block)
|
|
@@ -1190,8 +1190,8 @@ module Google
|
|
|
1190
1190
|
protected
|
|
1191
1191
|
|
|
1192
1192
|
def apply_command_defaults(command)
|
|
1193
|
-
command.query['key'] = key unless key.nil?
|
|
1194
1193
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1194
|
+
command.query['key'] = key unless key.nil?
|
|
1195
1195
|
end
|
|
1196
1196
|
end
|
|
1197
1197
|
end
|