google-api-client 0.28.4 → 0.28.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/build.sh +3 -5
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/CHANGELOG.md +147 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +46 -30
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +3 -2
- data/generated/google/apis/alertcenter_v1beta1/service.rb +7 -7
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +30 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +59 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +43 -98
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +0 -97
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +3 -99
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +244 -173
- data/generated/google/apis/bigquery_v2/representations.rb +79 -58
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +10 -10
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +38 -6
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +4 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1/classes.rb +805 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +263 -0
- data/generated/google/apis/cloudasset_v1/service.rb +190 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +20 -18
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +149 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +65 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +11 -4
- data/generated/google/apis/cloudfunctions_v1/service.rb +8 -2
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +6 -0
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +13 -13
- data/generated/google/apis/cloudidentity_v1/service.rb +6 -15
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +10 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +4 -10
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +17 -16
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +14 -15
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +14 -15
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +60 -44
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +5 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +220 -48
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +15 -13
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +10 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +17 -10
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2/classes.rb +1432 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +119 -88
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +3 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +122 -90
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +3 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +165 -29
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +7147 -4656
- data/generated/google/apis/compute_alpha/representations.rb +1205 -236
- data/generated/google/apis/compute_alpha/service.rb +4338 -3274
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +5974 -4567
- data/generated/google/apis/compute_beta/representations.rb +846 -283
- data/generated/google/apis/compute_beta/service.rb +4274 -3153
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +325 -50
- data/generated/google/apis/compute_v1/representations.rb +104 -1
- data/generated/google/apis/compute_v1/service.rb +153 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1 -0
- data/generated/google/apis/container_v1/service.rb +4 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +7 -0
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +4 -4
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +25 -17
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +137 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +204 -93
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +82 -41
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +360 -209
- data/generated/google/apis/content_v2_1/representations.rb +129 -56
- data/generated/google/apis/content_v2_1/service.rb +97 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +51 -19
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +133 -25
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +20 -15
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +516 -45
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +575 -6
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +126 -77
- data/generated/google/apis/dialogflow_v2/service.rb +40 -24
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +126 -77
- data/generated/google/apis/dialogflow_v2beta1/service.rb +40 -24
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -41
- data/generated/google/apis/dlp_v2/representations.rb +12 -0
- data/generated/google/apis/dlp_v2/service.rb +35 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +163 -190
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -110
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +117 -248
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +163 -190
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +15 -110
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +118 -47
- data/generated/google/apis/docs_v1/representations.rb +39 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +3 -2
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +203 -10
- data/generated/google/apis/file_v1/representations.rb +70 -0
- data/generated/google/apis/file_v1/service.rb +190 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +10 -10
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +13 -10
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +3 -0
- data/generated/google/apis/fitness_v1/service.rb +1 -45
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +11 -51
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +19 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +1 -2
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +123 -1
- data/generated/google/apis/iam_v1/representations.rb +67 -0
- data/generated/google/apis/iam_v1/service.rb +198 -5
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +10 -5
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +7 -9
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +11 -11
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +5 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -3
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +2 -3
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +158 -36
- data/generated/google/apis/ml_v1/representations.rb +23 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -7
- data/generated/google/apis/monitoring_v3/service.rb +6 -1
- data/generated/google/apis/oauth2_v1.rb +2 -5
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +0 -159
- data/generated/google/apis/oauth2_v2.rb +2 -5
- data/generated/google/apis/people_v1.rb +3 -3
- data/generated/google/apis/people_v1/classes.rb +19 -18
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/plus_domains_v1.rb +3 -3
- data/generated/google/apis/plus_v1.rb +3 -3
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +5 -4
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +53 -38
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +6 -29
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +0 -10
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +42 -28
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +42 -28
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +52 -38
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +25 -24
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +0 -6
- data/generated/google/apis/script_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +73 -151
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +48 -50
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +108 -24
- data/generated/google/apis/servicecontrol_v1/representations.rb +45 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +35 -113
- data/generated/google/apis/servicemanagement_v1/service.rb +6 -3
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1/classes.rb +3591 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1082 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -110
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +33 -150
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -190
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +171 -0
- data/generated/google/apis/spanner_v1/representations.rb +49 -0
- data/generated/google/apis/spanner_v1/service.rb +51 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +107 -10
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +16 -10
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +11 -15
- 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/classes.rb +57 -4
- data/generated/google/apis/storage_v1/representations.rb +19 -1
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/storagetransfer_v1/classes.rb +28 -21
- data/generated/google/apis/storagetransfer_v1/service.rb +4 -4
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -26
- data/generated/google/apis/streetviewpublish_v1/service.rb +27 -31
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +0 -46
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +219 -181
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/tasks_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +13 -13
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +92 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +47 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +10 -10
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -10
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +7 -0
- data/generated/google/apis/vault_v1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1977 -40
- data/generated/google/apis/vision_v1/representations.rb +833 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1972 -35
- data/generated/google/apis/vision_v1p1beta1/representations.rb +833 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1972 -35
- data/generated/google/apis/vision_v1p2beta1/representations.rb +833 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -8
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
@@ -28,7 +28,25 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class AutoscalingConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AutoscalingPolicy
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class BasicAutoscalingAlgorithm
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class BasicYarnAutoscalingConfig
|
32
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
51
|
|
34
52
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -124,6 +142,12 @@ module Google
|
|
124
142
|
include Google::Apis::Core::JsonObjectSupport
|
125
143
|
end
|
126
144
|
|
145
|
+
class EndpointConfig
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
127
151
|
class Expr
|
128
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
153
|
|
@@ -154,6 +178,12 @@ module Google
|
|
154
178
|
include Google::Apis::Core::JsonObjectSupport
|
155
179
|
end
|
156
180
|
|
181
|
+
class InstanceGroupAutoscalingPolicyConfig
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
157
187
|
class InstanceGroupConfig
|
158
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
189
|
|
@@ -196,12 +226,24 @@ module Google
|
|
196
226
|
include Google::Apis::Core::JsonObjectSupport
|
197
227
|
end
|
198
228
|
|
229
|
+
class KerberosConfig
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
199
235
|
class LifecycleConfig
|
200
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
237
|
|
202
238
|
include Google::Apis::Core::JsonObjectSupport
|
203
239
|
end
|
204
240
|
|
241
|
+
class ListAutoscalingPoliciesResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
205
247
|
class ListClustersResponse
|
206
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
249
|
|
@@ -280,6 +322,12 @@ module Google
|
|
280
322
|
include Google::Apis::Core::JsonObjectSupport
|
281
323
|
end
|
282
324
|
|
325
|
+
class PrestoJob
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
283
331
|
class PySparkJob
|
284
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
333
|
|
@@ -298,6 +346,18 @@ module Google
|
|
298
346
|
include Google::Apis::Core::JsonObjectSupport
|
299
347
|
end
|
300
348
|
|
349
|
+
class ReservationAffinity
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class SecurityConfig
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
301
361
|
class SetIamPolicyRequest
|
302
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
363
|
|
@@ -408,12 +468,44 @@ module Google
|
|
408
468
|
end
|
409
469
|
end
|
410
470
|
|
411
|
-
class
|
471
|
+
class AutoscalingConfig
|
412
472
|
# @private
|
413
473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
414
|
-
property :
|
415
|
-
|
416
|
-
|
474
|
+
property :policy_uri, as: 'policyUri'
|
475
|
+
end
|
476
|
+
end
|
477
|
+
|
478
|
+
class AutoscalingPolicy
|
479
|
+
# @private
|
480
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
481
|
+
property :basic_algorithm, as: 'basicAlgorithm', class: Google::Apis::DataprocV1beta2::BasicAutoscalingAlgorithm, decorator: Google::Apis::DataprocV1beta2::BasicAutoscalingAlgorithm::Representation
|
482
|
+
|
483
|
+
property :id, as: 'id'
|
484
|
+
property :name, as: 'name'
|
485
|
+
property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1beta2::InstanceGroupAutoscalingPolicyConfig, decorator: Google::Apis::DataprocV1beta2::InstanceGroupAutoscalingPolicyConfig::Representation
|
486
|
+
|
487
|
+
property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1beta2::InstanceGroupAutoscalingPolicyConfig, decorator: Google::Apis::DataprocV1beta2::InstanceGroupAutoscalingPolicyConfig::Representation
|
488
|
+
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
class BasicAutoscalingAlgorithm
|
493
|
+
# @private
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
495
|
+
property :cooldown_period, as: 'cooldownPeriod'
|
496
|
+
property :yarn_config, as: 'yarnConfig', class: Google::Apis::DataprocV1beta2::BasicYarnAutoscalingConfig, decorator: Google::Apis::DataprocV1beta2::BasicYarnAutoscalingConfig::Representation
|
497
|
+
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
class BasicYarnAutoscalingConfig
|
502
|
+
# @private
|
503
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
504
|
+
property :graceful_decommission_timeout, as: 'gracefulDecommissionTimeout'
|
505
|
+
property :scale_down_factor, as: 'scaleDownFactor'
|
506
|
+
property :scale_down_min_worker_fraction, as: 'scaleDownMinWorkerFraction'
|
507
|
+
property :scale_up_factor, as: 'scaleUpFactor'
|
508
|
+
property :scale_up_min_worker_fraction, as: 'scaleUpMinWorkerFraction'
|
417
509
|
end
|
418
510
|
end
|
419
511
|
|
@@ -454,9 +546,13 @@ module Google
|
|
454
546
|
class ClusterConfig
|
455
547
|
# @private
|
456
548
|
class Representation < Google::Apis::Core::JsonRepresentation
|
549
|
+
property :autoscaling_config, as: 'autoscalingConfig', class: Google::Apis::DataprocV1beta2::AutoscalingConfig, decorator: Google::Apis::DataprocV1beta2::AutoscalingConfig::Representation
|
550
|
+
|
457
551
|
property :config_bucket, as: 'configBucket'
|
458
552
|
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::DataprocV1beta2::EncryptionConfig, decorator: Google::Apis::DataprocV1beta2::EncryptionConfig::Representation
|
459
553
|
|
554
|
+
property :endpoint_config, as: 'endpointConfig', class: Google::Apis::DataprocV1beta2::EndpointConfig, decorator: Google::Apis::DataprocV1beta2::EndpointConfig::Representation
|
555
|
+
|
460
556
|
property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1beta2::GceClusterConfig, decorator: Google::Apis::DataprocV1beta2::GceClusterConfig::Representation
|
461
557
|
|
462
558
|
collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1beta2::NodeInitializationAction, decorator: Google::Apis::DataprocV1beta2::NodeInitializationAction::Representation
|
@@ -467,6 +563,8 @@ module Google
|
|
467
563
|
|
468
564
|
property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1beta2::InstanceGroupConfig, decorator: Google::Apis::DataprocV1beta2::InstanceGroupConfig::Representation
|
469
565
|
|
566
|
+
property :security_config, as: 'securityConfig', class: Google::Apis::DataprocV1beta2::SecurityConfig, decorator: Google::Apis::DataprocV1beta2::SecurityConfig::Representation
|
567
|
+
|
470
568
|
property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1beta2::SoftwareConfig, decorator: Google::Apis::DataprocV1beta2::SoftwareConfig::Representation
|
471
569
|
|
472
570
|
property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1beta2::InstanceGroupConfig, decorator: Google::Apis::DataprocV1beta2::InstanceGroupConfig::Representation
|
@@ -570,6 +668,14 @@ module Google
|
|
570
668
|
end
|
571
669
|
end
|
572
670
|
|
671
|
+
class EndpointConfig
|
672
|
+
# @private
|
673
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
674
|
+
property :enable_http_port_access, as: 'enableHttpPortAccess'
|
675
|
+
hash :http_ports, as: 'httpPorts'
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
573
679
|
class Expr
|
574
680
|
# @private
|
575
681
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -583,11 +689,11 @@ module Google
|
|
583
689
|
class GceClusterConfig
|
584
690
|
# @private
|
585
691
|
class Representation < Google::Apis::Core::JsonRepresentation
|
586
|
-
property :allocation_affinity, as: 'allocationAffinity', class: Google::Apis::DataprocV1beta2::AllocationAffinity, decorator: Google::Apis::DataprocV1beta2::AllocationAffinity::Representation
|
587
|
-
|
588
692
|
property :internal_ip_only, as: 'internalIpOnly'
|
589
693
|
hash :metadata, as: 'metadata'
|
590
694
|
property :network_uri, as: 'networkUri'
|
695
|
+
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::DataprocV1beta2::ReservationAffinity, decorator: Google::Apis::DataprocV1beta2::ReservationAffinity::Representation
|
696
|
+
|
591
697
|
property :service_account, as: 'serviceAccount'
|
592
698
|
collection :service_account_scopes, as: 'serviceAccountScopes'
|
593
699
|
property :subnetwork_uri, as: 'subnetworkUri'
|
@@ -630,6 +736,15 @@ module Google
|
|
630
736
|
end
|
631
737
|
end
|
632
738
|
|
739
|
+
class InstanceGroupAutoscalingPolicyConfig
|
740
|
+
# @private
|
741
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
742
|
+
property :max_instances, as: 'maxInstances'
|
743
|
+
property :min_instances, as: 'minInstances'
|
744
|
+
property :weight, as: 'weight'
|
745
|
+
end
|
746
|
+
end
|
747
|
+
|
633
748
|
class InstanceGroupConfig
|
634
749
|
# @private
|
635
750
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -673,6 +788,8 @@ module Google
|
|
673
788
|
|
674
789
|
property :placement, as: 'placement', class: Google::Apis::DataprocV1beta2::JobPlacement, decorator: Google::Apis::DataprocV1beta2::JobPlacement::Representation
|
675
790
|
|
791
|
+
property :presto_job, as: 'prestoJob', class: Google::Apis::DataprocV1beta2::PrestoJob, decorator: Google::Apis::DataprocV1beta2::PrestoJob::Representation
|
792
|
+
|
676
793
|
property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1beta2::PySparkJob, decorator: Google::Apis::DataprocV1beta2::PySparkJob::Representation
|
677
794
|
|
678
795
|
property :reference, as: 'reference', class: Google::Apis::DataprocV1beta2::JobReference, decorator: Google::Apis::DataprocV1beta2::JobReference::Representation
|
@@ -728,6 +845,26 @@ module Google
|
|
728
845
|
end
|
729
846
|
end
|
730
847
|
|
848
|
+
class KerberosConfig
|
849
|
+
# @private
|
850
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
851
|
+
property :cross_realm_trust_admin_server, as: 'crossRealmTrustAdminServer'
|
852
|
+
property :cross_realm_trust_kdc, as: 'crossRealmTrustKdc'
|
853
|
+
property :cross_realm_trust_realm, as: 'crossRealmTrustRealm'
|
854
|
+
property :cross_realm_trust_shared_password_uri, as: 'crossRealmTrustSharedPasswordUri'
|
855
|
+
property :enable_kerberos, as: 'enableKerberos'
|
856
|
+
property :kdc_db_key_uri, as: 'kdcDbKeyUri'
|
857
|
+
property :key_password_uri, as: 'keyPasswordUri'
|
858
|
+
property :keystore_password_uri, as: 'keystorePasswordUri'
|
859
|
+
property :keystore_uri, as: 'keystoreUri'
|
860
|
+
property :kms_key_uri, as: 'kmsKeyUri'
|
861
|
+
property :root_principal_password_uri, as: 'rootPrincipalPasswordUri'
|
862
|
+
property :tgt_lifetime_hours, as: 'tgtLifetimeHours'
|
863
|
+
property :truststore_password_uri, as: 'truststorePasswordUri'
|
864
|
+
property :truststore_uri, as: 'truststoreUri'
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
731
868
|
class LifecycleConfig
|
732
869
|
# @private
|
733
870
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -737,6 +874,15 @@ module Google
|
|
737
874
|
end
|
738
875
|
end
|
739
876
|
|
877
|
+
class ListAutoscalingPoliciesResponse
|
878
|
+
# @private
|
879
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
880
|
+
property :next_page_token, as: 'nextPageToken'
|
881
|
+
collection :policies, as: 'policies', class: Google::Apis::DataprocV1beta2::AutoscalingPolicy, decorator: Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
882
|
+
|
883
|
+
end
|
884
|
+
end
|
885
|
+
|
740
886
|
class ListClustersResponse
|
741
887
|
# @private
|
742
888
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -876,6 +1022,21 @@ module Google
|
|
876
1022
|
end
|
877
1023
|
end
|
878
1024
|
|
1025
|
+
class PrestoJob
|
1026
|
+
# @private
|
1027
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1028
|
+
collection :client_tags, as: 'clientTags'
|
1029
|
+
property :continue_on_failure, as: 'continueOnFailure'
|
1030
|
+
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1beta2::LoggingConfig, decorator: Google::Apis::DataprocV1beta2::LoggingConfig::Representation
|
1031
|
+
|
1032
|
+
property :output_format, as: 'outputFormat'
|
1033
|
+
hash :properties, as: 'properties'
|
1034
|
+
property :query_file_uri, as: 'queryFileUri'
|
1035
|
+
property :query_list, as: 'queryList', class: Google::Apis::DataprocV1beta2::QueryList, decorator: Google::Apis::DataprocV1beta2::QueryList::Representation
|
1036
|
+
|
1037
|
+
end
|
1038
|
+
end
|
1039
|
+
|
879
1040
|
class PySparkJob
|
880
1041
|
# @private
|
881
1042
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -905,6 +1066,23 @@ module Google
|
|
905
1066
|
end
|
906
1067
|
end
|
907
1068
|
|
1069
|
+
class ReservationAffinity
|
1070
|
+
# @private
|
1071
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1072
|
+
property :consume_reservation_type, as: 'consumeReservationType'
|
1073
|
+
property :key, as: 'key'
|
1074
|
+
collection :values, as: 'values'
|
1075
|
+
end
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
class SecurityConfig
|
1079
|
+
# @private
|
1080
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1081
|
+
property :kerberos_config, as: 'kerberosConfig', class: Google::Apis::DataprocV1beta2::KerberosConfig, decorator: Google::Apis::DataprocV1beta2::KerberosConfig::Representation
|
1082
|
+
|
1083
|
+
end
|
1084
|
+
end
|
1085
|
+
|
908
1086
|
class SetIamPolicyRequest
|
909
1087
|
# @private
|
910
1088
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -47,6 +47,286 @@ module Google
|
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
+
# Creates new autoscaling policy.
|
51
|
+
# @param [String] parent
|
52
|
+
# Required. The "resource name" of the region, as described in https://cloud.
|
53
|
+
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
54
|
+
# regions/`region`.
|
55
|
+
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_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::DataprocV1beta2::AutoscalingPolicy] parsed result object
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
67
|
+
#
|
68
|
+
# @return [Google::Apis::DataprocV1beta2::AutoscalingPolicy]
|
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 create_project_location_autoscaling_policy(parent, autoscaling_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/autoscalingPolicies', options)
|
75
|
+
command.request_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
76
|
+
command.request_object = autoscaling_policy_object
|
77
|
+
command.response_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
78
|
+
command.response_class = Google::Apis::DataprocV1beta2::AutoscalingPolicy
|
79
|
+
command.params['parent'] = parent unless parent.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
|
+
# Deletes an autoscaling policy. It is an error to delete an autoscaling policy
|
86
|
+
# that is in use by one or more clusters.
|
87
|
+
# @param [String] name
|
88
|
+
# Required. The "resource name" of the autoscaling policy, as described in https:
|
89
|
+
# //cloud.google.com/apis/design/resource_names of the form projects/`project_id`
|
90
|
+
# /regions/`region`/autoscalingPolicies/`policy_id`.
|
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::DataprocV1beta2::Empty] parsed result object
|
101
|
+
# @yieldparam err [StandardError] error object if request failed
|
102
|
+
#
|
103
|
+
# @return [Google::Apis::DataprocV1beta2::Empty]
|
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 delete_project_location_autoscaling_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
109
|
+
command = make_simple_command(:delete, 'v1beta2/{+name}', options)
|
110
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Empty::Representation
|
111
|
+
command.response_class = Google::Apis::DataprocV1beta2::Empty
|
112
|
+
command.params['name'] = name unless name.nil?
|
113
|
+
command.query['fields'] = fields unless fields.nil?
|
114
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
115
|
+
execute_or_queue_command(command, &block)
|
116
|
+
end
|
117
|
+
|
118
|
+
# Retrieves autoscaling policy.
|
119
|
+
# @param [String] name
|
120
|
+
# Required. The "resource name" of the autoscaling policy, as described in https:
|
121
|
+
# //cloud.google.com/apis/design/resource_names of the form projects/`project_id`
|
122
|
+
# /regions/`region`/autoscalingPolicies/`policy_id`.
|
123
|
+
# @param [String] fields
|
124
|
+
# Selector specifying which fields to include in a partial response.
|
125
|
+
# @param [String] quota_user
|
126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
128
|
+
# @param [Google::Apis::RequestOptions] options
|
129
|
+
# Request-specific options
|
130
|
+
#
|
131
|
+
# @yield [result, err] Result & error if block supplied
|
132
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::AutoscalingPolicy] parsed result object
|
133
|
+
# @yieldparam err [StandardError] error object if request failed
|
134
|
+
#
|
135
|
+
# @return [Google::Apis::DataprocV1beta2::AutoscalingPolicy]
|
136
|
+
#
|
137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
140
|
+
def get_project_location_autoscaling_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
141
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
142
|
+
command.response_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
143
|
+
command.response_class = Google::Apis::DataprocV1beta2::AutoscalingPolicy
|
144
|
+
command.params['name'] = name unless name.nil?
|
145
|
+
command.query['fields'] = fields unless fields.nil?
|
146
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
147
|
+
execute_or_queue_command(command, &block)
|
148
|
+
end
|
149
|
+
|
150
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
151
|
+
# resource exists and does not have a policy set.
|
152
|
+
# @param [String] resource
|
153
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
154
|
+
# operation documentation for the appropriate value for this field.
|
155
|
+
# @param [String] fields
|
156
|
+
# Selector specifying which fields to include in a partial response.
|
157
|
+
# @param [String] quota_user
|
158
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
159
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
160
|
+
# @param [Google::Apis::RequestOptions] options
|
161
|
+
# Request-specific options
|
162
|
+
#
|
163
|
+
# @yield [result, err] Result & error if block supplied
|
164
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
165
|
+
# @yieldparam err [StandardError] error object if request failed
|
166
|
+
#
|
167
|
+
# @return [Google::Apis::DataprocV1beta2::Policy]
|
168
|
+
#
|
169
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
170
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
171
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
172
|
+
def get_project_location_autoscaling_policy_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
173
|
+
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
174
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
175
|
+
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
176
|
+
command.params['resource'] = resource unless resource.nil?
|
177
|
+
command.query['fields'] = fields unless fields.nil?
|
178
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
179
|
+
execute_or_queue_command(command, &block)
|
180
|
+
end
|
181
|
+
|
182
|
+
# Lists autoscaling policies in the project.
|
183
|
+
# @param [String] parent
|
184
|
+
# Required. The "resource name" of the region, as described in https://cloud.
|
185
|
+
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
186
|
+
# regions/`region`
|
187
|
+
# @param [Fixnum] page_size
|
188
|
+
# Optional. The maximum number of results to return in each response.
|
189
|
+
# @param [String] page_token
|
190
|
+
# Optional. The page token, returned by a previous call, to request the next
|
191
|
+
# page of results.
|
192
|
+
# @param [String] fields
|
193
|
+
# Selector specifying which fields to include in a partial response.
|
194
|
+
# @param [String] quota_user
|
195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
197
|
+
# @param [Google::Apis::RequestOptions] options
|
198
|
+
# Request-specific options
|
199
|
+
#
|
200
|
+
# @yield [result, err] Result & error if block supplied
|
201
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse] parsed result object
|
202
|
+
# @yieldparam err [StandardError] error object if request failed
|
203
|
+
#
|
204
|
+
# @return [Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse]
|
205
|
+
#
|
206
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
207
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
208
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
209
|
+
def list_project_location_autoscaling_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
210
|
+
command = make_simple_command(:get, 'v1beta2/{+parent}/autoscalingPolicies', options)
|
211
|
+
command.response_representation = Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse::Representation
|
212
|
+
command.response_class = Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse
|
213
|
+
command.params['parent'] = parent unless parent.nil?
|
214
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
215
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
216
|
+
command.query['fields'] = fields unless fields.nil?
|
217
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
218
|
+
execute_or_queue_command(command, &block)
|
219
|
+
end
|
220
|
+
|
221
|
+
# Sets the access control policy on the specified resource. Replaces any
|
222
|
+
# existing policy.
|
223
|
+
# @param [String] resource
|
224
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
225
|
+
# operation documentation for the appropriate value for this field.
|
226
|
+
# @param [Google::Apis::DataprocV1beta2::SetIamPolicyRequest] set_iam_policy_request_object
|
227
|
+
# @param [String] fields
|
228
|
+
# Selector specifying which fields to include in a partial response.
|
229
|
+
# @param [String] quota_user
|
230
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
231
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
232
|
+
# @param [Google::Apis::RequestOptions] options
|
233
|
+
# Request-specific options
|
234
|
+
#
|
235
|
+
# @yield [result, err] Result & error if block supplied
|
236
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
237
|
+
# @yieldparam err [StandardError] error object if request failed
|
238
|
+
#
|
239
|
+
# @return [Google::Apis::DataprocV1beta2::Policy]
|
240
|
+
#
|
241
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
242
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
243
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
244
|
+
def set_project_location_autoscaling_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
245
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:setIamPolicy', options)
|
246
|
+
command.request_representation = Google::Apis::DataprocV1beta2::SetIamPolicyRequest::Representation
|
247
|
+
command.request_object = set_iam_policy_request_object
|
248
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
249
|
+
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
250
|
+
command.params['resource'] = resource unless resource.nil?
|
251
|
+
command.query['fields'] = fields unless fields.nil?
|
252
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
253
|
+
execute_or_queue_command(command, &block)
|
254
|
+
end
|
255
|
+
|
256
|
+
# Returns permissions that a caller has on the specified resource. If the
|
257
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
258
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
259
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
260
|
+
# This operation may "fail open" without warning.
|
261
|
+
# @param [String] resource
|
262
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
263
|
+
# operation documentation for the appropriate value for this field.
|
264
|
+
# @param [Google::Apis::DataprocV1beta2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
265
|
+
# @param [String] fields
|
266
|
+
# Selector specifying which fields to include in a partial response.
|
267
|
+
# @param [String] quota_user
|
268
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
269
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
270
|
+
# @param [Google::Apis::RequestOptions] options
|
271
|
+
# Request-specific options
|
272
|
+
#
|
273
|
+
# @yield [result, err] Result & error if block supplied
|
274
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse] parsed result object
|
275
|
+
# @yieldparam err [StandardError] error object if request failed
|
276
|
+
#
|
277
|
+
# @return [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse]
|
278
|
+
#
|
279
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
280
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
281
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
282
|
+
def test_project_location_autoscaling_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
283
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:testIamPermissions', options)
|
284
|
+
command.request_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsRequest::Representation
|
285
|
+
command.request_object = test_iam_permissions_request_object
|
286
|
+
command.response_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse::Representation
|
287
|
+
command.response_class = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse
|
288
|
+
command.params['resource'] = resource unless resource.nil?
|
289
|
+
command.query['fields'] = fields unless fields.nil?
|
290
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
291
|
+
execute_or_queue_command(command, &block)
|
292
|
+
end
|
293
|
+
|
294
|
+
# Updates (replaces) autoscaling policy.Disabled check for update_mask, because
|
295
|
+
# all updates will be full replacements.
|
296
|
+
# @param [String] name
|
297
|
+
# Output only. The "resource name" of the policy, as described in https://cloud.
|
298
|
+
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
299
|
+
# regions/`region`/autoscalingPolicies/`policy_id`.
|
300
|
+
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
|
301
|
+
# @param [String] fields
|
302
|
+
# Selector specifying which fields to include in a partial response.
|
303
|
+
# @param [String] quota_user
|
304
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
305
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
306
|
+
# @param [Google::Apis::RequestOptions] options
|
307
|
+
# Request-specific options
|
308
|
+
#
|
309
|
+
# @yield [result, err] Result & error if block supplied
|
310
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::AutoscalingPolicy] parsed result object
|
311
|
+
# @yieldparam err [StandardError] error object if request failed
|
312
|
+
#
|
313
|
+
# @return [Google::Apis::DataprocV1beta2::AutoscalingPolicy]
|
314
|
+
#
|
315
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
316
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
317
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
318
|
+
def update_project_location_autoscaling_policy(name, autoscaling_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
319
|
+
command = make_simple_command(:put, 'v1beta2/{+name}', options)
|
320
|
+
command.request_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
321
|
+
command.request_object = autoscaling_policy_object
|
322
|
+
command.response_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
323
|
+
command.response_class = Google::Apis::DataprocV1beta2::AutoscalingPolicy
|
324
|
+
command.params['name'] = name unless name.nil?
|
325
|
+
command.query['fields'] = fields unless fields.nil?
|
326
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
327
|
+
execute_or_queue_command(command, &block)
|
328
|
+
end
|
329
|
+
|
50
330
|
# Creates new workflow template.
|
51
331
|
# @param [String] parent
|
52
332
|
# Required. The "resource name" of the region, as described in https://cloud.
|
@@ -430,6 +710,289 @@ module Google
|
|
430
710
|
execute_or_queue_command(command, &block)
|
431
711
|
end
|
432
712
|
|
713
|
+
# Creates new autoscaling policy.
|
714
|
+
# @param [String] parent
|
715
|
+
# Required. The "resource name" of the region, as described in https://cloud.
|
716
|
+
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
717
|
+
# regions/`region`.
|
718
|
+
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
|
719
|
+
# @param [String] fields
|
720
|
+
# Selector specifying which fields to include in a partial response.
|
721
|
+
# @param [String] quota_user
|
722
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
723
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
724
|
+
# @param [Google::Apis::RequestOptions] options
|
725
|
+
# Request-specific options
|
726
|
+
#
|
727
|
+
# @yield [result, err] Result & error if block supplied
|
728
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::AutoscalingPolicy] parsed result object
|
729
|
+
# @yieldparam err [StandardError] error object if request failed
|
730
|
+
#
|
731
|
+
# @return [Google::Apis::DataprocV1beta2::AutoscalingPolicy]
|
732
|
+
#
|
733
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
734
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
735
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
736
|
+
def create_project_region_autoscaling_policy(parent, autoscaling_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
737
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/autoscalingPolicies', options)
|
738
|
+
command.request_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
739
|
+
command.request_object = autoscaling_policy_object
|
740
|
+
command.response_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
741
|
+
command.response_class = Google::Apis::DataprocV1beta2::AutoscalingPolicy
|
742
|
+
command.params['parent'] = parent unless parent.nil?
|
743
|
+
command.query['fields'] = fields unless fields.nil?
|
744
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
745
|
+
execute_or_queue_command(command, &block)
|
746
|
+
end
|
747
|
+
|
748
|
+
# Deletes an autoscaling policy. It is an error to delete an autoscaling policy
|
749
|
+
# that is in use by one or more clusters.
|
750
|
+
# @param [String] name
|
751
|
+
# Required. The "resource name" of the autoscaling policy, as described in https:
|
752
|
+
# //cloud.google.com/apis/design/resource_names of the form projects/`project_id`
|
753
|
+
# /regions/`region`/autoscalingPolicies/`policy_id`.
|
754
|
+
# @param [String] fields
|
755
|
+
# Selector specifying which fields to include in a partial response.
|
756
|
+
# @param [String] quota_user
|
757
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
758
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
759
|
+
# @param [Google::Apis::RequestOptions] options
|
760
|
+
# Request-specific options
|
761
|
+
#
|
762
|
+
# @yield [result, err] Result & error if block supplied
|
763
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Empty] parsed result object
|
764
|
+
# @yieldparam err [StandardError] error object if request failed
|
765
|
+
#
|
766
|
+
# @return [Google::Apis::DataprocV1beta2::Empty]
|
767
|
+
#
|
768
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
769
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
770
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
771
|
+
def delete_project_region_autoscaling_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
772
|
+
command = make_simple_command(:delete, 'v1beta2/{+name}', options)
|
773
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Empty::Representation
|
774
|
+
command.response_class = Google::Apis::DataprocV1beta2::Empty
|
775
|
+
command.params['name'] = name unless name.nil?
|
776
|
+
command.query['fields'] = fields unless fields.nil?
|
777
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
778
|
+
execute_or_queue_command(command, &block)
|
779
|
+
end
|
780
|
+
|
781
|
+
# Retrieves autoscaling policy.
|
782
|
+
# @param [String] name
|
783
|
+
# Required. The "resource name" of the autoscaling policy, as described in https:
|
784
|
+
# //cloud.google.com/apis/design/resource_names of the form projects/`project_id`
|
785
|
+
# /regions/`region`/autoscalingPolicies/`policy_id`.
|
786
|
+
# @param [String] fields
|
787
|
+
# Selector specifying which fields to include in a partial response.
|
788
|
+
# @param [String] quota_user
|
789
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
790
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
791
|
+
# @param [Google::Apis::RequestOptions] options
|
792
|
+
# Request-specific options
|
793
|
+
#
|
794
|
+
# @yield [result, err] Result & error if block supplied
|
795
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::AutoscalingPolicy] parsed result object
|
796
|
+
# @yieldparam err [StandardError] error object if request failed
|
797
|
+
#
|
798
|
+
# @return [Google::Apis::DataprocV1beta2::AutoscalingPolicy]
|
799
|
+
#
|
800
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
801
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
802
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
803
|
+
def get_project_region_autoscaling_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
804
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
805
|
+
command.response_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
806
|
+
command.response_class = Google::Apis::DataprocV1beta2::AutoscalingPolicy
|
807
|
+
command.params['name'] = name unless name.nil?
|
808
|
+
command.query['fields'] = fields unless fields.nil?
|
809
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
810
|
+
execute_or_queue_command(command, &block)
|
811
|
+
end
|
812
|
+
|
813
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
814
|
+
# resource exists and does not have a policy set.
|
815
|
+
# @param [String] resource
|
816
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
817
|
+
# operation documentation for the appropriate value for this field.
|
818
|
+
# @param [Google::Apis::DataprocV1beta2::GetIamPolicyRequest] get_iam_policy_request_object
|
819
|
+
# @param [String] fields
|
820
|
+
# Selector specifying which fields to include in a partial response.
|
821
|
+
# @param [String] quota_user
|
822
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
823
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
824
|
+
# @param [Google::Apis::RequestOptions] options
|
825
|
+
# Request-specific options
|
826
|
+
#
|
827
|
+
# @yield [result, err] Result & error if block supplied
|
828
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
829
|
+
# @yieldparam err [StandardError] error object if request failed
|
830
|
+
#
|
831
|
+
# @return [Google::Apis::DataprocV1beta2::Policy]
|
832
|
+
#
|
833
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
834
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
835
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
836
|
+
def get_autoscaling_policy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
837
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:getIamPolicy', options)
|
838
|
+
command.request_representation = Google::Apis::DataprocV1beta2::GetIamPolicyRequest::Representation
|
839
|
+
command.request_object = get_iam_policy_request_object
|
840
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
841
|
+
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
842
|
+
command.params['resource'] = resource unless resource.nil?
|
843
|
+
command.query['fields'] = fields unless fields.nil?
|
844
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
845
|
+
execute_or_queue_command(command, &block)
|
846
|
+
end
|
847
|
+
|
848
|
+
# Lists autoscaling policies in the project.
|
849
|
+
# @param [String] parent
|
850
|
+
# Required. The "resource name" of the region, as described in https://cloud.
|
851
|
+
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
852
|
+
# regions/`region`
|
853
|
+
# @param [Fixnum] page_size
|
854
|
+
# Optional. The maximum number of results to return in each response.
|
855
|
+
# @param [String] page_token
|
856
|
+
# Optional. The page token, returned by a previous call, to request the next
|
857
|
+
# page of results.
|
858
|
+
# @param [String] fields
|
859
|
+
# Selector specifying which fields to include in a partial response.
|
860
|
+
# @param [String] quota_user
|
861
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
862
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
863
|
+
# @param [Google::Apis::RequestOptions] options
|
864
|
+
# Request-specific options
|
865
|
+
#
|
866
|
+
# @yield [result, err] Result & error if block supplied
|
867
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse] parsed result object
|
868
|
+
# @yieldparam err [StandardError] error object if request failed
|
869
|
+
#
|
870
|
+
# @return [Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse]
|
871
|
+
#
|
872
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
873
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
874
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
875
|
+
def list_project_region_autoscaling_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
876
|
+
command = make_simple_command(:get, 'v1beta2/{+parent}/autoscalingPolicies', options)
|
877
|
+
command.response_representation = Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse::Representation
|
878
|
+
command.response_class = Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse
|
879
|
+
command.params['parent'] = parent unless parent.nil?
|
880
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
881
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
882
|
+
command.query['fields'] = fields unless fields.nil?
|
883
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
884
|
+
execute_or_queue_command(command, &block)
|
885
|
+
end
|
886
|
+
|
887
|
+
# Sets the access control policy on the specified resource. Replaces any
|
888
|
+
# existing policy.
|
889
|
+
# @param [String] resource
|
890
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
891
|
+
# operation documentation for the appropriate value for this field.
|
892
|
+
# @param [Google::Apis::DataprocV1beta2::SetIamPolicyRequest] set_iam_policy_request_object
|
893
|
+
# @param [String] fields
|
894
|
+
# Selector specifying which fields to include in a partial response.
|
895
|
+
# @param [String] quota_user
|
896
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
897
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
898
|
+
# @param [Google::Apis::RequestOptions] options
|
899
|
+
# Request-specific options
|
900
|
+
#
|
901
|
+
# @yield [result, err] Result & error if block supplied
|
902
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
903
|
+
# @yieldparam err [StandardError] error object if request failed
|
904
|
+
#
|
905
|
+
# @return [Google::Apis::DataprocV1beta2::Policy]
|
906
|
+
#
|
907
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
908
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
909
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
910
|
+
def set_project_region_autoscaling_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
911
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:setIamPolicy', options)
|
912
|
+
command.request_representation = Google::Apis::DataprocV1beta2::SetIamPolicyRequest::Representation
|
913
|
+
command.request_object = set_iam_policy_request_object
|
914
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
915
|
+
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
916
|
+
command.params['resource'] = resource unless resource.nil?
|
917
|
+
command.query['fields'] = fields unless fields.nil?
|
918
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
919
|
+
execute_or_queue_command(command, &block)
|
920
|
+
end
|
921
|
+
|
922
|
+
# Returns permissions that a caller has on the specified resource. If the
|
923
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
924
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
925
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
926
|
+
# This operation may "fail open" without warning.
|
927
|
+
# @param [String] resource
|
928
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
929
|
+
# operation documentation for the appropriate value for this field.
|
930
|
+
# @param [Google::Apis::DataprocV1beta2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
931
|
+
# @param [String] fields
|
932
|
+
# Selector specifying which fields to include in a partial response.
|
933
|
+
# @param [String] quota_user
|
934
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
935
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
936
|
+
# @param [Google::Apis::RequestOptions] options
|
937
|
+
# Request-specific options
|
938
|
+
#
|
939
|
+
# @yield [result, err] Result & error if block supplied
|
940
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse] parsed result object
|
941
|
+
# @yieldparam err [StandardError] error object if request failed
|
942
|
+
#
|
943
|
+
# @return [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse]
|
944
|
+
#
|
945
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
946
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
947
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
948
|
+
def test_project_region_autoscaling_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
949
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:testIamPermissions', options)
|
950
|
+
command.request_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsRequest::Representation
|
951
|
+
command.request_object = test_iam_permissions_request_object
|
952
|
+
command.response_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse::Representation
|
953
|
+
command.response_class = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse
|
954
|
+
command.params['resource'] = resource unless resource.nil?
|
955
|
+
command.query['fields'] = fields unless fields.nil?
|
956
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
957
|
+
execute_or_queue_command(command, &block)
|
958
|
+
end
|
959
|
+
|
960
|
+
# Updates (replaces) autoscaling policy.Disabled check for update_mask, because
|
961
|
+
# all updates will be full replacements.
|
962
|
+
# @param [String] name
|
963
|
+
# Output only. The "resource name" of the policy, as described in https://cloud.
|
964
|
+
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
965
|
+
# regions/`region`/autoscalingPolicies/`policy_id`.
|
966
|
+
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
|
967
|
+
# @param [String] fields
|
968
|
+
# Selector specifying which fields to include in a partial response.
|
969
|
+
# @param [String] quota_user
|
970
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
971
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
972
|
+
# @param [Google::Apis::RequestOptions] options
|
973
|
+
# Request-specific options
|
974
|
+
#
|
975
|
+
# @yield [result, err] Result & error if block supplied
|
976
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::AutoscalingPolicy] parsed result object
|
977
|
+
# @yieldparam err [StandardError] error object if request failed
|
978
|
+
#
|
979
|
+
# @return [Google::Apis::DataprocV1beta2::AutoscalingPolicy]
|
980
|
+
#
|
981
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
982
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
983
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
984
|
+
def update_project_region_autoscaling_policy(name, autoscaling_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
985
|
+
command = make_simple_command(:put, 'v1beta2/{+name}', options)
|
986
|
+
command.request_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
987
|
+
command.request_object = autoscaling_policy_object
|
988
|
+
command.response_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
989
|
+
command.response_class = Google::Apis::DataprocV1beta2::AutoscalingPolicy
|
990
|
+
command.params['name'] = name unless name.nil?
|
991
|
+
command.query['fields'] = fields unless fields.nil?
|
992
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
993
|
+
execute_or_queue_command(command, &block)
|
994
|
+
end
|
995
|
+
|
433
996
|
# Creates a cluster in a project.
|
434
997
|
# @param [String] project_id
|
435
998
|
# Required. The ID of the Google Cloud Platform project that the cluster belongs
|
@@ -743,22 +1306,28 @@ module Google
|
|
743
1306
|
# <td>labels</td><td>Updates labels</td>
|
744
1307
|
# </tr>
|
745
1308
|
# <tr>
|
746
|
-
# <td>config.worker_config.num_instances</td><td>Resize primary worker
|
1309
|
+
# <td>config.worker_config.num_instances</td><td>Resize primary worker
|
1310
|
+
# group</td>
|
747
1311
|
# </tr>
|
748
1312
|
# <tr>
|
749
1313
|
# <td>config.secondary_worker_config.num_instances</td><td>Resize secondary
|
750
1314
|
# worker group</td>
|
751
1315
|
# </tr>
|
752
1316
|
# <tr>
|
753
|
-
# <td>config.lifecycle_config.auto_delete_ttl</td><td>Reset MAX TTL
|
1317
|
+
# <td>config.lifecycle_config.auto_delete_ttl</td><td>Reset MAX TTL
|
1318
|
+
# duration</td>
|
1319
|
+
# </tr>
|
1320
|
+
# <tr>
|
1321
|
+
# <td>config.lifecycle_config.auto_delete_time</td><td>Update MAX TTL
|
1322
|
+
# deletion timestamp</td>
|
754
1323
|
# </tr>
|
755
1324
|
# <tr>
|
756
|
-
# <td>config.lifecycle_config.
|
757
|
-
#
|
1325
|
+
# <td>config.lifecycle_config.idle_delete_ttl</td><td>Update Idle TTL
|
1326
|
+
# duration</td>
|
758
1327
|
# </tr>
|
759
1328
|
# <tr>
|
760
|
-
# <td>config.
|
761
|
-
# td>
|
1329
|
+
# <td>config.autoscaling_config.policy_uri</td><td>Use, stop using, or change
|
1330
|
+
# autoscaling policies</td>
|
762
1331
|
# </tr>
|
763
1332
|
# </table>
|
764
1333
|
# @param [String] fields
|