google-api-client 0.23.4 → 0.23.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +171 -0
- data/Gemfile +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +7 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +13 -1
- data/generated/google/apis/adsense_v1_4/representations.rb +2 -0
- data/generated/google/apis/adsense_v1_4/service.rb +36 -0
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +68 -0
- data/generated/google/apis/analytics_v3/representations.rb +31 -0
- data/generated/google/apis/analytics_v3/service.rb +33 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +108 -28
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +73 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -70
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -5
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +3 -4
- data/generated/google/apis/appsactivity_v1.rb +2 -2
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +103 -61
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +597 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +238 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +523 -0
- data/generated/google/apis/blogger_v2.rb +1 -1
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +7 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +44 -12
- data/generated/google/apis/calendar_v3/service.rb +7 -7
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +641 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +215 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +25 -0
- data/generated/google/apis/classroom_v1/representations.rb +15 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +85 -10
- data/generated/google/apis/cloudbilling_v1/representations.rb +18 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +3 -13
- data/generated/google/apis/cloudbuild_v1.rb +4 -4
- data/generated/google/apis/cloudbuild_v1/classes.rb +37 -3
- data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +3 -3
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +56 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +18 -0
- data/generated/google/apis/cloudiot_v1/service.rb +355 -0
- data/generated/google/apis/cloudkms_v1.rb +6 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +340 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +147 -0
- data/generated/google/apis/cloudkms_v1/service.rb +126 -6
- data/generated/google/apis/cloudprofiler_v2.rb +3 -3
- data/generated/google/apis/cloudprofiler_v2/classes.rb +0 -6
- data/generated/google/apis/cloudprofiler_v2/representations.rb +0 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +56 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +18 -0
- 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 +57 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +28 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +37 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +167 -103
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +18 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -21
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/{spectrum_v1explorer.rb → composer_v1.rb} +12 -9
- data/generated/google/apis/composer_v1/classes.rb +640 -0
- data/generated/google/apis/composer_v1/representations.rb +195 -0
- data/generated/google/apis/composer_v1/service.rb +462 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +13 -10
- data/generated/google/apis/composer_v1beta1/service.rb +6 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +5135 -4250
- data/generated/google/apis/compute_alpha/representations.rb +644 -216
- data/generated/google/apis/compute_alpha/service.rb +2308 -1655
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1070 -62
- data/generated/google/apis/compute_beta/representations.rb +435 -0
- data/generated/google/apis/compute_beta/service.rb +1758 -321
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1984 -210
- data/generated/google/apis/compute_v1/representations.rb +754 -9
- data/generated/google/apis/compute_v1/service.rb +1299 -12
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +43 -0
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +193 -231
- data/generated/google/apis/container_v1beta1/representations.rb +72 -82
- data/generated/google/apis/container_v1beta1/service.rb +0 -112
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +199 -29
- data/generated/google/apis/content_v2/representations.rb +59 -0
- data/generated/google/apis/content_v2/service.rb +8 -3
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +32 -19
- data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
- data/generated/google/apis/content_v2sandbox/service.rb +8 -3
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +7 -7
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +112 -43
- data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +140 -0
- data/generated/google/apis/datastore_v1/representations.rb +65 -0
- data/generated/google/apis/datastore_v1/service.rb +74 -0
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +31 -0
- data/generated/google/apis/datastore_v1beta1/representations.rb +17 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +31 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v3_0.rb +1 -1
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_2.rb +40 -0
- data/generated/google/apis/dfareporting_v3_2/classes.rb +12297 -0
- data/generated/google/apis/dfareporting_v3_2/representations.rb +4397 -0
- data/generated/google/apis/dfareporting_v3_2/service.rb +8790 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +304 -12
- data/generated/google/apis/dialogflow_v2/representations.rb +113 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +656 -26
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +248 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -0
- data/generated/google/apis/discovery_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +357 -6
- data/generated/google/apis/dlp_v2/representations.rb +161 -0
- data/generated/google/apis/dlp_v2/service.rb +366 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +0 -7
- data/generated/google/apis/dns_v1/representations.rb +0 -1
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +0 -7
- data/generated/google/apis/dns_v1beta2/representations.rb +0 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -7
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +3 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +37 -0
- data/generated/google/apis/firestore_v1/classes.rb +324 -0
- data/generated/google/apis/firestore_v1/representations.rb +130 -0
- data/generated/google/apis/firestore_v1/service.rb +282 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +290 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +128 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +79 -0
- data/generated/google/apis/firestore_v1beta2.rb +37 -0
- data/generated/google/apis/firestore_v1beta2/classes.rb +531 -0
- data/generated/google/apis/firestore_v1beta2/representations.rb +189 -0
- data/generated/google/apis/firestore_v1beta2/service.rb +213 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +113 -36
- data/generated/google/apis/genomics_v1/representations.rb +31 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -0
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +57 -36
- data/generated/google/apis/genomics_v1alpha2/representations.rb +13 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +2 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -137
- data/generated/google/apis/genomics_v2alpha1/representations.rb +50 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +7 -5
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +258 -3
- data/generated/google/apis/iam_v1/representations.rb +73 -0
- data/generated/google/apis/iam_v1/service.rb +50 -2
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +34 -0
- data/generated/google/apis/iap_v1beta1/classes.rb +440 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +158 -0
- data/generated/google/apis/iap_v1beta1/service.rb +398 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +3 -3
- data/generated/google/apis/jobs_v2/classes.rb +61 -5
- data/generated/google/apis/jobs_v2/representations.rb +18 -0
- data/generated/google/apis/jobs_v2/service.rb +3 -3
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +64 -58
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +39 -40
- data/generated/google/apis/logging_v2beta1.rb +2 -2
- data/generated/google/apis/logging_v2beta1/classes.rb +59 -53
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/logging_v2beta1/service.rb +15 -16
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +87 -0
- data/generated/google/apis/ml_v1/representations.rb +34 -0
- data/generated/google/apis/ml_v1/service.rb +53 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +68 -15
- data/generated/google/apis/monitoring_v3/representations.rb +26 -0
- data/generated/google/apis/mybusiness_v3/classes.rb +1 -1
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/poly_v1.rb +4 -3
- data/generated/google/apis/poly_v1/classes.rb +28 -0
- data/generated/google/apis/poly_v1/representations.rb +15 -0
- data/generated/google/apis/poly_v1/service.rb +3 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +63 -8
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +7 -8
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +56 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +18 -0
- data/generated/google/apis/redis_v1beta1.rb +2 -2
- data/generated/google/apis/redis_v1beta1/classes.rb +38 -119
- data/generated/google/apis/redis_v1beta1/representations.rb +10 -43
- data/generated/google/apis/redis_v1beta1/service.rb +73 -1
- data/generated/google/apis/replicapool_v1beta1.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +57 -1
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +18 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +1 -57
- data/generated/google/apis/script_v1/representations.rb +0 -32
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1/representations.rb +18 -0
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +18 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +13 -4
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +259 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +68 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +68 -4
- data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +13 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +13 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +12 -3
- data/generated/google/apis/serviceuser_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +22 -22
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +56 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +18 -0
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1632 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +733 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +995 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +4 -4
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +30 -14
- data/generated/google/apis/sqladmin_v1beta4/service.rb +7 -7
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +34 -0
- data/generated/google/apis/texttospeech_v1/classes.rb +278 -0
- data/generated/google/apis/texttospeech_v1/representations.rb +133 -0
- data/generated/google/apis/texttospeech_v1/service.rb +127 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +0 -12
- data/generated/google/apis/toolresults_v1beta3/representations.rb +0 -2
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +0 -13
- data/generated/google/apis/tpu_v1/representations.rb +0 -12
- data/generated/google/apis/tpu_v1/service.rb +0 -33
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -13
- data/generated/google/apis/tpu_v1alpha1/representations.rb +0 -12
- data/generated/google/apis/tpu_v1alpha1/service.rb +0 -33
- data/generated/google/apis/urlshortener_v1.rb +1 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +803 -0
- data/generated/google/apis/vault_v1/representations.rb +384 -0
- data/generated/google/apis/vault_v1/service.rb +211 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +3342 -227
- data/generated/google/apis/vision_v1/representations.rb +1696 -365
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1826 -94
- data/generated/google/apis/vision_v1p1beta1/representations.rb +754 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +3712 -597
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1606 -275
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +58 -2
- data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +32 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +34 -6
- data/generated/google/apis/spectrum_v1explorer/classes.rb +0 -1612
- data/generated/google/apis/spectrum_v1explorer/representations.rb +0 -611
- data/generated/google/apis/spectrum_v1explorer/service.rb +0 -271
@@ -921,7 +921,7 @@ module Google
|
|
921
921
|
execute_or_queue_command(command, &block)
|
922
922
|
end
|
923
923
|
|
924
|
-
# Adds
|
924
|
+
# Adds a key for validating requests with signed URLs for this backend bucket.
|
925
925
|
# @param [String] project
|
926
926
|
# Project ID for this request.
|
927
927
|
# @param [String] backend_bucket
|
@@ -1021,7 +1021,7 @@ module Google
|
|
1021
1021
|
execute_or_queue_command(command, &block)
|
1022
1022
|
end
|
1023
1023
|
|
1024
|
-
# Deletes
|
1024
|
+
# Deletes a key for validating requests with signed URLs for this backend bucket.
|
1025
1025
|
# @param [String] project
|
1026
1026
|
# Project ID for this request.
|
1027
1027
|
# @param [String] backend_bucket
|
@@ -1336,7 +1336,7 @@ module Google
|
|
1336
1336
|
execute_or_queue_command(command, &block)
|
1337
1337
|
end
|
1338
1338
|
|
1339
|
-
# Adds
|
1339
|
+
# Adds a key for validating requests with signed URLs for this backend service.
|
1340
1340
|
# @param [String] project
|
1341
1341
|
# Project ID for this request.
|
1342
1342
|
# @param [String] backend_service
|
@@ -1508,7 +1508,8 @@ module Google
|
|
1508
1508
|
execute_or_queue_command(command, &block)
|
1509
1509
|
end
|
1510
1510
|
|
1511
|
-
# Deletes
|
1511
|
+
# Deletes a key for validating requests with signed URLs for this backend
|
1512
|
+
# service.
|
1512
1513
|
# @param [String] project
|
1513
1514
|
# Project ID for this request.
|
1514
1515
|
# @param [String] backend_service
|
@@ -5553,9 +5554,39 @@ module Google
|
|
5553
5554
|
# @param [String] instance_group_manager
|
5554
5555
|
# The name of the managed instance group.
|
5555
5556
|
# @param [String] filter
|
5557
|
+
# A filter expression that filters resources listed in the response. The
|
5558
|
+
# expression must specify the field name, a comparison operator, and the value
|
5559
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
5560
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
5561
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
5562
|
+
# instances named example-instance by specifying name != example-instance.
|
5563
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
5564
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
5565
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
5566
|
+
# on resource labels.
|
5567
|
+
# To filter on multiple expressions, provide each separate expression within
|
5568
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
5569
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
5570
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
5571
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
5572
|
+
# automaticRestart = true).
|
5556
5573
|
# @param [Fixnum] max_results
|
5574
|
+
# The maximum number of results per page that should be returned. If the number
|
5575
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
5576
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
5577
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
5557
5578
|
# @param [String] order_by
|
5579
|
+
# Sorts list results by a certain order. By default, results are returned in
|
5580
|
+
# alphanumerical order based on the resource name.
|
5581
|
+
# You can also sort results in descending order based on the creation timestamp
|
5582
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
5583
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
5584
|
+
# Use this to sort resources like operations so that the newest operation is
|
5585
|
+
# returned first.
|
5586
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
5558
5587
|
# @param [String] page_token
|
5588
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
5589
|
+
# a previous list request to get the next page of results.
|
5559
5590
|
# @param [String] fields
|
5560
5591
|
# Selector specifying which fields to include in a partial response.
|
5561
5592
|
# @param [String] quota_user
|
@@ -7839,6 +7870,45 @@ module Google
|
|
7839
7870
|
execute_or_queue_command(command, &block)
|
7840
7871
|
end
|
7841
7872
|
|
7873
|
+
# Simulates a maintenance event on the instance.
|
7874
|
+
# @param [String] project
|
7875
|
+
# Project ID for this request.
|
7876
|
+
# @param [String] zone
|
7877
|
+
# The name of the zone for this request.
|
7878
|
+
# @param [String] instance
|
7879
|
+
# Name of the instance scoping this request.
|
7880
|
+
# @param [String] fields
|
7881
|
+
# Selector specifying which fields to include in a partial response.
|
7882
|
+
# @param [String] quota_user
|
7883
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
7884
|
+
# characters.
|
7885
|
+
# @param [String] user_ip
|
7886
|
+
# Deprecated. Please use quotaUser instead.
|
7887
|
+
# @param [Google::Apis::RequestOptions] options
|
7888
|
+
# Request-specific options
|
7889
|
+
#
|
7890
|
+
# @yield [result, err] Result & error if block supplied
|
7891
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
7892
|
+
# @yieldparam err [StandardError] error object if request failed
|
7893
|
+
#
|
7894
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
7895
|
+
#
|
7896
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7897
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7898
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7899
|
+
def simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
7900
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options)
|
7901
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
7902
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
7903
|
+
command.params['project'] = project unless project.nil?
|
7904
|
+
command.params['zone'] = zone unless zone.nil?
|
7905
|
+
command.params['instance'] = instance unless instance.nil?
|
7906
|
+
command.query['fields'] = fields unless fields.nil?
|
7907
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7908
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
7909
|
+
execute_or_queue_command(command, &block)
|
7910
|
+
end
|
7911
|
+
|
7842
7912
|
# Starts an instance that was stopped using the instances().stop method. For
|
7843
7913
|
# more information, see Restart an instance.
|
7844
7914
|
# @param [String] project
|
@@ -9721,21 +9791,1027 @@ module Google
|
|
9721
9791
|
# Request-specific options
|
9722
9792
|
#
|
9723
9793
|
# @yield [result, err] Result & error if block supplied
|
9724
|
-
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
9794
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
9795
|
+
# @yieldparam err [StandardError] error object if request failed
|
9796
|
+
#
|
9797
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
9798
|
+
#
|
9799
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9800
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9801
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9802
|
+
def switch_network_to_custom_mode(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9803
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', options)
|
9804
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
9805
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
9806
|
+
command.params['project'] = project unless project.nil?
|
9807
|
+
command.params['network'] = network unless network.nil?
|
9808
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
9809
|
+
command.query['fields'] = fields unless fields.nil?
|
9810
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9811
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
9812
|
+
execute_or_queue_command(command, &block)
|
9813
|
+
end
|
9814
|
+
|
9815
|
+
# Adds specified number of nodes to the node group.
|
9816
|
+
# @param [String] project
|
9817
|
+
# Project ID for this request.
|
9818
|
+
# @param [String] zone
|
9819
|
+
# The name of the zone for this request.
|
9820
|
+
# @param [String] node_group
|
9821
|
+
# Name of the NodeGroup resource to delete.
|
9822
|
+
# @param [Google::Apis::ComputeV1::NodeGroupsAddNodesRequest] node_groups_add_nodes_request_object
|
9823
|
+
# @param [String] request_id
|
9824
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
9825
|
+
# that if you must retry your request, the server will know to ignore the
|
9826
|
+
# request if it has already been completed.
|
9827
|
+
# For example, consider a situation where you make an initial request and the
|
9828
|
+
# request times out. If you make the request again with the same request ID, the
|
9829
|
+
# server can check if original operation with the same request ID was received,
|
9830
|
+
# and if so, will ignore the second request. This prevents clients from
|
9831
|
+
# accidentally creating duplicate commitments.
|
9832
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
9833
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
9834
|
+
# @param [String] fields
|
9835
|
+
# Selector specifying which fields to include in a partial response.
|
9836
|
+
# @param [String] quota_user
|
9837
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
9838
|
+
# characters.
|
9839
|
+
# @param [String] user_ip
|
9840
|
+
# Deprecated. Please use quotaUser instead.
|
9841
|
+
# @param [Google::Apis::RequestOptions] options
|
9842
|
+
# Request-specific options
|
9843
|
+
#
|
9844
|
+
# @yield [result, err] Result & error if block supplied
|
9845
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
9846
|
+
# @yieldparam err [StandardError] error object if request failed
|
9847
|
+
#
|
9848
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
9849
|
+
#
|
9850
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9851
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9852
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9853
|
+
def add_node_group_nodes(project, zone, node_group, node_groups_add_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9854
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes', options)
|
9855
|
+
command.request_representation = Google::Apis::ComputeV1::NodeGroupsAddNodesRequest::Representation
|
9856
|
+
command.request_object = node_groups_add_nodes_request_object
|
9857
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
9858
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
9859
|
+
command.params['project'] = project unless project.nil?
|
9860
|
+
command.params['zone'] = zone unless zone.nil?
|
9861
|
+
command.params['nodeGroup'] = node_group unless node_group.nil?
|
9862
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
9863
|
+
command.query['fields'] = fields unless fields.nil?
|
9864
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9865
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
9866
|
+
execute_or_queue_command(command, &block)
|
9867
|
+
end
|
9868
|
+
|
9869
|
+
# Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes
|
9870
|
+
# for more details about each group.
|
9871
|
+
# @param [String] project
|
9872
|
+
# Project ID for this request.
|
9873
|
+
# @param [String] filter
|
9874
|
+
# A filter expression that filters resources listed in the response. The
|
9875
|
+
# expression must specify the field name, a comparison operator, and the value
|
9876
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
9877
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
9878
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
9879
|
+
# instances named example-instance by specifying name != example-instance.
|
9880
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
9881
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
9882
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
9883
|
+
# on resource labels.
|
9884
|
+
# To filter on multiple expressions, provide each separate expression within
|
9885
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
9886
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
9887
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
9888
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
9889
|
+
# automaticRestart = true).
|
9890
|
+
# @param [Fixnum] max_results
|
9891
|
+
# The maximum number of results per page that should be returned. If the number
|
9892
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
9893
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
9894
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
9895
|
+
# @param [String] order_by
|
9896
|
+
# Sorts list results by a certain order. By default, results are returned in
|
9897
|
+
# alphanumerical order based on the resource name.
|
9898
|
+
# You can also sort results in descending order based on the creation timestamp
|
9899
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
9900
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
9901
|
+
# Use this to sort resources like operations so that the newest operation is
|
9902
|
+
# returned first.
|
9903
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
9904
|
+
# @param [String] page_token
|
9905
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
9906
|
+
# a previous list request to get the next page of results.
|
9907
|
+
# @param [String] fields
|
9908
|
+
# Selector specifying which fields to include in a partial response.
|
9909
|
+
# @param [String] quota_user
|
9910
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
9911
|
+
# characters.
|
9912
|
+
# @param [String] user_ip
|
9913
|
+
# Deprecated. Please use quotaUser instead.
|
9914
|
+
# @param [Google::Apis::RequestOptions] options
|
9915
|
+
# Request-specific options
|
9916
|
+
#
|
9917
|
+
# @yield [result, err] Result & error if block supplied
|
9918
|
+
# @yieldparam result [Google::Apis::ComputeV1::NodeGroupAggregatedList] parsed result object
|
9919
|
+
# @yieldparam err [StandardError] error object if request failed
|
9920
|
+
#
|
9921
|
+
# @return [Google::Apis::ComputeV1::NodeGroupAggregatedList]
|
9922
|
+
#
|
9923
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9924
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9925
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9926
|
+
def aggregated_node_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9927
|
+
command = make_simple_command(:get, '{project}/aggregated/nodeGroups', options)
|
9928
|
+
command.response_representation = Google::Apis::ComputeV1::NodeGroupAggregatedList::Representation
|
9929
|
+
command.response_class = Google::Apis::ComputeV1::NodeGroupAggregatedList
|
9930
|
+
command.params['project'] = project unless project.nil?
|
9931
|
+
command.query['filter'] = filter unless filter.nil?
|
9932
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
9933
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
9934
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
9935
|
+
command.query['fields'] = fields unless fields.nil?
|
9936
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9937
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
9938
|
+
execute_or_queue_command(command, &block)
|
9939
|
+
end
|
9940
|
+
|
9941
|
+
# Deletes the specified NodeGroup resource.
|
9942
|
+
# @param [String] project
|
9943
|
+
# Project ID for this request.
|
9944
|
+
# @param [String] zone
|
9945
|
+
# The name of the zone for this request.
|
9946
|
+
# @param [String] node_group
|
9947
|
+
# Name of the NodeGroup resource to delete.
|
9948
|
+
# @param [String] request_id
|
9949
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
9950
|
+
# that if you must retry your request, the server will know to ignore the
|
9951
|
+
# request if it has already been completed.
|
9952
|
+
# For example, consider a situation where you make an initial request and the
|
9953
|
+
# request times out. If you make the request again with the same request ID, the
|
9954
|
+
# server can check if original operation with the same request ID was received,
|
9955
|
+
# and if so, will ignore the second request. This prevents clients from
|
9956
|
+
# accidentally creating duplicate commitments.
|
9957
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
9958
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
9959
|
+
# @param [String] fields
|
9960
|
+
# Selector specifying which fields to include in a partial response.
|
9961
|
+
# @param [String] quota_user
|
9962
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
9963
|
+
# characters.
|
9964
|
+
# @param [String] user_ip
|
9965
|
+
# Deprecated. Please use quotaUser instead.
|
9966
|
+
# @param [Google::Apis::RequestOptions] options
|
9967
|
+
# Request-specific options
|
9968
|
+
#
|
9969
|
+
# @yield [result, err] Result & error if block supplied
|
9970
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
9971
|
+
# @yieldparam err [StandardError] error object if request failed
|
9972
|
+
#
|
9973
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
9974
|
+
#
|
9975
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9976
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9977
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9978
|
+
def delete_node_group(project, zone, node_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9979
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options)
|
9980
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
9981
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
9982
|
+
command.params['project'] = project unless project.nil?
|
9983
|
+
command.params['zone'] = zone unless zone.nil?
|
9984
|
+
command.params['nodeGroup'] = node_group unless node_group.nil?
|
9985
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
9986
|
+
command.query['fields'] = fields unless fields.nil?
|
9987
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9988
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
9989
|
+
execute_or_queue_command(command, &block)
|
9990
|
+
end
|
9991
|
+
|
9992
|
+
# Deletes specified nodes from the node group.
|
9993
|
+
# @param [String] project
|
9994
|
+
# Project ID for this request.
|
9995
|
+
# @param [String] zone
|
9996
|
+
# The name of the zone for this request.
|
9997
|
+
# @param [String] node_group
|
9998
|
+
# Name of the NodeGroup resource to delete.
|
9999
|
+
# @param [Google::Apis::ComputeV1::NodeGroupsDeleteNodesRequest] node_groups_delete_nodes_request_object
|
10000
|
+
# @param [String] request_id
|
10001
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
10002
|
+
# that if you must retry your request, the server will know to ignore the
|
10003
|
+
# request if it has already been completed.
|
10004
|
+
# For example, consider a situation where you make an initial request and the
|
10005
|
+
# request times out. If you make the request again with the same request ID, the
|
10006
|
+
# server can check if original operation with the same request ID was received,
|
10007
|
+
# and if so, will ignore the second request. This prevents clients from
|
10008
|
+
# accidentally creating duplicate commitments.
|
10009
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
10010
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
10011
|
+
# @param [String] fields
|
10012
|
+
# Selector specifying which fields to include in a partial response.
|
10013
|
+
# @param [String] quota_user
|
10014
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10015
|
+
# characters.
|
10016
|
+
# @param [String] user_ip
|
10017
|
+
# Deprecated. Please use quotaUser instead.
|
10018
|
+
# @param [Google::Apis::RequestOptions] options
|
10019
|
+
# Request-specific options
|
10020
|
+
#
|
10021
|
+
# @yield [result, err] Result & error if block supplied
|
10022
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
10023
|
+
# @yieldparam err [StandardError] error object if request failed
|
10024
|
+
#
|
10025
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
10026
|
+
#
|
10027
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10028
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10029
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10030
|
+
def delete_node_group_nodes(project, zone, node_group, node_groups_delete_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10031
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes', options)
|
10032
|
+
command.request_representation = Google::Apis::ComputeV1::NodeGroupsDeleteNodesRequest::Representation
|
10033
|
+
command.request_object = node_groups_delete_nodes_request_object
|
10034
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
10035
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
10036
|
+
command.params['project'] = project unless project.nil?
|
10037
|
+
command.params['zone'] = zone unless zone.nil?
|
10038
|
+
command.params['nodeGroup'] = node_group unless node_group.nil?
|
10039
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
10040
|
+
command.query['fields'] = fields unless fields.nil?
|
10041
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10042
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10043
|
+
execute_or_queue_command(command, &block)
|
10044
|
+
end
|
10045
|
+
|
10046
|
+
# Returns the specified NodeGroup. Get a list of available NodeGroups by making
|
10047
|
+
# a list() request. Note: the "nodes" field should not be used. Use nodeGroups.
|
10048
|
+
# listNodes instead.
|
10049
|
+
# @param [String] project
|
10050
|
+
# Project ID for this request.
|
10051
|
+
# @param [String] zone
|
10052
|
+
# The name of the zone for this request.
|
10053
|
+
# @param [String] node_group
|
10054
|
+
# Name of the node group to return.
|
10055
|
+
# @param [String] fields
|
10056
|
+
# Selector specifying which fields to include in a partial response.
|
10057
|
+
# @param [String] quota_user
|
10058
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10059
|
+
# characters.
|
10060
|
+
# @param [String] user_ip
|
10061
|
+
# Deprecated. Please use quotaUser instead.
|
10062
|
+
# @param [Google::Apis::RequestOptions] options
|
10063
|
+
# Request-specific options
|
10064
|
+
#
|
10065
|
+
# @yield [result, err] Result & error if block supplied
|
10066
|
+
# @yieldparam result [Google::Apis::ComputeV1::NodeGroup] parsed result object
|
10067
|
+
# @yieldparam err [StandardError] error object if request failed
|
10068
|
+
#
|
10069
|
+
# @return [Google::Apis::ComputeV1::NodeGroup]
|
10070
|
+
#
|
10071
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10072
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10073
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10074
|
+
def get_node_group(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10075
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options)
|
10076
|
+
command.response_representation = Google::Apis::ComputeV1::NodeGroup::Representation
|
10077
|
+
command.response_class = Google::Apis::ComputeV1::NodeGroup
|
10078
|
+
command.params['project'] = project unless project.nil?
|
10079
|
+
command.params['zone'] = zone unless zone.nil?
|
10080
|
+
command.params['nodeGroup'] = node_group unless node_group.nil?
|
10081
|
+
command.query['fields'] = fields unless fields.nil?
|
10082
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10083
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10084
|
+
execute_or_queue_command(command, &block)
|
10085
|
+
end
|
10086
|
+
|
10087
|
+
# Creates a NodeGroup resource in the specified project using the data included
|
10088
|
+
# in the request.
|
10089
|
+
# @param [String] project
|
10090
|
+
# Project ID for this request.
|
10091
|
+
# @param [String] zone
|
10092
|
+
# The name of the zone for this request.
|
10093
|
+
# @param [Fixnum] initial_node_count
|
10094
|
+
# Initial count of nodes in the node group.
|
10095
|
+
# @param [Google::Apis::ComputeV1::NodeGroup] node_group_object
|
10096
|
+
# @param [String] request_id
|
10097
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
10098
|
+
# that if you must retry your request, the server will know to ignore the
|
10099
|
+
# request if it has already been completed.
|
10100
|
+
# For example, consider a situation where you make an initial request and the
|
10101
|
+
# request times out. If you make the request again with the same request ID, the
|
10102
|
+
# server can check if original operation with the same request ID was received,
|
10103
|
+
# and if so, will ignore the second request. This prevents clients from
|
10104
|
+
# accidentally creating duplicate commitments.
|
10105
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
10106
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
10107
|
+
# @param [String] fields
|
10108
|
+
# Selector specifying which fields to include in a partial response.
|
10109
|
+
# @param [String] quota_user
|
10110
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10111
|
+
# characters.
|
10112
|
+
# @param [String] user_ip
|
10113
|
+
# Deprecated. Please use quotaUser instead.
|
10114
|
+
# @param [Google::Apis::RequestOptions] options
|
10115
|
+
# Request-specific options
|
10116
|
+
#
|
10117
|
+
# @yield [result, err] Result & error if block supplied
|
10118
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
10119
|
+
# @yieldparam err [StandardError] error object if request failed
|
10120
|
+
#
|
10121
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
10122
|
+
#
|
10123
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10124
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10125
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10126
|
+
def insert_node_group(project, zone, initial_node_count, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10127
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups', options)
|
10128
|
+
command.request_representation = Google::Apis::ComputeV1::NodeGroup::Representation
|
10129
|
+
command.request_object = node_group_object
|
10130
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
10131
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
10132
|
+
command.params['project'] = project unless project.nil?
|
10133
|
+
command.params['zone'] = zone unless zone.nil?
|
10134
|
+
command.query['initialNodeCount'] = initial_node_count unless initial_node_count.nil?
|
10135
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
10136
|
+
command.query['fields'] = fields unless fields.nil?
|
10137
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10138
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10139
|
+
execute_or_queue_command(command, &block)
|
10140
|
+
end
|
10141
|
+
|
10142
|
+
# Retrieves a list of node groups available to the specified project. Note: use
|
10143
|
+
# nodeGroups.listNodes for more details about each group.
|
10144
|
+
# @param [String] project
|
10145
|
+
# Project ID for this request.
|
10146
|
+
# @param [String] zone
|
10147
|
+
# The name of the zone for this request.
|
10148
|
+
# @param [String] filter
|
10149
|
+
# A filter expression that filters resources listed in the response. The
|
10150
|
+
# expression must specify the field name, a comparison operator, and the value
|
10151
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
10152
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
10153
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
10154
|
+
# instances named example-instance by specifying name != example-instance.
|
10155
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
10156
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
10157
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
10158
|
+
# on resource labels.
|
10159
|
+
# To filter on multiple expressions, provide each separate expression within
|
10160
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
10161
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
10162
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
10163
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
10164
|
+
# automaticRestart = true).
|
10165
|
+
# @param [Fixnum] max_results
|
10166
|
+
# The maximum number of results per page that should be returned. If the number
|
10167
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
10168
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
10169
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
10170
|
+
# @param [String] order_by
|
10171
|
+
# Sorts list results by a certain order. By default, results are returned in
|
10172
|
+
# alphanumerical order based on the resource name.
|
10173
|
+
# You can also sort results in descending order based on the creation timestamp
|
10174
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
10175
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
10176
|
+
# Use this to sort resources like operations so that the newest operation is
|
10177
|
+
# returned first.
|
10178
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
10179
|
+
# @param [String] page_token
|
10180
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
10181
|
+
# a previous list request to get the next page of results.
|
10182
|
+
# @param [String] fields
|
10183
|
+
# Selector specifying which fields to include in a partial response.
|
10184
|
+
# @param [String] quota_user
|
10185
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10186
|
+
# characters.
|
10187
|
+
# @param [String] user_ip
|
10188
|
+
# Deprecated. Please use quotaUser instead.
|
10189
|
+
# @param [Google::Apis::RequestOptions] options
|
10190
|
+
# Request-specific options
|
10191
|
+
#
|
10192
|
+
# @yield [result, err] Result & error if block supplied
|
10193
|
+
# @yieldparam result [Google::Apis::ComputeV1::NodeGroupList] parsed result object
|
10194
|
+
# @yieldparam err [StandardError] error object if request failed
|
10195
|
+
#
|
10196
|
+
# @return [Google::Apis::ComputeV1::NodeGroupList]
|
10197
|
+
#
|
10198
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10199
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10200
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10201
|
+
def list_node_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10202
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups', options)
|
10203
|
+
command.response_representation = Google::Apis::ComputeV1::NodeGroupList::Representation
|
10204
|
+
command.response_class = Google::Apis::ComputeV1::NodeGroupList
|
10205
|
+
command.params['project'] = project unless project.nil?
|
10206
|
+
command.params['zone'] = zone unless zone.nil?
|
10207
|
+
command.query['filter'] = filter unless filter.nil?
|
10208
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
10209
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
10210
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
10211
|
+
command.query['fields'] = fields unless fields.nil?
|
10212
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10213
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10214
|
+
execute_or_queue_command(command, &block)
|
10215
|
+
end
|
10216
|
+
|
10217
|
+
# Lists nodes in the node group.
|
10218
|
+
# @param [String] project
|
10219
|
+
# Project ID for this request.
|
10220
|
+
# @param [String] zone
|
10221
|
+
# The name of the zone for this request.
|
10222
|
+
# @param [String] node_group
|
10223
|
+
# Name of the NodeGroup resource whose nodes you want to list.
|
10224
|
+
# @param [String] filter
|
10225
|
+
# A filter expression that filters resources listed in the response. The
|
10226
|
+
# expression must specify the field name, a comparison operator, and the value
|
10227
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
10228
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
10229
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
10230
|
+
# instances named example-instance by specifying name != example-instance.
|
10231
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
10232
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
10233
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
10234
|
+
# on resource labels.
|
10235
|
+
# To filter on multiple expressions, provide each separate expression within
|
10236
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
10237
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
10238
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
10239
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
10240
|
+
# automaticRestart = true).
|
10241
|
+
# @param [Fixnum] max_results
|
10242
|
+
# The maximum number of results per page that should be returned. If the number
|
10243
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
10244
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
10245
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
10246
|
+
# @param [String] order_by
|
10247
|
+
# Sorts list results by a certain order. By default, results are returned in
|
10248
|
+
# alphanumerical order based on the resource name.
|
10249
|
+
# You can also sort results in descending order based on the creation timestamp
|
10250
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
10251
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
10252
|
+
# Use this to sort resources like operations so that the newest operation is
|
10253
|
+
# returned first.
|
10254
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
10255
|
+
# @param [String] page_token
|
10256
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
10257
|
+
# a previous list request to get the next page of results.
|
10258
|
+
# @param [String] fields
|
10259
|
+
# Selector specifying which fields to include in a partial response.
|
10260
|
+
# @param [String] quota_user
|
10261
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10262
|
+
# characters.
|
10263
|
+
# @param [String] user_ip
|
10264
|
+
# Deprecated. Please use quotaUser instead.
|
10265
|
+
# @param [Google::Apis::RequestOptions] options
|
10266
|
+
# Request-specific options
|
10267
|
+
#
|
10268
|
+
# @yield [result, err] Result & error if block supplied
|
10269
|
+
# @yieldparam result [Google::Apis::ComputeV1::NodeGroupsListNodes] parsed result object
|
10270
|
+
# @yieldparam err [StandardError] error object if request failed
|
10271
|
+
#
|
10272
|
+
# @return [Google::Apis::ComputeV1::NodeGroupsListNodes]
|
10273
|
+
#
|
10274
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10275
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10276
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10277
|
+
def list_node_group_nodes(project, zone, node_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10278
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes', options)
|
10279
|
+
command.response_representation = Google::Apis::ComputeV1::NodeGroupsListNodes::Representation
|
10280
|
+
command.response_class = Google::Apis::ComputeV1::NodeGroupsListNodes
|
10281
|
+
command.params['project'] = project unless project.nil?
|
10282
|
+
command.params['zone'] = zone unless zone.nil?
|
10283
|
+
command.params['nodeGroup'] = node_group unless node_group.nil?
|
10284
|
+
command.query['filter'] = filter unless filter.nil?
|
10285
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
10286
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
10287
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
10288
|
+
command.query['fields'] = fields unless fields.nil?
|
10289
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10290
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10291
|
+
execute_or_queue_command(command, &block)
|
10292
|
+
end
|
10293
|
+
|
10294
|
+
# Updates the node template of the node group.
|
10295
|
+
# @param [String] project
|
10296
|
+
# Project ID for this request.
|
10297
|
+
# @param [String] zone
|
10298
|
+
# The name of the zone for this request.
|
10299
|
+
# @param [String] node_group
|
10300
|
+
# Name of the NodeGroup resource to delete.
|
10301
|
+
# @param [Google::Apis::ComputeV1::NodeGroupsSetNodeTemplateRequest] node_groups_set_node_template_request_object
|
10302
|
+
# @param [String] request_id
|
10303
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
10304
|
+
# that if you must retry your request, the server will know to ignore the
|
10305
|
+
# request if it has already been completed.
|
10306
|
+
# For example, consider a situation where you make an initial request and the
|
10307
|
+
# request times out. If you make the request again with the same request ID, the
|
10308
|
+
# server can check if original operation with the same request ID was received,
|
10309
|
+
# and if so, will ignore the second request. This prevents clients from
|
10310
|
+
# accidentally creating duplicate commitments.
|
10311
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
10312
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
10313
|
+
# @param [String] fields
|
10314
|
+
# Selector specifying which fields to include in a partial response.
|
10315
|
+
# @param [String] quota_user
|
10316
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10317
|
+
# characters.
|
10318
|
+
# @param [String] user_ip
|
10319
|
+
# Deprecated. Please use quotaUser instead.
|
10320
|
+
# @param [Google::Apis::RequestOptions] options
|
10321
|
+
# Request-specific options
|
10322
|
+
#
|
10323
|
+
# @yield [result, err] Result & error if block supplied
|
10324
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
10325
|
+
# @yieldparam err [StandardError] error object if request failed
|
10326
|
+
#
|
10327
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
10328
|
+
#
|
10329
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10330
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10331
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10332
|
+
def set_node_group_node_template(project, zone, node_group, node_groups_set_node_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10333
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate', options)
|
10334
|
+
command.request_representation = Google::Apis::ComputeV1::NodeGroupsSetNodeTemplateRequest::Representation
|
10335
|
+
command.request_object = node_groups_set_node_template_request_object
|
10336
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
10337
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
10338
|
+
command.params['project'] = project unless project.nil?
|
10339
|
+
command.params['zone'] = zone unless zone.nil?
|
10340
|
+
command.params['nodeGroup'] = node_group unless node_group.nil?
|
10341
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
10342
|
+
command.query['fields'] = fields unless fields.nil?
|
10343
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10344
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10345
|
+
execute_or_queue_command(command, &block)
|
10346
|
+
end
|
10347
|
+
|
10348
|
+
# Retrieves an aggregated list of node templates.
|
10349
|
+
# @param [String] project
|
10350
|
+
# Project ID for this request.
|
10351
|
+
# @param [String] filter
|
10352
|
+
# A filter expression that filters resources listed in the response. The
|
10353
|
+
# expression must specify the field name, a comparison operator, and the value
|
10354
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
10355
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
10356
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
10357
|
+
# instances named example-instance by specifying name != example-instance.
|
10358
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
10359
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
10360
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
10361
|
+
# on resource labels.
|
10362
|
+
# To filter on multiple expressions, provide each separate expression within
|
10363
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
10364
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
10365
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
10366
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
10367
|
+
# automaticRestart = true).
|
10368
|
+
# @param [Fixnum] max_results
|
10369
|
+
# The maximum number of results per page that should be returned. If the number
|
10370
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
10371
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
10372
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
10373
|
+
# @param [String] order_by
|
10374
|
+
# Sorts list results by a certain order. By default, results are returned in
|
10375
|
+
# alphanumerical order based on the resource name.
|
10376
|
+
# You can also sort results in descending order based on the creation timestamp
|
10377
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
10378
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
10379
|
+
# Use this to sort resources like operations so that the newest operation is
|
10380
|
+
# returned first.
|
10381
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
10382
|
+
# @param [String] page_token
|
10383
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
10384
|
+
# a previous list request to get the next page of results.
|
10385
|
+
# @param [String] fields
|
10386
|
+
# Selector specifying which fields to include in a partial response.
|
10387
|
+
# @param [String] quota_user
|
10388
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10389
|
+
# characters.
|
10390
|
+
# @param [String] user_ip
|
10391
|
+
# Deprecated. Please use quotaUser instead.
|
10392
|
+
# @param [Google::Apis::RequestOptions] options
|
10393
|
+
# Request-specific options
|
10394
|
+
#
|
10395
|
+
# @yield [result, err] Result & error if block supplied
|
10396
|
+
# @yieldparam result [Google::Apis::ComputeV1::NodeTemplateAggregatedList] parsed result object
|
10397
|
+
# @yieldparam err [StandardError] error object if request failed
|
10398
|
+
#
|
10399
|
+
# @return [Google::Apis::ComputeV1::NodeTemplateAggregatedList]
|
10400
|
+
#
|
10401
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10402
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10403
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10404
|
+
def aggregated_node_template_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10405
|
+
command = make_simple_command(:get, '{project}/aggregated/nodeTemplates', options)
|
10406
|
+
command.response_representation = Google::Apis::ComputeV1::NodeTemplateAggregatedList::Representation
|
10407
|
+
command.response_class = Google::Apis::ComputeV1::NodeTemplateAggregatedList
|
10408
|
+
command.params['project'] = project unless project.nil?
|
10409
|
+
command.query['filter'] = filter unless filter.nil?
|
10410
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
10411
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
10412
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
10413
|
+
command.query['fields'] = fields unless fields.nil?
|
10414
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10415
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10416
|
+
execute_or_queue_command(command, &block)
|
10417
|
+
end
|
10418
|
+
|
10419
|
+
# Deletes the specified NodeTemplate resource.
|
10420
|
+
# @param [String] project
|
10421
|
+
# Project ID for this request.
|
10422
|
+
# @param [String] region
|
10423
|
+
# The name of the region for this request.
|
10424
|
+
# @param [String] node_template
|
10425
|
+
# Name of the NodeTemplate resource to delete.
|
10426
|
+
# @param [String] request_id
|
10427
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
10428
|
+
# that if you must retry your request, the server will know to ignore the
|
10429
|
+
# request if it has already been completed.
|
10430
|
+
# For example, consider a situation where you make an initial request and the
|
10431
|
+
# request times out. If you make the request again with the same request ID, the
|
10432
|
+
# server can check if original operation with the same request ID was received,
|
10433
|
+
# and if so, will ignore the second request. This prevents clients from
|
10434
|
+
# accidentally creating duplicate commitments.
|
10435
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
10436
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
10437
|
+
# @param [String] fields
|
10438
|
+
# Selector specifying which fields to include in a partial response.
|
10439
|
+
# @param [String] quota_user
|
10440
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10441
|
+
# characters.
|
10442
|
+
# @param [String] user_ip
|
10443
|
+
# Deprecated. Please use quotaUser instead.
|
10444
|
+
# @param [Google::Apis::RequestOptions] options
|
10445
|
+
# Request-specific options
|
10446
|
+
#
|
10447
|
+
# @yield [result, err] Result & error if block supplied
|
10448
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
10449
|
+
# @yieldparam err [StandardError] error object if request failed
|
10450
|
+
#
|
10451
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
10452
|
+
#
|
10453
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10454
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10455
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10456
|
+
def delete_node_template(project, region, node_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10457
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options)
|
10458
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
10459
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
10460
|
+
command.params['project'] = project unless project.nil?
|
10461
|
+
command.params['region'] = region unless region.nil?
|
10462
|
+
command.params['nodeTemplate'] = node_template unless node_template.nil?
|
10463
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
10464
|
+
command.query['fields'] = fields unless fields.nil?
|
10465
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10466
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10467
|
+
execute_or_queue_command(command, &block)
|
10468
|
+
end
|
10469
|
+
|
10470
|
+
# Returns the specified node template. Gets a list of available node templates
|
10471
|
+
# by making a list() request.
|
10472
|
+
# @param [String] project
|
10473
|
+
# Project ID for this request.
|
10474
|
+
# @param [String] region
|
10475
|
+
# The name of the region for this request.
|
10476
|
+
# @param [String] node_template
|
10477
|
+
# Name of the node template to return.
|
10478
|
+
# @param [String] fields
|
10479
|
+
# Selector specifying which fields to include in a partial response.
|
10480
|
+
# @param [String] quota_user
|
10481
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10482
|
+
# characters.
|
10483
|
+
# @param [String] user_ip
|
10484
|
+
# Deprecated. Please use quotaUser instead.
|
10485
|
+
# @param [Google::Apis::RequestOptions] options
|
10486
|
+
# Request-specific options
|
10487
|
+
#
|
10488
|
+
# @yield [result, err] Result & error if block supplied
|
10489
|
+
# @yieldparam result [Google::Apis::ComputeV1::NodeTemplate] parsed result object
|
10490
|
+
# @yieldparam err [StandardError] error object if request failed
|
10491
|
+
#
|
10492
|
+
# @return [Google::Apis::ComputeV1::NodeTemplate]
|
10493
|
+
#
|
10494
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10495
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10496
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10497
|
+
def get_node_template(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10498
|
+
command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options)
|
10499
|
+
command.response_representation = Google::Apis::ComputeV1::NodeTemplate::Representation
|
10500
|
+
command.response_class = Google::Apis::ComputeV1::NodeTemplate
|
10501
|
+
command.params['project'] = project unless project.nil?
|
10502
|
+
command.params['region'] = region unless region.nil?
|
10503
|
+
command.params['nodeTemplate'] = node_template unless node_template.nil?
|
10504
|
+
command.query['fields'] = fields unless fields.nil?
|
10505
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10506
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10507
|
+
execute_or_queue_command(command, &block)
|
10508
|
+
end
|
10509
|
+
|
10510
|
+
# Creates a NodeTemplate resource in the specified project using the data
|
10511
|
+
# included in the request.
|
10512
|
+
# @param [String] project
|
10513
|
+
# Project ID for this request.
|
10514
|
+
# @param [String] region
|
10515
|
+
# The name of the region for this request.
|
10516
|
+
# @param [Google::Apis::ComputeV1::NodeTemplate] node_template_object
|
10517
|
+
# @param [String] request_id
|
10518
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
10519
|
+
# that if you must retry your request, the server will know to ignore the
|
10520
|
+
# request if it has already been completed.
|
10521
|
+
# For example, consider a situation where you make an initial request and the
|
10522
|
+
# request times out. If you make the request again with the same request ID, the
|
10523
|
+
# server can check if original operation with the same request ID was received,
|
10524
|
+
# and if so, will ignore the second request. This prevents clients from
|
10525
|
+
# accidentally creating duplicate commitments.
|
10526
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
10527
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
10528
|
+
# @param [String] fields
|
10529
|
+
# Selector specifying which fields to include in a partial response.
|
10530
|
+
# @param [String] quota_user
|
10531
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10532
|
+
# characters.
|
10533
|
+
# @param [String] user_ip
|
10534
|
+
# Deprecated. Please use quotaUser instead.
|
10535
|
+
# @param [Google::Apis::RequestOptions] options
|
10536
|
+
# Request-specific options
|
10537
|
+
#
|
10538
|
+
# @yield [result, err] Result & error if block supplied
|
10539
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
10540
|
+
# @yieldparam err [StandardError] error object if request failed
|
10541
|
+
#
|
10542
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
10543
|
+
#
|
10544
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10545
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10546
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10547
|
+
def insert_node_template(project, region, node_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10548
|
+
command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates', options)
|
10549
|
+
command.request_representation = Google::Apis::ComputeV1::NodeTemplate::Representation
|
10550
|
+
command.request_object = node_template_object
|
10551
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
10552
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
10553
|
+
command.params['project'] = project unless project.nil?
|
10554
|
+
command.params['region'] = region unless region.nil?
|
10555
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
10556
|
+
command.query['fields'] = fields unless fields.nil?
|
10557
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10558
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10559
|
+
execute_or_queue_command(command, &block)
|
10560
|
+
end
|
10561
|
+
|
10562
|
+
# Retrieves a list of node templates available to the specified project.
|
10563
|
+
# @param [String] project
|
10564
|
+
# Project ID for this request.
|
10565
|
+
# @param [String] region
|
10566
|
+
# The name of the region for this request.
|
10567
|
+
# @param [String] filter
|
10568
|
+
# A filter expression that filters resources listed in the response. The
|
10569
|
+
# expression must specify the field name, a comparison operator, and the value
|
10570
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
10571
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
10572
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
10573
|
+
# instances named example-instance by specifying name != example-instance.
|
10574
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
10575
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
10576
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
10577
|
+
# on resource labels.
|
10578
|
+
# To filter on multiple expressions, provide each separate expression within
|
10579
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
10580
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
10581
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
10582
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
10583
|
+
# automaticRestart = true).
|
10584
|
+
# @param [Fixnum] max_results
|
10585
|
+
# The maximum number of results per page that should be returned. If the number
|
10586
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
10587
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
10588
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
10589
|
+
# @param [String] order_by
|
10590
|
+
# Sorts list results by a certain order. By default, results are returned in
|
10591
|
+
# alphanumerical order based on the resource name.
|
10592
|
+
# You can also sort results in descending order based on the creation timestamp
|
10593
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
10594
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
10595
|
+
# Use this to sort resources like operations so that the newest operation is
|
10596
|
+
# returned first.
|
10597
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
10598
|
+
# @param [String] page_token
|
10599
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
10600
|
+
# a previous list request to get the next page of results.
|
10601
|
+
# @param [String] fields
|
10602
|
+
# Selector specifying which fields to include in a partial response.
|
10603
|
+
# @param [String] quota_user
|
10604
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10605
|
+
# characters.
|
10606
|
+
# @param [String] user_ip
|
10607
|
+
# Deprecated. Please use quotaUser instead.
|
10608
|
+
# @param [Google::Apis::RequestOptions] options
|
10609
|
+
# Request-specific options
|
10610
|
+
#
|
10611
|
+
# @yield [result, err] Result & error if block supplied
|
10612
|
+
# @yieldparam result [Google::Apis::ComputeV1::NodeTemplateList] parsed result object
|
10613
|
+
# @yieldparam err [StandardError] error object if request failed
|
10614
|
+
#
|
10615
|
+
# @return [Google::Apis::ComputeV1::NodeTemplateList]
|
10616
|
+
#
|
10617
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10618
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10619
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10620
|
+
def list_node_templates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10621
|
+
command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates', options)
|
10622
|
+
command.response_representation = Google::Apis::ComputeV1::NodeTemplateList::Representation
|
10623
|
+
command.response_class = Google::Apis::ComputeV1::NodeTemplateList
|
10624
|
+
command.params['project'] = project unless project.nil?
|
10625
|
+
command.params['region'] = region unless region.nil?
|
10626
|
+
command.query['filter'] = filter unless filter.nil?
|
10627
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
10628
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
10629
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
10630
|
+
command.query['fields'] = fields unless fields.nil?
|
10631
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10632
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10633
|
+
execute_or_queue_command(command, &block)
|
10634
|
+
end
|
10635
|
+
|
10636
|
+
# Retrieves an aggregated list of node types.
|
10637
|
+
# @param [String] project
|
10638
|
+
# Project ID for this request.
|
10639
|
+
# @param [String] filter
|
10640
|
+
# A filter expression that filters resources listed in the response. The
|
10641
|
+
# expression must specify the field name, a comparison operator, and the value
|
10642
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
10643
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
10644
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
10645
|
+
# instances named example-instance by specifying name != example-instance.
|
10646
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
10647
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
10648
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
10649
|
+
# on resource labels.
|
10650
|
+
# To filter on multiple expressions, provide each separate expression within
|
10651
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
10652
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
10653
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
10654
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
10655
|
+
# automaticRestart = true).
|
10656
|
+
# @param [Fixnum] max_results
|
10657
|
+
# The maximum number of results per page that should be returned. If the number
|
10658
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
10659
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
10660
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
10661
|
+
# @param [String] order_by
|
10662
|
+
# Sorts list results by a certain order. By default, results are returned in
|
10663
|
+
# alphanumerical order based on the resource name.
|
10664
|
+
# You can also sort results in descending order based on the creation timestamp
|
10665
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
10666
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
10667
|
+
# Use this to sort resources like operations so that the newest operation is
|
10668
|
+
# returned first.
|
10669
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
10670
|
+
# @param [String] page_token
|
10671
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
10672
|
+
# a previous list request to get the next page of results.
|
10673
|
+
# @param [String] fields
|
10674
|
+
# Selector specifying which fields to include in a partial response.
|
10675
|
+
# @param [String] quota_user
|
10676
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10677
|
+
# characters.
|
10678
|
+
# @param [String] user_ip
|
10679
|
+
# Deprecated. Please use quotaUser instead.
|
10680
|
+
# @param [Google::Apis::RequestOptions] options
|
10681
|
+
# Request-specific options
|
10682
|
+
#
|
10683
|
+
# @yield [result, err] Result & error if block supplied
|
10684
|
+
# @yieldparam result [Google::Apis::ComputeV1::NodeTypeAggregatedList] parsed result object
|
10685
|
+
# @yieldparam err [StandardError] error object if request failed
|
10686
|
+
#
|
10687
|
+
# @return [Google::Apis::ComputeV1::NodeTypeAggregatedList]
|
10688
|
+
#
|
10689
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10690
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10691
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10692
|
+
def aggregated_node_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10693
|
+
command = make_simple_command(:get, '{project}/aggregated/nodeTypes', options)
|
10694
|
+
command.response_representation = Google::Apis::ComputeV1::NodeTypeAggregatedList::Representation
|
10695
|
+
command.response_class = Google::Apis::ComputeV1::NodeTypeAggregatedList
|
10696
|
+
command.params['project'] = project unless project.nil?
|
10697
|
+
command.query['filter'] = filter unless filter.nil?
|
10698
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
10699
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
10700
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
10701
|
+
command.query['fields'] = fields unless fields.nil?
|
10702
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10703
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10704
|
+
execute_or_queue_command(command, &block)
|
10705
|
+
end
|
10706
|
+
|
10707
|
+
# Returns the specified node type. Gets a list of available node types by making
|
10708
|
+
# a list() request.
|
10709
|
+
# @param [String] project
|
10710
|
+
# Project ID for this request.
|
10711
|
+
# @param [String] zone
|
10712
|
+
# The name of the zone for this request.
|
10713
|
+
# @param [String] node_type
|
10714
|
+
# Name of the node type to return.
|
10715
|
+
# @param [String] fields
|
10716
|
+
# Selector specifying which fields to include in a partial response.
|
10717
|
+
# @param [String] quota_user
|
10718
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10719
|
+
# characters.
|
10720
|
+
# @param [String] user_ip
|
10721
|
+
# Deprecated. Please use quotaUser instead.
|
10722
|
+
# @param [Google::Apis::RequestOptions] options
|
10723
|
+
# Request-specific options
|
10724
|
+
#
|
10725
|
+
# @yield [result, err] Result & error if block supplied
|
10726
|
+
# @yieldparam result [Google::Apis::ComputeV1::NodeType] parsed result object
|
10727
|
+
# @yieldparam err [StandardError] error object if request failed
|
10728
|
+
#
|
10729
|
+
# @return [Google::Apis::ComputeV1::NodeType]
|
10730
|
+
#
|
10731
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10732
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10733
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10734
|
+
def get_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10735
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes/{nodeType}', options)
|
10736
|
+
command.response_representation = Google::Apis::ComputeV1::NodeType::Representation
|
10737
|
+
command.response_class = Google::Apis::ComputeV1::NodeType
|
10738
|
+
command.params['project'] = project unless project.nil?
|
10739
|
+
command.params['zone'] = zone unless zone.nil?
|
10740
|
+
command.params['nodeType'] = node_type unless node_type.nil?
|
10741
|
+
command.query['fields'] = fields unless fields.nil?
|
10742
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10743
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10744
|
+
execute_or_queue_command(command, &block)
|
10745
|
+
end
|
10746
|
+
|
10747
|
+
# Retrieves a list of node types available to the specified project.
|
10748
|
+
# @param [String] project
|
10749
|
+
# Project ID for this request.
|
10750
|
+
# @param [String] zone
|
10751
|
+
# The name of the zone for this request.
|
10752
|
+
# @param [String] filter
|
10753
|
+
# A filter expression that filters resources listed in the response. The
|
10754
|
+
# expression must specify the field name, a comparison operator, and the value
|
10755
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
10756
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
10757
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
10758
|
+
# instances named example-instance by specifying name != example-instance.
|
10759
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
10760
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
10761
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
10762
|
+
# on resource labels.
|
10763
|
+
# To filter on multiple expressions, provide each separate expression within
|
10764
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
10765
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
10766
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
10767
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
10768
|
+
# automaticRestart = true).
|
10769
|
+
# @param [Fixnum] max_results
|
10770
|
+
# The maximum number of results per page that should be returned. If the number
|
10771
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
10772
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
10773
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
10774
|
+
# @param [String] order_by
|
10775
|
+
# Sorts list results by a certain order. By default, results are returned in
|
10776
|
+
# alphanumerical order based on the resource name.
|
10777
|
+
# You can also sort results in descending order based on the creation timestamp
|
10778
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
10779
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
10780
|
+
# Use this to sort resources like operations so that the newest operation is
|
10781
|
+
# returned first.
|
10782
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
10783
|
+
# @param [String] page_token
|
10784
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
10785
|
+
# a previous list request to get the next page of results.
|
10786
|
+
# @param [String] fields
|
10787
|
+
# Selector specifying which fields to include in a partial response.
|
10788
|
+
# @param [String] quota_user
|
10789
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10790
|
+
# characters.
|
10791
|
+
# @param [String] user_ip
|
10792
|
+
# Deprecated. Please use quotaUser instead.
|
10793
|
+
# @param [Google::Apis::RequestOptions] options
|
10794
|
+
# Request-specific options
|
10795
|
+
#
|
10796
|
+
# @yield [result, err] Result & error if block supplied
|
10797
|
+
# @yieldparam result [Google::Apis::ComputeV1::NodeTypeList] parsed result object
|
9725
10798
|
# @yieldparam err [StandardError] error object if request failed
|
9726
10799
|
#
|
9727
|
-
# @return [Google::Apis::ComputeV1::
|
10800
|
+
# @return [Google::Apis::ComputeV1::NodeTypeList]
|
9728
10801
|
#
|
9729
10802
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9730
10803
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9731
10804
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9732
|
-
def
|
9733
|
-
command = make_simple_command(:
|
9734
|
-
command.response_representation = Google::Apis::ComputeV1::
|
9735
|
-
command.response_class = Google::Apis::ComputeV1::
|
10805
|
+
def list_node_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10806
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes', options)
|
10807
|
+
command.response_representation = Google::Apis::ComputeV1::NodeTypeList::Representation
|
10808
|
+
command.response_class = Google::Apis::ComputeV1::NodeTypeList
|
9736
10809
|
command.params['project'] = project unless project.nil?
|
9737
|
-
command.params['
|
9738
|
-
command.query['
|
10810
|
+
command.params['zone'] = zone unless zone.nil?
|
10811
|
+
command.query['filter'] = filter unless filter.nil?
|
10812
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
10813
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
10814
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
9739
10815
|
command.query['fields'] = fields unless fields.nil?
|
9740
10816
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9741
10817
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -10002,9 +11078,39 @@ module Google
|
|
10002
11078
|
# @param [String] project
|
10003
11079
|
# Project ID for this request.
|
10004
11080
|
# @param [String] filter
|
11081
|
+
# A filter expression that filters resources listed in the response. The
|
11082
|
+
# expression must specify the field name, a comparison operator, and the value
|
11083
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
11084
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
11085
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
11086
|
+
# instances named example-instance by specifying name != example-instance.
|
11087
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
11088
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
11089
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
11090
|
+
# on resource labels.
|
11091
|
+
# To filter on multiple expressions, provide each separate expression within
|
11092
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
11093
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
11094
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
11095
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
11096
|
+
# automaticRestart = true).
|
10005
11097
|
# @param [Fixnum] max_results
|
11098
|
+
# The maximum number of results per page that should be returned. If the number
|
11099
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
11100
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
11101
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
10006
11102
|
# @param [String] order_by
|
11103
|
+
# Sorts list results by a certain order. By default, results are returned in
|
11104
|
+
# alphanumerical order based on the resource name.
|
11105
|
+
# You can also sort results in descending order based on the creation timestamp
|
11106
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
11107
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
11108
|
+
# Use this to sort resources like operations so that the newest operation is
|
11109
|
+
# returned first.
|
11110
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
10007
11111
|
# @param [String] page_token
|
11112
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
11113
|
+
# a previous list request to get the next page of results.
|
10008
11114
|
# @param [String] fields
|
10009
11115
|
# Selector specifying which fields to include in a partial response.
|
10010
11116
|
# @param [String] quota_user
|
@@ -10044,9 +11150,39 @@ module Google
|
|
10044
11150
|
# Project ID for this request.
|
10045
11151
|
# @param [Google::Apis::ComputeV1::ProjectsListXpnHostsRequest] projects_list_xpn_hosts_request_object
|
10046
11152
|
# @param [String] filter
|
11153
|
+
# A filter expression that filters resources listed in the response. The
|
11154
|
+
# expression must specify the field name, a comparison operator, and the value
|
11155
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
11156
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
11157
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
11158
|
+
# instances named example-instance by specifying name != example-instance.
|
11159
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
11160
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
11161
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
11162
|
+
# on resource labels.
|
11163
|
+
# To filter on multiple expressions, provide each separate expression within
|
11164
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
11165
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
11166
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
11167
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
11168
|
+
# automaticRestart = true).
|
10047
11169
|
# @param [Fixnum] max_results
|
11170
|
+
# The maximum number of results per page that should be returned. If the number
|
11171
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
11172
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
11173
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
10048
11174
|
# @param [String] order_by
|
11175
|
+
# Sorts list results by a certain order. By default, results are returned in
|
11176
|
+
# alphanumerical order based on the resource name.
|
11177
|
+
# You can also sort results in descending order based on the creation timestamp
|
11178
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
11179
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
11180
|
+
# Use this to sort resources like operations so that the newest operation is
|
11181
|
+
# returned first.
|
11182
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
10049
11183
|
# @param [String] page_token
|
11184
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
11185
|
+
# a previous list request to get the next page of results.
|
10050
11186
|
# @param [String] fields
|
10051
11187
|
# Selector specifying which fields to include in a partial response.
|
10052
11188
|
# @param [String] quota_user
|
@@ -10228,6 +11364,56 @@ module Google
|
|
10228
11364
|
execute_or_queue_command(command, &block)
|
10229
11365
|
end
|
10230
11366
|
|
11367
|
+
# Sets the default network tier of the project. The default network tier is used
|
11368
|
+
# when an address/forwardingRule/instance is created without specifying the
|
11369
|
+
# network tier field.
|
11370
|
+
# @param [String] project
|
11371
|
+
# Project ID for this request.
|
11372
|
+
# @param [Google::Apis::ComputeV1::ProjectsSetDefaultNetworkTierRequest] projects_set_default_network_tier_request_object
|
11373
|
+
# @param [String] request_id
|
11374
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
11375
|
+
# that if you must retry your request, the server will know to ignore the
|
11376
|
+
# request if it has already been completed.
|
11377
|
+
# For example, consider a situation where you make an initial request and the
|
11378
|
+
# request times out. If you make the request again with the same request ID, the
|
11379
|
+
# server can check if original operation with the same request ID was received,
|
11380
|
+
# and if so, will ignore the second request. This prevents clients from
|
11381
|
+
# accidentally creating duplicate commitments.
|
11382
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
11383
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
11384
|
+
# @param [String] fields
|
11385
|
+
# Selector specifying which fields to include in a partial response.
|
11386
|
+
# @param [String] quota_user
|
11387
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
11388
|
+
# characters.
|
11389
|
+
# @param [String] user_ip
|
11390
|
+
# Deprecated. Please use quotaUser instead.
|
11391
|
+
# @param [Google::Apis::RequestOptions] options
|
11392
|
+
# Request-specific options
|
11393
|
+
#
|
11394
|
+
# @yield [result, err] Result & error if block supplied
|
11395
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
11396
|
+
# @yieldparam err [StandardError] error object if request failed
|
11397
|
+
#
|
11398
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
11399
|
+
#
|
11400
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11401
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11402
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11403
|
+
def set_project_default_network_tier(project, projects_set_default_network_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
11404
|
+
command = make_simple_command(:post, '{project}/setDefaultNetworkTier', options)
|
11405
|
+
command.request_representation = Google::Apis::ComputeV1::ProjectsSetDefaultNetworkTierRequest::Representation
|
11406
|
+
command.request_object = projects_set_default_network_tier_request_object
|
11407
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
11408
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
11409
|
+
command.params['project'] = project unless project.nil?
|
11410
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
11411
|
+
command.query['fields'] = fields unless fields.nil?
|
11412
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11413
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
11414
|
+
execute_or_queue_command(command, &block)
|
11415
|
+
end
|
11416
|
+
|
10231
11417
|
# Enables the usage export feature and sets the usage export bucket where
|
10232
11418
|
# reports are stored. If you provide an empty request body using this method,
|
10233
11419
|
# the usage export feature will be disabled.
|
@@ -12119,9 +13305,39 @@ module Google
|
|
12119
13305
|
# @param [String] instance_group_manager
|
12120
13306
|
# The name of the managed instance group.
|
12121
13307
|
# @param [String] filter
|
13308
|
+
# A filter expression that filters resources listed in the response. The
|
13309
|
+
# expression must specify the field name, a comparison operator, and the value
|
13310
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
13311
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
13312
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
13313
|
+
# instances named example-instance by specifying name != example-instance.
|
13314
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
13315
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
13316
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
13317
|
+
# on resource labels.
|
13318
|
+
# To filter on multiple expressions, provide each separate expression within
|
13319
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
13320
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
13321
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
13322
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
13323
|
+
# automaticRestart = true).
|
12122
13324
|
# @param [Fixnum] max_results
|
13325
|
+
# The maximum number of results per page that should be returned. If the number
|
13326
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
13327
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
13328
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
12123
13329
|
# @param [String] order_by
|
13330
|
+
# Sorts list results by a certain order. By default, results are returned in
|
13331
|
+
# alphanumerical order based on the resource name.
|
13332
|
+
# You can also sort results in descending order based on the creation timestamp
|
13333
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
13334
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
13335
|
+
# Use this to sort resources like operations so that the newest operation is
|
13336
|
+
# returned first.
|
13337
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
12124
13338
|
# @param [String] page_token
|
13339
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
13340
|
+
# a previous list request to get the next page of results.
|
12125
13341
|
# @param [String] fields
|
12126
13342
|
# Selector specifying which fields to include in a partial response.
|
12127
13343
|
# @param [String] quota_user
|
@@ -14667,6 +15883,77 @@ module Google
|
|
14667
15883
|
execute_or_queue_command(command, &block)
|
14668
15884
|
end
|
14669
15885
|
|
15886
|
+
# Retrieves an aggregated list of usable subnetworks.
|
15887
|
+
# @param [String] project
|
15888
|
+
# Project ID for this request.
|
15889
|
+
# @param [String] filter
|
15890
|
+
# A filter expression that filters resources listed in the response. The
|
15891
|
+
# expression must specify the field name, a comparison operator, and the value
|
15892
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
15893
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
15894
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
15895
|
+
# instances named example-instance by specifying name != example-instance.
|
15896
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
15897
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
15898
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
15899
|
+
# on resource labels.
|
15900
|
+
# To filter on multiple expressions, provide each separate expression within
|
15901
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
15902
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
15903
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
15904
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
15905
|
+
# automaticRestart = true).
|
15906
|
+
# @param [Fixnum] max_results
|
15907
|
+
# The maximum number of results per page that should be returned. If the number
|
15908
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
15909
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
15910
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
15911
|
+
# @param [String] order_by
|
15912
|
+
# Sorts list results by a certain order. By default, results are returned in
|
15913
|
+
# alphanumerical order based on the resource name.
|
15914
|
+
# You can also sort results in descending order based on the creation timestamp
|
15915
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
15916
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
15917
|
+
# Use this to sort resources like operations so that the newest operation is
|
15918
|
+
# returned first.
|
15919
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
15920
|
+
# @param [String] page_token
|
15921
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
15922
|
+
# a previous list request to get the next page of results.
|
15923
|
+
# @param [String] fields
|
15924
|
+
# Selector specifying which fields to include in a partial response.
|
15925
|
+
# @param [String] quota_user
|
15926
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
15927
|
+
# characters.
|
15928
|
+
# @param [String] user_ip
|
15929
|
+
# Deprecated. Please use quotaUser instead.
|
15930
|
+
# @param [Google::Apis::RequestOptions] options
|
15931
|
+
# Request-specific options
|
15932
|
+
#
|
15933
|
+
# @yield [result, err] Result & error if block supplied
|
15934
|
+
# @yieldparam result [Google::Apis::ComputeV1::UsableSubnetworksAggregatedList] parsed result object
|
15935
|
+
# @yieldparam err [StandardError] error object if request failed
|
15936
|
+
#
|
15937
|
+
# @return [Google::Apis::ComputeV1::UsableSubnetworksAggregatedList]
|
15938
|
+
#
|
15939
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15940
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15941
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15942
|
+
def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15943
|
+
command = make_simple_command(:get, '{project}/aggregated/subnetworks/listUsable', options)
|
15944
|
+
command.response_representation = Google::Apis::ComputeV1::UsableSubnetworksAggregatedList::Representation
|
15945
|
+
command.response_class = Google::Apis::ComputeV1::UsableSubnetworksAggregatedList
|
15946
|
+
command.params['project'] = project unless project.nil?
|
15947
|
+
command.query['filter'] = filter unless filter.nil?
|
15948
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
15949
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
15950
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
15951
|
+
command.query['fields'] = fields unless fields.nil?
|
15952
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15953
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15954
|
+
execute_or_queue_command(command, &block)
|
15955
|
+
end
|
15956
|
+
|
14670
15957
|
# Patches the specified subnetwork with the data included in the request. Only
|
14671
15958
|
# the following fields within the subnetwork resource can be specified in the
|
14672
15959
|
# request: secondary_ip_range, allow_subnet_cidr_routes_overlap and role. It is
|