google-api-client 0.29.0 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +122 -0
- data/README.md +1 -1
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
- data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +38 -38
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta/service.rb +38 -38
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +53 -33
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2/service.rb +26 -26
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
- data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +45 -45
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/service.rb +57 -56
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/service.rb +3 -3
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
- data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
- data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/compute_alpha/classes.rb +29 -0
- data/generated/google/apis/compute_alpha/representations.rb +15 -0
- data/generated/google/apis/compute_alpha/service.rb +625 -623
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +63 -63
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -4
- data/generated/google/apis/container_v1beta1/representations.rb +20 -0
- data/generated/google/apis/container_v1beta1/service.rb +64 -64
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/content_v2/classes.rb +9 -3
- data/generated/google/apis/content_v2/service.rb +101 -105
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -3
- data/generated/google/apis/content_v2_1/service.rb +89 -93
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dialogflow_v2/classes.rb +8 -8
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +137 -0
- data/generated/google/apis/docs_v1/representations.rb +57 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +10 -21
- data/generated/google/apis/drive_v2/service.rb +152 -100
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -20
- data/generated/google/apis/drive_v3/service.rb +100 -64
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +52 -1
- data/generated/google/apis/file_v1/representations.rb +16 -0
- data/generated/google/apis/file_v1/service.rb +11 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +52 -1
- data/generated/google/apis/file_v1beta1/representations.rb +16 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebaserules_v1/service.rb +11 -11
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/fitness_v1/service.rb +13 -13
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +68 -68
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +48 -0
- data/generated/google/apis/iam_v1/representations.rb +28 -0
- data/generated/google/apis/iam_v1/service.rb +59 -42
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v3/service.rb +15 -15
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +6 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -1
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +36 -36
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/service.rb +3 -3
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oslogin_v1/service.rb +6 -6
- data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
- data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +10 -10
- data/generated/google/apis/plus_v1/service.rb +9 -9
- data/generated/google/apis/poly_v1/service.rb +4 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/redis_v1/service.rb +19 -19
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/service.rb +17 -17
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
- data/generated/google/apis/run_v1alpha1/service.rb +446 -38
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -0
- data/generated/google/apis/script_v1/representations.rb +79 -0
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +14 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +14 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -29
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +14 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -29
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
- data/generated/google/apis/spanner_v1/classes.rb +51 -9
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +7 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -2
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1/service.rb +52 -52
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -49
- data/generated/google/apis/tagmanager_v2/service.rb +74 -74
- data/generated/google/apis/tasks_v1/service.rb +14 -14
- data/generated/google/apis/testing_v1/classes.rb +25 -12
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/videointelligence_v1/service.rb +5 -5
- data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2372 -73
- data/generated/google/apis/vision_v1/representations.rb +1643 -651
- data/generated/google/apis/vision_v1/service.rb +98 -35
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/service.rb +9 -9
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +13 -6
- data/samples/web/.env +0 -2
@@ -47,6 +47,114 @@ module Google
|
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
51
|
+
# resource exists and does not have a policy set.
|
52
|
+
# @param [String] resource
|
53
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
54
|
+
# operation documentation for the appropriate value for this field.
|
55
|
+
# @param [Google::Apis::DataprocV1::GetIamPolicyRequest] get_iam_policy_request_object
|
56
|
+
# @param [String] fields
|
57
|
+
# Selector specifying which fields to include in a partial response.
|
58
|
+
# @param [String] quota_user
|
59
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
60
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
61
|
+
# @param [Google::Apis::RequestOptions] options
|
62
|
+
# Request-specific options
|
63
|
+
#
|
64
|
+
# @yield [result, err] Result & error if block supplied
|
65
|
+
# @yieldparam result [Google::Apis::DataprocV1::Policy] parsed result object
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
67
|
+
#
|
68
|
+
# @return [Google::Apis::DataprocV1::Policy]
|
69
|
+
#
|
70
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
+
def get_project_location_autoscaling_policy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
75
|
+
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
|
76
|
+
command.request_object = get_iam_policy_request_object
|
77
|
+
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
78
|
+
command.response_class = Google::Apis::DataprocV1::Policy
|
79
|
+
command.params['resource'] = resource unless resource.nil?
|
80
|
+
command.query['fields'] = fields unless fields.nil?
|
81
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
82
|
+
execute_or_queue_command(command, &block)
|
83
|
+
end
|
84
|
+
|
85
|
+
# Sets the access control policy on the specified resource. Replaces any
|
86
|
+
# existing policy.
|
87
|
+
# @param [String] resource
|
88
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
89
|
+
# operation documentation for the appropriate value for this field.
|
90
|
+
# @param [Google::Apis::DataprocV1::SetIamPolicyRequest] set_iam_policy_request_object
|
91
|
+
# @param [String] fields
|
92
|
+
# Selector specifying which fields to include in a partial response.
|
93
|
+
# @param [String] quota_user
|
94
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
95
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
96
|
+
# @param [Google::Apis::RequestOptions] options
|
97
|
+
# Request-specific options
|
98
|
+
#
|
99
|
+
# @yield [result, err] Result & error if block supplied
|
100
|
+
# @yieldparam result [Google::Apis::DataprocV1::Policy] parsed result object
|
101
|
+
# @yieldparam err [StandardError] error object if request failed
|
102
|
+
#
|
103
|
+
# @return [Google::Apis::DataprocV1::Policy]
|
104
|
+
#
|
105
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
106
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
107
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
108
|
+
def set_project_location_autoscaling_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
109
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
110
|
+
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
|
111
|
+
command.request_object = set_iam_policy_request_object
|
112
|
+
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
113
|
+
command.response_class = Google::Apis::DataprocV1::Policy
|
114
|
+
command.params['resource'] = resource unless resource.nil?
|
115
|
+
command.query['fields'] = fields unless fields.nil?
|
116
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
117
|
+
execute_or_queue_command(command, &block)
|
118
|
+
end
|
119
|
+
|
120
|
+
# Returns permissions that a caller has on the specified resource. If the
|
121
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
122
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
123
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
124
|
+
# This operation may "fail open" without warning.
|
125
|
+
# @param [String] resource
|
126
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
127
|
+
# operation documentation for the appropriate value for this field.
|
128
|
+
# @param [Google::Apis::DataprocV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
129
|
+
# @param [String] fields
|
130
|
+
# Selector specifying which fields to include in a partial response.
|
131
|
+
# @param [String] quota_user
|
132
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
133
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
134
|
+
# @param [Google::Apis::RequestOptions] options
|
135
|
+
# Request-specific options
|
136
|
+
#
|
137
|
+
# @yield [result, err] Result & error if block supplied
|
138
|
+
# @yieldparam result [Google::Apis::DataprocV1::TestIamPermissionsResponse] parsed result object
|
139
|
+
# @yieldparam err [StandardError] error object if request failed
|
140
|
+
#
|
141
|
+
# @return [Google::Apis::DataprocV1::TestIamPermissionsResponse]
|
142
|
+
#
|
143
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
144
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
145
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
146
|
+
def test_project_location_autoscaling_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
147
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
148
|
+
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
|
149
|
+
command.request_object = test_iam_permissions_request_object
|
150
|
+
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
|
151
|
+
command.response_class = Google::Apis::DataprocV1::TestIamPermissionsResponse
|
152
|
+
command.params['resource'] = resource unless resource.nil?
|
153
|
+
command.query['fields'] = fields unless fields.nil?
|
154
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
155
|
+
execute_or_queue_command(command, &block)
|
156
|
+
end
|
157
|
+
|
50
158
|
# Creates new workflow template.
|
51
159
|
# @param [String] parent
|
52
160
|
# Required. The "resource name" of the region, as described in https://cloud.
|
@@ -71,7 +179,7 @@ module Google
|
|
71
179
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
180
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
181
|
def create_project_location_workflow_template(parent, workflow_template_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
-
command =
|
182
|
+
command = make_simple_command(:post, 'v1/{+parent}/workflowTemplates', options)
|
75
183
|
command.request_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
|
76
184
|
command.request_object = workflow_template_object
|
77
185
|
command.response_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
|
@@ -108,7 +216,7 @@ module Google
|
|
108
216
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
109
217
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
110
218
|
def delete_project_location_workflow_template(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
111
|
-
command =
|
219
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
112
220
|
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
|
113
221
|
command.response_class = Google::Apis::DataprocV1::Empty
|
114
222
|
command.params['name'] = name unless name.nil?
|
@@ -146,7 +254,7 @@ module Google
|
|
146
254
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
147
255
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
148
256
|
def get_project_location_workflow_template(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
149
|
-
command =
|
257
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
150
258
|
command.response_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
|
151
259
|
command.response_class = Google::Apis::DataprocV1::WorkflowTemplate
|
152
260
|
command.params['name'] = name unless name.nil?
|
@@ -180,7 +288,7 @@ module Google
|
|
180
288
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
181
289
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
182
290
|
def get_project_location_workflow_template_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
183
|
-
command =
|
291
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
184
292
|
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
|
185
293
|
command.request_object = get_iam_policy_request_object
|
186
294
|
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
@@ -221,7 +329,7 @@ module Google
|
|
221
329
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
222
330
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
223
331
|
def instantiate_project_location_workflow_template(name, instantiate_workflow_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
224
|
-
command =
|
332
|
+
command = make_simple_command(:post, 'v1/{+name}:instantiate', options)
|
225
333
|
command.request_representation = Google::Apis::DataprocV1::InstantiateWorkflowTemplateRequest::Representation
|
226
334
|
command.request_object = instantiate_workflow_template_request_object
|
227
335
|
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
@@ -270,7 +378,7 @@ module Google
|
|
270
378
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
271
379
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
272
380
|
def instantiate_project_location_workflow_template_inline(parent, workflow_template_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
273
|
-
command =
|
381
|
+
command = make_simple_command(:post, 'v1/{+parent}/workflowTemplates:instantiateInline', options)
|
274
382
|
command.request_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
|
275
383
|
command.request_object = workflow_template_object
|
276
384
|
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
@@ -310,7 +418,7 @@ module Google
|
|
310
418
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
311
419
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
312
420
|
def list_project_location_workflow_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
313
|
-
command =
|
421
|
+
command = make_simple_command(:get, 'v1/{+parent}/workflowTemplates', options)
|
314
422
|
command.response_representation = Google::Apis::DataprocV1::ListWorkflowTemplatesResponse::Representation
|
315
423
|
command.response_class = Google::Apis::DataprocV1::ListWorkflowTemplatesResponse
|
316
424
|
command.params['parent'] = parent unless parent.nil?
|
@@ -345,7 +453,7 @@ module Google
|
|
345
453
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
346
454
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
347
455
|
def set_project_location_workflow_template_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
348
|
-
command =
|
456
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
349
457
|
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
|
350
458
|
command.request_object = set_iam_policy_request_object
|
351
459
|
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
@@ -383,7 +491,7 @@ module Google
|
|
383
491
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
384
492
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
385
493
|
def test_project_location_workflow_template_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
386
|
-
command =
|
494
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
387
495
|
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
|
388
496
|
command.request_object = test_iam_permissions_request_object
|
389
497
|
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
|
@@ -419,7 +527,7 @@ module Google
|
|
419
527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
420
528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
421
529
|
def update_project_location_workflow_template(name, workflow_template_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
422
|
-
command =
|
530
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
423
531
|
command.request_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
|
424
532
|
command.request_object = workflow_template_object
|
425
533
|
command.response_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
|
@@ -430,6 +538,114 @@ module Google
|
|
430
538
|
execute_or_queue_command(command, &block)
|
431
539
|
end
|
432
540
|
|
541
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
542
|
+
# resource exists and does not have a policy set.
|
543
|
+
# @param [String] resource
|
544
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
545
|
+
# operation documentation for the appropriate value for this field.
|
546
|
+
# @param [Google::Apis::DataprocV1::GetIamPolicyRequest] get_iam_policy_request_object
|
547
|
+
# @param [String] fields
|
548
|
+
# Selector specifying which fields to include in a partial response.
|
549
|
+
# @param [String] quota_user
|
550
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
551
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
552
|
+
# @param [Google::Apis::RequestOptions] options
|
553
|
+
# Request-specific options
|
554
|
+
#
|
555
|
+
# @yield [result, err] Result & error if block supplied
|
556
|
+
# @yieldparam result [Google::Apis::DataprocV1::Policy] parsed result object
|
557
|
+
# @yieldparam err [StandardError] error object if request failed
|
558
|
+
#
|
559
|
+
# @return [Google::Apis::DataprocV1::Policy]
|
560
|
+
#
|
561
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
562
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
563
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
564
|
+
def get_project_region_autoscaling_policy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
565
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
566
|
+
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
|
567
|
+
command.request_object = get_iam_policy_request_object
|
568
|
+
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
569
|
+
command.response_class = Google::Apis::DataprocV1::Policy
|
570
|
+
command.params['resource'] = resource unless resource.nil?
|
571
|
+
command.query['fields'] = fields unless fields.nil?
|
572
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
573
|
+
execute_or_queue_command(command, &block)
|
574
|
+
end
|
575
|
+
|
576
|
+
# Sets the access control policy on the specified resource. Replaces any
|
577
|
+
# existing policy.
|
578
|
+
# @param [String] resource
|
579
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
580
|
+
# operation documentation for the appropriate value for this field.
|
581
|
+
# @param [Google::Apis::DataprocV1::SetIamPolicyRequest] set_iam_policy_request_object
|
582
|
+
# @param [String] fields
|
583
|
+
# Selector specifying which fields to include in a partial response.
|
584
|
+
# @param [String] quota_user
|
585
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
586
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
587
|
+
# @param [Google::Apis::RequestOptions] options
|
588
|
+
# Request-specific options
|
589
|
+
#
|
590
|
+
# @yield [result, err] Result & error if block supplied
|
591
|
+
# @yieldparam result [Google::Apis::DataprocV1::Policy] parsed result object
|
592
|
+
# @yieldparam err [StandardError] error object if request failed
|
593
|
+
#
|
594
|
+
# @return [Google::Apis::DataprocV1::Policy]
|
595
|
+
#
|
596
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
597
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
598
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
599
|
+
def set_project_region_autoscaling_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
600
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
601
|
+
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
|
602
|
+
command.request_object = set_iam_policy_request_object
|
603
|
+
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
604
|
+
command.response_class = Google::Apis::DataprocV1::Policy
|
605
|
+
command.params['resource'] = resource unless resource.nil?
|
606
|
+
command.query['fields'] = fields unless fields.nil?
|
607
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
608
|
+
execute_or_queue_command(command, &block)
|
609
|
+
end
|
610
|
+
|
611
|
+
# Returns permissions that a caller has on the specified resource. If the
|
612
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
613
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
614
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
615
|
+
# This operation may "fail open" without warning.
|
616
|
+
# @param [String] resource
|
617
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
618
|
+
# operation documentation for the appropriate value for this field.
|
619
|
+
# @param [Google::Apis::DataprocV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
620
|
+
# @param [String] fields
|
621
|
+
# Selector specifying which fields to include in a partial response.
|
622
|
+
# @param [String] quota_user
|
623
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
624
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
625
|
+
# @param [Google::Apis::RequestOptions] options
|
626
|
+
# Request-specific options
|
627
|
+
#
|
628
|
+
# @yield [result, err] Result & error if block supplied
|
629
|
+
# @yieldparam result [Google::Apis::DataprocV1::TestIamPermissionsResponse] parsed result object
|
630
|
+
# @yieldparam err [StandardError] error object if request failed
|
631
|
+
#
|
632
|
+
# @return [Google::Apis::DataprocV1::TestIamPermissionsResponse]
|
633
|
+
#
|
634
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
635
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
636
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
637
|
+
def test_project_region_autoscaling_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
638
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
639
|
+
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
|
640
|
+
command.request_object = test_iam_permissions_request_object
|
641
|
+
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
|
642
|
+
command.response_class = Google::Apis::DataprocV1::TestIamPermissionsResponse
|
643
|
+
command.params['resource'] = resource unless resource.nil?
|
644
|
+
command.query['fields'] = fields unless fields.nil?
|
645
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
646
|
+
execute_or_queue_command(command, &block)
|
647
|
+
end
|
648
|
+
|
433
649
|
# Creates a cluster in a project.
|
434
650
|
# @param [String] project_id
|
435
651
|
# Required. The ID of the Google Cloud Platform project that the cluster belongs
|
@@ -463,7 +679,7 @@ module Google
|
|
463
679
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
464
680
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
465
681
|
def create_cluster(project_id, region, cluster_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
466
|
-
command =
|
682
|
+
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters', options)
|
467
683
|
command.request_representation = Google::Apis::DataprocV1::Cluster::Representation
|
468
684
|
command.request_object = cluster_object
|
469
685
|
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
@@ -513,7 +729,7 @@ module Google
|
|
513
729
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
514
730
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
515
731
|
def delete_cluster(project_id, region, cluster_name, cluster_uuid: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
516
|
-
command =
|
732
|
+
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
517
733
|
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
518
734
|
command.response_class = Google::Apis::DataprocV1::Operation
|
519
735
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -554,7 +770,7 @@ module Google
|
|
554
770
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
555
771
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
556
772
|
def diagnose_cluster(project_id, region, cluster_name, diagnose_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
557
|
-
command =
|
773
|
+
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose', options)
|
558
774
|
command.request_representation = Google::Apis::DataprocV1::DiagnoseClusterRequest::Representation
|
559
775
|
command.request_object = diagnose_cluster_request_object
|
560
776
|
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
@@ -593,7 +809,7 @@ module Google
|
|
593
809
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
594
810
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
595
811
|
def get_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block)
|
596
|
-
command =
|
812
|
+
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
597
813
|
command.response_representation = Google::Apis::DataprocV1::Cluster::Representation
|
598
814
|
command.response_class = Google::Apis::DataprocV1::Cluster
|
599
815
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -628,7 +844,7 @@ module Google
|
|
628
844
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
629
845
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
630
846
|
def get_cluster_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
631
|
-
command =
|
847
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
632
848
|
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
|
633
849
|
command.request_object = get_iam_policy_request_object
|
634
850
|
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
@@ -679,7 +895,7 @@ module Google
|
|
679
895
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
680
896
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
681
897
|
def list_clusters(project_id, region, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
682
|
-
command =
|
898
|
+
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters', options)
|
683
899
|
command.response_representation = Google::Apis::DataprocV1::ListClustersResponse::Representation
|
684
900
|
command.response_class = Google::Apis::DataprocV1::ListClustersResponse
|
685
901
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -762,7 +978,7 @@ module Google
|
|
762
978
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
763
979
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
764
980
|
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)
|
765
|
-
command =
|
981
|
+
command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
766
982
|
command.request_representation = Google::Apis::DataprocV1::Cluster::Representation
|
767
983
|
command.request_object = cluster_object
|
768
984
|
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
@@ -802,7 +1018,7 @@ module Google
|
|
802
1018
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
803
1019
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
804
1020
|
def set_cluster_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
805
|
-
command =
|
1021
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
806
1022
|
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
|
807
1023
|
command.request_object = set_iam_policy_request_object
|
808
1024
|
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
@@ -840,7 +1056,7 @@ module Google
|
|
840
1056
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
841
1057
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
842
1058
|
def test_cluster_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
843
|
-
command =
|
1059
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
844
1060
|
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
|
845
1061
|
command.request_object = test_iam_permissions_request_object
|
846
1062
|
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
|
@@ -878,7 +1094,7 @@ module Google
|
|
878
1094
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
879
1095
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
880
1096
|
def cancel_job(project_id, region, job_id, cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
881
|
-
command =
|
1097
|
+
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', options)
|
882
1098
|
command.request_representation = Google::Apis::DataprocV1::CancelJobRequest::Representation
|
883
1099
|
command.request_object = cancel_job_request_object
|
884
1100
|
command.response_representation = Google::Apis::DataprocV1::Job::Representation
|
@@ -917,7 +1133,7 @@ module Google
|
|
917
1133
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
918
1134
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
919
1135
|
def delete_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
|
920
|
-
command =
|
1136
|
+
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
|
921
1137
|
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
|
922
1138
|
command.response_class = Google::Apis::DataprocV1::Empty
|
923
1139
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -953,7 +1169,7 @@ module Google
|
|
953
1169
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
954
1170
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
955
1171
|
def get_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
|
956
|
-
command =
|
1172
|
+
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
|
957
1173
|
command.response_representation = Google::Apis::DataprocV1::Job::Representation
|
958
1174
|
command.response_class = Google::Apis::DataprocV1::Job
|
959
1175
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -988,7 +1204,7 @@ module Google
|
|
988
1204
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
989
1205
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
990
1206
|
def get_job_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
991
|
-
command =
|
1207
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
992
1208
|
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
|
993
1209
|
command.request_object = get_iam_policy_request_object
|
994
1210
|
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
@@ -1041,7 +1257,7 @@ module Google
|
|
1041
1257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1042
1258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1043
1259
|
def list_jobs(project_id, region, cluster_name: nil, filter: nil, job_state_matcher: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1044
|
-
command =
|
1260
|
+
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs', options)
|
1045
1261
|
command.response_representation = Google::Apis::DataprocV1::ListJobsResponse::Representation
|
1046
1262
|
command.response_class = Google::Apis::DataprocV1::ListJobsResponse
|
1047
1263
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -1088,7 +1304,7 @@ module Google
|
|
1088
1304
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1089
1305
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1090
1306
|
def patch_project_region_job(project_id, region, job_id, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1091
|
-
command =
|
1307
|
+
command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
|
1092
1308
|
command.request_representation = Google::Apis::DataprocV1::Job::Representation
|
1093
1309
|
command.request_object = job_object
|
1094
1310
|
command.response_representation = Google::Apis::DataprocV1::Job::Representation
|
@@ -1126,7 +1342,7 @@ module Google
|
|
1126
1342
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1127
1343
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1128
1344
|
def set_job_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1129
|
-
command =
|
1345
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1130
1346
|
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
|
1131
1347
|
command.request_object = set_iam_policy_request_object
|
1132
1348
|
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
@@ -1161,7 +1377,7 @@ module Google
|
|
1161
1377
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1162
1378
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1163
1379
|
def submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1164
|
-
command =
|
1380
|
+
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs:submit', options)
|
1165
1381
|
command.request_representation = Google::Apis::DataprocV1::SubmitJobRequest::Representation
|
1166
1382
|
command.request_object = submit_job_request_object
|
1167
1383
|
command.response_representation = Google::Apis::DataprocV1::Job::Representation
|
@@ -1200,7 +1416,7 @@ module Google
|
|
1200
1416
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1201
1417
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1202
1418
|
def test_job_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1203
|
-
command =
|
1419
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1204
1420
|
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
|
1205
1421
|
command.request_object = test_iam_permissions_request_object
|
1206
1422
|
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
|
@@ -1239,7 +1455,7 @@ module Google
|
|
1239
1455
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1240
1456
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1241
1457
|
def cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1242
|
-
command =
|
1458
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
1243
1459
|
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
|
1244
1460
|
command.response_class = Google::Apis::DataprocV1::Empty
|
1245
1461
|
command.params['name'] = name unless name.nil?
|
@@ -1272,7 +1488,7 @@ module Google
|
|
1272
1488
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1273
1489
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1274
1490
|
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1275
|
-
command =
|
1491
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1276
1492
|
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
|
1277
1493
|
command.response_class = Google::Apis::DataprocV1::Empty
|
1278
1494
|
command.params['name'] = name unless name.nil?
|
@@ -1303,7 +1519,7 @@ module Google
|
|
1303
1519
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1304
1520
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1305
1521
|
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1306
|
-
command =
|
1522
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1307
1523
|
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
1308
1524
|
command.response_class = Google::Apis::DataprocV1::Operation
|
1309
1525
|
command.params['name'] = name unless name.nil?
|
@@ -1336,7 +1552,7 @@ module Google
|
|
1336
1552
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1337
1553
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1338
1554
|
def get_operation_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1339
|
-
command =
|
1555
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
1340
1556
|
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
|
1341
1557
|
command.request_object = get_iam_policy_request_object
|
1342
1558
|
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
@@ -1381,7 +1597,7 @@ module Google
|
|
1381
1597
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1382
1598
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1383
1599
|
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1384
|
-
command =
|
1600
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1385
1601
|
command.response_representation = Google::Apis::DataprocV1::ListOperationsResponse::Representation
|
1386
1602
|
command.response_class = Google::Apis::DataprocV1::ListOperationsResponse
|
1387
1603
|
command.params['name'] = name unless name.nil?
|
@@ -1417,7 +1633,7 @@ module Google
|
|
1417
1633
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1418
1634
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1419
1635
|
def set_operation_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1420
|
-
command =
|
1636
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1421
1637
|
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
|
1422
1638
|
command.request_object = set_iam_policy_request_object
|
1423
1639
|
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
@@ -1455,7 +1671,7 @@ module Google
|
|
1455
1671
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1456
1672
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1457
1673
|
def test_operation_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1458
|
-
command =
|
1674
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1459
1675
|
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
|
1460
1676
|
command.request_object = test_iam_permissions_request_object
|
1461
1677
|
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
|
@@ -1490,7 +1706,7 @@ module Google
|
|
1490
1706
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1491
1707
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1492
1708
|
def create_project_region_workflow_template(parent, workflow_template_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1493
|
-
command =
|
1709
|
+
command = make_simple_command(:post, 'v1/{+parent}/workflowTemplates', options)
|
1494
1710
|
command.request_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
|
1495
1711
|
command.request_object = workflow_template_object
|
1496
1712
|
command.response_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
|
@@ -1527,7 +1743,7 @@ module Google
|
|
1527
1743
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1528
1744
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1529
1745
|
def delete_project_region_workflow_template(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1530
|
-
command =
|
1746
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1531
1747
|
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
|
1532
1748
|
command.response_class = Google::Apis::DataprocV1::Empty
|
1533
1749
|
command.params['name'] = name unless name.nil?
|
@@ -1565,7 +1781,7 @@ module Google
|
|
1565
1781
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1566
1782
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1567
1783
|
def get_project_region_workflow_template(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1568
|
-
command =
|
1784
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1569
1785
|
command.response_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
|
1570
1786
|
command.response_class = Google::Apis::DataprocV1::WorkflowTemplate
|
1571
1787
|
command.params['name'] = name unless name.nil?
|
@@ -1599,7 +1815,7 @@ module Google
|
|
1599
1815
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1600
1816
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1601
1817
|
def get_project_region_workflow_template_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1602
|
-
command =
|
1818
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
1603
1819
|
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
|
1604
1820
|
command.request_object = get_iam_policy_request_object
|
1605
1821
|
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
@@ -1640,7 +1856,7 @@ module Google
|
|
1640
1856
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1641
1857
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1642
1858
|
def instantiate_project_region_workflow_template(name, instantiate_workflow_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1643
|
-
command =
|
1859
|
+
command = make_simple_command(:post, 'v1/{+name}:instantiate', options)
|
1644
1860
|
command.request_representation = Google::Apis::DataprocV1::InstantiateWorkflowTemplateRequest::Representation
|
1645
1861
|
command.request_object = instantiate_workflow_template_request_object
|
1646
1862
|
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
@@ -1689,7 +1905,7 @@ module Google
|
|
1689
1905
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1690
1906
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1691
1907
|
def instantiate_project_region_workflow_template_inline(parent, workflow_template_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1692
|
-
command =
|
1908
|
+
command = make_simple_command(:post, 'v1/{+parent}/workflowTemplates:instantiateInline', options)
|
1693
1909
|
command.request_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
|
1694
1910
|
command.request_object = workflow_template_object
|
1695
1911
|
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
@@ -1729,7 +1945,7 @@ module Google
|
|
1729
1945
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1730
1946
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1731
1947
|
def list_project_region_workflow_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1732
|
-
command =
|
1948
|
+
command = make_simple_command(:get, 'v1/{+parent}/workflowTemplates', options)
|
1733
1949
|
command.response_representation = Google::Apis::DataprocV1::ListWorkflowTemplatesResponse::Representation
|
1734
1950
|
command.response_class = Google::Apis::DataprocV1::ListWorkflowTemplatesResponse
|
1735
1951
|
command.params['parent'] = parent unless parent.nil?
|
@@ -1764,7 +1980,7 @@ module Google
|
|
1764
1980
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1765
1981
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1766
1982
|
def set_project_region_workflow_template_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1767
|
-
command =
|
1983
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1768
1984
|
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
|
1769
1985
|
command.request_object = set_iam_policy_request_object
|
1770
1986
|
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
|
@@ -1802,7 +2018,7 @@ module Google
|
|
1802
2018
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1803
2019
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1804
2020
|
def test_project_region_workflow_template_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1805
|
-
command =
|
2021
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1806
2022
|
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
|
1807
2023
|
command.request_object = test_iam_permissions_request_object
|
1808
2024
|
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
|
@@ -1838,7 +2054,7 @@ module Google
|
|
1838
2054
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1839
2055
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1840
2056
|
def update_project_region_workflow_template(name, workflow_template_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1841
|
-
command =
|
2057
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
1842
2058
|
command.request_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
|
1843
2059
|
command.request_object = workflow_template_object
|
1844
2060
|
command.response_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
|