google-api-client 0.43.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +1066 -184
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/api_names.yaml +1 -0
- data/bin/generate-api +77 -15
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
- data/generated/google/apis/admin_directory_v1/service.rb +607 -998
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigee_v1/classes.rb +630 -88
- data/generated/google/apis/apigee_v1/representations.rb +209 -1
- data/generated/google/apis/apigee_v1/service.rb +401 -74
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/bigquery_v2/classes.rb +593 -576
- data/generated/google/apis/bigquery_v2/representations.rb +85 -0
- data/generated/google/apis/bigquery_v2/service.rb +79 -41
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +173 -116
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
- data/generated/google/apis/cloudasset_v1/service.rb +296 -167
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
- data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
- data/generated/google/apis/cloudshell_v1/service.rb +198 -25
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +189 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +94 -179
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1227 -186
- data/generated/google/apis/compute_alpha/representations.rb +235 -8
- data/generated/google/apis/compute_alpha/service.rb +2009 -1024
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1080 -108
- data/generated/google/apis/compute_beta/representations.rb +212 -2
- data/generated/google/apis/compute_beta/service.rb +1413 -741
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1512 -106
- data/generated/google/apis/compute_v1/representations.rb +470 -1
- data/generated/google/apis/compute_v1/service.rb +1625 -285
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +982 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +91 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +515 -1219
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
- data/generated/google/apis/content_v2_1/representations.rb +288 -0
- data/generated/google/apis/content_v2_1/service.rb +987 -795
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +97 -13
- data/generated/google/apis/dataproc_v1/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +334 -476
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
- data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
- data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -32
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +356 -198
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +83 -98
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +83 -98
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +18 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +18 -8
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +155 -174
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +335 -194
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +406 -502
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +628 -0
- data/generated/google/apis/fitness_v1.rb +97 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +376 -83
- data/generated/google/apis/games_v1/representations.rb +118 -0
- data/generated/google/apis/games_v1/service.rb +118 -90
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/gameservices_v1/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/healthcare_v1/classes.rb +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +842 -855
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
- data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
- data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +427 -555
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
- data/generated/google/apis/iamcredentials_v1.rb +3 -2
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +56 -86
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +426 -0
- data/generated/google/apis/localservices_v1/representations.rb +174 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
- data/generated/google/apis/logging_v2/classes.rb +306 -232
- data/generated/google/apis/logging_v2/representations.rb +79 -0
- data/generated/google/apis/logging_v2/service.rb +3307 -1579
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1122 -1149
- data/generated/google/apis/ml_v1/representations.rb +82 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +303 -345
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +176 -146
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +26 -31
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +173 -63
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +63 -61
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +399 -518
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +221 -247
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/pubsublite_v1/service.rb +558 -0
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +91 -513
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +92 -109
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +126 -109
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -138
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
- data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
- data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/storage_v1/classes.rb +10 -17
- data/generated/google/apis/storage_v1/representations.rb +2 -3
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +121 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +21 -22
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +384 -390
- data/generated/google/apis/testing_v1/representations.rb +23 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/translate_v3/classes.rb +151 -177
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +413 -103
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +182 -37
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +38 -77
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +438 -0
- data/generated/google/apis/workflows_v1beta.rb +35 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +3 -120
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -24
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +134 -41
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
- data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -31,9 +31,9 @@ module Google
|
|
31
31
|
# @return [Float]
|
32
32
|
attr_accessor :percent_complete
|
33
33
|
|
34
|
-
# Position defines a position within a collection of data.
|
35
|
-
#
|
36
|
-
#
|
34
|
+
# Position defines a position within a collection of data. The value can be
|
35
|
+
# either the end position, a key (used with ordered collections), a byte offset,
|
36
|
+
# or a record index.
|
37
37
|
# Corresponds to the JSON property `position`
|
38
38
|
# @return [Google::Apis::DataflowV1b3::Position]
|
39
39
|
attr_accessor :position
|
@@ -59,8 +59,8 @@ module Google
|
|
59
59
|
class ApproximateReportedProgress
|
60
60
|
include Google::Apis::Core::Hashable
|
61
61
|
|
62
|
-
# Represents the level of parallelism in a WorkItem's input,
|
63
|
-
#
|
62
|
+
# Represents the level of parallelism in a WorkItem's input, reported by the
|
63
|
+
# worker.
|
64
64
|
# Corresponds to the JSON property `consumedParallelism`
|
65
65
|
# @return [Google::Apis::DataflowV1b3::ReportedParallelism]
|
66
66
|
attr_accessor :consumed_parallelism
|
@@ -71,15 +71,15 @@ module Google
|
|
71
71
|
# @return [Float]
|
72
72
|
attr_accessor :fraction_consumed
|
73
73
|
|
74
|
-
# Position defines a position within a collection of data.
|
75
|
-
#
|
76
|
-
#
|
74
|
+
# Position defines a position within a collection of data. The value can be
|
75
|
+
# either the end position, a key (used with ordered collections), a byte offset,
|
76
|
+
# or a record index.
|
77
77
|
# Corresponds to the JSON property `position`
|
78
78
|
# @return [Google::Apis::DataflowV1b3::Position]
|
79
79
|
attr_accessor :position
|
80
80
|
|
81
|
-
# Represents the level of parallelism in a WorkItem's input,
|
82
|
-
#
|
81
|
+
# Represents the level of parallelism in a WorkItem's input, reported by the
|
82
|
+
# worker.
|
83
83
|
# Corresponds to the JSON property `remainingParallelism`
|
84
84
|
# @return [Google::Apis::DataflowV1b3::ReportedParallelism]
|
85
85
|
attr_accessor :remaining_parallelism
|
@@ -101,21 +101,21 @@ module Google
|
|
101
101
|
class ApproximateSplitRequest
|
102
102
|
include Google::Apis::Core::Hashable
|
103
103
|
|
104
|
-
# A fraction at which to split the work item, from 0.0 (beginning of the
|
105
|
-
#
|
104
|
+
# A fraction at which to split the work item, from 0.0 (beginning of the input)
|
105
|
+
# to 1.0 (end of the input).
|
106
106
|
# Corresponds to the JSON property `fractionConsumed`
|
107
107
|
# @return [Float]
|
108
108
|
attr_accessor :fraction_consumed
|
109
109
|
|
110
|
-
# The fraction of the remainder of work to split the work item at, from 0.0
|
111
|
-
#
|
110
|
+
# The fraction of the remainder of work to split the work item at, from 0.0 (
|
111
|
+
# split at the current position) to 1.0 (end of the input).
|
112
112
|
# Corresponds to the JSON property `fractionOfRemainder`
|
113
113
|
# @return [Float]
|
114
114
|
attr_accessor :fraction_of_remainder
|
115
115
|
|
116
|
-
# Position defines a position within a collection of data.
|
117
|
-
#
|
118
|
-
#
|
116
|
+
# Position defines a position within a collection of data. The value can be
|
117
|
+
# either the end position, a key (used with ordered collections), a byte offset,
|
118
|
+
# or a record index.
|
119
119
|
# Corresponds to the JSON property `position`
|
120
120
|
# @return [Google::Apis::DataflowV1b3::Position]
|
121
121
|
attr_accessor :position
|
@@ -196,8 +196,8 @@ module Google
|
|
196
196
|
# @return [String]
|
197
197
|
attr_accessor :time
|
198
198
|
|
199
|
-
# A short and friendly name for the worker pool this event refers to,
|
200
|
-
#
|
199
|
+
# A short and friendly name for the worker pool this event refers to, populated
|
200
|
+
# from the value of PoolStageRelation::user_pool_name.
|
201
201
|
# Corresponds to the JSON property `workerPool`
|
202
202
|
# @return [String]
|
203
203
|
attr_accessor :worker_pool
|
@@ -314,8 +314,7 @@ module Google
|
|
314
314
|
class CpuTime
|
315
315
|
include Google::Apis::Core::Hashable
|
316
316
|
|
317
|
-
# Average CPU utilization rate (% non-idle cpu / second) since previous
|
318
|
-
# sample.
|
317
|
+
# Average CPU utilization rate (% non-idle cpu / second) since previous sample.
|
319
318
|
# Corresponds to the JSON property `rate`
|
320
319
|
# @return [Float]
|
321
320
|
attr_accessor :rate
|
@@ -325,8 +324,8 @@ module Google
|
|
325
324
|
# @return [String]
|
326
325
|
attr_accessor :timestamp
|
327
326
|
|
328
|
-
# Total active CPU time across all cores (ie., non-idle) in milliseconds
|
329
|
-
#
|
327
|
+
# Total active CPU time across all cores (ie., non-idle) in milliseconds since
|
328
|
+
# start-up.
|
330
329
|
# Corresponds to the JSON property `totalMs`
|
331
330
|
# @return [Fixnum]
|
332
331
|
attr_accessor :total_ms
|
@@ -347,15 +346,14 @@ module Google
|
|
347
346
|
class CommitTemplateVersionRequest
|
348
347
|
include Google::Apis::Core::Hashable
|
349
348
|
|
350
|
-
# /////////////////////////////////////////////////////////////////////////////
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
# ////
|
356
|
-
# ////
|
357
|
-
#
|
358
|
-
# //// tags in the same `Template` are not allowed!
|
349
|
+
# ///////////////////////////////////////////////////////////////////////////// /
|
350
|
+
# /// Template Catalog is used to organize user TemplateVersions. ////
|
351
|
+
# TemplateVersions that have the same project_id and display_name are ////
|
352
|
+
# belong to the same Template. //// Templates with the same project_id belong to
|
353
|
+
# the same Project. //// TemplateVersion may have labels and multiple labels are
|
354
|
+
# allowed. //// Duplicated labels in the same `TemplateVersion` are not allowed.
|
355
|
+
# //// TemplateVersion may have tags and multiple tags are allowed. Duplicated //
|
356
|
+
# // tags in the same `Template` are not allowed!
|
359
357
|
# Corresponds to the JSON property `templateVersion`
|
360
358
|
# @return [Google::Apis::DataflowV1b3::TemplateVersion]
|
361
359
|
attr_accessor :template_version
|
@@ -370,8 +368,7 @@ module Google
|
|
370
368
|
end
|
371
369
|
end
|
372
370
|
|
373
|
-
# Description of an interstitial value between transforms in an execution
|
374
|
-
# stage.
|
371
|
+
# Description of an interstitial value between transforms in an execution stage.
|
375
372
|
class ComponentSource
|
376
373
|
include Google::Apis::Core::Hashable
|
377
374
|
|
@@ -380,8 +377,8 @@ module Google
|
|
380
377
|
# @return [String]
|
381
378
|
attr_accessor :name
|
382
379
|
|
383
|
-
# User name for the original user transform or collection with which this
|
384
|
-
#
|
380
|
+
# User name for the original user transform or collection with which this source
|
381
|
+
# is most closely associated.
|
385
382
|
# Corresponds to the JSON property `originalTransformOrCollection`
|
386
383
|
# @return [String]
|
387
384
|
attr_accessor :original_transform_or_collection
|
@@ -412,8 +409,8 @@ module Google
|
|
412
409
|
# @return [String]
|
413
410
|
attr_accessor :name
|
414
411
|
|
415
|
-
# User name for the original user transform with which this transform is
|
416
|
-
#
|
412
|
+
# User name for the original user transform with which this transform is most
|
413
|
+
# closely associated.
|
417
414
|
# Corresponds to the JSON property `originalTransform`
|
418
415
|
# @return [String]
|
419
416
|
attr_accessor :original_transform
|
@@ -495,9 +492,9 @@ module Google
|
|
495
492
|
# @return [Fixnum]
|
496
493
|
attr_accessor :index
|
497
494
|
|
498
|
-
# Position defines a position within a collection of data.
|
499
|
-
#
|
500
|
-
#
|
495
|
+
# Position defines a position within a collection of data. The value can be
|
496
|
+
# either the end position, a key (used with ordered collections), a byte offset,
|
497
|
+
# or a record index.
|
501
498
|
# Corresponds to the JSON property `position`
|
502
499
|
# @return [Google::Apis::DataflowV1b3::Position]
|
503
500
|
attr_accessor :position
|
@@ -517,6 +514,11 @@ module Google
|
|
517
514
|
class ContainerSpec
|
518
515
|
include Google::Apis::Core::Hashable
|
519
516
|
|
517
|
+
# The environment values to be set at runtime for flex template.
|
518
|
+
# Corresponds to the JSON property `defaultEnvironment`
|
519
|
+
# @return [Google::Apis::DataflowV1b3::FlexTemplateRuntimeEnvironment]
|
520
|
+
attr_accessor :default_environment
|
521
|
+
|
520
522
|
# Name of the docker container image. E.g., gcr.io/project/some-image
|
521
523
|
# Corresponds to the JSON property `image`
|
522
524
|
# @return [String]
|
@@ -538,6 +540,7 @@ module Google
|
|
538
540
|
|
539
541
|
# Update properties of this object
|
540
542
|
def update!(**args)
|
543
|
+
@default_environment = args[:default_environment] if args.key?(:default_environment)
|
541
544
|
@image = args[:image] if args.key?(:image)
|
542
545
|
@metadata = args[:metadata] if args.key?(:metadata)
|
543
546
|
@sdk_info = args[:sdk_info] if args.key?(:sdk_info)
|
@@ -596,19 +599,17 @@ module Google
|
|
596
599
|
# @return [String]
|
597
600
|
attr_accessor :execution_step_name
|
598
601
|
|
599
|
-
# Index of an input collection that's being read from/written to as a side
|
600
|
-
#
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
604
|
-
# This field helps uniquely identify them.
|
602
|
+
# Index of an input collection that's being read from/written to as a side input.
|
603
|
+
# The index identifies a step's side inputs starting by 1 (e.g. the first side
|
604
|
+
# input has input_index 1, the third has input_index 3). Side inputs are
|
605
|
+
# identified by a pair of (original_step_name, input_index). This field helps
|
606
|
+
# uniquely identify them.
|
605
607
|
# Corresponds to the JSON property `inputIndex`
|
606
608
|
# @return [Fixnum]
|
607
609
|
attr_accessor :input_index
|
608
610
|
|
609
|
-
# Counter name. Not necessarily globally-unique, but unique within the
|
610
|
-
#
|
611
|
-
# Required.
|
611
|
+
# Counter name. Not necessarily globally-unique, but unique within the context
|
612
|
+
# of the other fields. Required.
|
612
613
|
# Corresponds to the JSON property `name`
|
613
614
|
# @return [String]
|
614
615
|
attr_accessor :name
|
@@ -623,9 +624,8 @@ module Google
|
|
623
624
|
# @return [String]
|
624
625
|
attr_accessor :origin_namespace
|
625
626
|
|
626
|
-
# The step name requesting an operation, such as GBK.
|
627
|
-
#
|
628
|
-
# read from side inputs.
|
627
|
+
# The step name requesting an operation, such as GBK. I.e. the ParDo causing a
|
628
|
+
# read/write from shuffle to occur, or a read from side inputs.
|
629
629
|
# Corresponds to the JSON property `originalRequestingStepName`
|
630
630
|
# @return [String]
|
631
631
|
attr_accessor :original_requesting_step_name
|
@@ -702,10 +702,9 @@ module Google
|
|
702
702
|
attr_accessor :boolean
|
703
703
|
alias_method :boolean?, :boolean
|
704
704
|
|
705
|
-
# True if this counter is reported as the total cumulative aggregate
|
706
|
-
#
|
707
|
-
#
|
708
|
-
# as a delta.
|
705
|
+
# True if this counter is reported as the total cumulative aggregate value
|
706
|
+
# accumulated since the worker started working on this WorkItem. By default this
|
707
|
+
# is false, indicating that this counter is reported as a delta.
|
709
708
|
# Corresponds to the JSON property `cumulative`
|
710
709
|
# @return [Boolean]
|
711
710
|
attr_accessor :cumulative
|
@@ -731,8 +730,8 @@ module Google
|
|
731
730
|
# @return [Google::Apis::DataflowV1b3::FloatingPointMean]
|
732
731
|
attr_accessor :floating_point_mean
|
733
732
|
|
734
|
-
# A representation of an int64, n, that is immune to precision loss when
|
735
|
-
#
|
733
|
+
# A representation of an int64, n, that is immune to precision loss when encoded
|
734
|
+
# in JSON.
|
736
735
|
# Corresponds to the JSON property `integer`
|
737
736
|
# @return [Google::Apis::DataflowV1b3::SplitInt64]
|
738
737
|
attr_accessor :integer
|
@@ -762,9 +761,8 @@ module Google
|
|
762
761
|
# @return [Google::Apis::DataflowV1b3::NameAndKind]
|
763
762
|
attr_accessor :name_and_kind
|
764
763
|
|
765
|
-
# The service-generated short identifier for this counter.
|
766
|
-
#
|
767
|
-
# a job.
|
764
|
+
# The service-generated short identifier for this counter. The short_id -> (name,
|
765
|
+
# metadata) mapping is constant for the lifetime of a job.
|
768
766
|
# Corresponds to the JSON property `shortId`
|
769
767
|
# @return [Fixnum]
|
770
768
|
attr_accessor :short_id
|
@@ -813,8 +811,7 @@ module Google
|
|
813
811
|
# @return [Google::Apis::DataflowV1b3::RuntimeEnvironment]
|
814
812
|
attr_accessor :environment
|
815
813
|
|
816
|
-
# Required. A Cloud Storage path to the template from which to
|
817
|
-
# create the job.
|
814
|
+
# Required. A Cloud Storage path to the template from which to create the job.
|
818
815
|
# Must be a valid Cloud Storage URL, beginning with `gs://`.
|
819
816
|
# Corresponds to the JSON property `gcsPath`
|
820
817
|
# @return [String]
|
@@ -825,9 +822,8 @@ module Google
|
|
825
822
|
# @return [String]
|
826
823
|
attr_accessor :job_name
|
827
824
|
|
828
|
-
# The [regional endpoint]
|
829
|
-
#
|
830
|
-
# which to direct the request.
|
825
|
+
# The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
|
826
|
+
# regional-endpoints) to which to direct the request.
|
831
827
|
# Corresponds to the JSON property `location`
|
832
828
|
# @return [String]
|
833
829
|
attr_accessor :location
|
@@ -855,15 +851,14 @@ module Google
|
|
855
851
|
class CreateTemplateVersionRequest
|
856
852
|
include Google::Apis::Core::Hashable
|
857
853
|
|
858
|
-
# /////////////////////////////////////////////////////////////////////////////
|
859
|
-
#
|
860
|
-
#
|
861
|
-
#
|
862
|
-
#
|
863
|
-
# ////
|
864
|
-
# ////
|
865
|
-
#
|
866
|
-
# //// tags in the same `Template` are not allowed!
|
854
|
+
# ///////////////////////////////////////////////////////////////////////////// /
|
855
|
+
# /// Template Catalog is used to organize user TemplateVersions. ////
|
856
|
+
# TemplateVersions that have the same project_id and display_name are ////
|
857
|
+
# belong to the same Template. //// Templates with the same project_id belong to
|
858
|
+
# the same Project. //// TemplateVersion may have labels and multiple labels are
|
859
|
+
# allowed. //// Duplicated labels in the same `TemplateVersion` are not allowed.
|
860
|
+
# //// TemplateVersion may have tags and multiple tags are allowed. Duplicated //
|
861
|
+
# // tags in the same `Template` are not allowed!
|
867
862
|
# Corresponds to the JSON property `templateVersion`
|
868
863
|
# @return [Google::Apis::DataflowV1b3::TemplateVersion]
|
869
864
|
attr_accessor :template_version
|
@@ -902,16 +897,16 @@ module Google
|
|
902
897
|
class DataDiskAssignment
|
903
898
|
include Google::Apis::Core::Hashable
|
904
899
|
|
905
|
-
# Mounted data disks. The order is important a data disk's 0-based index in
|
906
|
-
#
|
907
|
-
#
|
908
|
-
#
|
900
|
+
# Mounted data disks. The order is important a data disk's 0-based index in this
|
901
|
+
# list defines which persistent directory the disk is mounted to, for example
|
902
|
+
# the list of ` "myproject-1014-104817-4c2-harness-0-disk-0" `, ` "myproject-
|
903
|
+
# 1014-104817-4c2-harness-0-disk-1" `.
|
909
904
|
# Corresponds to the JSON property `dataDisks`
|
910
905
|
# @return [Array<String>]
|
911
906
|
attr_accessor :data_disks
|
912
907
|
|
913
|
-
# VM instance name the data disks mounted to, for example
|
914
|
-
#
|
908
|
+
# VM instance name the data disks mounted to, for example "myproject-1014-104817-
|
909
|
+
# 4c2-harness-0".
|
915
910
|
# Corresponds to the JSON property `vmInstance`
|
916
911
|
# @return [String]
|
917
912
|
attr_accessor :vm_instance
|
@@ -965,10 +960,9 @@ module Google
|
|
965
960
|
end
|
966
961
|
end
|
967
962
|
|
968
|
-
# Specification of one of the bundles produced as a result of splitting
|
969
|
-
#
|
970
|
-
#
|
971
|
-
# relative to the source being split.
|
963
|
+
# Specification of one of the bundles produced as a result of splitting a Source
|
964
|
+
# (e.g. when executing a SourceSplitRequest, or when splitting an active task
|
965
|
+
# using WorkItemStatus.dynamic_source_split), relative to the source being split.
|
972
966
|
class DerivedSource
|
973
967
|
include Google::Apis::Core::Hashable
|
974
968
|
|
@@ -997,20 +991,17 @@ module Google
|
|
997
991
|
class Disk
|
998
992
|
include Google::Apis::Core::Hashable
|
999
993
|
|
1000
|
-
# Disk storage type, as defined by Google Compute Engine.
|
1001
|
-
#
|
1002
|
-
#
|
1003
|
-
#
|
1004
|
-
#
|
1005
|
-
# typically
|
1006
|
-
#
|
1007
|
-
#
|
1008
|
-
#
|
1009
|
-
#
|
1010
|
-
#
|
1011
|
-
# Google Compute Engine Disk types are local to a particular
|
1012
|
-
# project in a particular zone, and so the resource name will
|
1013
|
-
# typically look something like this:
|
994
|
+
# Disk storage type, as defined by Google Compute Engine. This must be a disk
|
995
|
+
# type appropriate to the project and zone in which the workers will run. If
|
996
|
+
# unknown or unspecified, the service will attempt to choose a reasonable
|
997
|
+
# default. For example, the standard persistent disk type is a resource name
|
998
|
+
# typically ending in "pd-standard". If SSD persistent disks are available, the
|
999
|
+
# resource name typically ends with "pd-ssd". The actual valid values are
|
1000
|
+
# defined the Google Compute Engine API, not by the Cloud Dataflow API; consult
|
1001
|
+
# the Google Compute Engine documentation for more information about determining
|
1002
|
+
# the set of available disk types for a particular project and zone. Google
|
1003
|
+
# Compute Engine Disk types are local to a particular project in a particular
|
1004
|
+
# zone, and so the resource name will typically look something like this:
|
1014
1005
|
# compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
|
1015
1006
|
# Corresponds to the JSON property `diskType`
|
1016
1007
|
# @return [String]
|
@@ -1021,8 +1012,8 @@ module Google
|
|
1021
1012
|
# @return [String]
|
1022
1013
|
attr_accessor :mount_point
|
1023
1014
|
|
1024
|
-
# Size of disk in GB.
|
1025
|
-
#
|
1015
|
+
# Size of disk in GB. If zero or unspecified, the service will attempt to choose
|
1016
|
+
# a reasonable default.
|
1026
1017
|
# Corresponds to the JSON property `sizeGb`
|
1027
1018
|
# @return [Fixnum]
|
1028
1019
|
attr_accessor :size_gb
|
@@ -1069,9 +1060,8 @@ module Google
|
|
1069
1060
|
# @return [String]
|
1070
1061
|
attr_accessor :java_class_value
|
1071
1062
|
|
1072
|
-
# The key identifying the display data.
|
1073
|
-
#
|
1074
|
-
# when viewed in a dax monitoring system.
|
1063
|
+
# The key identifying the display data. This is intended to be used as a label
|
1064
|
+
# for the display data when viewed in a dax monitoring system.
|
1075
1065
|
# Corresponds to the JSON property `key`
|
1076
1066
|
# @return [String]
|
1077
1067
|
attr_accessor :key
|
@@ -1082,19 +1072,18 @@ module Google
|
|
1082
1072
|
attr_accessor :label
|
1083
1073
|
|
1084
1074
|
# The namespace for the key. This is usually a class name or programming
|
1085
|
-
# language namespace (i.e. python module) which defines the display data.
|
1086
|
-
#
|
1087
|
-
#
|
1075
|
+
# language namespace (i.e. python module) which defines the display data. This
|
1076
|
+
# allows a dax monitoring system to specially handle the data and perform custom
|
1077
|
+
# rendering.
|
1088
1078
|
# Corresponds to the JSON property `namespace`
|
1089
1079
|
# @return [String]
|
1090
1080
|
attr_accessor :namespace
|
1091
1081
|
|
1092
|
-
# A possible additional shorter value to display.
|
1093
|
-
#
|
1094
|
-
#
|
1095
|
-
#
|
1096
|
-
#
|
1097
|
-
# will be displayed as a tooltip.
|
1082
|
+
# A possible additional shorter value to display. For example a
|
1083
|
+
# java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as
|
1084
|
+
# the short_str_value and com.mypackage.MyDoFn as the java_class_name value.
|
1085
|
+
# short_str_value can be displayed and java_class_name_value will be displayed
|
1086
|
+
# as a tooltip.
|
1098
1087
|
# Corresponds to the JSON property `shortStrValue`
|
1099
1088
|
# @return [String]
|
1100
1089
|
attr_accessor :short_str_value
|
@@ -1139,36 +1128,35 @@ module Google
|
|
1139
1128
|
class DistributionUpdate
|
1140
1129
|
include Google::Apis::Core::Hashable
|
1141
1130
|
|
1142
|
-
# A representation of an int64, n, that is immune to precision loss when
|
1143
|
-
#
|
1131
|
+
# A representation of an int64, n, that is immune to precision loss when encoded
|
1132
|
+
# in JSON.
|
1144
1133
|
# Corresponds to the JSON property `count`
|
1145
1134
|
# @return [Google::Apis::DataflowV1b3::SplitInt64]
|
1146
1135
|
attr_accessor :count
|
1147
1136
|
|
1148
|
-
# Histogram of value counts for a distribution.
|
1149
|
-
#
|
1150
|
-
#
|
1151
|
-
#
|
1152
|
-
#
|
1153
|
-
# Negative values are not supported.
|
1137
|
+
# Histogram of value counts for a distribution. Buckets have an inclusive lower
|
1138
|
+
# bound and exclusive upper bound and use "1,2,5 bucketing": The first bucket
|
1139
|
+
# range is from [0,1) and all subsequent bucket boundaries are powers of ten
|
1140
|
+
# multiplied by 1, 2, or 5. Thus, bucket boundaries are 0, 1, 2, 5, 10, 20, 50,
|
1141
|
+
# 100, 200, 500, 1000, ... Negative values are not supported.
|
1154
1142
|
# Corresponds to the JSON property `histogram`
|
1155
1143
|
# @return [Google::Apis::DataflowV1b3::Histogram]
|
1156
1144
|
attr_accessor :histogram
|
1157
1145
|
|
1158
|
-
# A representation of an int64, n, that is immune to precision loss when
|
1159
|
-
#
|
1146
|
+
# A representation of an int64, n, that is immune to precision loss when encoded
|
1147
|
+
# in JSON.
|
1160
1148
|
# Corresponds to the JSON property `max`
|
1161
1149
|
# @return [Google::Apis::DataflowV1b3::SplitInt64]
|
1162
1150
|
attr_accessor :max
|
1163
1151
|
|
1164
|
-
# A representation of an int64, n, that is immune to precision loss when
|
1165
|
-
#
|
1152
|
+
# A representation of an int64, n, that is immune to precision loss when encoded
|
1153
|
+
# in JSON.
|
1166
1154
|
# Corresponds to the JSON property `min`
|
1167
1155
|
# @return [Google::Apis::DataflowV1b3::SplitInt64]
|
1168
1156
|
attr_accessor :min
|
1169
1157
|
|
1170
|
-
# A representation of an int64, n, that is immune to precision loss when
|
1171
|
-
#
|
1158
|
+
# A representation of an int64, n, that is immune to precision loss when encoded
|
1159
|
+
# in JSON.
|
1172
1160
|
# Corresponds to the JSON property `sum`
|
1173
1161
|
# @return [Google::Apis::DataflowV1b3::SplitInt64]
|
1174
1162
|
attr_accessor :sum
|
@@ -1193,24 +1181,22 @@ module Google
|
|
1193
1181
|
end
|
1194
1182
|
end
|
1195
1183
|
|
1196
|
-
# When a task splits using WorkItemStatus.dynamic_source_split, this
|
1197
|
-
#
|
1198
|
-
#
|
1184
|
+
# When a task splits using WorkItemStatus.dynamic_source_split, this message
|
1185
|
+
# describes the two parts of the split relative to the description of the
|
1186
|
+
# current task's input.
|
1199
1187
|
class DynamicSourceSplit
|
1200
1188
|
include Google::Apis::Core::Hashable
|
1201
1189
|
|
1202
|
-
# Specification of one of the bundles produced as a result of splitting
|
1203
|
-
#
|
1204
|
-
#
|
1205
|
-
# relative to the source being split.
|
1190
|
+
# Specification of one of the bundles produced as a result of splitting a Source
|
1191
|
+
# (e.g. when executing a SourceSplitRequest, or when splitting an active task
|
1192
|
+
# using WorkItemStatus.dynamic_source_split), relative to the source being split.
|
1206
1193
|
# Corresponds to the JSON property `primary`
|
1207
1194
|
# @return [Google::Apis::DataflowV1b3::DerivedSource]
|
1208
1195
|
attr_accessor :primary
|
1209
1196
|
|
1210
|
-
# Specification of one of the bundles produced as a result of splitting
|
1211
|
-
#
|
1212
|
-
#
|
1213
|
-
# relative to the source being split.
|
1197
|
+
# Specification of one of the bundles produced as a result of splitting a Source
|
1198
|
+
# (e.g. when executing a SourceSplitRequest, or when splitting an active task
|
1199
|
+
# using WorkItemStatus.dynamic_source_split), relative to the source being split.
|
1214
1200
|
# Corresponds to the JSON property `residual`
|
1215
1201
|
# @return [Google::Apis::DataflowV1b3::DerivedSource]
|
1216
1202
|
attr_accessor :residual
|
@@ -1226,13 +1212,11 @@ module Google
|
|
1226
1212
|
end
|
1227
1213
|
end
|
1228
1214
|
|
1229
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
1230
|
-
#
|
1231
|
-
#
|
1232
|
-
#
|
1233
|
-
#
|
1234
|
-
# `
|
1235
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
1215
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1216
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
1217
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1218
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
1219
|
+
# `Empty` is empty JSON object ````.
|
1236
1220
|
class Empty
|
1237
1221
|
include Google::Apis::Core::Hashable
|
1238
1222
|
|
@@ -1249,19 +1233,16 @@ module Google
|
|
1249
1233
|
class Environment
|
1250
1234
|
include Google::Apis::Core::Hashable
|
1251
1235
|
|
1252
|
-
# The type of cluster manager API to use.
|
1253
|
-
#
|
1254
|
-
#
|
1255
|
-
# e.g. "compute.googleapis.com".
|
1236
|
+
# The type of cluster manager API to use. If unknown or unspecified, the service
|
1237
|
+
# will attempt to choose a reasonable default. This should be in the form of the
|
1238
|
+
# API service name, e.g. "compute.googleapis.com".
|
1256
1239
|
# Corresponds to the JSON property `clusterManagerApiService`
|
1257
1240
|
# @return [String]
|
1258
1241
|
attr_accessor :cluster_manager_api_service
|
1259
1242
|
|
1260
|
-
# The dataset for the current project where various workflow
|
1261
|
-
#
|
1262
|
-
#
|
1263
|
-
# Google BigQuery:
|
1264
|
-
# bigquery.googleapis.com/`dataset`
|
1243
|
+
# The dataset for the current project where various workflow related tables are
|
1244
|
+
# stored. The supported resource type is: Google BigQuery: bigquery.googleapis.
|
1245
|
+
# com/`dataset`
|
1265
1246
|
# Corresponds to the JSON property `dataset`
|
1266
1247
|
# @return [String]
|
1267
1248
|
attr_accessor :dataset
|
@@ -1281,10 +1262,9 @@ module Google
|
|
1281
1262
|
# @return [Hash<String,Object>]
|
1282
1263
|
attr_accessor :internal_experiments
|
1283
1264
|
|
1284
|
-
# The Cloud Dataflow SDK pipeline options specified by the user. These
|
1285
|
-
#
|
1286
|
-
#
|
1287
|
-
# independent way.
|
1265
|
+
# The Cloud Dataflow SDK pipeline options specified by the user. These options
|
1266
|
+
# are passed through the service and are used to recreate the SDK pipeline
|
1267
|
+
# options on the worker in a language agnostic and platform independent way.
|
1288
1268
|
# Corresponds to the JSON property `sdkPipelineOptions`
|
1289
1269
|
# @return [Hash<String,Object>]
|
1290
1270
|
attr_accessor :sdk_pipeline_options
|
@@ -1294,25 +1274,20 @@ module Google
|
|
1294
1274
|
# @return [String]
|
1295
1275
|
attr_accessor :service_account_email
|
1296
1276
|
|
1297
|
-
# If set, contains the Cloud KMS key identifier used to encrypt data
|
1298
|
-
#
|
1299
|
-
#
|
1300
|
-
# projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
|
1277
|
+
# If set, contains the Cloud KMS key identifier used to encrypt data at rest,
|
1278
|
+
# AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/
|
1279
|
+
# locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
|
1301
1280
|
# Corresponds to the JSON property `serviceKmsKeyName`
|
1302
1281
|
# @return [String]
|
1303
1282
|
attr_accessor :service_kms_key_name
|
1304
1283
|
|
1305
|
-
# The prefix of the resources the system should use for temporary
|
1306
|
-
#
|
1307
|
-
#
|
1308
|
-
#
|
1309
|
-
#
|
1310
|
-
#
|
1311
|
-
#
|
1312
|
-
# The supported resource type is:
|
1313
|
-
# Google Cloud Storage:
|
1314
|
-
# storage.googleapis.com/`bucket`/`object`
|
1315
|
-
# bucket.storage.googleapis.com/`object`
|
1284
|
+
# The prefix of the resources the system should use for temporary storage. The
|
1285
|
+
# system will append the suffix "/temp-`JOBNAME` to this resource prefix, where `
|
1286
|
+
# JOBNAME` is the value of the job_name field. The resulting bucket and object
|
1287
|
+
# prefix is used as the prefix of the resources used to store temporary data
|
1288
|
+
# needed during the job execution. NOTE: This will override the value in
|
1289
|
+
# taskrunner_settings. The supported resource type is: Google Cloud Storage:
|
1290
|
+
# storage.googleapis.com/`bucket`/`object` bucket.storage.googleapis.com/`object`
|
1316
1291
|
# Corresponds to the JSON property `tempStoragePrefix`
|
1317
1292
|
# @return [String]
|
1318
1293
|
attr_accessor :temp_storage_prefix
|
@@ -1322,32 +1297,31 @@ module Google
|
|
1322
1297
|
# @return [Hash<String,Object>]
|
1323
1298
|
attr_accessor :user_agent
|
1324
1299
|
|
1325
|
-
# A structure describing which components and their versions of the service
|
1326
|
-
#
|
1300
|
+
# A structure describing which components and their versions of the service are
|
1301
|
+
# required in order to run the job.
|
1327
1302
|
# Corresponds to the JSON property `version`
|
1328
1303
|
# @return [Hash<String,Object>]
|
1329
1304
|
attr_accessor :version
|
1330
1305
|
|
1331
|
-
# The worker pools. At least one "harness" worker pool must be
|
1332
|
-
#
|
1306
|
+
# The worker pools. At least one "harness" worker pool must be specified in
|
1307
|
+
# order for the job to have workers.
|
1333
1308
|
# Corresponds to the JSON property `workerPools`
|
1334
1309
|
# @return [Array<Google::Apis::DataflowV1b3::WorkerPool>]
|
1335
1310
|
attr_accessor :worker_pools
|
1336
1311
|
|
1337
|
-
# The Compute Engine region
|
1338
|
-
#
|
1339
|
-
#
|
1340
|
-
#
|
1341
|
-
# default to the control plane's region.
|
1312
|
+
# The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/
|
1313
|
+
# regions-zones) in which worker processing should occur, e.g. "us-west1".
|
1314
|
+
# Mutually exclusive with worker_zone. If neither worker_region nor worker_zone
|
1315
|
+
# is specified, default to the control plane's region.
|
1342
1316
|
# Corresponds to the JSON property `workerRegion`
|
1343
1317
|
# @return [String]
|
1344
1318
|
attr_accessor :worker_region
|
1345
1319
|
|
1346
|
-
# The Compute Engine zone
|
1347
|
-
#
|
1348
|
-
#
|
1349
|
-
#
|
1350
|
-
#
|
1320
|
+
# The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/
|
1321
|
+
# regions-zones) in which worker processing should occur, e.g. "us-west1-a".
|
1322
|
+
# Mutually exclusive with worker_region. If neither worker_region nor
|
1323
|
+
# worker_zone is specified, a zone in the control plane's region is chosen based
|
1324
|
+
# on available capacity.
|
1351
1325
|
# Corresponds to the JSON property `workerZone`
|
1352
1326
|
# @return [String]
|
1353
1327
|
attr_accessor :worker_zone
|
@@ -1407,7 +1381,7 @@ module Google
|
|
1407
1381
|
end
|
1408
1382
|
|
1409
1383
|
# Description of the composing transforms, names/ids, and input/outputs of a
|
1410
|
-
# stage of execution.
|
1384
|
+
# stage of execution. Some composing transforms and sources may have been
|
1411
1385
|
# generated by the Dataflow service during execution planning.
|
1412
1386
|
class ExecutionStageSummary
|
1413
1387
|
include Google::Apis::Core::Hashable
|
@@ -1447,6 +1421,11 @@ module Google
|
|
1447
1421
|
# @return [Array<Google::Apis::DataflowV1b3::StageSource>]
|
1448
1422
|
attr_accessor :output_source
|
1449
1423
|
|
1424
|
+
# Other stages that must complete before this stage can run.
|
1425
|
+
# Corresponds to the JSON property `prerequisiteStage`
|
1426
|
+
# @return [Array<String>]
|
1427
|
+
attr_accessor :prerequisite_stage
|
1428
|
+
|
1450
1429
|
def initialize(**args)
|
1451
1430
|
update!(**args)
|
1452
1431
|
end
|
@@ -1460,18 +1439,17 @@ module Google
|
|
1460
1439
|
@kind = args[:kind] if args.key?(:kind)
|
1461
1440
|
@name = args[:name] if args.key?(:name)
|
1462
1441
|
@output_source = args[:output_source] if args.key?(:output_source)
|
1442
|
+
@prerequisite_stage = args[:prerequisite_stage] if args.key?(:prerequisite_stage)
|
1463
1443
|
end
|
1464
1444
|
end
|
1465
1445
|
|
1466
|
-
# Indicates which [regional endpoint]
|
1467
|
-
#
|
1468
|
-
# to respond to a request for data.
|
1446
|
+
# Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/
|
1447
|
+
# concepts/regional-endpoints) failed to respond to a request for data.
|
1469
1448
|
class FailedLocation
|
1470
1449
|
include Google::Apis::Core::Hashable
|
1471
1450
|
|
1472
|
-
# The name of the [regional endpoint]
|
1473
|
-
#
|
1474
|
-
# failed to respond.
|
1451
|
+
# The name of the [regional endpoint] (https://cloud.google.com/dataflow/docs/
|
1452
|
+
# concepts/regional-endpoints) that failed to respond.
|
1475
1453
|
# Corresponds to the JSON property `name`
|
1476
1454
|
# @return [String]
|
1477
1455
|
attr_accessor :name
|
@@ -1524,6 +1502,134 @@ module Google
|
|
1524
1502
|
end
|
1525
1503
|
end
|
1526
1504
|
|
1505
|
+
# The environment values to be set at runtime for flex template.
|
1506
|
+
class FlexTemplateRuntimeEnvironment
|
1507
|
+
include Google::Apis::Core::Hashable
|
1508
|
+
|
1509
|
+
# Additional experiment flags for the job.
|
1510
|
+
# Corresponds to the JSON property `additionalExperiments`
|
1511
|
+
# @return [Array<String>]
|
1512
|
+
attr_accessor :additional_experiments
|
1513
|
+
|
1514
|
+
# Additional user labels to be specified for the job. Keys and values must
|
1515
|
+
# follow the restrictions specified in the [labeling restrictions](https://cloud.
|
1516
|
+
# google.com/compute/docs/labeling-resources#restrictions) page. An object
|
1517
|
+
# containing a list of "key": value pairs. Example: ` "name": "wrench", "mass": "
|
1518
|
+
# 1kg", "count": "3" `.
|
1519
|
+
# Corresponds to the JSON property `additionalUserLabels`
|
1520
|
+
# @return [Hash<String,String>]
|
1521
|
+
attr_accessor :additional_user_labels
|
1522
|
+
|
1523
|
+
# Whether to enable Streaming Engine for the job.
|
1524
|
+
# Corresponds to the JSON property `enableStreamingEngine`
|
1525
|
+
# @return [Boolean]
|
1526
|
+
attr_accessor :enable_streaming_engine
|
1527
|
+
alias_method :enable_streaming_engine?, :enable_streaming_engine
|
1528
|
+
|
1529
|
+
# Configuration for VM IPs.
|
1530
|
+
# Corresponds to the JSON property `ipConfiguration`
|
1531
|
+
# @return [String]
|
1532
|
+
attr_accessor :ip_configuration
|
1533
|
+
|
1534
|
+
# Name for the Cloud KMS key for the job. Key format is: projects//locations//
|
1535
|
+
# keyRings//cryptoKeys/
|
1536
|
+
# Corresponds to the JSON property `kmsKeyName`
|
1537
|
+
# @return [String]
|
1538
|
+
attr_accessor :kms_key_name
|
1539
|
+
|
1540
|
+
# The machine type to use for the job. Defaults to the value from the template
|
1541
|
+
# if not specified.
|
1542
|
+
# Corresponds to the JSON property `machineType`
|
1543
|
+
# @return [String]
|
1544
|
+
attr_accessor :machine_type
|
1545
|
+
|
1546
|
+
# The maximum number of Google Compute Engine instances to be made available to
|
1547
|
+
# your pipeline during execution, from 1 to 1000.
|
1548
|
+
# Corresponds to the JSON property `maxWorkers`
|
1549
|
+
# @return [Fixnum]
|
1550
|
+
attr_accessor :max_workers
|
1551
|
+
|
1552
|
+
# Network to which VMs will be assigned. If empty or unspecified, the service
|
1553
|
+
# will use the network "default".
|
1554
|
+
# Corresponds to the JSON property `network`
|
1555
|
+
# @return [String]
|
1556
|
+
attr_accessor :network
|
1557
|
+
|
1558
|
+
# The initial number of Google Compute Engine instances for the job.
|
1559
|
+
# Corresponds to the JSON property `numWorkers`
|
1560
|
+
# @return [Fixnum]
|
1561
|
+
attr_accessor :num_workers
|
1562
|
+
|
1563
|
+
# The email address of the service account to run the job as.
|
1564
|
+
# Corresponds to the JSON property `serviceAccountEmail`
|
1565
|
+
# @return [String]
|
1566
|
+
attr_accessor :service_account_email
|
1567
|
+
|
1568
|
+
# Subnetwork to which VMs will be assigned, if desired. You can specify a
|
1569
|
+
# subnetwork using either a complete URL or an abbreviated path. Expected to be
|
1570
|
+
# of the form "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/
|
1571
|
+
# regions/REGION/subnetworks/SUBNETWORK" or "regions/REGION/subnetworks/
|
1572
|
+
# SUBNETWORK". If the subnetwork is located in a Shared VPC network, you must
|
1573
|
+
# use the complete URL.
|
1574
|
+
# Corresponds to the JSON property `subnetwork`
|
1575
|
+
# @return [String]
|
1576
|
+
attr_accessor :subnetwork
|
1577
|
+
|
1578
|
+
# The Cloud Storage path to use for temporary files. Must be a valid Cloud
|
1579
|
+
# Storage URL, beginning with `gs://`.
|
1580
|
+
# Corresponds to the JSON property `tempLocation`
|
1581
|
+
# @return [String]
|
1582
|
+
attr_accessor :temp_location
|
1583
|
+
|
1584
|
+
# The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/
|
1585
|
+
# regions-zones) in which worker processing should occur, e.g. "us-west1".
|
1586
|
+
# Mutually exclusive with worker_zone. If neither worker_region nor worker_zone
|
1587
|
+
# is specified, default to the control plane's region.
|
1588
|
+
# Corresponds to the JSON property `workerRegion`
|
1589
|
+
# @return [String]
|
1590
|
+
attr_accessor :worker_region
|
1591
|
+
|
1592
|
+
# The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/
|
1593
|
+
# regions-zones) in which worker processing should occur, e.g. "us-west1-a".
|
1594
|
+
# Mutually exclusive with worker_region. If neither worker_region nor
|
1595
|
+
# worker_zone is specified, a zone in the control plane's region is chosen based
|
1596
|
+
# on available capacity. If both `worker_zone` and `zone` are set, `worker_zone`
|
1597
|
+
# takes precedence.
|
1598
|
+
# Corresponds to the JSON property `workerZone`
|
1599
|
+
# @return [String]
|
1600
|
+
attr_accessor :worker_zone
|
1601
|
+
|
1602
|
+
# The Compute Engine [availability zone](https://cloud.google.com/compute/docs/
|
1603
|
+
# regions-zones/regions-zones) for launching worker instances to run your
|
1604
|
+
# pipeline. In the future, worker_zone will take precedence.
|
1605
|
+
# Corresponds to the JSON property `zone`
|
1606
|
+
# @return [String]
|
1607
|
+
attr_accessor :zone
|
1608
|
+
|
1609
|
+
def initialize(**args)
|
1610
|
+
update!(**args)
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
# Update properties of this object
|
1614
|
+
def update!(**args)
|
1615
|
+
@additional_experiments = args[:additional_experiments] if args.key?(:additional_experiments)
|
1616
|
+
@additional_user_labels = args[:additional_user_labels] if args.key?(:additional_user_labels)
|
1617
|
+
@enable_streaming_engine = args[:enable_streaming_engine] if args.key?(:enable_streaming_engine)
|
1618
|
+
@ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
|
1619
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
1620
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
1621
|
+
@max_workers = args[:max_workers] if args.key?(:max_workers)
|
1622
|
+
@network = args[:network] if args.key?(:network)
|
1623
|
+
@num_workers = args[:num_workers] if args.key?(:num_workers)
|
1624
|
+
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
1625
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
1626
|
+
@temp_location = args[:temp_location] if args.key?(:temp_location)
|
1627
|
+
@worker_region = args[:worker_region] if args.key?(:worker_region)
|
1628
|
+
@worker_zone = args[:worker_zone] if args.key?(:worker_zone)
|
1629
|
+
@zone = args[:zone] if args.key?(:zone)
|
1630
|
+
end
|
1631
|
+
end
|
1632
|
+
|
1527
1633
|
# A metric value representing a list of floating point numbers.
|
1528
1634
|
class FloatingPointList
|
1529
1635
|
include Google::Apis::Core::Hashable
|
@@ -1547,8 +1653,8 @@ module Google
|
|
1547
1653
|
class FloatingPointMean
|
1548
1654
|
include Google::Apis::Core::Hashable
|
1549
1655
|
|
1550
|
-
# A representation of an int64, n, that is immune to precision loss when
|
1551
|
-
#
|
1656
|
+
# A representation of an int64, n, that is immune to precision loss when encoded
|
1657
|
+
# in JSON.
|
1552
1658
|
# Corresponds to the JSON property `count`
|
1553
1659
|
# @return [Google::Apis::DataflowV1b3::SplitInt64]
|
1554
1660
|
attr_accessor :count
|
@@ -1573,15 +1679,13 @@ module Google
|
|
1573
1679
|
class GetDebugConfigRequest
|
1574
1680
|
include Google::Apis::Core::Hashable
|
1575
1681
|
|
1576
|
-
# The internal component id for which debug configuration is
|
1577
|
-
# requested.
|
1682
|
+
# The internal component id for which debug configuration is requested.
|
1578
1683
|
# Corresponds to the JSON property `componentId`
|
1579
1684
|
# @return [String]
|
1580
1685
|
attr_accessor :component_id
|
1581
1686
|
|
1582
|
-
# The [regional endpoint]
|
1583
|
-
#
|
1584
|
-
# contains the job specified by job_id.
|
1687
|
+
# The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
|
1688
|
+
# regional-endpoints) that contains the job specified by job_id.
|
1585
1689
|
# Corresponds to the JSON property `location`
|
1586
1690
|
# @return [String]
|
1587
1691
|
attr_accessor :location
|
@@ -1636,12 +1740,12 @@ module Google
|
|
1636
1740
|
# @return [Google::Apis::DataflowV1b3::RuntimeMetadata]
|
1637
1741
|
attr_accessor :runtime_metadata
|
1638
1742
|
|
1639
|
-
# The `Status` type defines a logical error model that is suitable for
|
1640
|
-
#
|
1641
|
-
#
|
1642
|
-
#
|
1643
|
-
#
|
1644
|
-
#
|
1743
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1744
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1745
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1746
|
+
# data: error code, error message, and error details. You can find out more
|
1747
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1748
|
+
# //cloud.google.com/apis/design/errors).
|
1645
1749
|
# Corresponds to the JSON property `status`
|
1646
1750
|
# @return [Google::Apis::DataflowV1b3::Status]
|
1647
1751
|
attr_accessor :status
|
@@ -1664,26 +1768,25 @@ module Google
|
|
1664
1768
|
end
|
1665
1769
|
end
|
1666
1770
|
|
1667
|
-
# Histogram of value counts for a distribution.
|
1668
|
-
#
|
1669
|
-
#
|
1670
|
-
#
|
1671
|
-
#
|
1672
|
-
# Negative values are not supported.
|
1771
|
+
# Histogram of value counts for a distribution. Buckets have an inclusive lower
|
1772
|
+
# bound and exclusive upper bound and use "1,2,5 bucketing": The first bucket
|
1773
|
+
# range is from [0,1) and all subsequent bucket boundaries are powers of ten
|
1774
|
+
# multiplied by 1, 2, or 5. Thus, bucket boundaries are 0, 1, 2, 5, 10, 20, 50,
|
1775
|
+
# 100, 200, 500, 1000, ... Negative values are not supported.
|
1673
1776
|
class Histogram
|
1674
1777
|
include Google::Apis::Core::Hashable
|
1675
1778
|
|
1676
|
-
# Counts of values in each bucket. For efficiency, prefix and trailing
|
1677
|
-
#
|
1678
|
-
#
|
1679
|
-
#
|
1779
|
+
# Counts of values in each bucket. For efficiency, prefix and trailing buckets
|
1780
|
+
# with count = 0 are elided. Buckets can store the full range of values of an
|
1781
|
+
# unsigned long, with ULLONG_MAX falling into the 59th bucket with range [1e19,
|
1782
|
+
# 2e19).
|
1680
1783
|
# Corresponds to the JSON property `bucketCounts`
|
1681
1784
|
# @return [Array<Fixnum>]
|
1682
1785
|
attr_accessor :bucket_counts
|
1683
1786
|
|
1684
|
-
# Starting index of first stored bucket. The non-inclusive upper-bound of
|
1685
|
-
#
|
1686
|
-
#
|
1787
|
+
# Starting index of first stored bucket. The non-inclusive upper-bound of the
|
1788
|
+
# ith bucket is given by: pow(10,(i-first_bucket_offset)/3) * (1,2,5)[(i-
|
1789
|
+
# first_bucket_offset)%3]
|
1687
1790
|
# Corresponds to the JSON property `firstBucketOffset`
|
1688
1791
|
# @return [Fixnum]
|
1689
1792
|
attr_accessor :first_bucket_offset
|
@@ -1708,8 +1811,8 @@ module Google
|
|
1708
1811
|
# @return [String]
|
1709
1812
|
attr_accessor :hot_key_age
|
1710
1813
|
|
1711
|
-
# System-defined name of the step containing this hot key.
|
1712
|
-
#
|
1814
|
+
# System-defined name of the step containing this hot key. Unique across the
|
1815
|
+
# workflow.
|
1713
1816
|
# Corresponds to the JSON property `systemName`
|
1714
1817
|
# @return [String]
|
1715
1818
|
attr_accessor :system_name
|
@@ -1731,8 +1834,8 @@ module Google
|
|
1731
1834
|
end
|
1732
1835
|
end
|
1733
1836
|
|
1734
|
-
# An input of an instruction, as a reference to an output of a
|
1735
|
-
#
|
1837
|
+
# An input of an instruction, as a reference to an output of a producer
|
1838
|
+
# instruction.
|
1736
1839
|
class InstructionInput
|
1737
1840
|
include Google::Apis::Core::Hashable
|
1738
1841
|
|
@@ -1741,10 +1844,9 @@ module Google
|
|
1741
1844
|
# @return [Fixnum]
|
1742
1845
|
attr_accessor :output_num
|
1743
1846
|
|
1744
|
-
# The index (origin zero) of the parallel instruction that produces
|
1745
|
-
#
|
1746
|
-
#
|
1747
|
-
# containing MapTask.
|
1847
|
+
# The index (origin zero) of the parallel instruction that produces the output
|
1848
|
+
# to be consumed by this input. This index is relative to the list of
|
1849
|
+
# instructions in this input's instruction's containing MapTask.
|
1748
1850
|
# Corresponds to the JSON property `producerInstructionIndex`
|
1749
1851
|
# @return [Fixnum]
|
1750
1852
|
attr_accessor :producer_instruction_index
|
@@ -1774,28 +1876,27 @@ module Google
|
|
1774
1876
|
# @return [String]
|
1775
1877
|
attr_accessor :name
|
1776
1878
|
|
1777
|
-
# For system-generated byte and mean byte metrics, certain instructions
|
1778
|
-
#
|
1879
|
+
# For system-generated byte and mean byte metrics, certain instructions should
|
1880
|
+
# only report the key size.
|
1779
1881
|
# Corresponds to the JSON property `onlyCountKeyBytes`
|
1780
1882
|
# @return [Boolean]
|
1781
1883
|
attr_accessor :only_count_key_bytes
|
1782
1884
|
alias_method :only_count_key_bytes?, :only_count_key_bytes
|
1783
1885
|
|
1784
|
-
# For system-generated byte and mean byte metrics, certain instructions
|
1785
|
-
#
|
1886
|
+
# For system-generated byte and mean byte metrics, certain instructions should
|
1887
|
+
# only report the value size.
|
1786
1888
|
# Corresponds to the JSON property `onlyCountValueBytes`
|
1787
1889
|
# @return [Boolean]
|
1788
1890
|
attr_accessor :only_count_value_bytes
|
1789
1891
|
alias_method :only_count_value_bytes?, :only_count_value_bytes
|
1790
1892
|
|
1791
|
-
# System-defined name for this output in the original workflow graph.
|
1792
|
-
#
|
1893
|
+
# System-defined name for this output in the original workflow graph. Outputs
|
1894
|
+
# that do not contribute to an original instruction do not set this.
|
1793
1895
|
# Corresponds to the JSON property `originalName`
|
1794
1896
|
# @return [String]
|
1795
1897
|
attr_accessor :original_name
|
1796
1898
|
|
1797
|
-
# System-defined name of this output.
|
1798
|
-
# Unique across the workflow.
|
1899
|
+
# System-defined name of this output. Unique across the workflow.
|
1799
1900
|
# Corresponds to the JSON property `systemName`
|
1800
1901
|
# @return [String]
|
1801
1902
|
attr_accessor :system_name
|
@@ -1824,8 +1925,8 @@ module Google
|
|
1824
1925
|
# @return [String]
|
1825
1926
|
attr_accessor :timestamp
|
1826
1927
|
|
1827
|
-
# A representation of an int64, n, that is immune to precision loss when
|
1828
|
-
#
|
1928
|
+
# A representation of an int64, n, that is immune to precision loss when encoded
|
1929
|
+
# in JSON.
|
1829
1930
|
# Corresponds to the JSON property `value`
|
1830
1931
|
# @return [Google::Apis::DataflowV1b3::SplitInt64]
|
1831
1932
|
attr_accessor :value
|
@@ -1864,14 +1965,14 @@ module Google
|
|
1864
1965
|
class IntegerMean
|
1865
1966
|
include Google::Apis::Core::Hashable
|
1866
1967
|
|
1867
|
-
# A representation of an int64, n, that is immune to precision loss when
|
1868
|
-
#
|
1968
|
+
# A representation of an int64, n, that is immune to precision loss when encoded
|
1969
|
+
# in JSON.
|
1869
1970
|
# Corresponds to the JSON property `count`
|
1870
1971
|
# @return [Google::Apis::DataflowV1b3::SplitInt64]
|
1871
1972
|
attr_accessor :count
|
1872
1973
|
|
1873
|
-
# A representation of an int64, n, that is immune to precision loss when
|
1874
|
-
#
|
1974
|
+
# A representation of an int64, n, that is immune to precision loss when encoded
|
1975
|
+
# in JSON.
|
1875
1976
|
# Corresponds to the JSON property `sum`
|
1876
1977
|
# @return [Google::Apis::DataflowV1b3::SplitInt64]
|
1877
1978
|
attr_accessor :sum
|
@@ -1891,13 +1992,12 @@ module Google
|
|
1891
1992
|
class Job
|
1892
1993
|
include Google::Apis::Core::Hashable
|
1893
1994
|
|
1894
|
-
# The client's unique identifier of the job, re-used across retried attempts.
|
1895
|
-
#
|
1896
|
-
#
|
1897
|
-
#
|
1898
|
-
#
|
1899
|
-
#
|
1900
|
-
# By default, the field is empty and, in that case, the service ignores it.
|
1995
|
+
# The client's unique identifier of the job, re-used across retried attempts. If
|
1996
|
+
# this field is set, the service will ensure its uniqueness. The request to
|
1997
|
+
# create a job will fail if the service has knowledge of a previously submitted
|
1998
|
+
# job with the same client's ID and job name. The caller may use this field to
|
1999
|
+
# ensure idempotence of job creation across retried attempts to create a job. By
|
2000
|
+
# default, the field is empty and, in that case, the service ignores it.
|
1901
2001
|
# Corresponds to the JSON property `clientRequestId`
|
1902
2002
|
# @return [String]
|
1903
2003
|
attr_accessor :client_request_id
|
@@ -1914,14 +2014,11 @@ module Google
|
|
1914
2014
|
# @return [String]
|
1915
2015
|
attr_accessor :created_from_snapshot_id
|
1916
2016
|
|
1917
|
-
# The current state of the job.
|
1918
|
-
#
|
1919
|
-
#
|
1920
|
-
#
|
1921
|
-
#
|
1922
|
-
# further state updates may be made.
|
1923
|
-
# This field may be mutated by the Cloud Dataflow service;
|
1924
|
-
# callers cannot mutate it.
|
2017
|
+
# The current state of the job. Jobs are created in the `JOB_STATE_STOPPED`
|
2018
|
+
# state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may
|
2019
|
+
# asynchronously enter a terminal state. After a job has reached a terminal
|
2020
|
+
# state, no further state updates may be made. This field may be mutated by the
|
2021
|
+
# Cloud Dataflow service; callers cannot mutate it.
|
1925
2022
|
# Corresponds to the JSON property `currentState`
|
1926
2023
|
# @return [String]
|
1927
2024
|
attr_accessor :current_state
|
@@ -1942,9 +2039,8 @@ module Google
|
|
1942
2039
|
# @return [Google::Apis::DataflowV1b3::JobExecutionInfo]
|
1943
2040
|
attr_accessor :execution_info
|
1944
2041
|
|
1945
|
-
# The unique ID of this job.
|
1946
|
-
#
|
1947
|
-
# created, and is immutable for the life of the job.
|
2042
|
+
# The unique ID of this job. This field is set by the Cloud Dataflow service
|
2043
|
+
# when the Job is created, and is immutable for the life of the job.
|
1948
2044
|
# Corresponds to the JSON property `id`
|
1949
2045
|
# @return [String]
|
1950
2046
|
attr_accessor :id
|
@@ -1955,37 +2051,32 @@ module Google
|
|
1955
2051
|
# @return [Google::Apis::DataflowV1b3::JobMetadata]
|
1956
2052
|
attr_accessor :job_metadata
|
1957
2053
|
|
1958
|
-
# User-defined labels for this job.
|
1959
|
-
#
|
1960
|
-
#
|
1961
|
-
#
|
1962
|
-
#
|
1963
|
-
# * Both keys and values are additionally constrained to be <= 128 bytes in
|
1964
|
-
# size.
|
2054
|
+
# User-defined labels for this job. The labels map can contain no more than 64
|
2055
|
+
# entries. Entries of the labels map are UTF8 strings that comply with the
|
2056
|
+
# following restrictions: * Keys must conform to regexp: \p`Ll`\p`Lo``0,62` *
|
2057
|
+
# Values must conform to regexp: [\p`Ll`\p`Lo`\p`N`_-]`0,63` * Both keys and
|
2058
|
+
# values are additionally constrained to be <= 128 bytes in size.
|
1965
2059
|
# Corresponds to the JSON property `labels`
|
1966
2060
|
# @return [Hash<String,String>]
|
1967
2061
|
attr_accessor :labels
|
1968
2062
|
|
1969
|
-
# The [regional endpoint]
|
1970
|
-
#
|
1971
|
-
# contains this job.
|
2063
|
+
# The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
|
2064
|
+
# regional-endpoints) that contains this job.
|
1972
2065
|
# Corresponds to the JSON property `location`
|
1973
2066
|
# @return [String]
|
1974
2067
|
attr_accessor :location
|
1975
2068
|
|
1976
|
-
# The user-specified Cloud Dataflow job name.
|
1977
|
-
#
|
1978
|
-
#
|
1979
|
-
#
|
1980
|
-
#
|
1981
|
-
# The name must match the regular expression
|
1982
|
-
# `[a-z]([-a-z0-9]`0,38`[a-z0-9])?`
|
2069
|
+
# The user-specified Cloud Dataflow job name. Only one Job with a given name may
|
2070
|
+
# exist in a project at any given time. If a caller attempts to create a Job
|
2071
|
+
# with the same name as an already-existing Job, the attempt returns the
|
2072
|
+
# existing Job. The name must match the regular expression `[a-z]([-a-z0-9]`0,38`
|
2073
|
+
# [a-z0-9])?`
|
1983
2074
|
# Corresponds to the JSON property `name`
|
1984
2075
|
# @return [String]
|
1985
2076
|
attr_accessor :name
|
1986
2077
|
|
1987
2078
|
# A descriptive representation of submitted pipeline as well as the executed
|
1988
|
-
# form.
|
2079
|
+
# form. This data is provided by the Dataflow service for ease of visualizing
|
1989
2080
|
# the pipeline and interpreting Dataflow provided metrics.
|
1990
2081
|
# Corresponds to the JSON property `pipelineDescription`
|
1991
2082
|
# @return [Google::Apis::DataflowV1b3::PipelineDescription]
|
@@ -1996,50 +2087,46 @@ module Google
|
|
1996
2087
|
# @return [String]
|
1997
2088
|
attr_accessor :project_id
|
1998
2089
|
|
1999
|
-
# If this job is an update of an existing job, this field is the job ID
|
2000
|
-
#
|
2001
|
-
#
|
2002
|
-
#
|
2003
|
-
# transferred to this job.
|
2090
|
+
# If this job is an update of an existing job, this field is the job ID of the
|
2091
|
+
# job it replaced. When sending a `CreateJobRequest`, you can update a job by
|
2092
|
+
# specifying it here. The job named here is stopped, and its intermediate state
|
2093
|
+
# is transferred to this job.
|
2004
2094
|
# Corresponds to the JSON property `replaceJobId`
|
2005
2095
|
# @return [String]
|
2006
2096
|
attr_accessor :replace_job_id
|
2007
2097
|
|
2008
|
-
# If another job is an update of this job (and thus, this job is in
|
2009
|
-
#
|
2098
|
+
# If another job is an update of this job (and thus, this job is in `
|
2099
|
+
# JOB_STATE_UPDATED`), this field contains the ID of that job.
|
2010
2100
|
# Corresponds to the JSON property `replacedByJobId`
|
2011
2101
|
# @return [String]
|
2012
2102
|
attr_accessor :replaced_by_job_id
|
2013
2103
|
|
2014
|
-
# The job's requested state.
|
2015
|
-
# `
|
2016
|
-
# `
|
2017
|
-
#
|
2018
|
-
#
|
2019
|
-
# job if it has not already reached a terminal state.
|
2104
|
+
# The job's requested state. `UpdateJob` may be used to switch between the `
|
2105
|
+
# JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state.
|
2106
|
+
# `UpdateJob` may also be used to directly set a job's requested state to `
|
2107
|
+
# JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if
|
2108
|
+
# it has not already reached a terminal state.
|
2020
2109
|
# Corresponds to the JSON property `requestedState`
|
2021
2110
|
# @return [String]
|
2022
2111
|
attr_accessor :requested_state
|
2023
2112
|
|
2024
|
-
# This field may be mutated by the Cloud Dataflow service;
|
2025
|
-
#
|
2113
|
+
# This field may be mutated by the Cloud Dataflow service; callers cannot mutate
|
2114
|
+
# it.
|
2026
2115
|
# Corresponds to the JSON property `stageStates`
|
2027
2116
|
# @return [Array<Google::Apis::DataflowV1b3::ExecutionStageState>]
|
2028
2117
|
attr_accessor :stage_states
|
2029
2118
|
|
2030
2119
|
# The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
|
2031
2120
|
# Flexible resource scheduling jobs are started with some delay after job
|
2032
|
-
# creation, so start_time is unset before start and is updated when the
|
2033
|
-
#
|
2034
|
-
#
|
2035
|
-
# service.
|
2121
|
+
# creation, so start_time is unset before start and is updated when the job is
|
2122
|
+
# started by the Cloud Dataflow service. For other jobs, start_time always
|
2123
|
+
# equals to create_time and is immutable and set by the Cloud Dataflow service.
|
2036
2124
|
# Corresponds to the JSON property `startTime`
|
2037
2125
|
# @return [String]
|
2038
2126
|
attr_accessor :start_time
|
2039
2127
|
|
2040
|
-
# Exactly one of step or steps_location should be specified.
|
2041
|
-
#
|
2042
|
-
# JOB_VIEW_ALL.
|
2128
|
+
# Exactly one of step or steps_location should be specified. The top-level steps
|
2129
|
+
# that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
|
2043
2130
|
# Corresponds to the JSON property `steps`
|
2044
2131
|
# @return [Array<Google::Apis::DataflowV1b3::Step>]
|
2045
2132
|
attr_accessor :steps
|
@@ -2049,15 +2136,11 @@ module Google
|
|
2049
2136
|
# @return [String]
|
2050
2137
|
attr_accessor :steps_location
|
2051
2138
|
|
2052
|
-
# A set of files the system should be aware of that are used
|
2053
|
-
#
|
2054
|
-
#
|
2055
|
-
#
|
2056
|
-
#
|
2057
|
-
# The supported files are:
|
2058
|
-
# Google Cloud Storage:
|
2059
|
-
# storage.googleapis.com/`bucket`/`object`
|
2060
|
-
# bucket.storage.googleapis.com/`object`
|
2139
|
+
# A set of files the system should be aware of that are used for temporary
|
2140
|
+
# storage. These temporary files will be removed on job completion. No
|
2141
|
+
# duplicates are allowed. No file patterns are supported. The supported files
|
2142
|
+
# are: Google Cloud Storage: storage.googleapis.com/`bucket`/`object` bucket.
|
2143
|
+
# storage.googleapis.com/`object`
|
2061
2144
|
# Corresponds to the JSON property `tempFiles`
|
2062
2145
|
# @return [Array<String>]
|
2063
2146
|
attr_accessor :temp_files
|
@@ -2106,6 +2189,32 @@ module Google
|
|
2106
2189
|
end
|
2107
2190
|
end
|
2108
2191
|
|
2192
|
+
# Information about the execution of a job.
|
2193
|
+
class JobExecutionDetails
|
2194
|
+
include Google::Apis::Core::Hashable
|
2195
|
+
|
2196
|
+
# If present, this response does not contain all requested tasks. To obtain the
|
2197
|
+
# next page of results, repeat the request with page_token set to this value.
|
2198
|
+
# Corresponds to the JSON property `nextPageToken`
|
2199
|
+
# @return [String]
|
2200
|
+
attr_accessor :next_page_token
|
2201
|
+
|
2202
|
+
# The stages of the job execution.
|
2203
|
+
# Corresponds to the JSON property `stages`
|
2204
|
+
# @return [Array<Google::Apis::DataflowV1b3::StageSummary>]
|
2205
|
+
attr_accessor :stages
|
2206
|
+
|
2207
|
+
def initialize(**args)
|
2208
|
+
update!(**args)
|
2209
|
+
end
|
2210
|
+
|
2211
|
+
# Update properties of this object
|
2212
|
+
def update!(**args)
|
2213
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2214
|
+
@stages = args[:stages] if args.key?(:stages)
|
2215
|
+
end
|
2216
|
+
end
|
2217
|
+
|
2109
2218
|
# Additional information about how a Cloud Dataflow job will be executed that
|
2110
2219
|
# isn't contained in the submitted job.
|
2111
2220
|
class JobExecutionInfo
|
@@ -2126,14 +2235,13 @@ module Google
|
|
2126
2235
|
end
|
2127
2236
|
end
|
2128
2237
|
|
2129
|
-
# Contains information about how a particular
|
2130
|
-
#
|
2238
|
+
# Contains information about how a particular google.dataflow.v1beta3.Step will
|
2239
|
+
# be executed.
|
2131
2240
|
class JobExecutionStageInfo
|
2132
2241
|
include Google::Apis::Core::Hashable
|
2133
2242
|
|
2134
|
-
# The steps associated with the execution stage.
|
2135
|
-
#
|
2136
|
-
# might be run by more than one stage.
|
2243
|
+
# The steps associated with the execution stage. Note that stages may have
|
2244
|
+
# several steps, and that a given step might be run by more than one stage.
|
2137
2245
|
# Corresponds to the JSON property `stepName`
|
2138
2246
|
# @return [Array<String>]
|
2139
2247
|
attr_accessor :step_name
|
@@ -2243,9 +2351,8 @@ module Google
|
|
2243
2351
|
|
2244
2352
|
# JobMetrics contains a collection of metrics describing the detailed progress
|
2245
2353
|
# of a Dataflow job. Metrics correspond to user-defined and system-defined
|
2246
|
-
# metrics in the job.
|
2247
|
-
#
|
2248
|
-
# time-series data can be queried for them (under the same metric names)
|
2354
|
+
# metrics in the job. This resource captures only the most recent values of each
|
2355
|
+
# metric; time-series data can be queried for them (under the same metric names)
|
2249
2356
|
# from Cloud Monitoring.
|
2250
2357
|
class JobMetrics
|
2251
2358
|
include Google::Apis::Core::Hashable
|
@@ -2272,16 +2379,14 @@ module Google
|
|
2272
2379
|
end
|
2273
2380
|
|
2274
2381
|
# Data disk assignment information for a specific key-range of a sharded
|
2275
|
-
# computation.
|
2276
|
-
#
|
2277
|
-
# JSON.
|
2382
|
+
# computation. Currently we only support UTF-8 character splits to simplify
|
2383
|
+
# encoding into JSON.
|
2278
2384
|
class KeyRangeDataDiskAssignment
|
2279
2385
|
include Google::Apis::Core::Hashable
|
2280
2386
|
|
2281
|
-
# The name of the data disk where data for this range is stored.
|
2282
|
-
#
|
2283
|
-
#
|
2284
|
-
# "myproject-1014-104817-4c2-harness-0-disk-1".
|
2387
|
+
# The name of the data disk where data for this range is stored. This name is
|
2388
|
+
# local to the Google Cloud Platform project and uniquely identifies the disk
|
2389
|
+
# within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".
|
2285
2390
|
# Corresponds to the JSON property `dataDisk`
|
2286
2391
|
# @return [String]
|
2287
2392
|
attr_accessor :data_disk
|
@@ -2314,16 +2419,15 @@ module Google
|
|
2314
2419
|
class KeyRangeLocation
|
2315
2420
|
include Google::Apis::Core::Hashable
|
2316
2421
|
|
2317
|
-
# The name of the data disk where data for this range is stored.
|
2318
|
-
#
|
2319
|
-
#
|
2320
|
-
# "myproject-1014-104817-4c2-harness-0-disk-1".
|
2422
|
+
# The name of the data disk where data for this range is stored. This name is
|
2423
|
+
# local to the Google Cloud Platform project and uniquely identifies the disk
|
2424
|
+
# within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".
|
2321
2425
|
# Corresponds to the JSON property `dataDisk`
|
2322
2426
|
# @return [String]
|
2323
2427
|
attr_accessor :data_disk
|
2324
2428
|
|
2325
|
-
# The physical location of this range assignment to be used for
|
2326
|
-
#
|
2429
|
+
# The physical location of this range assignment to be used for streaming
|
2430
|
+
# computation cross-worker message delivery.
|
2327
2431
|
# Corresponds to the JSON property `deliveryEndpoint`
|
2328
2432
|
# @return [String]
|
2329
2433
|
attr_accessor :delivery_endpoint
|
@@ -2372,20 +2476,23 @@ module Google
|
|
2372
2476
|
# @return [String]
|
2373
2477
|
attr_accessor :container_spec_gcs_path
|
2374
2478
|
|
2479
|
+
# The environment values to be set at runtime for flex template.
|
2480
|
+
# Corresponds to the JSON property `environment`
|
2481
|
+
# @return [Google::Apis::DataflowV1b3::FlexTemplateRuntimeEnvironment]
|
2482
|
+
attr_accessor :environment
|
2483
|
+
|
2375
2484
|
# Required. The job name to use for the created job.
|
2376
2485
|
# Corresponds to the JSON property `jobName`
|
2377
2486
|
# @return [String]
|
2378
2487
|
attr_accessor :job_name
|
2379
2488
|
|
2380
2489
|
# Launch options for this flex template job. This is a common set of options
|
2381
|
-
# across languages and templates. This should not be used to pass job
|
2382
|
-
# parameters.
|
2490
|
+
# across languages and templates. This should not be used to pass job parameters.
|
2383
2491
|
# Corresponds to the JSON property `launchOptions`
|
2384
2492
|
# @return [Hash<String,String>]
|
2385
2493
|
attr_accessor :launch_options
|
2386
2494
|
|
2387
|
-
# The parameters for FlexTemplate.
|
2388
|
-
# Ex. `"num_workers":"5"`
|
2495
|
+
# The parameters for FlexTemplate. Ex. `"num_workers":"5"`
|
2389
2496
|
# Corresponds to the JSON property `parameters`
|
2390
2497
|
# @return [Hash<String,String>]
|
2391
2498
|
attr_accessor :parameters
|
@@ -2398,6 +2505,7 @@ module Google
|
|
2398
2505
|
def update!(**args)
|
2399
2506
|
@container_spec = args[:container_spec] if args.key?(:container_spec)
|
2400
2507
|
@container_spec_gcs_path = args[:container_spec_gcs_path] if args.key?(:container_spec_gcs_path)
|
2508
|
+
@environment = args[:environment] if args.key?(:environment)
|
2401
2509
|
@job_name = args[:job_name] if args.key?(:job_name)
|
2402
2510
|
@launch_options = args[:launch_options] if args.key?(:launch_options)
|
2403
2511
|
@parameters = args[:parameters] if args.key?(:parameters)
|
@@ -2413,8 +2521,7 @@ module Google
|
|
2413
2521
|
# @return [Google::Apis::DataflowV1b3::LaunchFlexTemplateParameter]
|
2414
2522
|
attr_accessor :launch_parameter
|
2415
2523
|
|
2416
|
-
# If true, the request is validated but not actually executed.
|
2417
|
-
# Defaults to false.
|
2524
|
+
# If true, the request is validated but not actually executed. Defaults to false.
|
2418
2525
|
# Corresponds to the JSON property `validateOnly`
|
2419
2526
|
# @return [Boolean]
|
2420
2527
|
attr_accessor :validate_only
|
@@ -2475,8 +2582,8 @@ module Google
|
|
2475
2582
|
# @return [Hash<String,String>]
|
2476
2583
|
attr_accessor :transform_name_mapping
|
2477
2584
|
|
2478
|
-
# If set, replace the existing pipeline with the name specified by jobName
|
2479
|
-
#
|
2585
|
+
# If set, replace the existing pipeline with the name specified by jobName with
|
2586
|
+
# this pipeline, preserving state.
|
2480
2587
|
# Corresponds to the JSON property `update`
|
2481
2588
|
# @return [Boolean]
|
2482
2589
|
attr_accessor :update
|
@@ -2524,9 +2631,8 @@ module Google
|
|
2524
2631
|
# @return [String]
|
2525
2632
|
attr_accessor :current_worker_time
|
2526
2633
|
|
2527
|
-
# The [regional endpoint]
|
2528
|
-
#
|
2529
|
-
# contains the WorkItem's job.
|
2634
|
+
# The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
|
2635
|
+
# regional-endpoints) that contains the WorkItem's job.
|
2530
2636
|
# Corresponds to the JSON property `location`
|
2531
2637
|
# @return [String]
|
2532
2638
|
attr_accessor :location
|
@@ -2552,8 +2658,8 @@ module Google
|
|
2552
2658
|
# @return [Array<String>]
|
2553
2659
|
attr_accessor :worker_capabilities
|
2554
2660
|
|
2555
|
-
# Identifies the worker leasing work -- typically the ID of the
|
2556
|
-
#
|
2661
|
+
# Identifies the worker leasing work -- typically the ID of the virtual machine
|
2662
|
+
# running the worker.
|
2557
2663
|
# Corresponds to the JSON property `workerId`
|
2558
2664
|
# @return [String]
|
2559
2665
|
attr_accessor :worker_id
|
@@ -2630,17 +2736,15 @@ module Google
|
|
2630
2736
|
end
|
2631
2737
|
end
|
2632
2738
|
|
2633
|
-
# Response to a request to list Cloud Dataflow jobs in a project. This might
|
2634
|
-
#
|
2635
|
-
#
|
2636
|
-
#
|
2637
|
-
# body is empty ``.
|
2739
|
+
# Response to a request to list Cloud Dataflow jobs in a project. This might be
|
2740
|
+
# a partial response, depending on the page size in the ListJobsRequest. However,
|
2741
|
+
# if the project does not have any jobs, an instance of ListJobsResponse is not
|
2742
|
+
# returned and the requests's response body is empty ``.
|
2638
2743
|
class ListJobsResponse
|
2639
2744
|
include Google::Apis::Core::Hashable
|
2640
2745
|
|
2641
|
-
# Zero or more messages describing the [regional endpoints]
|
2642
|
-
#
|
2643
|
-
# failed to respond.
|
2746
|
+
# Zero or more messages describing the [regional endpoints] (https://cloud.
|
2747
|
+
# google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.
|
2644
2748
|
# Corresponds to the JSON property `failedLocation`
|
2645
2749
|
# @return [Array<Google::Apis::DataflowV1b3::FailedLocation>]
|
2646
2750
|
attr_accessor :failed_location
|
@@ -2690,8 +2794,8 @@ module Google
|
|
2690
2794
|
class ListTemplateVersionsResponse
|
2691
2795
|
include Google::Apis::Core::Hashable
|
2692
2796
|
|
2693
|
-
# A token that can be sent as `page_token` to retrieve the next page.
|
2694
|
-
#
|
2797
|
+
# A token that can be sent as `page_token` to retrieve the next page. If this
|
2798
|
+
# field is omitted, there are no subsequent pages.
|
2695
2799
|
# Corresponds to the JSON property `nextPageToken`
|
2696
2800
|
# @return [String]
|
2697
2801
|
attr_accessor :next_page_token
|
@@ -2712,11 +2816,10 @@ module Google
|
|
2712
2816
|
end
|
2713
2817
|
end
|
2714
2818
|
|
2715
|
-
# MapTask consists of an ordered set of instructions, each of which
|
2716
|
-
#
|
2717
|
-
#
|
2718
|
-
#
|
2719
|
-
# depends on its output.
|
2819
|
+
# MapTask consists of an ordered set of instructions, each of which describes
|
2820
|
+
# one particular low-level operation for the worker to perform in order to
|
2821
|
+
# accomplish the MapTask's WorkItem. Each instruction must appear in the list
|
2822
|
+
# before any instructions which depends on its output.
|
2720
2823
|
class MapTask
|
2721
2824
|
include Google::Apis::Core::Hashable
|
2722
2825
|
|
@@ -2731,14 +2834,13 @@ module Google
|
|
2731
2834
|
# @return [Array<Google::Apis::DataflowV1b3::ParallelInstruction>]
|
2732
2835
|
attr_accessor :instructions
|
2733
2836
|
|
2734
|
-
# System-defined name of the stage containing this MapTask.
|
2735
|
-
#
|
2837
|
+
# System-defined name of the stage containing this MapTask. Unique across the
|
2838
|
+
# workflow.
|
2736
2839
|
# Corresponds to the JSON property `stageName`
|
2737
2840
|
# @return [String]
|
2738
2841
|
attr_accessor :stage_name
|
2739
2842
|
|
2740
|
-
# System-defined name of this MapTask.
|
2741
|
-
# Unique across the workflow.
|
2843
|
+
# System-defined name of this MapTask. Unique across the workflow.
|
2742
2844
|
# Corresponds to the JSON property `systemName`
|
2743
2845
|
# @return [String]
|
2744
2846
|
attr_accessor :system_name
|
@@ -2756,8 +2858,7 @@ module Google
|
|
2756
2858
|
end
|
2757
2859
|
end
|
2758
2860
|
|
2759
|
-
# Information about the memory usage of a worker or a container within a
|
2760
|
-
# worker.
|
2861
|
+
# Information about the memory usage of a worker or a container within a worker.
|
2761
2862
|
class MemInfo
|
2762
2863
|
include Google::Apis::Core::Hashable
|
2763
2864
|
|
@@ -2799,8 +2900,8 @@ module Google
|
|
2799
2900
|
class MetricShortId
|
2800
2901
|
include Google::Apis::Core::Hashable
|
2801
2902
|
|
2802
|
-
# The index of the corresponding metric in
|
2803
|
-
#
|
2903
|
+
# The index of the corresponding metric in the ReportWorkItemStatusRequest.
|
2904
|
+
# Required.
|
2804
2905
|
# Corresponds to the JSON property `metricIndex`
|
2805
2906
|
# @return [Fixnum]
|
2806
2907
|
attr_accessor :metric_index
|
@@ -2821,16 +2922,14 @@ module Google
|
|
2821
2922
|
end
|
2822
2923
|
end
|
2823
2924
|
|
2824
|
-
# Identifies a metric, by describing the source which generated the
|
2825
|
-
# metric.
|
2925
|
+
# Identifies a metric, by describing the source which generated the metric.
|
2826
2926
|
class MetricStructuredName
|
2827
2927
|
include Google::Apis::Core::Hashable
|
2828
2928
|
|
2829
|
-
# Zero or more labeled fields which identify the part of the job this
|
2830
|
-
#
|
2831
|
-
#
|
2832
|
-
# context['
|
2833
|
-
# in the SDK will have context['pcollection'] = <pcollection-name>.
|
2929
|
+
# Zero or more labeled fields which identify the part of the job this metric is
|
2930
|
+
# associated with, such as the name of a step or collection. For example, built-
|
2931
|
+
# in counters associated with steps will have context['step'] = . Counters
|
2932
|
+
# associated with PCollections in the SDK will have context['pcollection'] = .
|
2834
2933
|
# Corresponds to the JSON property `context`
|
2835
2934
|
# @return [Hash<String,String>]
|
2836
2935
|
attr_accessor :context
|
@@ -2840,8 +2939,8 @@ module Google
|
|
2840
2939
|
# @return [String]
|
2841
2940
|
attr_accessor :name
|
2842
2941
|
|
2843
|
-
# Origin (namespace) of metric name. May be blank for user-define metrics;
|
2844
|
-
#
|
2942
|
+
# Origin (namespace) of metric name. May be blank for user-define metrics; will
|
2943
|
+
# be "dataflow" for metrics defined by the Dataflow service or SDK.
|
2845
2944
|
# Corresponds to the JSON property `origin`
|
2846
2945
|
# @return [String]
|
2847
2946
|
attr_accessor :origin
|
@@ -2862,10 +2961,10 @@ module Google
|
|
2862
2961
|
class MetricUpdate
|
2863
2962
|
include Google::Apis::Core::Hashable
|
2864
2963
|
|
2865
|
-
# True if this metric is reported as the total cumulative aggregate
|
2866
|
-
#
|
2867
|
-
#
|
2868
|
-
#
|
2964
|
+
# True if this metric is reported as the total cumulative aggregate value
|
2965
|
+
# accumulated since the worker started working on this WorkItem. By default this
|
2966
|
+
# is false, indicating that this metric is reported as a delta that is not
|
2967
|
+
# associated with any WorkItem.
|
2869
2968
|
# Corresponds to the JSON property `cumulative`
|
2870
2969
|
# @return [Boolean]
|
2871
2970
|
attr_accessor :cumulative
|
@@ -2876,67 +2975,62 @@ module Google
|
|
2876
2975
|
# @return [Object]
|
2877
2976
|
attr_accessor :distribution
|
2878
2977
|
|
2879
|
-
# A struct value describing properties of a Gauge.
|
2880
|
-
#
|
2881
|
-
# aggregated based on the newest value.
|
2978
|
+
# A struct value describing properties of a Gauge. Metrics of gauge type show
|
2979
|
+
# the value of a metric across time, and is aggregated based on the newest value.
|
2882
2980
|
# Corresponds to the JSON property `gauge`
|
2883
2981
|
# @return [Object]
|
2884
2982
|
attr_accessor :gauge
|
2885
2983
|
|
2886
|
-
# Worker-computed aggregate value for internal use by the Dataflow
|
2887
|
-
# service.
|
2984
|
+
# Worker-computed aggregate value for internal use by the Dataflow service.
|
2888
2985
|
# Corresponds to the JSON property `internal`
|
2889
2986
|
# @return [Object]
|
2890
2987
|
attr_accessor :internal
|
2891
2988
|
|
2892
|
-
# Metric aggregation kind.
|
2893
|
-
#
|
2894
|
-
#
|
2895
|
-
#
|
2896
|
-
# a single metric sample value.
|
2989
|
+
# Metric aggregation kind. The possible metric aggregation kinds are "Sum", "Max"
|
2990
|
+
# , "Min", "Mean", "Set", "And", "Or", and "Distribution". The specified
|
2991
|
+
# aggregation kind is case-insensitive. If omitted, this is not an aggregated
|
2992
|
+
# value but instead a single metric sample value.
|
2897
2993
|
# Corresponds to the JSON property `kind`
|
2898
2994
|
# @return [String]
|
2899
2995
|
attr_accessor :kind
|
2900
2996
|
|
2901
|
-
# Worker-computed aggregate value for the "Mean" aggregation kind.
|
2902
|
-
#
|
2903
|
-
#
|
2904
|
-
#
|
2997
|
+
# Worker-computed aggregate value for the "Mean" aggregation kind. This holds
|
2998
|
+
# the count of the aggregated values and is used in combination with mean_sum
|
2999
|
+
# above to obtain the actual mean aggregate value. The only possible value type
|
3000
|
+
# is Long.
|
2905
3001
|
# Corresponds to the JSON property `meanCount`
|
2906
3002
|
# @return [Object]
|
2907
3003
|
attr_accessor :mean_count
|
2908
3004
|
|
2909
|
-
# Worker-computed aggregate value for the "Mean" aggregation kind.
|
2910
|
-
#
|
2911
|
-
#
|
2912
|
-
#
|
3005
|
+
# Worker-computed aggregate value for the "Mean" aggregation kind. This holds
|
3006
|
+
# the sum of the aggregated values and is used in combination with mean_count
|
3007
|
+
# below to obtain the actual mean aggregate value. The only possible value types
|
3008
|
+
# are Long and Double.
|
2913
3009
|
# Corresponds to the JSON property `meanSum`
|
2914
3010
|
# @return [Object]
|
2915
3011
|
attr_accessor :mean_sum
|
2916
3012
|
|
2917
|
-
# Identifies a metric, by describing the source which generated the
|
2918
|
-
# metric.
|
3013
|
+
# Identifies a metric, by describing the source which generated the metric.
|
2919
3014
|
# Corresponds to the JSON property `name`
|
2920
3015
|
# @return [Google::Apis::DataflowV1b3::MetricStructuredName]
|
2921
3016
|
attr_accessor :name
|
2922
3017
|
|
2923
|
-
# Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min",
|
2924
|
-
#
|
3018
|
+
# Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "
|
3019
|
+
# And", and "Or". The possible value types are Long, Double, and Boolean.
|
2925
3020
|
# Corresponds to the JSON property `scalar`
|
2926
3021
|
# @return [Object]
|
2927
3022
|
attr_accessor :scalar
|
2928
3023
|
|
2929
|
-
# Worker-computed aggregate value for the "Set" aggregation kind.
|
2930
|
-
# possible value type is a list of Values whose type can be Long, Double,
|
2931
|
-
#
|
2932
|
-
#
|
3024
|
+
# Worker-computed aggregate value for the "Set" aggregation kind. The only
|
3025
|
+
# possible value type is a list of Values whose type can be Long, Double, or
|
3026
|
+
# String, according to the metric's type. All Values in the list must be of the
|
3027
|
+
# same type.
|
2933
3028
|
# Corresponds to the JSON property `set`
|
2934
3029
|
# @return [Object]
|
2935
3030
|
attr_accessor :set
|
2936
3031
|
|
2937
3032
|
# Timestamp associated with the metric value. Optional when workers are
|
2938
|
-
# reporting work progress; it will be filled in responses from the
|
2939
|
-
# metrics API.
|
3033
|
+
# reporting work progress; it will be filled in responses from the metrics API.
|
2940
3034
|
# Corresponds to the JSON property `updateTime`
|
2941
3035
|
# @return [String]
|
2942
3036
|
attr_accessor :update_time
|
@@ -2961,8 +3055,7 @@ module Google
|
|
2961
3055
|
end
|
2962
3056
|
end
|
2963
3057
|
|
2964
|
-
# Either add the label to TemplateVersion or remove it from the
|
2965
|
-
# TemplateVersion.
|
3058
|
+
# Either add the label to TemplateVersion or remove it from the TemplateVersion.
|
2966
3059
|
class ModifyTemplateVersionLabelRequest
|
2967
3060
|
include Google::Apis::Core::Hashable
|
2968
3061
|
|
@@ -2971,8 +3064,7 @@ module Google
|
|
2971
3064
|
# @return [String]
|
2972
3065
|
attr_accessor :key
|
2973
3066
|
|
2974
|
-
# Requests for add label to TemplateVersion or remove label from
|
2975
|
-
# TemplateVersion.
|
3067
|
+
# Requests for add label to TemplateVersion or remove label from TemplateVersion.
|
2976
3068
|
# Corresponds to the JSON property `op`
|
2977
3069
|
# @return [String]
|
2978
3070
|
attr_accessor :op
|
@@ -3066,10 +3158,9 @@ module Google
|
|
3066
3158
|
class MountedDataDisk
|
3067
3159
|
include Google::Apis::Core::Hashable
|
3068
3160
|
|
3069
|
-
# The name of the data disk.
|
3070
|
-
#
|
3071
|
-
#
|
3072
|
-
# "myproject-1014-104817-4c2-harness-0-disk-1".
|
3161
|
+
# The name of the data disk. This name is local to the Google Cloud Platform
|
3162
|
+
# project and uniquely identifies the disk within that project, for example "
|
3163
|
+
# myproject-1014-104817-4c2-harness-0-disk-1".
|
3073
3164
|
# Corresponds to the JSON property `dataDisk`
|
3074
3165
|
# @return [String]
|
3075
3166
|
attr_accessor :data_disk
|
@@ -3088,8 +3179,8 @@ module Google
|
|
3088
3179
|
class MultiOutputInfo
|
3089
3180
|
include Google::Apis::Core::Hashable
|
3090
3181
|
|
3091
|
-
# The id of the tag the user code will emit to this output by; this
|
3092
|
-
#
|
3182
|
+
# The id of the tag the user code will emit to this output by; this should
|
3183
|
+
# correspond to the tag of some SideInputInfo.
|
3093
3184
|
# Corresponds to the JSON property `tag`
|
3094
3185
|
# @return [String]
|
3095
3186
|
attr_accessor :tag
|
@@ -3129,21 +3220,17 @@ module Google
|
|
3129
3220
|
end
|
3130
3221
|
end
|
3131
3222
|
|
3132
|
-
# The packages that must be installed in order for a worker to run the
|
3133
|
-
#
|
3134
|
-
#
|
3135
|
-
#
|
3136
|
-
#
|
3137
|
-
#
|
3138
|
-
# various dependencies (libraries, data files, etc.) required in order
|
3139
|
-
# for that code to run.
|
3223
|
+
# The packages that must be installed in order for a worker to run the steps of
|
3224
|
+
# the Cloud Dataflow job that will be assigned to its worker pool. This is the
|
3225
|
+
# mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the
|
3226
|
+
# workers. For example, the Cloud Dataflow Java SDK might use this to install
|
3227
|
+
# jars containing the user's code and all of the various dependencies (libraries,
|
3228
|
+
# data files, etc.) required in order for that code to run.
|
3140
3229
|
class Package
|
3141
3230
|
include Google::Apis::Core::Hashable
|
3142
3231
|
|
3143
|
-
# The resource to read the package from. The supported resource type is:
|
3144
|
-
#
|
3145
|
-
# storage.googleapis.com/`bucket`
|
3146
|
-
# bucket.storage.googleapis.com/
|
3232
|
+
# The resource to read the package from. The supported resource type is: Google
|
3233
|
+
# Cloud Storage: storage.googleapis.com/`bucket` bucket.storage.googleapis.com/
|
3147
3234
|
# Corresponds to the JSON property `location`
|
3148
3235
|
# @return [String]
|
3149
3236
|
attr_accessor :location
|
@@ -3164,20 +3251,18 @@ module Google
|
|
3164
3251
|
end
|
3165
3252
|
end
|
3166
3253
|
|
3167
|
-
# An instruction that does a ParDo operation.
|
3168
|
-
#
|
3169
|
-
# zero or more outputs.
|
3170
|
-
# Runs user code.
|
3254
|
+
# An instruction that does a ParDo operation. Takes one main input and zero or
|
3255
|
+
# more side inputs, and produces zero or more outputs. Runs user code.
|
3171
3256
|
class ParDoInstruction
|
3172
3257
|
include Google::Apis::Core::Hashable
|
3173
3258
|
|
3174
|
-
# An input of an instruction, as a reference to an output of a
|
3175
|
-
#
|
3259
|
+
# An input of an instruction, as a reference to an output of a producer
|
3260
|
+
# instruction.
|
3176
3261
|
# Corresponds to the JSON property `input`
|
3177
3262
|
# @return [Google::Apis::DataflowV1b3::InstructionInput]
|
3178
3263
|
attr_accessor :input
|
3179
3264
|
|
3180
|
-
# Information about each of the outputs, if user_fn is a
|
3265
|
+
# Information about each of the outputs, if user_fn is a MultiDoFn.
|
3181
3266
|
# Corresponds to the JSON property `multiOutputInfos`
|
3182
3267
|
# @return [Array<Google::Apis::DataflowV1b3::MultiOutputInfo>]
|
3183
3268
|
attr_accessor :multi_output_infos
|
@@ -3235,34 +3320,28 @@ module Google
|
|
3235
3320
|
# @return [Array<Google::Apis::DataflowV1b3::InstructionOutput>]
|
3236
3321
|
attr_accessor :outputs
|
3237
3322
|
|
3238
|
-
# An instruction that does a ParDo operation.
|
3239
|
-
#
|
3240
|
-
# zero or more outputs.
|
3241
|
-
# Runs user code.
|
3323
|
+
# An instruction that does a ParDo operation. Takes one main input and zero or
|
3324
|
+
# more side inputs, and produces zero or more outputs. Runs user code.
|
3242
3325
|
# Corresponds to the JSON property `parDo`
|
3243
3326
|
# @return [Google::Apis::DataflowV1b3::ParDoInstruction]
|
3244
3327
|
attr_accessor :par_do
|
3245
3328
|
|
3246
|
-
# An instruction that does a partial group-by-key.
|
3247
|
-
# One input and one output.
|
3329
|
+
# An instruction that does a partial group-by-key. One input and one output.
|
3248
3330
|
# Corresponds to the JSON property `partialGroupByKey`
|
3249
3331
|
# @return [Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction]
|
3250
3332
|
attr_accessor :partial_group_by_key
|
3251
3333
|
|
3252
|
-
# An instruction that reads records.
|
3253
|
-
# Takes no inputs, produces one output.
|
3334
|
+
# An instruction that reads records. Takes no inputs, produces one output.
|
3254
3335
|
# Corresponds to the JSON property `read`
|
3255
3336
|
# @return [Google::Apis::DataflowV1b3::ReadInstruction]
|
3256
3337
|
attr_accessor :read
|
3257
3338
|
|
3258
|
-
# System-defined name of this operation.
|
3259
|
-
# Unique across the workflow.
|
3339
|
+
# System-defined name of this operation. Unique across the workflow.
|
3260
3340
|
# Corresponds to the JSON property `systemName`
|
3261
3341
|
# @return [String]
|
3262
3342
|
attr_accessor :system_name
|
3263
3343
|
|
3264
|
-
# An instruction that writes records.
|
3265
|
-
# Takes one input, produces no outputs.
|
3344
|
+
# An instruction that writes records. Takes one input, produces no outputs.
|
3266
3345
|
# Corresponds to the JSON property `write`
|
3267
3346
|
# @return [Google::Apis::DataflowV1b3::WriteInstruction]
|
3268
3347
|
attr_accessor :write
|
@@ -3335,8 +3414,7 @@ module Google
|
|
3335
3414
|
# @return [String]
|
3336
3415
|
attr_accessor :name
|
3337
3416
|
|
3338
|
-
# Optional. The type of the parameter.
|
3339
|
-
# Used for selecting input picker.
|
3417
|
+
# Optional. The type of the parameter. Used for selecting input picker.
|
3340
3418
|
# Corresponds to the JSON property `paramType`
|
3341
3419
|
# @return [String]
|
3342
3420
|
attr_accessor :param_type
|
@@ -3361,13 +3439,12 @@ module Google
|
|
3361
3439
|
end
|
3362
3440
|
end
|
3363
3441
|
|
3364
|
-
# An instruction that does a partial group-by-key.
|
3365
|
-
# One input and one output.
|
3442
|
+
# An instruction that does a partial group-by-key. One input and one output.
|
3366
3443
|
class PartialGroupByKeyInstruction
|
3367
3444
|
include Google::Apis::Core::Hashable
|
3368
3445
|
|
3369
|
-
# An input of an instruction, as a reference to an output of a
|
3370
|
-
#
|
3446
|
+
# An input of an instruction, as a reference to an output of a producer
|
3447
|
+
# instruction.
|
3371
3448
|
# Corresponds to the JSON property `input`
|
3372
3449
|
# @return [Google::Apis::DataflowV1b3::InstructionInput]
|
3373
3450
|
attr_accessor :input
|
@@ -3415,7 +3492,7 @@ module Google
|
|
3415
3492
|
end
|
3416
3493
|
|
3417
3494
|
# A descriptive representation of submitted pipeline as well as the executed
|
3418
|
-
# form.
|
3495
|
+
# form. This data is provided by the Dataflow service for ease of visualizing
|
3419
3496
|
# the pipeline and interpreting Dataflow provided metrics.
|
3420
3497
|
class PipelineDescription
|
3421
3498
|
include Google::Apis::Core::Hashable
|
@@ -3447,9 +3524,34 @@ module Google
|
|
3447
3524
|
end
|
3448
3525
|
end
|
3449
3526
|
|
3450
|
-
#
|
3451
|
-
|
3452
|
-
|
3527
|
+
# A point in the timeseries.
|
3528
|
+
class Point
|
3529
|
+
include Google::Apis::Core::Hashable
|
3530
|
+
|
3531
|
+
# The timestamp of the point.
|
3532
|
+
# Corresponds to the JSON property `time`
|
3533
|
+
# @return [String]
|
3534
|
+
attr_accessor :time
|
3535
|
+
|
3536
|
+
# The value of the point.
|
3537
|
+
# Corresponds to the JSON property `value`
|
3538
|
+
# @return [Float]
|
3539
|
+
attr_accessor :value
|
3540
|
+
|
3541
|
+
def initialize(**args)
|
3542
|
+
update!(**args)
|
3543
|
+
end
|
3544
|
+
|
3545
|
+
# Update properties of this object
|
3546
|
+
def update!(**args)
|
3547
|
+
@time = args[:time] if args.key?(:time)
|
3548
|
+
@value = args[:value] if args.key?(:value)
|
3549
|
+
end
|
3550
|
+
end
|
3551
|
+
|
3552
|
+
# Position defines a position within a collection of data. The value can be
|
3553
|
+
# either the end position, a key (used with ordered collections), a byte offset,
|
3554
|
+
# or a record index.
|
3453
3555
|
class Position
|
3454
3556
|
include Google::Apis::Core::Hashable
|
3455
3557
|
|
@@ -3465,8 +3567,8 @@ module Google
|
|
3465
3567
|
# @return [Google::Apis::DataflowV1b3::ConcatPosition]
|
3466
3568
|
attr_accessor :concat_position
|
3467
3569
|
|
3468
|
-
# Position is past all other positions. Also useful for the end
|
3469
|
-
#
|
3570
|
+
# Position is past all other positions. Also useful for the end position of an
|
3571
|
+
# unbounded range.
|
3470
3572
|
# Corresponds to the JSON property `end`
|
3471
3573
|
# @return [Boolean]
|
3472
3574
|
attr_accessor :end
|
@@ -3482,8 +3584,7 @@ module Google
|
|
3482
3584
|
# @return [Fixnum]
|
3483
3585
|
attr_accessor :record_index
|
3484
3586
|
|
3485
|
-
# CloudPosition is a base64 encoded BatchShufflePosition (with FIXED
|
3486
|
-
# sharding).
|
3587
|
+
# CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
|
3487
3588
|
# Corresponds to the JSON property `shufflePosition`
|
3488
3589
|
# @return [String]
|
3489
3590
|
attr_accessor :shuffle_position
|
@@ -3503,6 +3604,31 @@ module Google
|
|
3503
3604
|
end
|
3504
3605
|
end
|
3505
3606
|
|
3607
|
+
# Information about the progress of some component of job execution.
|
3608
|
+
class ProgressTimeseries
|
3609
|
+
include Google::Apis::Core::Hashable
|
3610
|
+
|
3611
|
+
# The current progress of the component, in the range [0,1].
|
3612
|
+
# Corresponds to the JSON property `currentProgress`
|
3613
|
+
# @return [Float]
|
3614
|
+
attr_accessor :current_progress
|
3615
|
+
|
3616
|
+
# History of progress for the component. Points are sorted by time.
|
3617
|
+
# Corresponds to the JSON property `dataPoints`
|
3618
|
+
# @return [Array<Google::Apis::DataflowV1b3::Point>]
|
3619
|
+
attr_accessor :data_points
|
3620
|
+
|
3621
|
+
def initialize(**args)
|
3622
|
+
update!(**args)
|
3623
|
+
end
|
3624
|
+
|
3625
|
+
# Update properties of this object
|
3626
|
+
def update!(**args)
|
3627
|
+
@current_progress = args[:current_progress] if args.key?(:current_progress)
|
3628
|
+
@data_points = args[:data_points] if args.key?(:data_points)
|
3629
|
+
end
|
3630
|
+
end
|
3631
|
+
|
3506
3632
|
# Metadata for a PubSub connector used by the job.
|
3507
3633
|
class PubSubIoDetails
|
3508
3634
|
include Google::Apis::Core::Hashable
|
@@ -3528,8 +3654,8 @@ module Google
|
|
3528
3654
|
end
|
3529
3655
|
end
|
3530
3656
|
|
3531
|
-
# Identifies a pubsub location to use for transferring data into or
|
3532
|
-
#
|
3657
|
+
# Identifies a pubsub location to use for transferring data into or out of a
|
3658
|
+
# streaming Dataflow job.
|
3533
3659
|
class PubsubLocation
|
3534
3660
|
include Google::Apis::Core::Hashable
|
3535
3661
|
|
@@ -3539,26 +3665,24 @@ module Google
|
|
3539
3665
|
attr_accessor :drop_late_data
|
3540
3666
|
alias_method :drop_late_data?, :drop_late_data
|
3541
3667
|
|
3542
|
-
# If set, contains a pubsub label from which to extract record ids.
|
3543
|
-
#
|
3668
|
+
# If set, contains a pubsub label from which to extract record ids. If left
|
3669
|
+
# empty, record deduplication will be strictly best effort.
|
3544
3670
|
# Corresponds to the JSON property `idLabel`
|
3545
3671
|
# @return [String]
|
3546
3672
|
attr_accessor :id_label
|
3547
3673
|
|
3548
|
-
# A pubsub subscription, in the form of
|
3549
|
-
# "pubsub.googleapis.com/subscriptions/<project-id>/<subscription-name>"
|
3674
|
+
# A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions//"
|
3550
3675
|
# Corresponds to the JSON property `subscription`
|
3551
3676
|
# @return [String]
|
3552
3677
|
attr_accessor :subscription
|
3553
3678
|
|
3554
|
-
# If set, contains a pubsub label from which to extract record timestamps.
|
3555
|
-
#
|
3679
|
+
# If set, contains a pubsub label from which to extract record timestamps. If
|
3680
|
+
# left empty, record timestamps will be generated upon arrival.
|
3556
3681
|
# Corresponds to the JSON property `timestampLabel`
|
3557
3682
|
# @return [String]
|
3558
3683
|
attr_accessor :timestamp_label
|
3559
3684
|
|
3560
|
-
# A pubsub topic, in the form of
|
3561
|
-
# "pubsub.googleapis.com/topics/<project-id>/<topic-name>"
|
3685
|
+
# A pubsub topic, in the form of "pubsub.googleapis.com/topics//"
|
3562
3686
|
# Corresponds to the JSON property `topic`
|
3563
3687
|
# @return [String]
|
3564
3688
|
attr_accessor :topic
|
@@ -3641,8 +3765,7 @@ module Google
|
|
3641
3765
|
end
|
3642
3766
|
end
|
3643
3767
|
|
3644
|
-
# An instruction that reads records.
|
3645
|
-
# Takes no inputs, produces one output.
|
3768
|
+
# An instruction that reads records. Takes no inputs, produces one output.
|
3646
3769
|
class ReadInstruction
|
3647
3770
|
include Google::Apis::Core::Hashable
|
3648
3771
|
|
@@ -3670,9 +3793,8 @@ module Google
|
|
3670
3793
|
# @return [String]
|
3671
3794
|
attr_accessor :current_worker_time
|
3672
3795
|
|
3673
|
-
# The [regional endpoint]
|
3674
|
-
#
|
3675
|
-
# contains the WorkItem's job.
|
3796
|
+
# The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
|
3797
|
+
# regional-endpoints) that contains the WorkItem's job.
|
3676
3798
|
# Corresponds to the JSON property `location`
|
3677
3799
|
# @return [String]
|
3678
3800
|
attr_accessor :location
|
@@ -3682,17 +3804,16 @@ module Google
|
|
3682
3804
|
# @return [Hash<String,Object>]
|
3683
3805
|
attr_accessor :unified_worker_request
|
3684
3806
|
|
3685
|
-
# The order is unimportant, except that the order of the
|
3686
|
-
#
|
3687
|
-
#
|
3807
|
+
# The order is unimportant, except that the order of the WorkItemServiceState
|
3808
|
+
# messages in the ReportWorkItemStatusResponse corresponds to the order of
|
3809
|
+
# WorkItemStatus messages here.
|
3688
3810
|
# Corresponds to the JSON property `workItemStatuses`
|
3689
3811
|
# @return [Array<Google::Apis::DataflowV1b3::WorkItemStatus>]
|
3690
3812
|
attr_accessor :work_item_statuses
|
3691
3813
|
|
3692
|
-
# The ID of the worker reporting the WorkItem status.
|
3693
|
-
#
|
3694
|
-
#
|
3695
|
-
# will be dropped (with an error response).
|
3814
|
+
# The ID of the worker reporting the WorkItem status. If this does not match the
|
3815
|
+
# ID of the worker which the Dataflow service believes currently has the lease
|
3816
|
+
# on the WorkItem, the report will be dropped (with an error response).
|
3696
3817
|
# Corresponds to the JSON property `workerId`
|
3697
3818
|
# @return [String]
|
3698
3819
|
attr_accessor :worker_id
|
@@ -3720,10 +3841,9 @@ module Google
|
|
3720
3841
|
# @return [Hash<String,Object>]
|
3721
3842
|
attr_accessor :unified_worker_response
|
3722
3843
|
|
3723
|
-
# A set of messages indicating the service-side state for each
|
3724
|
-
#
|
3725
|
-
#
|
3726
|
-
# resulting in this response.
|
3844
|
+
# A set of messages indicating the service-side state for each WorkItem whose
|
3845
|
+
# status was reported, in the same order as the WorkItemStatus messages in the
|
3846
|
+
# ReportWorkItemStatusRequest which resulting in this response.
|
3727
3847
|
# Corresponds to the JSON property `workItemServiceStates`
|
3728
3848
|
# @return [Array<Google::Apis::DataflowV1b3::WorkItemServiceState>]
|
3729
3849
|
attr_accessor :work_item_service_states
|
@@ -3739,17 +3859,16 @@ module Google
|
|
3739
3859
|
end
|
3740
3860
|
end
|
3741
3861
|
|
3742
|
-
# Represents the level of parallelism in a WorkItem's input,
|
3743
|
-
#
|
3862
|
+
# Represents the level of parallelism in a WorkItem's input, reported by the
|
3863
|
+
# worker.
|
3744
3864
|
class ReportedParallelism
|
3745
3865
|
include Google::Apis::Core::Hashable
|
3746
3866
|
|
3747
|
-
# Specifies whether the parallelism is infinite. If true, "value" is
|
3748
|
-
#
|
3749
|
-
#
|
3750
|
-
#
|
3751
|
-
#
|
3752
|
-
# JSON-based Java RPC stack.
|
3867
|
+
# Specifies whether the parallelism is infinite. If true, "value" is ignored.
|
3868
|
+
# Infinite parallelism means the service will assume that the work item can
|
3869
|
+
# always be split into more non-empty work items by dynamic splitting. This is a
|
3870
|
+
# work-around for lack of support for infinity by the current JSON-based Java
|
3871
|
+
# RPC stack.
|
3753
3872
|
# Corresponds to the JSON property `isInfinite`
|
3754
3873
|
# @return [Boolean]
|
3755
3874
|
attr_accessor :is_infinite
|
@@ -3772,13 +3891,12 @@ module Google
|
|
3772
3891
|
end
|
3773
3892
|
|
3774
3893
|
# Worker metrics exported from workers. This contains resource utilization
|
3775
|
-
# metrics accumulated from a variety of sources. For more information, see
|
3776
|
-
#
|
3894
|
+
# metrics accumulated from a variety of sources. For more information, see go/df-
|
3895
|
+
# resource-signals.
|
3777
3896
|
class ResourceUtilizationReport
|
3778
3897
|
include Google::Apis::Core::Hashable
|
3779
3898
|
|
3780
|
-
# Per container information.
|
3781
|
-
# Key: container name.
|
3899
|
+
# Per container information. Key: container name.
|
3782
3900
|
# Corresponds to the JSON property `containers`
|
3783
3901
|
# @return [Hash<String,Google::Apis::DataflowV1b3::ResourceUtilizationReport>]
|
3784
3902
|
attr_accessor :containers
|
@@ -3827,48 +3945,53 @@ module Google
|
|
3827
3945
|
# @return [Array<String>]
|
3828
3946
|
attr_accessor :additional_experiments
|
3829
3947
|
|
3830
|
-
# Additional user labels to be specified for the job.
|
3831
|
-
#
|
3832
|
-
#
|
3833
|
-
#
|
3834
|
-
#
|
3948
|
+
# Additional user labels to be specified for the job. Keys and values should
|
3949
|
+
# follow the restrictions specified in the [labeling restrictions](https://cloud.
|
3950
|
+
# google.com/compute/docs/labeling-resources#restrictions) page. An object
|
3951
|
+
# containing a list of "key": value pairs. Example: ` "name": "wrench", "mass": "
|
3952
|
+
# 1kg", "count": "3" `.
|
3835
3953
|
# Corresponds to the JSON property `additionalUserLabels`
|
3836
3954
|
# @return [Hash<String,String>]
|
3837
3955
|
attr_accessor :additional_user_labels
|
3838
3956
|
|
3839
|
-
# Whether to bypass the safety checks for the job's temporary directory.
|
3840
|
-
#
|
3957
|
+
# Whether to bypass the safety checks for the job's temporary directory. Use
|
3958
|
+
# with caution.
|
3841
3959
|
# Corresponds to the JSON property `bypassTempDirValidation`
|
3842
3960
|
# @return [Boolean]
|
3843
3961
|
attr_accessor :bypass_temp_dir_validation
|
3844
3962
|
alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation
|
3845
3963
|
|
3964
|
+
# Whether to enable Streaming Engine for the job.
|
3965
|
+
# Corresponds to the JSON property `enableStreamingEngine`
|
3966
|
+
# @return [Boolean]
|
3967
|
+
attr_accessor :enable_streaming_engine
|
3968
|
+
alias_method :enable_streaming_engine?, :enable_streaming_engine
|
3969
|
+
|
3846
3970
|
# Configuration for VM IPs.
|
3847
3971
|
# Corresponds to the JSON property `ipConfiguration`
|
3848
3972
|
# @return [String]
|
3849
3973
|
attr_accessor :ip_configuration
|
3850
3974
|
|
3851
|
-
#
|
3852
|
-
#
|
3853
|
-
# projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>
|
3975
|
+
# Name for the Cloud KMS key for the job. Key format is: projects//locations//
|
3976
|
+
# keyRings//cryptoKeys/
|
3854
3977
|
# Corresponds to the JSON property `kmsKeyName`
|
3855
3978
|
# @return [String]
|
3856
3979
|
attr_accessor :kms_key_name
|
3857
3980
|
|
3858
|
-
# The machine type to use for the job. Defaults to the value from the
|
3859
|
-
#
|
3981
|
+
# The machine type to use for the job. Defaults to the value from the template
|
3982
|
+
# if not specified.
|
3860
3983
|
# Corresponds to the JSON property `machineType`
|
3861
3984
|
# @return [String]
|
3862
3985
|
attr_accessor :machine_type
|
3863
3986
|
|
3864
|
-
# The maximum number of Google Compute Engine instances to be made
|
3865
|
-
#
|
3987
|
+
# The maximum number of Google Compute Engine instances to be made available to
|
3988
|
+
# your pipeline during execution, from 1 to 1000.
|
3866
3989
|
# Corresponds to the JSON property `maxWorkers`
|
3867
3990
|
# @return [Fixnum]
|
3868
3991
|
attr_accessor :max_workers
|
3869
3992
|
|
3870
|
-
# Network to which VMs will be assigned.
|
3871
|
-
#
|
3993
|
+
# Network to which VMs will be assigned. If empty or unspecified, the service
|
3994
|
+
# will use the network "default".
|
3872
3995
|
# Corresponds to the JSON property `network`
|
3873
3996
|
# @return [String]
|
3874
3997
|
attr_accessor :network
|
@@ -3883,41 +4006,43 @@ module Google
|
|
3883
4006
|
# @return [String]
|
3884
4007
|
attr_accessor :service_account_email
|
3885
4008
|
|
3886
|
-
# Subnetwork to which VMs will be assigned, if desired.
|
3887
|
-
#
|
4009
|
+
# Subnetwork to which VMs will be assigned, if desired. You can specify a
|
4010
|
+
# subnetwork using either a complete URL or an abbreviated path. Expected to be
|
4011
|
+
# of the form "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/
|
4012
|
+
# regions/REGION/subnetworks/SUBNETWORK" or "regions/REGION/subnetworks/
|
4013
|
+
# SUBNETWORK". If the subnetwork is located in a Shared VPC network, you must
|
4014
|
+
# use the complete URL.
|
3888
4015
|
# Corresponds to the JSON property `subnetwork`
|
3889
4016
|
# @return [String]
|
3890
4017
|
attr_accessor :subnetwork
|
3891
4018
|
|
3892
|
-
# The Cloud Storage path to use for temporary files.
|
3893
|
-
#
|
4019
|
+
# The Cloud Storage path to use for temporary files. Must be a valid Cloud
|
4020
|
+
# Storage URL, beginning with `gs://`.
|
3894
4021
|
# Corresponds to the JSON property `tempLocation`
|
3895
4022
|
# @return [String]
|
3896
4023
|
attr_accessor :temp_location
|
3897
4024
|
|
3898
|
-
# The Compute Engine region
|
3899
|
-
#
|
3900
|
-
#
|
3901
|
-
#
|
3902
|
-
# default to the control plane's region.
|
4025
|
+
# The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/
|
4026
|
+
# regions-zones) in which worker processing should occur, e.g. "us-west1".
|
4027
|
+
# Mutually exclusive with worker_zone. If neither worker_region nor worker_zone
|
4028
|
+
# is specified, default to the control plane's region.
|
3903
4029
|
# Corresponds to the JSON property `workerRegion`
|
3904
4030
|
# @return [String]
|
3905
4031
|
attr_accessor :worker_region
|
3906
4032
|
|
3907
|
-
# The Compute Engine zone
|
3908
|
-
#
|
3909
|
-
#
|
3910
|
-
#
|
3911
|
-
#
|
3912
|
-
#
|
4033
|
+
# The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/
|
4034
|
+
# regions-zones) in which worker processing should occur, e.g. "us-west1-a".
|
4035
|
+
# Mutually exclusive with worker_region. If neither worker_region nor
|
4036
|
+
# worker_zone is specified, a zone in the control plane's region is chosen based
|
4037
|
+
# on available capacity. If both `worker_zone` and `zone` are set, `worker_zone`
|
4038
|
+
# takes precedence.
|
3913
4039
|
# Corresponds to the JSON property `workerZone`
|
3914
4040
|
# @return [String]
|
3915
4041
|
attr_accessor :worker_zone
|
3916
4042
|
|
3917
|
-
# The Compute Engine [availability
|
3918
|
-
#
|
3919
|
-
#
|
3920
|
-
# In the future, worker_zone will take precedence.
|
4043
|
+
# The Compute Engine [availability zone](https://cloud.google.com/compute/docs/
|
4044
|
+
# regions-zones/regions-zones) for launching worker instances to run your
|
4045
|
+
# pipeline. In the future, worker_zone will take precedence.
|
3921
4046
|
# Corresponds to the JSON property `zone`
|
3922
4047
|
# @return [String]
|
3923
4048
|
attr_accessor :zone
|
@@ -3931,6 +4056,7 @@ module Google
|
|
3931
4056
|
@additional_experiments = args[:additional_experiments] if args.key?(:additional_experiments)
|
3932
4057
|
@additional_user_labels = args[:additional_user_labels] if args.key?(:additional_user_labels)
|
3933
4058
|
@bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation)
|
4059
|
+
@enable_streaming_engine = args[:enable_streaming_engine] if args.key?(:enable_streaming_engine)
|
3934
4060
|
@ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
|
3935
4061
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
3936
4062
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
@@ -4006,10 +4132,9 @@ module Google
|
|
4006
4132
|
attr_accessor :container_image
|
4007
4133
|
|
4008
4134
|
# If true, recommends the Dataflow service to use only one core per SDK
|
4009
|
-
# container instance with this image. If false (or unset) recommends using
|
4010
|
-
#
|
4011
|
-
#
|
4012
|
-
# if needed.
|
4135
|
+
# container instance with this image. If false (or unset) recommends using more
|
4136
|
+
# than one core per SDK container instance with this image for efficiency. Note
|
4137
|
+
# that Dataflow service may choose to override this property if needed.
|
4013
4138
|
# Corresponds to the JSON property `useSingleCorePerContainer`
|
4014
4139
|
# @return [Boolean]
|
4015
4140
|
attr_accessor :use_single_core_per_container
|
@@ -4071,9 +4196,8 @@ module Google
|
|
4071
4196
|
# @return [String]
|
4072
4197
|
attr_accessor :data
|
4073
4198
|
|
4074
|
-
# The [regional endpoint]
|
4075
|
-
#
|
4076
|
-
# contains the job specified by job_id.
|
4199
|
+
# The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
|
4200
|
+
# regional-endpoints) that contains the job specified by job_id.
|
4077
4201
|
# Corresponds to the JSON property `location`
|
4078
4202
|
# @return [String]
|
4079
4203
|
attr_accessor :location
|
@@ -4096,8 +4220,7 @@ module Google
|
|
4096
4220
|
end
|
4097
4221
|
end
|
4098
4222
|
|
4099
|
-
# Response to a send capture request.
|
4100
|
-
# nothing
|
4223
|
+
# Response to a send capture request. nothing
|
4101
4224
|
class SendDebugCaptureResponse
|
4102
4225
|
include Google::Apis::Core::Hashable
|
4103
4226
|
|
@@ -4114,9 +4237,8 @@ module Google
|
|
4114
4237
|
class SendWorkerMessagesRequest
|
4115
4238
|
include Google::Apis::Core::Hashable
|
4116
4239
|
|
4117
|
-
# The [regional endpoint]
|
4118
|
-
#
|
4119
|
-
# contains the job.
|
4240
|
+
# The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
|
4241
|
+
# regional-endpoints) that contains the job.
|
4120
4242
|
# Corresponds to the JSON property `location`
|
4121
4243
|
# @return [String]
|
4122
4244
|
attr_accessor :location
|
@@ -4175,14 +4297,13 @@ module Google
|
|
4175
4297
|
# @return [Array<Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo>]
|
4176
4298
|
attr_accessor :output_infos
|
4177
4299
|
|
4178
|
-
# System-defined name of the stage containing the SeqDo operation.
|
4179
|
-
#
|
4300
|
+
# System-defined name of the stage containing the SeqDo operation. Unique across
|
4301
|
+
# the workflow.
|
4180
4302
|
# Corresponds to the JSON property `stageName`
|
4181
4303
|
# @return [String]
|
4182
4304
|
attr_accessor :stage_name
|
4183
4305
|
|
4184
|
-
# System-defined name of the SeqDo operation.
|
4185
|
-
# Unique across the workflow.
|
4306
|
+
# System-defined name of the SeqDo operation. Unique across the workflow.
|
4186
4307
|
# Corresponds to the JSON property `systemName`
|
4187
4308
|
# @return [String]
|
4188
4309
|
attr_accessor :system_name
|
@@ -4266,16 +4387,15 @@ module Google
|
|
4266
4387
|
# @return [Hash<String,Object>]
|
4267
4388
|
attr_accessor :kind
|
4268
4389
|
|
4269
|
-
# The source(s) to read element(s) from to get the value of this side input.
|
4270
|
-
#
|
4271
|
-
#
|
4272
|
-
# At least one source is required.
|
4390
|
+
# The source(s) to read element(s) from to get the value of this side input. If
|
4391
|
+
# more than one source, then the elements are taken from the sources, in the
|
4392
|
+
# specified order if order matters. At least one source is required.
|
4273
4393
|
# Corresponds to the JSON property `sources`
|
4274
4394
|
# @return [Array<Google::Apis::DataflowV1b3::Source>]
|
4275
4395
|
attr_accessor :sources
|
4276
4396
|
|
4277
|
-
# The id of the tag the user code will access this side input by;
|
4278
|
-
#
|
4397
|
+
# The id of the tag the user code will access this side input by; this should
|
4398
|
+
# correspond to the tag of some MultiOutputInfo.
|
4279
4399
|
# Corresponds to the JSON property `tag`
|
4280
4400
|
# @return [String]
|
4281
4401
|
attr_accessor :tag
|
@@ -4427,13 +4547,12 @@ module Google
|
|
4427
4547
|
class Source
|
4428
4548
|
include Google::Apis::Core::Hashable
|
4429
4549
|
|
4430
|
-
# While splitting, sources may specify the produced bundles
|
4431
|
-
#
|
4432
|
-
#
|
4433
|
-
#
|
4434
|
-
#
|
4435
|
-
#
|
4436
|
-
# base_specs (later items win), spec (overrides anything in base_specs).
|
4550
|
+
# While splitting, sources may specify the produced bundles as differences
|
4551
|
+
# against another source, in order to save backend-side memory and allow bigger
|
4552
|
+
# jobs. For details, see SourceSplitRequest. To support this use case, the full
|
4553
|
+
# set of parameters of the source is logically obtained by taking the latest
|
4554
|
+
# explicitly specified value of each parameter in the order: base_specs (later
|
4555
|
+
# items win), spec (overrides anything in base_specs).
|
4437
4556
|
# Corresponds to the JSON property `baseSpecs`
|
4438
4557
|
# @return [Array<Hash<String,Object>>]
|
4439
4558
|
attr_accessor :base_specs
|
@@ -4443,27 +4562,24 @@ module Google
|
|
4443
4562
|
# @return [Hash<String,Object>]
|
4444
4563
|
attr_accessor :codec
|
4445
4564
|
|
4446
|
-
# Setting this value to true hints to the framework that the source
|
4447
|
-
#
|
4448
|
-
#
|
4449
|
-
#
|
4450
|
-
#
|
4451
|
-
#
|
4452
|
-
#
|
4453
|
-
#
|
4454
|
-
#
|
4455
|
-
#
|
4456
|
-
#
|
4457
|
-
# by the user (e.g. when filling in a DerivedSource).
|
4458
|
-
# Source objects supplied by the framework to the user don't have
|
4459
|
-
# this field populated.
|
4565
|
+
# Setting this value to true hints to the framework that the source doesn't need
|
4566
|
+
# splitting, and using SourceSplitRequest on it would yield
|
4567
|
+
# SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true
|
4568
|
+
# when splitting a single file into a set of byte ranges of appropriate size,
|
4569
|
+
# and set this to false when splitting a filepattern into individual files.
|
4570
|
+
# However, for efficiency, a file splitter may decide to produce file subranges
|
4571
|
+
# directly from the filepattern to avoid a splitting round-trip. See
|
4572
|
+
# SourceSplitRequest for an overview of the splitting process. This field is
|
4573
|
+
# meaningful only in the Source objects populated by the user (e.g. when filling
|
4574
|
+
# in a DerivedSource). Source objects supplied by the framework to the user don'
|
4575
|
+
# t have this field populated.
|
4460
4576
|
# Corresponds to the JSON property `doesNotNeedSplitting`
|
4461
4577
|
# @return [Boolean]
|
4462
4578
|
attr_accessor :does_not_need_splitting
|
4463
4579
|
alias_method :does_not_need_splitting?, :does_not_need_splitting
|
4464
4580
|
|
4465
|
-
# Metadata about a Source useful for automatically optimizing
|
4466
|
-
#
|
4581
|
+
# Metadata about a Source useful for automatically optimizing and tuning the
|
4582
|
+
# pipeline, etc.
|
4467
4583
|
# Corresponds to the JSON property `metadata`
|
4468
4584
|
# @return [Google::Apis::DataflowV1b3::SourceMetadata]
|
4469
4585
|
attr_accessor :metadata
|
@@ -4496,10 +4612,9 @@ module Google
|
|
4496
4612
|
# @return [Google::Apis::DataflowV1b3::SourceSplitShard]
|
4497
4613
|
attr_accessor :primary
|
4498
4614
|
|
4499
|
-
# Specification of one of the bundles produced as a result of splitting
|
4500
|
-
#
|
4501
|
-
#
|
4502
|
-
# relative to the source being split.
|
4615
|
+
# Specification of one of the bundles produced as a result of splitting a Source
|
4616
|
+
# (e.g. when executing a SourceSplitRequest, or when splitting an active task
|
4617
|
+
# using WorkItemStatus.dynamic_source_split), relative to the source being split.
|
4503
4618
|
# Corresponds to the JSON property `primarySource`
|
4504
4619
|
# @return [Google::Apis::DataflowV1b3::DerivedSource]
|
4505
4620
|
attr_accessor :primary_source
|
@@ -4509,10 +4624,9 @@ module Google
|
|
4509
4624
|
# @return [Google::Apis::DataflowV1b3::SourceSplitShard]
|
4510
4625
|
attr_accessor :residual
|
4511
4626
|
|
4512
|
-
# Specification of one of the bundles produced as a result of splitting
|
4513
|
-
#
|
4514
|
-
#
|
4515
|
-
# relative to the source being split.
|
4627
|
+
# Specification of one of the bundles produced as a result of splitting a Source
|
4628
|
+
# (e.g. when executing a SourceSplitRequest, or when splitting an active task
|
4629
|
+
# using WorkItemStatus.dynamic_source_split), relative to the source being split.
|
4516
4630
|
# Corresponds to the JSON property `residualSource`
|
4517
4631
|
# @return [Google::Apis::DataflowV1b3::DerivedSource]
|
4518
4632
|
attr_accessor :residual_source
|
@@ -4553,8 +4667,8 @@ module Google
|
|
4553
4667
|
class SourceGetMetadataResponse
|
4554
4668
|
include Google::Apis::Core::Hashable
|
4555
4669
|
|
4556
|
-
# Metadata about a Source useful for automatically optimizing
|
4557
|
-
#
|
4670
|
+
# Metadata about a Source useful for automatically optimizing and tuning the
|
4671
|
+
# pipeline, etc.
|
4558
4672
|
# Corresponds to the JSON property `metadata`
|
4559
4673
|
# @return [Google::Apis::DataflowV1b3::SourceMetadata]
|
4560
4674
|
attr_accessor :metadata
|
@@ -4569,27 +4683,27 @@ module Google
|
|
4569
4683
|
end
|
4570
4684
|
end
|
4571
4685
|
|
4572
|
-
# Metadata about a Source useful for automatically optimizing
|
4573
|
-
#
|
4686
|
+
# Metadata about a Source useful for automatically optimizing and tuning the
|
4687
|
+
# pipeline, etc.
|
4574
4688
|
class SourceMetadata
|
4575
4689
|
include Google::Apis::Core::Hashable
|
4576
4690
|
|
4577
|
-
# An estimate of the total size (in bytes) of the data that would be
|
4578
|
-
#
|
4579
|
-
#
|
4691
|
+
# An estimate of the total size (in bytes) of the data that would be read from
|
4692
|
+
# this source. This estimate is in terms of external storage size, before any
|
4693
|
+
# decompression or other processing done by the reader.
|
4580
4694
|
# Corresponds to the JSON property `estimatedSizeBytes`
|
4581
4695
|
# @return [Fixnum]
|
4582
4696
|
attr_accessor :estimated_size_bytes
|
4583
4697
|
|
4584
|
-
# Specifies that the size of this source is known to be infinite
|
4585
|
-
#
|
4698
|
+
# Specifies that the size of this source is known to be infinite (this is a
|
4699
|
+
# streaming source).
|
4586
4700
|
# Corresponds to the JSON property `infinite`
|
4587
4701
|
# @return [Boolean]
|
4588
4702
|
attr_accessor :infinite
|
4589
4703
|
alias_method :infinite?, :infinite
|
4590
4704
|
|
4591
|
-
# Whether this source is known to produce key/value pairs with
|
4592
|
-
#
|
4705
|
+
# Whether this source is known to produce key/value pairs with the (encoded)
|
4706
|
+
# keys in lexicographically sorted order.
|
4593
4707
|
# Corresponds to the JSON property `producesSortedKeys`
|
4594
4708
|
# @return [Boolean]
|
4595
4709
|
attr_accessor :produces_sorted_keys
|
@@ -4607,8 +4721,8 @@ module Google
|
|
4607
4721
|
end
|
4608
4722
|
end
|
4609
4723
|
|
4610
|
-
# A work item that represents the different operations that can be
|
4611
|
-
#
|
4724
|
+
# A work item that represents the different operations that can be performed on
|
4725
|
+
# a user-defined Source specification.
|
4612
4726
|
class SourceOperationRequest
|
4613
4727
|
include Google::Apis::Core::Hashable
|
4614
4728
|
|
@@ -4622,36 +4736,34 @@ module Google
|
|
4622
4736
|
# @return [String]
|
4623
4737
|
attr_accessor :name
|
4624
4738
|
|
4625
|
-
# System-defined name for the Read instruction for this source
|
4626
|
-
#
|
4739
|
+
# System-defined name for the Read instruction for this source in the original
|
4740
|
+
# workflow graph.
|
4627
4741
|
# Corresponds to the JSON property `originalName`
|
4628
4742
|
# @return [String]
|
4629
4743
|
attr_accessor :original_name
|
4630
4744
|
|
4631
|
-
# Represents the operation to split a high-level Source specification
|
4632
|
-
#
|
4633
|
-
#
|
4634
|
-
#
|
4635
|
-
#
|
4636
|
-
#
|
4637
|
-
#
|
4638
|
-
#
|
4639
|
-
#
|
4640
|
-
#
|
4641
|
-
# This applies both to the initial source being split and to bundles
|
4642
|
-
# produced from it.
|
4745
|
+
# Represents the operation to split a high-level Source specification into
|
4746
|
+
# bundles (parts for parallel processing). At a high level, splitting of a
|
4747
|
+
# source into bundles happens as follows: SourceSplitRequest is applied to the
|
4748
|
+
# source. If it returns SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting
|
4749
|
+
# happens and the source is used "as is". Otherwise, splitting is applied
|
4750
|
+
# recursively to each produced DerivedSource. As an optimization, for any Source,
|
4751
|
+
# if its does_not_need_splitting is true, the framework assumes that splitting
|
4752
|
+
# this source would return SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't
|
4753
|
+
# initiate a SourceSplitRequest. This applies both to the initial source being
|
4754
|
+
# split and to bundles produced from it.
|
4643
4755
|
# Corresponds to the JSON property `split`
|
4644
4756
|
# @return [Google::Apis::DataflowV1b3::SourceSplitRequest]
|
4645
4757
|
attr_accessor :split
|
4646
4758
|
|
4647
|
-
# System-defined name of the stage containing the source operation.
|
4648
|
-
#
|
4759
|
+
# System-defined name of the stage containing the source operation. Unique
|
4760
|
+
# across the workflow.
|
4649
4761
|
# Corresponds to the JSON property `stageName`
|
4650
4762
|
# @return [String]
|
4651
4763
|
attr_accessor :stage_name
|
4652
4764
|
|
4653
|
-
# System-defined name of the Read instruction for this source.
|
4654
|
-
#
|
4765
|
+
# System-defined name of the Read instruction for this source. Unique across the
|
4766
|
+
# workflow.
|
4655
4767
|
# Corresponds to the JSON property `systemName`
|
4656
4768
|
# @return [String]
|
4657
4769
|
attr_accessor :system_name
|
@@ -4672,8 +4784,7 @@ module Google
|
|
4672
4784
|
end
|
4673
4785
|
|
4674
4786
|
# The result of a SourceOperationRequest, specified in
|
4675
|
-
# ReportWorkItemStatusRequest.source_operation when the work item
|
4676
|
-
# is completed.
|
4787
|
+
# ReportWorkItemStatusRequest.source_operation when the work item is completed.
|
4677
4788
|
class SourceOperationResponse
|
4678
4789
|
include Google::Apis::Core::Hashable
|
4679
4790
|
|
@@ -4698,13 +4809,13 @@ module Google
|
|
4698
4809
|
end
|
4699
4810
|
end
|
4700
4811
|
|
4701
|
-
# Hints for splitting a Source into bundles (parts for parallel
|
4702
|
-
#
|
4812
|
+
# Hints for splitting a Source into bundles (parts for parallel processing)
|
4813
|
+
# using SourceSplitRequest.
|
4703
4814
|
class SourceSplitOptions
|
4704
4815
|
include Google::Apis::Core::Hashable
|
4705
4816
|
|
4706
|
-
# The source should be split into a set of bundles where the estimated size
|
4707
|
-
#
|
4817
|
+
# The source should be split into a set of bundles where the estimated size of
|
4818
|
+
# each is approximately this many bytes.
|
4708
4819
|
# Corresponds to the JSON property `desiredBundleSizeBytes`
|
4709
4820
|
# @return [Fixnum]
|
4710
4821
|
attr_accessor :desired_bundle_size_bytes
|
@@ -4725,23 +4836,21 @@ module Google
|
|
4725
4836
|
end
|
4726
4837
|
end
|
4727
4838
|
|
4728
|
-
# Represents the operation to split a high-level Source specification
|
4729
|
-
#
|
4730
|
-
#
|
4731
|
-
#
|
4732
|
-
#
|
4733
|
-
#
|
4734
|
-
#
|
4735
|
-
#
|
4736
|
-
#
|
4737
|
-
#
|
4738
|
-
# This applies both to the initial source being split and to bundles
|
4739
|
-
# produced from it.
|
4839
|
+
# Represents the operation to split a high-level Source specification into
|
4840
|
+
# bundles (parts for parallel processing). At a high level, splitting of a
|
4841
|
+
# source into bundles happens as follows: SourceSplitRequest is applied to the
|
4842
|
+
# source. If it returns SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting
|
4843
|
+
# happens and the source is used "as is". Otherwise, splitting is applied
|
4844
|
+
# recursively to each produced DerivedSource. As an optimization, for any Source,
|
4845
|
+
# if its does_not_need_splitting is true, the framework assumes that splitting
|
4846
|
+
# this source would return SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't
|
4847
|
+
# initiate a SourceSplitRequest. This applies both to the initial source being
|
4848
|
+
# split and to bundles produced from it.
|
4740
4849
|
class SourceSplitRequest
|
4741
4850
|
include Google::Apis::Core::Hashable
|
4742
4851
|
|
4743
|
-
# Hints for splitting a Source into bundles (parts for parallel
|
4744
|
-
#
|
4852
|
+
# Hints for splitting a Source into bundles (parts for parallel processing)
|
4853
|
+
# using SourceSplitRequest.
|
4745
4854
|
# Corresponds to the JSON property `options`
|
4746
4855
|
# @return [Google::Apis::DataflowV1b3::SourceSplitOptions]
|
4747
4856
|
attr_accessor :options
|
@@ -4766,18 +4875,18 @@ module Google
|
|
4766
4875
|
class SourceSplitResponse
|
4767
4876
|
include Google::Apis::Core::Hashable
|
4768
4877
|
|
4769
|
-
# If outcome is SPLITTING_HAPPENED, then this is a list of bundles
|
4770
|
-
#
|
4771
|
-
#
|
4878
|
+
# If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which
|
4879
|
+
# the source was split. Otherwise this field is ignored. This list can be empty,
|
4880
|
+
# which means the source represents an empty input.
|
4772
4881
|
# Corresponds to the JSON property `bundles`
|
4773
4882
|
# @return [Array<Google::Apis::DataflowV1b3::DerivedSource>]
|
4774
4883
|
attr_accessor :bundles
|
4775
4884
|
|
4776
|
-
# Indicates whether splitting happened and produced a list of bundles.
|
4777
|
-
#
|
4778
|
-
#
|
4779
|
-
#
|
4780
|
-
#
|
4885
|
+
# Indicates whether splitting happened and produced a list of bundles. If this
|
4886
|
+
# is USE_CURRENT_SOURCE_AS_IS, the current source should be processed "as is"
|
4887
|
+
# without splitting. "bundles" is ignored in this case. If this is
|
4888
|
+
# SPLITTING_HAPPENED, then "bundles" contains a list of bundles into which the
|
4889
|
+
# source was split.
|
4781
4890
|
# Corresponds to the JSON property `outcome`
|
4782
4891
|
# @return [String]
|
4783
4892
|
attr_accessor :outcome
|
@@ -4855,8 +4964,8 @@ module Google
|
|
4855
4964
|
end
|
4856
4965
|
end
|
4857
4966
|
|
4858
|
-
# A representation of an int64, n, that is immune to precision loss when
|
4859
|
-
#
|
4967
|
+
# A representation of an int64, n, that is immune to precision loss when encoded
|
4968
|
+
# in JSON.
|
4860
4969
|
class SplitInt64
|
4861
4970
|
include Google::Apis::Core::Hashable
|
4862
4971
|
|
@@ -4881,6 +4990,32 @@ module Google
|
|
4881
4990
|
end
|
4882
4991
|
end
|
4883
4992
|
|
4993
|
+
# Information about the workers and work items within a stage.
|
4994
|
+
class StageExecutionDetails
|
4995
|
+
include Google::Apis::Core::Hashable
|
4996
|
+
|
4997
|
+
# If present, this response does not contain all requested tasks. To obtain the
|
4998
|
+
# next page of results, repeat the request with page_token set to this value.
|
4999
|
+
# Corresponds to the JSON property `nextPageToken`
|
5000
|
+
# @return [String]
|
5001
|
+
attr_accessor :next_page_token
|
5002
|
+
|
5003
|
+
# Workers that have done work on the stage.
|
5004
|
+
# Corresponds to the JSON property `workers`
|
5005
|
+
# @return [Array<Google::Apis::DataflowV1b3::WorkerDetails>]
|
5006
|
+
attr_accessor :workers
|
5007
|
+
|
5008
|
+
def initialize(**args)
|
5009
|
+
update!(**args)
|
5010
|
+
end
|
5011
|
+
|
5012
|
+
# Update properties of this object
|
5013
|
+
def update!(**args)
|
5014
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5015
|
+
@workers = args[:workers] if args.key?(:workers)
|
5016
|
+
end
|
5017
|
+
end
|
5018
|
+
|
4884
5019
|
# Description of an input or output of an execution stage.
|
4885
5020
|
class StageSource
|
4886
5021
|
include Google::Apis::Core::Hashable
|
@@ -4890,8 +5025,8 @@ module Google
|
|
4890
5025
|
# @return [String]
|
4891
5026
|
attr_accessor :name
|
4892
5027
|
|
4893
|
-
# User name for the original user transform or collection with which this
|
4894
|
-
#
|
5028
|
+
# User name for the original user transform or collection with which this source
|
5029
|
+
# is most closely associated.
|
4895
5030
|
# Corresponds to the JSON property `originalTransformOrCollection`
|
4896
5031
|
# @return [String]
|
4897
5032
|
attr_accessor :original_transform_or_collection
|
@@ -4919,6 +5054,56 @@ module Google
|
|
4919
5054
|
end
|
4920
5055
|
end
|
4921
5056
|
|
5057
|
+
# Information about a particular execution stage of a job.
|
5058
|
+
class StageSummary
|
5059
|
+
include Google::Apis::Core::Hashable
|
5060
|
+
|
5061
|
+
# End time of this stage. If the work item is completed, this is the actual end
|
5062
|
+
# time of the stage. Otherwise, it is the predicted end time.
|
5063
|
+
# Corresponds to the JSON property `endTime`
|
5064
|
+
# @return [String]
|
5065
|
+
attr_accessor :end_time
|
5066
|
+
|
5067
|
+
# Metrics for this stage.
|
5068
|
+
# Corresponds to the JSON property `metrics`
|
5069
|
+
# @return [Array<Google::Apis::DataflowV1b3::MetricUpdate>]
|
5070
|
+
attr_accessor :metrics
|
5071
|
+
|
5072
|
+
# Information about the progress of some component of job execution.
|
5073
|
+
# Corresponds to the JSON property `progress`
|
5074
|
+
# @return [Google::Apis::DataflowV1b3::ProgressTimeseries]
|
5075
|
+
attr_accessor :progress
|
5076
|
+
|
5077
|
+
# ID of this stage
|
5078
|
+
# Corresponds to the JSON property `stageId`
|
5079
|
+
# @return [String]
|
5080
|
+
attr_accessor :stage_id
|
5081
|
+
|
5082
|
+
# Start time of this stage.
|
5083
|
+
# Corresponds to the JSON property `startTime`
|
5084
|
+
# @return [String]
|
5085
|
+
attr_accessor :start_time
|
5086
|
+
|
5087
|
+
# State of this stage.
|
5088
|
+
# Corresponds to the JSON property `state`
|
5089
|
+
# @return [String]
|
5090
|
+
attr_accessor :state
|
5091
|
+
|
5092
|
+
def initialize(**args)
|
5093
|
+
update!(**args)
|
5094
|
+
end
|
5095
|
+
|
5096
|
+
# Update properties of this object
|
5097
|
+
def update!(**args)
|
5098
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
5099
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
5100
|
+
@progress = args[:progress] if args.key?(:progress)
|
5101
|
+
@stage_id = args[:stage_id] if args.key?(:stage_id)
|
5102
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
5103
|
+
@state = args[:state] if args.key?(:state)
|
5104
|
+
end
|
5105
|
+
end
|
5106
|
+
|
4922
5107
|
# State family configuration.
|
4923
5108
|
class StateFamilyConfig
|
4924
5109
|
include Google::Apis::Core::Hashable
|
@@ -4945,12 +5130,12 @@ module Google
|
|
4945
5130
|
end
|
4946
5131
|
end
|
4947
5132
|
|
4948
|
-
# The `Status` type defines a logical error model that is suitable for
|
4949
|
-
#
|
4950
|
-
#
|
4951
|
-
#
|
4952
|
-
#
|
4953
|
-
#
|
5133
|
+
# The `Status` type defines a logical error model that is suitable for different
|
5134
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
5135
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
5136
|
+
# data: error code, error message, and error details. You can find out more
|
5137
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
5138
|
+
# //cloud.google.com/apis/design/errors).
|
4954
5139
|
class Status
|
4955
5140
|
include Google::Apis::Core::Hashable
|
4956
5141
|
|
@@ -4959,15 +5144,15 @@ module Google
|
|
4959
5144
|
# @return [Fixnum]
|
4960
5145
|
attr_accessor :code
|
4961
5146
|
|
4962
|
-
# A list of messages that carry the error details.
|
5147
|
+
# A list of messages that carry the error details. There is a common set of
|
4963
5148
|
# message types for APIs to use.
|
4964
5149
|
# Corresponds to the JSON property `details`
|
4965
5150
|
# @return [Array<Hash<String,Object>>]
|
4966
5151
|
attr_accessor :details
|
4967
5152
|
|
4968
|
-
# A developer-facing error message, which should be in English. Any
|
4969
|
-
#
|
4970
|
-
#
|
5153
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
5154
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
5155
|
+
# field, or localized by the client.
|
4971
5156
|
# Corresponds to the JSON property `message`
|
4972
5157
|
# @return [String]
|
4973
5158
|
attr_accessor :message
|
@@ -4984,23 +5169,17 @@ module Google
|
|
4984
5169
|
end
|
4985
5170
|
end
|
4986
5171
|
|
4987
|
-
# Defines a particular step within a Cloud Dataflow job.
|
4988
|
-
#
|
4989
|
-
#
|
4990
|
-
#
|
4991
|
-
#
|
4992
|
-
#
|
4993
|
-
#
|
4994
|
-
#
|
4995
|
-
#
|
4996
|
-
#
|
4997
|
-
#
|
4998
|
-
# * Group elements with the same key into a single element with
|
4999
|
-
# that key, transforming a multiply-keyed collection into a
|
5000
|
-
# uniquely-keyed collection.
|
5001
|
-
# * Write the elements out to some data sink.
|
5002
|
-
# Note that the Cloud Dataflow service may be used to run many different
|
5003
|
-
# types of jobs, not just Map-Reduce.
|
5172
|
+
# Defines a particular step within a Cloud Dataflow job. A job consists of
|
5173
|
+
# multiple steps, each of which performs some specific operation as part of the
|
5174
|
+
# overall job. Data is typically passed from one step to another as part of the
|
5175
|
+
# job. Here's an example of a sequence of steps which together implement a Map-
|
5176
|
+
# Reduce job: * Read a collection of data from some source, parsing the
|
5177
|
+
# collection's elements. * Validate the elements. * Apply a user-defined
|
5178
|
+
# function to map each element to some value and extract an element-specific key
|
5179
|
+
# value. * Group elements with the same key into a single element with that key,
|
5180
|
+
# transforming a multiply-keyed collection into a uniquely-keyed collection. *
|
5181
|
+
# Write the elements out to some data sink. Note that the Cloud Dataflow service
|
5182
|
+
# may be used to run many different types of jobs, not just Map-Reduce.
|
5004
5183
|
class Step
|
5005
5184
|
include Google::Apis::Core::Hashable
|
5006
5185
|
|
@@ -5009,15 +5188,15 @@ module Google
|
|
5009
5188
|
# @return [String]
|
5010
5189
|
attr_accessor :kind
|
5011
5190
|
|
5012
|
-
# The name that identifies the step. This must be unique for each
|
5013
|
-
#
|
5191
|
+
# The name that identifies the step. This must be unique for each step with
|
5192
|
+
# respect to all other steps in the Cloud Dataflow job.
|
5014
5193
|
# Corresponds to the JSON property `name`
|
5015
5194
|
# @return [String]
|
5016
5195
|
attr_accessor :name
|
5017
5196
|
|
5018
|
-
# Named properties associated with the step. Each kind of
|
5019
|
-
#
|
5020
|
-
#
|
5197
|
+
# Named properties associated with the step. Each kind of predefined step has
|
5198
|
+
# its own required set of properties. Must be provided on Create. Only retrieved
|
5199
|
+
# with JOB_VIEW_ALL.
|
5021
5200
|
# Corresponds to the JSON property `properties`
|
5022
5201
|
# @return [Hash<String,Object>]
|
5023
5202
|
attr_accessor :properties
|
@@ -5034,8 +5213,8 @@ module Google
|
|
5034
5213
|
end
|
5035
5214
|
end
|
5036
5215
|
|
5037
|
-
# Describes a stream of data, either as input to be processed or as
|
5038
|
-
#
|
5216
|
+
# Describes a stream of data, either as input to be processed or as output of a
|
5217
|
+
# streaming Dataflow job.
|
5039
5218
|
class StreamLocation
|
5040
5219
|
include Google::Apis::Core::Hashable
|
5041
5220
|
|
@@ -5044,8 +5223,8 @@ module Google
|
|
5044
5223
|
# @return [Google::Apis::DataflowV1b3::CustomSourceLocation]
|
5045
5224
|
attr_accessor :custom_source_location
|
5046
5225
|
|
5047
|
-
# Identifies a pubsub location to use for transferring data into or
|
5048
|
-
#
|
5226
|
+
# Identifies a pubsub location to use for transferring data into or out of a
|
5227
|
+
# streaming Dataflow job.
|
5049
5228
|
# Corresponds to the JSON property `pubsubLocation`
|
5050
5229
|
# @return [Google::Apis::DataflowV1b3::PubsubLocation]
|
5051
5230
|
attr_accessor :pubsub_location
|
@@ -5055,8 +5234,8 @@ module Google
|
|
5055
5234
|
# @return [Google::Apis::DataflowV1b3::StreamingSideInputLocation]
|
5056
5235
|
attr_accessor :side_input_location
|
5057
5236
|
|
5058
|
-
# Identifies the location of a streaming computation stage, for
|
5059
|
-
#
|
5237
|
+
# Identifies the location of a streaming computation stage, for stage-to-stage
|
5238
|
+
# communication.
|
5060
5239
|
# Corresponds to the JSON property `streamingStageLocation`
|
5061
5240
|
# @return [Google::Apis::DataflowV1b3::StreamingStageLocation]
|
5062
5241
|
attr_accessor :streaming_stage_location
|
@@ -5123,8 +5302,7 @@ module Google
|
|
5123
5302
|
# @return [String]
|
5124
5303
|
attr_accessor :system_name
|
5125
5304
|
|
5126
|
-
# Map from user name of stateful transforms in this stage to their state
|
5127
|
-
# family.
|
5305
|
+
# Map from user name of stateful transforms in this stage to their state family.
|
5128
5306
|
# Corresponds to the JSON property `transformUserNameToStateFamily`
|
5129
5307
|
# @return [Hash<String,String>]
|
5130
5308
|
attr_accessor :transform_user_name_to_state_family
|
@@ -5237,9 +5415,8 @@ module Google
|
|
5237
5415
|
# @return [String]
|
5238
5416
|
attr_accessor :windmill_service_endpoint
|
5239
5417
|
|
5240
|
-
# If present, the worker must use this port to communicate with Windmill
|
5241
|
-
#
|
5242
|
-
# specified.
|
5418
|
+
# If present, the worker must use this port to communicate with Windmill Service
|
5419
|
+
# dispatchers. Only applicable when windmill_service_endpoint is specified.
|
5243
5420
|
# Corresponds to the JSON property `windmillServicePort`
|
5244
5421
|
# @return [Fixnum]
|
5245
5422
|
attr_accessor :windmill_service_port
|
@@ -5270,8 +5447,8 @@ module Google
|
|
5270
5447
|
attr_accessor :drain
|
5271
5448
|
alias_method :drain?, :drain
|
5272
5449
|
|
5273
|
-
# The TCP port on which the worker should listen for messages from
|
5274
|
-
#
|
5450
|
+
# The TCP port on which the worker should listen for messages from other
|
5451
|
+
# streaming computation workers.
|
5275
5452
|
# Corresponds to the JSON property `receiveWorkPort`
|
5276
5453
|
# @return [Fixnum]
|
5277
5454
|
attr_accessor :receive_work_port
|
@@ -5281,14 +5458,14 @@ module Google
|
|
5281
5458
|
# @return [Google::Apis::DataflowV1b3::StreamingApplianceSnapshotConfig]
|
5282
5459
|
attr_accessor :snapshot_config
|
5283
5460
|
|
5284
|
-
# Global topology of the streaming Dataflow job, including all
|
5285
|
-
#
|
5461
|
+
# Global topology of the streaming Dataflow job, including all computations and
|
5462
|
+
# their sharded locations.
|
5286
5463
|
# Corresponds to the JSON property `streamingComputationTopology`
|
5287
5464
|
# @return [Google::Apis::DataflowV1b3::TopologyConfig]
|
5288
5465
|
attr_accessor :streaming_computation_topology
|
5289
5466
|
|
5290
|
-
# The TCP port used by the worker to communicate with the Dataflow
|
5291
|
-
#
|
5467
|
+
# The TCP port used by the worker to communicate with the Dataflow worker
|
5468
|
+
# harness.
|
5292
5469
|
# Corresponds to the JSON property `workerHarnessPort`
|
5293
5470
|
# @return [Fixnum]
|
5294
5471
|
attr_accessor :worker_harness_port
|
@@ -5332,13 +5509,12 @@ module Google
|
|
5332
5509
|
end
|
5333
5510
|
end
|
5334
5511
|
|
5335
|
-
# Identifies the location of a streaming computation stage, for
|
5336
|
-
#
|
5512
|
+
# Identifies the location of a streaming computation stage, for stage-to-stage
|
5513
|
+
# communication.
|
5337
5514
|
class StreamingStageLocation
|
5338
5515
|
include Google::Apis::Core::Hashable
|
5339
5516
|
|
5340
|
-
# Identifies the particular stream within the streaming Dataflow
|
5341
|
-
# job.
|
5517
|
+
# Identifies the particular stream within the streaming Dataflow job.
|
5342
5518
|
# Corresponds to the JSON property `streamId`
|
5343
5519
|
# @return [String]
|
5344
5520
|
attr_accessor :stream_id
|
@@ -5378,8 +5554,8 @@ module Google
|
|
5378
5554
|
class StructuredMessage
|
5379
5555
|
include Google::Apis::Core::Hashable
|
5380
5556
|
|
5381
|
-
# Identifier for this message type.
|
5382
|
-
#
|
5557
|
+
# Identifier for this message type. Used by external systems to internationalize
|
5558
|
+
# or personalize message.
|
5383
5559
|
# Corresponds to the JSON property `messageKey`
|
5384
5560
|
# @return [String]
|
5385
5561
|
attr_accessor :message_key
|
@@ -5421,13 +5597,12 @@ module Google
|
|
5421
5597
|
# @return [String]
|
5422
5598
|
attr_accessor :base_task_dir
|
5423
5599
|
|
5424
|
-
# The base URL for the taskrunner to use when accessing Google Cloud APIs.
|
5425
|
-
#
|
5426
|
-
#
|
5427
|
-
#
|
5428
|
-
#
|
5429
|
-
#
|
5430
|
-
# If not specified, the default value is "http://www.googleapis.com/"
|
5600
|
+
# The base URL for the taskrunner to use when accessing Google Cloud APIs. When
|
5601
|
+
# workers access Google Cloud APIs, they logically do so via relative URLs. If
|
5602
|
+
# this field is specified, it supplies the base URL to use for resolving these
|
5603
|
+
# relative URLs. The normative algorithm used is defined by RFC 1808, "Relative
|
5604
|
+
# Uniform Resource Locators". If not specified, the default value is "http://www.
|
5605
|
+
# googleapis.com/"
|
5431
5606
|
# Corresponds to the JSON property `baseUrl`
|
5432
5607
|
# @return [String]
|
5433
5608
|
attr_accessor :base_url
|
@@ -5463,25 +5638,21 @@ module Google
|
|
5463
5638
|
# @return [String]
|
5464
5639
|
attr_accessor :log_dir
|
5465
5640
|
|
5466
|
-
# Whether to send taskrunner log info to Google Compute Engine VM serial
|
5467
|
-
# console.
|
5641
|
+
# Whether to send taskrunner log info to Google Compute Engine VM serial console.
|
5468
5642
|
# Corresponds to the JSON property `logToSerialconsole`
|
5469
5643
|
# @return [Boolean]
|
5470
5644
|
attr_accessor :log_to_serialconsole
|
5471
5645
|
alias_method :log_to_serialconsole?, :log_to_serialconsole
|
5472
5646
|
|
5473
|
-
# Indicates where to put logs.
|
5474
|
-
#
|
5475
|
-
#
|
5476
|
-
# Google Cloud Storage:
|
5477
|
-
# storage.googleapis.com/`bucket`/`object`
|
5478
|
-
# bucket.storage.googleapis.com/`object`
|
5647
|
+
# Indicates where to put logs. If this is not specified, the logs will not be
|
5648
|
+
# uploaded. The supported resource type is: Google Cloud Storage: storage.
|
5649
|
+
# googleapis.com/`bucket`/`object` bucket.storage.googleapis.com/`object`
|
5479
5650
|
# Corresponds to the JSON property `logUploadLocation`
|
5480
5651
|
# @return [String]
|
5481
5652
|
attr_accessor :log_upload_location
|
5482
5653
|
|
5483
|
-
# The OAuth2 scopes to be requested by the taskrunner in order to
|
5484
|
-
#
|
5654
|
+
# The OAuth2 scopes to be requested by the taskrunner in order to access the
|
5655
|
+
# Cloud Dataflow API.
|
5485
5656
|
# Corresponds to the JSON property `oauthScopes`
|
5486
5657
|
# @return [Array<String>]
|
5487
5658
|
attr_accessor :oauth_scopes
|
@@ -5496,24 +5667,21 @@ module Google
|
|
5496
5667
|
# @return [String]
|
5497
5668
|
attr_accessor :streaming_worker_main_class
|
5498
5669
|
|
5499
|
-
# The UNIX group ID on the worker VM to use for tasks launched by
|
5500
|
-
#
|
5670
|
+
# The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.
|
5671
|
+
# g. "wheel".
|
5501
5672
|
# Corresponds to the JSON property `taskGroup`
|
5502
5673
|
# @return [String]
|
5503
5674
|
attr_accessor :task_group
|
5504
5675
|
|
5505
|
-
# The UNIX user ID on the worker VM to use for tasks launched by
|
5506
|
-
#
|
5676
|
+
# The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g.
|
5677
|
+
# "root".
|
5507
5678
|
# Corresponds to the JSON property `taskUser`
|
5508
5679
|
# @return [String]
|
5509
5680
|
attr_accessor :task_user
|
5510
5681
|
|
5511
|
-
# The prefix of the resources the taskrunner should use for
|
5512
|
-
#
|
5513
|
-
#
|
5514
|
-
# Google Cloud Storage:
|
5515
|
-
# storage.googleapis.com/`bucket`/`object`
|
5516
|
-
# bucket.storage.googleapis.com/`object`
|
5682
|
+
# The prefix of the resources the taskrunner should use for temporary storage.
|
5683
|
+
# The supported resource type is: Google Cloud Storage: storage.googleapis.com/`
|
5684
|
+
# bucket`/`object` bucket.storage.googleapis.com/`object`
|
5517
5685
|
# Corresponds to the JSON property `tempStoragePrefix`
|
5518
5686
|
# @return [String]
|
5519
5687
|
attr_accessor :temp_storage_prefix
|
@@ -5587,15 +5755,14 @@ module Google
|
|
5587
5755
|
end
|
5588
5756
|
end
|
5589
5757
|
|
5590
|
-
# /////////////////////////////////////////////////////////////////////////////
|
5591
|
-
#
|
5592
|
-
#
|
5593
|
-
#
|
5594
|
-
#
|
5595
|
-
# ////
|
5596
|
-
# ////
|
5597
|
-
#
|
5598
|
-
# //// tags in the same `Template` are not allowed!
|
5758
|
+
# ///////////////////////////////////////////////////////////////////////////// /
|
5759
|
+
# /// Template Catalog is used to organize user TemplateVersions. ////
|
5760
|
+
# TemplateVersions that have the same project_id and display_name are ////
|
5761
|
+
# belong to the same Template. //// Templates with the same project_id belong to
|
5762
|
+
# the same Project. //// TemplateVersion may have labels and multiple labels are
|
5763
|
+
# allowed. //// Duplicated labels in the same `TemplateVersion` are not allowed.
|
5764
|
+
# //// TemplateVersion may have tags and multiple tags are allowed. Duplicated //
|
5765
|
+
# // tags in the same `Template` are not allowed!
|
5599
5766
|
class TemplateVersion
|
5600
5767
|
include Google::Apis::Core::Hashable
|
5601
5768
|
|
@@ -5662,8 +5829,8 @@ module Google
|
|
5662
5829
|
end
|
5663
5830
|
end
|
5664
5831
|
|
5665
|
-
# Global topology of the streaming Dataflow job, including all
|
5666
|
-
#
|
5832
|
+
# Global topology of the streaming Dataflow job, including all computations and
|
5833
|
+
# their sharded locations.
|
5667
5834
|
class TopologyConfig
|
5668
5835
|
include Google::Apis::Core::Hashable
|
5669
5836
|
|
@@ -5735,7 +5902,7 @@ module Google
|
|
5735
5902
|
# @return [String]
|
5736
5903
|
attr_accessor :name
|
5737
5904
|
|
5738
|
-
# User
|
5905
|
+
# User names for all collection outputs to this transform.
|
5739
5906
|
# Corresponds to the JSON property `outputCollectionName`
|
5740
5907
|
# @return [Array<String>]
|
5741
5908
|
attr_accessor :output_collection_name
|
@@ -5780,8 +5947,8 @@ module Google
|
|
5780
5947
|
end
|
5781
5948
|
end
|
5782
5949
|
|
5783
|
-
# WorkItem represents basic information about a WorkItem to be executed
|
5784
|
-
#
|
5950
|
+
# WorkItem represents basic information about a WorkItem to be executed in the
|
5951
|
+
# cloud.
|
5785
5952
|
class WorkItem
|
5786
5953
|
include Google::Apis::Core::Hashable
|
5787
5954
|
|
@@ -5810,17 +5977,16 @@ module Google
|
|
5810
5977
|
# @return [String]
|
5811
5978
|
attr_accessor :lease_expire_time
|
5812
5979
|
|
5813
|
-
# MapTask consists of an ordered set of instructions, each of which
|
5814
|
-
#
|
5815
|
-
#
|
5816
|
-
#
|
5817
|
-
# depends on its output.
|
5980
|
+
# MapTask consists of an ordered set of instructions, each of which describes
|
5981
|
+
# one particular low-level operation for the worker to perform in order to
|
5982
|
+
# accomplish the MapTask's WorkItem. Each instruction must appear in the list
|
5983
|
+
# before any instructions which depends on its output.
|
5818
5984
|
# Corresponds to the JSON property `mapTask`
|
5819
5985
|
# @return [Google::Apis::DataflowV1b3::MapTask]
|
5820
5986
|
attr_accessor :map_task
|
5821
5987
|
|
5822
|
-
# Any required packages that need to be fetched in order to execute
|
5823
|
-
#
|
5988
|
+
# Any required packages that need to be fetched in order to execute this
|
5989
|
+
# WorkItem.
|
5824
5990
|
# Corresponds to the JSON property `packages`
|
5825
5991
|
# @return [Array<Google::Apis::DataflowV1b3::Package>]
|
5826
5992
|
attr_accessor :packages
|
@@ -5845,8 +6011,8 @@ module Google
|
|
5845
6011
|
# @return [Google::Apis::DataflowV1b3::ShellTask]
|
5846
6012
|
attr_accessor :shell_task
|
5847
6013
|
|
5848
|
-
# A work item that represents the different operations that can be
|
5849
|
-
#
|
6014
|
+
# A work item that represents the different operations that can be performed on
|
6015
|
+
# a user-defined Source specification.
|
5850
6016
|
# Corresponds to the JSON property `sourceOperationTask`
|
5851
6017
|
# @return [Google::Apis::DataflowV1b3::SourceOperationRequest]
|
5852
6018
|
attr_accessor :source_operation_task
|
@@ -5891,23 +6057,78 @@ module Google
|
|
5891
6057
|
end
|
5892
6058
|
end
|
5893
6059
|
|
5894
|
-
#
|
5895
|
-
|
6060
|
+
# Information about an individual work item execution.
|
6061
|
+
class WorkItemDetails
|
6062
|
+
include Google::Apis::Core::Hashable
|
6063
|
+
|
6064
|
+
# Attempt ID of this work item
|
6065
|
+
# Corresponds to the JSON property `attemptId`
|
6066
|
+
# @return [String]
|
6067
|
+
attr_accessor :attempt_id
|
6068
|
+
|
6069
|
+
# End time of this work item attempt. If the work item is completed, this is the
|
6070
|
+
# actual end time of the work item. Otherwise, it is the predicted end time.
|
6071
|
+
# Corresponds to the JSON property `endTime`
|
6072
|
+
# @return [String]
|
6073
|
+
attr_accessor :end_time
|
6074
|
+
|
6075
|
+
# Metrics for this work item.
|
6076
|
+
# Corresponds to the JSON property `metrics`
|
6077
|
+
# @return [Array<Google::Apis::DataflowV1b3::MetricUpdate>]
|
6078
|
+
attr_accessor :metrics
|
6079
|
+
|
6080
|
+
# Information about the progress of some component of job execution.
|
6081
|
+
# Corresponds to the JSON property `progress`
|
6082
|
+
# @return [Google::Apis::DataflowV1b3::ProgressTimeseries]
|
6083
|
+
attr_accessor :progress
|
6084
|
+
|
6085
|
+
# Start time of this work item attempt.
|
6086
|
+
# Corresponds to the JSON property `startTime`
|
6087
|
+
# @return [String]
|
6088
|
+
attr_accessor :start_time
|
6089
|
+
|
6090
|
+
# State of this work item.
|
6091
|
+
# Corresponds to the JSON property `state`
|
6092
|
+
# @return [String]
|
6093
|
+
attr_accessor :state
|
6094
|
+
|
6095
|
+
# Name of this work item.
|
6096
|
+
# Corresponds to the JSON property `taskId`
|
6097
|
+
# @return [String]
|
6098
|
+
attr_accessor :task_id
|
6099
|
+
|
6100
|
+
def initialize(**args)
|
6101
|
+
update!(**args)
|
6102
|
+
end
|
6103
|
+
|
6104
|
+
# Update properties of this object
|
6105
|
+
def update!(**args)
|
6106
|
+
@attempt_id = args[:attempt_id] if args.key?(:attempt_id)
|
6107
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
6108
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
6109
|
+
@progress = args[:progress] if args.key?(:progress)
|
6110
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
6111
|
+
@state = args[:state] if args.key?(:state)
|
6112
|
+
@task_id = args[:task_id] if args.key?(:task_id)
|
6113
|
+
end
|
6114
|
+
end
|
6115
|
+
|
6116
|
+
# The Dataflow service's idea of the current state of a WorkItem being processed
|
6117
|
+
# by a worker.
|
5896
6118
|
class WorkItemServiceState
|
5897
6119
|
include Google::Apis::Core::Hashable
|
5898
6120
|
|
5899
|
-
# The `Status` type defines a logical error model that is suitable for
|
5900
|
-
#
|
5901
|
-
#
|
5902
|
-
#
|
5903
|
-
#
|
5904
|
-
#
|
6121
|
+
# The `Status` type defines a logical error model that is suitable for different
|
6122
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
6123
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
6124
|
+
# data: error code, error message, and error details. You can find out more
|
6125
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
6126
|
+
# //cloud.google.com/apis/design/errors).
|
5905
6127
|
# Corresponds to the JSON property `completeWorkStatus`
|
5906
6128
|
# @return [Google::Apis::DataflowV1b3::Status]
|
5907
6129
|
attr_accessor :complete_work_status
|
5908
6130
|
|
5909
|
-
# Other data returned by the service, specific to the particular
|
5910
|
-
# worker harness.
|
6131
|
+
# Other data returned by the service, specific to the particular worker harness.
|
5911
6132
|
# Corresponds to the JSON property `harnessData`
|
5912
6133
|
# @return [Hash<String,Object>]
|
5913
6134
|
attr_accessor :harness_data
|
@@ -5922,19 +6143,18 @@ module Google
|
|
5922
6143
|
# @return [String]
|
5923
6144
|
attr_accessor :lease_expire_time
|
5924
6145
|
|
5925
|
-
# The short ids that workers should use in subsequent metric updates.
|
5926
|
-
#
|
5927
|
-
#
|
5928
|
-
#
|
5929
|
-
#
|
5930
|
-
# of the metrics.
|
6146
|
+
# The short ids that workers should use in subsequent metric updates. Workers
|
6147
|
+
# should strive to use short ids whenever possible, but it is ok to request the
|
6148
|
+
# short_id again if a worker lost track of it (e.g. if the worker is recovering
|
6149
|
+
# from a crash). NOTE: it is possible that the response may have short ids for a
|
6150
|
+
# subset of the metrics.
|
5931
6151
|
# Corresponds to the JSON property `metricShortId`
|
5932
6152
|
# @return [Array<Google::Apis::DataflowV1b3::MetricShortId>]
|
5933
6153
|
attr_accessor :metric_short_id
|
5934
6154
|
|
5935
|
-
# The index value to use for the next report sent by the worker.
|
5936
|
-
#
|
5937
|
-
#
|
6155
|
+
# The index value to use for the next report sent by the worker. Note: If the
|
6156
|
+
# report call fails for whatever reason, the worker should reuse this index for
|
6157
|
+
# subsequent report attempts.
|
5938
6158
|
# Corresponds to the JSON property `nextReportIndex`
|
5939
6159
|
# @return [Fixnum]
|
5940
6160
|
attr_accessor :next_report_index
|
@@ -5954,9 +6174,9 @@ module Google
|
|
5954
6174
|
# @return [Google::Apis::DataflowV1b3::ApproximateProgress]
|
5955
6175
|
attr_accessor :suggested_stop_point
|
5956
6176
|
|
5957
|
-
# Position defines a position within a collection of data.
|
5958
|
-
#
|
5959
|
-
#
|
6177
|
+
# Position defines a position within a collection of data. The value can be
|
6178
|
+
# either the end position, a key (used with ordered collections), a byte offset,
|
6179
|
+
# or a record index.
|
5960
6180
|
# Corresponds to the JSON property `suggestedStopPosition`
|
5961
6181
|
# @return [Google::Apis::DataflowV1b3::Position]
|
5962
6182
|
attr_accessor :suggested_stop_position
|
@@ -5995,16 +6215,15 @@ module Google
|
|
5995
6215
|
# @return [Array<Google::Apis::DataflowV1b3::CounterUpdate>]
|
5996
6216
|
attr_accessor :counter_updates
|
5997
6217
|
|
5998
|
-
# When a task splits using WorkItemStatus.dynamic_source_split, this
|
5999
|
-
#
|
6000
|
-
#
|
6218
|
+
# When a task splits using WorkItemStatus.dynamic_source_split, this message
|
6219
|
+
# describes the two parts of the split relative to the description of the
|
6220
|
+
# current task's input.
|
6001
6221
|
# Corresponds to the JSON property `dynamicSourceSplit`
|
6002
6222
|
# @return [Google::Apis::DataflowV1b3::DynamicSourceSplit]
|
6003
6223
|
attr_accessor :dynamic_source_split
|
6004
6224
|
|
6005
|
-
# Specifies errors which occurred during processing.
|
6006
|
-
#
|
6007
|
-
# to have failed.
|
6225
|
+
# Specifies errors which occurred during processing. If errors are provided, and
|
6226
|
+
# completed = true, then the WorkItem is considered to have failed.
|
6008
6227
|
# Corresponds to the JSON property `errors`
|
6009
6228
|
# @return [Array<Google::Apis::DataflowV1b3::Status>]
|
6010
6229
|
attr_accessor :errors
|
@@ -6019,16 +6238,14 @@ module Google
|
|
6019
6238
|
# @return [Google::Apis::DataflowV1b3::ApproximateProgress]
|
6020
6239
|
attr_accessor :progress
|
6021
6240
|
|
6022
|
-
# The report index.
|
6023
|
-
#
|
6024
|
-
#
|
6025
|
-
#
|
6026
|
-
#
|
6027
|
-
#
|
6028
|
-
#
|
6029
|
-
#
|
6030
|
-
# report multiple times before getting back a response. The worker
|
6031
|
-
# should not submit a subsequent report until the response for the
|
6241
|
+
# The report index. When a WorkItem is leased, the lease will contain an initial
|
6242
|
+
# report index. When a WorkItem's status is reported to the system, the report
|
6243
|
+
# should be sent with that report index, and the response will contain the index
|
6244
|
+
# the worker should use for the next report. Reports received with unexpected
|
6245
|
+
# index values will be rejected by the service. In order to preserve idempotency,
|
6246
|
+
# the worker should not alter the contents of a report, even if the worker must
|
6247
|
+
# submit the same report multiple times before getting back a response. The
|
6248
|
+
# worker should not submit a subsequent report until the response for the
|
6032
6249
|
# previous report had been received from the service.
|
6033
6250
|
# Corresponds to the JSON property `reportIndex`
|
6034
6251
|
# @return [Fixnum]
|
@@ -6050,15 +6267,14 @@ module Google
|
|
6050
6267
|
attr_accessor :source_fork
|
6051
6268
|
|
6052
6269
|
# The result of a SourceOperationRequest, specified in
|
6053
|
-
# ReportWorkItemStatusRequest.source_operation when the work item
|
6054
|
-
# is completed.
|
6270
|
+
# ReportWorkItemStatusRequest.source_operation when the work item is completed.
|
6055
6271
|
# Corresponds to the JSON property `sourceOperationResponse`
|
6056
6272
|
# @return [Google::Apis::DataflowV1b3::SourceOperationResponse]
|
6057
6273
|
attr_accessor :source_operation_response
|
6058
6274
|
|
6059
|
-
# Position defines a position within a collection of data.
|
6060
|
-
#
|
6061
|
-
#
|
6275
|
+
# Position defines a position within a collection of data. The value can be
|
6276
|
+
# either the end position, a key (used with ordered collections), a byte offset,
|
6277
|
+
# or a record index.
|
6062
6278
|
# Corresponds to the JSON property `stopPosition`
|
6063
6279
|
# @return [Google::Apis::DataflowV1b3::Position]
|
6064
6280
|
attr_accessor :stop_position
|
@@ -6096,9 +6312,34 @@ module Google
|
|
6096
6312
|
end
|
6097
6313
|
end
|
6098
6314
|
|
6099
|
-
#
|
6100
|
-
|
6101
|
-
|
6315
|
+
# Information about a worker
|
6316
|
+
class WorkerDetails
|
6317
|
+
include Google::Apis::Core::Hashable
|
6318
|
+
|
6319
|
+
# Work items processed by this worker, sorted by time.
|
6320
|
+
# Corresponds to the JSON property `workItems`
|
6321
|
+
# @return [Array<Google::Apis::DataflowV1b3::WorkItemDetails>]
|
6322
|
+
attr_accessor :work_items
|
6323
|
+
|
6324
|
+
# Name of this worker
|
6325
|
+
# Corresponds to the JSON property `workerName`
|
6326
|
+
# @return [String]
|
6327
|
+
attr_accessor :worker_name
|
6328
|
+
|
6329
|
+
def initialize(**args)
|
6330
|
+
update!(**args)
|
6331
|
+
end
|
6332
|
+
|
6333
|
+
# Update properties of this object
|
6334
|
+
def update!(**args)
|
6335
|
+
@work_items = args[:work_items] if args.key?(:work_items)
|
6336
|
+
@worker_name = args[:worker_name] if args.key?(:worker_name)
|
6337
|
+
end
|
6338
|
+
end
|
6339
|
+
|
6340
|
+
# WorkerHealthReport contains information about the health of a worker. The VM
|
6341
|
+
# should be identified by the labels attached to the WorkerMessage that this
|
6342
|
+
# health ping belongs to.
|
6102
6343
|
class WorkerHealthReport
|
6103
6344
|
include Google::Apis::Core::Hashable
|
6104
6345
|
|
@@ -6107,24 +6348,22 @@ module Google
|
|
6107
6348
|
# @return [String]
|
6108
6349
|
attr_accessor :msg
|
6109
6350
|
|
6110
|
-
# The pods running on the worker. See:
|
6111
|
-
#
|
6112
|
-
#
|
6113
|
-
# containers running on each worker.
|
6351
|
+
# The pods running on the worker. See: http://kubernetes.io/v1.1/docs/api-
|
6352
|
+
# reference/v1/definitions.html#_v1_pod This field is used by the worker to send
|
6353
|
+
# the status of the indvidual containers running on each worker.
|
6114
6354
|
# Corresponds to the JSON property `pods`
|
6115
6355
|
# @return [Array<Hash<String,Object>>]
|
6116
6356
|
attr_accessor :pods
|
6117
6357
|
|
6118
|
-
# The interval at which the worker is sending health reports.
|
6119
|
-
#
|
6120
|
-
#
|
6358
|
+
# The interval at which the worker is sending health reports. The default value
|
6359
|
+
# of 0 should be interpreted as the field is not being explicitly set by the
|
6360
|
+
# worker.
|
6121
6361
|
# Corresponds to the JSON property `reportInterval`
|
6122
6362
|
# @return [String]
|
6123
6363
|
attr_accessor :report_interval
|
6124
6364
|
|
6125
|
-
# Whether the VM is in a permanently broken state.
|
6126
|
-
#
|
6127
|
-
# completing any work.
|
6365
|
+
# Whether the VM is in a permanently broken state. Broken VMs should be
|
6366
|
+
# abandoned or deleted ASAP to avoid assigning or completing any work.
|
6128
6367
|
# Corresponds to the JSON property `vmIsBroken`
|
6129
6368
|
# @return [Boolean]
|
6130
6369
|
attr_accessor :vm_is_broken
|
@@ -6156,15 +6395,14 @@ module Google
|
|
6156
6395
|
end
|
6157
6396
|
end
|
6158
6397
|
|
6159
|
-
# WorkerHealthReportResponse contains information returned to the worker
|
6160
|
-
#
|
6398
|
+
# WorkerHealthReportResponse contains information returned to the worker in
|
6399
|
+
# response to a health ping.
|
6161
6400
|
class WorkerHealthReportResponse
|
6162
6401
|
include Google::Apis::Core::Hashable
|
6163
6402
|
|
6164
|
-
# A positive value indicates the worker should change its reporting interval
|
6165
|
-
#
|
6166
|
-
#
|
6167
|
-
# the server.
|
6403
|
+
# A positive value indicates the worker should change its reporting interval to
|
6404
|
+
# the specified value. The default value of zero means no change in report rate
|
6405
|
+
# is requested by the server.
|
6168
6406
|
# Corresponds to the JSON property `reportInterval`
|
6169
6407
|
# @return [String]
|
6170
6408
|
attr_accessor :report_interval
|
@@ -6179,17 +6417,16 @@ module Google
|
|
6179
6417
|
end
|
6180
6418
|
end
|
6181
6419
|
|
6182
|
-
# A report of an event in a worker's lifecycle.
|
6183
|
-
#
|
6184
|
-
#
|
6185
|
-
#
|
6186
|
-
# is
|
6187
|
-
# The timestamp of the event is in the enclosing WorkerMessage proto.
|
6420
|
+
# A report of an event in a worker's lifecycle. The proto contains one event,
|
6421
|
+
# because the worker is expected to asynchronously send each message immediately
|
6422
|
+
# after the event. Due to this asynchrony, messages may arrive out of order (or
|
6423
|
+
# missing), and it is up to the consumer to interpret. The timestamp of the
|
6424
|
+
# event is in the enclosing WorkerMessage proto.
|
6188
6425
|
class WorkerLifecycleEvent
|
6189
6426
|
include Google::Apis::Core::Hashable
|
6190
6427
|
|
6191
|
-
# The start time of this container. All events will report this so that
|
6192
|
-
#
|
6428
|
+
# The start time of this container. All events will report this so that events
|
6429
|
+
# can be grouped together across container/VM restarts.
|
6193
6430
|
# Corresponds to the JSON property `containerStartTime`
|
6194
6431
|
# @return [String]
|
6195
6432
|
attr_accessor :container_start_time
|
@@ -6199,8 +6436,7 @@ module Google
|
|
6199
6436
|
# @return [String]
|
6200
6437
|
attr_accessor :event
|
6201
6438
|
|
6202
|
-
# Other stats that can accompany an event. E.g.
|
6203
|
-
# ` "downloaded_bytes" : "123456" `
|
6439
|
+
# Other stats that can accompany an event. E.g. ` "downloaded_bytes" : "123456" `
|
6204
6440
|
# Corresponds to the JSON property `metadata`
|
6205
6441
|
# @return [Hash<String,String>]
|
6206
6442
|
attr_accessor :metadata
|
@@ -6221,16 +6457,12 @@ module Google
|
|
6221
6457
|
class WorkerMessage
|
6222
6458
|
include Google::Apis::Core::Hashable
|
6223
6459
|
|
6224
|
-
# Labels are used to group WorkerMessages.
|
6225
|
-
#
|
6226
|
-
#
|
6227
|
-
# `
|
6228
|
-
#
|
6229
|
-
#
|
6230
|
-
# "CONTAINER_ID": "ac1234def"`
|
6231
|
-
# Label tags typically correspond to Label enum values. However, for ease
|
6232
|
-
# of development other strings can be used as tags. LABEL_UNSPECIFIED should
|
6233
|
-
# not be used here.
|
6460
|
+
# Labels are used to group WorkerMessages. For example, a worker_message about a
|
6461
|
+
# particular container might have the labels: ` "JOB_ID": "2015-04-22", "
|
6462
|
+
# WORKER_ID": "wordcount-vm-2015…" "CONTAINER_TYPE": "worker", "CONTAINER_ID": "
|
6463
|
+
# ac1234def"` Label tags typically correspond to Label enum values. However, for
|
6464
|
+
# ease of development other strings can be used as tags. LABEL_UNSPECIFIED
|
6465
|
+
# should not be used here.
|
6234
6466
|
# Corresponds to the JSON property `labels`
|
6235
6467
|
# @return [Hash<String,String>]
|
6236
6468
|
attr_accessor :labels
|
@@ -6240,45 +6472,40 @@ module Google
|
|
6240
6472
|
# @return [String]
|
6241
6473
|
attr_accessor :time
|
6242
6474
|
|
6243
|
-
# WorkerHealthReport contains information about the health of a worker.
|
6244
|
-
#
|
6245
|
-
#
|
6475
|
+
# WorkerHealthReport contains information about the health of a worker. The VM
|
6476
|
+
# should be identified by the labels attached to the WorkerMessage that this
|
6477
|
+
# health ping belongs to.
|
6246
6478
|
# Corresponds to the JSON property `workerHealthReport`
|
6247
6479
|
# @return [Google::Apis::DataflowV1b3::WorkerHealthReport]
|
6248
6480
|
attr_accessor :worker_health_report
|
6249
6481
|
|
6250
|
-
# A report of an event in a worker's lifecycle.
|
6251
|
-
#
|
6252
|
-
#
|
6253
|
-
#
|
6254
|
-
# is
|
6255
|
-
# The timestamp of the event is in the enclosing WorkerMessage proto.
|
6482
|
+
# A report of an event in a worker's lifecycle. The proto contains one event,
|
6483
|
+
# because the worker is expected to asynchronously send each message immediately
|
6484
|
+
# after the event. Due to this asynchrony, messages may arrive out of order (or
|
6485
|
+
# missing), and it is up to the consumer to interpret. The timestamp of the
|
6486
|
+
# event is in the enclosing WorkerMessage proto.
|
6256
6487
|
# Corresponds to the JSON property `workerLifecycleEvent`
|
6257
6488
|
# @return [Google::Apis::DataflowV1b3::WorkerLifecycleEvent]
|
6258
6489
|
attr_accessor :worker_lifecycle_event
|
6259
6490
|
|
6260
|
-
# A message code is used to report status and error messages to the service.
|
6261
|
-
#
|
6262
|
-
#
|
6263
|
-
#
|
6264
|
-
#
|
6265
|
-
# 1. Worker processes reporting successful startup.
|
6266
|
-
# 2. Worker processes reporting specific errors (e.g. package staging
|
6267
|
-
# failure).
|
6491
|
+
# A message code is used to report status and error messages to the service. The
|
6492
|
+
# message codes are intended to be machine readable. The service will take care
|
6493
|
+
# of translating these into user understandable messages if necessary. Example
|
6494
|
+
# use cases: 1. Worker processes reporting successful startup. 2. Worker
|
6495
|
+
# processes reporting specific errors (e.g. package staging failure).
|
6268
6496
|
# Corresponds to the JSON property `workerMessageCode`
|
6269
6497
|
# @return [Google::Apis::DataflowV1b3::WorkerMessageCode]
|
6270
6498
|
attr_accessor :worker_message_code
|
6271
6499
|
|
6272
6500
|
# Worker metrics exported from workers. This contains resource utilization
|
6273
|
-
# metrics accumulated from a variety of sources. For more information, see
|
6274
|
-
#
|
6501
|
+
# metrics accumulated from a variety of sources. For more information, see go/df-
|
6502
|
+
# resource-signals.
|
6275
6503
|
# Corresponds to the JSON property `workerMetrics`
|
6276
6504
|
# @return [Google::Apis::DataflowV1b3::ResourceUtilizationReport]
|
6277
6505
|
attr_accessor :worker_metrics
|
6278
6506
|
|
6279
|
-
# Shutdown notification from workers. This is to be sent by the shutdown
|
6280
|
-
#
|
6281
|
-
# shut down.
|
6507
|
+
# Shutdown notification from workers. This is to be sent by the shutdown script
|
6508
|
+
# of the worker VM so that the backend knows that the VM is being shut down.
|
6282
6509
|
# Corresponds to the JSON property `workerShutdownNotice`
|
6283
6510
|
# @return [Google::Apis::DataflowV1b3::WorkerShutdownNotice]
|
6284
6511
|
attr_accessor :worker_shutdown_notice
|
@@ -6299,46 +6526,35 @@ module Google
|
|
6299
6526
|
end
|
6300
6527
|
end
|
6301
6528
|
|
6302
|
-
# A message code is used to report status and error messages to the service.
|
6303
|
-
#
|
6304
|
-
#
|
6305
|
-
#
|
6306
|
-
#
|
6307
|
-
# 1. Worker processes reporting successful startup.
|
6308
|
-
# 2. Worker processes reporting specific errors (e.g. package staging
|
6309
|
-
# failure).
|
6529
|
+
# A message code is used to report status and error messages to the service. The
|
6530
|
+
# message codes are intended to be machine readable. The service will take care
|
6531
|
+
# of translating these into user understandable messages if necessary. Example
|
6532
|
+
# use cases: 1. Worker processes reporting successful startup. 2. Worker
|
6533
|
+
# processes reporting specific errors (e.g. package staging failure).
|
6310
6534
|
class WorkerMessageCode
|
6311
6535
|
include Google::Apis::Core::Hashable
|
6312
6536
|
|
6313
|
-
# The code is a string intended for consumption by a machine that identifies
|
6314
|
-
#
|
6315
|
-
#
|
6316
|
-
#
|
6317
|
-
#
|
6318
|
-
#
|
6319
|
-
# a GCS file as part of the boot process of one of the worker containers.
|
6320
|
-
# This is a string and not an enum to make it easy to add new codes without
|
6321
|
-
# waiting for an API change.
|
6537
|
+
# The code is a string intended for consumption by a machine that identifies the
|
6538
|
+
# type of message being sent. Examples: 1. "HARNESS_STARTED" might be used to
|
6539
|
+
# indicate the worker harness has started. 2. "GCS_DOWNLOAD_ERROR" might be used
|
6540
|
+
# to indicate an error downloading a GCS file as part of the boot process of one
|
6541
|
+
# of the worker containers. This is a string and not an enum to make it easy to
|
6542
|
+
# add new codes without waiting for an API change.
|
6322
6543
|
# Corresponds to the JSON property `code`
|
6323
6544
|
# @return [String]
|
6324
6545
|
attr_accessor :code
|
6325
6546
|
|
6326
|
-
# Parameters contains specific information about the code.
|
6327
|
-
#
|
6328
|
-
#
|
6329
|
-
#
|
6330
|
-
#
|
6331
|
-
#
|
6332
|
-
#
|
6333
|
-
#
|
6334
|
-
#
|
6335
|
-
#
|
6336
|
-
#
|
6337
|
-
# Conventions:
|
6338
|
-
# Parameters should only be used for information that isn't typically passed
|
6339
|
-
# as a label.
|
6340
|
-
# hostname and other worker identifiers should almost always be passed
|
6341
|
-
# as labels since they will be included on most messages.
|
6547
|
+
# Parameters contains specific information about the code. This is a struct to
|
6548
|
+
# allow parameters of different types. Examples: 1. For a "HARNESS_STARTED"
|
6549
|
+
# message parameters might provide the name of the worker and additional data
|
6550
|
+
# like timing information. 2. For a "GCS_DOWNLOAD_ERROR" parameters might
|
6551
|
+
# contain fields listing the GCS objects being downloaded and fields containing
|
6552
|
+
# errors. In general complex data structures should be avoided. If a worker
|
6553
|
+
# needs to send a specific and complicated data structure then please consider
|
6554
|
+
# defining a new proto and adding it to the data oneof in WorkerMessageResponse.
|
6555
|
+
# Conventions: Parameters should only be used for information that isn't
|
6556
|
+
# typically passed as a label. hostname and other worker identifiers should
|
6557
|
+
# almost always be passed as labels since they will be included on most messages.
|
6342
6558
|
# Corresponds to the JSON property `parameters`
|
6343
6559
|
# @return [Hash<String,Object>]
|
6344
6560
|
attr_accessor :parameters
|
@@ -6354,13 +6570,12 @@ module Google
|
|
6354
6570
|
end
|
6355
6571
|
end
|
6356
6572
|
|
6357
|
-
# A worker_message response allows the server to pass information to the
|
6358
|
-
# sender.
|
6573
|
+
# A worker_message response allows the server to pass information to the sender.
|
6359
6574
|
class WorkerMessageResponse
|
6360
6575
|
include Google::Apis::Core::Hashable
|
6361
6576
|
|
6362
|
-
# WorkerHealthReportResponse contains information returned to the worker
|
6363
|
-
#
|
6577
|
+
# WorkerHealthReportResponse contains information returned to the worker in
|
6578
|
+
# response to a health ping.
|
6364
6579
|
# Corresponds to the JSON property `workerHealthReportResponse`
|
6365
6580
|
# @return [Google::Apis::DataflowV1b3::WorkerHealthReportResponse]
|
6366
6581
|
attr_accessor :worker_health_report_response
|
@@ -6387,11 +6602,10 @@ module Google
|
|
6387
6602
|
end
|
6388
6603
|
end
|
6389
6604
|
|
6390
|
-
# Describes one particular pool of Cloud Dataflow workers to be
|
6391
|
-
#
|
6392
|
-
#
|
6393
|
-
#
|
6394
|
-
# requirements of the various stages of the job.
|
6605
|
+
# Describes one particular pool of Cloud Dataflow workers to be instantiated by
|
6606
|
+
# the Cloud Dataflow service in order to perform the computations required by a
|
6607
|
+
# job. Note that a workflow job may use multiple pools, in order to match the
|
6608
|
+
# various computational requirements of the various stages of the job.
|
6395
6609
|
class WorkerPool
|
6396
6610
|
include Google::Apis::Core::Hashable
|
6397
6611
|
|
@@ -6405,14 +6619,14 @@ module Google
|
|
6405
6619
|
# @return [Array<Google::Apis::DataflowV1b3::Disk>]
|
6406
6620
|
attr_accessor :data_disks
|
6407
6621
|
|
6408
|
-
# The default package set to install.
|
6409
|
-
#
|
6410
|
-
#
|
6622
|
+
# The default package set to install. This allows the service to select a
|
6623
|
+
# default set of packages which are useful to worker harnesses written in a
|
6624
|
+
# particular language.
|
6411
6625
|
# Corresponds to the JSON property `defaultPackageSet`
|
6412
6626
|
# @return [String]
|
6413
6627
|
attr_accessor :default_package_set
|
6414
6628
|
|
6415
|
-
# Size of root disk for VMs, in GB.
|
6629
|
+
# Size of root disk for VMs, in GB. If zero or unspecified, the service will
|
6416
6630
|
# attempt to choose a reasonable default.
|
6417
6631
|
# Corresponds to the JSON property `diskSizeGb`
|
6418
6632
|
# @return [Fixnum]
|
@@ -6423,8 +6637,8 @@ module Google
|
|
6423
6637
|
# @return [String]
|
6424
6638
|
attr_accessor :disk_source_image
|
6425
6639
|
|
6426
|
-
# Type of root disk for VMs.
|
6427
|
-
#
|
6640
|
+
# Type of root disk for VMs. If empty or unspecified, the service will attempt
|
6641
|
+
# to choose a reasonable default.
|
6428
6642
|
# Corresponds to the JSON property `diskType`
|
6429
6643
|
# @return [String]
|
6430
6644
|
attr_accessor :disk_type
|
@@ -6434,14 +6648,14 @@ module Google
|
|
6434
6648
|
# @return [String]
|
6435
6649
|
attr_accessor :ip_configuration
|
6436
6650
|
|
6437
|
-
# The kind of the worker pool; currently only `harness` and `shuffle`
|
6438
|
-
#
|
6651
|
+
# The kind of the worker pool; currently only `harness` and `shuffle` are
|
6652
|
+
# supported.
|
6439
6653
|
# Corresponds to the JSON property `kind`
|
6440
6654
|
# @return [String]
|
6441
6655
|
attr_accessor :kind
|
6442
6656
|
|
6443
|
-
# Machine type (e.g. "n1-standard-1").
|
6444
|
-
#
|
6657
|
+
# Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will
|
6658
|
+
# attempt to choose a reasonable default.
|
6445
6659
|
# Corresponds to the JSON property `machineType`
|
6446
6660
|
# @return [String]
|
6447
6661
|
attr_accessor :machine_type
|
@@ -6451,28 +6665,28 @@ module Google
|
|
6451
6665
|
# @return [Hash<String,String>]
|
6452
6666
|
attr_accessor :metadata
|
6453
6667
|
|
6454
|
-
# Network to which VMs will be assigned.
|
6455
|
-
#
|
6668
|
+
# Network to which VMs will be assigned. If empty or unspecified, the service
|
6669
|
+
# will use the network "default".
|
6456
6670
|
# Corresponds to the JSON property `network`
|
6457
6671
|
# @return [String]
|
6458
6672
|
attr_accessor :network
|
6459
6673
|
|
6460
|
-
# The number of threads per worker harness. If empty or unspecified, the
|
6461
|
-
#
|
6462
|
-
#
|
6674
|
+
# The number of threads per worker harness. If empty or unspecified, the service
|
6675
|
+
# will choose a number of threads (according to the number of cores on the
|
6676
|
+
# selected machine type for batch, or 1 by convention for streaming).
|
6463
6677
|
# Corresponds to the JSON property `numThreadsPerWorker`
|
6464
6678
|
# @return [Fixnum]
|
6465
6679
|
attr_accessor :num_threads_per_worker
|
6466
6680
|
|
6467
|
-
# Number of Google Compute Engine workers in this pool needed to
|
6468
|
-
#
|
6469
|
-
#
|
6681
|
+
# Number of Google Compute Engine workers in this pool needed to execute the job.
|
6682
|
+
# If zero or unspecified, the service will attempt to choose a reasonable
|
6683
|
+
# default.
|
6470
6684
|
# Corresponds to the JSON property `numWorkers`
|
6471
6685
|
# @return [Fixnum]
|
6472
6686
|
attr_accessor :num_workers
|
6473
6687
|
|
6474
|
-
# The action to take on host maintenance, as defined by the Google
|
6475
|
-
#
|
6688
|
+
# The action to take on host maintenance, as defined by the Google Compute
|
6689
|
+
# Engine API.
|
6476
6690
|
# Corresponds to the JSON property `onHostMaintenance`
|
6477
6691
|
# @return [String]
|
6478
6692
|
attr_accessor :on_host_maintenance
|
@@ -6487,16 +6701,15 @@ module Google
|
|
6487
6701
|
# @return [Hash<String,Object>]
|
6488
6702
|
attr_accessor :pool_args
|
6489
6703
|
|
6490
|
-
# Set of SDK harness containers needed to execute this pipeline. This will
|
6491
|
-
#
|
6492
|
-
#
|
6493
|
-
# entries.
|
6704
|
+
# Set of SDK harness containers needed to execute this pipeline. This will only
|
6705
|
+
# be set in the Fn API path. For non-cross-language pipelines this should have
|
6706
|
+
# only one entry. Cross-language pipelines will have two or more entries.
|
6494
6707
|
# Corresponds to the JSON property `sdkHarnessContainerImages`
|
6495
6708
|
# @return [Array<Google::Apis::DataflowV1b3::SdkHarnessContainerImage>]
|
6496
6709
|
attr_accessor :sdk_harness_container_images
|
6497
6710
|
|
6498
|
-
# Subnetwork to which VMs will be assigned, if desired.
|
6499
|
-
#
|
6711
|
+
# Subnetwork to which VMs will be assigned, if desired. Expected to be of the
|
6712
|
+
# form "regions/REGION/subnetworks/SUBNETWORK".
|
6500
6713
|
# Corresponds to the JSON property `subnetwork`
|
6501
6714
|
# @return [String]
|
6502
6715
|
attr_accessor :subnetwork
|
@@ -6506,18 +6719,15 @@ module Google
|
|
6506
6719
|
# @return [Google::Apis::DataflowV1b3::TaskRunnerSettings]
|
6507
6720
|
attr_accessor :taskrunner_settings
|
6508
6721
|
|
6509
|
-
# Sets the policy for determining when to turndown worker pool.
|
6510
|
-
#
|
6511
|
-
# `
|
6512
|
-
# `
|
6513
|
-
#
|
6514
|
-
#
|
6515
|
-
#
|
6516
|
-
#
|
6517
|
-
#
|
6518
|
-
# user's project until they are explicitly terminated by the user.
|
6519
|
-
# Because of this, Google recommends using the `TEARDOWN_ALWAYS`
|
6520
|
-
# policy except for small, manually supervised test jobs.
|
6722
|
+
# Sets the policy for determining when to turndown worker pool. Allowed values
|
6723
|
+
# are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `
|
6724
|
+
# TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the
|
6725
|
+
# job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job
|
6726
|
+
# succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the
|
6727
|
+
# workers are not torn down by the service, they will continue to run and use
|
6728
|
+
# Google Compute Engine VM resources in the user's project until they are
|
6729
|
+
# explicitly terminated by the user. Because of this, Google recommends using
|
6730
|
+
# the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs.
|
6521
6731
|
# If unknown or unspecified, the service will attempt to choose a reasonable
|
6522
6732
|
# default.
|
6523
6733
|
# Corresponds to the JSON property `teardownPolicy`
|
@@ -6525,14 +6735,14 @@ module Google
|
|
6525
6735
|
attr_accessor :teardown_policy
|
6526
6736
|
|
6527
6737
|
# Required. Docker container image that executes the Cloud Dataflow worker
|
6528
|
-
# harness, residing in Google Container Registry.
|
6529
|
-
#
|
6738
|
+
# harness, residing in Google Container Registry. Deprecated for the Fn API path.
|
6739
|
+
# Use sdk_harness_container_images instead.
|
6530
6740
|
# Corresponds to the JSON property `workerHarnessContainerImage`
|
6531
6741
|
# @return [String]
|
6532
6742
|
attr_accessor :worker_harness_container_image
|
6533
6743
|
|
6534
|
-
# Zone to run the worker pools in.
|
6535
|
-
#
|
6744
|
+
# Zone to run the worker pools in. If empty or unspecified, the service will
|
6745
|
+
# attempt to choose a reasonable default.
|
6536
6746
|
# Corresponds to the JSON property `zone`
|
6537
6747
|
# @return [String]
|
6538
6748
|
attr_accessor :zone
|
@@ -6572,12 +6782,10 @@ module Google
|
|
6572
6782
|
class WorkerSettings
|
6573
6783
|
include Google::Apis::Core::Hashable
|
6574
6784
|
|
6575
|
-
# The base URL for accessing Google Cloud APIs.
|
6576
|
-
#
|
6577
|
-
#
|
6578
|
-
#
|
6579
|
-
# algorithm used is defined by RFC 1808, "Relative Uniform Resource
|
6580
|
-
# Locators".
|
6785
|
+
# The base URL for accessing Google Cloud APIs. When workers access Google Cloud
|
6786
|
+
# APIs, they logically do so via relative URLs. If this field is specified, it
|
6787
|
+
# supplies the base URL to use for resolving these relative URLs. The normative
|
6788
|
+
# algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators".
|
6581
6789
|
# If not specified, the default value is "http://www.googleapis.com/"
|
6582
6790
|
# Corresponds to the JSON property `baseUrl`
|
6583
6791
|
# @return [String]
|
@@ -6589,24 +6797,21 @@ module Google
|
|
6589
6797
|
attr_accessor :reporting_enabled
|
6590
6798
|
alias_method :reporting_enabled?, :reporting_enabled
|
6591
6799
|
|
6592
|
-
# The Cloud Dataflow service path relative to the root URL, for example,
|
6593
|
-
#
|
6800
|
+
# The Cloud Dataflow service path relative to the root URL, for example, "
|
6801
|
+
# dataflow/v1b3/projects".
|
6594
6802
|
# Corresponds to the JSON property `servicePath`
|
6595
6803
|
# @return [String]
|
6596
6804
|
attr_accessor :service_path
|
6597
6805
|
|
6598
|
-
# The Shuffle service path relative to the root URL, for example,
|
6599
|
-
#
|
6806
|
+
# The Shuffle service path relative to the root URL, for example, "shuffle/
|
6807
|
+
# v1beta1".
|
6600
6808
|
# Corresponds to the JSON property `shuffleServicePath`
|
6601
6809
|
# @return [String]
|
6602
6810
|
attr_accessor :shuffle_service_path
|
6603
6811
|
|
6604
|
-
# The prefix of the resources the system should use for temporary
|
6605
|
-
# storage.
|
6606
|
-
#
|
6607
|
-
# Google Cloud Storage:
|
6608
|
-
# storage.googleapis.com/`bucket`/`object`
|
6609
|
-
# bucket.storage.googleapis.com/`object`
|
6812
|
+
# The prefix of the resources the system should use for temporary storage. The
|
6813
|
+
# supported resource type is: Google Cloud Storage: storage.googleapis.com/`
|
6814
|
+
# bucket`/`object` bucket.storage.googleapis.com/`object`
|
6610
6815
|
# Corresponds to the JSON property `tempStoragePrefix`
|
6611
6816
|
# @return [String]
|
6612
6817
|
attr_accessor :temp_storage_prefix
|
@@ -6631,17 +6836,14 @@ module Google
|
|
6631
6836
|
end
|
6632
6837
|
end
|
6633
6838
|
|
6634
|
-
# Shutdown notification from workers. This is to be sent by the shutdown
|
6635
|
-
#
|
6636
|
-
# shut down.
|
6839
|
+
# Shutdown notification from workers. This is to be sent by the shutdown script
|
6840
|
+
# of the worker VM so that the backend knows that the VM is being shut down.
|
6637
6841
|
class WorkerShutdownNotice
|
6638
6842
|
include Google::Apis::Core::Hashable
|
6639
6843
|
|
6640
|
-
# The reason for the worker shutdown.
|
6641
|
-
#
|
6642
|
-
#
|
6643
|
-
# "PREEMPTION": shutdown reason is preemption.
|
6644
|
-
# Other possible reasons may be added in the future.
|
6844
|
+
# The reason for the worker shutdown. Current possible values are: "UNKNOWN":
|
6845
|
+
# shutdown reason is unknown. "PREEMPTION": shutdown reason is preemption. Other
|
6846
|
+
# possible reasons may be added in the future.
|
6645
6847
|
# Corresponds to the JSON property `reason`
|
6646
6848
|
# @return [String]
|
6647
6849
|
attr_accessor :reason
|
@@ -6669,13 +6871,12 @@ module Google
|
|
6669
6871
|
end
|
6670
6872
|
end
|
6671
6873
|
|
6672
|
-
# An instruction that writes records.
|
6673
|
-
# Takes one input, produces no outputs.
|
6874
|
+
# An instruction that writes records. Takes one input, produces no outputs.
|
6674
6875
|
class WriteInstruction
|
6675
6876
|
include Google::Apis::Core::Hashable
|
6676
6877
|
|
6677
|
-
# An input of an instruction, as a reference to an output of a
|
6678
|
-
#
|
6878
|
+
# An input of an instruction, as a reference to an output of a producer
|
6879
|
+
# instruction.
|
6679
6880
|
# Corresponds to the JSON property `input`
|
6680
6881
|
# @return [Google::Apis::DataflowV1b3::InstructionInput]
|
6681
6882
|
attr_accessor :input
|