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
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
|
26
26
|
module DataprocV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170606'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -22,21 +22,184 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module DataprocV1
|
|
24
24
|
|
|
25
|
+
# Job scheduling options.Beta Feature: These options are available for testing
|
|
26
|
+
# purposes only. They may be changed before final release.
|
|
27
|
+
class JobScheduling
|
|
28
|
+
include Google::Apis::Core::Hashable
|
|
29
|
+
|
|
30
|
+
# Optional. Maximum number of times per hour a driver may be restarted as a
|
|
31
|
+
# result of driver terminating with non-zero code before job is reported failed.
|
|
32
|
+
# A job may be reported as thrashing if driver exits with non-zero code 4 times
|
|
33
|
+
# within 10 minute window.Maximum value is 10.
|
|
34
|
+
# Corresponds to the JSON property `maxFailuresPerHour`
|
|
35
|
+
# @return [Fixnum]
|
|
36
|
+
attr_accessor :max_failures_per_hour
|
|
37
|
+
|
|
38
|
+
def initialize(**args)
|
|
39
|
+
update!(**args)
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Update properties of this object
|
|
43
|
+
def update!(**args)
|
|
44
|
+
@max_failures_per_hour = args[:max_failures_per_hour] if args.key?(:max_failures_per_hour)
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Optional. The config settings for Google Compute Engine resources in an
|
|
49
|
+
# instance group, such as a master or worker group.
|
|
50
|
+
class InstanceGroupConfig
|
|
51
|
+
include Google::Apis::Core::Hashable
|
|
52
|
+
|
|
53
|
+
# Specifies the config of disk options for a group of VM instances.
|
|
54
|
+
# Corresponds to the JSON property `diskConfig`
|
|
55
|
+
# @return [Google::Apis::DataprocV1::DiskConfig]
|
|
56
|
+
attr_accessor :disk_config
|
|
57
|
+
|
|
58
|
+
# Required. The Google Compute Engine machine type used for cluster instances.
|
|
59
|
+
# Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-
|
|
60
|
+
# east1-a/machineTypes/n1-standard-2.
|
|
61
|
+
# Corresponds to the JSON property `machineTypeUri`
|
|
62
|
+
# @return [String]
|
|
63
|
+
attr_accessor :machine_type_uri
|
|
64
|
+
|
|
65
|
+
# Output-only. The Google Compute Engine image resource used for cluster
|
|
66
|
+
# instances. Inferred from SoftwareConfig.image_version.
|
|
67
|
+
# Corresponds to the JSON property `imageUri`
|
|
68
|
+
# @return [String]
|
|
69
|
+
attr_accessor :image_uri
|
|
70
|
+
|
|
71
|
+
# Specifies the resources used to actively manage an instance group.
|
|
72
|
+
# Corresponds to the JSON property `managedGroupConfig`
|
|
73
|
+
# @return [Google::Apis::DataprocV1::ManagedGroupConfig]
|
|
74
|
+
attr_accessor :managed_group_config
|
|
75
|
+
|
|
76
|
+
# Optional. Specifies that this instance group contains preemptible instances.
|
|
77
|
+
# Corresponds to the JSON property `isPreemptible`
|
|
78
|
+
# @return [Boolean]
|
|
79
|
+
attr_accessor :is_preemptible
|
|
80
|
+
alias_method :is_preemptible?, :is_preemptible
|
|
81
|
+
|
|
82
|
+
# Optional. The list of instance names. Cloud Dataproc derives the names from
|
|
83
|
+
# cluster_name, num_instances, and the instance group if not set by user (
|
|
84
|
+
# recommended practice is to let Cloud Dataproc derive the name).
|
|
85
|
+
# Corresponds to the JSON property `instanceNames`
|
|
86
|
+
# @return [Array<String>]
|
|
87
|
+
attr_accessor :instance_names
|
|
88
|
+
|
|
89
|
+
# Optional. The Google Compute Engine accelerator configuration for these
|
|
90
|
+
# instances.Beta Feature: This feature is still under development. It may be
|
|
91
|
+
# changed before final release.
|
|
92
|
+
# Corresponds to the JSON property `accelerators`
|
|
93
|
+
# @return [Array<Google::Apis::DataprocV1::AcceleratorConfig>]
|
|
94
|
+
attr_accessor :accelerators
|
|
95
|
+
|
|
96
|
+
# Required. The number of VM instances in the instance group. For master
|
|
97
|
+
# instance groups, must be set to 1.
|
|
98
|
+
# Corresponds to the JSON property `numInstances`
|
|
99
|
+
# @return [Fixnum]
|
|
100
|
+
attr_accessor :num_instances
|
|
101
|
+
|
|
102
|
+
def initialize(**args)
|
|
103
|
+
update!(**args)
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Update properties of this object
|
|
107
|
+
def update!(**args)
|
|
108
|
+
@disk_config = args[:disk_config] if args.key?(:disk_config)
|
|
109
|
+
@machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri)
|
|
110
|
+
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
|
111
|
+
@managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config)
|
|
112
|
+
@is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible)
|
|
113
|
+
@instance_names = args[:instance_names] if args.key?(:instance_names)
|
|
114
|
+
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
|
115
|
+
@num_instances = args[:num_instances] if args.key?(:num_instances)
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# A list of jobs in a project.
|
|
120
|
+
class ListJobsResponse
|
|
121
|
+
include Google::Apis::Core::Hashable
|
|
122
|
+
|
|
123
|
+
# Optional. This token is included in the response if there are more results to
|
|
124
|
+
# fetch. To fetch additional results, provide this value as the page_token in a
|
|
125
|
+
# subsequent <code>ListJobsRequest</code>.
|
|
126
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
127
|
+
# @return [String]
|
|
128
|
+
attr_accessor :next_page_token
|
|
129
|
+
|
|
130
|
+
# Output-only. Jobs list.
|
|
131
|
+
# Corresponds to the JSON property `jobs`
|
|
132
|
+
# @return [Array<Google::Apis::DataprocV1::Job>]
|
|
133
|
+
attr_accessor :jobs
|
|
134
|
+
|
|
135
|
+
def initialize(**args)
|
|
136
|
+
update!(**args)
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# Update properties of this object
|
|
140
|
+
def update!(**args)
|
|
141
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
142
|
+
@jobs = args[:jobs] if args.key?(:jobs)
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Specifies an executable to run on a fully configured node and a timeout period
|
|
147
|
+
# for executable completion.
|
|
148
|
+
class NodeInitializationAction
|
|
149
|
+
include Google::Apis::Core::Hashable
|
|
150
|
+
|
|
151
|
+
# Required. Google Cloud Storage URI of executable file.
|
|
152
|
+
# Corresponds to the JSON property `executableFile`
|
|
153
|
+
# @return [String]
|
|
154
|
+
attr_accessor :executable_file
|
|
155
|
+
|
|
156
|
+
# Optional. Amount of time executable has to complete. Default is 10 minutes.
|
|
157
|
+
# Cluster creation fails with an explanatory error message (the name of the
|
|
158
|
+
# executable that caused the error and the exceeded timeout period) if the
|
|
159
|
+
# executable is not completed at end of the timeout period.
|
|
160
|
+
# Corresponds to the JSON property `executionTimeout`
|
|
161
|
+
# @return [String]
|
|
162
|
+
attr_accessor :execution_timeout
|
|
163
|
+
|
|
164
|
+
def initialize(**args)
|
|
165
|
+
update!(**args)
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# Update properties of this object
|
|
169
|
+
def update!(**args)
|
|
170
|
+
@executable_file = args[:executable_file] if args.key?(:executable_file)
|
|
171
|
+
@execution_timeout = args[:execution_timeout] if args.key?(:execution_timeout)
|
|
172
|
+
end
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# A request to cancel a job.
|
|
176
|
+
class CancelJobRequest
|
|
177
|
+
include Google::Apis::Core::Hashable
|
|
178
|
+
|
|
179
|
+
def initialize(**args)
|
|
180
|
+
update!(**args)
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# Update properties of this object
|
|
184
|
+
def update!(**args)
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
|
|
25
188
|
# A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/
|
|
26
189
|
# ) queries.
|
|
27
190
|
class SparkSqlJob
|
|
28
191
|
include Google::Apis::Core::Hashable
|
|
29
192
|
|
|
30
|
-
# The HCFS URI of the script that contains SQL queries.
|
|
31
|
-
# Corresponds to the JSON property `queryFileUri`
|
|
32
|
-
# @return [String]
|
|
33
|
-
attr_accessor :query_file_uri
|
|
34
|
-
|
|
35
193
|
# A list of queries to run on a cluster.
|
|
36
194
|
# Corresponds to the JSON property `queryList`
|
|
37
195
|
# @return [Google::Apis::DataprocV1::QueryList]
|
|
38
196
|
attr_accessor :query_list
|
|
39
197
|
|
|
198
|
+
# The HCFS URI of the script that contains SQL queries.
|
|
199
|
+
# Corresponds to the JSON property `queryFileUri`
|
|
200
|
+
# @return [String]
|
|
201
|
+
attr_accessor :query_file_uri
|
|
202
|
+
|
|
40
203
|
# Optional. Mapping of query variable names to values (equivalent to the Spark
|
|
41
204
|
# SQL command: SET name="value";).
|
|
42
205
|
# Corresponds to the JSON property `scriptVariables`
|
|
@@ -66,8 +229,8 @@ module Google
|
|
|
66
229
|
|
|
67
230
|
# Update properties of this object
|
|
68
231
|
def update!(**args)
|
|
69
|
-
@query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri)
|
|
70
232
|
@query_list = args[:query_list] if args.key?(:query_list)
|
|
233
|
+
@query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri)
|
|
71
234
|
@script_variables = args[:script_variables] if args.key?(:script_variables)
|
|
72
235
|
@jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris)
|
|
73
236
|
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
|
@@ -80,11 +243,6 @@ module Google
|
|
|
80
243
|
class Cluster
|
|
81
244
|
include Google::Apis::Core::Hashable
|
|
82
245
|
|
|
83
|
-
# Required. The Google Cloud Platform project ID that the cluster belongs to.
|
|
84
|
-
# Corresponds to the JSON property `projectId`
|
|
85
|
-
# @return [String]
|
|
86
|
-
attr_accessor :project_id
|
|
87
|
-
|
|
88
246
|
# Optional. The labels to associate with this cluster. Label keys must contain 1
|
|
89
247
|
# to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/
|
|
90
248
|
# rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63
|
|
@@ -94,6 +252,11 @@ module Google
|
|
|
94
252
|
# @return [Hash<String,String>]
|
|
95
253
|
attr_accessor :labels
|
|
96
254
|
|
|
255
|
+
# The status of a cluster and its instances.
|
|
256
|
+
# Corresponds to the JSON property `status`
|
|
257
|
+
# @return [Google::Apis::DataprocV1::ClusterStatus]
|
|
258
|
+
attr_accessor :status
|
|
259
|
+
|
|
97
260
|
# Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature:
|
|
98
261
|
# This report is available for testing purposes only. It may be changed before
|
|
99
262
|
# final release.
|
|
@@ -101,11 +264,6 @@ module Google
|
|
|
101
264
|
# @return [Google::Apis::DataprocV1::ClusterMetrics]
|
|
102
265
|
attr_accessor :metrics
|
|
103
266
|
|
|
104
|
-
# The status of a cluster and its instances.
|
|
105
|
-
# Corresponds to the JSON property `status`
|
|
106
|
-
# @return [Google::Apis::DataprocV1::ClusterStatus]
|
|
107
|
-
attr_accessor :status
|
|
108
|
-
|
|
109
267
|
# Output-only. The previous cluster status.
|
|
110
268
|
# Corresponds to the JSON property `statusHistory`
|
|
111
269
|
# @return [Array<Google::Apis::DataprocV1::ClusterStatus>]
|
|
@@ -128,20 +286,25 @@ module Google
|
|
|
128
286
|
# @return [String]
|
|
129
287
|
attr_accessor :cluster_uuid
|
|
130
288
|
|
|
289
|
+
# Required. The Google Cloud Platform project ID that the cluster belongs to.
|
|
290
|
+
# Corresponds to the JSON property `projectId`
|
|
291
|
+
# @return [String]
|
|
292
|
+
attr_accessor :project_id
|
|
293
|
+
|
|
131
294
|
def initialize(**args)
|
|
132
295
|
update!(**args)
|
|
133
296
|
end
|
|
134
297
|
|
|
135
298
|
# Update properties of this object
|
|
136
299
|
def update!(**args)
|
|
137
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
|
138
300
|
@labels = args[:labels] if args.key?(:labels)
|
|
139
|
-
@metrics = args[:metrics] if args.key?(:metrics)
|
|
140
301
|
@status = args[:status] if args.key?(:status)
|
|
302
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
|
141
303
|
@status_history = args[:status_history] if args.key?(:status_history)
|
|
142
304
|
@config = args[:config] if args.key?(:config)
|
|
143
305
|
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
|
144
306
|
@cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
|
|
307
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
|
145
308
|
end
|
|
146
309
|
end
|
|
147
310
|
|
|
@@ -170,94 +333,29 @@ module Google
|
|
|
170
333
|
end
|
|
171
334
|
end
|
|
172
335
|
|
|
173
|
-
#
|
|
174
|
-
class
|
|
336
|
+
# Cloud Dataproc job config.
|
|
337
|
+
class JobPlacement
|
|
175
338
|
include Google::Apis::Core::Hashable
|
|
176
339
|
|
|
177
|
-
# A
|
|
178
|
-
#
|
|
179
|
-
#
|
|
180
|
-
attr_accessor :inner_state
|
|
181
|
-
|
|
182
|
-
# The time that the operation completed.
|
|
183
|
-
# Corresponds to the JSON property `endTime`
|
|
184
|
-
# @return [String]
|
|
185
|
-
attr_accessor :end_time
|
|
186
|
-
|
|
187
|
-
# The time that the operation was started by the server.
|
|
188
|
-
# Corresponds to the JSON property `startTime`
|
|
189
|
-
# @return [String]
|
|
190
|
-
attr_accessor :start_time
|
|
191
|
-
|
|
192
|
-
# Output-only Errors encountered during operation execution.
|
|
193
|
-
# Corresponds to the JSON property `warnings`
|
|
194
|
-
# @return [Array<String>]
|
|
195
|
-
attr_accessor :warnings
|
|
196
|
-
|
|
197
|
-
# The time that the operation was requested.
|
|
198
|
-
# Corresponds to the JSON property `insertTime`
|
|
199
|
-
# @return [String]
|
|
200
|
-
attr_accessor :insert_time
|
|
201
|
-
|
|
202
|
-
# Output-only Previous operation status.
|
|
203
|
-
# Corresponds to the JSON property `statusHistory`
|
|
204
|
-
# @return [Array<Google::Apis::DataprocV1::OperationStatus>]
|
|
205
|
-
attr_accessor :status_history
|
|
206
|
-
|
|
207
|
-
# Output-only The operation type.
|
|
208
|
-
# Corresponds to the JSON property `operationType`
|
|
209
|
-
# @return [String]
|
|
210
|
-
attr_accessor :operation_type
|
|
211
|
-
|
|
212
|
-
# Output-only Short description of operation.
|
|
213
|
-
# Corresponds to the JSON property `description`
|
|
214
|
-
# @return [String]
|
|
215
|
-
attr_accessor :description
|
|
216
|
-
|
|
217
|
-
# The status of the operation.
|
|
218
|
-
# Corresponds to the JSON property `status`
|
|
219
|
-
# @return [Google::Apis::DataprocV1::OperationStatus]
|
|
220
|
-
attr_accessor :status
|
|
221
|
-
|
|
222
|
-
# A message containing any operation metadata details.
|
|
223
|
-
# Corresponds to the JSON property `details`
|
|
224
|
-
# @return [String]
|
|
225
|
-
attr_accessor :details
|
|
226
|
-
|
|
227
|
-
# A message containing the operation state.
|
|
228
|
-
# Corresponds to the JSON property `state`
|
|
340
|
+
# Output-only. A cluster UUID generated by the Cloud Dataproc service when the
|
|
341
|
+
# job is submitted.
|
|
342
|
+
# Corresponds to the JSON property `clusterUuid`
|
|
229
343
|
# @return [String]
|
|
230
|
-
attr_accessor :
|
|
344
|
+
attr_accessor :cluster_uuid
|
|
231
345
|
|
|
232
|
-
#
|
|
346
|
+
# Required. The name of the cluster where the job will be submitted.
|
|
233
347
|
# Corresponds to the JSON property `clusterName`
|
|
234
348
|
# @return [String]
|
|
235
349
|
attr_accessor :cluster_name
|
|
236
350
|
|
|
237
|
-
# Cluster UUId for the operation.
|
|
238
|
-
# Corresponds to the JSON property `clusterUuid`
|
|
239
|
-
# @return [String]
|
|
240
|
-
attr_accessor :cluster_uuid
|
|
241
|
-
|
|
242
351
|
def initialize(**args)
|
|
243
352
|
update!(**args)
|
|
244
353
|
end
|
|
245
354
|
|
|
246
355
|
# Update properties of this object
|
|
247
356
|
def update!(**args)
|
|
248
|
-
@inner_state = args[:inner_state] if args.key?(:inner_state)
|
|
249
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
|
250
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
|
251
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
|
252
|
-
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
253
|
-
@status_history = args[:status_history] if args.key?(:status_history)
|
|
254
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
255
|
-
@description = args[:description] if args.key?(:description)
|
|
256
|
-
@status = args[:status] if args.key?(:status)
|
|
257
|
-
@details = args[:details] if args.key?(:details)
|
|
258
|
-
@state = args[:state] if args.key?(:state)
|
|
259
|
-
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
|
260
357
|
@cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
|
|
358
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
|
261
359
|
end
|
|
262
360
|
end
|
|
263
361
|
|
|
@@ -265,6 +363,13 @@ module Google
|
|
|
265
363
|
class SoftwareConfig
|
|
266
364
|
include Google::Apis::Core::Hashable
|
|
267
365
|
|
|
366
|
+
# Optional. The version of software inside the cluster. It must match the
|
|
367
|
+
# regular expression [0-9]+\.[0-9]+. If unspecified, it defaults to the latest
|
|
368
|
+
# version (see Cloud Dataproc Versioning).
|
|
369
|
+
# Corresponds to the JSON property `imageVersion`
|
|
370
|
+
# @return [String]
|
|
371
|
+
attr_accessor :image_version
|
|
372
|
+
|
|
268
373
|
# Optional. The properties to set on daemon config files.Property keys are
|
|
269
374
|
# specified in prefix:property format, such as core:fs.defaultFS. The following
|
|
270
375
|
# are supported prefixes and their mappings:
|
|
@@ -281,38 +386,41 @@ module Google
|
|
|
281
386
|
# @return [Hash<String,String>]
|
|
282
387
|
attr_accessor :properties
|
|
283
388
|
|
|
284
|
-
# Optional. The version of software inside the cluster. It must match the
|
|
285
|
-
# regular expression [0-9]+\.[0-9]+. If unspecified, it defaults to the latest
|
|
286
|
-
# version (see Cloud Dataproc Versioning).
|
|
287
|
-
# Corresponds to the JSON property `imageVersion`
|
|
288
|
-
# @return [String]
|
|
289
|
-
attr_accessor :image_version
|
|
290
|
-
|
|
291
389
|
def initialize(**args)
|
|
292
390
|
update!(**args)
|
|
293
391
|
end
|
|
294
392
|
|
|
295
393
|
# Update properties of this object
|
|
296
394
|
def update!(**args)
|
|
297
|
-
@properties = args[:properties] if args.key?(:properties)
|
|
298
395
|
@image_version = args[:image_version] if args.key?(:image_version)
|
|
396
|
+
@properties = args[:properties] if args.key?(:properties)
|
|
299
397
|
end
|
|
300
398
|
end
|
|
301
399
|
|
|
302
|
-
#
|
|
303
|
-
class
|
|
400
|
+
# The status of a cluster and its instances.
|
|
401
|
+
class ClusterStatus
|
|
304
402
|
include Google::Apis::Core::Hashable
|
|
305
403
|
|
|
306
|
-
#
|
|
307
|
-
#
|
|
404
|
+
# Output-only. Additional state information that includes status reported by the
|
|
405
|
+
# agent.
|
|
406
|
+
# Corresponds to the JSON property `substate`
|
|
308
407
|
# @return [String]
|
|
309
|
-
attr_accessor :
|
|
408
|
+
attr_accessor :substate
|
|
310
409
|
|
|
311
|
-
# Output-only.
|
|
312
|
-
#
|
|
313
|
-
# Corresponds to the JSON property `clusterUuid`
|
|
410
|
+
# Output-only. Time when this state was entered.
|
|
411
|
+
# Corresponds to the JSON property `stateStartTime`
|
|
314
412
|
# @return [String]
|
|
315
|
-
attr_accessor :
|
|
413
|
+
attr_accessor :state_start_time
|
|
414
|
+
|
|
415
|
+
# Output-only. Optional details of cluster's state.
|
|
416
|
+
# Corresponds to the JSON property `detail`
|
|
417
|
+
# @return [String]
|
|
418
|
+
attr_accessor :detail
|
|
419
|
+
|
|
420
|
+
# Output-only. The cluster's state.
|
|
421
|
+
# Corresponds to the JSON property `state`
|
|
422
|
+
# @return [String]
|
|
423
|
+
attr_accessor :state
|
|
316
424
|
|
|
317
425
|
def initialize(**args)
|
|
318
426
|
update!(**args)
|
|
@@ -320,8 +428,10 @@ module Google
|
|
|
320
428
|
|
|
321
429
|
# Update properties of this object
|
|
322
430
|
def update!(**args)
|
|
323
|
-
@
|
|
324
|
-
@
|
|
431
|
+
@substate = args[:substate] if args.key?(:substate)
|
|
432
|
+
@state_start_time = args[:state_start_time] if args.key?(:state_start_time)
|
|
433
|
+
@detail = args[:detail] if args.key?(:detail)
|
|
434
|
+
@state = args[:state] if args.key?(:state)
|
|
325
435
|
end
|
|
326
436
|
end
|
|
327
437
|
|
|
@@ -330,24 +440,6 @@ module Google
|
|
|
330
440
|
class PigJob
|
|
331
441
|
include Google::Apis::Core::Hashable
|
|
332
442
|
|
|
333
|
-
# Optional. Whether to continue executing queries if a query fails. The default
|
|
334
|
-
# value is false. Setting to true can be useful when executing independent
|
|
335
|
-
# parallel queries.
|
|
336
|
-
# Corresponds to the JSON property `continueOnFailure`
|
|
337
|
-
# @return [Boolean]
|
|
338
|
-
attr_accessor :continue_on_failure
|
|
339
|
-
alias_method :continue_on_failure?, :continue_on_failure
|
|
340
|
-
|
|
341
|
-
# The HCFS URI of the script that contains the Pig queries.
|
|
342
|
-
# Corresponds to the JSON property `queryFileUri`
|
|
343
|
-
# @return [String]
|
|
344
|
-
attr_accessor :query_file_uri
|
|
345
|
-
|
|
346
|
-
# A list of queries to run on a cluster.
|
|
347
|
-
# Corresponds to the JSON property `queryList`
|
|
348
|
-
# @return [Google::Apis::DataprocV1::QueryList]
|
|
349
|
-
attr_accessor :query_list
|
|
350
|
-
|
|
351
443
|
# Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and
|
|
352
444
|
# Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.
|
|
353
445
|
# Corresponds to the JSON property `jarFileUris`
|
|
@@ -373,46 +465,23 @@ module Google
|
|
|
373
465
|
# @return [Hash<String,String>]
|
|
374
466
|
attr_accessor :properties
|
|
375
467
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
#
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
@query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri)
|
|
384
|
-
@query_list = args[:query_list] if args.key?(:query_list)
|
|
385
|
-
@jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris)
|
|
386
|
-
@script_variables = args[:script_variables] if args.key?(:script_variables)
|
|
387
|
-
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
|
388
|
-
@properties = args[:properties] if args.key?(:properties)
|
|
389
|
-
end
|
|
390
|
-
end
|
|
391
|
-
|
|
392
|
-
# The status of a cluster and its instances.
|
|
393
|
-
class ClusterStatus
|
|
394
|
-
include Google::Apis::Core::Hashable
|
|
395
|
-
|
|
396
|
-
# Output-only. Optional details of cluster's state.
|
|
397
|
-
# Corresponds to the JSON property `detail`
|
|
398
|
-
# @return [String]
|
|
399
|
-
attr_accessor :detail
|
|
400
|
-
|
|
401
|
-
# Output-only. The cluster's state.
|
|
402
|
-
# Corresponds to the JSON property `state`
|
|
403
|
-
# @return [String]
|
|
404
|
-
attr_accessor :state
|
|
468
|
+
# Optional. Whether to continue executing queries if a query fails. The default
|
|
469
|
+
# value is false. Setting to true can be useful when executing independent
|
|
470
|
+
# parallel queries.
|
|
471
|
+
# Corresponds to the JSON property `continueOnFailure`
|
|
472
|
+
# @return [Boolean]
|
|
473
|
+
attr_accessor :continue_on_failure
|
|
474
|
+
alias_method :continue_on_failure?, :continue_on_failure
|
|
405
475
|
|
|
406
|
-
#
|
|
407
|
-
# Corresponds to the JSON property `
|
|
476
|
+
# The HCFS URI of the script that contains the Pig queries.
|
|
477
|
+
# Corresponds to the JSON property `queryFileUri`
|
|
408
478
|
# @return [String]
|
|
409
|
-
attr_accessor :
|
|
479
|
+
attr_accessor :query_file_uri
|
|
410
480
|
|
|
411
|
-
#
|
|
412
|
-
#
|
|
413
|
-
#
|
|
414
|
-
|
|
415
|
-
attr_accessor :substate
|
|
481
|
+
# A list of queries to run on a cluster.
|
|
482
|
+
# Corresponds to the JSON property `queryList`
|
|
483
|
+
# @return [Google::Apis::DataprocV1::QueryList]
|
|
484
|
+
attr_accessor :query_list
|
|
416
485
|
|
|
417
486
|
def initialize(**args)
|
|
418
487
|
update!(**args)
|
|
@@ -420,10 +489,13 @@ module Google
|
|
|
420
489
|
|
|
421
490
|
# Update properties of this object
|
|
422
491
|
def update!(**args)
|
|
423
|
-
@
|
|
424
|
-
@
|
|
425
|
-
@
|
|
426
|
-
@
|
|
492
|
+
@jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris)
|
|
493
|
+
@script_variables = args[:script_variables] if args.key?(:script_variables)
|
|
494
|
+
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
|
495
|
+
@properties = args[:properties] if args.key?(:properties)
|
|
496
|
+
@continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure)
|
|
497
|
+
@query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri)
|
|
498
|
+
@query_list = args[:query_list] if args.key?(:query_list)
|
|
427
499
|
end
|
|
428
500
|
end
|
|
429
501
|
|
|
@@ -431,11 +503,6 @@ module Google
|
|
|
431
503
|
class ListClustersResponse
|
|
432
504
|
include Google::Apis::Core::Hashable
|
|
433
505
|
|
|
434
|
-
# Output-only. The clusters in the project.
|
|
435
|
-
# Corresponds to the JSON property `clusters`
|
|
436
|
-
# @return [Array<Google::Apis::DataprocV1::Cluster>]
|
|
437
|
-
attr_accessor :clusters
|
|
438
|
-
|
|
439
506
|
# Output-only. This token is included in the response if there are more results
|
|
440
507
|
# to fetch. To fetch additional results, provide this value as the page_token in
|
|
441
508
|
# a subsequent ListClustersRequest.
|
|
@@ -443,14 +510,19 @@ module Google
|
|
|
443
510
|
# @return [String]
|
|
444
511
|
attr_accessor :next_page_token
|
|
445
512
|
|
|
513
|
+
# Output-only. The clusters in the project.
|
|
514
|
+
# Corresponds to the JSON property `clusters`
|
|
515
|
+
# @return [Array<Google::Apis::DataprocV1::Cluster>]
|
|
516
|
+
attr_accessor :clusters
|
|
517
|
+
|
|
446
518
|
def initialize(**args)
|
|
447
519
|
update!(**args)
|
|
448
520
|
end
|
|
449
521
|
|
|
450
522
|
# Update properties of this object
|
|
451
523
|
def update!(**args)
|
|
452
|
-
@clusters = args[:clusters] if args.key?(:clusters)
|
|
453
524
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
525
|
+
@clusters = args[:clusters] if args.key?(:clusters)
|
|
454
526
|
end
|
|
455
527
|
end
|
|
456
528
|
|
|
@@ -458,16 +530,42 @@ module Google
|
|
|
458
530
|
class Job
|
|
459
531
|
include Google::Apis::Core::Hashable
|
|
460
532
|
|
|
461
|
-
#
|
|
462
|
-
#
|
|
463
|
-
#
|
|
464
|
-
|
|
533
|
+
# Output-only. The collection of YARN applications spun up by this job.Beta
|
|
534
|
+
# Feature: This report is available for testing purposes only. It may be changed
|
|
535
|
+
# before final release.
|
|
536
|
+
# Corresponds to the JSON property `yarnApplications`
|
|
537
|
+
# @return [Array<Google::Apis::DataprocV1::YarnApplication>]
|
|
538
|
+
attr_accessor :yarn_applications
|
|
539
|
+
|
|
540
|
+
# A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/
|
|
541
|
+
# 0.9.0/python-programming-guide.html) applications on YARN.
|
|
542
|
+
# Corresponds to the JSON property `pysparkJob`
|
|
543
|
+
# @return [Google::Apis::DataprocV1::PySparkJob]
|
|
544
|
+
attr_accessor :pyspark_job
|
|
545
|
+
|
|
546
|
+
# Encapsulates the full scoping used to reference a job.
|
|
547
|
+
# Corresponds to the JSON property `reference`
|
|
548
|
+
# @return [Google::Apis::DataprocV1::JobReference]
|
|
549
|
+
attr_accessor :reference
|
|
550
|
+
|
|
551
|
+
# A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop.
|
|
552
|
+
# apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
|
|
553
|
+
# MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
|
|
554
|
+
# docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).
|
|
555
|
+
# Corresponds to the JSON property `hadoopJob`
|
|
556
|
+
# @return [Google::Apis::DataprocV1::HadoopJob]
|
|
557
|
+
attr_accessor :hadoop_job
|
|
465
558
|
|
|
466
559
|
# Cloud Dataproc job config.
|
|
467
560
|
# Corresponds to the JSON property `placement`
|
|
468
561
|
# @return [Google::Apis::DataprocV1::JobPlacement]
|
|
469
562
|
attr_accessor :placement
|
|
470
563
|
|
|
564
|
+
# Cloud Dataproc job status.
|
|
565
|
+
# Corresponds to the JSON property `status`
|
|
566
|
+
# @return [Google::Apis::DataprocV1::JobStatus]
|
|
567
|
+
attr_accessor :status
|
|
568
|
+
|
|
471
569
|
# Output-only. If present, the location of miscellaneous control files which may
|
|
472
570
|
# be used as part of job setup and handling. If not present, control files may
|
|
473
571
|
# be placed in the same location as driver_output_uri.
|
|
@@ -508,6 +606,12 @@ module Google
|
|
|
508
606
|
# @return [String]
|
|
509
607
|
attr_accessor :driver_output_resource_uri
|
|
510
608
|
|
|
609
|
+
# A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/
|
|
610
|
+
# ) queries.
|
|
611
|
+
# Corresponds to the JSON property `sparkSqlJob`
|
|
612
|
+
# @return [Google::Apis::DataprocV1::SparkSqlJob]
|
|
613
|
+
attr_accessor :spark_sql_job
|
|
614
|
+
|
|
511
615
|
# Output-only. The previous job status.
|
|
512
616
|
# Corresponds to the JSON property `statusHistory`
|
|
513
617
|
# @return [Array<Google::Apis::DataprocV1::JobStatus>]
|
|
@@ -519,59 +623,27 @@ module Google
|
|
|
519
623
|
# @return [Google::Apis::DataprocV1::SparkJob]
|
|
520
624
|
attr_accessor :spark_job
|
|
521
625
|
|
|
522
|
-
# A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/
|
|
523
|
-
# ) queries.
|
|
524
|
-
# Corresponds to the JSON property `sparkSqlJob`
|
|
525
|
-
# @return [Google::Apis::DataprocV1::SparkSqlJob]
|
|
526
|
-
attr_accessor :spark_sql_job
|
|
527
|
-
|
|
528
|
-
# Output-only. The collection of YARN applications spun up by this job.Beta
|
|
529
|
-
# Feature: This report is available for testing purposes only. It may be changed
|
|
530
|
-
# before final release.
|
|
531
|
-
# Corresponds to the JSON property `yarnApplications`
|
|
532
|
-
# @return [Array<Google::Apis::DataprocV1::YarnApplication>]
|
|
533
|
-
attr_accessor :yarn_applications
|
|
534
|
-
|
|
535
|
-
# A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/
|
|
536
|
-
# 0.9.0/python-programming-guide.html) applications on YARN.
|
|
537
|
-
# Corresponds to the JSON property `pysparkJob`
|
|
538
|
-
# @return [Google::Apis::DataprocV1::PySparkJob]
|
|
539
|
-
attr_accessor :pyspark_job
|
|
540
|
-
|
|
541
|
-
# Encapsulates the full scoping used to reference a job.
|
|
542
|
-
# Corresponds to the JSON property `reference`
|
|
543
|
-
# @return [Google::Apis::DataprocV1::JobReference]
|
|
544
|
-
attr_accessor :reference
|
|
545
|
-
|
|
546
|
-
# A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop.
|
|
547
|
-
# apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
|
|
548
|
-
# MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
|
|
549
|
-
# docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).
|
|
550
|
-
# Corresponds to the JSON property `hadoopJob`
|
|
551
|
-
# @return [Google::Apis::DataprocV1::HadoopJob]
|
|
552
|
-
attr_accessor :hadoop_job
|
|
553
|
-
|
|
554
626
|
def initialize(**args)
|
|
555
627
|
update!(**args)
|
|
556
628
|
end
|
|
557
629
|
|
|
558
630
|
# Update properties of this object
|
|
559
631
|
def update!(**args)
|
|
560
|
-
@
|
|
632
|
+
@yarn_applications = args[:yarn_applications] if args.key?(:yarn_applications)
|
|
633
|
+
@pyspark_job = args[:pyspark_job] if args.key?(:pyspark_job)
|
|
634
|
+
@reference = args[:reference] if args.key?(:reference)
|
|
635
|
+
@hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job)
|
|
561
636
|
@placement = args[:placement] if args.key?(:placement)
|
|
637
|
+
@status = args[:status] if args.key?(:status)
|
|
562
638
|
@driver_control_files_uri = args[:driver_control_files_uri] if args.key?(:driver_control_files_uri)
|
|
563
639
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
|
564
640
|
@pig_job = args[:pig_job] if args.key?(:pig_job)
|
|
565
641
|
@hive_job = args[:hive_job] if args.key?(:hive_job)
|
|
566
642
|
@labels = args[:labels] if args.key?(:labels)
|
|
567
643
|
@driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri)
|
|
644
|
+
@spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job)
|
|
568
645
|
@status_history = args[:status_history] if args.key?(:status_history)
|
|
569
646
|
@spark_job = args[:spark_job] if args.key?(:spark_job)
|
|
570
|
-
@spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job)
|
|
571
|
-
@yarn_applications = args[:yarn_applications] if args.key?(:yarn_applications)
|
|
572
|
-
@pyspark_job = args[:pyspark_job] if args.key?(:pyspark_job)
|
|
573
|
-
@reference = args[:reference] if args.key?(:reference)
|
|
574
|
-
@hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job)
|
|
575
647
|
end
|
|
576
648
|
end
|
|
577
649
|
|
|
@@ -580,30 +652,6 @@ module Google
|
|
|
580
652
|
class SparkJob
|
|
581
653
|
include Google::Apis::Core::Hashable
|
|
582
654
|
|
|
583
|
-
# The HCFS URI of the jar file that contains the main class.
|
|
584
|
-
# Corresponds to the JSON property `mainJarFileUri`
|
|
585
|
-
# @return [String]
|
|
586
|
-
attr_accessor :main_jar_file_uri
|
|
587
|
-
|
|
588
|
-
# Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver
|
|
589
|
-
# and tasks.
|
|
590
|
-
# Corresponds to the JSON property `jarFileUris`
|
|
591
|
-
# @return [Array<String>]
|
|
592
|
-
attr_accessor :jar_file_uris
|
|
593
|
-
|
|
594
|
-
# The runtime logging config of the job.
|
|
595
|
-
# Corresponds to the JSON property `loggingConfig`
|
|
596
|
-
# @return [Google::Apis::DataprocV1::LoggingConfig]
|
|
597
|
-
attr_accessor :logging_config
|
|
598
|
-
|
|
599
|
-
# Optional. A mapping of property names to values, used to configure Spark.
|
|
600
|
-
# Properties that conflict with values set by the Cloud Dataproc API may be
|
|
601
|
-
# overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
|
|
602
|
-
# and classes in user code.
|
|
603
|
-
# Corresponds to the JSON property `properties`
|
|
604
|
-
# @return [Hash<String,String>]
|
|
605
|
-
attr_accessor :properties
|
|
606
|
-
|
|
607
655
|
# Optional. The arguments to pass to the driver. Do not include arguments, such
|
|
608
656
|
# as --conf, that can be set as job properties, since a collision may occur that
|
|
609
657
|
# causes an incorrect job submission.
|
|
@@ -630,20 +678,44 @@ module Google
|
|
|
630
678
|
# @return [Array<String>]
|
|
631
679
|
attr_accessor :archive_uris
|
|
632
680
|
|
|
681
|
+
# The HCFS URI of the jar file that contains the main class.
|
|
682
|
+
# Corresponds to the JSON property `mainJarFileUri`
|
|
683
|
+
# @return [String]
|
|
684
|
+
attr_accessor :main_jar_file_uri
|
|
685
|
+
|
|
686
|
+
# Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver
|
|
687
|
+
# and tasks.
|
|
688
|
+
# Corresponds to the JSON property `jarFileUris`
|
|
689
|
+
# @return [Array<String>]
|
|
690
|
+
attr_accessor :jar_file_uris
|
|
691
|
+
|
|
692
|
+
# The runtime logging config of the job.
|
|
693
|
+
# Corresponds to the JSON property `loggingConfig`
|
|
694
|
+
# @return [Google::Apis::DataprocV1::LoggingConfig]
|
|
695
|
+
attr_accessor :logging_config
|
|
696
|
+
|
|
697
|
+
# Optional. A mapping of property names to values, used to configure Spark.
|
|
698
|
+
# Properties that conflict with values set by the Cloud Dataproc API may be
|
|
699
|
+
# overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
|
|
700
|
+
# and classes in user code.
|
|
701
|
+
# Corresponds to the JSON property `properties`
|
|
702
|
+
# @return [Hash<String,String>]
|
|
703
|
+
attr_accessor :properties
|
|
704
|
+
|
|
633
705
|
def initialize(**args)
|
|
634
706
|
update!(**args)
|
|
635
707
|
end
|
|
636
708
|
|
|
637
709
|
# Update properties of this object
|
|
638
710
|
def update!(**args)
|
|
639
|
-
@main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri)
|
|
640
|
-
@jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris)
|
|
641
|
-
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
|
642
|
-
@properties = args[:properties] if args.key?(:properties)
|
|
643
711
|
@args = args[:args] if args.key?(:args)
|
|
644
712
|
@file_uris = args[:file_uris] if args.key?(:file_uris)
|
|
645
713
|
@main_class = args[:main_class] if args.key?(:main_class)
|
|
646
714
|
@archive_uris = args[:archive_uris] if args.key?(:archive_uris)
|
|
715
|
+
@main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri)
|
|
716
|
+
@jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris)
|
|
717
|
+
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
|
718
|
+
@properties = args[:properties] if args.key?(:properties)
|
|
647
719
|
end
|
|
648
720
|
end
|
|
649
721
|
|
|
@@ -651,21 +723,16 @@ module Google
|
|
|
651
723
|
class JobStatus
|
|
652
724
|
include Google::Apis::Core::Hashable
|
|
653
725
|
|
|
654
|
-
# Output-only. The time when this state was entered.
|
|
655
|
-
# Corresponds to the JSON property `stateStartTime`
|
|
656
|
-
# @return [String]
|
|
657
|
-
attr_accessor :state_start_time
|
|
658
|
-
|
|
659
726
|
# Output-only. Additional state information, which includes status reported by
|
|
660
727
|
# the agent.
|
|
661
728
|
# Corresponds to the JSON property `substate`
|
|
662
729
|
# @return [String]
|
|
663
730
|
attr_accessor :substate
|
|
664
731
|
|
|
665
|
-
# Output-only.
|
|
666
|
-
# Corresponds to the JSON property `
|
|
732
|
+
# Output-only. The time when this state was entered.
|
|
733
|
+
# Corresponds to the JSON property `stateStartTime`
|
|
667
734
|
# @return [String]
|
|
668
|
-
attr_accessor :
|
|
735
|
+
attr_accessor :state_start_time
|
|
669
736
|
|
|
670
737
|
# Output-only. Optional job state details, such as an error description if the
|
|
671
738
|
# state is <code>ERROR</code>.
|
|
@@ -673,16 +740,21 @@ module Google
|
|
|
673
740
|
# @return [String]
|
|
674
741
|
attr_accessor :details
|
|
675
742
|
|
|
743
|
+
# Output-only. A state message specifying the overall job state.
|
|
744
|
+
# Corresponds to the JSON property `state`
|
|
745
|
+
# @return [String]
|
|
746
|
+
attr_accessor :state
|
|
747
|
+
|
|
676
748
|
def initialize(**args)
|
|
677
749
|
update!(**args)
|
|
678
750
|
end
|
|
679
751
|
|
|
680
752
|
# Update properties of this object
|
|
681
753
|
def update!(**args)
|
|
682
|
-
@state_start_time = args[:state_start_time] if args.key?(:state_start_time)
|
|
683
754
|
@substate = args[:substate] if args.key?(:substate)
|
|
684
|
-
@
|
|
755
|
+
@state_start_time = args[:state_start_time] if args.key?(:state_start_time)
|
|
685
756
|
@details = args[:details] if args.key?(:details)
|
|
757
|
+
@state = args[:state] if args.key?(:state)
|
|
686
758
|
end
|
|
687
759
|
end
|
|
688
760
|
|
|
@@ -716,6 +788,16 @@ module Google
|
|
|
716
788
|
class ClusterOperationStatus
|
|
717
789
|
include Google::Apis::Core::Hashable
|
|
718
790
|
|
|
791
|
+
# Output-only.A message containing any operation metadata details.
|
|
792
|
+
# Corresponds to the JSON property `details`
|
|
793
|
+
# @return [String]
|
|
794
|
+
attr_accessor :details
|
|
795
|
+
|
|
796
|
+
# Output-only. A message containing the operation state.
|
|
797
|
+
# Corresponds to the JSON property `state`
|
|
798
|
+
# @return [String]
|
|
799
|
+
attr_accessor :state
|
|
800
|
+
|
|
719
801
|
# Output-only. A message containing the detailed operation state.
|
|
720
802
|
# Corresponds to the JSON property `innerState`
|
|
721
803
|
# @return [String]
|
|
@@ -726,26 +808,16 @@ module Google
|
|
|
726
808
|
# @return [String]
|
|
727
809
|
attr_accessor :state_start_time
|
|
728
810
|
|
|
729
|
-
# Output-only. A message containing the operation state.
|
|
730
|
-
# Corresponds to the JSON property `state`
|
|
731
|
-
# @return [String]
|
|
732
|
-
attr_accessor :state
|
|
733
|
-
|
|
734
|
-
# Output-only.A message containing any operation metadata details.
|
|
735
|
-
# Corresponds to the JSON property `details`
|
|
736
|
-
# @return [String]
|
|
737
|
-
attr_accessor :details
|
|
738
|
-
|
|
739
811
|
def initialize(**args)
|
|
740
812
|
update!(**args)
|
|
741
813
|
end
|
|
742
814
|
|
|
743
815
|
# Update properties of this object
|
|
744
816
|
def update!(**args)
|
|
817
|
+
@details = args[:details] if args.key?(:details)
|
|
818
|
+
@state = args[:state] if args.key?(:state)
|
|
745
819
|
@inner_state = args[:inner_state] if args.key?(:inner_state)
|
|
746
820
|
@state_start_time = args[:state_start_time] if args.key?(:state_start_time)
|
|
747
|
-
@state = args[:state] if args.key?(:state)
|
|
748
|
-
@details = args[:details] if args.key?(:details)
|
|
749
821
|
end
|
|
750
822
|
end
|
|
751
823
|
|
|
@@ -756,19 +828,6 @@ module Google
|
|
|
756
828
|
class HadoopJob
|
|
757
829
|
include Google::Apis::Core::Hashable
|
|
758
830
|
|
|
759
|
-
# The name of the driver's main class. The jar file containing the class must be
|
|
760
|
-
# in the default CLASSPATH or specified in jar_file_uris.
|
|
761
|
-
# Corresponds to the JSON property `mainClass`
|
|
762
|
-
# @return [String]
|
|
763
|
-
attr_accessor :main_class
|
|
764
|
-
|
|
765
|
-
# Optional. HCFS URIs of archives to be extracted in the working directory of
|
|
766
|
-
# Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .
|
|
767
|
-
# zip.
|
|
768
|
-
# Corresponds to the JSON property `archiveUris`
|
|
769
|
-
# @return [Array<String>]
|
|
770
|
-
attr_accessor :archive_uris
|
|
771
|
-
|
|
772
831
|
# The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-
|
|
773
832
|
# bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-
|
|
774
833
|
# samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-
|
|
@@ -810,20 +869,33 @@ module Google
|
|
|
810
869
|
# @return [Array<String>]
|
|
811
870
|
attr_accessor :file_uris
|
|
812
871
|
|
|
872
|
+
# The name of the driver's main class. The jar file containing the class must be
|
|
873
|
+
# in the default CLASSPATH or specified in jar_file_uris.
|
|
874
|
+
# Corresponds to the JSON property `mainClass`
|
|
875
|
+
# @return [String]
|
|
876
|
+
attr_accessor :main_class
|
|
877
|
+
|
|
878
|
+
# Optional. HCFS URIs of archives to be extracted in the working directory of
|
|
879
|
+
# Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .
|
|
880
|
+
# zip.
|
|
881
|
+
# Corresponds to the JSON property `archiveUris`
|
|
882
|
+
# @return [Array<String>]
|
|
883
|
+
attr_accessor :archive_uris
|
|
884
|
+
|
|
813
885
|
def initialize(**args)
|
|
814
886
|
update!(**args)
|
|
815
887
|
end
|
|
816
888
|
|
|
817
889
|
# Update properties of this object
|
|
818
890
|
def update!(**args)
|
|
819
|
-
@main_class = args[:main_class] if args.key?(:main_class)
|
|
820
|
-
@archive_uris = args[:archive_uris] if args.key?(:archive_uris)
|
|
821
891
|
@main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri)
|
|
822
892
|
@jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris)
|
|
823
893
|
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
|
824
894
|
@properties = args[:properties] if args.key?(:properties)
|
|
825
895
|
@args = args[:args] if args.key?(:args)
|
|
826
896
|
@file_uris = args[:file_uris] if args.key?(:file_uris)
|
|
897
|
+
@main_class = args[:main_class] if args.key?(:main_class)
|
|
898
|
+
@archive_uris = args[:archive_uris] if args.key?(:archive_uris)
|
|
827
899
|
end
|
|
828
900
|
end
|
|
829
901
|
|
|
@@ -865,16 +937,6 @@ module Google
|
|
|
865
937
|
class YarnApplication
|
|
866
938
|
include Google::Apis::Core::Hashable
|
|
867
939
|
|
|
868
|
-
# Required. The application state.
|
|
869
|
-
# Corresponds to the JSON property `state`
|
|
870
|
-
# @return [String]
|
|
871
|
-
attr_accessor :state
|
|
872
|
-
|
|
873
|
-
# Required. The application name.
|
|
874
|
-
# Corresponds to the JSON property `name`
|
|
875
|
-
# @return [String]
|
|
876
|
-
attr_accessor :name
|
|
877
|
-
|
|
878
940
|
# Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or
|
|
879
941
|
# TimelineServer that provides application-specific information. The URL uses
|
|
880
942
|
# the internal hostname, and requires a proxy server for resolution and,
|
|
@@ -888,16 +950,26 @@ module Google
|
|
|
888
950
|
# @return [Float]
|
|
889
951
|
attr_accessor :progress
|
|
890
952
|
|
|
953
|
+
# Required. The application state.
|
|
954
|
+
# Corresponds to the JSON property `state`
|
|
955
|
+
# @return [String]
|
|
956
|
+
attr_accessor :state
|
|
957
|
+
|
|
958
|
+
# Required. The application name.
|
|
959
|
+
# Corresponds to the JSON property `name`
|
|
960
|
+
# @return [String]
|
|
961
|
+
attr_accessor :name
|
|
962
|
+
|
|
891
963
|
def initialize(**args)
|
|
892
964
|
update!(**args)
|
|
893
965
|
end
|
|
894
966
|
|
|
895
967
|
# Update properties of this object
|
|
896
968
|
def update!(**args)
|
|
897
|
-
@state = args[:state] if args.key?(:state)
|
|
898
|
-
@name = args[:name] if args.key?(:name)
|
|
899
969
|
@tracking_url = args[:tracking_url] if args.key?(:tracking_url)
|
|
900
970
|
@progress = args[:progress] if args.key?(:progress)
|
|
971
|
+
@state = args[:state] if args.key?(:state)
|
|
972
|
+
@name = args[:name] if args.key?(:name)
|
|
901
973
|
end
|
|
902
974
|
end
|
|
903
975
|
|
|
@@ -947,16 +1019,6 @@ module Google
|
|
|
947
1019
|
class ClusterOperationMetadata
|
|
948
1020
|
include Google::Apis::Core::Hashable
|
|
949
1021
|
|
|
950
|
-
# Output-only. Short description of operation.
|
|
951
|
-
# Corresponds to the JSON property `description`
|
|
952
|
-
# @return [String]
|
|
953
|
-
attr_accessor :description
|
|
954
|
-
|
|
955
|
-
# Output-only. Errors encountered during operation execution.
|
|
956
|
-
# Corresponds to the JSON property `warnings`
|
|
957
|
-
# @return [Array<String>]
|
|
958
|
-
attr_accessor :warnings
|
|
959
|
-
|
|
960
1022
|
# Output-only. Labels associated with the operation
|
|
961
1023
|
# Corresponds to the JSON property `labels`
|
|
962
1024
|
# @return [Hash<String,String>]
|
|
@@ -972,47 +1034,30 @@ module Google
|
|
|
972
1034
|
# @return [Array<Google::Apis::DataprocV1::ClusterOperationStatus>]
|
|
973
1035
|
attr_accessor :status_history
|
|
974
1036
|
|
|
975
|
-
# Output-only. Cluster UUID for the operation.
|
|
976
|
-
# Corresponds to the JSON property `clusterUuid`
|
|
977
|
-
# @return [String]
|
|
978
|
-
attr_accessor :cluster_uuid
|
|
979
|
-
|
|
980
1037
|
# Output-only. Name of the cluster for the operation.
|
|
981
1038
|
# Corresponds to the JSON property `clusterName`
|
|
982
1039
|
# @return [String]
|
|
983
1040
|
attr_accessor :cluster_name
|
|
984
1041
|
|
|
1042
|
+
# Output-only. Cluster UUID for the operation.
|
|
1043
|
+
# Corresponds to the JSON property `clusterUuid`
|
|
1044
|
+
# @return [String]
|
|
1045
|
+
attr_accessor :cluster_uuid
|
|
1046
|
+
|
|
985
1047
|
# Output-only. The operation type.
|
|
986
1048
|
# Corresponds to the JSON property `operationType`
|
|
987
1049
|
# @return [String]
|
|
988
1050
|
attr_accessor :operation_type
|
|
989
1051
|
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
# Update properties of this object
|
|
995
|
-
def update!(**args)
|
|
996
|
-
@description = args[:description] if args.key?(:description)
|
|
997
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
|
998
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
999
|
-
@status = args[:status] if args.key?(:status)
|
|
1000
|
-
@status_history = args[:status_history] if args.key?(:status_history)
|
|
1001
|
-
@cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
|
|
1002
|
-
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
|
1003
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
1004
|
-
end
|
|
1005
|
-
end
|
|
1052
|
+
# Output-only. Short description of operation.
|
|
1053
|
+
# Corresponds to the JSON property `description`
|
|
1054
|
+
# @return [String]
|
|
1055
|
+
attr_accessor :description
|
|
1006
1056
|
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
1012
|
-
# `
|
|
1013
|
-
# The JSON representation for Empty is empty JSON object ``.
|
|
1014
|
-
class Empty
|
|
1015
|
-
include Google::Apis::Core::Hashable
|
|
1057
|
+
# Output-only. Errors encountered during operation execution.
|
|
1058
|
+
# Corresponds to the JSON property `warnings`
|
|
1059
|
+
# @return [Array<String>]
|
|
1060
|
+
attr_accessor :warnings
|
|
1016
1061
|
|
|
1017
1062
|
def initialize(**args)
|
|
1018
1063
|
update!(**args)
|
|
@@ -1020,6 +1065,14 @@ module Google
|
|
|
1020
1065
|
|
|
1021
1066
|
# Update properties of this object
|
|
1022
1067
|
def update!(**args)
|
|
1068
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1069
|
+
@status = args[:status] if args.key?(:status)
|
|
1070
|
+
@status_history = args[:status_history] if args.key?(:status_history)
|
|
1071
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
|
1072
|
+
@cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
|
|
1073
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
1074
|
+
@description = args[:description] if args.key?(:description)
|
|
1075
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
|
1023
1076
|
end
|
|
1024
1077
|
end
|
|
1025
1078
|
|
|
@@ -1028,23 +1081,11 @@ module Google
|
|
|
1028
1081
|
class HiveJob
|
|
1029
1082
|
include Google::Apis::Core::Hashable
|
|
1030
1083
|
|
|
1031
|
-
# Optional.
|
|
1032
|
-
#
|
|
1033
|
-
#
|
|
1034
|
-
#
|
|
1035
|
-
|
|
1036
|
-
attr_accessor :continue_on_failure
|
|
1037
|
-
alias_method :continue_on_failure?, :continue_on_failure
|
|
1038
|
-
|
|
1039
|
-
# The HCFS URI of the script that contains Hive queries.
|
|
1040
|
-
# Corresponds to the JSON property `queryFileUri`
|
|
1041
|
-
# @return [String]
|
|
1042
|
-
attr_accessor :query_file_uri
|
|
1043
|
-
|
|
1044
|
-
# A list of queries to run on a cluster.
|
|
1045
|
-
# Corresponds to the JSON property `queryList`
|
|
1046
|
-
# @return [Google::Apis::DataprocV1::QueryList]
|
|
1047
|
-
attr_accessor :query_list
|
|
1084
|
+
# Optional. Mapping of query variable names to values (equivalent to the Hive
|
|
1085
|
+
# command: SET name="value";).
|
|
1086
|
+
# Corresponds to the JSON property `scriptVariables`
|
|
1087
|
+
# @return [Hash<String,String>]
|
|
1088
|
+
attr_accessor :script_variables
|
|
1048
1089
|
|
|
1049
1090
|
# Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server
|
|
1050
1091
|
# and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
|
|
@@ -1052,12 +1093,6 @@ module Google
|
|
|
1052
1093
|
# @return [Array<String>]
|
|
1053
1094
|
attr_accessor :jar_file_uris
|
|
1054
1095
|
|
|
1055
|
-
# Optional. Mapping of query variable names to values (equivalent to the Hive
|
|
1056
|
-
# command: SET name="value";).
|
|
1057
|
-
# Corresponds to the JSON property `scriptVariables`
|
|
1058
|
-
# @return [Hash<String,String>]
|
|
1059
|
-
attr_accessor :script_variables
|
|
1060
|
-
|
|
1061
1096
|
# Optional. A mapping of property names and values, used to configure Hive.
|
|
1062
1097
|
# Properties that conflict with values set by the Cloud Dataproc API may be
|
|
1063
1098
|
# overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/
|
|
@@ -1066,18 +1101,55 @@ module Google
|
|
|
1066
1101
|
# @return [Hash<String,String>]
|
|
1067
1102
|
attr_accessor :properties
|
|
1068
1103
|
|
|
1104
|
+
# Optional. Whether to continue executing queries if a query fails. The default
|
|
1105
|
+
# value is false. Setting to true can be useful when executing independent
|
|
1106
|
+
# parallel queries.
|
|
1107
|
+
# Corresponds to the JSON property `continueOnFailure`
|
|
1108
|
+
# @return [Boolean]
|
|
1109
|
+
attr_accessor :continue_on_failure
|
|
1110
|
+
alias_method :continue_on_failure?, :continue_on_failure
|
|
1111
|
+
|
|
1112
|
+
# A list of queries to run on a cluster.
|
|
1113
|
+
# Corresponds to the JSON property `queryList`
|
|
1114
|
+
# @return [Google::Apis::DataprocV1::QueryList]
|
|
1115
|
+
attr_accessor :query_list
|
|
1116
|
+
|
|
1117
|
+
# The HCFS URI of the script that contains Hive queries.
|
|
1118
|
+
# Corresponds to the JSON property `queryFileUri`
|
|
1119
|
+
# @return [String]
|
|
1120
|
+
attr_accessor :query_file_uri
|
|
1121
|
+
|
|
1069
1122
|
def initialize(**args)
|
|
1070
1123
|
update!(**args)
|
|
1071
1124
|
end
|
|
1072
1125
|
|
|
1073
1126
|
# Update properties of this object
|
|
1074
1127
|
def update!(**args)
|
|
1075
|
-
@continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure)
|
|
1076
|
-
@query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri)
|
|
1077
|
-
@query_list = args[:query_list] if args.key?(:query_list)
|
|
1078
|
-
@jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris)
|
|
1079
1128
|
@script_variables = args[:script_variables] if args.key?(:script_variables)
|
|
1129
|
+
@jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris)
|
|
1080
1130
|
@properties = args[:properties] if args.key?(:properties)
|
|
1131
|
+
@continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure)
|
|
1132
|
+
@query_list = args[:query_list] if args.key?(:query_list)
|
|
1133
|
+
@query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri)
|
|
1134
|
+
end
|
|
1135
|
+
end
|
|
1136
|
+
|
|
1137
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
1138
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
|
1139
|
+
# response type of an API method. For instance:
|
|
1140
|
+
# service Foo `
|
|
1141
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
1142
|
+
# `
|
|
1143
|
+
# The JSON representation for Empty is empty JSON object ``.
|
|
1144
|
+
class Empty
|
|
1145
|
+
include Google::Apis::Core::Hashable
|
|
1146
|
+
|
|
1147
|
+
def initialize(**args)
|
|
1148
|
+
update!(**args)
|
|
1149
|
+
end
|
|
1150
|
+
|
|
1151
|
+
# Update properties of this object
|
|
1152
|
+
def update!(**args)
|
|
1081
1153
|
end
|
|
1082
1154
|
end
|
|
1083
1155
|
|
|
@@ -1180,12 +1252,6 @@ module Google
|
|
|
1180
1252
|
class PySparkJob
|
|
1181
1253
|
include Google::Apis::Core::Hashable
|
|
1182
1254
|
|
|
1183
|
-
# Optional. HCFS URIs of archives to be extracted in the working directory of .
|
|
1184
|
-
# jar, .tar, .tar.gz, .tgz, and .zip.
|
|
1185
|
-
# Corresponds to the JSON property `archiveUris`
|
|
1186
|
-
# @return [Array<String>]
|
|
1187
|
-
attr_accessor :archive_uris
|
|
1188
|
-
|
|
1189
1255
|
# Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Python driver
|
|
1190
1256
|
# and tasks.
|
|
1191
1257
|
# Corresponds to the JSON property `jarFileUris`
|
|
@@ -1230,13 +1296,18 @@ module Google
|
|
|
1230
1296
|
# @return [String]
|
|
1231
1297
|
attr_accessor :main_python_file_uri
|
|
1232
1298
|
|
|
1299
|
+
# Optional. HCFS URIs of archives to be extracted in the working directory of .
|
|
1300
|
+
# jar, .tar, .tar.gz, .tgz, and .zip.
|
|
1301
|
+
# Corresponds to the JSON property `archiveUris`
|
|
1302
|
+
# @return [Array<String>]
|
|
1303
|
+
attr_accessor :archive_uris
|
|
1304
|
+
|
|
1233
1305
|
def initialize(**args)
|
|
1234
1306
|
update!(**args)
|
|
1235
1307
|
end
|
|
1236
1308
|
|
|
1237
1309
|
# Update properties of this object
|
|
1238
1310
|
def update!(**args)
|
|
1239
|
-
@archive_uris = args[:archive_uris] if args.key?(:archive_uris)
|
|
1240
1311
|
@jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris)
|
|
1241
1312
|
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
|
1242
1313
|
@properties = args[:properties] if args.key?(:properties)
|
|
@@ -1244,6 +1315,7 @@ module Google
|
|
|
1244
1315
|
@file_uris = args[:file_uris] if args.key?(:file_uris)
|
|
1245
1316
|
@python_file_uris = args[:python_file_uris] if args.key?(:python_file_uris)
|
|
1246
1317
|
@main_python_file_uri = args[:main_python_file_uri] if args.key?(:main_python_file_uri)
|
|
1318
|
+
@archive_uris = args[:archive_uris] if args.key?(:archive_uris)
|
|
1247
1319
|
end
|
|
1248
1320
|
end
|
|
1249
1321
|
|
|
@@ -1252,41 +1324,6 @@ module Google
|
|
|
1252
1324
|
class GceClusterConfig
|
|
1253
1325
|
include Google::Apis::Core::Hashable
|
|
1254
1326
|
|
|
1255
|
-
# Optional. The service account of the instances. Defaults to the default Google
|
|
1256
|
-
# Compute Engine service account. Custom service accounts need permissions
|
|
1257
|
-
# equivalent to the folloing IAM roles:
|
|
1258
|
-
# roles/logging.logWriter
|
|
1259
|
-
# roles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/
|
|
1260
|
-
# service-accounts#custom_service_accounts for more information). Example: [
|
|
1261
|
-
# account_id]@[project_id].iam.gserviceaccount.com
|
|
1262
|
-
# Corresponds to the JSON property `serviceAccount`
|
|
1263
|
-
# @return [String]
|
|
1264
|
-
attr_accessor :service_account
|
|
1265
|
-
|
|
1266
|
-
# Optional. The Google Compute Engine subnetwork to be used for machine
|
|
1267
|
-
# communications. Cannot be specified with network_uri. Example: https://www.
|
|
1268
|
-
# googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0.
|
|
1269
|
-
# Corresponds to the JSON property `subnetworkUri`
|
|
1270
|
-
# @return [String]
|
|
1271
|
-
attr_accessor :subnetwork_uri
|
|
1272
|
-
|
|
1273
|
-
# Optional. The Google Compute Engine network to be used for machine
|
|
1274
|
-
# communications. Cannot be specified with subnetwork_uri. If neither
|
|
1275
|
-
# network_uri nor subnetwork_uri is specified, the "default" network of the
|
|
1276
|
-
# project is used, if it exists. Cannot be a "Custom Subnet Network" (see Using
|
|
1277
|
-
# Subnetworks for more information). Example: https://www.googleapis.com/compute/
|
|
1278
|
-
# v1/projects/[project_id]/regions/global/default.
|
|
1279
|
-
# Corresponds to the JSON property `networkUri`
|
|
1280
|
-
# @return [String]
|
|
1281
|
-
attr_accessor :network_uri
|
|
1282
|
-
|
|
1283
|
-
# Required. The zone where the Google Compute Engine cluster will be located.
|
|
1284
|
-
# Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[
|
|
1285
|
-
# zone].
|
|
1286
|
-
# Corresponds to the JSON property `zoneUri`
|
|
1287
|
-
# @return [String]
|
|
1288
|
-
attr_accessor :zone_uri
|
|
1289
|
-
|
|
1290
1327
|
# The Google Compute Engine metadata entries to add to all instances (see
|
|
1291
1328
|
# Project and instance metadata (https://cloud.google.com/compute/docs/storing-
|
|
1292
1329
|
# retrieving-metadata#project_and_instance_metadata)).
|
|
@@ -1324,39 +1361,40 @@ module Google
|
|
|
1324
1361
|
# @return [Array<String>]
|
|
1325
1362
|
attr_accessor :tags
|
|
1326
1363
|
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
#
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1338
|
-
@internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only)
|
|
1339
|
-
@service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
|
|
1340
|
-
@tags = args[:tags] if args.key?(:tags)
|
|
1341
|
-
end
|
|
1342
|
-
end
|
|
1364
|
+
# Optional. The service account of the instances. Defaults to the default Google
|
|
1365
|
+
# Compute Engine service account. Custom service accounts need permissions
|
|
1366
|
+
# equivalent to the folloing IAM roles:
|
|
1367
|
+
# roles/logging.logWriter
|
|
1368
|
+
# roles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/
|
|
1369
|
+
# service-accounts#custom_service_accounts for more information). Example: [
|
|
1370
|
+
# account_id]@[project_id].iam.gserviceaccount.com
|
|
1371
|
+
# Corresponds to the JSON property `serviceAccount`
|
|
1372
|
+
# @return [String]
|
|
1373
|
+
attr_accessor :service_account
|
|
1343
1374
|
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1375
|
+
# Optional. The Google Compute Engine subnetwork to be used for machine
|
|
1376
|
+
# communications. Cannot be specified with network_uri. Example: https://www.
|
|
1377
|
+
# googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0.
|
|
1378
|
+
# Corresponds to the JSON property `subnetworkUri`
|
|
1379
|
+
# @return [String]
|
|
1380
|
+
attr_accessor :subnetwork_uri
|
|
1348
1381
|
|
|
1349
|
-
# The
|
|
1350
|
-
#
|
|
1351
|
-
#
|
|
1352
|
-
|
|
1382
|
+
# Optional. The Google Compute Engine network to be used for machine
|
|
1383
|
+
# communications. Cannot be specified with subnetwork_uri. If neither
|
|
1384
|
+
# network_uri nor subnetwork_uri is specified, the "default" network of the
|
|
1385
|
+
# project is used, if it exists. Cannot be a "Custom Subnet Network" (see Using
|
|
1386
|
+
# Subnetworks for more information). Example: https://www.googleapis.com/compute/
|
|
1387
|
+
# v1/projects/[project_id]/regions/global/default.
|
|
1388
|
+
# Corresponds to the JSON property `networkUri`
|
|
1389
|
+
# @return [String]
|
|
1390
|
+
attr_accessor :network_uri
|
|
1353
1391
|
|
|
1354
|
-
#
|
|
1355
|
-
#
|
|
1356
|
-
#
|
|
1357
|
-
# Corresponds to the JSON property `
|
|
1392
|
+
# Required. The zone where the Google Compute Engine cluster will be located.
|
|
1393
|
+
# Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[
|
|
1394
|
+
# zone].
|
|
1395
|
+
# Corresponds to the JSON property `zoneUri`
|
|
1358
1396
|
# @return [String]
|
|
1359
|
-
attr_accessor :
|
|
1397
|
+
attr_accessor :zone_uri
|
|
1360
1398
|
|
|
1361
1399
|
def initialize(**args)
|
|
1362
1400
|
update!(**args)
|
|
@@ -1364,8 +1402,14 @@ module Google
|
|
|
1364
1402
|
|
|
1365
1403
|
# Update properties of this object
|
|
1366
1404
|
def update!(**args)
|
|
1367
|
-
@
|
|
1368
|
-
@
|
|
1405
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1406
|
+
@internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only)
|
|
1407
|
+
@service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
|
|
1408
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
1409
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
|
1410
|
+
@subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri)
|
|
1411
|
+
@network_uri = args[:network_uri] if args.key?(:network_uri)
|
|
1412
|
+
@zone_uri = args[:zone_uri] if args.key?(:zone_uri)
|
|
1369
1413
|
end
|
|
1370
1414
|
end
|
|
1371
1415
|
|
|
@@ -1396,16 +1440,22 @@ module Google
|
|
|
1396
1440
|
end
|
|
1397
1441
|
end
|
|
1398
1442
|
|
|
1399
|
-
#
|
|
1400
|
-
|
|
1443
|
+
# Specifies the type and number of accelerator cards attached to the instances
|
|
1444
|
+
# of an instance group (see GPUs on Compute Engine).
|
|
1445
|
+
class AcceleratorConfig
|
|
1401
1446
|
include Google::Apis::Core::Hashable
|
|
1402
1447
|
|
|
1403
|
-
#
|
|
1404
|
-
#
|
|
1405
|
-
#
|
|
1406
|
-
# Corresponds to the JSON property `
|
|
1407
|
-
# @return [
|
|
1408
|
-
attr_accessor :
|
|
1448
|
+
# Full or partial URI of the accelerator type resource to expose to this
|
|
1449
|
+
# instance. See Google Compute Engine AcceleratorTypes( /compute/docs/reference/
|
|
1450
|
+
# beta/acceleratorTypes)
|
|
1451
|
+
# Corresponds to the JSON property `acceleratorTypeUri`
|
|
1452
|
+
# @return [String]
|
|
1453
|
+
attr_accessor :accelerator_type_uri
|
|
1454
|
+
|
|
1455
|
+
# The number of the accelerator cards of this type exposed to this instance.
|
|
1456
|
+
# Corresponds to the JSON property `acceleratorCount`
|
|
1457
|
+
# @return [Fixnum]
|
|
1458
|
+
attr_accessor :accelerator_count
|
|
1409
1459
|
|
|
1410
1460
|
def initialize(**args)
|
|
1411
1461
|
update!(**args)
|
|
@@ -1413,19 +1463,21 @@ module Google
|
|
|
1413
1463
|
|
|
1414
1464
|
# Update properties of this object
|
|
1415
1465
|
def update!(**args)
|
|
1416
|
-
@
|
|
1466
|
+
@accelerator_type_uri = args[:accelerator_type_uri] if args.key?(:accelerator_type_uri)
|
|
1467
|
+
@accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
|
|
1417
1468
|
end
|
|
1418
1469
|
end
|
|
1419
1470
|
|
|
1420
|
-
# The
|
|
1421
|
-
class
|
|
1471
|
+
# The runtime logging config of the job.
|
|
1472
|
+
class LoggingConfig
|
|
1422
1473
|
include Google::Apis::Core::Hashable
|
|
1423
1474
|
|
|
1424
|
-
#
|
|
1425
|
-
#
|
|
1426
|
-
#
|
|
1427
|
-
#
|
|
1428
|
-
|
|
1475
|
+
# The per-package log levels for the driver. This may include "root" package
|
|
1476
|
+
# name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', '
|
|
1477
|
+
# org.apache = DEBUG'
|
|
1478
|
+
# Corresponds to the JSON property `driverLogLevels`
|
|
1479
|
+
# @return [Hash<String,String>]
|
|
1480
|
+
attr_accessor :driver_log_levels
|
|
1429
1481
|
|
|
1430
1482
|
def initialize(**args)
|
|
1431
1483
|
update!(**args)
|
|
@@ -1433,7 +1485,7 @@ module Google
|
|
|
1433
1485
|
|
|
1434
1486
|
# Update properties of this object
|
|
1435
1487
|
def update!(**args)
|
|
1436
|
-
@
|
|
1488
|
+
@driver_log_levels = args[:driver_log_levels] if args.key?(:driver_log_levels)
|
|
1437
1489
|
end
|
|
1438
1490
|
end
|
|
1439
1491
|
|
|
@@ -1442,6 +1494,31 @@ module Google
|
|
|
1442
1494
|
class Operation
|
|
1443
1495
|
include Google::Apis::Core::Hashable
|
|
1444
1496
|
|
|
1497
|
+
# If the value is false, it means the operation is still in progress. If true,
|
|
1498
|
+
# the operation is completed, and either error or response is available.
|
|
1499
|
+
# Corresponds to the JSON property `done`
|
|
1500
|
+
# @return [Boolean]
|
|
1501
|
+
attr_accessor :done
|
|
1502
|
+
alias_method :done?, :done
|
|
1503
|
+
|
|
1504
|
+
# The normal response of the operation in case of success. If the original
|
|
1505
|
+
# method returns no data on success, such as Delete, the response is google.
|
|
1506
|
+
# protobuf.Empty. If the original method is standard Get/Create/Update, the
|
|
1507
|
+
# response should be the resource. For other methods, the response should have
|
|
1508
|
+
# the type XxxResponse, where Xxx is the original method name. For example, if
|
|
1509
|
+
# the original method name is TakeSnapshot(), the inferred response type is
|
|
1510
|
+
# TakeSnapshotResponse.
|
|
1511
|
+
# Corresponds to the JSON property `response`
|
|
1512
|
+
# @return [Hash<String,Object>]
|
|
1513
|
+
attr_accessor :response
|
|
1514
|
+
|
|
1515
|
+
# The server-assigned name, which is only unique within the same service that
|
|
1516
|
+
# originally returns it. If you use the default HTTP mapping, the name should
|
|
1517
|
+
# have the format of operations/some/unique/name.
|
|
1518
|
+
# Corresponds to the JSON property `name`
|
|
1519
|
+
# @return [String]
|
|
1520
|
+
attr_accessor :name
|
|
1521
|
+
|
|
1445
1522
|
# The Status type defines a logical error model that is suitable for different
|
|
1446
1523
|
# programming environments, including REST APIs and RPC APIs. It is used by gRPC
|
|
1447
1524
|
# (https://github.com/grpc). The error model is designed to be:
|
|
@@ -1488,79 +1565,17 @@ module Google
|
|
|
1488
1565
|
# @return [Hash<String,Object>]
|
|
1489
1566
|
attr_accessor :metadata
|
|
1490
1567
|
|
|
1491
|
-
# If the value is false, it means the operation is still in progress. If true,
|
|
1492
|
-
# the operation is completed, and either error or response is available.
|
|
1493
|
-
# Corresponds to the JSON property `done`
|
|
1494
|
-
# @return [Boolean]
|
|
1495
|
-
attr_accessor :done
|
|
1496
|
-
alias_method :done?, :done
|
|
1497
|
-
|
|
1498
|
-
# The normal response of the operation in case of success. If the original
|
|
1499
|
-
# method returns no data on success, such as Delete, the response is google.
|
|
1500
|
-
# protobuf.Empty. If the original method is standard Get/Create/Update, the
|
|
1501
|
-
# response should be the resource. For other methods, the response should have
|
|
1502
|
-
# the type XxxResponse, where Xxx is the original method name. For example, if
|
|
1503
|
-
# the original method name is TakeSnapshot(), the inferred response type is
|
|
1504
|
-
# TakeSnapshotResponse.
|
|
1505
|
-
# Corresponds to the JSON property `response`
|
|
1506
|
-
# @return [Hash<String,Object>]
|
|
1507
|
-
attr_accessor :response
|
|
1508
|
-
|
|
1509
|
-
# The server-assigned name, which is only unique within the same service that
|
|
1510
|
-
# originally returns it. If you use the default HTTP mapping, the name should
|
|
1511
|
-
# have the format of operations/some/unique/name.
|
|
1512
|
-
# Corresponds to the JSON property `name`
|
|
1513
|
-
# @return [String]
|
|
1514
|
-
attr_accessor :name
|
|
1515
|
-
|
|
1516
1568
|
def initialize(**args)
|
|
1517
1569
|
update!(**args)
|
|
1518
1570
|
end
|
|
1519
1571
|
|
|
1520
1572
|
# Update properties of this object
|
|
1521
1573
|
def update!(**args)
|
|
1522
|
-
@error = args[:error] if args.key?(:error)
|
|
1523
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1524
1574
|
@done = args[:done] if args.key?(:done)
|
|
1525
1575
|
@response = args[:response] if args.key?(:response)
|
|
1526
1576
|
@name = args[:name] if args.key?(:name)
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
# The status of the operation.
|
|
1531
|
-
class OperationStatus
|
|
1532
|
-
include Google::Apis::Core::Hashable
|
|
1533
|
-
|
|
1534
|
-
# A message containing the detailed operation state.
|
|
1535
|
-
# Corresponds to the JSON property `innerState`
|
|
1536
|
-
# @return [String]
|
|
1537
|
-
attr_accessor :inner_state
|
|
1538
|
-
|
|
1539
|
-
# The time this state was entered.
|
|
1540
|
-
# Corresponds to the JSON property `stateStartTime`
|
|
1541
|
-
# @return [String]
|
|
1542
|
-
attr_accessor :state_start_time
|
|
1543
|
-
|
|
1544
|
-
# A message containing the operation state.
|
|
1545
|
-
# Corresponds to the JSON property `state`
|
|
1546
|
-
# @return [String]
|
|
1547
|
-
attr_accessor :state
|
|
1548
|
-
|
|
1549
|
-
# A message containing any operation metadata details.
|
|
1550
|
-
# Corresponds to the JSON property `details`
|
|
1551
|
-
# @return [String]
|
|
1552
|
-
attr_accessor :details
|
|
1553
|
-
|
|
1554
|
-
def initialize(**args)
|
|
1555
|
-
update!(**args)
|
|
1556
|
-
end
|
|
1557
|
-
|
|
1558
|
-
# Update properties of this object
|
|
1559
|
-
def update!(**args)
|
|
1560
|
-
@inner_state = args[:inner_state] if args.key?(:inner_state)
|
|
1561
|
-
@state_start_time = args[:state_start_time] if args.key?(:state_start_time)
|
|
1562
|
-
@state = args[:state] if args.key?(:state)
|
|
1563
|
-
@details = args[:details] if args.key?(:details)
|
|
1577
|
+
@error = args[:error] if args.key?(:error)
|
|
1578
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1564
1579
|
end
|
|
1565
1580
|
end
|
|
1566
1581
|
|
|
@@ -1568,11 +1583,6 @@ module Google
|
|
|
1568
1583
|
class JobReference
|
|
1569
1584
|
include Google::Apis::Core::Hashable
|
|
1570
1585
|
|
|
1571
|
-
# Required. The ID of the Google Cloud Platform project that the job belongs to.
|
|
1572
|
-
# Corresponds to the JSON property `projectId`
|
|
1573
|
-
# @return [String]
|
|
1574
|
-
attr_accessor :project_id
|
|
1575
|
-
|
|
1576
1586
|
# Optional. The job ID, which must be unique within the project. The job ID is
|
|
1577
1587
|
# generated by the server upon job submission or provided by the user as a means
|
|
1578
1588
|
# to perform retries without creating duplicate jobs. The ID must contain only
|
|
@@ -1582,14 +1592,19 @@ module Google
|
|
|
1582
1592
|
# @return [String]
|
|
1583
1593
|
attr_accessor :job_id
|
|
1584
1594
|
|
|
1595
|
+
# Required. The ID of the Google Cloud Platform project that the job belongs to.
|
|
1596
|
+
# Corresponds to the JSON property `projectId`
|
|
1597
|
+
# @return [String]
|
|
1598
|
+
attr_accessor :project_id
|
|
1599
|
+
|
|
1585
1600
|
def initialize(**args)
|
|
1586
1601
|
update!(**args)
|
|
1587
1602
|
end
|
|
1588
1603
|
|
|
1589
1604
|
# Update properties of this object
|
|
1590
1605
|
def update!(**args)
|
|
1591
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
|
1592
1606
|
@job_id = args[:job_id] if args.key?(:job_id)
|
|
1607
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
|
1593
1608
|
end
|
|
1594
1609
|
end
|
|
1595
1610
|
|
|
@@ -1649,6 +1664,12 @@ module Google
|
|
|
1649
1664
|
class Status
|
|
1650
1665
|
include Google::Apis::Core::Hashable
|
|
1651
1666
|
|
|
1667
|
+
# A list of messages that carry the error details. There will be a common set of
|
|
1668
|
+
# message types for APIs to use.
|
|
1669
|
+
# Corresponds to the JSON property `details`
|
|
1670
|
+
# @return [Array<Hash<String,Object>>]
|
|
1671
|
+
attr_accessor :details
|
|
1672
|
+
|
|
1652
1673
|
# The status code, which should be an enum value of google.rpc.Code.
|
|
1653
1674
|
# Corresponds to the JSON property `code`
|
|
1654
1675
|
# @return [Fixnum]
|
|
@@ -1661,184 +1682,15 @@ module Google
|
|
|
1661
1682
|
# @return [String]
|
|
1662
1683
|
attr_accessor :message
|
|
1663
1684
|
|
|
1664
|
-
# A list of messages that carry the error details. There will be a common set of
|
|
1665
|
-
# message types for APIs to use.
|
|
1666
|
-
# Corresponds to the JSON property `details`
|
|
1667
|
-
# @return [Array<Hash<String,Object>>]
|
|
1668
|
-
attr_accessor :details
|
|
1669
|
-
|
|
1670
1685
|
def initialize(**args)
|
|
1671
1686
|
update!(**args)
|
|
1672
1687
|
end
|
|
1673
1688
|
|
|
1674
1689
|
# Update properties of this object
|
|
1675
1690
|
def update!(**args)
|
|
1691
|
+
@details = args[:details] if args.key?(:details)
|
|
1676
1692
|
@code = args[:code] if args.key?(:code)
|
|
1677
1693
|
@message = args[:message] if args.key?(:message)
|
|
1678
|
-
@details = args[:details] if args.key?(:details)
|
|
1679
|
-
end
|
|
1680
|
-
end
|
|
1681
|
-
|
|
1682
|
-
# Job scheduling options.Beta Feature: These options are available for testing
|
|
1683
|
-
# purposes only. They may be changed before final release.
|
|
1684
|
-
class JobScheduling
|
|
1685
|
-
include Google::Apis::Core::Hashable
|
|
1686
|
-
|
|
1687
|
-
# Optional. Maximum number of times per hour a driver may be restarted as a
|
|
1688
|
-
# result of driver terminating with non-zero code before job is reported failed.
|
|
1689
|
-
# A job may be reported as thrashing if driver exits with non-zero code 4 times
|
|
1690
|
-
# within 10 minute window.Maximum value is 10.
|
|
1691
|
-
# Corresponds to the JSON property `maxFailuresPerHour`
|
|
1692
|
-
# @return [Fixnum]
|
|
1693
|
-
attr_accessor :max_failures_per_hour
|
|
1694
|
-
|
|
1695
|
-
def initialize(**args)
|
|
1696
|
-
update!(**args)
|
|
1697
|
-
end
|
|
1698
|
-
|
|
1699
|
-
# Update properties of this object
|
|
1700
|
-
def update!(**args)
|
|
1701
|
-
@max_failures_per_hour = args[:max_failures_per_hour] if args.key?(:max_failures_per_hour)
|
|
1702
|
-
end
|
|
1703
|
-
end
|
|
1704
|
-
|
|
1705
|
-
# Optional. The config settings for Google Compute Engine resources in an
|
|
1706
|
-
# instance group, such as a master or worker group.
|
|
1707
|
-
class InstanceGroupConfig
|
|
1708
|
-
include Google::Apis::Core::Hashable
|
|
1709
|
-
|
|
1710
|
-
# Specifies the config of disk options for a group of VM instances.
|
|
1711
|
-
# Corresponds to the JSON property `diskConfig`
|
|
1712
|
-
# @return [Google::Apis::DataprocV1::DiskConfig]
|
|
1713
|
-
attr_accessor :disk_config
|
|
1714
|
-
|
|
1715
|
-
# Specifies the resources used to actively manage an instance group.
|
|
1716
|
-
# Corresponds to the JSON property `managedGroupConfig`
|
|
1717
|
-
# @return [Google::Apis::DataprocV1::ManagedGroupConfig]
|
|
1718
|
-
attr_accessor :managed_group_config
|
|
1719
|
-
|
|
1720
|
-
# Optional. Specifies that this instance group contains preemptible instances.
|
|
1721
|
-
# Corresponds to the JSON property `isPreemptible`
|
|
1722
|
-
# @return [Boolean]
|
|
1723
|
-
attr_accessor :is_preemptible
|
|
1724
|
-
alias_method :is_preemptible?, :is_preemptible
|
|
1725
|
-
|
|
1726
|
-
# Output-only. The Google Compute Engine image resource used for cluster
|
|
1727
|
-
# instances. Inferred from SoftwareConfig.image_version.
|
|
1728
|
-
# Corresponds to the JSON property `imageUri`
|
|
1729
|
-
# @return [String]
|
|
1730
|
-
attr_accessor :image_uri
|
|
1731
|
-
|
|
1732
|
-
# Required. The Google Compute Engine machine type used for cluster instances.
|
|
1733
|
-
# Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-
|
|
1734
|
-
# east1-a/machineTypes/n1-standard-2.
|
|
1735
|
-
# Corresponds to the JSON property `machineTypeUri`
|
|
1736
|
-
# @return [String]
|
|
1737
|
-
attr_accessor :machine_type_uri
|
|
1738
|
-
|
|
1739
|
-
# Optional. The list of instance names. Cloud Dataproc derives the names from
|
|
1740
|
-
# cluster_name, num_instances, and the instance group if not set by user (
|
|
1741
|
-
# recommended practice is to let Cloud Dataproc derive the name).
|
|
1742
|
-
# Corresponds to the JSON property `instanceNames`
|
|
1743
|
-
# @return [Array<String>]
|
|
1744
|
-
attr_accessor :instance_names
|
|
1745
|
-
|
|
1746
|
-
# Optional. The Google Compute Engine accelerator configuration for these
|
|
1747
|
-
# instances.Beta Feature: This feature is still under development. It may be
|
|
1748
|
-
# changed before final release.
|
|
1749
|
-
# Corresponds to the JSON property `accelerators`
|
|
1750
|
-
# @return [Array<Google::Apis::DataprocV1::AcceleratorConfig>]
|
|
1751
|
-
attr_accessor :accelerators
|
|
1752
|
-
|
|
1753
|
-
# Required. The number of VM instances in the instance group. For master
|
|
1754
|
-
# instance groups, must be set to 1.
|
|
1755
|
-
# Corresponds to the JSON property `numInstances`
|
|
1756
|
-
# @return [Fixnum]
|
|
1757
|
-
attr_accessor :num_instances
|
|
1758
|
-
|
|
1759
|
-
def initialize(**args)
|
|
1760
|
-
update!(**args)
|
|
1761
|
-
end
|
|
1762
|
-
|
|
1763
|
-
# Update properties of this object
|
|
1764
|
-
def update!(**args)
|
|
1765
|
-
@disk_config = args[:disk_config] if args.key?(:disk_config)
|
|
1766
|
-
@managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config)
|
|
1767
|
-
@is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible)
|
|
1768
|
-
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
|
1769
|
-
@machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri)
|
|
1770
|
-
@instance_names = args[:instance_names] if args.key?(:instance_names)
|
|
1771
|
-
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
|
1772
|
-
@num_instances = args[:num_instances] if args.key?(:num_instances)
|
|
1773
|
-
end
|
|
1774
|
-
end
|
|
1775
|
-
|
|
1776
|
-
# A list of jobs in a project.
|
|
1777
|
-
class ListJobsResponse
|
|
1778
|
-
include Google::Apis::Core::Hashable
|
|
1779
|
-
|
|
1780
|
-
# Optional. This token is included in the response if there are more results to
|
|
1781
|
-
# fetch. To fetch additional results, provide this value as the page_token in a
|
|
1782
|
-
# subsequent <code>ListJobsRequest</code>.
|
|
1783
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
1784
|
-
# @return [String]
|
|
1785
|
-
attr_accessor :next_page_token
|
|
1786
|
-
|
|
1787
|
-
# Output-only. Jobs list.
|
|
1788
|
-
# Corresponds to the JSON property `jobs`
|
|
1789
|
-
# @return [Array<Google::Apis::DataprocV1::Job>]
|
|
1790
|
-
attr_accessor :jobs
|
|
1791
|
-
|
|
1792
|
-
def initialize(**args)
|
|
1793
|
-
update!(**args)
|
|
1794
|
-
end
|
|
1795
|
-
|
|
1796
|
-
# Update properties of this object
|
|
1797
|
-
def update!(**args)
|
|
1798
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1799
|
-
@jobs = args[:jobs] if args.key?(:jobs)
|
|
1800
|
-
end
|
|
1801
|
-
end
|
|
1802
|
-
|
|
1803
|
-
# Specifies an executable to run on a fully configured node and a timeout period
|
|
1804
|
-
# for executable completion.
|
|
1805
|
-
class NodeInitializationAction
|
|
1806
|
-
include Google::Apis::Core::Hashable
|
|
1807
|
-
|
|
1808
|
-
# Optional. Amount of time executable has to complete. Default is 10 minutes.
|
|
1809
|
-
# Cluster creation fails with an explanatory error message (the name of the
|
|
1810
|
-
# executable that caused the error and the exceeded timeout period) if the
|
|
1811
|
-
# executable is not completed at end of the timeout period.
|
|
1812
|
-
# Corresponds to the JSON property `executionTimeout`
|
|
1813
|
-
# @return [String]
|
|
1814
|
-
attr_accessor :execution_timeout
|
|
1815
|
-
|
|
1816
|
-
# Required. Google Cloud Storage URI of executable file.
|
|
1817
|
-
# Corresponds to the JSON property `executableFile`
|
|
1818
|
-
# @return [String]
|
|
1819
|
-
attr_accessor :executable_file
|
|
1820
|
-
|
|
1821
|
-
def initialize(**args)
|
|
1822
|
-
update!(**args)
|
|
1823
|
-
end
|
|
1824
|
-
|
|
1825
|
-
# Update properties of this object
|
|
1826
|
-
def update!(**args)
|
|
1827
|
-
@execution_timeout = args[:execution_timeout] if args.key?(:execution_timeout)
|
|
1828
|
-
@executable_file = args[:executable_file] if args.key?(:executable_file)
|
|
1829
|
-
end
|
|
1830
|
-
end
|
|
1831
|
-
|
|
1832
|
-
# A request to cancel a job.
|
|
1833
|
-
class CancelJobRequest
|
|
1834
|
-
include Google::Apis::Core::Hashable
|
|
1835
|
-
|
|
1836
|
-
def initialize(**args)
|
|
1837
|
-
update!(**args)
|
|
1838
|
-
end
|
|
1839
|
-
|
|
1840
|
-
# Update properties of this object
|
|
1841
|
-
def update!(**args)
|
|
1842
1694
|
end
|
|
1843
1695
|
end
|
|
1844
1696
|
end
|