google-api-client 0.19.8 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +7 -4
- data/CHANGELOG.md +106 -0
- data/MIGRATING.md +3 -3
- data/README.md +6 -9
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -7
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -8
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +84 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +11 -10
- data/generated/google/apis/admin_directory_v1/service.rb +21 -7
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +52 -35
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +33 -20
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +44 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +66 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +10 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +37 -72
- data/generated/google/apis/androidpublisher_v2/representations.rb +5 -34
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -52
- data/generated/google/apis/appengine_v1.rb +2 -2
- data/generated/google/apis/appengine_v1/classes.rb +82 -7
- data/generated/google/apis/appengine_v1/representations.rb +32 -0
- data/generated/google/apis/appengine_v1/service.rb +2 -2
- data/generated/google/apis/appengine_v1alpha.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/classes.rb +35 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +16 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +2 -2
- data/generated/google/apis/appengine_v1beta.rb +2 -2
- data/generated/google/apis/appengine_v1beta/classes.rb +51 -7
- data/generated/google/apis/appengine_v1beta/representations.rb +17 -0
- data/generated/google/apis/appengine_v1beta/service.rb +2 -2
- data/generated/google/apis/appengine_v1beta4.rb +2 -2
- data/generated/google/apis/appengine_v1beta4/classes.rb +50 -6
- data/generated/google/apis/appengine_v1beta4/representations.rb +17 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +2 -2
- data/generated/google/apis/appengine_v1beta5.rb +2 -2
- data/generated/google/apis/appengine_v1beta5/classes.rb +50 -6
- data/generated/google/apis/appengine_v1beta5/representations.rb +17 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +2 -2
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +19 -11
- data/generated/google/apis/bigquery_v2/representations.rb +4 -3
- data/generated/google/apis/bigquery_v2/service.rb +9 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +9 -6
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +3 -1
- data/generated/google/apis/{firebaseremoteconfig_v1.rb → chat_v1.rb} +8 -9
- data/generated/google/apis/chat_v1/classes.rb +890 -0
- data/generated/google/apis/chat_v1/representations.rb +445 -0
- data/generated/google/apis/chat_v1/service.rb +344 -0
- data/generated/google/apis/cloudbilling_v1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +341 -5
- data/generated/google/apis/cloudbilling_v1/representations.rb +103 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +217 -10
- data/generated/google/apis/cloudbuild_v1.rb +2 -2
- data/generated/google/apis/cloudbuild_v1/classes.rb +180 -84
- data/generated/google/apis/cloudbuild_v1/representations.rb +35 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
- data/generated/google/apis/cloudiot_v1.rb +2 -2
- data/generated/google/apis/cloudiot_v1/classes.rb +13 -142
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -32
- data/generated/google/apis/cloudiot_v1/service.rb +2 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -1
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -6
- data/generated/google/apis/{clouduseraccounts_beta.rb → cloudresourcemanager_v2.rb} +10 -16
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +821 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +534 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +216 -120
- data/generated/google/apis/compute_alpha/representations.rb +25 -1
- data/generated/google/apis/compute_alpha/service.rb +1354 -1621
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +548 -85
- data/generated/google/apis/compute_beta/representations.rb +159 -0
- data/generated/google/apis/compute_beta/service.rb +1971 -1460
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +206 -70
- data/generated/google/apis/compute_v1/representations.rb +32 -0
- data/generated/google/apis/compute_v1/service.rb +1184 -1278
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +742 -9
- data/generated/google/apis/container_v1/representations.rb +90 -0
- data/generated/google/apis/container_v1/service.rb +1380 -100
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +191 -138
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +236 -231
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2690 -1540
- data/generated/google/apis/content_v2/representations.rb +491 -0
- data/generated/google/apis/content_v2/service.rb +684 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +2 -1
- data/generated/google/apis/dataflow_v1b3.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +95 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +36 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +56 -45
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +30 -3
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +77 -53
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +484 -18
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +372 -0
- data/generated/google/apis/datastore_v1/representations.rb +132 -0
- data/generated/google/apis/datastore_v1/service.rb +77 -0
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +255 -0
- data/generated/google/apis/datastore_v1beta1/representations.rb +100 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +100 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +6 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +121 -145
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +79 -91
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +121 -145
- data/generated/google/apis/dialogflow_v2.rb +35 -0
- data/generated/google/apis/dialogflow_v2/classes.rb +3994 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +1670 -0
- data/generated/google/apis/dialogflow_v2/service.rb +1397 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +39 -11
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +559 -16
- data/generated/google/apis/dlp_v2.rb +36 -0
- data/generated/google/apis/dlp_v2/classes.rb +6431 -0
- data/generated/google/apis/dlp_v2/representations.rb +3116 -0
- data/generated/google/apis/dlp_v2/service.rb +1300 -0
- data/generated/google/apis/dlp_v2beta1.rb +4 -4
- data/generated/google/apis/dlp_v2beta1/classes.rb +38 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +3 -3
- data/generated/google/apis/dlp_v2beta2.rb +4 -4
- data/generated/google/apis/dlp_v2beta2/classes.rb +229 -1
- data/generated/google/apis/dlp_v2beta2/representations.rb +91 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +3 -3
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +496 -0
- data/generated/google/apis/dns_v1/representations.rb +188 -0
- data/generated/google/apis/dns_v1/service.rb +319 -6
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +0 -19
- data/generated/google/apis/dns_v1beta2/representations.rb +0 -14
- data/generated/google/apis/dns_v1beta2/service.rb +2 -4
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +6 -19
- data/generated/google/apis/dns_v2beta1/representations.rb +1 -14
- data/generated/google/apis/dns_v2beta1/service.rb +2 -4
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +271 -1
- data/generated/google/apis/genomics_v1/representations.rb +140 -0
- data/generated/google/apis/genomics_v1/service.rb +9 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +271 -1
- data/generated/google/apis/genomics_v1alpha2/representations.rb +140 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +9 -1
- data/generated/google/apis/genomics_v2alpha1.rb +37 -0
- data/generated/google/apis/genomics_v2alpha1/classes.rb +1306 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +535 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +261 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +2 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +1 -1
- data/generated/google/apis/language_v1.rb +2 -2
- data/generated/google/apis/language_v1/classes.rb +2 -1
- data/generated/google/apis/language_v1/service.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +2 -2
- data/generated/google/apis/language_v1beta1/service.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +2 -2
- data/generated/google/apis/language_v1beta2/classes.rb +2 -1
- data/generated/google/apis/language_v1beta2/service.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +14 -11
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/ml_v1/classes.rb +180 -5
- data/generated/google/apis/ml_v1/representations.rb +49 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +797 -2
- data/generated/google/apis/monitoring_v3/representations.rb +279 -0
- data/generated/google/apis/monitoring_v3/service.rb +612 -0
- data/generated/google/apis/oslogin_v1.rb +2 -2
- data/generated/google/apis/oslogin_v1/service.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +2 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +32 -0
- data/generated/google/apis/pagespeedonline_v4/classes.rb +795 -0
- data/generated/google/apis/pagespeedonline_v4/representations.rb +335 -0
- data/generated/google/apis/pagespeedonline_v4/service.rb +129 -0
- data/generated/google/apis/people_v1.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +5 -2
- data/generated/google/apis/people_v1/service.rb +9 -7
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +153 -0
- data/generated/google/apis/poly_v1/representations.rb +67 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +2 -2
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +3 -0
- data/generated/google/apis/pubsub_v1/service.rb +7 -0
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +21 -126
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -30
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -13
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +9 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +44 -157
- data/generated/google/apis/servicemanagement_v1/representations.rb +2 -48
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -0
- data/generated/google/apis/{serviceusage_v1.rb → serviceusage_v1beta1.rb} +6 -6
- data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/classes.rb +290 -325
- data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/representations.rb +105 -163
- data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/service.rb +105 -163
- data/generated/google/apis/serviceuser_v1.rb +2 -2
- data/generated/google/apis/serviceuser_v1/classes.rb +44 -101
- data/generated/google/apis/serviceuser_v1/representations.rb +2 -30
- data/generated/google/apis/serviceuser_v1/service.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +643 -10
- data/generated/google/apis/sheets_v4/representations.rb +53 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +92 -9
- data/generated/google/apis/slides_v1/representations.rb +21 -0
- data/generated/google/apis/slides_v1/service.rb +3 -2
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +4 -73
- data/generated/google/apis/sourcerepo_v1/representations.rb +0 -20
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +238 -2
- data/generated/google/apis/spanner_v1/representations.rb +86 -0
- data/generated/google/apis/spanner_v1/service.rb +80 -0
- data/generated/google/apis/speech_v1.rb +2 -2
- data/generated/google/apis/speech_v1/classes.rb +14 -19
- data/generated/google/apis/speech_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/service.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -6
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +3 -6
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +107 -2
- data/generated/google/apis/testing_v1/representations.rb +38 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +34 -0
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +278 -0
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +133 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +128 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +30 -16
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +30 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +73 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +29 -3
- data/generated/google/apis/vault_v1/representations.rb +15 -0
- data/generated/google/apis/vault_v1/service.rb +8 -2
- data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +650 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +315 -0
- data/generated/google/apis/vision_v1.rb +2 -2
- data/generated/google/apis/vision_v1/classes.rb +290 -2
- data/generated/google/apis/vision_v1/representations.rb +128 -0
- data/generated/google/apis/vision_v1/service.rb +187 -1
- data/generated/google/apis/vision_v1p1beta1.rb +2 -2
- data/generated/google/apis/vision_v1p1beta1/classes.rb +136 -2
- data/generated/google/apis/vision_v1p1beta1/representations.rb +71 -0
- data/generated/google/apis/vision_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +39 -0
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2172 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +895 -0
- data/generated/google/apis/vision_v1p2beta1/service.rb +126 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +12 -0
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/version.rb +3 -3
- data/samples/web/Gemfile +3 -0
- metadata +38 -26
- data/generated/google/apis/clouduseraccounts_alpha.rb +0 -44
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +0 -1188
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +0 -494
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +0 -1152
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +0 -845
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +0 -352
- data/generated/google/apis/clouduseraccounts_beta/service.rb +0 -908
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +0 -44
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +0 -1188
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +0 -494
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +0 -1152
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +0 -44
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +0 -845
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +0 -352
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +0 -908
- data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +0 -200
- data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +0 -89
- data/generated/google/apis/firebaseremoteconfig_v1/service.rb +0 -153
|
@@ -641,6 +641,7 @@ module Google
|
|
|
641
641
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
642
642
|
property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
|
|
643
643
|
|
|
644
|
+
property :request_id, as: 'requestId'
|
|
644
645
|
end
|
|
645
646
|
end
|
|
646
647
|
|
|
@@ -54,6 +54,14 @@ module Google
|
|
|
54
54
|
# @param [String] region
|
|
55
55
|
# Required. The Cloud Dataproc region in which to handle the request.
|
|
56
56
|
# @param [Google::Apis::DataprocV1::Cluster] cluster_object
|
|
57
|
+
# @param [String] request_id
|
|
58
|
+
# Optional. A unique id used to identify the request. If the server receives two
|
|
59
|
+
# CreateClusterRequest requests with the same id, then the second request will
|
|
60
|
+
# be ignored and the first google.longrunning.Operation created and stored in
|
|
61
|
+
# the backend is returned.It is recommended to always set this value to a UUID (
|
|
62
|
+
# https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
|
|
63
|
+
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
|
64
|
+
# ). The maximum length is 40 characters.
|
|
57
65
|
# @param [String] fields
|
|
58
66
|
# Selector specifying which fields to include in a partial response.
|
|
59
67
|
# @param [String] quota_user
|
|
@@ -71,7 +79,7 @@ module Google
|
|
|
71
79
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
72
80
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
73
81
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
74
|
-
def create_cluster(project_id, region, cluster_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
82
|
+
def create_cluster(project_id, region, cluster_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
75
83
|
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters', options)
|
|
76
84
|
command.request_representation = Google::Apis::DataprocV1::Cluster::Representation
|
|
77
85
|
command.request_object = cluster_object
|
|
@@ -79,6 +87,7 @@ module Google
|
|
|
79
87
|
command.response_class = Google::Apis::DataprocV1::Operation
|
|
80
88
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
81
89
|
command.params['region'] = region unless region.nil?
|
|
90
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
82
91
|
command.query['fields'] = fields unless fields.nil?
|
|
83
92
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
84
93
|
execute_or_queue_command(command, &block)
|
|
@@ -95,6 +104,14 @@ module Google
|
|
|
95
104
|
# @param [String] cluster_uuid
|
|
96
105
|
# Optional. Specifying the cluster_uuid means the RPC should fail (with error
|
|
97
106
|
# NOT_FOUND) if cluster with specified UUID does not exist.
|
|
107
|
+
# @param [String] request_id
|
|
108
|
+
# Optional. A unique id used to identify the request. If the server receives two
|
|
109
|
+
# DeleteClusterRequest requests with the same id, then the second request will
|
|
110
|
+
# be ignored and the first google.longrunning.Operation created and stored in
|
|
111
|
+
# the backend is returned.It is recommended to always set this value to a UUID (
|
|
112
|
+
# https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
|
|
113
|
+
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
|
114
|
+
# ). The maximum length is 40 characters.
|
|
98
115
|
# @param [String] fields
|
|
99
116
|
# Selector specifying which fields to include in a partial response.
|
|
100
117
|
# @param [String] quota_user
|
|
@@ -112,7 +129,7 @@ module Google
|
|
|
112
129
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
113
130
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
114
131
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
115
|
-
def delete_cluster(project_id, region, cluster_name, cluster_uuid: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
132
|
+
def delete_cluster(project_id, region, cluster_name, cluster_uuid: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
116
133
|
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
|
117
134
|
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
|
118
135
|
command.response_class = Google::Apis::DataprocV1::Operation
|
|
@@ -120,6 +137,7 @@ module Google
|
|
|
120
137
|
command.params['region'] = region unless region.nil?
|
|
121
138
|
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
|
122
139
|
command.query['clusterUuid'] = cluster_uuid unless cluster_uuid.nil?
|
|
140
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
123
141
|
command.query['fields'] = fields unless fields.nil?
|
|
124
142
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
125
143
|
execute_or_queue_command(command, &block)
|
|
@@ -271,6 +289,14 @@ module Google
|
|
|
271
289
|
# forcefully removing nodes (and potentially interrupting jobs). Default timeout
|
|
272
290
|
# is 0 (for forceful decommission), and the maximum allowed timeout is 1 day.
|
|
273
291
|
# Only supported on Dataproc image versions 1.2 and higher.
|
|
292
|
+
# @param [String] request_id
|
|
293
|
+
# Optional. A unique id used to identify the request. If the server receives two
|
|
294
|
+
# UpdateClusterRequest requests with the same id, then the second request will
|
|
295
|
+
# be ignored and the first google.longrunning.Operation created and stored in
|
|
296
|
+
# the backend is returned.It is recommended to always set this value to a UUID (
|
|
297
|
+
# https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
|
|
298
|
+
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
|
299
|
+
# ). The maximum length is 40 characters.
|
|
274
300
|
# @param [String] update_mask
|
|
275
301
|
# Required. Specifies the path, relative to Cluster, of the field to update. For
|
|
276
302
|
# example, to change the number of workers in a cluster to 5, the update_mask
|
|
@@ -317,7 +343,7 @@ module Google
|
|
|
317
343
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
318
344
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
319
345
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
320
|
-
def patch_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
346
|
+
def patch_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
321
347
|
command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
|
322
348
|
command.request_representation = Google::Apis::DataprocV1::Cluster::Representation
|
|
323
349
|
command.request_object = cluster_object
|
|
@@ -327,6 +353,7 @@ module Google
|
|
|
327
353
|
command.params['region'] = region unless region.nil?
|
|
328
354
|
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
|
329
355
|
command.query['gracefulDecommissionTimeout'] = graceful_decommission_timeout unless graceful_decommission_timeout.nil?
|
|
356
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
330
357
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
331
358
|
command.query['fields'] = fields unless fields.nil?
|
|
332
359
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
|
26
26
|
module DataprocV1beta2
|
|
27
27
|
VERSION = 'V1beta2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180320'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -33,11 +33,11 @@ module Google
|
|
|
33
33
|
attr_accessor :accelerator_count
|
|
34
34
|
|
|
35
35
|
# Full URL, partial URI, or short name of the accelerator type resource to
|
|
36
|
-
# expose to this instance. See
|
|
37
|
-
#
|
|
38
|
-
#
|
|
39
|
-
#
|
|
40
|
-
#
|
|
36
|
+
# expose to this instance. See Compute Engine AcceleratorTypes( /compute/docs/
|
|
37
|
+
# reference/beta/acceleratorTypes)Examples * https://www.googleapis.com/compute/
|
|
38
|
+
# beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 *
|
|
39
|
+
# projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 *
|
|
40
|
+
# nvidia-tesla-k80
|
|
41
41
|
# Corresponds to the JSON property `acceleratorTypeUri`
|
|
42
42
|
# @return [String]
|
|
43
43
|
attr_accessor :accelerator_type_uri
|
|
@@ -106,7 +106,7 @@ module Google
|
|
|
106
106
|
end
|
|
107
107
|
|
|
108
108
|
# Describes the identifying information, config, and status of a cluster of
|
|
109
|
-
#
|
|
109
|
+
# Compute Engine instances.
|
|
110
110
|
class Cluster
|
|
111
111
|
include Google::Apis::Core::Hashable
|
|
112
112
|
|
|
@@ -179,8 +179,8 @@ module Google
|
|
|
179
179
|
class ClusterConfig
|
|
180
180
|
include Google::Apis::Core::Hashable
|
|
181
181
|
|
|
182
|
-
# Optional. A
|
|
183
|
-
#
|
|
182
|
+
# Optional. A Cloud Storage staging bucket used for sharing generated SSH keys
|
|
183
|
+
# and config. If you do not specify a staging bucket, Cloud Dataproc will
|
|
184
184
|
# determine an appropriate Cloud Storage location (US, ASIA, or EU) for your
|
|
185
185
|
# cluster's staging bucket according to the Google Compute Engine zone where
|
|
186
186
|
# your cluster is deployed, and then it will create and manage this project-
|
|
@@ -189,8 +189,8 @@ module Google
|
|
|
189
189
|
# @return [String]
|
|
190
190
|
attr_accessor :config_bucket
|
|
191
191
|
|
|
192
|
-
# Common config settings for resources of
|
|
193
|
-
#
|
|
192
|
+
# Common config settings for resources of Compute Engine cluster instances,
|
|
193
|
+
# applicable to all instances in the cluster.
|
|
194
194
|
# Corresponds to the JSON property `gceClusterConfig`
|
|
195
195
|
# @return [Google::Apis::DataprocV1beta2::GceClusterConfig]
|
|
196
196
|
attr_accessor :gce_cluster_config
|
|
@@ -215,14 +215,14 @@ module Google
|
|
|
215
215
|
# @return [Google::Apis::DataprocV1beta2::LifecycleConfig]
|
|
216
216
|
attr_accessor :lifecycle_config
|
|
217
217
|
|
|
218
|
-
# Optional. The config settings for
|
|
219
|
-
#
|
|
218
|
+
# Optional. The config settings for Compute Engine resources in an instance
|
|
219
|
+
# group, such as a master or worker group.
|
|
220
220
|
# Corresponds to the JSON property `masterConfig`
|
|
221
221
|
# @return [Google::Apis::DataprocV1beta2::InstanceGroupConfig]
|
|
222
222
|
attr_accessor :master_config
|
|
223
223
|
|
|
224
|
-
# Optional. The config settings for
|
|
225
|
-
#
|
|
224
|
+
# Optional. The config settings for Compute Engine resources in an instance
|
|
225
|
+
# group, such as a master or worker group.
|
|
226
226
|
# Corresponds to the JSON property `secondaryWorkerConfig`
|
|
227
227
|
# @return [Google::Apis::DataprocV1beta2::InstanceGroupConfig]
|
|
228
228
|
attr_accessor :secondary_worker_config
|
|
@@ -232,8 +232,8 @@ module Google
|
|
|
232
232
|
# @return [Google::Apis::DataprocV1beta2::SoftwareConfig]
|
|
233
233
|
attr_accessor :software_config
|
|
234
234
|
|
|
235
|
-
# Optional. The config settings for
|
|
236
|
-
#
|
|
235
|
+
# Optional. The config settings for Compute Engine resources in an instance
|
|
236
|
+
# group, such as a master or worker group.
|
|
237
237
|
# Corresponds to the JSON property `workerConfig`
|
|
238
238
|
# @return [Google::Apis::DataprocV1beta2::InstanceGroupConfig]
|
|
239
239
|
attr_accessor :worker_config
|
|
@@ -494,8 +494,8 @@ module Google
|
|
|
494
494
|
class DiagnoseClusterResults
|
|
495
495
|
include Google::Apis::Core::Hashable
|
|
496
496
|
|
|
497
|
-
# Output only. The
|
|
498
|
-
#
|
|
497
|
+
# Output only. The Cloud Storage URI of the diagnostic output. The output report
|
|
498
|
+
# is a plain text file with a summary of collected diagnostics.
|
|
499
499
|
# Corresponds to the JSON property `outputUri`
|
|
500
500
|
# @return [String]
|
|
501
501
|
attr_accessor :output_uri
|
|
@@ -566,8 +566,8 @@ module Google
|
|
|
566
566
|
end
|
|
567
567
|
end
|
|
568
568
|
|
|
569
|
-
# Common config settings for resources of
|
|
570
|
-
#
|
|
569
|
+
# Common config settings for resources of Compute Engine cluster instances,
|
|
570
|
+
# applicable to all instances in the cluster.
|
|
571
571
|
class GceClusterConfig
|
|
572
572
|
include Google::Apis::Core::Hashable
|
|
573
573
|
|
|
@@ -582,19 +582,18 @@ module Google
|
|
|
582
582
|
attr_accessor :internal_ip_only
|
|
583
583
|
alias_method :internal_ip_only?, :internal_ip_only
|
|
584
584
|
|
|
585
|
-
# The
|
|
586
|
-
#
|
|
587
|
-
#
|
|
585
|
+
# The Compute Engine metadata entries to add to all instances (see Project and
|
|
586
|
+
# instance metadata (https://cloud.google.com/compute/docs/storing-retrieving-
|
|
587
|
+
# metadata#project_and_instance_metadata)).
|
|
588
588
|
# Corresponds to the JSON property `metadata`
|
|
589
589
|
# @return [Hash<String,String>]
|
|
590
590
|
attr_accessor :metadata
|
|
591
591
|
|
|
592
|
-
# Optional. The
|
|
593
|
-
#
|
|
594
|
-
#
|
|
595
|
-
#
|
|
596
|
-
#
|
|
597
|
-
# valid. Examples:
|
|
592
|
+
# Optional. The Compute Engine network to be used for machine communications.
|
|
593
|
+
# Cannot be specified with subnetwork_uri. If neither network_uri nor
|
|
594
|
+
# subnetwork_uri is specified, the "default" network of the project is used, if
|
|
595
|
+
# it exists. Cannot be a "Custom Subnet Network" (see Using Subnetworks for more
|
|
596
|
+
# information).A full URL, partial URI, or short name are valid. Examples:
|
|
598
597
|
# https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/
|
|
599
598
|
# default
|
|
600
599
|
# projects/[project_id]/regions/global/default
|
|
@@ -603,7 +602,7 @@ module Google
|
|
|
603
602
|
# @return [String]
|
|
604
603
|
attr_accessor :network_uri
|
|
605
604
|
|
|
606
|
-
# Optional. The service account of the instances. Defaults to the default
|
|
605
|
+
# Optional. The service account of the instances. Defaults to the default
|
|
607
606
|
# Compute Engine service account. Custom service accounts need permissions
|
|
608
607
|
# equivalent to the folloing IAM roles:
|
|
609
608
|
# roles/logging.logWriter
|
|
@@ -628,9 +627,9 @@ module Google
|
|
|
628
627
|
# @return [Array<String>]
|
|
629
628
|
attr_accessor :service_account_scopes
|
|
630
629
|
|
|
631
|
-
# Optional. The
|
|
632
|
-
#
|
|
633
|
-
#
|
|
630
|
+
# Optional. The Compute Engine subnetwork to be used for machine communications.
|
|
631
|
+
# Cannot be specified with network_uri.A full URL, partial URI, or short name
|
|
632
|
+
# are valid. Examples:
|
|
634
633
|
# https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/
|
|
635
634
|
# sub0
|
|
636
635
|
# projects/[project_id]/regions/us-east1/sub0
|
|
@@ -639,13 +638,13 @@ module Google
|
|
|
639
638
|
# @return [String]
|
|
640
639
|
attr_accessor :subnetwork_uri
|
|
641
640
|
|
|
642
|
-
# The
|
|
641
|
+
# The Compute Engine tags to add to all instances (see Tagging instances).
|
|
643
642
|
# Corresponds to the JSON property `tags`
|
|
644
643
|
# @return [Array<String>]
|
|
645
644
|
attr_accessor :tags
|
|
646
645
|
|
|
647
|
-
# Optional. The zone where the
|
|
648
|
-
#
|
|
646
|
+
# Optional. The zone where the Compute Engine cluster will be located. On a
|
|
647
|
+
# create request, it is required in the "global" region. If omitted in a non-
|
|
649
648
|
# global Cloud Dataproc region, the service will pick a zone in the
|
|
650
649
|
# corresponding Compute Engine region. On a get request, zone will always be
|
|
651
650
|
# present.A full URL, partial URI, or short name are valid. Examples:
|
|
@@ -809,14 +808,14 @@ module Google
|
|
|
809
808
|
end
|
|
810
809
|
end
|
|
811
810
|
|
|
812
|
-
# Optional. The config settings for
|
|
813
|
-
#
|
|
811
|
+
# Optional. The config settings for Compute Engine resources in an instance
|
|
812
|
+
# group, such as a master or worker group.
|
|
814
813
|
class InstanceGroupConfig
|
|
815
814
|
include Google::Apis::Core::Hashable
|
|
816
815
|
|
|
817
|
-
# Optional. The
|
|
818
|
-
#
|
|
819
|
-
#
|
|
816
|
+
# Optional. The Compute Engine accelerator configuration for these instances.
|
|
817
|
+
# Beta Feature: This feature is still under development. It may be changed
|
|
818
|
+
# before final release.
|
|
820
819
|
# Corresponds to the JSON property `accelerators`
|
|
821
820
|
# @return [Array<Google::Apis::DataprocV1beta2::AcceleratorConfig>]
|
|
822
821
|
attr_accessor :accelerators
|
|
@@ -826,8 +825,8 @@ module Google
|
|
|
826
825
|
# @return [Google::Apis::DataprocV1beta2::DiskConfig]
|
|
827
826
|
attr_accessor :disk_config
|
|
828
827
|
|
|
829
|
-
# Output only. The
|
|
830
|
-
#
|
|
828
|
+
# Output only. The Compute Engine image resource used for cluster instances.
|
|
829
|
+
# Inferred from SoftwareConfig.image_version.
|
|
831
830
|
# Corresponds to the JSON property `imageUri`
|
|
832
831
|
# @return [String]
|
|
833
832
|
attr_accessor :image_uri
|
|
@@ -845,8 +844,8 @@ module Google
|
|
|
845
844
|
attr_accessor :is_preemptible
|
|
846
845
|
alias_method :is_preemptible?, :is_preemptible
|
|
847
846
|
|
|
848
|
-
# Optional. The
|
|
849
|
-
#
|
|
847
|
+
# Optional. The Compute Engine machine type used for cluster instances.A full
|
|
848
|
+
# URL, partial URI, or short name are valid. Examples:
|
|
850
849
|
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/
|
|
851
850
|
# machineTypes/n1-standard-2
|
|
852
851
|
# projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
|
|
@@ -1323,8 +1322,10 @@ module Google
|
|
|
1323
1322
|
class ManagedCluster
|
|
1324
1323
|
include Google::Apis::Core::Hashable
|
|
1325
1324
|
|
|
1326
|
-
# Required. The cluster name.
|
|
1327
|
-
#
|
|
1325
|
+
# Required. The cluster name prefix. A unique cluster name will be formed by
|
|
1326
|
+
# appending a random suffix.The name must contain only lower-case letters (a-z),
|
|
1327
|
+
# numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end
|
|
1328
|
+
# with hyphen. Must consist of between 2 and 35 characters.
|
|
1328
1329
|
# Corresponds to the JSON property `clusterName`
|
|
1329
1330
|
# @return [String]
|
|
1330
1331
|
attr_accessor :cluster_name
|
|
@@ -1338,7 +1339,7 @@ module Google
|
|
|
1338
1339
|
# 1 and 63 characters long, and must conform to the following PCRE regular
|
|
1339
1340
|
# expression: \p`Ll`\p`Lo``0,62`Label values must be between 1 and 63 characters
|
|
1340
1341
|
# long, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo`\
|
|
1341
|
-
# p`N`_-`0,63`No more than
|
|
1342
|
+
# p`N`_-`0,63`No more than 32 labels can be associated with a given cluster.
|
|
1342
1343
|
# Corresponds to the JSON property `labels`
|
|
1343
1344
|
# @return [Hash<String,String>]
|
|
1344
1345
|
attr_accessor :labels
|
|
@@ -1386,7 +1387,7 @@ module Google
|
|
|
1386
1387
|
class NodeInitializationAction
|
|
1387
1388
|
include Google::Apis::Core::Hashable
|
|
1388
1389
|
|
|
1389
|
-
# Required.
|
|
1390
|
+
# Required. Cloud Storage URI of executable file.
|
|
1390
1391
|
# Corresponds to the JSON property `executableFile`
|
|
1391
1392
|
# @return [String]
|
|
1392
1393
|
attr_accessor :executable_file
|
|
@@ -1522,7 +1523,7 @@ module Google
|
|
|
1522
1523
|
# and 63 characters long, and must conform to the following regular expression: \
|
|
1523
1524
|
# p`Ll`\p`Lo``0,62`Label values must be between 1 and 63 characters long, and
|
|
1524
1525
|
# must conform to the following regular expression: \p`Ll`\p`Lo`\p`N`_-`0,63`No
|
|
1525
|
-
# more than
|
|
1526
|
+
# more than 32 labels can be associated with a given job.
|
|
1526
1527
|
# Corresponds to the JSON property `labels`
|
|
1527
1528
|
# @return [Hash<String,String>]
|
|
1528
1529
|
attr_accessor :labels
|
|
@@ -1563,8 +1564,11 @@ module Google
|
|
|
1563
1564
|
attr_accessor :spark_sql_job
|
|
1564
1565
|
|
|
1565
1566
|
# Required. The step id. The id must be unique among all jobs within the
|
|
1566
|
-
# template.The step id is used as prefix for job id, as job
|
|
1567
|
-
# label, and in
|
|
1567
|
+
# template.The step id is used as prefix for job id, as job goog-dataproc-
|
|
1568
|
+
# workflow-step-id label, and in prerequisiteStepIds field from other steps.The
|
|
1569
|
+
# id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and
|
|
1570
|
+
# hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of
|
|
1571
|
+
# between 3 and 50 characters.
|
|
1568
1572
|
# Corresponds to the JSON property `stepId`
|
|
1569
1573
|
# @return [String]
|
|
1570
1574
|
attr_accessor :step_id
|
|
@@ -2099,6 +2103,17 @@ module Google
|
|
|
2099
2103
|
# @return [Google::Apis::DataprocV1beta2::Job]
|
|
2100
2104
|
attr_accessor :job
|
|
2101
2105
|
|
|
2106
|
+
# Optional. A unique id used to identify the request. If the server receives two
|
|
2107
|
+
# SubmitJobRequest requests with the same id, then the second request will be
|
|
2108
|
+
# ignored and the first Job created and stored in the backend is returned.It is
|
|
2109
|
+
# recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/
|
|
2110
|
+
# Universally_unique_identifier).The id must contain only letters (a-z, A-Z),
|
|
2111
|
+
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
|
2112
|
+
# characters.
|
|
2113
|
+
# Corresponds to the JSON property `requestId`
|
|
2114
|
+
# @return [String]
|
|
2115
|
+
attr_accessor :request_id
|
|
2116
|
+
|
|
2102
2117
|
def initialize(**args)
|
|
2103
2118
|
update!(**args)
|
|
2104
2119
|
end
|
|
@@ -2106,6 +2121,7 @@ module Google
|
|
|
2106
2121
|
# Update properties of this object
|
|
2107
2122
|
def update!(**args)
|
|
2108
2123
|
@job = args[:job] if args.key?(:job)
|
|
2124
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
|
2109
2125
|
end
|
|
2110
2126
|
end
|
|
2111
2127
|
|
|
@@ -2192,6 +2208,11 @@ module Google
|
|
|
2192
2208
|
# @return [Google::Apis::DataprocV1beta2::WorkflowGraph]
|
|
2193
2209
|
attr_accessor :graph
|
|
2194
2210
|
|
|
2211
|
+
# Map from parameter names to values that were used for those parameters.
|
|
2212
|
+
# Corresponds to the JSON property `parameters`
|
|
2213
|
+
# @return [Hash<String,String>]
|
|
2214
|
+
attr_accessor :parameters
|
|
2215
|
+
|
|
2195
2216
|
# Output only. The workflow state.
|
|
2196
2217
|
# Corresponds to the JSON property `state`
|
|
2197
2218
|
# @return [String]
|
|
@@ -2217,6 +2238,7 @@ module Google
|
|
|
2217
2238
|
@create_cluster = args[:create_cluster] if args.key?(:create_cluster)
|
|
2218
2239
|
@delete_cluster = args[:delete_cluster] if args.key?(:delete_cluster)
|
|
2219
2240
|
@graph = args[:graph] if args.key?(:graph)
|
|
2241
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
2220
2242
|
@state = args[:state] if args.key?(:state)
|
|
2221
2243
|
@template = args[:template] if args.key?(:template)
|
|
2222
2244
|
@version = args[:version] if args.key?(:version)
|
|
@@ -2275,7 +2297,9 @@ module Google
|
|
|
2275
2297
|
# @return [String]
|
|
2276
2298
|
attr_accessor :create_time
|
|
2277
2299
|
|
|
2278
|
-
# Required. The template id.
|
|
2300
|
+
# Required. The template id.The id must contain only letters (a-z, A-Z), numbers
|
|
2301
|
+
# (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore
|
|
2302
|
+
# or hyphen. Must consist of between 3 and 50 characters.
|
|
2279
2303
|
# Corresponds to the JSON property `id`
|
|
2280
2304
|
# @return [String]
|
|
2281
2305
|
attr_accessor :id
|
|
@@ -849,6 +849,7 @@ module Google
|
|
|
849
849
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
850
850
|
property :job, as: 'job', class: Google::Apis::DataprocV1beta2::Job, decorator: Google::Apis::DataprocV1beta2::Job::Representation
|
|
851
851
|
|
|
852
|
+
property :request_id, as: 'requestId'
|
|
852
853
|
end
|
|
853
854
|
end
|
|
854
855
|
|
|
@@ -884,6 +885,7 @@ module Google
|
|
|
884
885
|
|
|
885
886
|
property :graph, as: 'graph', class: Google::Apis::DataprocV1beta2::WorkflowGraph, decorator: Google::Apis::DataprocV1beta2::WorkflowGraph::Representation
|
|
886
887
|
|
|
888
|
+
hash :parameters, as: 'parameters'
|
|
887
889
|
property :state, as: 'state'
|
|
888
890
|
property :template, as: 'template'
|
|
889
891
|
property :version, as: 'version'
|
|
@@ -156,6 +156,38 @@ module Google
|
|
|
156
156
|
execute_or_queue_command(command, &block)
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
160
|
+
# resource exists and does not have a policy set.
|
|
161
|
+
# @param [String] resource
|
|
162
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
|
163
|
+
# operation documentation for the appropriate value for this field.
|
|
164
|
+
# @param [String] fields
|
|
165
|
+
# Selector specifying which fields to include in a partial response.
|
|
166
|
+
# @param [String] quota_user
|
|
167
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
168
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
169
|
+
# @param [Google::Apis::RequestOptions] options
|
|
170
|
+
# Request-specific options
|
|
171
|
+
#
|
|
172
|
+
# @yield [result, err] Result & error if block supplied
|
|
173
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
|
174
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
175
|
+
#
|
|
176
|
+
# @return [Google::Apis::DataprocV1beta2::Policy]
|
|
177
|
+
#
|
|
178
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
179
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
180
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
181
|
+
def get_project_location_workflow_template_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
182
|
+
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
|
183
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
|
184
|
+
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
|
185
|
+
command.params['resource'] = resource unless resource.nil?
|
|
186
|
+
command.query['fields'] = fields unless fields.nil?
|
|
187
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
188
|
+
execute_or_queue_command(command, &block)
|
|
189
|
+
end
|
|
190
|
+
|
|
159
191
|
# Instantiates a template and begins execution.The returned Operation can be
|
|
160
192
|
# used to track execution of workflow by polling operations.get. The Operation
|
|
161
193
|
# will complete when entire workflow is finished.The running workflow can be
|
|
@@ -286,6 +318,79 @@ module Google
|
|
|
286
318
|
execute_or_queue_command(command, &block)
|
|
287
319
|
end
|
|
288
320
|
|
|
321
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
322
|
+
# existing policy.
|
|
323
|
+
# @param [String] resource
|
|
324
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
|
325
|
+
# operation documentation for the appropriate value for this field.
|
|
326
|
+
# @param [Google::Apis::DataprocV1beta2::SetIamPolicyRequest] set_iam_policy_request_object
|
|
327
|
+
# @param [String] fields
|
|
328
|
+
# Selector specifying which fields to include in a partial response.
|
|
329
|
+
# @param [String] quota_user
|
|
330
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
331
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
332
|
+
# @param [Google::Apis::RequestOptions] options
|
|
333
|
+
# Request-specific options
|
|
334
|
+
#
|
|
335
|
+
# @yield [result, err] Result & error if block supplied
|
|
336
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
|
337
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
338
|
+
#
|
|
339
|
+
# @return [Google::Apis::DataprocV1beta2::Policy]
|
|
340
|
+
#
|
|
341
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
342
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
343
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
344
|
+
def set_project_location_workflow_template_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
345
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:setIamPolicy', options)
|
|
346
|
+
command.request_representation = Google::Apis::DataprocV1beta2::SetIamPolicyRequest::Representation
|
|
347
|
+
command.request_object = set_iam_policy_request_object
|
|
348
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
|
349
|
+
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
|
350
|
+
command.params['resource'] = resource unless resource.nil?
|
|
351
|
+
command.query['fields'] = fields unless fields.nil?
|
|
352
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
353
|
+
execute_or_queue_command(command, &block)
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# Returns permissions that a caller has on the specified resource. If the
|
|
357
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
|
358
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
|
359
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
360
|
+
# This operation may "fail open" without warning.
|
|
361
|
+
# @param [String] resource
|
|
362
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
|
363
|
+
# operation documentation for the appropriate value for this field.
|
|
364
|
+
# @param [Google::Apis::DataprocV1beta2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
365
|
+
# @param [String] fields
|
|
366
|
+
# Selector specifying which fields to include in a partial response.
|
|
367
|
+
# @param [String] quota_user
|
|
368
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
369
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
370
|
+
# @param [Google::Apis::RequestOptions] options
|
|
371
|
+
# Request-specific options
|
|
372
|
+
#
|
|
373
|
+
# @yield [result, err] Result & error if block supplied
|
|
374
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse] parsed result object
|
|
375
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
376
|
+
#
|
|
377
|
+
# @return [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse]
|
|
378
|
+
#
|
|
379
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
380
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
381
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
382
|
+
def test_project_location_workflow_template_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
383
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:testIamPermissions', options)
|
|
384
|
+
command.request_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsRequest::Representation
|
|
385
|
+
command.request_object = test_iam_permissions_request_object
|
|
386
|
+
command.response_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse::Representation
|
|
387
|
+
command.response_class = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse
|
|
388
|
+
command.params['resource'] = resource unless resource.nil?
|
|
389
|
+
command.query['fields'] = fields unless fields.nil?
|
|
390
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
391
|
+
execute_or_queue_command(command, &block)
|
|
392
|
+
end
|
|
393
|
+
|
|
289
394
|
# Updates (replaces) workflow template. The updated template must contain
|
|
290
395
|
# version that matches the current server version.
|
|
291
396
|
# @param [String] name
|
|
@@ -329,6 +434,14 @@ module Google
|
|
|
329
434
|
# @param [String] region
|
|
330
435
|
# Required. The Cloud Dataproc region in which to handle the request.
|
|
331
436
|
# @param [Google::Apis::DataprocV1beta2::Cluster] cluster_object
|
|
437
|
+
# @param [String] request_id
|
|
438
|
+
# Optional. A unique id used to identify the request. If the server receives two
|
|
439
|
+
# CreateClusterRequest requests with the same id, then the second request will
|
|
440
|
+
# be ignored and the first google.longrunning.Operation created and stored in
|
|
441
|
+
# the backend is returned.It is recommended to always set this value to a UUID (
|
|
442
|
+
# https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
|
|
443
|
+
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
|
444
|
+
# ). The maximum length is 40 characters.
|
|
332
445
|
# @param [String] fields
|
|
333
446
|
# Selector specifying which fields to include in a partial response.
|
|
334
447
|
# @param [String] quota_user
|
|
@@ -346,7 +459,7 @@ module Google
|
|
|
346
459
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
347
460
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
348
461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
349
|
-
def create_project_region_cluster(project_id, region, cluster_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
462
|
+
def create_project_region_cluster(project_id, region, cluster_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
350
463
|
command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/clusters', options)
|
|
351
464
|
command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
|
|
352
465
|
command.request_object = cluster_object
|
|
@@ -354,6 +467,7 @@ module Google
|
|
|
354
467
|
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
|
355
468
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
356
469
|
command.params['region'] = region unless region.nil?
|
|
470
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
357
471
|
command.query['fields'] = fields unless fields.nil?
|
|
358
472
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
359
473
|
execute_or_queue_command(command, &block)
|
|
@@ -370,6 +484,14 @@ module Google
|
|
|
370
484
|
# @param [String] cluster_uuid
|
|
371
485
|
# Optional. Specifying the cluster_uuid means the RPC should fail (with error
|
|
372
486
|
# NOT_FOUND) if cluster with specified UUID does not exist.
|
|
487
|
+
# @param [String] request_id
|
|
488
|
+
# Optional. A unique id used to identify the request. If the server receives two
|
|
489
|
+
# DeleteClusterRequest requests with the same id, then the second request will
|
|
490
|
+
# be ignored and the first google.longrunning.Operation created and stored in
|
|
491
|
+
# the backend is returned.It is recommended to always set this value to a UUID (
|
|
492
|
+
# https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
|
|
493
|
+
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
|
494
|
+
# ). The maximum length is 40 characters.
|
|
373
495
|
# @param [String] fields
|
|
374
496
|
# Selector specifying which fields to include in a partial response.
|
|
375
497
|
# @param [String] quota_user
|
|
@@ -387,7 +509,7 @@ module Google
|
|
|
387
509
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
388
510
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
389
511
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
390
|
-
def delete_project_region_cluster(project_id, region, cluster_name, cluster_uuid: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
512
|
+
def delete_project_region_cluster(project_id, region, cluster_name, cluster_uuid: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
391
513
|
command = make_simple_command(:delete, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
|
392
514
|
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
|
|
393
515
|
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
|
@@ -395,6 +517,7 @@ module Google
|
|
|
395
517
|
command.params['region'] = region unless region.nil?
|
|
396
518
|
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
|
397
519
|
command.query['clusterUuid'] = cluster_uuid unless cluster_uuid.nil?
|
|
520
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
398
521
|
command.query['fields'] = fields unless fields.nil?
|
|
399
522
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
400
523
|
execute_or_queue_command(command, &block)
|
|
@@ -578,12 +701,19 @@ module Google
|
|
|
578
701
|
# forcefully removing nodes (and potentially interrupting jobs). Default timeout
|
|
579
702
|
# is 0 (for forceful decommission), and the maximum allowed timeout is 1 day.
|
|
580
703
|
# Only supported on Dataproc image versions 1.2 and higher.
|
|
704
|
+
# @param [String] request_id
|
|
705
|
+
# Optional. A unique id used to identify the request. If the server receives two
|
|
706
|
+
# UpdateClusterRequest requests with the same id, then the second request will
|
|
707
|
+
# be ignored and the first google.longrunning.Operation created and stored in
|
|
708
|
+
# the backend is returned.It is recommended to always set this value to a UUID (
|
|
709
|
+
# https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
|
|
710
|
+
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
|
711
|
+
# ). The maximum length is 40 characters.
|
|
581
712
|
# @param [String] update_mask
|
|
582
|
-
# Required. Specifies the path, relative to
|
|
583
|
-
#
|
|
584
|
-
#
|
|
585
|
-
#
|
|
586
|
-
# the new value, as follows:
|
|
713
|
+
# Required. Specifies the path, relative to Cluster, of the field to update. For
|
|
714
|
+
# example, to change the number of workers in a cluster to 5, the update_mask
|
|
715
|
+
# parameter would be specified as config.worker_config.num_instances, and the
|
|
716
|
+
# PATCH request body would specify the new value, as follows:
|
|
587
717
|
# `
|
|
588
718
|
# "config":`
|
|
589
719
|
# "workerConfig":`
|
|
@@ -591,10 +721,9 @@ module Google
|
|
|
591
721
|
# `
|
|
592
722
|
# `
|
|
593
723
|
# `
|
|
594
|
-
# Similarly, to change the number of preemptible workers in a cluster to 5, the
|
|
595
|
-
#
|
|
596
|
-
#
|
|
597
|
-
# be set as follows:
|
|
724
|
+
# Similarly, to change the number of preemptible workers in a cluster to 5, the
|
|
725
|
+
# update_mask parameter would be config.secondary_worker_config.num_instances,
|
|
726
|
+
# and the PATCH request body would be set as follows:
|
|
598
727
|
# `
|
|
599
728
|
# "config":`
|
|
600
729
|
# "secondaryWorkerConfig":`
|
|
@@ -602,12 +731,33 @@ module Google
|
|
|
602
731
|
# `
|
|
603
732
|
# `
|
|
604
733
|
# `
|
|
605
|
-
# <strong>Note:</strong> currently only
|
|
606
|
-
#
|
|
607
|
-
#
|
|
608
|
-
#
|
|
609
|
-
#
|
|
610
|
-
#
|
|
734
|
+
# <strong>Note:</strong> currently only the following fields can be updated:
|
|
735
|
+
# <table>
|
|
736
|
+
# <tr>
|
|
737
|
+
# <td><strong>Mask</strong></td><td><strong>Purpose</strong></td>
|
|
738
|
+
# </tr>
|
|
739
|
+
# <tr>
|
|
740
|
+
# <td>labels</td><td>Updates labels</td>
|
|
741
|
+
# </tr>
|
|
742
|
+
# <tr>
|
|
743
|
+
# <td>config.worker_config.num_instances</td><td>Resize primary worker group</td>
|
|
744
|
+
# </tr>
|
|
745
|
+
# <tr>
|
|
746
|
+
# <td>config.secondary_worker_config.num_instances</td><td>Resize secondary
|
|
747
|
+
# worker group</td>
|
|
748
|
+
# </tr>
|
|
749
|
+
# <tr>
|
|
750
|
+
# <td>config.lifecycle_config.auto_delete_ttl</td><td>Reset MAX TTL duration</td>
|
|
751
|
+
# </tr>
|
|
752
|
+
# <tr>
|
|
753
|
+
# <td>config.lifecycle_config.auto_delete_time</td><td>Update MAX TTL deletion
|
|
754
|
+
# timestamp</td>
|
|
755
|
+
# </tr>
|
|
756
|
+
# <tr>
|
|
757
|
+
# <td>config.lifecycle_config.idle_delete_ttl</td><td>Update Idle TTL duration</
|
|
758
|
+
# td>
|
|
759
|
+
# </tr>
|
|
760
|
+
# </table>
|
|
611
761
|
# @param [String] fields
|
|
612
762
|
# Selector specifying which fields to include in a partial response.
|
|
613
763
|
# @param [String] quota_user
|
|
@@ -625,7 +775,7 @@ module Google
|
|
|
625
775
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
626
776
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
627
777
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
628
|
-
def patch_project_region_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
778
|
+
def patch_project_region_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
629
779
|
command = make_simple_command(:patch, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
|
630
780
|
command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
|
|
631
781
|
command.request_object = cluster_object
|
|
@@ -635,6 +785,7 @@ module Google
|
|
|
635
785
|
command.params['region'] = region unless region.nil?
|
|
636
786
|
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
|
637
787
|
command.query['gracefulDecommissionTimeout'] = graceful_decommission_timeout unless graceful_decommission_timeout.nil?
|
|
788
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
638
789
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
639
790
|
command.query['fields'] = fields unless fields.nil?
|
|
640
791
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -827,6 +978,38 @@ module Google
|
|
|
827
978
|
execute_or_queue_command(command, &block)
|
|
828
979
|
end
|
|
829
980
|
|
|
981
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
982
|
+
# resource exists and does not have a policy set.
|
|
983
|
+
# @param [String] resource
|
|
984
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
|
985
|
+
# operation documentation for the appropriate value for this field.
|
|
986
|
+
# @param [String] fields
|
|
987
|
+
# Selector specifying which fields to include in a partial response.
|
|
988
|
+
# @param [String] quota_user
|
|
989
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
990
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
991
|
+
# @param [Google::Apis::RequestOptions] options
|
|
992
|
+
# Request-specific options
|
|
993
|
+
#
|
|
994
|
+
# @yield [result, err] Result & error if block supplied
|
|
995
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
|
996
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
997
|
+
#
|
|
998
|
+
# @return [Google::Apis::DataprocV1beta2::Policy]
|
|
999
|
+
#
|
|
1000
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1001
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1002
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1003
|
+
def get_project_region_job_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
1004
|
+
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
|
1005
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
|
1006
|
+
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
|
1007
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1008
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1009
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1010
|
+
execute_or_queue_command(command, &block)
|
|
1011
|
+
end
|
|
1012
|
+
|
|
830
1013
|
# Lists regions/`region`/jobs in a project.
|
|
831
1014
|
# @param [String] project_id
|
|
832
1015
|
# Required. The ID of the Google Cloud Platform project that the job belongs to.
|
|
@@ -930,6 +1113,41 @@ module Google
|
|
|
930
1113
|
execute_or_queue_command(command, &block)
|
|
931
1114
|
end
|
|
932
1115
|
|
|
1116
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
1117
|
+
# existing policy.
|
|
1118
|
+
# @param [String] resource
|
|
1119
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
|
1120
|
+
# operation documentation for the appropriate value for this field.
|
|
1121
|
+
# @param [Google::Apis::DataprocV1beta2::SetIamPolicyRequest] set_iam_policy_request_object
|
|
1122
|
+
# @param [String] fields
|
|
1123
|
+
# Selector specifying which fields to include in a partial response.
|
|
1124
|
+
# @param [String] quota_user
|
|
1125
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1126
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1127
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1128
|
+
# Request-specific options
|
|
1129
|
+
#
|
|
1130
|
+
# @yield [result, err] Result & error if block supplied
|
|
1131
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
|
1132
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1133
|
+
#
|
|
1134
|
+
# @return [Google::Apis::DataprocV1beta2::Policy]
|
|
1135
|
+
#
|
|
1136
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1137
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1138
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1139
|
+
def set_job_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1140
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:setIamPolicy', options)
|
|
1141
|
+
command.request_representation = Google::Apis::DataprocV1beta2::SetIamPolicyRequest::Representation
|
|
1142
|
+
command.request_object = set_iam_policy_request_object
|
|
1143
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
|
1144
|
+
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
|
1145
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1146
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1147
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1148
|
+
execute_or_queue_command(command, &block)
|
|
1149
|
+
end
|
|
1150
|
+
|
|
933
1151
|
# Submits a job to a cluster.
|
|
934
1152
|
# @param [String] project_id
|
|
935
1153
|
# Required. The ID of the Google Cloud Platform project that the job belongs to.
|
|
@@ -966,6 +1184,44 @@ module Google
|
|
|
966
1184
|
execute_or_queue_command(command, &block)
|
|
967
1185
|
end
|
|
968
1186
|
|
|
1187
|
+
# Returns permissions that a caller has on the specified resource. If the
|
|
1188
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
|
1189
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
|
1190
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
1191
|
+
# This operation may "fail open" without warning.
|
|
1192
|
+
# @param [String] resource
|
|
1193
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
|
1194
|
+
# operation documentation for the appropriate value for this field.
|
|
1195
|
+
# @param [Google::Apis::DataprocV1beta2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
1196
|
+
# @param [String] fields
|
|
1197
|
+
# Selector specifying which fields to include in a partial response.
|
|
1198
|
+
# @param [String] quota_user
|
|
1199
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1200
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1201
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1202
|
+
# Request-specific options
|
|
1203
|
+
#
|
|
1204
|
+
# @yield [result, err] Result & error if block supplied
|
|
1205
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse] parsed result object
|
|
1206
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1207
|
+
#
|
|
1208
|
+
# @return [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse]
|
|
1209
|
+
#
|
|
1210
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1211
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1212
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1213
|
+
def test_job_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1214
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:testIamPermissions', options)
|
|
1215
|
+
command.request_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsRequest::Representation
|
|
1216
|
+
command.request_object = test_iam_permissions_request_object
|
|
1217
|
+
command.response_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse::Representation
|
|
1218
|
+
command.response_class = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse
|
|
1219
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1220
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1221
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1222
|
+
execute_or_queue_command(command, &block)
|
|
1223
|
+
end
|
|
1224
|
+
|
|
969
1225
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
970
1226
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
971
1227
|
# server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
|
|
@@ -1067,6 +1323,38 @@ module Google
|
|
|
1067
1323
|
execute_or_queue_command(command, &block)
|
|
1068
1324
|
end
|
|
1069
1325
|
|
|
1326
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
1327
|
+
# resource exists and does not have a policy set.
|
|
1328
|
+
# @param [String] resource
|
|
1329
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
|
1330
|
+
# operation documentation for the appropriate value for this field.
|
|
1331
|
+
# @param [String] fields
|
|
1332
|
+
# Selector specifying which fields to include in a partial response.
|
|
1333
|
+
# @param [String] quota_user
|
|
1334
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1335
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1336
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1337
|
+
# Request-specific options
|
|
1338
|
+
#
|
|
1339
|
+
# @yield [result, err] Result & error if block supplied
|
|
1340
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
|
1341
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1342
|
+
#
|
|
1343
|
+
# @return [Google::Apis::DataprocV1beta2::Policy]
|
|
1344
|
+
#
|
|
1345
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1346
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1347
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1348
|
+
def get_project_region_operation_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
1349
|
+
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
|
1350
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
|
1351
|
+
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
|
1352
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1353
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1354
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1355
|
+
execute_or_queue_command(command, &block)
|
|
1356
|
+
end
|
|
1357
|
+
|
|
1070
1358
|
# Lists operations that match the specified filter in the request. If the server
|
|
1071
1359
|
# doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
|
|
1072
1360
|
# allows API services to override the binding to use different resource name
|
|
@@ -1113,6 +1401,79 @@ module Google
|
|
|
1113
1401
|
execute_or_queue_command(command, &block)
|
|
1114
1402
|
end
|
|
1115
1403
|
|
|
1404
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
1405
|
+
# existing policy.
|
|
1406
|
+
# @param [String] resource
|
|
1407
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
|
1408
|
+
# operation documentation for the appropriate value for this field.
|
|
1409
|
+
# @param [Google::Apis::DataprocV1beta2::SetIamPolicyRequest] set_iam_policy_request_object
|
|
1410
|
+
# @param [String] fields
|
|
1411
|
+
# Selector specifying which fields to include in a partial response.
|
|
1412
|
+
# @param [String] quota_user
|
|
1413
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1414
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1415
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1416
|
+
# Request-specific options
|
|
1417
|
+
#
|
|
1418
|
+
# @yield [result, err] Result & error if block supplied
|
|
1419
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
|
1420
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1421
|
+
#
|
|
1422
|
+
# @return [Google::Apis::DataprocV1beta2::Policy]
|
|
1423
|
+
#
|
|
1424
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1425
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1426
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1427
|
+
def set_operation_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1428
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:setIamPolicy', options)
|
|
1429
|
+
command.request_representation = Google::Apis::DataprocV1beta2::SetIamPolicyRequest::Representation
|
|
1430
|
+
command.request_object = set_iam_policy_request_object
|
|
1431
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
|
1432
|
+
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
|
1433
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1434
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1435
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1436
|
+
execute_or_queue_command(command, &block)
|
|
1437
|
+
end
|
|
1438
|
+
|
|
1439
|
+
# Returns permissions that a caller has on the specified resource. If the
|
|
1440
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
|
1441
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
|
1442
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
1443
|
+
# This operation may "fail open" without warning.
|
|
1444
|
+
# @param [String] resource
|
|
1445
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
|
1446
|
+
# operation documentation for the appropriate value for this field.
|
|
1447
|
+
# @param [Google::Apis::DataprocV1beta2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
1448
|
+
# @param [String] fields
|
|
1449
|
+
# Selector specifying which fields to include in a partial response.
|
|
1450
|
+
# @param [String] quota_user
|
|
1451
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1452
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1453
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1454
|
+
# Request-specific options
|
|
1455
|
+
#
|
|
1456
|
+
# @yield [result, err] Result & error if block supplied
|
|
1457
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse] parsed result object
|
|
1458
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1459
|
+
#
|
|
1460
|
+
# @return [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse]
|
|
1461
|
+
#
|
|
1462
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1463
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1464
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1465
|
+
def test_operation_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1466
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:testIamPermissions', options)
|
|
1467
|
+
command.request_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsRequest::Representation
|
|
1468
|
+
command.request_object = test_iam_permissions_request_object
|
|
1469
|
+
command.response_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse::Representation
|
|
1470
|
+
command.response_class = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse
|
|
1471
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1472
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1473
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1474
|
+
execute_or_queue_command(command, &block)
|
|
1475
|
+
end
|
|
1476
|
+
|
|
1116
1477
|
# Creates new workflow template.
|
|
1117
1478
|
# @param [String] parent
|
|
1118
1479
|
# Required. The "resource name" of the region, as described in https://cloud.
|
|
@@ -1222,6 +1583,38 @@ module Google
|
|
|
1222
1583
|
execute_or_queue_command(command, &block)
|
|
1223
1584
|
end
|
|
1224
1585
|
|
|
1586
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
1587
|
+
# resource exists and does not have a policy set.
|
|
1588
|
+
# @param [String] resource
|
|
1589
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
|
1590
|
+
# operation documentation for the appropriate value for this field.
|
|
1591
|
+
# @param [String] fields
|
|
1592
|
+
# Selector specifying which fields to include in a partial response.
|
|
1593
|
+
# @param [String] quota_user
|
|
1594
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1595
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1596
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1597
|
+
# Request-specific options
|
|
1598
|
+
#
|
|
1599
|
+
# @yield [result, err] Result & error if block supplied
|
|
1600
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
|
1601
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1602
|
+
#
|
|
1603
|
+
# @return [Google::Apis::DataprocV1beta2::Policy]
|
|
1604
|
+
#
|
|
1605
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1606
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1607
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1608
|
+
def get_project_region_workflow_template_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
1609
|
+
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
|
1610
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
|
1611
|
+
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
|
1612
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1613
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1614
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1615
|
+
execute_or_queue_command(command, &block)
|
|
1616
|
+
end
|
|
1617
|
+
|
|
1225
1618
|
# Instantiates a template and begins execution.The returned Operation can be
|
|
1226
1619
|
# used to track execution of workflow by polling operations.get. The Operation
|
|
1227
1620
|
# will complete when entire workflow is finished.The running workflow can be
|
|
@@ -1352,6 +1745,79 @@ module Google
|
|
|
1352
1745
|
execute_or_queue_command(command, &block)
|
|
1353
1746
|
end
|
|
1354
1747
|
|
|
1748
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
1749
|
+
# existing policy.
|
|
1750
|
+
# @param [String] resource
|
|
1751
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
|
1752
|
+
# operation documentation for the appropriate value for this field.
|
|
1753
|
+
# @param [Google::Apis::DataprocV1beta2::SetIamPolicyRequest] set_iam_policy_request_object
|
|
1754
|
+
# @param [String] fields
|
|
1755
|
+
# Selector specifying which fields to include in a partial response.
|
|
1756
|
+
# @param [String] quota_user
|
|
1757
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1758
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1759
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1760
|
+
# Request-specific options
|
|
1761
|
+
#
|
|
1762
|
+
# @yield [result, err] Result & error if block supplied
|
|
1763
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
|
1764
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1765
|
+
#
|
|
1766
|
+
# @return [Google::Apis::DataprocV1beta2::Policy]
|
|
1767
|
+
#
|
|
1768
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1769
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1770
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1771
|
+
def set_project_region_workflow_template_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1772
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:setIamPolicy', options)
|
|
1773
|
+
command.request_representation = Google::Apis::DataprocV1beta2::SetIamPolicyRequest::Representation
|
|
1774
|
+
command.request_object = set_iam_policy_request_object
|
|
1775
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
|
1776
|
+
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
|
1777
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1778
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1779
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1780
|
+
execute_or_queue_command(command, &block)
|
|
1781
|
+
end
|
|
1782
|
+
|
|
1783
|
+
# Returns permissions that a caller has on the specified resource. If the
|
|
1784
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
|
1785
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
|
1786
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
1787
|
+
# This operation may "fail open" without warning.
|
|
1788
|
+
# @param [String] resource
|
|
1789
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
|
1790
|
+
# operation documentation for the appropriate value for this field.
|
|
1791
|
+
# @param [Google::Apis::DataprocV1beta2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
1792
|
+
# @param [String] fields
|
|
1793
|
+
# Selector specifying which fields to include in a partial response.
|
|
1794
|
+
# @param [String] quota_user
|
|
1795
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1796
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1797
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1798
|
+
# Request-specific options
|
|
1799
|
+
#
|
|
1800
|
+
# @yield [result, err] Result & error if block supplied
|
|
1801
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse] parsed result object
|
|
1802
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1803
|
+
#
|
|
1804
|
+
# @return [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse]
|
|
1805
|
+
#
|
|
1806
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1807
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1808
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1809
|
+
def test_project_region_workflow_template_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1810
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:testIamPermissions', options)
|
|
1811
|
+
command.request_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsRequest::Representation
|
|
1812
|
+
command.request_object = test_iam_permissions_request_object
|
|
1813
|
+
command.response_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse::Representation
|
|
1814
|
+
command.response_class = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse
|
|
1815
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1816
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1817
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1818
|
+
execute_or_queue_command(command, &block)
|
|
1819
|
+
end
|
|
1820
|
+
|
|
1355
1821
|
# Updates (replaces) workflow template. The updated template must contain
|
|
1356
1822
|
# version that matches the current server version.
|
|
1357
1823
|
# @param [String] name
|