google-api-client 0.28.4 → 0.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -34
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +460 -0
- data/README.md +1 -1
- data/Rakefile +31 -0
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +101 -2
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -100
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1/service.rb +45 -39
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta/service.rb +45 -39
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +5 -4
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
- data/generated/google/apis/bigquery_v2/representations.rb +414 -26
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
- data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +47 -47
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +276 -51
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
- data/generated/google/apis/cloudasset_v1/service.rb +191 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
- data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
- data/generated/google/apis/compute_alpha/representations.rb +1337 -219
- data/generated/google/apis/compute_alpha/service.rb +4259 -2728
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4254 -2781
- data/generated/google/apis/compute_beta/representations.rb +853 -283
- data/generated/google/apis/compute_beta/service.rb +7077 -5955
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1259 -93
- data/generated/google/apis/compute_v1/representations.rb +450 -1
- data/generated/google/apis/compute_v1/service.rb +1085 -400
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +201 -22
- data/generated/google/apis/container_v1/representations.rb +69 -0
- data/generated/google/apis/container_v1/service.rb +151 -102
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +215 -25
- data/generated/google/apis/container_v1beta1/representations.rb +86 -0
- data/generated/google/apis/container_v1beta1/service.rb +106 -106
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +218 -101
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +189 -152
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +387 -216
- data/generated/google/apis/content_v2_1/representations.rb +131 -56
- data/generated/google/apis/content_v2_1/service.rb +190 -107
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
- data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +27 -22
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2/service.rb +76 -60
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +116 -45
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +85 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +83 -1
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +265 -47
- data/generated/google/apis/docs_v1/representations.rb +96 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +601 -80
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +574 -164
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -75
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +483 -116
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +646 -11
- data/generated/google/apis/file_v1/representations.rb +207 -0
- data/generated/google/apis/file_v1/service.rb +196 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +461 -19
- data/generated/google/apis/file_v1beta1/representations.rb +137 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firebaserules_v1/service.rb +12 -12
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +4 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -58
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/games_v1.rb +3 -3
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +142 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +4 -4
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/iam_v1/classes.rb +171 -1
- data/generated/google/apis/iam_v1/representations.rb +95 -0
- data/generated/google/apis/iam_v1/service.rb +249 -39
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/classes.rb +16 -17
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +14 -8
- data/generated/google/apis/jobs_v3/service.rb +16 -17
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
- data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +8 -7
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +8 -3
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +240 -52
- data/generated/google/apis/ml_v1/representations.rb +25 -2
- data/generated/google/apis/ml_v1/service.rb +36 -36
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +22 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -1
- data/generated/google/apis/monitoring_v3/service.rb +42 -37
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +3 -162
- data/generated/google/apis/oauth2_v1.rb +3 -6
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oauth2_v2.rb +3 -6
- data/generated/google/apis/oslogin_v1/service.rb +8 -7
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +38 -29
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +18 -13
- data/generated/google/apis/people_v1.rb +2 -5
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +18 -392
- data/generated/google/apis/plus_domains_v1.rb +4 -10
- data/generated/google/apis/plus_v1/service.rb +16 -16
- data/generated/google/apis/plus_v1.rb +4 -4
- data/generated/google/apis/poly_v1/classes.rb +8 -6
- data/generated/google/apis/poly_v1/service.rb +15 -12
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +55 -39
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +46 -69
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -10
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +51 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +18 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +73 -0
- data/generated/google/apis/run_v1/representations.rb +43 -0
- data/generated/google/apis/run_v1/service.rb +90 -0
- data/generated/google/apis/run_v1.rb +35 -0
- data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
- data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
- data/generated/google/apis/run_v1alpha1.rb +35 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -6
- data/generated/google/apis/script_v1/representations.rb +79 -1
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
- data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
- data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +231 -17
- data/generated/google/apis/spanner_v1/representations.rb +66 -0
- data/generated/google/apis/spanner_v1/service.rb +92 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +110 -13
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1/service.rb +9 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +201 -4
- data/generated/google/apis/storage_v1/representations.rb +76 -1
- data/generated/google/apis/storage_v1/service.rb +488 -93
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
- data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
- data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -95
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +287 -249
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/testing_v1/classes.rb +44 -39
- data/generated/google/apis/testing_v1/representations.rb +3 -1
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
- data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/classes.rb +44 -18
- data/generated/google/apis/vault_v1/representations.rb +4 -0
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +7 -6
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/vision_v1/classes.rb +4397 -124
- data/generated/google/apis/vision_v1/representations.rb +2366 -541
- data/generated/google/apis/vision_v1/service.rb +160 -33
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +9 -180
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +86 -17
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
- data/samples/web/.env +0 -2
|
@@ -47,7 +47,7 @@ module Google
|
|
|
47
47
|
attr_accessor :user_ip
|
|
48
48
|
|
|
49
49
|
def initialize
|
|
50
|
-
super('https://
|
|
50
|
+
super('https://compute.googleapis.com/', 'compute/v1/projects/')
|
|
51
51
|
@batch_path = 'batch/compute/v1'
|
|
52
52
|
end
|
|
53
53
|
|
|
@@ -108,7 +108,7 @@ module Google
|
|
|
108
108
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
109
109
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
110
110
|
def aggregated_accelerator_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)
|
|
111
|
-
command =
|
|
111
|
+
command = make_simple_command(:get, '{project}/aggregated/acceleratorTypes', options)
|
|
112
112
|
command.response_representation = Google::Apis::ComputeV1::AcceleratorTypeAggregatedList::Representation
|
|
113
113
|
command.response_class = Google::Apis::ComputeV1::AcceleratorTypeAggregatedList
|
|
114
114
|
command.params['project'] = project unless project.nil?
|
|
@@ -149,7 +149,7 @@ module Google
|
|
|
149
149
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
150
150
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
151
151
|
def get_accelerator_type(project, zone, accelerator_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
152
|
-
command =
|
|
152
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes/{acceleratorType}', options)
|
|
153
153
|
command.response_representation = Google::Apis::ComputeV1::AcceleratorType::Representation
|
|
154
154
|
command.response_class = Google::Apis::ComputeV1::AcceleratorType
|
|
155
155
|
command.params['project'] = project unless project.nil?
|
|
@@ -220,7 +220,7 @@ module Google
|
|
|
220
220
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
221
221
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
222
222
|
def list_accelerator_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)
|
|
223
|
-
command =
|
|
223
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes', options)
|
|
224
224
|
command.response_representation = Google::Apis::ComputeV1::AcceleratorTypeList::Representation
|
|
225
225
|
command.response_class = Google::Apis::ComputeV1::AcceleratorTypeList
|
|
226
226
|
command.params['project'] = project unless project.nil?
|
|
@@ -292,7 +292,7 @@ module Google
|
|
|
292
292
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
293
293
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
294
294
|
def list_aggregated_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
295
|
-
command =
|
|
295
|
+
command = make_simple_command(:get, '{project}/aggregated/addresses', options)
|
|
296
296
|
command.response_representation = Google::Apis::ComputeV1::AddressAggregatedList::Representation
|
|
297
297
|
command.response_class = Google::Apis::ComputeV1::AddressAggregatedList
|
|
298
298
|
command.params['project'] = project unless project.nil?
|
|
@@ -344,7 +344,7 @@ module Google
|
|
|
344
344
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
345
345
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
346
346
|
def delete_address(project, region, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
347
|
-
command =
|
|
347
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/addresses/{address}', options)
|
|
348
348
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
349
349
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
350
350
|
command.params['project'] = project unless project.nil?
|
|
@@ -384,7 +384,7 @@ module Google
|
|
|
384
384
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
385
385
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
386
386
|
def get_address(project, region, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
387
|
-
command =
|
|
387
|
+
command = make_simple_command(:get, '{project}/regions/{region}/addresses/{address}', options)
|
|
388
388
|
command.response_representation = Google::Apis::ComputeV1::Address::Representation
|
|
389
389
|
command.response_class = Google::Apis::ComputeV1::Address
|
|
390
390
|
command.params['project'] = project unless project.nil?
|
|
@@ -434,7 +434,7 @@ module Google
|
|
|
434
434
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
435
435
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
436
436
|
def insert_address(project, region, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
437
|
-
command =
|
|
437
|
+
command = make_simple_command(:post, '{project}/regions/{region}/addresses', options)
|
|
438
438
|
command.request_representation = Google::Apis::ComputeV1::Address::Representation
|
|
439
439
|
command.request_object = address_object
|
|
440
440
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -507,7 +507,7 @@ module Google
|
|
|
507
507
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
508
508
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
509
509
|
def list_addresses(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
510
|
-
command =
|
|
510
|
+
command = make_simple_command(:get, '{project}/regions/{region}/addresses', options)
|
|
511
511
|
command.response_representation = Google::Apis::ComputeV1::AddressList::Representation
|
|
512
512
|
command.response_class = Google::Apis::ComputeV1::AddressList
|
|
513
513
|
command.params['project'] = project unless project.nil?
|
|
@@ -579,7 +579,7 @@ module Google
|
|
|
579
579
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
580
580
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
581
581
|
def list_aggregated_autoscalers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
582
|
-
command =
|
|
582
|
+
command = make_simple_command(:get, '{project}/aggregated/autoscalers', options)
|
|
583
583
|
command.response_representation = Google::Apis::ComputeV1::AutoscalerAggregatedList::Representation
|
|
584
584
|
command.response_class = Google::Apis::ComputeV1::AutoscalerAggregatedList
|
|
585
585
|
command.params['project'] = project unless project.nil?
|
|
@@ -631,7 +631,7 @@ module Google
|
|
|
631
631
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
632
632
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
633
633
|
def delete_autoscaler(project, zone, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
634
|
-
command =
|
|
634
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/autoscalers/{autoscaler}', options)
|
|
635
635
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
636
636
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
637
637
|
command.params['project'] = project unless project.nil?
|
|
@@ -672,7 +672,7 @@ module Google
|
|
|
672
672
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
673
673
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
674
674
|
def get_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
675
|
-
command =
|
|
675
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/autoscalers/{autoscaler}', options)
|
|
676
676
|
command.response_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
|
677
677
|
command.response_class = Google::Apis::ComputeV1::Autoscaler
|
|
678
678
|
command.params['project'] = project unless project.nil?
|
|
@@ -722,7 +722,7 @@ module Google
|
|
|
722
722
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
723
723
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
724
724
|
def insert_autoscaler(project, zone, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
725
|
-
command =
|
|
725
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/autoscalers', options)
|
|
726
726
|
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
|
727
727
|
command.request_object = autoscaler_object
|
|
728
728
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -795,7 +795,7 @@ module Google
|
|
|
795
795
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
796
796
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
797
797
|
def list_autoscalers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
798
|
-
command =
|
|
798
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/autoscalers', options)
|
|
799
799
|
command.response_representation = Google::Apis::ComputeV1::AutoscalerList::Representation
|
|
800
800
|
command.response_class = Google::Apis::ComputeV1::AutoscalerList
|
|
801
801
|
command.params['project'] = project unless project.nil?
|
|
@@ -851,7 +851,7 @@ module Google
|
|
|
851
851
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
852
852
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
853
853
|
def patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
854
|
-
command =
|
|
854
|
+
command = make_simple_command(:patch, '{project}/zones/{zone}/autoscalers', options)
|
|
855
855
|
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
|
856
856
|
command.request_object = autoscaler_object
|
|
857
857
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -906,7 +906,7 @@ module Google
|
|
|
906
906
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
907
907
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
908
908
|
def update_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
909
|
-
command =
|
|
909
|
+
command = make_simple_command(:put, '{project}/zones/{zone}/autoscalers', options)
|
|
910
910
|
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
|
911
911
|
command.request_object = autoscaler_object
|
|
912
912
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -959,7 +959,7 @@ module Google
|
|
|
959
959
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
960
960
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
961
961
|
def add_backend_bucket_signed_url_key(project, backend_bucket, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
962
|
-
command =
|
|
962
|
+
command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey', options)
|
|
963
963
|
command.request_representation = Google::Apis::ComputeV1::SignedUrlKey::Representation
|
|
964
964
|
command.request_object = signed_url_key_object
|
|
965
965
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -1009,7 +1009,7 @@ module Google
|
|
|
1009
1009
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1010
1010
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1011
1011
|
def delete_backend_bucket(project, backend_bucket, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1012
|
-
command =
|
|
1012
|
+
command = make_simple_command(:delete, '{project}/global/backendBuckets/{backendBucket}', options)
|
|
1013
1013
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
1014
1014
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
1015
1015
|
command.params['project'] = project unless project.nil?
|
|
@@ -1060,7 +1060,7 @@ module Google
|
|
|
1060
1060
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1061
1061
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1062
1062
|
def delete_backend_bucket_signed_url_key(project, backend_bucket, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1063
|
-
command =
|
|
1063
|
+
command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey', options)
|
|
1064
1064
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
1065
1065
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
1066
1066
|
command.params['project'] = project unless project.nil?
|
|
@@ -1099,7 +1099,7 @@ module Google
|
|
|
1099
1099
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1100
1100
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1101
1101
|
def get_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1102
|
-
command =
|
|
1102
|
+
command = make_simple_command(:get, '{project}/global/backendBuckets/{backendBucket}', options)
|
|
1103
1103
|
command.response_representation = Google::Apis::ComputeV1::BackendBucket::Representation
|
|
1104
1104
|
command.response_class = Google::Apis::ComputeV1::BackendBucket
|
|
1105
1105
|
command.params['project'] = project unless project.nil?
|
|
@@ -1146,7 +1146,7 @@ module Google
|
|
|
1146
1146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1147
1147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1148
1148
|
def insert_backend_bucket(project, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1149
|
-
command =
|
|
1149
|
+
command = make_simple_command(:post, '{project}/global/backendBuckets', options)
|
|
1150
1150
|
command.request_representation = Google::Apis::ComputeV1::BackendBucket::Representation
|
|
1151
1151
|
command.request_object = backend_bucket_object
|
|
1152
1152
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -1217,7 +1217,7 @@ module Google
|
|
|
1217
1217
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1218
1218
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1219
1219
|
def list_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1220
|
-
command =
|
|
1220
|
+
command = make_simple_command(:get, '{project}/global/backendBuckets', options)
|
|
1221
1221
|
command.response_representation = Google::Apis::ComputeV1::BackendBucketList::Representation
|
|
1222
1222
|
command.response_class = Google::Apis::ComputeV1::BackendBucketList
|
|
1223
1223
|
command.params['project'] = project unless project.nil?
|
|
@@ -1270,7 +1270,7 @@ module Google
|
|
|
1270
1270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1271
1271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1272
1272
|
def patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1273
|
-
command =
|
|
1273
|
+
command = make_simple_command(:patch, '{project}/global/backendBuckets/{backendBucket}', options)
|
|
1274
1274
|
command.request_representation = Google::Apis::ComputeV1::BackendBucket::Representation
|
|
1275
1275
|
command.request_object = backend_bucket_object
|
|
1276
1276
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -1322,7 +1322,7 @@ module Google
|
|
|
1322
1322
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1323
1323
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1324
1324
|
def update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1325
|
-
command =
|
|
1325
|
+
command = make_simple_command(:put, '{project}/global/backendBuckets/{backendBucket}', options)
|
|
1326
1326
|
command.request_representation = Google::Apis::ComputeV1::BackendBucket::Representation
|
|
1327
1327
|
command.request_object = backend_bucket_object
|
|
1328
1328
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -1374,7 +1374,7 @@ module Google
|
|
|
1374
1374
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1375
1375
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1376
1376
|
def add_backend_service_signed_url_key(project, backend_service, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1377
|
-
command =
|
|
1377
|
+
command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/addSignedUrlKey', options)
|
|
1378
1378
|
command.request_representation = Google::Apis::ComputeV1::SignedUrlKey::Representation
|
|
1379
1379
|
command.request_object = signed_url_key_object
|
|
1380
1380
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -1446,7 +1446,7 @@ module Google
|
|
|
1446
1446
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1447
1447
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1448
1448
|
def aggregated_backend_service_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1449
|
-
command =
|
|
1449
|
+
command = make_simple_command(:get, '{project}/aggregated/backendServices', options)
|
|
1450
1450
|
command.response_representation = Google::Apis::ComputeV1::BackendServiceAggregatedList::Representation
|
|
1451
1451
|
command.response_class = Google::Apis::ComputeV1::BackendServiceAggregatedList
|
|
1452
1452
|
command.params['project'] = project unless project.nil?
|
|
@@ -1496,7 +1496,7 @@ module Google
|
|
|
1496
1496
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1497
1497
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1498
1498
|
def delete_backend_service(project, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1499
|
-
command =
|
|
1499
|
+
command = make_simple_command(:delete, '{project}/global/backendServices/{backendService}', options)
|
|
1500
1500
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
1501
1501
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
1502
1502
|
command.params['project'] = project unless project.nil?
|
|
@@ -1548,7 +1548,7 @@ module Google
|
|
|
1548
1548
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1549
1549
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1550
1550
|
def delete_backend_service_signed_url_key(project, backend_service, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1551
|
-
command =
|
|
1551
|
+
command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/deleteSignedUrlKey', options)
|
|
1552
1552
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
1553
1553
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
1554
1554
|
command.params['project'] = project unless project.nil?
|
|
@@ -1587,7 +1587,7 @@ module Google
|
|
|
1587
1587
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1588
1588
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1589
1589
|
def get_backend_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1590
|
-
command =
|
|
1590
|
+
command = make_simple_command(:get, '{project}/global/backendServices/{backendService}', options)
|
|
1591
1591
|
command.response_representation = Google::Apis::ComputeV1::BackendService::Representation
|
|
1592
1592
|
command.response_class = Google::Apis::ComputeV1::BackendService
|
|
1593
1593
|
command.params['project'] = project unless project.nil?
|
|
@@ -1623,7 +1623,7 @@ module Google
|
|
|
1623
1623
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1624
1624
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1625
1625
|
def get_backend_service_health(project, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1626
|
-
command =
|
|
1626
|
+
command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/getHealth', options)
|
|
1627
1627
|
command.request_representation = Google::Apis::ComputeV1::ResourceGroupReference::Representation
|
|
1628
1628
|
command.request_object = resource_group_reference_object
|
|
1629
1629
|
command.response_representation = Google::Apis::ComputeV1::BackendServiceGroupHealth::Representation
|
|
@@ -1674,7 +1674,7 @@ module Google
|
|
|
1674
1674
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1675
1675
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1676
1676
|
def insert_backend_service(project, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1677
|
-
command =
|
|
1677
|
+
command = make_simple_command(:post, '{project}/global/backendServices', options)
|
|
1678
1678
|
command.request_representation = Google::Apis::ComputeV1::BackendService::Representation
|
|
1679
1679
|
command.request_object = backend_service_object
|
|
1680
1680
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -1745,7 +1745,7 @@ module Google
|
|
|
1745
1745
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1746
1746
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1747
1747
|
def list_backend_services(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1748
|
-
command =
|
|
1748
|
+
command = make_simple_command(:get, '{project}/global/backendServices', options)
|
|
1749
1749
|
command.response_representation = Google::Apis::ComputeV1::BackendServiceList::Representation
|
|
1750
1750
|
command.response_class = Google::Apis::ComputeV1::BackendServiceList
|
|
1751
1751
|
command.params['project'] = project unless project.nil?
|
|
@@ -1800,7 +1800,7 @@ module Google
|
|
|
1800
1800
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1801
1801
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1802
1802
|
def patch_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1803
|
-
command =
|
|
1803
|
+
command = make_simple_command(:patch, '{project}/global/backendServices/{backendService}', options)
|
|
1804
1804
|
command.request_representation = Google::Apis::ComputeV1::BackendService::Representation
|
|
1805
1805
|
command.request_object = backend_service_object
|
|
1806
1806
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -1852,7 +1852,7 @@ module Google
|
|
|
1852
1852
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1853
1853
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1854
1854
|
def set_backend_service_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1855
|
-
command =
|
|
1855
|
+
command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/setSecurityPolicy', options)
|
|
1856
1856
|
command.request_representation = Google::Apis::ComputeV1::SecurityPolicyReference::Representation
|
|
1857
1857
|
command.request_object = security_policy_reference_object
|
|
1858
1858
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -1906,7 +1906,7 @@ module Google
|
|
|
1906
1906
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1907
1907
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1908
1908
|
def update_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1909
|
-
command =
|
|
1909
|
+
command = make_simple_command(:put, '{project}/global/backendServices/{backendService}', options)
|
|
1910
1910
|
command.request_representation = Google::Apis::ComputeV1::BackendService::Representation
|
|
1911
1911
|
command.request_object = backend_service_object
|
|
1912
1912
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -1977,7 +1977,7 @@ module Google
|
|
|
1977
1977
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1978
1978
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1979
1979
|
def list_aggregated_disk_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1980
|
-
command =
|
|
1980
|
+
command = make_simple_command(:get, '{project}/aggregated/diskTypes', options)
|
|
1981
1981
|
command.response_representation = Google::Apis::ComputeV1::DiskTypeAggregatedList::Representation
|
|
1982
1982
|
command.response_class = Google::Apis::ComputeV1::DiskTypeAggregatedList
|
|
1983
1983
|
command.params['project'] = project unless project.nil?
|
|
@@ -2019,7 +2019,7 @@ module Google
|
|
|
2019
2019
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2020
2020
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2021
2021
|
def get_disk_type(project, zone, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2022
|
-
command =
|
|
2022
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/diskTypes/{diskType}', options)
|
|
2023
2023
|
command.response_representation = Google::Apis::ComputeV1::DiskType::Representation
|
|
2024
2024
|
command.response_class = Google::Apis::ComputeV1::DiskType
|
|
2025
2025
|
command.params['project'] = project unless project.nil?
|
|
@@ -2090,7 +2090,7 @@ module Google
|
|
|
2090
2090
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2091
2091
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2092
2092
|
def list_disk_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)
|
|
2093
|
-
command =
|
|
2093
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/diskTypes', options)
|
|
2094
2094
|
command.response_representation = Google::Apis::ComputeV1::DiskTypeList::Representation
|
|
2095
2095
|
command.response_class = Google::Apis::ComputeV1::DiskTypeList
|
|
2096
2096
|
command.params['project'] = project unless project.nil?
|
|
@@ -2162,7 +2162,7 @@ module Google
|
|
|
2162
2162
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2163
2163
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2164
2164
|
def list_aggregated_disk(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2165
|
-
command =
|
|
2165
|
+
command = make_simple_command(:get, '{project}/aggregated/disks', options)
|
|
2166
2166
|
command.response_representation = Google::Apis::ComputeV1::DiskAggregatedList::Representation
|
|
2167
2167
|
command.response_class = Google::Apis::ComputeV1::DiskAggregatedList
|
|
2168
2168
|
command.params['project'] = project unless project.nil?
|
|
@@ -2185,6 +2185,7 @@ module Google
|
|
|
2185
2185
|
# Name of the persistent disk to snapshot.
|
|
2186
2186
|
# @param [Google::Apis::ComputeV1::Snapshot] snapshot_object
|
|
2187
2187
|
# @param [Boolean] guest_flush
|
|
2188
|
+
# Application consistent snapshot (ie. VSS).
|
|
2188
2189
|
# @param [String] request_id
|
|
2189
2190
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
2190
2191
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -2216,7 +2217,7 @@ module Google
|
|
|
2216
2217
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2217
2218
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2218
2219
|
def create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2219
|
-
command =
|
|
2220
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/createSnapshot', options)
|
|
2220
2221
|
command.request_representation = Google::Apis::ComputeV1::Snapshot::Representation
|
|
2221
2222
|
command.request_object = snapshot_object
|
|
2222
2223
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -2272,7 +2273,7 @@ module Google
|
|
|
2272
2273
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2273
2274
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2274
2275
|
def delete_disk(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2275
|
-
command =
|
|
2276
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/disks/{disk}', options)
|
|
2276
2277
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
2277
2278
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
2278
2279
|
command.params['project'] = project unless project.nil?
|
|
@@ -2313,7 +2314,7 @@ module Google
|
|
|
2313
2314
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2314
2315
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2315
2316
|
def get_disk(project, zone, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2316
|
-
command =
|
|
2317
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/disks/{disk}', options)
|
|
2317
2318
|
command.response_representation = Google::Apis::ComputeV1::Disk::Representation
|
|
2318
2319
|
command.response_class = Google::Apis::ComputeV1::Disk
|
|
2319
2320
|
command.params['project'] = project unless project.nil?
|
|
@@ -2353,7 +2354,7 @@ module Google
|
|
|
2353
2354
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2354
2355
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2355
2356
|
def get_disk_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2356
|
-
command =
|
|
2357
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/disks/{resource}/getIamPolicy', options)
|
|
2357
2358
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
2358
2359
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
2359
2360
|
command.params['project'] = project unless project.nil?
|
|
@@ -2407,7 +2408,7 @@ module Google
|
|
|
2407
2408
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2408
2409
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2409
2410
|
def insert_disk(project, zone, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2410
|
-
command =
|
|
2411
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/disks', options)
|
|
2411
2412
|
command.request_representation = Google::Apis::ComputeV1::Disk::Representation
|
|
2412
2413
|
command.request_object = disk_object
|
|
2413
2414
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -2481,7 +2482,7 @@ module Google
|
|
|
2481
2482
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2482
2483
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2483
2484
|
def list_disks(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2484
|
-
command =
|
|
2485
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/disks', options)
|
|
2485
2486
|
command.response_representation = Google::Apis::ComputeV1::DiskList::Representation
|
|
2486
2487
|
command.response_class = Google::Apis::ComputeV1::DiskList
|
|
2487
2488
|
command.params['project'] = project unless project.nil?
|
|
@@ -2536,7 +2537,7 @@ module Google
|
|
|
2536
2537
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2537
2538
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2538
2539
|
def resize_disk(project, zone, disk, disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2539
|
-
command =
|
|
2540
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/resize', options)
|
|
2540
2541
|
command.request_representation = Google::Apis::ComputeV1::DisksResizeRequest::Representation
|
|
2541
2542
|
command.request_object = disks_resize_request_object
|
|
2542
2543
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -2580,7 +2581,7 @@ module Google
|
|
|
2580
2581
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2581
2582
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2582
2583
|
def set_disk_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2583
|
-
command =
|
|
2584
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setIamPolicy', options)
|
|
2584
2585
|
command.request_representation = Google::Apis::ComputeV1::ZoneSetPolicyRequest::Representation
|
|
2585
2586
|
command.request_object = zone_set_policy_request_object
|
|
2586
2587
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -2634,7 +2635,7 @@ module Google
|
|
|
2634
2635
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2635
2636
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2636
2637
|
def set_disk_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2637
|
-
command =
|
|
2638
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setLabels', options)
|
|
2638
2639
|
command.request_representation = Google::Apis::ComputeV1::ZoneSetLabelsRequest::Representation
|
|
2639
2640
|
command.request_object = zone_set_labels_request_object
|
|
2640
2641
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -2677,7 +2678,7 @@ module Google
|
|
|
2677
2678
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2678
2679
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2679
2680
|
def test_disk_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2680
|
-
command =
|
|
2681
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/testIamPermissions', options)
|
|
2681
2682
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
2682
2683
|
command.request_object = test_permissions_request_object
|
|
2683
2684
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -2727,7 +2728,7 @@ module Google
|
|
|
2727
2728
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2728
2729
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2729
2730
|
def delete_firewall(project, firewall, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2730
|
-
command =
|
|
2731
|
+
command = make_simple_command(:delete, '{project}/global/firewalls/{firewall}', options)
|
|
2731
2732
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
2732
2733
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
2733
2734
|
command.params['project'] = project unless project.nil?
|
|
@@ -2764,7 +2765,7 @@ module Google
|
|
|
2764
2765
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2765
2766
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2766
2767
|
def get_firewall(project, firewall, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2767
|
-
command =
|
|
2768
|
+
command = make_simple_command(:get, '{project}/global/firewalls/{firewall}', options)
|
|
2768
2769
|
command.response_representation = Google::Apis::ComputeV1::Firewall::Representation
|
|
2769
2770
|
command.response_class = Google::Apis::ComputeV1::Firewall
|
|
2770
2771
|
command.params['project'] = project unless project.nil?
|
|
@@ -2811,7 +2812,7 @@ module Google
|
|
|
2811
2812
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2812
2813
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2813
2814
|
def insert_firewall(project, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2814
|
-
command =
|
|
2815
|
+
command = make_simple_command(:post, '{project}/global/firewalls', options)
|
|
2815
2816
|
command.request_representation = Google::Apis::ComputeV1::Firewall::Representation
|
|
2816
2817
|
command.request_object = firewall_object
|
|
2817
2818
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -2881,7 +2882,7 @@ module Google
|
|
|
2881
2882
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2882
2883
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2883
2884
|
def list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2884
|
-
command =
|
|
2885
|
+
command = make_simple_command(:get, '{project}/global/firewalls', options)
|
|
2885
2886
|
command.response_representation = Google::Apis::ComputeV1::FirewallList::Representation
|
|
2886
2887
|
command.response_class = Google::Apis::ComputeV1::FirewallList
|
|
2887
2888
|
command.params['project'] = project unless project.nil?
|
|
@@ -2934,7 +2935,7 @@ module Google
|
|
|
2934
2935
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2935
2936
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2936
2937
|
def patch_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2937
|
-
command =
|
|
2938
|
+
command = make_simple_command(:patch, '{project}/global/firewalls/{firewall}', options)
|
|
2938
2939
|
command.request_representation = Google::Apis::ComputeV1::Firewall::Representation
|
|
2939
2940
|
command.request_object = firewall_object
|
|
2940
2941
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -2987,7 +2988,7 @@ module Google
|
|
|
2987
2988
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2988
2989
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2989
2990
|
def update_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2990
|
-
command =
|
|
2991
|
+
command = make_simple_command(:put, '{project}/global/firewalls/{firewall}', options)
|
|
2991
2992
|
command.request_representation = Google::Apis::ComputeV1::Firewall::Representation
|
|
2992
2993
|
command.request_object = firewall_object
|
|
2993
2994
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -3058,7 +3059,7 @@ module Google
|
|
|
3058
3059
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3059
3060
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3060
3061
|
def list_aggregated_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3061
|
-
command =
|
|
3062
|
+
command = make_simple_command(:get, '{project}/aggregated/forwardingRules', options)
|
|
3062
3063
|
command.response_representation = Google::Apis::ComputeV1::ForwardingRuleAggregatedList::Representation
|
|
3063
3064
|
command.response_class = Google::Apis::ComputeV1::ForwardingRuleAggregatedList
|
|
3064
3065
|
command.params['project'] = project unless project.nil?
|
|
@@ -3110,7 +3111,7 @@ module Google
|
|
|
3110
3111
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3111
3112
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3112
3113
|
def delete_forwarding_rule(project, region, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3113
|
-
command =
|
|
3114
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options)
|
|
3114
3115
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
3115
3116
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
3116
3117
|
command.params['project'] = project unless project.nil?
|
|
@@ -3150,7 +3151,7 @@ module Google
|
|
|
3150
3151
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3151
3152
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3152
3153
|
def get_forwarding_rule(project, region, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3153
|
-
command =
|
|
3154
|
+
command = make_simple_command(:get, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options)
|
|
3154
3155
|
command.response_representation = Google::Apis::ComputeV1::ForwardingRule::Representation
|
|
3155
3156
|
command.response_class = Google::Apis::ComputeV1::ForwardingRule
|
|
3156
3157
|
command.params['project'] = project unless project.nil?
|
|
@@ -3200,7 +3201,7 @@ module Google
|
|
|
3200
3201
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3201
3202
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3202
3203
|
def insert_forwarding_rule(project, region, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3203
|
-
command =
|
|
3204
|
+
command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules', options)
|
|
3204
3205
|
command.request_representation = Google::Apis::ComputeV1::ForwardingRule::Representation
|
|
3205
3206
|
command.request_object = forwarding_rule_object
|
|
3206
3207
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -3274,7 +3275,7 @@ module Google
|
|
|
3274
3275
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3275
3276
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3276
3277
|
def list_forwarding_rules(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3277
|
-
command =
|
|
3278
|
+
command = make_simple_command(:get, '{project}/regions/{region}/forwardingRules', options)
|
|
3278
3279
|
command.response_representation = Google::Apis::ComputeV1::ForwardingRuleList::Representation
|
|
3279
3280
|
command.response_class = Google::Apis::ComputeV1::ForwardingRuleList
|
|
3280
3281
|
command.params['project'] = project unless project.nil?
|
|
@@ -3329,7 +3330,7 @@ module Google
|
|
|
3329
3330
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3330
3331
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3331
3332
|
def set_forwarding_rule_target(project, region, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3332
|
-
command =
|
|
3333
|
+
command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', options)
|
|
3333
3334
|
command.request_representation = Google::Apis::ComputeV1::TargetReference::Representation
|
|
3334
3335
|
command.request_object = target_reference_object
|
|
3335
3336
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -3380,7 +3381,7 @@ module Google
|
|
|
3380
3381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3381
3382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3382
3383
|
def delete_global_address(project, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3383
|
-
command =
|
|
3384
|
+
command = make_simple_command(:delete, '{project}/global/addresses/{address}', options)
|
|
3384
3385
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
3385
3386
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
3386
3387
|
command.params['project'] = project unless project.nil?
|
|
@@ -3418,7 +3419,7 @@ module Google
|
|
|
3418
3419
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3419
3420
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3420
3421
|
def get_global_address(project, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3421
|
-
command =
|
|
3422
|
+
command = make_simple_command(:get, '{project}/global/addresses/{address}', options)
|
|
3422
3423
|
command.response_representation = Google::Apis::ComputeV1::Address::Representation
|
|
3423
3424
|
command.response_class = Google::Apis::ComputeV1::Address
|
|
3424
3425
|
command.params['project'] = project unless project.nil?
|
|
@@ -3465,7 +3466,7 @@ module Google
|
|
|
3465
3466
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3466
3467
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3467
3468
|
def insert_global_address(project, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3468
|
-
command =
|
|
3469
|
+
command = make_simple_command(:post, '{project}/global/addresses', options)
|
|
3469
3470
|
command.request_representation = Google::Apis::ComputeV1::Address::Representation
|
|
3470
3471
|
command.request_object = address_object
|
|
3471
3472
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -3535,7 +3536,7 @@ module Google
|
|
|
3535
3536
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3536
3537
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3537
3538
|
def list_global_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3538
|
-
command =
|
|
3539
|
+
command = make_simple_command(:get, '{project}/global/addresses', options)
|
|
3539
3540
|
command.response_representation = Google::Apis::ComputeV1::AddressList::Representation
|
|
3540
3541
|
command.response_class = Google::Apis::ComputeV1::AddressList
|
|
3541
3542
|
command.params['project'] = project unless project.nil?
|
|
@@ -3585,7 +3586,7 @@ module Google
|
|
|
3585
3586
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3586
3587
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3587
3588
|
def delete_global_forwarding_rule(project, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3588
|
-
command =
|
|
3589
|
+
command = make_simple_command(:delete, '{project}/global/forwardingRules/{forwardingRule}', options)
|
|
3589
3590
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
3590
3591
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
3591
3592
|
command.params['project'] = project unless project.nil?
|
|
@@ -3623,7 +3624,7 @@ module Google
|
|
|
3623
3624
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3624
3625
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3625
3626
|
def get_global_forwarding_rule(project, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3626
|
-
command =
|
|
3627
|
+
command = make_simple_command(:get, '{project}/global/forwardingRules/{forwardingRule}', options)
|
|
3627
3628
|
command.response_representation = Google::Apis::ComputeV1::ForwardingRule::Representation
|
|
3628
3629
|
command.response_class = Google::Apis::ComputeV1::ForwardingRule
|
|
3629
3630
|
command.params['project'] = project unless project.nil?
|
|
@@ -3670,7 +3671,7 @@ module Google
|
|
|
3670
3671
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3671
3672
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3672
3673
|
def insert_global_forwarding_rule(project, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3673
|
-
command =
|
|
3674
|
+
command = make_simple_command(:post, '{project}/global/forwardingRules', options)
|
|
3674
3675
|
command.request_representation = Google::Apis::ComputeV1::ForwardingRule::Representation
|
|
3675
3676
|
command.request_object = forwarding_rule_object
|
|
3676
3677
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -3741,7 +3742,7 @@ module Google
|
|
|
3741
3742
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3742
3743
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3743
3744
|
def list_global_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3744
|
-
command =
|
|
3745
|
+
command = make_simple_command(:get, '{project}/global/forwardingRules', options)
|
|
3745
3746
|
command.response_representation = Google::Apis::ComputeV1::ForwardingRuleList::Representation
|
|
3746
3747
|
command.response_class = Google::Apis::ComputeV1::ForwardingRuleList
|
|
3747
3748
|
command.params['project'] = project unless project.nil?
|
|
@@ -3793,7 +3794,7 @@ module Google
|
|
|
3793
3794
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3794
3795
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3795
3796
|
def set_global_forwarding_rule_target(project, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3796
|
-
command =
|
|
3797
|
+
command = make_simple_command(:post, '{project}/global/forwardingRules/{forwardingRule}/setTarget', options)
|
|
3797
3798
|
command.request_representation = Google::Apis::ComputeV1::TargetReference::Representation
|
|
3798
3799
|
command.request_object = target_reference_object
|
|
3799
3800
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -3864,7 +3865,7 @@ module Google
|
|
|
3864
3865
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3865
3866
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3866
3867
|
def list_aggregated_global_operation(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3867
|
-
command =
|
|
3868
|
+
command = make_simple_command(:get, '{project}/aggregated/operations', options)
|
|
3868
3869
|
command.response_representation = Google::Apis::ComputeV1::OperationAggregatedList::Representation
|
|
3869
3870
|
command.response_class = Google::Apis::ComputeV1::OperationAggregatedList
|
|
3870
3871
|
command.params['project'] = project unless project.nil?
|
|
@@ -3903,7 +3904,7 @@ module Google
|
|
|
3903
3904
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3904
3905
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3905
3906
|
def delete_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3906
|
-
command =
|
|
3907
|
+
command = make_simple_command(:delete, '{project}/global/operations/{operation}', options)
|
|
3907
3908
|
command.params['project'] = project unless project.nil?
|
|
3908
3909
|
command.params['operation'] = operation unless operation.nil?
|
|
3909
3910
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -3938,7 +3939,7 @@ module Google
|
|
|
3938
3939
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3939
3940
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3940
3941
|
def get_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3941
|
-
command =
|
|
3942
|
+
command = make_simple_command(:get, '{project}/global/operations/{operation}', options)
|
|
3942
3943
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
3943
3944
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
3944
3945
|
command.params['project'] = project unless project.nil?
|
|
@@ -4006,7 +4007,7 @@ module Google
|
|
|
4006
4007
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4007
4008
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4008
4009
|
def list_global_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4009
|
-
command =
|
|
4010
|
+
command = make_simple_command(:get, '{project}/global/operations', options)
|
|
4010
4011
|
command.response_representation = Google::Apis::ComputeV1::OperationList::Representation
|
|
4011
4012
|
command.response_class = Google::Apis::ComputeV1::OperationList
|
|
4012
4013
|
command.params['project'] = project unless project.nil?
|
|
@@ -4056,7 +4057,7 @@ module Google
|
|
|
4056
4057
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4057
4058
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4058
4059
|
def delete_health_check(project, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4059
|
-
command =
|
|
4060
|
+
command = make_simple_command(:delete, '{project}/global/healthChecks/{healthCheck}', options)
|
|
4060
4061
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
4061
4062
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
4062
4063
|
command.params['project'] = project unless project.nil?
|
|
@@ -4094,7 +4095,7 @@ module Google
|
|
|
4094
4095
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4095
4096
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4096
4097
|
def get_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4097
|
-
command =
|
|
4098
|
+
command = make_simple_command(:get, '{project}/global/healthChecks/{healthCheck}', options)
|
|
4098
4099
|
command.response_representation = Google::Apis::ComputeV1::HealthCheck::Representation
|
|
4099
4100
|
command.response_class = Google::Apis::ComputeV1::HealthCheck
|
|
4100
4101
|
command.params['project'] = project unless project.nil?
|
|
@@ -4141,7 +4142,7 @@ module Google
|
|
|
4141
4142
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4142
4143
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4143
4144
|
def insert_health_check(project, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4144
|
-
command =
|
|
4145
|
+
command = make_simple_command(:post, '{project}/global/healthChecks', options)
|
|
4145
4146
|
command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation
|
|
4146
4147
|
command.request_object = health_check_object
|
|
4147
4148
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -4211,7 +4212,7 @@ module Google
|
|
|
4211
4212
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4212
4213
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4213
4214
|
def list_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4214
|
-
command =
|
|
4215
|
+
command = make_simple_command(:get, '{project}/global/healthChecks', options)
|
|
4215
4216
|
command.response_representation = Google::Apis::ComputeV1::HealthCheckList::Representation
|
|
4216
4217
|
command.response_class = Google::Apis::ComputeV1::HealthCheckList
|
|
4217
4218
|
command.params['project'] = project unless project.nil?
|
|
@@ -4264,7 +4265,7 @@ module Google
|
|
|
4264
4265
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4265
4266
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4266
4267
|
def patch_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4267
|
-
command =
|
|
4268
|
+
command = make_simple_command(:patch, '{project}/global/healthChecks/{healthCheck}', options)
|
|
4268
4269
|
command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation
|
|
4269
4270
|
command.request_object = health_check_object
|
|
4270
4271
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -4316,7 +4317,7 @@ module Google
|
|
|
4316
4317
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4317
4318
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4318
4319
|
def update_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4319
|
-
command =
|
|
4320
|
+
command = make_simple_command(:put, '{project}/global/healthChecks/{healthCheck}', options)
|
|
4320
4321
|
command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation
|
|
4321
4322
|
command.request_object = health_check_object
|
|
4322
4323
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -4366,7 +4367,7 @@ module Google
|
|
|
4366
4367
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4367
4368
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4368
4369
|
def delete_http_health_check(project, http_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4369
|
-
command =
|
|
4370
|
+
command = make_simple_command(:delete, '{project}/global/httpHealthChecks/{httpHealthCheck}', options)
|
|
4370
4371
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
4371
4372
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
4372
4373
|
command.params['project'] = project unless project.nil?
|
|
@@ -4404,7 +4405,7 @@ module Google
|
|
|
4404
4405
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4405
4406
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4406
4407
|
def get_http_health_check(project, http_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4407
|
-
command =
|
|
4408
|
+
command = make_simple_command(:get, '{project}/global/httpHealthChecks/{httpHealthCheck}', options)
|
|
4408
4409
|
command.response_representation = Google::Apis::ComputeV1::HttpHealthCheck::Representation
|
|
4409
4410
|
command.response_class = Google::Apis::ComputeV1::HttpHealthCheck
|
|
4410
4411
|
command.params['project'] = project unless project.nil?
|
|
@@ -4451,7 +4452,7 @@ module Google
|
|
|
4451
4452
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4452
4453
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4453
4454
|
def insert_http_health_check(project, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4454
|
-
command =
|
|
4455
|
+
command = make_simple_command(:post, '{project}/global/httpHealthChecks', options)
|
|
4455
4456
|
command.request_representation = Google::Apis::ComputeV1::HttpHealthCheck::Representation
|
|
4456
4457
|
command.request_object = http_health_check_object
|
|
4457
4458
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -4522,7 +4523,7 @@ module Google
|
|
|
4522
4523
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4523
4524
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4524
4525
|
def list_http_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4525
|
-
command =
|
|
4526
|
+
command = make_simple_command(:get, '{project}/global/httpHealthChecks', options)
|
|
4526
4527
|
command.response_representation = Google::Apis::ComputeV1::HttpHealthCheckList::Representation
|
|
4527
4528
|
command.response_class = Google::Apis::ComputeV1::HttpHealthCheckList
|
|
4528
4529
|
command.params['project'] = project unless project.nil?
|
|
@@ -4575,7 +4576,7 @@ module Google
|
|
|
4575
4576
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4576
4577
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4577
4578
|
def patch_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4578
|
-
command =
|
|
4579
|
+
command = make_simple_command(:patch, '{project}/global/httpHealthChecks/{httpHealthCheck}', options)
|
|
4579
4580
|
command.request_representation = Google::Apis::ComputeV1::HttpHealthCheck::Representation
|
|
4580
4581
|
command.request_object = http_health_check_object
|
|
4581
4582
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -4627,7 +4628,7 @@ module Google
|
|
|
4627
4628
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4628
4629
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4629
4630
|
def update_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4630
|
-
command =
|
|
4631
|
+
command = make_simple_command(:put, '{project}/global/httpHealthChecks/{httpHealthCheck}', options)
|
|
4631
4632
|
command.request_representation = Google::Apis::ComputeV1::HttpHealthCheck::Representation
|
|
4632
4633
|
command.request_object = http_health_check_object
|
|
4633
4634
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -4677,7 +4678,7 @@ module Google
|
|
|
4677
4678
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4678
4679
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4679
4680
|
def delete_https_health_check(project, https_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4680
|
-
command =
|
|
4681
|
+
command = make_simple_command(:delete, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options)
|
|
4681
4682
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
4682
4683
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
4683
4684
|
command.params['project'] = project unless project.nil?
|
|
@@ -4715,7 +4716,7 @@ module Google
|
|
|
4715
4716
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4716
4717
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4717
4718
|
def get_https_health_check(project, https_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4718
|
-
command =
|
|
4719
|
+
command = make_simple_command(:get, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options)
|
|
4719
4720
|
command.response_representation = Google::Apis::ComputeV1::HttpsHealthCheck::Representation
|
|
4720
4721
|
command.response_class = Google::Apis::ComputeV1::HttpsHealthCheck
|
|
4721
4722
|
command.params['project'] = project unless project.nil?
|
|
@@ -4762,7 +4763,7 @@ module Google
|
|
|
4762
4763
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4763
4764
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4764
4765
|
def insert_https_health_check(project, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4765
|
-
command =
|
|
4766
|
+
command = make_simple_command(:post, '{project}/global/httpsHealthChecks', options)
|
|
4766
4767
|
command.request_representation = Google::Apis::ComputeV1::HttpsHealthCheck::Representation
|
|
4767
4768
|
command.request_object = https_health_check_object
|
|
4768
4769
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -4833,7 +4834,7 @@ module Google
|
|
|
4833
4834
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4834
4835
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4835
4836
|
def list_https_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4836
|
-
command =
|
|
4837
|
+
command = make_simple_command(:get, '{project}/global/httpsHealthChecks', options)
|
|
4837
4838
|
command.response_representation = Google::Apis::ComputeV1::HttpsHealthCheckList::Representation
|
|
4838
4839
|
command.response_class = Google::Apis::ComputeV1::HttpsHealthCheckList
|
|
4839
4840
|
command.params['project'] = project unless project.nil?
|
|
@@ -4886,7 +4887,7 @@ module Google
|
|
|
4886
4887
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4887
4888
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4888
4889
|
def patch_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4889
|
-
command =
|
|
4890
|
+
command = make_simple_command(:patch, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options)
|
|
4890
4891
|
command.request_representation = Google::Apis::ComputeV1::HttpsHealthCheck::Representation
|
|
4891
4892
|
command.request_object = https_health_check_object
|
|
4892
4893
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -4938,7 +4939,7 @@ module Google
|
|
|
4938
4939
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4939
4940
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4940
4941
|
def update_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4941
|
-
command =
|
|
4942
|
+
command = make_simple_command(:put, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options)
|
|
4942
4943
|
command.request_representation = Google::Apis::ComputeV1::HttpsHealthCheck::Representation
|
|
4943
4944
|
command.request_object = https_health_check_object
|
|
4944
4945
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -4988,7 +4989,7 @@ module Google
|
|
|
4988
4989
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4989
4990
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4990
4991
|
def delete_image(project, image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4991
|
-
command =
|
|
4992
|
+
command = make_simple_command(:delete, '{project}/global/images/{image}', options)
|
|
4992
4993
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
4993
4994
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
4994
4995
|
command.params['project'] = project unless project.nil?
|
|
@@ -5038,7 +5039,7 @@ module Google
|
|
|
5038
5039
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5039
5040
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5040
5041
|
def deprecate_image(project, image, deprecation_status_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5041
|
-
command =
|
|
5042
|
+
command = make_simple_command(:post, '{project}/global/images/{image}/deprecate', options)
|
|
5042
5043
|
command.request_representation = Google::Apis::ComputeV1::DeprecationStatus::Representation
|
|
5043
5044
|
command.request_object = deprecation_status_object
|
|
5044
5045
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -5078,7 +5079,7 @@ module Google
|
|
|
5078
5079
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5079
5080
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5080
5081
|
def get_image(project, image, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5081
|
-
command =
|
|
5082
|
+
command = make_simple_command(:get, '{project}/global/images/{image}', options)
|
|
5082
5083
|
command.response_representation = Google::Apis::ComputeV1::Image::Representation
|
|
5083
5084
|
command.response_class = Google::Apis::ComputeV1::Image
|
|
5084
5085
|
command.params['project'] = project unless project.nil?
|
|
@@ -5114,7 +5115,7 @@ module Google
|
|
|
5114
5115
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5115
5116
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5116
5117
|
def get_image_from_family(project, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5117
|
-
command =
|
|
5118
|
+
command = make_simple_command(:get, '{project}/global/images/family/{family}', options)
|
|
5118
5119
|
command.response_representation = Google::Apis::ComputeV1::Image::Representation
|
|
5119
5120
|
command.response_class = Google::Apis::ComputeV1::Image
|
|
5120
5121
|
command.params['project'] = project unless project.nil?
|
|
@@ -5151,7 +5152,7 @@ module Google
|
|
|
5151
5152
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5152
5153
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5153
5154
|
def get_image_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5154
|
-
command =
|
|
5155
|
+
command = make_simple_command(:get, '{project}/global/images/{resource}/getIamPolicy', options)
|
|
5155
5156
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
5156
5157
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
5157
5158
|
command.params['project'] = project unless project.nil?
|
|
@@ -5200,7 +5201,7 @@ module Google
|
|
|
5200
5201
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5201
5202
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5202
5203
|
def insert_image(project, image_object = nil, force_create: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5203
|
-
command =
|
|
5204
|
+
command = make_simple_command(:post, '{project}/global/images', options)
|
|
5204
5205
|
command.request_representation = Google::Apis::ComputeV1::Image::Representation
|
|
5205
5206
|
command.request_object = image_object
|
|
5206
5207
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -5276,7 +5277,7 @@ module Google
|
|
|
5276
5277
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5277
5278
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5278
5279
|
def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5279
|
-
command =
|
|
5280
|
+
command = make_simple_command(:get, '{project}/global/images', options)
|
|
5280
5281
|
command.response_representation = Google::Apis::ComputeV1::ImageList::Representation
|
|
5281
5282
|
command.response_class = Google::Apis::ComputeV1::ImageList
|
|
5282
5283
|
command.params['project'] = project unless project.nil?
|
|
@@ -5317,7 +5318,7 @@ module Google
|
|
|
5317
5318
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5318
5319
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5319
5320
|
def set_image_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5320
|
-
command =
|
|
5321
|
+
command = make_simple_command(:post, '{project}/global/images/{resource}/setIamPolicy', options)
|
|
5321
5322
|
command.request_representation = Google::Apis::ComputeV1::GlobalSetPolicyRequest::Representation
|
|
5322
5323
|
command.request_object = global_set_policy_request_object
|
|
5323
5324
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -5357,7 +5358,7 @@ module Google
|
|
|
5357
5358
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5358
5359
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5359
5360
|
def set_image_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5360
|
-
command =
|
|
5361
|
+
command = make_simple_command(:post, '{project}/global/images/{resource}/setLabels', options)
|
|
5361
5362
|
command.request_representation = Google::Apis::ComputeV1::GlobalSetLabelsRequest::Representation
|
|
5362
5363
|
command.request_object = global_set_labels_request_object
|
|
5363
5364
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -5396,7 +5397,7 @@ module Google
|
|
|
5396
5397
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5397
5398
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5398
5399
|
def test_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5399
|
-
command =
|
|
5400
|
+
command = make_simple_command(:post, '{project}/global/images/{resource}/testIamPermissions', options)
|
|
5400
5401
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
5401
5402
|
command.request_object = test_permissions_request_object
|
|
5402
5403
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -5459,7 +5460,7 @@ module Google
|
|
|
5459
5460
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5460
5461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5461
5462
|
def abandon_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5462
|
-
command =
|
|
5463
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options)
|
|
5463
5464
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagersAbandonInstancesRequest::Representation
|
|
5464
5465
|
command.request_object = instance_group_managers_abandon_instances_request_object
|
|
5465
5466
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -5531,7 +5532,7 @@ module Google
|
|
|
5531
5532
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5532
5533
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5533
5534
|
def list_aggregated_instance_group_managers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5534
|
-
command =
|
|
5535
|
+
command = make_simple_command(:get, '{project}/aggregated/instanceGroupManagers', options)
|
|
5535
5536
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList::Representation
|
|
5536
5537
|
command.response_class = Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList
|
|
5537
5538
|
command.params['project'] = project unless project.nil?
|
|
@@ -5585,7 +5586,7 @@ module Google
|
|
|
5585
5586
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5586
5587
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5587
5588
|
def delete_instance_group_manager(project, zone, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5588
|
-
command =
|
|
5589
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
5589
5590
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
5590
5591
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
5591
5592
|
command.params['project'] = project unless project.nil?
|
|
@@ -5647,7 +5648,7 @@ module Google
|
|
|
5647
5648
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5648
5649
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5649
5650
|
def delete_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5650
|
-
command =
|
|
5651
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options)
|
|
5651
5652
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagersDeleteInstancesRequest::Representation
|
|
5652
5653
|
command.request_object = instance_group_managers_delete_instances_request_object
|
|
5653
5654
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -5690,7 +5691,7 @@ module Google
|
|
|
5690
5691
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5691
5692
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5692
5693
|
def get_instance_group_manager(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5693
|
-
command =
|
|
5694
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
5694
5695
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation
|
|
5695
5696
|
command.response_class = Google::Apis::ComputeV1::InstanceGroupManager
|
|
5696
5697
|
command.params['project'] = project unless project.nil?
|
|
@@ -5746,7 +5747,7 @@ module Google
|
|
|
5746
5747
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5747
5748
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5748
5749
|
def insert_instance_group_manager(project, zone, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5749
|
-
command =
|
|
5750
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers', options)
|
|
5750
5751
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation
|
|
5751
5752
|
command.request_object = instance_group_manager_object
|
|
5752
5753
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -5820,7 +5821,7 @@ module Google
|
|
|
5820
5821
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5821
5822
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5822
5823
|
def list_instance_group_managers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5823
|
-
command =
|
|
5824
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers', options)
|
|
5824
5825
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagerList::Representation
|
|
5825
5826
|
command.response_class = Google::Apis::ComputeV1::InstanceGroupManagerList
|
|
5826
5827
|
command.params['project'] = project unless project.nil?
|
|
@@ -5900,7 +5901,7 @@ module Google
|
|
|
5900
5901
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5901
5902
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5902
5903
|
def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5903
|
-
command =
|
|
5904
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
|
|
5904
5905
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagersListManagedInstancesResponse::Representation
|
|
5905
5906
|
command.response_class = Google::Apis::ComputeV1::InstanceGroupManagersListManagedInstancesResponse
|
|
5906
5907
|
command.params['project'] = project unless project.nil?
|
|
@@ -5960,7 +5961,7 @@ module Google
|
|
|
5960
5961
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5961
5962
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5962
5963
|
def patch_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5963
|
-
command =
|
|
5964
|
+
command = make_simple_command(:patch, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
5964
5965
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation
|
|
5965
5966
|
command.request_object = instance_group_manager_object
|
|
5966
5967
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -6023,7 +6024,7 @@ module Google
|
|
|
6023
6024
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6024
6025
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6025
6026
|
def recreate_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_recreate_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6026
|
-
command =
|
|
6027
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options)
|
|
6027
6028
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagersRecreateInstancesRequest::Representation
|
|
6028
6029
|
command.request_object = instance_group_managers_recreate_instances_request_object
|
|
6029
6030
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -6095,7 +6096,7 @@ module Google
|
|
|
6095
6096
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6096
6097
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6097
6098
|
def resize_instance_group_manager(project, zone, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6098
|
-
command =
|
|
6099
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', options)
|
|
6099
6100
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
6100
6101
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
6101
6102
|
command.params['project'] = project unless project.nil?
|
|
@@ -6150,7 +6151,7 @@ module Google
|
|
|
6150
6151
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6151
6152
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6152
6153
|
def set_instance_group_manager_instance_template(project, zone, instance_group_manager, instance_group_managers_set_instance_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6153
|
-
command =
|
|
6154
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options)
|
|
6154
6155
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagersSetInstanceTemplateRequest::Representation
|
|
6155
6156
|
command.request_object = instance_group_managers_set_instance_template_request_object
|
|
6156
6157
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -6209,7 +6210,7 @@ module Google
|
|
|
6209
6210
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6210
6211
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6211
6212
|
def set_instance_group_manager_target_pools(project, zone, instance_group_manager, instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6212
|
-
command =
|
|
6213
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options)
|
|
6213
6214
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagersSetTargetPoolsRequest::Representation
|
|
6214
6215
|
command.request_object = instance_group_managers_set_target_pools_request_object
|
|
6215
6216
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -6265,7 +6266,7 @@ module Google
|
|
|
6265
6266
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6266
6267
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6267
6268
|
def add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6268
|
-
command =
|
|
6269
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', options)
|
|
6269
6270
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupsAddInstancesRequest::Representation
|
|
6270
6271
|
command.request_object = instance_groups_add_instances_request_object
|
|
6271
6272
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -6337,7 +6338,7 @@ module Google
|
|
|
6337
6338
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6338
6339
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6339
6340
|
def list_aggregated_instance_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6340
|
-
command =
|
|
6341
|
+
command = make_simple_command(:get, '{project}/aggregated/instanceGroups', options)
|
|
6341
6342
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroupAggregatedList::Representation
|
|
6342
6343
|
command.response_class = Google::Apis::ComputeV1::InstanceGroupAggregatedList
|
|
6343
6344
|
command.params['project'] = project unless project.nil?
|
|
@@ -6391,7 +6392,7 @@ module Google
|
|
|
6391
6392
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6392
6393
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6393
6394
|
def delete_instance_group(project, zone, instance_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6394
|
-
command =
|
|
6395
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroups/{instanceGroup}', options)
|
|
6395
6396
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
6396
6397
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
6397
6398
|
command.params['project'] = project unless project.nil?
|
|
@@ -6432,7 +6433,7 @@ module Google
|
|
|
6432
6433
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6433
6434
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6434
6435
|
def get_instance_group(project, zone, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6435
|
-
command =
|
|
6436
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroups/{instanceGroup}', options)
|
|
6436
6437
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroup::Representation
|
|
6437
6438
|
command.response_class = Google::Apis::ComputeV1::InstanceGroup
|
|
6438
6439
|
command.params['project'] = project unless project.nil?
|
|
@@ -6482,7 +6483,7 @@ module Google
|
|
|
6482
6483
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6483
6484
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6484
6485
|
def insert_instance_group(project, zone, instance_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6485
|
-
command =
|
|
6486
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups', options)
|
|
6486
6487
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroup::Representation
|
|
6487
6488
|
command.request_object = instance_group_object
|
|
6488
6489
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -6556,7 +6557,7 @@ module Google
|
|
|
6556
6557
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6557
6558
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6558
6559
|
def list_instance_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)
|
|
6559
|
-
command =
|
|
6560
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroups', options)
|
|
6560
6561
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroupList::Representation
|
|
6561
6562
|
command.response_class = Google::Apis::ComputeV1::InstanceGroupList
|
|
6562
6563
|
command.params['project'] = project unless project.nil?
|
|
@@ -6634,7 +6635,7 @@ module Google
|
|
|
6634
6635
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6635
6636
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6636
6637
|
def list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6637
|
-
command =
|
|
6638
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', options)
|
|
6638
6639
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupsListInstancesRequest::Representation
|
|
6639
6640
|
command.request_object = instance_groups_list_instances_request_object
|
|
6640
6641
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroupsListInstances::Representation
|
|
@@ -6695,7 +6696,7 @@ module Google
|
|
|
6695
6696
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6696
6697
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6697
6698
|
def remove_instance_group_instances(project, zone, instance_group, instance_groups_remove_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6698
|
-
command =
|
|
6699
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', options)
|
|
6699
6700
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupsRemoveInstancesRequest::Representation
|
|
6700
6701
|
command.request_object = instance_groups_remove_instances_request_object
|
|
6701
6702
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -6749,7 +6750,7 @@ module Google
|
|
|
6749
6750
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6750
6751
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6751
6752
|
def set_instance_group_named_ports(project, zone, instance_group, instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6752
|
-
command =
|
|
6753
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', options)
|
|
6753
6754
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupsSetNamedPortsRequest::Representation
|
|
6754
6755
|
command.request_object = instance_groups_set_named_ports_request_object
|
|
6755
6756
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -6802,7 +6803,7 @@ module Google
|
|
|
6802
6803
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6803
6804
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6804
6805
|
def delete_instance_template(project, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6805
|
-
command =
|
|
6806
|
+
command = make_simple_command(:delete, '{project}/global/instanceTemplates/{instanceTemplate}', options)
|
|
6806
6807
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
6807
6808
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
6808
6809
|
command.params['project'] = project unless project.nil?
|
|
@@ -6840,7 +6841,7 @@ module Google
|
|
|
6840
6841
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6841
6842
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6842
6843
|
def get_instance_template(project, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6843
|
-
command =
|
|
6844
|
+
command = make_simple_command(:get, '{project}/global/instanceTemplates/{instanceTemplate}', options)
|
|
6844
6845
|
command.response_representation = Google::Apis::ComputeV1::InstanceTemplate::Representation
|
|
6845
6846
|
command.response_class = Google::Apis::ComputeV1::InstanceTemplate
|
|
6846
6847
|
command.params['project'] = project unless project.nil?
|
|
@@ -6877,7 +6878,7 @@ module Google
|
|
|
6877
6878
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6878
6879
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6879
6880
|
def get_instance_template_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6880
|
-
command =
|
|
6881
|
+
command = make_simple_command(:get, '{project}/global/instanceTemplates/{resource}/getIamPolicy', options)
|
|
6881
6882
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
6882
6883
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
6883
6884
|
command.params['project'] = project unless project.nil?
|
|
@@ -6926,7 +6927,7 @@ module Google
|
|
|
6926
6927
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6927
6928
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6928
6929
|
def insert_instance_template(project, instance_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6929
|
-
command =
|
|
6930
|
+
command = make_simple_command(:post, '{project}/global/instanceTemplates', options)
|
|
6930
6931
|
command.request_representation = Google::Apis::ComputeV1::InstanceTemplate::Representation
|
|
6931
6932
|
command.request_object = instance_template_object
|
|
6932
6933
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -6997,7 +6998,7 @@ module Google
|
|
|
6997
6998
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6998
6999
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6999
7000
|
def list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7000
|
-
command =
|
|
7001
|
+
command = make_simple_command(:get, '{project}/global/instanceTemplates', options)
|
|
7001
7002
|
command.response_representation = Google::Apis::ComputeV1::InstanceTemplateList::Representation
|
|
7002
7003
|
command.response_class = Google::Apis::ComputeV1::InstanceTemplateList
|
|
7003
7004
|
command.params['project'] = project unless project.nil?
|
|
@@ -7038,7 +7039,7 @@ module Google
|
|
|
7038
7039
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7039
7040
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7040
7041
|
def set_instance_template_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7041
|
-
command =
|
|
7042
|
+
command = make_simple_command(:post, '{project}/global/instanceTemplates/{resource}/setIamPolicy', options)
|
|
7042
7043
|
command.request_representation = Google::Apis::ComputeV1::GlobalSetPolicyRequest::Representation
|
|
7043
7044
|
command.request_object = global_set_policy_request_object
|
|
7044
7045
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -7077,7 +7078,7 @@ module Google
|
|
|
7077
7078
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7078
7079
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7079
7080
|
def test_instance_template_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7080
|
-
command =
|
|
7081
|
+
command = make_simple_command(:post, '{project}/global/instanceTemplates/{resource}/testIamPermissions', options)
|
|
7081
7082
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
7082
7083
|
command.request_object = test_permissions_request_object
|
|
7083
7084
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -7131,7 +7132,7 @@ module Google
|
|
|
7131
7132
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7132
7133
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7133
7134
|
def add_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7134
|
-
command =
|
|
7135
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/addAccessConfig', options)
|
|
7135
7136
|
command.request_representation = Google::Apis::ComputeV1::AccessConfig::Representation
|
|
7136
7137
|
command.request_object = access_config_object
|
|
7137
7138
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -7205,7 +7206,7 @@ module Google
|
|
|
7205
7206
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7206
7207
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7207
7208
|
def list_aggregated_instances(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7208
|
-
command =
|
|
7209
|
+
command = make_simple_command(:get, '{project}/aggregated/instances', options)
|
|
7209
7210
|
command.response_representation = Google::Apis::ComputeV1::InstanceAggregatedList::Representation
|
|
7210
7211
|
command.response_class = Google::Apis::ComputeV1::InstanceAggregatedList
|
|
7211
7212
|
command.params['project'] = project unless project.nil?
|
|
@@ -7232,7 +7233,7 @@ module Google
|
|
|
7232
7233
|
# @param [Google::Apis::ComputeV1::AttachedDisk] attached_disk_object
|
|
7233
7234
|
# @param [Boolean] force_attach
|
|
7234
7235
|
# Whether to force attach the disk even if it's currently attached to another
|
|
7235
|
-
# instance.
|
|
7236
|
+
# instance.
|
|
7236
7237
|
# @param [String] request_id
|
|
7237
7238
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
7238
7239
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -7264,7 +7265,7 @@ module Google
|
|
|
7264
7265
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7265
7266
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7266
7267
|
def attach_disk(project, zone, instance, attached_disk_object = nil, force_attach: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7267
|
-
command =
|
|
7268
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/attachDisk', options)
|
|
7268
7269
|
command.request_representation = Google::Apis::ComputeV1::AttachedDisk::Representation
|
|
7269
7270
|
command.request_object = attached_disk_object
|
|
7270
7271
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -7319,7 +7320,7 @@ module Google
|
|
|
7319
7320
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7320
7321
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7321
7322
|
def delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7322
|
-
command =
|
|
7323
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/instances/{instance}', options)
|
|
7323
7324
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
7324
7325
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
7325
7326
|
command.params['project'] = project unless project.nil?
|
|
@@ -7374,7 +7375,7 @@ module Google
|
|
|
7374
7375
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7375
7376
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7376
7377
|
def delete_instance_access_config(project, zone, instance, access_config, network_interface, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7377
|
-
command =
|
|
7378
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', options)
|
|
7378
7379
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
7379
7380
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
7380
7381
|
command.params['project'] = project unless project.nil?
|
|
@@ -7430,7 +7431,7 @@ module Google
|
|
|
7430
7431
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7431
7432
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7432
7433
|
def detach_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7433
|
-
command =
|
|
7434
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/detachDisk', options)
|
|
7434
7435
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
7435
7436
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
7436
7437
|
command.params['project'] = project unless project.nil?
|
|
@@ -7472,7 +7473,7 @@ module Google
|
|
|
7472
7473
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7473
7474
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7474
7475
|
def get_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7475
|
-
command =
|
|
7476
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}', options)
|
|
7476
7477
|
command.response_representation = Google::Apis::ComputeV1::Instance::Representation
|
|
7477
7478
|
command.response_class = Google::Apis::ComputeV1::Instance
|
|
7478
7479
|
command.params['project'] = project unless project.nil?
|
|
@@ -7512,7 +7513,7 @@ module Google
|
|
|
7512
7513
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7513
7514
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7514
7515
|
def get_instance_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7515
|
-
command =
|
|
7516
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{resource}/getIamPolicy', options)
|
|
7516
7517
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
7517
7518
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
7518
7519
|
command.params['project'] = project unless project.nil?
|
|
@@ -7558,7 +7559,7 @@ module Google
|
|
|
7558
7559
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7559
7560
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7560
7561
|
def get_instance_serial_port_output(project, zone, instance, port: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7561
|
-
command =
|
|
7562
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/serialPort', options)
|
|
7562
7563
|
command.response_representation = Google::Apis::ComputeV1::SerialPortOutput::Representation
|
|
7563
7564
|
command.response_class = Google::Apis::ComputeV1::SerialPortOutput
|
|
7564
7565
|
command.params['project'] = project unless project.nil?
|
|
@@ -7572,6 +7573,45 @@ module Google
|
|
|
7572
7573
|
execute_or_queue_command(command, &block)
|
|
7573
7574
|
end
|
|
7574
7575
|
|
|
7576
|
+
# Returns the Shielded Instance Identity of an instance
|
|
7577
|
+
# @param [String] project
|
|
7578
|
+
# Project ID for this request.
|
|
7579
|
+
# @param [String] zone
|
|
7580
|
+
# The name of the zone for this request.
|
|
7581
|
+
# @param [String] instance
|
|
7582
|
+
# Name or id of the instance scoping this request.
|
|
7583
|
+
# @param [String] fields
|
|
7584
|
+
# Selector specifying which fields to include in a partial response.
|
|
7585
|
+
# @param [String] quota_user
|
|
7586
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
7587
|
+
# characters.
|
|
7588
|
+
# @param [String] user_ip
|
|
7589
|
+
# Deprecated. Please use quotaUser instead.
|
|
7590
|
+
# @param [Google::Apis::RequestOptions] options
|
|
7591
|
+
# Request-specific options
|
|
7592
|
+
#
|
|
7593
|
+
# @yield [result, err] Result & error if block supplied
|
|
7594
|
+
# @yieldparam result [Google::Apis::ComputeV1::ShieldedInstanceIdentity] parsed result object
|
|
7595
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
7596
|
+
#
|
|
7597
|
+
# @return [Google::Apis::ComputeV1::ShieldedInstanceIdentity]
|
|
7598
|
+
#
|
|
7599
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7600
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7601
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7602
|
+
def get_instance_shielded_instance_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7603
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity', options)
|
|
7604
|
+
command.response_representation = Google::Apis::ComputeV1::ShieldedInstanceIdentity::Representation
|
|
7605
|
+
command.response_class = Google::Apis::ComputeV1::ShieldedInstanceIdentity
|
|
7606
|
+
command.params['project'] = project unless project.nil?
|
|
7607
|
+
command.params['zone'] = zone unless zone.nil?
|
|
7608
|
+
command.params['instance'] = instance unless instance.nil?
|
|
7609
|
+
command.query['fields'] = fields unless fields.nil?
|
|
7610
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7611
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
7612
|
+
execute_or_queue_command(command, &block)
|
|
7613
|
+
end
|
|
7614
|
+
|
|
7575
7615
|
# Creates an instance resource in the specified project using the data included
|
|
7576
7616
|
# in the request.
|
|
7577
7617
|
# @param [String] project
|
|
@@ -7618,7 +7658,7 @@ module Google
|
|
|
7618
7658
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7619
7659
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7620
7660
|
def insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7621
|
-
command =
|
|
7661
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances', options)
|
|
7622
7662
|
command.request_representation = Google::Apis::ComputeV1::Instance::Representation
|
|
7623
7663
|
command.request_object = instance_object
|
|
7624
7664
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -7692,7 +7732,7 @@ module Google
|
|
|
7692
7732
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7693
7733
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7694
7734
|
def list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7695
|
-
command =
|
|
7735
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances', options)
|
|
7696
7736
|
command.response_representation = Google::Apis::ComputeV1::InstanceList::Representation
|
|
7697
7737
|
command.response_class = Google::Apis::ComputeV1::InstanceList
|
|
7698
7738
|
command.params['project'] = project unless project.nil?
|
|
@@ -7770,7 +7810,7 @@ module Google
|
|
|
7770
7810
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7771
7811
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7772
7812
|
def list_instance_referrers(project, zone, instance, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7773
|
-
command =
|
|
7813
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/referrers', options)
|
|
7774
7814
|
command.response_representation = Google::Apis::ComputeV1::InstanceListReferrers::Representation
|
|
7775
7815
|
command.response_class = Google::Apis::ComputeV1::InstanceListReferrers
|
|
7776
7816
|
command.params['project'] = project unless project.nil?
|
|
@@ -7786,7 +7826,7 @@ module Google
|
|
|
7786
7826
|
execute_or_queue_command(command, &block)
|
|
7787
7827
|
end
|
|
7788
7828
|
|
|
7789
|
-
# Performs a reset on the instance. This is a hard reset
|
|
7829
|
+
# Performs a reset on the instance. This is a hard reset the VM does not do a
|
|
7790
7830
|
# graceful shutdown. For more information, see Resetting an instance.
|
|
7791
7831
|
# @param [String] project
|
|
7792
7832
|
# Project ID for this request.
|
|
@@ -7825,7 +7865,7 @@ module Google
|
|
|
7825
7865
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7826
7866
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7827
7867
|
def reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7828
|
-
command =
|
|
7868
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/reset', options)
|
|
7829
7869
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
7830
7870
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
7831
7871
|
command.params['project'] = project unless project.nil?
|
|
@@ -7878,7 +7918,7 @@ module Google
|
|
|
7878
7918
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7879
7919
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7880
7920
|
def set_instance_deletion_protection(project, zone, resource, deletion_protection: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7881
|
-
command =
|
|
7921
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setDeletionProtection', options)
|
|
7882
7922
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
7883
7923
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
7884
7924
|
command.params['project'] = project unless project.nil?
|
|
@@ -7935,7 +7975,7 @@ module Google
|
|
|
7935
7975
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7936
7976
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7937
7977
|
def set_disk_auto_delete(project, zone, instance, auto_delete, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7938
|
-
command =
|
|
7978
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', options)
|
|
7939
7979
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
7940
7980
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
7941
7981
|
command.params['project'] = project unless project.nil?
|
|
@@ -7979,7 +8019,7 @@ module Google
|
|
|
7979
8019
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7980
8020
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7981
8021
|
def set_instance_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7982
|
-
command =
|
|
8022
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setIamPolicy', options)
|
|
7983
8023
|
command.request_representation = Google::Apis::ComputeV1::ZoneSetPolicyRequest::Representation
|
|
7984
8024
|
command.request_object = zone_set_policy_request_object
|
|
7985
8025
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -8033,7 +8073,7 @@ module Google
|
|
|
8033
8073
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8034
8074
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8035
8075
|
def set_instance_labels(project, zone, instance, instances_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8036
|
-
command =
|
|
8076
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setLabels', options)
|
|
8037
8077
|
command.request_representation = Google::Apis::ComputeV1::InstancesSetLabelsRequest::Representation
|
|
8038
8078
|
command.request_object = instances_set_labels_request_object
|
|
8039
8079
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8088,7 +8128,7 @@ module Google
|
|
|
8088
8128
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8089
8129
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8090
8130
|
def set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8091
|
-
command =
|
|
8131
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineResources', options)
|
|
8092
8132
|
command.request_representation = Google::Apis::ComputeV1::InstancesSetMachineResourcesRequest::Representation
|
|
8093
8133
|
command.request_object = instances_set_machine_resources_request_object
|
|
8094
8134
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8143,7 +8183,7 @@ module Google
|
|
|
8143
8183
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8144
8184
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8145
8185
|
def set_instance_machine_type(project, zone, instance, instances_set_machine_type_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8146
|
-
command =
|
|
8186
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineType', options)
|
|
8147
8187
|
command.request_representation = Google::Apis::ComputeV1::InstancesSetMachineTypeRequest::Representation
|
|
8148
8188
|
command.request_object = instances_set_machine_type_request_object
|
|
8149
8189
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8197,7 +8237,7 @@ module Google
|
|
|
8197
8237
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8198
8238
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8199
8239
|
def set_instance_metadata(project, zone, instance, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8200
|
-
command =
|
|
8240
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMetadata', options)
|
|
8201
8241
|
command.request_representation = Google::Apis::ComputeV1::Metadata::Representation
|
|
8202
8242
|
command.request_object = metadata_object
|
|
8203
8243
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8253,7 +8293,7 @@ module Google
|
|
|
8253
8293
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8254
8294
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8255
8295
|
def set_instance_min_cpu_platform(project, zone, instance, instances_set_min_cpu_platform_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8256
|
-
command =
|
|
8296
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform', options)
|
|
8257
8297
|
command.request_representation = Google::Apis::ComputeV1::InstancesSetMinCpuPlatformRequest::Representation
|
|
8258
8298
|
command.request_object = instances_set_min_cpu_platform_request_object
|
|
8259
8299
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8307,7 +8347,7 @@ module Google
|
|
|
8307
8347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8308
8348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8309
8349
|
def set_instance_scheduling(project, zone, instance, scheduling_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8310
|
-
command =
|
|
8350
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setScheduling', options)
|
|
8311
8351
|
command.request_representation = Google::Apis::ComputeV1::Scheduling::Representation
|
|
8312
8352
|
command.request_object = scheduling_object
|
|
8313
8353
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8362,7 +8402,7 @@ module Google
|
|
|
8362
8402
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8363
8403
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8364
8404
|
def set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8365
|
-
command =
|
|
8405
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setServiceAccount', options)
|
|
8366
8406
|
command.request_representation = Google::Apis::ComputeV1::InstancesSetServiceAccountRequest::Representation
|
|
8367
8407
|
command.request_object = instances_set_service_account_request_object
|
|
8368
8408
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8377,6 +8417,62 @@ module Google
|
|
|
8377
8417
|
execute_or_queue_command(command, &block)
|
|
8378
8418
|
end
|
|
8379
8419
|
|
|
8420
|
+
# Sets the Shielded Instance integrity policy for an instance. You can only use
|
|
8421
|
+
# this method on a running instance. This method supports PATCH semantics and
|
|
8422
|
+
# uses the JSON merge patch format and processing rules.
|
|
8423
|
+
# @param [String] project
|
|
8424
|
+
# Project ID for this request.
|
|
8425
|
+
# @param [String] zone
|
|
8426
|
+
# The name of the zone for this request.
|
|
8427
|
+
# @param [String] instance
|
|
8428
|
+
# Name or id of the instance scoping this request.
|
|
8429
|
+
# @param [Google::Apis::ComputeV1::ShieldedInstanceIntegrityPolicy] shielded_instance_integrity_policy_object
|
|
8430
|
+
# @param [String] request_id
|
|
8431
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
8432
|
+
# that if you must retry your request, the server will know to ignore the
|
|
8433
|
+
# request if it has already been completed.
|
|
8434
|
+
# For example, consider a situation where you make an initial request and the
|
|
8435
|
+
# request times out. If you make the request again with the same request ID, the
|
|
8436
|
+
# server can check if original operation with the same request ID was received,
|
|
8437
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
8438
|
+
# accidentally creating duplicate commitments.
|
|
8439
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
8440
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
8441
|
+
# @param [String] fields
|
|
8442
|
+
# Selector specifying which fields to include in a partial response.
|
|
8443
|
+
# @param [String] quota_user
|
|
8444
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
8445
|
+
# characters.
|
|
8446
|
+
# @param [String] user_ip
|
|
8447
|
+
# Deprecated. Please use quotaUser instead.
|
|
8448
|
+
# @param [Google::Apis::RequestOptions] options
|
|
8449
|
+
# Request-specific options
|
|
8450
|
+
#
|
|
8451
|
+
# @yield [result, err] Result & error if block supplied
|
|
8452
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
8453
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
8454
|
+
#
|
|
8455
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
8456
|
+
#
|
|
8457
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8458
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8459
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8460
|
+
def set_instance_shielded_instance_integrity_policy(project, zone, instance, shielded_instance_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8461
|
+
command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy', options)
|
|
8462
|
+
command.request_representation = Google::Apis::ComputeV1::ShieldedInstanceIntegrityPolicy::Representation
|
|
8463
|
+
command.request_object = shielded_instance_integrity_policy_object
|
|
8464
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
8465
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
8466
|
+
command.params['project'] = project unless project.nil?
|
|
8467
|
+
command.params['zone'] = zone unless zone.nil?
|
|
8468
|
+
command.params['instance'] = instance unless instance.nil?
|
|
8469
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
8470
|
+
command.query['fields'] = fields unless fields.nil?
|
|
8471
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8472
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
8473
|
+
execute_or_queue_command(command, &block)
|
|
8474
|
+
end
|
|
8475
|
+
|
|
8380
8476
|
# Sets network tags for the specified instance to the data included in the
|
|
8381
8477
|
# request.
|
|
8382
8478
|
# @param [String] project
|
|
@@ -8417,7 +8513,7 @@ module Google
|
|
|
8417
8513
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8418
8514
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8419
8515
|
def set_instance_tags(project, zone, instance, tags_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8420
|
-
command =
|
|
8516
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setTags', options)
|
|
8421
8517
|
command.request_representation = Google::Apis::ComputeV1::Tags::Representation
|
|
8422
8518
|
command.request_object = tags_object
|
|
8423
8519
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8459,7 +8555,7 @@ module Google
|
|
|
8459
8555
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8460
8556
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8461
8557
|
def simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8462
|
-
command =
|
|
8558
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options)
|
|
8463
8559
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
8464
8560
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
8465
8561
|
command.params['project'] = project unless project.nil?
|
|
@@ -8510,7 +8606,7 @@ module Google
|
|
|
8510
8606
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8511
8607
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8512
8608
|
def start_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8513
|
-
command =
|
|
8609
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/start', options)
|
|
8514
8610
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
8515
8611
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
8516
8612
|
command.params['project'] = project unless project.nil?
|
|
@@ -8563,7 +8659,7 @@ module Google
|
|
|
8563
8659
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8564
8660
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8565
8661
|
def start_instance_with_encryption_key(project, zone, instance, instances_start_with_encryption_key_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8566
|
-
command =
|
|
8662
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey', options)
|
|
8567
8663
|
command.request_representation = Google::Apis::ComputeV1::InstancesStartWithEncryptionKeyRequest::Representation
|
|
8568
8664
|
command.request_object = instances_start_with_encryption_key_request_object
|
|
8569
8665
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8620,7 +8716,7 @@ module Google
|
|
|
8620
8716
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8621
8717
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8622
8718
|
def stop_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8623
|
-
command =
|
|
8719
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/stop', options)
|
|
8624
8720
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
8625
8721
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
8626
8722
|
command.params['project'] = project unless project.nil?
|
|
@@ -8661,7 +8757,7 @@ module Google
|
|
|
8661
8757
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8662
8758
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8663
8759
|
def test_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8664
|
-
command =
|
|
8760
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/testIamPermissions', options)
|
|
8665
8761
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
8666
8762
|
command.request_object = test_permissions_request_object
|
|
8667
8763
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -8718,7 +8814,7 @@ module Google
|
|
|
8718
8814
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8719
8815
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8720
8816
|
def update_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8721
|
-
command =
|
|
8817
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/updateAccessConfig', options)
|
|
8722
8818
|
command.request_representation = Google::Apis::ComputeV1::AccessConfig::Representation
|
|
8723
8819
|
command.request_object = access_config_object
|
|
8724
8820
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8775,7 +8871,7 @@ module Google
|
|
|
8775
8871
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8776
8872
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8777
8873
|
def update_instance_network_interface(project, zone, instance, network_interface, network_interface_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8778
|
-
command =
|
|
8874
|
+
command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateNetworkInterface', options)
|
|
8779
8875
|
command.request_representation = Google::Apis::ComputeV1::NetworkInterface::Representation
|
|
8780
8876
|
command.request_object = network_interface_object
|
|
8781
8877
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8791,6 +8887,62 @@ module Google
|
|
|
8791
8887
|
execute_or_queue_command(command, &block)
|
|
8792
8888
|
end
|
|
8793
8889
|
|
|
8890
|
+
# Updates the Shielded Instance config for an instance. You can only use this
|
|
8891
|
+
# method on a stopped instance. This method supports PATCH semantics and uses
|
|
8892
|
+
# the JSON merge patch format and processing rules.
|
|
8893
|
+
# @param [String] project
|
|
8894
|
+
# Project ID for this request.
|
|
8895
|
+
# @param [String] zone
|
|
8896
|
+
# The name of the zone for this request.
|
|
8897
|
+
# @param [String] instance
|
|
8898
|
+
# Name or id of the instance scoping this request.
|
|
8899
|
+
# @param [Google::Apis::ComputeV1::ShieldedInstanceConfig] shielded_instance_config_object
|
|
8900
|
+
# @param [String] request_id
|
|
8901
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
8902
|
+
# that if you must retry your request, the server will know to ignore the
|
|
8903
|
+
# request if it has already been completed.
|
|
8904
|
+
# For example, consider a situation where you make an initial request and the
|
|
8905
|
+
# request times out. If you make the request again with the same request ID, the
|
|
8906
|
+
# server can check if original operation with the same request ID was received,
|
|
8907
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
8908
|
+
# accidentally creating duplicate commitments.
|
|
8909
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
8910
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
8911
|
+
# @param [String] fields
|
|
8912
|
+
# Selector specifying which fields to include in a partial response.
|
|
8913
|
+
# @param [String] quota_user
|
|
8914
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
8915
|
+
# characters.
|
|
8916
|
+
# @param [String] user_ip
|
|
8917
|
+
# Deprecated. Please use quotaUser instead.
|
|
8918
|
+
# @param [Google::Apis::RequestOptions] options
|
|
8919
|
+
# Request-specific options
|
|
8920
|
+
#
|
|
8921
|
+
# @yield [result, err] Result & error if block supplied
|
|
8922
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
8923
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
8924
|
+
#
|
|
8925
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
8926
|
+
#
|
|
8927
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8928
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8929
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8930
|
+
def update_instance_shielded_instance_config(project, zone, instance, shielded_instance_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8931
|
+
command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig', options)
|
|
8932
|
+
command.request_representation = Google::Apis::ComputeV1::ShieldedInstanceConfig::Representation
|
|
8933
|
+
command.request_object = shielded_instance_config_object
|
|
8934
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
8935
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
8936
|
+
command.params['project'] = project unless project.nil?
|
|
8937
|
+
command.params['zone'] = zone unless zone.nil?
|
|
8938
|
+
command.params['instance'] = instance unless instance.nil?
|
|
8939
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
8940
|
+
command.query['fields'] = fields unless fields.nil?
|
|
8941
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8942
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
8943
|
+
execute_or_queue_command(command, &block)
|
|
8944
|
+
end
|
|
8945
|
+
|
|
8794
8946
|
# Retrieves an aggregated list of interconnect attachments.
|
|
8795
8947
|
# @param [String] project
|
|
8796
8948
|
# Project ID for this request.
|
|
@@ -8848,7 +9000,7 @@ module Google
|
|
|
8848
9000
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8849
9001
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8850
9002
|
def aggregated_interconnect_attachment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8851
|
-
command =
|
|
9003
|
+
command = make_simple_command(:get, '{project}/aggregated/interconnectAttachments', options)
|
|
8852
9004
|
command.response_representation = Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList::Representation
|
|
8853
9005
|
command.response_class = Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList
|
|
8854
9006
|
command.params['project'] = project unless project.nil?
|
|
@@ -8900,7 +9052,7 @@ module Google
|
|
|
8900
9052
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8901
9053
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8902
9054
|
def delete_interconnect_attachment(project, region, interconnect_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8903
|
-
command =
|
|
9055
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options)
|
|
8904
9056
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
8905
9057
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
8906
9058
|
command.params['project'] = project unless project.nil?
|
|
@@ -8940,7 +9092,7 @@ module Google
|
|
|
8940
9092
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8941
9093
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8942
9094
|
def get_interconnect_attachment(project, region, interconnect_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8943
|
-
command =
|
|
9095
|
+
command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options)
|
|
8944
9096
|
command.response_representation = Google::Apis::ComputeV1::InterconnectAttachment::Representation
|
|
8945
9097
|
command.response_class = Google::Apis::ComputeV1::InterconnectAttachment
|
|
8946
9098
|
command.params['project'] = project unless project.nil?
|
|
@@ -8990,7 +9142,7 @@ module Google
|
|
|
8990
9142
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8991
9143
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8992
9144
|
def insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8993
|
-
command =
|
|
9145
|
+
command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments', options)
|
|
8994
9146
|
command.request_representation = Google::Apis::ComputeV1::InterconnectAttachment::Representation
|
|
8995
9147
|
command.request_object = interconnect_attachment_object
|
|
8996
9148
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -9064,7 +9216,7 @@ module Google
|
|
|
9064
9216
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9065
9217
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9066
9218
|
def list_interconnect_attachments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9067
|
-
command =
|
|
9219
|
+
command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments', options)
|
|
9068
9220
|
command.response_representation = Google::Apis::ComputeV1::InterconnectAttachmentList::Representation
|
|
9069
9221
|
command.response_class = Google::Apis::ComputeV1::InterconnectAttachmentList
|
|
9070
9222
|
command.params['project'] = project unless project.nil?
|
|
@@ -9120,7 +9272,7 @@ module Google
|
|
|
9120
9272
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9121
9273
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9122
9274
|
def patch_interconnect_attachment(project, region, interconnect_attachment, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9123
|
-
command =
|
|
9275
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options)
|
|
9124
9276
|
command.request_representation = Google::Apis::ComputeV1::InterconnectAttachment::Representation
|
|
9125
9277
|
command.request_object = interconnect_attachment_object
|
|
9126
9278
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -9161,7 +9313,7 @@ module Google
|
|
|
9161
9313
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9162
9314
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9163
9315
|
def get_interconnect_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9164
|
-
command =
|
|
9316
|
+
command = make_simple_command(:get, '{project}/global/interconnectLocations/{interconnectLocation}', options)
|
|
9165
9317
|
command.response_representation = Google::Apis::ComputeV1::InterconnectLocation::Representation
|
|
9166
9318
|
command.response_class = Google::Apis::ComputeV1::InterconnectLocation
|
|
9167
9319
|
command.params['project'] = project unless project.nil?
|
|
@@ -9230,7 +9382,7 @@ module Google
|
|
|
9230
9382
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9231
9383
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9232
9384
|
def list_interconnect_locations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9233
|
-
command =
|
|
9385
|
+
command = make_simple_command(:get, '{project}/global/interconnectLocations', options)
|
|
9234
9386
|
command.response_representation = Google::Apis::ComputeV1::InterconnectLocationList::Representation
|
|
9235
9387
|
command.response_class = Google::Apis::ComputeV1::InterconnectLocationList
|
|
9236
9388
|
command.params['project'] = project unless project.nil?
|
|
@@ -9280,7 +9432,7 @@ module Google
|
|
|
9280
9432
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9281
9433
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9282
9434
|
def delete_interconnect(project, interconnect, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9283
|
-
command =
|
|
9435
|
+
command = make_simple_command(:delete, '{project}/global/interconnects/{interconnect}', options)
|
|
9284
9436
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
9285
9437
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
9286
9438
|
command.params['project'] = project unless project.nil?
|
|
@@ -9318,7 +9470,7 @@ module Google
|
|
|
9318
9470
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9319
9471
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9320
9472
|
def get_interconnect(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9321
|
-
command =
|
|
9473
|
+
command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}', options)
|
|
9322
9474
|
command.response_representation = Google::Apis::ComputeV1::Interconnect::Representation
|
|
9323
9475
|
command.response_class = Google::Apis::ComputeV1::Interconnect
|
|
9324
9476
|
command.params['project'] = project unless project.nil?
|
|
@@ -9354,7 +9506,7 @@ module Google
|
|
|
9354
9506
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9355
9507
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9356
9508
|
def get_interconnect_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9357
|
-
command =
|
|
9509
|
+
command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}/getDiagnostics', options)
|
|
9358
9510
|
command.response_representation = Google::Apis::ComputeV1::InterconnectsGetDiagnosticsResponse::Representation
|
|
9359
9511
|
command.response_class = Google::Apis::ComputeV1::InterconnectsGetDiagnosticsResponse
|
|
9360
9512
|
command.params['project'] = project unless project.nil?
|
|
@@ -9401,7 +9553,7 @@ module Google
|
|
|
9401
9553
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9402
9554
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9403
9555
|
def insert_interconnect(project, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9404
|
-
command =
|
|
9556
|
+
command = make_simple_command(:post, '{project}/global/interconnects', options)
|
|
9405
9557
|
command.request_representation = Google::Apis::ComputeV1::Interconnect::Representation
|
|
9406
9558
|
command.request_object = interconnect_object
|
|
9407
9559
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -9471,7 +9623,7 @@ module Google
|
|
|
9471
9623
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9472
9624
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9473
9625
|
def list_interconnects(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9474
|
-
command =
|
|
9626
|
+
command = make_simple_command(:get, '{project}/global/interconnects', options)
|
|
9475
9627
|
command.response_representation = Google::Apis::ComputeV1::InterconnectList::Representation
|
|
9476
9628
|
command.response_class = Google::Apis::ComputeV1::InterconnectList
|
|
9477
9629
|
command.params['project'] = project unless project.nil?
|
|
@@ -9524,7 +9676,7 @@ module Google
|
|
|
9524
9676
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9525
9677
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9526
9678
|
def patch_interconnect(project, interconnect, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9527
|
-
command =
|
|
9679
|
+
command = make_simple_command(:patch, '{project}/global/interconnects/{interconnect}', options)
|
|
9528
9680
|
command.request_representation = Google::Apis::ComputeV1::Interconnect::Representation
|
|
9529
9681
|
command.request_object = interconnect_object
|
|
9530
9682
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -9564,7 +9716,7 @@ module Google
|
|
|
9564
9716
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9565
9717
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9566
9718
|
def get_license_code(project, license_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9567
|
-
command =
|
|
9719
|
+
command = make_simple_command(:get, '{project}/global/licenseCodes/{licenseCode}', options)
|
|
9568
9720
|
command.response_representation = Google::Apis::ComputeV1::LicenseCode::Representation
|
|
9569
9721
|
command.response_class = Google::Apis::ComputeV1::LicenseCode
|
|
9570
9722
|
command.params['project'] = project unless project.nil?
|
|
@@ -9601,7 +9753,7 @@ module Google
|
|
|
9601
9753
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9602
9754
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9603
9755
|
def test_license_code_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9604
|
-
command =
|
|
9756
|
+
command = make_simple_command(:post, '{project}/global/licenseCodes/{resource}/testIamPermissions', options)
|
|
9605
9757
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
9606
9758
|
command.request_object = test_permissions_request_object
|
|
9607
9759
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -9650,7 +9802,7 @@ module Google
|
|
|
9650
9802
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9651
9803
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9652
9804
|
def delete_license(project, license, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9653
|
-
command =
|
|
9805
|
+
command = make_simple_command(:delete, '{project}/global/licenses/{license}', options)
|
|
9654
9806
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
9655
9807
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
9656
9808
|
command.params['project'] = project unless project.nil?
|
|
@@ -9687,7 +9839,7 @@ module Google
|
|
|
9687
9839
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9688
9840
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9689
9841
|
def get_license(project, license, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9690
|
-
command =
|
|
9842
|
+
command = make_simple_command(:get, '{project}/global/licenses/{license}', options)
|
|
9691
9843
|
command.response_representation = Google::Apis::ComputeV1::License::Representation
|
|
9692
9844
|
command.response_class = Google::Apis::ComputeV1::License
|
|
9693
9845
|
command.params['project'] = project unless project.nil?
|
|
@@ -9724,7 +9876,7 @@ module Google
|
|
|
9724
9876
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9725
9877
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9726
9878
|
def get_license_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9727
|
-
command =
|
|
9879
|
+
command = make_simple_command(:get, '{project}/global/licenses/{resource}/getIamPolicy', options)
|
|
9728
9880
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
9729
9881
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
9730
9882
|
command.params['project'] = project unless project.nil?
|
|
@@ -9770,7 +9922,7 @@ module Google
|
|
|
9770
9922
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9771
9923
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9772
9924
|
def insert_license(project, license_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9773
|
-
command =
|
|
9925
|
+
command = make_simple_command(:post, '{project}/global/licenses', options)
|
|
9774
9926
|
command.request_representation = Google::Apis::ComputeV1::License::Representation
|
|
9775
9927
|
command.request_object = license_object
|
|
9776
9928
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -9844,7 +9996,7 @@ module Google
|
|
|
9844
9996
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9845
9997
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9846
9998
|
def list_licenses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9847
|
-
command =
|
|
9999
|
+
command = make_simple_command(:get, '{project}/global/licenses', options)
|
|
9848
10000
|
command.response_representation = Google::Apis::ComputeV1::LicensesListResponse::Representation
|
|
9849
10001
|
command.response_class = Google::Apis::ComputeV1::LicensesListResponse
|
|
9850
10002
|
command.params['project'] = project unless project.nil?
|
|
@@ -9885,7 +10037,7 @@ module Google
|
|
|
9885
10037
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9886
10038
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9887
10039
|
def set_license_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9888
|
-
command =
|
|
10040
|
+
command = make_simple_command(:post, '{project}/global/licenses/{resource}/setIamPolicy', options)
|
|
9889
10041
|
command.request_representation = Google::Apis::ComputeV1::GlobalSetPolicyRequest::Representation
|
|
9890
10042
|
command.request_object = global_set_policy_request_object
|
|
9891
10043
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -9924,7 +10076,7 @@ module Google
|
|
|
9924
10076
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9925
10077
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9926
10078
|
def test_license_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9927
|
-
command =
|
|
10079
|
+
command = make_simple_command(:post, '{project}/global/licenses/{resource}/testIamPermissions', options)
|
|
9928
10080
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
9929
10081
|
command.request_object = test_permissions_request_object
|
|
9930
10082
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -9994,7 +10146,7 @@ module Google
|
|
|
9994
10146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9995
10147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9996
10148
|
def list_aggregated_machine_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9997
|
-
command =
|
|
10149
|
+
command = make_simple_command(:get, '{project}/aggregated/machineTypes', options)
|
|
9998
10150
|
command.response_representation = Google::Apis::ComputeV1::MachineTypeAggregatedList::Representation
|
|
9999
10151
|
command.response_class = Google::Apis::ComputeV1::MachineTypeAggregatedList
|
|
10000
10152
|
command.params['project'] = project unless project.nil?
|
|
@@ -10036,7 +10188,7 @@ module Google
|
|
|
10036
10188
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10037
10189
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10038
10190
|
def get_machine_type(project, zone, machine_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10039
|
-
command =
|
|
10191
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes/{machineType}', options)
|
|
10040
10192
|
command.response_representation = Google::Apis::ComputeV1::MachineType::Representation
|
|
10041
10193
|
command.response_class = Google::Apis::ComputeV1::MachineType
|
|
10042
10194
|
command.params['project'] = project unless project.nil?
|
|
@@ -10107,7 +10259,7 @@ module Google
|
|
|
10107
10259
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10108
10260
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10109
10261
|
def list_machine_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)
|
|
10110
|
-
command =
|
|
10262
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes', options)
|
|
10111
10263
|
command.response_representation = Google::Apis::ComputeV1::MachineTypeList::Representation
|
|
10112
10264
|
command.response_class = Google::Apis::ComputeV1::MachineTypeList
|
|
10113
10265
|
command.params['project'] = project unless project.nil?
|
|
@@ -10122,6 +10274,539 @@ module Google
|
|
|
10122
10274
|
execute_or_queue_command(command, &block)
|
|
10123
10275
|
end
|
|
10124
10276
|
|
|
10277
|
+
# Retrieves the list of network endpoint groups and sorts them by zone.
|
|
10278
|
+
# @param [String] project
|
|
10279
|
+
# Project ID for this request.
|
|
10280
|
+
# @param [String] filter
|
|
10281
|
+
# A filter expression that filters resources listed in the response. The
|
|
10282
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
10283
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
10284
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
10285
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
10286
|
+
# instances named example-instance by specifying name != example-instance.
|
|
10287
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
10288
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
10289
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
10290
|
+
# on resource labels.
|
|
10291
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
10292
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
10293
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
10294
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
10295
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
10296
|
+
# automaticRestart = true).
|
|
10297
|
+
# @param [Fixnum] max_results
|
|
10298
|
+
# The maximum number of results per page that should be returned. If the number
|
|
10299
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
10300
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
10301
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
10302
|
+
# @param [String] order_by
|
|
10303
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
10304
|
+
# alphanumerical order based on the resource name.
|
|
10305
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
10306
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
10307
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
10308
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
10309
|
+
# returned first.
|
|
10310
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
10311
|
+
# @param [String] page_token
|
|
10312
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
10313
|
+
# a previous list request to get the next page of results.
|
|
10314
|
+
# @param [String] fields
|
|
10315
|
+
# Selector specifying which fields to include in a partial response.
|
|
10316
|
+
# @param [String] quota_user
|
|
10317
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
10318
|
+
# characters.
|
|
10319
|
+
# @param [String] user_ip
|
|
10320
|
+
# Deprecated. Please use quotaUser instead.
|
|
10321
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10322
|
+
# Request-specific options
|
|
10323
|
+
#
|
|
10324
|
+
# @yield [result, err] Result & error if block supplied
|
|
10325
|
+
# @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList] parsed result object
|
|
10326
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10327
|
+
#
|
|
10328
|
+
# @return [Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList]
|
|
10329
|
+
#
|
|
10330
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10331
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10332
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10333
|
+
def aggregated_network_endpoint_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)
|
|
10334
|
+
command = make_simple_command(:get, '{project}/aggregated/networkEndpointGroups', options)
|
|
10335
|
+
command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Representation
|
|
10336
|
+
command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList
|
|
10337
|
+
command.params['project'] = project unless project.nil?
|
|
10338
|
+
command.query['filter'] = filter unless filter.nil?
|
|
10339
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
10340
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
10341
|
+
command.query['pageToken'] = page_token unless page_token.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
|
+
# Attach a list of network endpoints to the specified network endpoint group.
|
|
10349
|
+
# @param [String] project
|
|
10350
|
+
# Project ID for this request.
|
|
10351
|
+
# @param [String] zone
|
|
10352
|
+
# The name of the zone where the network endpoint group is located. It should
|
|
10353
|
+
# comply with RFC1035.
|
|
10354
|
+
# @param [String] network_endpoint_group
|
|
10355
|
+
# The name of the network endpoint group where you are attaching network
|
|
10356
|
+
# endpoints to. It should comply with RFC1035.
|
|
10357
|
+
# @param [Google::Apis::ComputeV1::NetworkEndpointGroupsAttachEndpointsRequest] network_endpoint_groups_attach_endpoints_request_object
|
|
10358
|
+
# @param [String] request_id
|
|
10359
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
10360
|
+
# that if you must retry your request, the server will know to ignore the
|
|
10361
|
+
# request if it has already been completed.
|
|
10362
|
+
# For example, consider a situation where you make an initial request and the
|
|
10363
|
+
# request times out. If you make the request again with the same request ID, the
|
|
10364
|
+
# server can check if original operation with the same request ID was received,
|
|
10365
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
10366
|
+
# accidentally creating duplicate commitments.
|
|
10367
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
10368
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
10369
|
+
# @param [String] fields
|
|
10370
|
+
# Selector specifying which fields to include in a partial response.
|
|
10371
|
+
# @param [String] quota_user
|
|
10372
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
10373
|
+
# characters.
|
|
10374
|
+
# @param [String] user_ip
|
|
10375
|
+
# Deprecated. Please use quotaUser instead.
|
|
10376
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10377
|
+
# Request-specific options
|
|
10378
|
+
#
|
|
10379
|
+
# @yield [result, err] Result & error if block supplied
|
|
10380
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
10381
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10382
|
+
#
|
|
10383
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
10384
|
+
#
|
|
10385
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10386
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10387
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10388
|
+
def attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10389
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options)
|
|
10390
|
+
command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsAttachEndpointsRequest::Representation
|
|
10391
|
+
command.request_object = network_endpoint_groups_attach_endpoints_request_object
|
|
10392
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
10393
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
10394
|
+
command.params['project'] = project unless project.nil?
|
|
10395
|
+
command.params['zone'] = zone unless zone.nil?
|
|
10396
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
|
10397
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
10398
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10399
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10400
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
10401
|
+
execute_or_queue_command(command, &block)
|
|
10402
|
+
end
|
|
10403
|
+
|
|
10404
|
+
# Deletes the specified network endpoint group. The network endpoints in the NEG
|
|
10405
|
+
# and the VM instances they belong to are not terminated when the NEG is deleted.
|
|
10406
|
+
# Note that the NEG cannot be deleted if there are backend services referencing
|
|
10407
|
+
# it.
|
|
10408
|
+
# @param [String] project
|
|
10409
|
+
# Project ID for this request.
|
|
10410
|
+
# @param [String] zone
|
|
10411
|
+
# The name of the zone where the network endpoint group is located. It should
|
|
10412
|
+
# comply with RFC1035.
|
|
10413
|
+
# @param [String] network_endpoint_group
|
|
10414
|
+
# The name of the network endpoint group to delete. It should comply with
|
|
10415
|
+
# RFC1035.
|
|
10416
|
+
# @param [String] request_id
|
|
10417
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
10418
|
+
# that if you must retry your request, the server will know to ignore the
|
|
10419
|
+
# request if it has already been completed.
|
|
10420
|
+
# For example, consider a situation where you make an initial request and the
|
|
10421
|
+
# request times out. If you make the request again with the same request ID, the
|
|
10422
|
+
# server can check if original operation with the same request ID was received,
|
|
10423
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
10424
|
+
# accidentally creating duplicate commitments.
|
|
10425
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
10426
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
10427
|
+
# @param [String] fields
|
|
10428
|
+
# Selector specifying which fields to include in a partial response.
|
|
10429
|
+
# @param [String] quota_user
|
|
10430
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
10431
|
+
# characters.
|
|
10432
|
+
# @param [String] user_ip
|
|
10433
|
+
# Deprecated. Please use quotaUser instead.
|
|
10434
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10435
|
+
# Request-specific options
|
|
10436
|
+
#
|
|
10437
|
+
# @yield [result, err] Result & error if block supplied
|
|
10438
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
10439
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10440
|
+
#
|
|
10441
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
10442
|
+
#
|
|
10443
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10444
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10445
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10446
|
+
def delete_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10447
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options)
|
|
10448
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
10449
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
10450
|
+
command.params['project'] = project unless project.nil?
|
|
10451
|
+
command.params['zone'] = zone unless zone.nil?
|
|
10452
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
|
10453
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
10454
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10455
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10456
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
10457
|
+
execute_or_queue_command(command, &block)
|
|
10458
|
+
end
|
|
10459
|
+
|
|
10460
|
+
# Detach a list of network endpoints from the specified network endpoint group.
|
|
10461
|
+
# @param [String] project
|
|
10462
|
+
# Project ID for this request.
|
|
10463
|
+
# @param [String] zone
|
|
10464
|
+
# The name of the zone where the network endpoint group is located. It should
|
|
10465
|
+
# comply with RFC1035.
|
|
10466
|
+
# @param [String] network_endpoint_group
|
|
10467
|
+
# The name of the network endpoint group where you are removing network
|
|
10468
|
+
# endpoints. It should comply with RFC1035.
|
|
10469
|
+
# @param [Google::Apis::ComputeV1::NetworkEndpointGroupsDetachEndpointsRequest] network_endpoint_groups_detach_endpoints_request_object
|
|
10470
|
+
# @param [String] request_id
|
|
10471
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
10472
|
+
# that if you must retry your request, the server will know to ignore the
|
|
10473
|
+
# request if it has already been completed.
|
|
10474
|
+
# For example, consider a situation where you make an initial request and the
|
|
10475
|
+
# request times out. If you make the request again with the same request ID, the
|
|
10476
|
+
# server can check if original operation with the same request ID was received,
|
|
10477
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
10478
|
+
# accidentally creating duplicate commitments.
|
|
10479
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
10480
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
10481
|
+
# @param [String] fields
|
|
10482
|
+
# Selector specifying which fields to include in a partial response.
|
|
10483
|
+
# @param [String] quota_user
|
|
10484
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
10485
|
+
# characters.
|
|
10486
|
+
# @param [String] user_ip
|
|
10487
|
+
# Deprecated. Please use quotaUser instead.
|
|
10488
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10489
|
+
# Request-specific options
|
|
10490
|
+
#
|
|
10491
|
+
# @yield [result, err] Result & error if block supplied
|
|
10492
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
10493
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10494
|
+
#
|
|
10495
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
10496
|
+
#
|
|
10497
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10498
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10499
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10500
|
+
def detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10501
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options)
|
|
10502
|
+
command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsDetachEndpointsRequest::Representation
|
|
10503
|
+
command.request_object = network_endpoint_groups_detach_endpoints_request_object
|
|
10504
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
10505
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
10506
|
+
command.params['project'] = project unless project.nil?
|
|
10507
|
+
command.params['zone'] = zone unless zone.nil?
|
|
10508
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
|
10509
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
10510
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10511
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10512
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
10513
|
+
execute_or_queue_command(command, &block)
|
|
10514
|
+
end
|
|
10515
|
+
|
|
10516
|
+
# Returns the specified network endpoint group. Gets a list of available network
|
|
10517
|
+
# endpoint groups by making a list() request.
|
|
10518
|
+
# @param [String] project
|
|
10519
|
+
# Project ID for this request.
|
|
10520
|
+
# @param [String] zone
|
|
10521
|
+
# The name of the zone where the network endpoint group is located. It should
|
|
10522
|
+
# comply with RFC1035.
|
|
10523
|
+
# @param [String] network_endpoint_group
|
|
10524
|
+
# The name of the network endpoint group. It should comply with RFC1035.
|
|
10525
|
+
# @param [String] fields
|
|
10526
|
+
# Selector specifying which fields to include in a partial response.
|
|
10527
|
+
# @param [String] quota_user
|
|
10528
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
10529
|
+
# characters.
|
|
10530
|
+
# @param [String] user_ip
|
|
10531
|
+
# Deprecated. Please use quotaUser instead.
|
|
10532
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10533
|
+
# Request-specific options
|
|
10534
|
+
#
|
|
10535
|
+
# @yield [result, err] Result & error if block supplied
|
|
10536
|
+
# @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroup] parsed result object
|
|
10537
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10538
|
+
#
|
|
10539
|
+
# @return [Google::Apis::ComputeV1::NetworkEndpointGroup]
|
|
10540
|
+
#
|
|
10541
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10542
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10543
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10544
|
+
def get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10545
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options)
|
|
10546
|
+
command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroup::Representation
|
|
10547
|
+
command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroup
|
|
10548
|
+
command.params['project'] = project unless project.nil?
|
|
10549
|
+
command.params['zone'] = zone unless zone.nil?
|
|
10550
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
|
10551
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10552
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10553
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
10554
|
+
execute_or_queue_command(command, &block)
|
|
10555
|
+
end
|
|
10556
|
+
|
|
10557
|
+
# Creates a network endpoint group in the specified project using the parameters
|
|
10558
|
+
# that are included in the request.
|
|
10559
|
+
# @param [String] project
|
|
10560
|
+
# Project ID for this request.
|
|
10561
|
+
# @param [String] zone
|
|
10562
|
+
# The name of the zone where you want to create the network endpoint group. It
|
|
10563
|
+
# should comply with RFC1035.
|
|
10564
|
+
# @param [Google::Apis::ComputeV1::NetworkEndpointGroup] network_endpoint_group_object
|
|
10565
|
+
# @param [String] request_id
|
|
10566
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
10567
|
+
# that if you must retry your request, the server will know to ignore the
|
|
10568
|
+
# request if it has already been completed.
|
|
10569
|
+
# For example, consider a situation where you make an initial request and the
|
|
10570
|
+
# request times out. If you make the request again with the same request ID, the
|
|
10571
|
+
# server can check if original operation with the same request ID was received,
|
|
10572
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
10573
|
+
# accidentally creating duplicate commitments.
|
|
10574
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
10575
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
10576
|
+
# @param [String] fields
|
|
10577
|
+
# Selector specifying which fields to include in a partial response.
|
|
10578
|
+
# @param [String] quota_user
|
|
10579
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
10580
|
+
# characters.
|
|
10581
|
+
# @param [String] user_ip
|
|
10582
|
+
# Deprecated. Please use quotaUser instead.
|
|
10583
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10584
|
+
# Request-specific options
|
|
10585
|
+
#
|
|
10586
|
+
# @yield [result, err] Result & error if block supplied
|
|
10587
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
10588
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10589
|
+
#
|
|
10590
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
10591
|
+
#
|
|
10592
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10593
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10594
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10595
|
+
def insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10596
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups', options)
|
|
10597
|
+
command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroup::Representation
|
|
10598
|
+
command.request_object = network_endpoint_group_object
|
|
10599
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
10600
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
10601
|
+
command.params['project'] = project unless project.nil?
|
|
10602
|
+
command.params['zone'] = zone unless zone.nil?
|
|
10603
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
10604
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10605
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10606
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
10607
|
+
execute_or_queue_command(command, &block)
|
|
10608
|
+
end
|
|
10609
|
+
|
|
10610
|
+
# Retrieves the list of network endpoint groups that are located in the
|
|
10611
|
+
# specified project and zone.
|
|
10612
|
+
# @param [String] project
|
|
10613
|
+
# Project ID for this request.
|
|
10614
|
+
# @param [String] zone
|
|
10615
|
+
# The name of the zone where the network endpoint group is located. It should
|
|
10616
|
+
# comply with RFC1035.
|
|
10617
|
+
# @param [String] filter
|
|
10618
|
+
# A filter expression that filters resources listed in the response. The
|
|
10619
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
10620
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
10621
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
10622
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
10623
|
+
# instances named example-instance by specifying name != example-instance.
|
|
10624
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
10625
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
10626
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
10627
|
+
# on resource labels.
|
|
10628
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
10629
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
10630
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
10631
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
10632
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
10633
|
+
# automaticRestart = true).
|
|
10634
|
+
# @param [Fixnum] max_results
|
|
10635
|
+
# The maximum number of results per page that should be returned. If the number
|
|
10636
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
10637
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
10638
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
10639
|
+
# @param [String] order_by
|
|
10640
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
10641
|
+
# alphanumerical order based on the resource name.
|
|
10642
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
10643
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
10644
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
10645
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
10646
|
+
# returned first.
|
|
10647
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
10648
|
+
# @param [String] page_token
|
|
10649
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
10650
|
+
# a previous list request to get the next page of results.
|
|
10651
|
+
# @param [String] fields
|
|
10652
|
+
# Selector specifying which fields to include in a partial response.
|
|
10653
|
+
# @param [String] quota_user
|
|
10654
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
10655
|
+
# characters.
|
|
10656
|
+
# @param [String] user_ip
|
|
10657
|
+
# Deprecated. Please use quotaUser instead.
|
|
10658
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10659
|
+
# Request-specific options
|
|
10660
|
+
#
|
|
10661
|
+
# @yield [result, err] Result & error if block supplied
|
|
10662
|
+
# @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroupList] parsed result object
|
|
10663
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10664
|
+
#
|
|
10665
|
+
# @return [Google::Apis::ComputeV1::NetworkEndpointGroupList]
|
|
10666
|
+
#
|
|
10667
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10668
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10669
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10670
|
+
def list_network_endpoint_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)
|
|
10671
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups', options)
|
|
10672
|
+
command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupList::Representation
|
|
10673
|
+
command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupList
|
|
10674
|
+
command.params['project'] = project unless project.nil?
|
|
10675
|
+
command.params['zone'] = zone unless zone.nil?
|
|
10676
|
+
command.query['filter'] = filter unless filter.nil?
|
|
10677
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
10678
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
10679
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
10680
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10681
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10682
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
10683
|
+
execute_or_queue_command(command, &block)
|
|
10684
|
+
end
|
|
10685
|
+
|
|
10686
|
+
# Lists the network endpoints in the specified network endpoint group.
|
|
10687
|
+
# @param [String] project
|
|
10688
|
+
# Project ID for this request.
|
|
10689
|
+
# @param [String] zone
|
|
10690
|
+
# The name of the zone where the network endpoint group is located. It should
|
|
10691
|
+
# comply with RFC1035.
|
|
10692
|
+
# @param [String] network_endpoint_group
|
|
10693
|
+
# The name of the network endpoint group from which you want to generate a list
|
|
10694
|
+
# of included network endpoints. It should comply with RFC1035.
|
|
10695
|
+
# @param [Google::Apis::ComputeV1::NetworkEndpointGroupsListEndpointsRequest] network_endpoint_groups_list_endpoints_request_object
|
|
10696
|
+
# @param [String] filter
|
|
10697
|
+
# A filter expression that filters resources listed in the response. The
|
|
10698
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
10699
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
10700
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
10701
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
10702
|
+
# instances named example-instance by specifying name != example-instance.
|
|
10703
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
10704
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
10705
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
10706
|
+
# on resource labels.
|
|
10707
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
10708
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
10709
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
10710
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
10711
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
10712
|
+
# automaticRestart = true).
|
|
10713
|
+
# @param [Fixnum] max_results
|
|
10714
|
+
# The maximum number of results per page that should be returned. If the number
|
|
10715
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
10716
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
10717
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
10718
|
+
# @param [String] order_by
|
|
10719
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
10720
|
+
# alphanumerical order based on the resource name.
|
|
10721
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
10722
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
10723
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
10724
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
10725
|
+
# returned first.
|
|
10726
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
10727
|
+
# @param [String] page_token
|
|
10728
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
10729
|
+
# a previous list request to get the next page of results.
|
|
10730
|
+
# @param [String] fields
|
|
10731
|
+
# Selector specifying which fields to include in a partial response.
|
|
10732
|
+
# @param [String] quota_user
|
|
10733
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
10734
|
+
# characters.
|
|
10735
|
+
# @param [String] user_ip
|
|
10736
|
+
# Deprecated. Please use quotaUser instead.
|
|
10737
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10738
|
+
# Request-specific options
|
|
10739
|
+
#
|
|
10740
|
+
# @yield [result, err] Result & error if block supplied
|
|
10741
|
+
# @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
|
|
10742
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10743
|
+
#
|
|
10744
|
+
# @return [Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints]
|
|
10745
|
+
#
|
|
10746
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10747
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10748
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10749
|
+
def list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10750
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
|
|
10751
|
+
command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsListEndpointsRequest::Representation
|
|
10752
|
+
command.request_object = network_endpoint_groups_list_endpoints_request_object
|
|
10753
|
+
command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Representation
|
|
10754
|
+
command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints
|
|
10755
|
+
command.params['project'] = project unless project.nil?
|
|
10756
|
+
command.params['zone'] = zone unless zone.nil?
|
|
10757
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
|
10758
|
+
command.query['filter'] = filter unless filter.nil?
|
|
10759
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
10760
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
10761
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
10762
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10763
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10764
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
10765
|
+
execute_or_queue_command(command, &block)
|
|
10766
|
+
end
|
|
10767
|
+
|
|
10768
|
+
# Returns permissions that a caller has on the specified resource.
|
|
10769
|
+
# @param [String] project
|
|
10770
|
+
# Project ID for this request.
|
|
10771
|
+
# @param [String] zone
|
|
10772
|
+
# The name of the zone for this request.
|
|
10773
|
+
# @param [String] resource
|
|
10774
|
+
# Name or id of the resource for this request.
|
|
10775
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
|
10776
|
+
# @param [String] fields
|
|
10777
|
+
# Selector specifying which fields to include in a partial response.
|
|
10778
|
+
# @param [String] quota_user
|
|
10779
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
10780
|
+
# characters.
|
|
10781
|
+
# @param [String] user_ip
|
|
10782
|
+
# Deprecated. Please use quotaUser instead.
|
|
10783
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10784
|
+
# Request-specific options
|
|
10785
|
+
#
|
|
10786
|
+
# @yield [result, err] Result & error if block supplied
|
|
10787
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
|
10788
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10789
|
+
#
|
|
10790
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
|
10791
|
+
#
|
|
10792
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10793
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10794
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10795
|
+
def test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10796
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options)
|
|
10797
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
10798
|
+
command.request_object = test_permissions_request_object
|
|
10799
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
10800
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
|
10801
|
+
command.params['project'] = project unless project.nil?
|
|
10802
|
+
command.params['zone'] = zone unless zone.nil?
|
|
10803
|
+
command.params['resource'] = resource unless resource.nil?
|
|
10804
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10805
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10806
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
10807
|
+
execute_or_queue_command(command, &block)
|
|
10808
|
+
end
|
|
10809
|
+
|
|
10125
10810
|
# Adds a peering to the specified network.
|
|
10126
10811
|
# @param [String] project
|
|
10127
10812
|
# Project ID for this request.
|
|
@@ -10159,7 +10844,7 @@ module Google
|
|
|
10159
10844
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10160
10845
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10161
10846
|
def add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10162
|
-
command =
|
|
10847
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options)
|
|
10163
10848
|
command.request_representation = Google::Apis::ComputeV1::NetworksAddPeeringRequest::Representation
|
|
10164
10849
|
command.request_object = networks_add_peering_request_object
|
|
10165
10850
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -10209,7 +10894,7 @@ module Google
|
|
|
10209
10894
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10210
10895
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10211
10896
|
def delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10212
|
-
command =
|
|
10897
|
+
command = make_simple_command(:delete, '{project}/global/networks/{network}', options)
|
|
10213
10898
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
10214
10899
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
10215
10900
|
command.params['project'] = project unless project.nil?
|
|
@@ -10247,7 +10932,7 @@ module Google
|
|
|
10247
10932
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10248
10933
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10249
10934
|
def get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10250
|
-
command =
|
|
10935
|
+
command = make_simple_command(:get, '{project}/global/networks/{network}', options)
|
|
10251
10936
|
command.response_representation = Google::Apis::ComputeV1::Network::Representation
|
|
10252
10937
|
command.response_class = Google::Apis::ComputeV1::Network
|
|
10253
10938
|
command.params['project'] = project unless project.nil?
|
|
@@ -10294,7 +10979,7 @@ module Google
|
|
|
10294
10979
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10295
10980
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10296
10981
|
def insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10297
|
-
command =
|
|
10982
|
+
command = make_simple_command(:post, '{project}/global/networks', options)
|
|
10298
10983
|
command.request_representation = Google::Apis::ComputeV1::Network::Representation
|
|
10299
10984
|
command.request_object = network_object
|
|
10300
10985
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -10364,7 +11049,7 @@ module Google
|
|
|
10364
11049
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10365
11050
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10366
11051
|
def list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10367
|
-
command =
|
|
11052
|
+
command = make_simple_command(:get, '{project}/global/networks', options)
|
|
10368
11053
|
command.response_representation = Google::Apis::ComputeV1::NetworkList::Representation
|
|
10369
11054
|
command.response_class = Google::Apis::ComputeV1::NetworkList
|
|
10370
11055
|
command.params['project'] = project unless project.nil?
|
|
@@ -10416,7 +11101,7 @@ module Google
|
|
|
10416
11101
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10417
11102
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10418
11103
|
def patch_network(project, network, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10419
|
-
command =
|
|
11104
|
+
command = make_simple_command(:patch, '{project}/global/networks/{network}', options)
|
|
10420
11105
|
command.request_representation = Google::Apis::ComputeV1::Network::Representation
|
|
10421
11106
|
command.request_object = network_object
|
|
10422
11107
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -10467,7 +11152,7 @@ module Google
|
|
|
10467
11152
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10468
11153
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10469
11154
|
def remove_network_peering(project, network, networks_remove_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10470
|
-
command =
|
|
11155
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/removePeering', options)
|
|
10471
11156
|
command.request_representation = Google::Apis::ComputeV1::NetworksRemovePeeringRequest::Representation
|
|
10472
11157
|
command.request_object = networks_remove_peering_request_object
|
|
10473
11158
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -10517,7 +11202,7 @@ module Google
|
|
|
10517
11202
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10518
11203
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10519
11204
|
def switch_network_to_custom_mode(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10520
|
-
command =
|
|
11205
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', options)
|
|
10521
11206
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
10522
11207
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
10523
11208
|
command.params['project'] = project unless project.nil?
|
|
@@ -10568,7 +11253,7 @@ module Google
|
|
|
10568
11253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10569
11254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10570
11255
|
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)
|
|
10571
|
-
command =
|
|
11256
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes', options)
|
|
10572
11257
|
command.request_representation = Google::Apis::ComputeV1::NodeGroupsAddNodesRequest::Representation
|
|
10573
11258
|
command.request_object = node_groups_add_nodes_request_object
|
|
10574
11259
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -10641,7 +11326,7 @@ module Google
|
|
|
10641
11326
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10642
11327
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10643
11328
|
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)
|
|
10644
|
-
command =
|
|
11329
|
+
command = make_simple_command(:get, '{project}/aggregated/nodeGroups', options)
|
|
10645
11330
|
command.response_representation = Google::Apis::ComputeV1::NodeGroupAggregatedList::Representation
|
|
10646
11331
|
command.response_class = Google::Apis::ComputeV1::NodeGroupAggregatedList
|
|
10647
11332
|
command.params['project'] = project unless project.nil?
|
|
@@ -10693,7 +11378,7 @@ module Google
|
|
|
10693
11378
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10694
11379
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10695
11380
|
def delete_node_group(project, zone, node_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10696
|
-
command =
|
|
11381
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options)
|
|
10697
11382
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
10698
11383
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
10699
11384
|
command.params['project'] = project unless project.nil?
|
|
@@ -10745,7 +11430,7 @@ module Google
|
|
|
10745
11430
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10746
11431
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10747
11432
|
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)
|
|
10748
|
-
command =
|
|
11433
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes', options)
|
|
10749
11434
|
command.request_representation = Google::Apis::ComputeV1::NodeGroupsDeleteNodesRequest::Representation
|
|
10750
11435
|
command.request_object = node_groups_delete_nodes_request_object
|
|
10751
11436
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -10789,7 +11474,7 @@ module Google
|
|
|
10789
11474
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10790
11475
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10791
11476
|
def get_node_group(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10792
|
-
command =
|
|
11477
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options)
|
|
10793
11478
|
command.response_representation = Google::Apis::ComputeV1::NodeGroup::Representation
|
|
10794
11479
|
command.response_class = Google::Apis::ComputeV1::NodeGroup
|
|
10795
11480
|
command.params['project'] = project unless project.nil?
|
|
@@ -10829,7 +11514,7 @@ module Google
|
|
|
10829
11514
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10830
11515
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10831
11516
|
def get_node_group_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10832
|
-
command =
|
|
11517
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options)
|
|
10833
11518
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
10834
11519
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
10835
11520
|
command.params['project'] = project unless project.nil?
|
|
@@ -10881,7 +11566,7 @@ module Google
|
|
|
10881
11566
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10882
11567
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10883
11568
|
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)
|
|
10884
|
-
command =
|
|
11569
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups', options)
|
|
10885
11570
|
command.request_representation = Google::Apis::ComputeV1::NodeGroup::Representation
|
|
10886
11571
|
command.request_object = node_group_object
|
|
10887
11572
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -10956,7 +11641,7 @@ module Google
|
|
|
10956
11641
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10957
11642
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10958
11643
|
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)
|
|
10959
|
-
command =
|
|
11644
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups', options)
|
|
10960
11645
|
command.response_representation = Google::Apis::ComputeV1::NodeGroupList::Representation
|
|
10961
11646
|
command.response_class = Google::Apis::ComputeV1::NodeGroupList
|
|
10962
11647
|
command.params['project'] = project unless project.nil?
|
|
@@ -11032,7 +11717,7 @@ module Google
|
|
|
11032
11717
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11033
11718
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11034
11719
|
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)
|
|
11035
|
-
command =
|
|
11720
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes', options)
|
|
11036
11721
|
command.response_representation = Google::Apis::ComputeV1::NodeGroupsListNodes::Representation
|
|
11037
11722
|
command.response_class = Google::Apis::ComputeV1::NodeGroupsListNodes
|
|
11038
11723
|
command.params['project'] = project unless project.nil?
|
|
@@ -11077,7 +11762,7 @@ module Google
|
|
|
11077
11762
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11078
11763
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11079
11764
|
def set_node_group_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11080
|
-
command =
|
|
11765
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options)
|
|
11081
11766
|
command.request_representation = Google::Apis::ComputeV1::ZoneSetPolicyRequest::Representation
|
|
11082
11767
|
command.request_object = zone_set_policy_request_object
|
|
11083
11768
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -11130,7 +11815,7 @@ module Google
|
|
|
11130
11815
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11131
11816
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11132
11817
|
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)
|
|
11133
|
-
command =
|
|
11818
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate', options)
|
|
11134
11819
|
command.request_representation = Google::Apis::ComputeV1::NodeGroupsSetNodeTemplateRequest::Representation
|
|
11135
11820
|
command.request_object = node_groups_set_node_template_request_object
|
|
11136
11821
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -11173,7 +11858,7 @@ module Google
|
|
|
11173
11858
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11174
11859
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11175
11860
|
def test_node_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11176
|
-
command =
|
|
11861
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', options)
|
|
11177
11862
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
11178
11863
|
command.request_object = test_permissions_request_object
|
|
11179
11864
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -11244,7 +11929,7 @@ module Google
|
|
|
11244
11929
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11245
11930
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11246
11931
|
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)
|
|
11247
|
-
command =
|
|
11932
|
+
command = make_simple_command(:get, '{project}/aggregated/nodeTemplates', options)
|
|
11248
11933
|
command.response_representation = Google::Apis::ComputeV1::NodeTemplateAggregatedList::Representation
|
|
11249
11934
|
command.response_class = Google::Apis::ComputeV1::NodeTemplateAggregatedList
|
|
11250
11935
|
command.params['project'] = project unless project.nil?
|
|
@@ -11296,7 +11981,7 @@ module Google
|
|
|
11296
11981
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11297
11982
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11298
11983
|
def delete_node_template(project, region, node_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11299
|
-
command =
|
|
11984
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options)
|
|
11300
11985
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
11301
11986
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
11302
11987
|
command.params['project'] = project unless project.nil?
|
|
@@ -11337,7 +12022,7 @@ module Google
|
|
|
11337
12022
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11338
12023
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11339
12024
|
def get_node_template(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11340
|
-
command =
|
|
12025
|
+
command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options)
|
|
11341
12026
|
command.response_representation = Google::Apis::ComputeV1::NodeTemplate::Representation
|
|
11342
12027
|
command.response_class = Google::Apis::ComputeV1::NodeTemplate
|
|
11343
12028
|
command.params['project'] = project unless project.nil?
|
|
@@ -11377,7 +12062,7 @@ module Google
|
|
|
11377
12062
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11378
12063
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11379
12064
|
def get_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11380
|
-
command =
|
|
12065
|
+
command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options)
|
|
11381
12066
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
11382
12067
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
11383
12068
|
command.params['project'] = project unless project.nil?
|
|
@@ -11427,7 +12112,7 @@ module Google
|
|
|
11427
12112
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11428
12113
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11429
12114
|
def insert_node_template(project, region, node_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11430
|
-
command =
|
|
12115
|
+
command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates', options)
|
|
11431
12116
|
command.request_representation = Google::Apis::ComputeV1::NodeTemplate::Representation
|
|
11432
12117
|
command.request_object = node_template_object
|
|
11433
12118
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -11500,7 +12185,7 @@ module Google
|
|
|
11500
12185
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11501
12186
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11502
12187
|
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)
|
|
11503
|
-
command =
|
|
12188
|
+
command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates', options)
|
|
11504
12189
|
command.response_representation = Google::Apis::ComputeV1::NodeTemplateList::Representation
|
|
11505
12190
|
command.response_class = Google::Apis::ComputeV1::NodeTemplateList
|
|
11506
12191
|
command.params['project'] = project unless project.nil?
|
|
@@ -11544,7 +12229,7 @@ module Google
|
|
|
11544
12229
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11545
12230
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11546
12231
|
def set_node_template_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11547
|
-
command =
|
|
12232
|
+
command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options)
|
|
11548
12233
|
command.request_representation = Google::Apis::ComputeV1::RegionSetPolicyRequest::Representation
|
|
11549
12234
|
command.request_object = region_set_policy_request_object
|
|
11550
12235
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -11586,7 +12271,7 @@ module Google
|
|
|
11586
12271
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11587
12272
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11588
12273
|
def test_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11589
|
-
command =
|
|
12274
|
+
command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options)
|
|
11590
12275
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
11591
12276
|
command.request_object = test_permissions_request_object
|
|
11592
12277
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -11657,7 +12342,7 @@ module Google
|
|
|
11657
12342
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11658
12343
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11659
12344
|
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)
|
|
11660
|
-
command =
|
|
12345
|
+
command = make_simple_command(:get, '{project}/aggregated/nodeTypes', options)
|
|
11661
12346
|
command.response_representation = Google::Apis::ComputeV1::NodeTypeAggregatedList::Representation
|
|
11662
12347
|
command.response_class = Google::Apis::ComputeV1::NodeTypeAggregatedList
|
|
11663
12348
|
command.params['project'] = project unless project.nil?
|
|
@@ -11699,7 +12384,7 @@ module Google
|
|
|
11699
12384
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11700
12385
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11701
12386
|
def get_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11702
|
-
command =
|
|
12387
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes/{nodeType}', options)
|
|
11703
12388
|
command.response_representation = Google::Apis::ComputeV1::NodeType::Representation
|
|
11704
12389
|
command.response_class = Google::Apis::ComputeV1::NodeType
|
|
11705
12390
|
command.params['project'] = project unless project.nil?
|
|
@@ -11770,7 +12455,7 @@ module Google
|
|
|
11770
12455
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11771
12456
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11772
12457
|
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)
|
|
11773
|
-
command =
|
|
12458
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes', options)
|
|
11774
12459
|
command.response_representation = Google::Apis::ComputeV1::NodeTypeList::Representation
|
|
11775
12460
|
command.response_class = Google::Apis::ComputeV1::NodeTypeList
|
|
11776
12461
|
command.params['project'] = project unless project.nil?
|
|
@@ -11819,7 +12504,7 @@ module Google
|
|
|
11819
12504
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11820
12505
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11821
12506
|
def disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11822
|
-
command =
|
|
12507
|
+
command = make_simple_command(:post, '{project}/disableXpnHost', options)
|
|
11823
12508
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
11824
12509
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
11825
12510
|
command.params['project'] = project unless project.nil?
|
|
@@ -11866,7 +12551,7 @@ module Google
|
|
|
11866
12551
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11867
12552
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11868
12553
|
def disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11869
|
-
command =
|
|
12554
|
+
command = make_simple_command(:post, '{project}/disableXpnResource', options)
|
|
11870
12555
|
command.request_representation = Google::Apis::ComputeV1::ProjectsDisableXpnResourceRequest::Representation
|
|
11871
12556
|
command.request_object = projects_disable_xpn_resource_request_object
|
|
11872
12557
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -11913,7 +12598,7 @@ module Google
|
|
|
11913
12598
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11914
12599
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11915
12600
|
def enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11916
|
-
command =
|
|
12601
|
+
command = make_simple_command(:post, '{project}/enableXpnHost', options)
|
|
11917
12602
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
11918
12603
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
11919
12604
|
command.params['project'] = project unless project.nil?
|
|
@@ -11960,7 +12645,7 @@ module Google
|
|
|
11960
12645
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11961
12646
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11962
12647
|
def enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11963
|
-
command =
|
|
12648
|
+
command = make_simple_command(:post, '{project}/enableXpnResource', options)
|
|
11964
12649
|
command.request_representation = Google::Apis::ComputeV1::ProjectsEnableXpnResourceRequest::Representation
|
|
11965
12650
|
command.request_object = projects_enable_xpn_resource_request_object
|
|
11966
12651
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -11996,7 +12681,7 @@ module Google
|
|
|
11996
12681
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11997
12682
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11998
12683
|
def get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11999
|
-
command =
|
|
12684
|
+
command = make_simple_command(:get, '{project}', options)
|
|
12000
12685
|
command.response_representation = Google::Apis::ComputeV1::Project::Representation
|
|
12001
12686
|
command.response_class = Google::Apis::ComputeV1::Project
|
|
12002
12687
|
command.params['project'] = project unless project.nil?
|
|
@@ -12030,7 +12715,7 @@ module Google
|
|
|
12030
12715
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12031
12716
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12032
12717
|
def get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12033
|
-
command =
|
|
12718
|
+
command = make_simple_command(:get, '{project}/getXpnHost', options)
|
|
12034
12719
|
command.response_representation = Google::Apis::ComputeV1::Project::Representation
|
|
12035
12720
|
command.response_class = Google::Apis::ComputeV1::Project
|
|
12036
12721
|
command.params['project'] = project unless project.nil?
|
|
@@ -12098,7 +12783,7 @@ module Google
|
|
|
12098
12783
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12099
12784
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12100
12785
|
def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12101
|
-
command =
|
|
12786
|
+
command = make_simple_command(:get, '{project}/getXpnResources', options)
|
|
12102
12787
|
command.response_representation = Google::Apis::ComputeV1::ProjectsGetXpnResources::Representation
|
|
12103
12788
|
command.response_class = Google::Apis::ComputeV1::ProjectsGetXpnResources
|
|
12104
12789
|
command.params['project'] = project unless project.nil?
|
|
@@ -12170,7 +12855,7 @@ module Google
|
|
|
12170
12855
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12171
12856
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12172
12857
|
def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12173
|
-
command =
|
|
12858
|
+
command = make_simple_command(:post, '{project}/listXpnHosts', options)
|
|
12174
12859
|
command.request_representation = Google::Apis::ComputeV1::ProjectsListXpnHostsRequest::Representation
|
|
12175
12860
|
command.request_object = projects_list_xpn_hosts_request_object
|
|
12176
12861
|
command.response_representation = Google::Apis::ComputeV1::XpnHostList::Representation
|
|
@@ -12221,7 +12906,7 @@ module Google
|
|
|
12221
12906
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12222
12907
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12223
12908
|
def move_disk(project, move_disk_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12224
|
-
command =
|
|
12909
|
+
command = make_simple_command(:post, '{project}/moveDisk', options)
|
|
12225
12910
|
command.request_representation = Google::Apis::ComputeV1::MoveDiskRequest::Representation
|
|
12226
12911
|
command.request_object = move_disk_request_object
|
|
12227
12912
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -12269,7 +12954,7 @@ module Google
|
|
|
12269
12954
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12270
12955
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12271
12956
|
def move_instance(project, move_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12272
|
-
command =
|
|
12957
|
+
command = make_simple_command(:post, '{project}/moveInstance', options)
|
|
12273
12958
|
command.request_representation = Google::Apis::ComputeV1::MoveInstanceRequest::Representation
|
|
12274
12959
|
command.request_object = move_instance_request_object
|
|
12275
12960
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -12318,7 +13003,7 @@ module Google
|
|
|
12318
13003
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12319
13004
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12320
13005
|
def set_common_instance_metadata(project, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12321
|
-
command =
|
|
13006
|
+
command = make_simple_command(:post, '{project}/setCommonInstanceMetadata', options)
|
|
12322
13007
|
command.request_representation = Google::Apis::ComputeV1::Metadata::Representation
|
|
12323
13008
|
command.request_object = metadata_object
|
|
12324
13009
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -12368,7 +13053,7 @@ module Google
|
|
|
12368
13053
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12369
13054
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12370
13055
|
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)
|
|
12371
|
-
command =
|
|
13056
|
+
command = make_simple_command(:post, '{project}/setDefaultNetworkTier', options)
|
|
12372
13057
|
command.request_representation = Google::Apis::ComputeV1::ProjectsSetDefaultNetworkTierRequest::Representation
|
|
12373
13058
|
command.request_object = projects_set_default_network_tier_request_object
|
|
12374
13059
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -12418,7 +13103,7 @@ module Google
|
|
|
12418
13103
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12419
13104
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12420
13105
|
def set_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12421
|
-
command =
|
|
13106
|
+
command = make_simple_command(:post, '{project}/setUsageExportBucket', options)
|
|
12422
13107
|
command.request_representation = Google::Apis::ComputeV1::UsageExportLocation::Representation
|
|
12423
13108
|
command.request_object = usage_export_location_object
|
|
12424
13109
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -12469,7 +13154,7 @@ module Google
|
|
|
12469
13154
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12470
13155
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12471
13156
|
def delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12472
|
-
command =
|
|
13157
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/autoscalers/{autoscaler}', options)
|
|
12473
13158
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
12474
13159
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
12475
13160
|
command.params['project'] = project unless project.nil?
|
|
@@ -12509,7 +13194,7 @@ module Google
|
|
|
12509
13194
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12510
13195
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12511
13196
|
def get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12512
|
-
command =
|
|
13197
|
+
command = make_simple_command(:get, '{project}/regions/{region}/autoscalers/{autoscaler}', options)
|
|
12513
13198
|
command.response_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
|
12514
13199
|
command.response_class = Google::Apis::ComputeV1::Autoscaler
|
|
12515
13200
|
command.params['project'] = project unless project.nil?
|
|
@@ -12559,7 +13244,7 @@ module Google
|
|
|
12559
13244
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12560
13245
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12561
13246
|
def insert_region_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12562
|
-
command =
|
|
13247
|
+
command = make_simple_command(:post, '{project}/regions/{region}/autoscalers', options)
|
|
12563
13248
|
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
|
12564
13249
|
command.request_object = autoscaler_object
|
|
12565
13250
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -12632,7 +13317,7 @@ module Google
|
|
|
12632
13317
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12633
13318
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12634
13319
|
def list_region_autoscalers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12635
|
-
command =
|
|
13320
|
+
command = make_simple_command(:get, '{project}/regions/{region}/autoscalers', options)
|
|
12636
13321
|
command.response_representation = Google::Apis::ComputeV1::RegionAutoscalerList::Representation
|
|
12637
13322
|
command.response_class = Google::Apis::ComputeV1::RegionAutoscalerList
|
|
12638
13323
|
command.params['project'] = project unless project.nil?
|
|
@@ -12688,7 +13373,7 @@ module Google
|
|
|
12688
13373
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12689
13374
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12690
13375
|
def patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12691
|
-
command =
|
|
13376
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/autoscalers', options)
|
|
12692
13377
|
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
|
12693
13378
|
command.request_object = autoscaler_object
|
|
12694
13379
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -12743,7 +13428,7 @@ module Google
|
|
|
12743
13428
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12744
13429
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12745
13430
|
def update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12746
|
-
command =
|
|
13431
|
+
command = make_simple_command(:put, '{project}/regions/{region}/autoscalers', options)
|
|
12747
13432
|
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
|
12748
13433
|
command.request_object = autoscaler_object
|
|
12749
13434
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -12796,7 +13481,7 @@ module Google
|
|
|
12796
13481
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12797
13482
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12798
13483
|
def delete_region_backend_service(project, region, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12799
|
-
command =
|
|
13484
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/backendServices/{backendService}', options)
|
|
12800
13485
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
12801
13486
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
12802
13487
|
command.params['project'] = project unless project.nil?
|
|
@@ -12836,7 +13521,7 @@ module Google
|
|
|
12836
13521
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12837
13522
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12838
13523
|
def get_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12839
|
-
command =
|
|
13524
|
+
command = make_simple_command(:get, '{project}/regions/{region}/backendServices/{backendService}', options)
|
|
12840
13525
|
command.response_representation = Google::Apis::ComputeV1::BackendService::Representation
|
|
12841
13526
|
command.response_class = Google::Apis::ComputeV1::BackendService
|
|
12842
13527
|
command.params['project'] = project unless project.nil?
|
|
@@ -12875,7 +13560,7 @@ module Google
|
|
|
12875
13560
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12876
13561
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12877
13562
|
def get_region_backend_service_health(project, region, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12878
|
-
command =
|
|
13563
|
+
command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{backendService}/getHealth', options)
|
|
12879
13564
|
command.request_representation = Google::Apis::ComputeV1::ResourceGroupReference::Representation
|
|
12880
13565
|
command.request_object = resource_group_reference_object
|
|
12881
13566
|
command.response_representation = Google::Apis::ComputeV1::BackendServiceGroupHealth::Representation
|
|
@@ -12929,7 +13614,7 @@ module Google
|
|
|
12929
13614
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12930
13615
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12931
13616
|
def insert_region_backend_service(project, region, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12932
|
-
command =
|
|
13617
|
+
command = make_simple_command(:post, '{project}/regions/{region}/backendServices', options)
|
|
12933
13618
|
command.request_representation = Google::Apis::ComputeV1::BackendService::Representation
|
|
12934
13619
|
command.request_object = backend_service_object
|
|
12935
13620
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13003,7 +13688,7 @@ module Google
|
|
|
13003
13688
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13004
13689
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13005
13690
|
def list_region_backend_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13006
|
-
command =
|
|
13691
|
+
command = make_simple_command(:get, '{project}/regions/{region}/backendServices', options)
|
|
13007
13692
|
command.response_representation = Google::Apis::ComputeV1::BackendServiceList::Representation
|
|
13008
13693
|
command.response_class = Google::Apis::ComputeV1::BackendServiceList
|
|
13009
13694
|
command.params['project'] = project unless project.nil?
|
|
@@ -13061,7 +13746,7 @@ module Google
|
|
|
13061
13746
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13062
13747
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13063
13748
|
def patch_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13064
|
-
command =
|
|
13749
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/backendServices/{backendService}', options)
|
|
13065
13750
|
command.request_representation = Google::Apis::ComputeV1::BackendService::Representation
|
|
13066
13751
|
command.request_object = backend_service_object
|
|
13067
13752
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13118,7 +13803,7 @@ module Google
|
|
|
13118
13803
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13119
13804
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13120
13805
|
def update_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13121
|
-
command =
|
|
13806
|
+
command = make_simple_command(:put, '{project}/regions/{region}/backendServices/{backendService}', options)
|
|
13122
13807
|
command.request_representation = Google::Apis::ComputeV1::BackendService::Representation
|
|
13123
13808
|
command.request_object = backend_service_object
|
|
13124
13809
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13190,7 +13875,7 @@ module Google
|
|
|
13190
13875
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13191
13876
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13192
13877
|
def aggregated_region_commitment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13193
|
-
command =
|
|
13878
|
+
command = make_simple_command(:get, '{project}/aggregated/commitments', options)
|
|
13194
13879
|
command.response_representation = Google::Apis::ComputeV1::CommitmentAggregatedList::Representation
|
|
13195
13880
|
command.response_class = Google::Apis::ComputeV1::CommitmentAggregatedList
|
|
13196
13881
|
command.params['project'] = project unless project.nil?
|
|
@@ -13232,7 +13917,7 @@ module Google
|
|
|
13232
13917
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13233
13918
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13234
13919
|
def get_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13235
|
-
command =
|
|
13920
|
+
command = make_simple_command(:get, '{project}/regions/{region}/commitments/{commitment}', options)
|
|
13236
13921
|
command.response_representation = Google::Apis::ComputeV1::Commitment::Representation
|
|
13237
13922
|
command.response_class = Google::Apis::ComputeV1::Commitment
|
|
13238
13923
|
command.params['project'] = project unless project.nil?
|
|
@@ -13282,7 +13967,7 @@ module Google
|
|
|
13282
13967
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13283
13968
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13284
13969
|
def insert_region_commitment(project, region, commitment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13285
|
-
command =
|
|
13970
|
+
command = make_simple_command(:post, '{project}/regions/{region}/commitments', options)
|
|
13286
13971
|
command.request_representation = Google::Apis::ComputeV1::Commitment::Representation
|
|
13287
13972
|
command.request_object = commitment_object
|
|
13288
13973
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13355,7 +14040,7 @@ module Google
|
|
|
13355
14040
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13356
14041
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13357
14042
|
def list_region_commitments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13358
|
-
command =
|
|
14043
|
+
command = make_simple_command(:get, '{project}/regions/{region}/commitments', options)
|
|
13359
14044
|
command.response_representation = Google::Apis::ComputeV1::CommitmentList::Representation
|
|
13360
14045
|
command.response_class = Google::Apis::ComputeV1::CommitmentList
|
|
13361
14046
|
command.params['project'] = project unless project.nil?
|
|
@@ -13398,7 +14083,7 @@ module Google
|
|
|
13398
14083
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13399
14084
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13400
14085
|
def get_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13401
|
-
command =
|
|
14086
|
+
command = make_simple_command(:get, '{project}/regions/{region}/diskTypes/{diskType}', options)
|
|
13402
14087
|
command.response_representation = Google::Apis::ComputeV1::DiskType::Representation
|
|
13403
14088
|
command.response_class = Google::Apis::ComputeV1::DiskType
|
|
13404
14089
|
command.params['project'] = project unless project.nil?
|
|
@@ -13469,7 +14154,7 @@ module Google
|
|
|
13469
14154
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13470
14155
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13471
14156
|
def list_region_disk_types(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13472
|
-
command =
|
|
14157
|
+
command = make_simple_command(:get, '{project}/regions/{region}/diskTypes', options)
|
|
13473
14158
|
command.response_representation = Google::Apis::ComputeV1::RegionDiskTypeList::Representation
|
|
13474
14159
|
command.response_class = Google::Apis::ComputeV1::RegionDiskTypeList
|
|
13475
14160
|
command.params['project'] = project unless project.nil?
|
|
@@ -13523,7 +14208,7 @@ module Google
|
|
|
13523
14208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13524
14209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13525
14210
|
def create_region_disk_snapshot(project, region, disk, snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13526
|
-
command =
|
|
14211
|
+
command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/createSnapshot', options)
|
|
13527
14212
|
command.request_representation = Google::Apis::ComputeV1::Snapshot::Representation
|
|
13528
14213
|
command.request_object = snapshot_object
|
|
13529
14214
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13579,7 +14264,7 @@ module Google
|
|
|
13579
14264
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13580
14265
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13581
14266
|
def delete_region_disk(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13582
|
-
command =
|
|
14267
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/disks/{disk}', options)
|
|
13583
14268
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
13584
14269
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
13585
14270
|
command.params['project'] = project unless project.nil?
|
|
@@ -13619,7 +14304,7 @@ module Google
|
|
|
13619
14304
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13620
14305
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13621
14306
|
def get_region_disk(project, region, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13622
|
-
command =
|
|
14307
|
+
command = make_simple_command(:get, '{project}/regions/{region}/disks/{disk}', options)
|
|
13623
14308
|
command.response_representation = Google::Apis::ComputeV1::Disk::Representation
|
|
13624
14309
|
command.response_class = Google::Apis::ComputeV1::Disk
|
|
13625
14310
|
command.params['project'] = project unless project.nil?
|
|
@@ -13671,7 +14356,7 @@ module Google
|
|
|
13671
14356
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13672
14357
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13673
14358
|
def insert_region_disk(project, region, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13674
|
-
command =
|
|
14359
|
+
command = make_simple_command(:post, '{project}/regions/{region}/disks', options)
|
|
13675
14360
|
command.request_representation = Google::Apis::ComputeV1::Disk::Representation
|
|
13676
14361
|
command.request_object = disk_object
|
|
13677
14362
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13745,7 +14430,7 @@ module Google
|
|
|
13745
14430
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13746
14431
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13747
14432
|
def list_region_disks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13748
|
-
command =
|
|
14433
|
+
command = make_simple_command(:get, '{project}/regions/{region}/disks', options)
|
|
13749
14434
|
command.response_representation = Google::Apis::ComputeV1::DiskList::Representation
|
|
13750
14435
|
command.response_class = Google::Apis::ComputeV1::DiskList
|
|
13751
14436
|
command.params['project'] = project unless project.nil?
|
|
@@ -13799,7 +14484,7 @@ module Google
|
|
|
13799
14484
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13800
14485
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13801
14486
|
def resize_region_disk(project, region, disk, region_disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13802
|
-
command =
|
|
14487
|
+
command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/resize', options)
|
|
13803
14488
|
command.request_representation = Google::Apis::ComputeV1::RegionDisksResizeRequest::Representation
|
|
13804
14489
|
command.request_object = region_disks_resize_request_object
|
|
13805
14490
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13853,7 +14538,7 @@ module Google
|
|
|
13853
14538
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13854
14539
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13855
14540
|
def set_region_disk_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13856
|
-
command =
|
|
14541
|
+
command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setLabels', options)
|
|
13857
14542
|
command.request_representation = Google::Apis::ComputeV1::RegionSetLabelsRequest::Representation
|
|
13858
14543
|
command.request_object = region_set_labels_request_object
|
|
13859
14544
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13896,7 +14581,7 @@ module Google
|
|
|
13896
14581
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13897
14582
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13898
14583
|
def test_region_disk_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13899
|
-
command =
|
|
14584
|
+
command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/testIamPermissions', options)
|
|
13900
14585
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
13901
14586
|
command.request_object = test_permissions_request_object
|
|
13902
14587
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -13960,7 +14645,7 @@ module Google
|
|
|
13960
14645
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13961
14646
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13962
14647
|
def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13963
|
-
command =
|
|
14648
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options)
|
|
13964
14649
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersAbandonInstancesRequest::Representation
|
|
13965
14650
|
command.request_object = region_instance_group_managers_abandon_instances_request_object
|
|
13966
14651
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14014,7 +14699,7 @@ module Google
|
|
|
14014
14699
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14015
14700
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14016
14701
|
def delete_region_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14017
|
-
command =
|
|
14702
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
14018
14703
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
14019
14704
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
14020
14705
|
command.params['project'] = project unless project.nil?
|
|
@@ -14076,7 +14761,7 @@ module Google
|
|
|
14076
14761
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14077
14762
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14078
14763
|
def delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14079
|
-
command =
|
|
14764
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options)
|
|
14080
14765
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersDeleteInstancesRequest::Representation
|
|
14081
14766
|
command.request_object = region_instance_group_managers_delete_instances_request_object
|
|
14082
14767
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14118,7 +14803,7 @@ module Google
|
|
|
14118
14803
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14119
14804
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14120
14805
|
def get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14121
|
-
command =
|
|
14806
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
14122
14807
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation
|
|
14123
14808
|
command.response_class = Google::Apis::ComputeV1::InstanceGroupManager
|
|
14124
14809
|
command.params['project'] = project unless project.nil?
|
|
@@ -14173,7 +14858,7 @@ module Google
|
|
|
14173
14858
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14174
14859
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14175
14860
|
def insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14176
|
-
command =
|
|
14861
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', options)
|
|
14177
14862
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation
|
|
14178
14863
|
command.request_object = instance_group_manager_object
|
|
14179
14864
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14247,7 +14932,7 @@ module Google
|
|
|
14247
14932
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14248
14933
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14249
14934
|
def list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14250
|
-
command =
|
|
14935
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers', options)
|
|
14251
14936
|
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagerList::Representation
|
|
14252
14937
|
command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupManagerList
|
|
14253
14938
|
command.params['project'] = project unless project.nil?
|
|
@@ -14325,7 +15010,7 @@ module Google
|
|
|
14325
15010
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14326
15011
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14327
15012
|
def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14328
|
-
command =
|
|
15013
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
|
|
14329
15014
|
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersListInstancesResponse::Representation
|
|
14330
15015
|
command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupManagersListInstancesResponse
|
|
14331
15016
|
command.params['project'] = project unless project.nil?
|
|
@@ -14385,7 +15070,7 @@ module Google
|
|
|
14385
15070
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14386
15071
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14387
15072
|
def patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14388
|
-
command =
|
|
15073
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
14389
15074
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation
|
|
14390
15075
|
command.request_object = instance_group_manager_object
|
|
14391
15076
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14448,7 +15133,7 @@ module Google
|
|
|
14448
15133
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14449
15134
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14450
15135
|
def recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14451
|
-
command =
|
|
15136
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options)
|
|
14452
15137
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersRecreateRequest::Representation
|
|
14453
15138
|
command.request_object = region_instance_group_managers_recreate_request_object
|
|
14454
15139
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14511,7 +15196,7 @@ module Google
|
|
|
14511
15196
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14512
15197
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14513
15198
|
def resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14514
|
-
command =
|
|
15199
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options)
|
|
14515
15200
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
14516
15201
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
14517
15202
|
command.params['project'] = project unless project.nil?
|
|
@@ -14565,7 +15250,7 @@ module Google
|
|
|
14565
15250
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14566
15251
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14567
15252
|
def set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14568
|
-
command =
|
|
15253
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options)
|
|
14569
15254
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTemplateRequest::Representation
|
|
14570
15255
|
command.request_object = region_instance_group_managers_set_template_request_object
|
|
14571
15256
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14620,7 +15305,7 @@ module Google
|
|
|
14620
15305
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14621
15306
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14622
15307
|
def set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14623
|
-
command =
|
|
15308
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options)
|
|
14624
15309
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation
|
|
14625
15310
|
command.request_object = region_instance_group_managers_set_target_pools_request_object
|
|
14626
15311
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14662,7 +15347,7 @@ module Google
|
|
|
14662
15347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14663
15348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14664
15349
|
def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14665
|
-
command =
|
|
15350
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', options)
|
|
14666
15351
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroup::Representation
|
|
14667
15352
|
command.response_class = Google::Apis::ComputeV1::InstanceGroup
|
|
14668
15353
|
command.params['project'] = project unless project.nil?
|
|
@@ -14734,7 +15419,7 @@ module Google
|
|
|
14734
15419
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14735
15420
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14736
15421
|
def list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14737
|
-
command =
|
|
15422
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups', options)
|
|
14738
15423
|
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupList::Representation
|
|
14739
15424
|
command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupList
|
|
14740
15425
|
command.params['project'] = project unless project.nil?
|
|
@@ -14813,7 +15498,7 @@ module Google
|
|
|
14813
15498
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14814
15499
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14815
15500
|
def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14816
|
-
command =
|
|
15501
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options)
|
|
14817
15502
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupsListInstancesRequest::Representation
|
|
14818
15503
|
command.request_object = region_instance_groups_list_instances_request_object
|
|
14819
15504
|
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupsListInstances::Representation
|
|
@@ -14870,7 +15555,7 @@ module Google
|
|
|
14870
15555
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14871
15556
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14872
15557
|
def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14873
|
-
command =
|
|
15558
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options)
|
|
14874
15559
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupsSetNamedPortsRequest::Representation
|
|
14875
15560
|
command.request_object = region_instance_groups_set_named_ports_request_object
|
|
14876
15561
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14912,7 +15597,7 @@ module Google
|
|
|
14912
15597
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14913
15598
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14914
15599
|
def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14915
|
-
command =
|
|
15600
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', options)
|
|
14916
15601
|
command.params['project'] = project unless project.nil?
|
|
14917
15602
|
command.params['region'] = region unless region.nil?
|
|
14918
15603
|
command.params['operation'] = operation unless operation.nil?
|
|
@@ -14949,7 +15634,7 @@ module Google
|
|
|
14949
15634
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14950
15635
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14951
15636
|
def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14952
|
-
command =
|
|
15637
|
+
command = make_simple_command(:get, '{project}/regions/{region}/operations/{operation}', options)
|
|
14953
15638
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
14954
15639
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
14955
15640
|
command.params['project'] = project unless project.nil?
|
|
@@ -15020,7 +15705,7 @@ module Google
|
|
|
15020
15705
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15021
15706
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15022
15707
|
def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15023
|
-
command =
|
|
15708
|
+
command = make_simple_command(:get, '{project}/regions/{region}/operations', options)
|
|
15024
15709
|
command.response_representation = Google::Apis::ComputeV1::OperationList::Representation
|
|
15025
15710
|
command.response_class = Google::Apis::ComputeV1::OperationList
|
|
15026
15711
|
command.params['project'] = project unless project.nil?
|
|
@@ -15061,7 +15746,7 @@ module Google
|
|
|
15061
15746
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15062
15747
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15063
15748
|
def get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15064
|
-
command =
|
|
15749
|
+
command = make_simple_command(:get, '{project}/regions/{region}', options)
|
|
15065
15750
|
command.response_representation = Google::Apis::ComputeV1::Region::Representation
|
|
15066
15751
|
command.response_class = Google::Apis::ComputeV1::Region
|
|
15067
15752
|
command.params['project'] = project unless project.nil?
|
|
@@ -15129,7 +15814,7 @@ module Google
|
|
|
15129
15814
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15130
15815
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15131
15816
|
def list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15132
|
-
command =
|
|
15817
|
+
command = make_simple_command(:get, '{project}/regions', options)
|
|
15133
15818
|
command.response_representation = Google::Apis::ComputeV1::RegionList::Representation
|
|
15134
15819
|
command.response_class = Google::Apis::ComputeV1::RegionList
|
|
15135
15820
|
command.params['project'] = project unless project.nil?
|
|
@@ -15200,7 +15885,7 @@ module Google
|
|
|
15200
15885
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15201
15886
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15202
15887
|
def aggregated_router_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15203
|
-
command =
|
|
15888
|
+
command = make_simple_command(:get, '{project}/aggregated/routers', options)
|
|
15204
15889
|
command.response_representation = Google::Apis::ComputeV1::RouterAggregatedList::Representation
|
|
15205
15890
|
command.response_class = Google::Apis::ComputeV1::RouterAggregatedList
|
|
15206
15891
|
command.params['project'] = project unless project.nil?
|
|
@@ -15252,7 +15937,7 @@ module Google
|
|
|
15252
15937
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15253
15938
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15254
15939
|
def delete_router(project, region, router, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15255
|
-
command =
|
|
15940
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/routers/{router}', options)
|
|
15256
15941
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
15257
15942
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
15258
15943
|
command.params['project'] = project unless project.nil?
|
|
@@ -15293,7 +15978,7 @@ module Google
|
|
|
15293
15978
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15294
15979
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15295
15980
|
def get_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15296
|
-
command =
|
|
15981
|
+
command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}', options)
|
|
15297
15982
|
command.response_representation = Google::Apis::ComputeV1::Router::Representation
|
|
15298
15983
|
command.response_class = Google::Apis::ComputeV1::Router
|
|
15299
15984
|
command.params['project'] = project unless project.nil?
|
|
@@ -15367,7 +16052,7 @@ module Google
|
|
|
15367
16052
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15368
16053
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15369
16054
|
def get_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15370
|
-
command =
|
|
16055
|
+
command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getNatMappingInfo', options)
|
|
15371
16056
|
command.response_representation = Google::Apis::ComputeV1::VmEndpointNatMappingsList::Representation
|
|
15372
16057
|
command.response_class = Google::Apis::ComputeV1::VmEndpointNatMappingsList
|
|
15373
16058
|
command.params['project'] = project unless project.nil?
|
|
@@ -15410,7 +16095,7 @@ module Google
|
|
|
15410
16095
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15411
16096
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15412
16097
|
def get_router_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15413
|
-
command =
|
|
16098
|
+
command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getRouterStatus', options)
|
|
15414
16099
|
command.response_representation = Google::Apis::ComputeV1::RouterStatusResponse::Representation
|
|
15415
16100
|
command.response_class = Google::Apis::ComputeV1::RouterStatusResponse
|
|
15416
16101
|
command.params['project'] = project unless project.nil?
|
|
@@ -15460,7 +16145,7 @@ module Google
|
|
|
15460
16145
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15461
16146
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15462
16147
|
def insert_router(project, region, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15463
|
-
command =
|
|
16148
|
+
command = make_simple_command(:post, '{project}/regions/{region}/routers', options)
|
|
15464
16149
|
command.request_representation = Google::Apis::ComputeV1::Router::Representation
|
|
15465
16150
|
command.request_object = router_object
|
|
15466
16151
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -15533,7 +16218,7 @@ module Google
|
|
|
15533
16218
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15534
16219
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15535
16220
|
def list_routers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15536
|
-
command =
|
|
16221
|
+
command = make_simple_command(:get, '{project}/regions/{region}/routers', options)
|
|
15537
16222
|
command.response_representation = Google::Apis::ComputeV1::RouterList::Representation
|
|
15538
16223
|
command.response_class = Google::Apis::ComputeV1::RouterList
|
|
15539
16224
|
command.params['project'] = project unless project.nil?
|
|
@@ -15589,7 +16274,7 @@ module Google
|
|
|
15589
16274
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15590
16275
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15591
16276
|
def patch_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15592
|
-
command =
|
|
16277
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/routers/{router}', options)
|
|
15593
16278
|
command.request_representation = Google::Apis::ComputeV1::Router::Representation
|
|
15594
16279
|
command.request_object = router_object
|
|
15595
16280
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -15633,7 +16318,7 @@ module Google
|
|
|
15633
16318
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15634
16319
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15635
16320
|
def preview_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15636
|
-
command =
|
|
16321
|
+
command = make_simple_command(:post, '{project}/regions/{region}/routers/{router}/preview', options)
|
|
15637
16322
|
command.request_representation = Google::Apis::ComputeV1::Router::Representation
|
|
15638
16323
|
command.request_object = router_object
|
|
15639
16324
|
command.response_representation = Google::Apis::ComputeV1::RoutersPreviewResponse::Representation
|
|
@@ -15686,7 +16371,7 @@ module Google
|
|
|
15686
16371
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15687
16372
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15688
16373
|
def update_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15689
|
-
command =
|
|
16374
|
+
command = make_simple_command(:put, '{project}/regions/{region}/routers/{router}', options)
|
|
15690
16375
|
command.request_representation = Google::Apis::ComputeV1::Router::Representation
|
|
15691
16376
|
command.request_object = router_object
|
|
15692
16377
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -15737,7 +16422,7 @@ module Google
|
|
|
15737
16422
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15738
16423
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15739
16424
|
def delete_route(project, route, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15740
|
-
command =
|
|
16425
|
+
command = make_simple_command(:delete, '{project}/global/routes/{route}', options)
|
|
15741
16426
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
15742
16427
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
15743
16428
|
command.params['project'] = project unless project.nil?
|
|
@@ -15775,7 +16460,7 @@ module Google
|
|
|
15775
16460
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15776
16461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15777
16462
|
def get_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15778
|
-
command =
|
|
16463
|
+
command = make_simple_command(:get, '{project}/global/routes/{route}', options)
|
|
15779
16464
|
command.response_representation = Google::Apis::ComputeV1::Route::Representation
|
|
15780
16465
|
command.response_class = Google::Apis::ComputeV1::Route
|
|
15781
16466
|
command.params['project'] = project unless project.nil?
|
|
@@ -15822,7 +16507,7 @@ module Google
|
|
|
15822
16507
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15823
16508
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15824
16509
|
def insert_route(project, route_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15825
|
-
command =
|
|
16510
|
+
command = make_simple_command(:post, '{project}/global/routes', options)
|
|
15826
16511
|
command.request_representation = Google::Apis::ComputeV1::Route::Representation
|
|
15827
16512
|
command.request_object = route_object
|
|
15828
16513
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -15892,7 +16577,7 @@ module Google
|
|
|
15892
16577
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15893
16578
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15894
16579
|
def list_routes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15895
|
-
command =
|
|
16580
|
+
command = make_simple_command(:get, '{project}/global/routes', options)
|
|
15896
16581
|
command.response_representation = Google::Apis::ComputeV1::RouteList::Representation
|
|
15897
16582
|
command.response_class = Google::Apis::ComputeV1::RouteList
|
|
15898
16583
|
command.params['project'] = project unless project.nil?
|
|
@@ -15932,7 +16617,7 @@ module Google
|
|
|
15932
16617
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15933
16618
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15934
16619
|
def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15935
|
-
command =
|
|
16620
|
+
command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', options)
|
|
15936
16621
|
command.request_representation = Google::Apis::ComputeV1::SecurityPolicyRule::Representation
|
|
15937
16622
|
command.request_object = security_policy_rule_object
|
|
15938
16623
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -15981,7 +16666,7 @@ module Google
|
|
|
15981
16666
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15982
16667
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15983
16668
|
def delete_security_policy(project, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15984
|
-
command =
|
|
16669
|
+
command = make_simple_command(:delete, '{project}/global/securityPolicies/{securityPolicy}', options)
|
|
15985
16670
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
15986
16671
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
15987
16672
|
command.params['project'] = project unless project.nil?
|
|
@@ -16018,7 +16703,7 @@ module Google
|
|
|
16018
16703
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16019
16704
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16020
16705
|
def get_security_policy(project, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16021
|
-
command =
|
|
16706
|
+
command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}', options)
|
|
16022
16707
|
command.response_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
|
|
16023
16708
|
command.response_class = Google::Apis::ComputeV1::SecurityPolicy
|
|
16024
16709
|
command.params['project'] = project unless project.nil?
|
|
@@ -16056,7 +16741,7 @@ module Google
|
|
|
16056
16741
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16057
16742
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16058
16743
|
def get_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16059
|
-
command =
|
|
16744
|
+
command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}/getRule', options)
|
|
16060
16745
|
command.response_representation = Google::Apis::ComputeV1::SecurityPolicyRule::Representation
|
|
16061
16746
|
command.response_class = Google::Apis::ComputeV1::SecurityPolicyRule
|
|
16062
16747
|
command.params['project'] = project unless project.nil?
|
|
@@ -16104,7 +16789,7 @@ module Google
|
|
|
16104
16789
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16105
16790
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16106
16791
|
def insert_security_policy(project, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16107
|
-
command =
|
|
16792
|
+
command = make_simple_command(:post, '{project}/global/securityPolicies', options)
|
|
16108
16793
|
command.request_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
|
|
16109
16794
|
command.request_object = security_policy_object
|
|
16110
16795
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16174,7 +16859,7 @@ module Google
|
|
|
16174
16859
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16175
16860
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16176
16861
|
def list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16177
|
-
command =
|
|
16862
|
+
command = make_simple_command(:get, '{project}/global/securityPolicies', options)
|
|
16178
16863
|
command.response_representation = Google::Apis::ComputeV1::SecurityPolicyList::Representation
|
|
16179
16864
|
command.response_class = Google::Apis::ComputeV1::SecurityPolicyList
|
|
16180
16865
|
command.params['project'] = project unless project.nil?
|
|
@@ -16225,7 +16910,7 @@ module Google
|
|
|
16225
16910
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16226
16911
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16227
16912
|
def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16228
|
-
command =
|
|
16913
|
+
command = make_simple_command(:patch, '{project}/global/securityPolicies/{securityPolicy}', options)
|
|
16229
16914
|
command.request_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
|
|
16230
16915
|
command.request_object = security_policy_object
|
|
16231
16916
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16267,7 +16952,7 @@ module Google
|
|
|
16267
16952
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16268
16953
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16269
16954
|
def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16270
|
-
command =
|
|
16955
|
+
command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', options)
|
|
16271
16956
|
command.request_representation = Google::Apis::ComputeV1::SecurityPolicyRule::Representation
|
|
16272
16957
|
command.request_object = security_policy_rule_object
|
|
16273
16958
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16308,7 +16993,7 @@ module Google
|
|
|
16308
16993
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16309
16994
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16310
16995
|
def remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16311
|
-
command =
|
|
16996
|
+
command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/removeRule', options)
|
|
16312
16997
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
16313
16998
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
16314
16999
|
command.params['project'] = project unless project.nil?
|
|
@@ -16360,7 +17045,7 @@ module Google
|
|
|
16360
17045
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16361
17046
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16362
17047
|
def delete_snapshot(project, snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16363
|
-
command =
|
|
17048
|
+
command = make_simple_command(:delete, '{project}/global/snapshots/{snapshot}', options)
|
|
16364
17049
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
16365
17050
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
16366
17051
|
command.params['project'] = project unless project.nil?
|
|
@@ -16398,7 +17083,7 @@ module Google
|
|
|
16398
17083
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16399
17084
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16400
17085
|
def get_snapshot(project, snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16401
|
-
command =
|
|
17086
|
+
command = make_simple_command(:get, '{project}/global/snapshots/{snapshot}', options)
|
|
16402
17087
|
command.response_representation = Google::Apis::ComputeV1::Snapshot::Representation
|
|
16403
17088
|
command.response_class = Google::Apis::ComputeV1::Snapshot
|
|
16404
17089
|
command.params['project'] = project unless project.nil?
|
|
@@ -16435,7 +17120,7 @@ module Google
|
|
|
16435
17120
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16436
17121
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16437
17122
|
def get_snapshot_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16438
|
-
command =
|
|
17123
|
+
command = make_simple_command(:get, '{project}/global/snapshots/{resource}/getIamPolicy', options)
|
|
16439
17124
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
16440
17125
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
16441
17126
|
command.params['project'] = project unless project.nil?
|
|
@@ -16504,7 +17189,7 @@ module Google
|
|
|
16504
17189
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16505
17190
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16506
17191
|
def list_snapshots(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16507
|
-
command =
|
|
17192
|
+
command = make_simple_command(:get, '{project}/global/snapshots', options)
|
|
16508
17193
|
command.response_representation = Google::Apis::ComputeV1::SnapshotList::Representation
|
|
16509
17194
|
command.response_class = Google::Apis::ComputeV1::SnapshotList
|
|
16510
17195
|
command.params['project'] = project unless project.nil?
|
|
@@ -16545,7 +17230,7 @@ module Google
|
|
|
16545
17230
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16546
17231
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16547
17232
|
def set_snapshot_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16548
|
-
command =
|
|
17233
|
+
command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setIamPolicy', options)
|
|
16549
17234
|
command.request_representation = Google::Apis::ComputeV1::GlobalSetPolicyRequest::Representation
|
|
16550
17235
|
command.request_object = global_set_policy_request_object
|
|
16551
17236
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -16585,7 +17270,7 @@ module Google
|
|
|
16585
17270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16586
17271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16587
17272
|
def set_snapshot_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16588
|
-
command =
|
|
17273
|
+
command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setLabels', options)
|
|
16589
17274
|
command.request_representation = Google::Apis::ComputeV1::GlobalSetLabelsRequest::Representation
|
|
16590
17275
|
command.request_object = global_set_labels_request_object
|
|
16591
17276
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16624,7 +17309,7 @@ module Google
|
|
|
16624
17309
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16625
17310
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16626
17311
|
def test_snapshot_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16627
|
-
command =
|
|
17312
|
+
command = make_simple_command(:post, '{project}/global/snapshots/{resource}/testIamPermissions', options)
|
|
16628
17313
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
16629
17314
|
command.request_object = test_permissions_request_object
|
|
16630
17315
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -16673,7 +17358,7 @@ module Google
|
|
|
16673
17358
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16674
17359
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16675
17360
|
def delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16676
|
-
command =
|
|
17361
|
+
command = make_simple_command(:delete, '{project}/global/sslCertificates/{sslCertificate}', options)
|
|
16677
17362
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
16678
17363
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
16679
17364
|
command.params['project'] = project unless project.nil?
|
|
@@ -16711,7 +17396,7 @@ module Google
|
|
|
16711
17396
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16712
17397
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16713
17398
|
def get_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16714
|
-
command =
|
|
17399
|
+
command = make_simple_command(:get, '{project}/global/sslCertificates/{sslCertificate}', options)
|
|
16715
17400
|
command.response_representation = Google::Apis::ComputeV1::SslCertificate::Representation
|
|
16716
17401
|
command.response_class = Google::Apis::ComputeV1::SslCertificate
|
|
16717
17402
|
command.params['project'] = project unless project.nil?
|
|
@@ -16758,7 +17443,7 @@ module Google
|
|
|
16758
17443
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16759
17444
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16760
17445
|
def insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16761
|
-
command =
|
|
17446
|
+
command = make_simple_command(:post, '{project}/global/sslCertificates', options)
|
|
16762
17447
|
command.request_representation = Google::Apis::ComputeV1::SslCertificate::Representation
|
|
16763
17448
|
command.request_object = ssl_certificate_object
|
|
16764
17449
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16829,7 +17514,7 @@ module Google
|
|
|
16829
17514
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16830
17515
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16831
17516
|
def list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16832
|
-
command =
|
|
17517
|
+
command = make_simple_command(:get, '{project}/global/sslCertificates', options)
|
|
16833
17518
|
command.response_representation = Google::Apis::ComputeV1::SslCertificateList::Representation
|
|
16834
17519
|
command.response_class = Google::Apis::ComputeV1::SslCertificateList
|
|
16835
17520
|
command.params['project'] = project unless project.nil?
|
|
@@ -16881,7 +17566,7 @@ module Google
|
|
|
16881
17566
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16882
17567
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16883
17568
|
def delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16884
|
-
command =
|
|
17569
|
+
command = make_simple_command(:delete, '{project}/global/sslPolicies/{sslPolicy}', options)
|
|
16885
17570
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
16886
17571
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
16887
17572
|
command.params['project'] = project unless project.nil?
|
|
@@ -16919,7 +17604,7 @@ module Google
|
|
|
16919
17604
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16920
17605
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16921
17606
|
def get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16922
|
-
command =
|
|
17607
|
+
command = make_simple_command(:get, '{project}/global/sslPolicies/{sslPolicy}', options)
|
|
16923
17608
|
command.response_representation = Google::Apis::ComputeV1::SslPolicy::Representation
|
|
16924
17609
|
command.response_class = Google::Apis::ComputeV1::SslPolicy
|
|
16925
17610
|
command.params['project'] = project unless project.nil?
|
|
@@ -16966,7 +17651,7 @@ module Google
|
|
|
16966
17651
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16967
17652
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16968
17653
|
def insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16969
|
-
command =
|
|
17654
|
+
command = make_simple_command(:post, '{project}/global/sslPolicies', options)
|
|
16970
17655
|
command.request_representation = Google::Apis::ComputeV1::SslPolicy::Representation
|
|
16971
17656
|
command.request_object = ssl_policy_object
|
|
16972
17657
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -17036,7 +17721,7 @@ module Google
|
|
|
17036
17721
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17037
17722
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17038
17723
|
def list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17039
|
-
command =
|
|
17724
|
+
command = make_simple_command(:get, '{project}/global/sslPolicies', options)
|
|
17040
17725
|
command.response_representation = Google::Apis::ComputeV1::SslPoliciesList::Representation
|
|
17041
17726
|
command.response_class = Google::Apis::ComputeV1::SslPoliciesList
|
|
17042
17727
|
command.params['project'] = project unless project.nil?
|
|
@@ -17108,7 +17793,7 @@ module Google
|
|
|
17108
17793
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17109
17794
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17110
17795
|
def list_ssl_policy_available_features(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17111
|
-
command =
|
|
17796
|
+
command = make_simple_command(:get, '{project}/global/sslPolicies/listAvailableFeatures', options)
|
|
17112
17797
|
command.response_representation = Google::Apis::ComputeV1::SslPoliciesListAvailableFeaturesResponse::Representation
|
|
17113
17798
|
command.response_class = Google::Apis::ComputeV1::SslPoliciesListAvailableFeaturesResponse
|
|
17114
17799
|
command.params['project'] = project unless project.nil?
|
|
@@ -17160,7 +17845,7 @@ module Google
|
|
|
17160
17845
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17161
17846
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17162
17847
|
def patch_ssl_policy(project, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17163
|
-
command =
|
|
17848
|
+
command = make_simple_command(:patch, '{project}/global/sslPolicies/{sslPolicy}', options)
|
|
17164
17849
|
command.request_representation = Google::Apis::ComputeV1::SslPolicy::Representation
|
|
17165
17850
|
command.request_object = ssl_policy_object
|
|
17166
17851
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -17231,7 +17916,7 @@ module Google
|
|
|
17231
17916
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17232
17917
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17233
17918
|
def aggregated_subnetwork_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17234
|
-
command =
|
|
17919
|
+
command = make_simple_command(:get, '{project}/aggregated/subnetworks', options)
|
|
17235
17920
|
command.response_representation = Google::Apis::ComputeV1::SubnetworkAggregatedList::Representation
|
|
17236
17921
|
command.response_class = Google::Apis::ComputeV1::SubnetworkAggregatedList
|
|
17237
17922
|
command.params['project'] = project unless project.nil?
|
|
@@ -17283,7 +17968,7 @@ module Google
|
|
|
17283
17968
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17284
17969
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17285
17970
|
def delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17286
|
-
command =
|
|
17971
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/subnetworks/{subnetwork}', options)
|
|
17287
17972
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
17288
17973
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
17289
17974
|
command.params['project'] = project unless project.nil?
|
|
@@ -17335,7 +18020,7 @@ module Google
|
|
|
17335
18020
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17336
18021
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17337
18022
|
def expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17338
|
-
command =
|
|
18023
|
+
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options)
|
|
17339
18024
|
command.request_representation = Google::Apis::ComputeV1::SubnetworksExpandIpCidrRangeRequest::Representation
|
|
17340
18025
|
command.request_object = subnetworks_expand_ip_cidr_range_request_object
|
|
17341
18026
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -17378,7 +18063,7 @@ module Google
|
|
|
17378
18063
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17379
18064
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17380
18065
|
def get_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17381
|
-
command =
|
|
18066
|
+
command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{subnetwork}', options)
|
|
17382
18067
|
command.response_representation = Google::Apis::ComputeV1::Subnetwork::Representation
|
|
17383
18068
|
command.response_class = Google::Apis::ComputeV1::Subnetwork
|
|
17384
18069
|
command.params['project'] = project unless project.nil?
|
|
@@ -17418,7 +18103,7 @@ module Google
|
|
|
17418
18103
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17419
18104
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17420
18105
|
def get_subnetwork_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17421
|
-
command =
|
|
18106
|
+
command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', options)
|
|
17422
18107
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
17423
18108
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
17424
18109
|
command.params['project'] = project unless project.nil?
|
|
@@ -17468,7 +18153,7 @@ module Google
|
|
|
17468
18153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17469
18154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17470
18155
|
def insert_subnetwork(project, region, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17471
|
-
command =
|
|
18156
|
+
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks', options)
|
|
17472
18157
|
command.request_representation = Google::Apis::ComputeV1::Subnetwork::Representation
|
|
17473
18158
|
command.request_object = subnetwork_object
|
|
17474
18159
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -17541,7 +18226,7 @@ module Google
|
|
|
17541
18226
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17542
18227
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17543
18228
|
def list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17544
|
-
command =
|
|
18229
|
+
command = make_simple_command(:get, '{project}/regions/{region}/subnetworks', options)
|
|
17545
18230
|
command.response_representation = Google::Apis::ComputeV1::SubnetworkList::Representation
|
|
17546
18231
|
command.response_class = Google::Apis::ComputeV1::SubnetworkList
|
|
17547
18232
|
command.params['project'] = project unless project.nil?
|
|
@@ -17613,7 +18298,7 @@ module Google
|
|
|
17613
18298
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17614
18299
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17615
18300
|
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)
|
|
17616
|
-
command =
|
|
18301
|
+
command = make_simple_command(:get, '{project}/aggregated/subnetworks/listUsable', options)
|
|
17617
18302
|
command.response_representation = Google::Apis::ComputeV1::UsableSubnetworksAggregatedList::Representation
|
|
17618
18303
|
command.response_class = Google::Apis::ComputeV1::UsableSubnetworksAggregatedList
|
|
17619
18304
|
command.params['project'] = project unless project.nil?
|
|
@@ -17669,7 +18354,7 @@ module Google
|
|
|
17669
18354
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17670
18355
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17671
18356
|
def patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17672
|
-
command =
|
|
18357
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/subnetworks/{subnetwork}', options)
|
|
17673
18358
|
command.request_representation = Google::Apis::ComputeV1::Subnetwork::Representation
|
|
17674
18359
|
command.request_object = subnetwork_object
|
|
17675
18360
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -17713,7 +18398,7 @@ module Google
|
|
|
17713
18398
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17714
18399
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17715
18400
|
def set_subnetwork_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17716
|
-
command =
|
|
18401
|
+
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options)
|
|
17717
18402
|
command.request_representation = Google::Apis::ComputeV1::RegionSetPolicyRequest::Representation
|
|
17718
18403
|
command.request_object = region_set_policy_request_object
|
|
17719
18404
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -17767,7 +18452,7 @@ module Google
|
|
|
17767
18452
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17768
18453
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17769
18454
|
def set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17770
|
-
command =
|
|
18455
|
+
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', options)
|
|
17771
18456
|
command.request_representation = Google::Apis::ComputeV1::SubnetworksSetPrivateIpGoogleAccessRequest::Representation
|
|
17772
18457
|
command.request_object = subnetworks_set_private_ip_google_access_request_object
|
|
17773
18458
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -17810,7 +18495,7 @@ module Google
|
|
|
17810
18495
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17811
18496
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17812
18497
|
def test_subnetwork_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17813
|
-
command =
|
|
18498
|
+
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/testIamPermissions', options)
|
|
17814
18499
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
17815
18500
|
command.request_object = test_permissions_request_object
|
|
17816
18501
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -17860,7 +18545,7 @@ module Google
|
|
|
17860
18545
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17861
18546
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17862
18547
|
def delete_target_http_proxy(project, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17863
|
-
command =
|
|
18548
|
+
command = make_simple_command(:delete, '{project}/global/targetHttpProxies/{targetHttpProxy}', options)
|
|
17864
18549
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
17865
18550
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
17866
18551
|
command.params['project'] = project unless project.nil?
|
|
@@ -17898,7 +18583,7 @@ module Google
|
|
|
17898
18583
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17899
18584
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17900
18585
|
def get_target_http_proxy(project, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17901
|
-
command =
|
|
18586
|
+
command = make_simple_command(:get, '{project}/global/targetHttpProxies/{targetHttpProxy}', options)
|
|
17902
18587
|
command.response_representation = Google::Apis::ComputeV1::TargetHttpProxy::Representation
|
|
17903
18588
|
command.response_class = Google::Apis::ComputeV1::TargetHttpProxy
|
|
17904
18589
|
command.params['project'] = project unless project.nil?
|
|
@@ -17945,7 +18630,7 @@ module Google
|
|
|
17945
18630
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17946
18631
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17947
18632
|
def insert_target_http_proxy(project, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17948
|
-
command =
|
|
18633
|
+
command = make_simple_command(:post, '{project}/global/targetHttpProxies', options)
|
|
17949
18634
|
command.request_representation = Google::Apis::ComputeV1::TargetHttpProxy::Representation
|
|
17950
18635
|
command.request_object = target_http_proxy_object
|
|
17951
18636
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18016,7 +18701,7 @@ module Google
|
|
|
18016
18701
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18017
18702
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18018
18703
|
def list_target_http_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18019
|
-
command =
|
|
18704
|
+
command = make_simple_command(:get, '{project}/global/targetHttpProxies', options)
|
|
18020
18705
|
command.response_representation = Google::Apis::ComputeV1::TargetHttpProxyList::Representation
|
|
18021
18706
|
command.response_class = Google::Apis::ComputeV1::TargetHttpProxyList
|
|
18022
18707
|
command.params['project'] = project unless project.nil?
|
|
@@ -18067,7 +18752,7 @@ module Google
|
|
|
18067
18752
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18068
18753
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18069
18754
|
def set_target_http_proxy_url_map(project, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18070
|
-
command =
|
|
18755
|
+
command = make_simple_command(:post, '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options)
|
|
18071
18756
|
command.request_representation = Google::Apis::ComputeV1::UrlMapReference::Representation
|
|
18072
18757
|
command.request_object = url_map_reference_object
|
|
18073
18758
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18117,7 +18802,7 @@ module Google
|
|
|
18117
18802
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18118
18803
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18119
18804
|
def delete_target_https_proxy(project, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18120
|
-
command =
|
|
18805
|
+
command = make_simple_command(:delete, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', options)
|
|
18121
18806
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
18122
18807
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
18123
18808
|
command.params['project'] = project unless project.nil?
|
|
@@ -18155,7 +18840,7 @@ module Google
|
|
|
18155
18840
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18156
18841
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18157
18842
|
def get_target_https_proxy(project, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18158
|
-
command =
|
|
18843
|
+
command = make_simple_command(:get, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', options)
|
|
18159
18844
|
command.response_representation = Google::Apis::ComputeV1::TargetHttpsProxy::Representation
|
|
18160
18845
|
command.response_class = Google::Apis::ComputeV1::TargetHttpsProxy
|
|
18161
18846
|
command.params['project'] = project unless project.nil?
|
|
@@ -18202,7 +18887,7 @@ module Google
|
|
|
18202
18887
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18203
18888
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18204
18889
|
def insert_target_https_proxy(project, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18205
|
-
command =
|
|
18890
|
+
command = make_simple_command(:post, '{project}/global/targetHttpsProxies', options)
|
|
18206
18891
|
command.request_representation = Google::Apis::ComputeV1::TargetHttpsProxy::Representation
|
|
18207
18892
|
command.request_object = target_https_proxy_object
|
|
18208
18893
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18273,7 +18958,7 @@ module Google
|
|
|
18273
18958
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18274
18959
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18275
18960
|
def list_target_https_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18276
|
-
command =
|
|
18961
|
+
command = make_simple_command(:get, '{project}/global/targetHttpsProxies', options)
|
|
18277
18962
|
command.response_representation = Google::Apis::ComputeV1::TargetHttpsProxyList::Representation
|
|
18278
18963
|
command.response_class = Google::Apis::ComputeV1::TargetHttpsProxyList
|
|
18279
18964
|
command.params['project'] = project unless project.nil?
|
|
@@ -18325,7 +19010,7 @@ module Google
|
|
|
18325
19010
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18326
19011
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18327
19012
|
def set_target_https_proxy_quic_override(project, target_https_proxy, target_https_proxies_set_quic_override_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18328
|
-
command =
|
|
19013
|
+
command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride', options)
|
|
18329
19014
|
command.request_representation = Google::Apis::ComputeV1::TargetHttpsProxiesSetQuicOverrideRequest::Representation
|
|
18330
19015
|
command.request_object = target_https_proxies_set_quic_override_request_object
|
|
18331
19016
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18376,7 +19061,7 @@ module Google
|
|
|
18376
19061
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18377
19062
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18378
19063
|
def set_target_https_proxy_ssl_certificates(project, target_https_proxy, target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18379
|
-
command =
|
|
19064
|
+
command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options)
|
|
18380
19065
|
command.request_representation = Google::Apis::ComputeV1::TargetHttpsProxiesSetSslCertificatesRequest::Representation
|
|
18381
19066
|
command.request_object = target_https_proxies_set_ssl_certificates_request_object
|
|
18382
19067
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18431,7 +19116,7 @@ module Google
|
|
|
18431
19116
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18432
19117
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18433
19118
|
def set_target_https_proxy_ssl_policy(project, target_https_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18434
|
-
command =
|
|
19119
|
+
command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', options)
|
|
18435
19120
|
command.request_representation = Google::Apis::ComputeV1::SslPolicyReference::Representation
|
|
18436
19121
|
command.request_object = ssl_policy_reference_object
|
|
18437
19122
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18482,7 +19167,7 @@ module Google
|
|
|
18482
19167
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18483
19168
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18484
19169
|
def set_target_https_proxy_url_map(project, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18485
|
-
command =
|
|
19170
|
+
command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options)
|
|
18486
19171
|
command.request_representation = Google::Apis::ComputeV1::UrlMapReference::Representation
|
|
18487
19172
|
command.request_object = url_map_reference_object
|
|
18488
19173
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18553,7 +19238,7 @@ module Google
|
|
|
18553
19238
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18554
19239
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18555
19240
|
def list_aggregated_target_instance(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18556
|
-
command =
|
|
19241
|
+
command = make_simple_command(:get, '{project}/aggregated/targetInstances', options)
|
|
18557
19242
|
command.response_representation = Google::Apis::ComputeV1::TargetInstanceAggregatedList::Representation
|
|
18558
19243
|
command.response_class = Google::Apis::ComputeV1::TargetInstanceAggregatedList
|
|
18559
19244
|
command.params['project'] = project unless project.nil?
|
|
@@ -18605,7 +19290,7 @@ module Google
|
|
|
18605
19290
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18606
19291
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18607
19292
|
def delete_target_instance(project, zone, target_instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18608
|
-
command =
|
|
19293
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/targetInstances/{targetInstance}', options)
|
|
18609
19294
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
18610
19295
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
18611
19296
|
command.params['project'] = project unless project.nil?
|
|
@@ -18646,7 +19331,7 @@ module Google
|
|
|
18646
19331
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18647
19332
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18648
19333
|
def get_target_instance(project, zone, target_instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18649
|
-
command =
|
|
19334
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances/{targetInstance}', options)
|
|
18650
19335
|
command.response_representation = Google::Apis::ComputeV1::TargetInstance::Representation
|
|
18651
19336
|
command.response_class = Google::Apis::ComputeV1::TargetInstance
|
|
18652
19337
|
command.params['project'] = project unless project.nil?
|
|
@@ -18696,7 +19381,7 @@ module Google
|
|
|
18696
19381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18697
19382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18698
19383
|
def insert_target_instance(project, zone, target_instance_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18699
|
-
command =
|
|
19384
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/targetInstances', options)
|
|
18700
19385
|
command.request_representation = Google::Apis::ComputeV1::TargetInstance::Representation
|
|
18701
19386
|
command.request_object = target_instance_object
|
|
18702
19387
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18770,7 +19455,7 @@ module Google
|
|
|
18770
19455
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18771
19456
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18772
19457
|
def list_target_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18773
|
-
command =
|
|
19458
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances', options)
|
|
18774
19459
|
command.response_representation = Google::Apis::ComputeV1::TargetInstanceList::Representation
|
|
18775
19460
|
command.response_class = Google::Apis::ComputeV1::TargetInstanceList
|
|
18776
19461
|
command.params['project'] = project unless project.nil?
|
|
@@ -18824,7 +19509,7 @@ module Google
|
|
|
18824
19509
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18825
19510
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18826
19511
|
def add_target_pool_health_check(project, region, target_pool, add_target_pools_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18827
|
-
command =
|
|
19512
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', options)
|
|
18828
19513
|
command.request_representation = Google::Apis::ComputeV1::AddTargetPoolsHealthCheckRequest::Representation
|
|
18829
19514
|
command.request_object = add_target_pools_health_check_request_object
|
|
18830
19515
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18878,7 +19563,7 @@ module Google
|
|
|
18878
19563
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18879
19564
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18880
19565
|
def add_target_pool_instance(project, region, target_pool, add_target_pools_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18881
|
-
command =
|
|
19566
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addInstance', options)
|
|
18882
19567
|
command.request_representation = Google::Apis::ComputeV1::AddTargetPoolsInstanceRequest::Representation
|
|
18883
19568
|
command.request_object = add_target_pools_instance_request_object
|
|
18884
19569
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18950,7 +19635,7 @@ module Google
|
|
|
18950
19635
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18951
19636
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18952
19637
|
def list_aggregated_target_pools(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18953
|
-
command =
|
|
19638
|
+
command = make_simple_command(:get, '{project}/aggregated/targetPools', options)
|
|
18954
19639
|
command.response_representation = Google::Apis::ComputeV1::TargetPoolAggregatedList::Representation
|
|
18955
19640
|
command.response_class = Google::Apis::ComputeV1::TargetPoolAggregatedList
|
|
18956
19641
|
command.params['project'] = project unless project.nil?
|
|
@@ -19002,7 +19687,7 @@ module Google
|
|
|
19002
19687
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19003
19688
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19004
19689
|
def delete_target_pool(project, region, target_pool, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19005
|
-
command =
|
|
19690
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/targetPools/{targetPool}', options)
|
|
19006
19691
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
19007
19692
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
19008
19693
|
command.params['project'] = project unless project.nil?
|
|
@@ -19043,7 +19728,7 @@ module Google
|
|
|
19043
19728
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19044
19729
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19045
19730
|
def get_target_pool(project, region, target_pool, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19046
|
-
command =
|
|
19731
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetPools/{targetPool}', options)
|
|
19047
19732
|
command.response_representation = Google::Apis::ComputeV1::TargetPool::Representation
|
|
19048
19733
|
command.response_class = Google::Apis::ComputeV1::TargetPool
|
|
19049
19734
|
command.params['project'] = project unless project.nil?
|
|
@@ -19084,7 +19769,7 @@ module Google
|
|
|
19084
19769
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19085
19770
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19086
19771
|
def get_target_pool_health(project, region, target_pool, instance_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19087
|
-
command =
|
|
19772
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/getHealth', options)
|
|
19088
19773
|
command.request_representation = Google::Apis::ComputeV1::InstanceReference::Representation
|
|
19089
19774
|
command.request_object = instance_reference_object
|
|
19090
19775
|
command.response_representation = Google::Apis::ComputeV1::TargetPoolInstanceHealth::Representation
|
|
@@ -19136,7 +19821,7 @@ module Google
|
|
|
19136
19821
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19137
19822
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19138
19823
|
def insert_target_pool(project, region, target_pool_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19139
|
-
command =
|
|
19824
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools', options)
|
|
19140
19825
|
command.request_representation = Google::Apis::ComputeV1::TargetPool::Representation
|
|
19141
19826
|
command.request_object = target_pool_object
|
|
19142
19827
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19209,7 +19894,7 @@ module Google
|
|
|
19209
19894
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19210
19895
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19211
19896
|
def list_target_pools(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19212
|
-
command =
|
|
19897
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetPools', options)
|
|
19213
19898
|
command.response_representation = Google::Apis::ComputeV1::TargetPoolList::Representation
|
|
19214
19899
|
command.response_class = Google::Apis::ComputeV1::TargetPoolList
|
|
19215
19900
|
command.params['project'] = project unless project.nil?
|
|
@@ -19263,7 +19948,7 @@ module Google
|
|
|
19263
19948
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19264
19949
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19265
19950
|
def remove_target_pool_health_check(project, region, target_pool, remove_target_pools_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19266
|
-
command =
|
|
19951
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', options)
|
|
19267
19952
|
command.request_representation = Google::Apis::ComputeV1::RemoveTargetPoolsHealthCheckRequest::Representation
|
|
19268
19953
|
command.request_object = remove_target_pools_health_check_request_object
|
|
19269
19954
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19317,7 +20002,7 @@ module Google
|
|
|
19317
20002
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19318
20003
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19319
20004
|
def remove_target_pool_instance(project, region, target_pool, remove_target_pools_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19320
|
-
command =
|
|
20005
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', options)
|
|
19321
20006
|
command.request_representation = Google::Apis::ComputeV1::RemoveTargetPoolsInstanceRequest::Representation
|
|
19322
20007
|
command.request_object = remove_target_pools_instance_request_object
|
|
19323
20008
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19373,7 +20058,7 @@ module Google
|
|
|
19373
20058
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19374
20059
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19375
20060
|
def set_target_pool_backup(project, region, target_pool, target_reference_object = nil, failover_ratio: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19376
|
-
command =
|
|
20061
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/setBackup', options)
|
|
19377
20062
|
command.request_representation = Google::Apis::ComputeV1::TargetReference::Representation
|
|
19378
20063
|
command.request_object = target_reference_object
|
|
19379
20064
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19425,7 +20110,7 @@ module Google
|
|
|
19425
20110
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19426
20111
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19427
20112
|
def delete_target_ssl_proxy(project, target_ssl_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19428
|
-
command =
|
|
20113
|
+
command = make_simple_command(:delete, '{project}/global/targetSslProxies/{targetSslProxy}', options)
|
|
19429
20114
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
19430
20115
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
19431
20116
|
command.params['project'] = project unless project.nil?
|
|
@@ -19463,7 +20148,7 @@ module Google
|
|
|
19463
20148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19464
20149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19465
20150
|
def get_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19466
|
-
command =
|
|
20151
|
+
command = make_simple_command(:get, '{project}/global/targetSslProxies/{targetSslProxy}', options)
|
|
19467
20152
|
command.response_representation = Google::Apis::ComputeV1::TargetSslProxy::Representation
|
|
19468
20153
|
command.response_class = Google::Apis::ComputeV1::TargetSslProxy
|
|
19469
20154
|
command.params['project'] = project unless project.nil?
|
|
@@ -19510,7 +20195,7 @@ module Google
|
|
|
19510
20195
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19511
20196
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19512
20197
|
def insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19513
|
-
command =
|
|
20198
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies', options)
|
|
19514
20199
|
command.request_representation = Google::Apis::ComputeV1::TargetSslProxy::Representation
|
|
19515
20200
|
command.request_object = target_ssl_proxy_object
|
|
19516
20201
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19581,7 +20266,7 @@ module Google
|
|
|
19581
20266
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19582
20267
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19583
20268
|
def list_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19584
|
-
command =
|
|
20269
|
+
command = make_simple_command(:get, '{project}/global/targetSslProxies', options)
|
|
19585
20270
|
command.response_representation = Google::Apis::ComputeV1::TargetSslProxyList::Representation
|
|
19586
20271
|
command.response_class = Google::Apis::ComputeV1::TargetSslProxyList
|
|
19587
20272
|
command.params['project'] = project unless project.nil?
|
|
@@ -19632,7 +20317,7 @@ module Google
|
|
|
19632
20317
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19633
20318
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19634
20319
|
def set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19635
|
-
command =
|
|
20320
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', options)
|
|
19636
20321
|
command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetBackendServiceRequest::Representation
|
|
19637
20322
|
command.request_object = target_ssl_proxies_set_backend_service_request_object
|
|
19638
20323
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19683,7 +20368,7 @@ module Google
|
|
|
19683
20368
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19684
20369
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19685
20370
|
def set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19686
|
-
command =
|
|
20371
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', options)
|
|
19687
20372
|
command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetProxyHeaderRequest::Representation
|
|
19688
20373
|
command.request_object = target_ssl_proxies_set_proxy_header_request_object
|
|
19689
20374
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19734,7 +20419,7 @@ module Google
|
|
|
19734
20419
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19735
20420
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19736
20421
|
def set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19737
|
-
command =
|
|
20422
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', options)
|
|
19738
20423
|
command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetSslCertificatesRequest::Representation
|
|
19739
20424
|
command.request_object = target_ssl_proxies_set_ssl_certificates_request_object
|
|
19740
20425
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19789,7 +20474,7 @@ module Google
|
|
|
19789
20474
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19790
20475
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19791
20476
|
def set_target_ssl_proxy_ssl_policy(project, target_ssl_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19792
|
-
command =
|
|
20477
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', options)
|
|
19793
20478
|
command.request_representation = Google::Apis::ComputeV1::SslPolicyReference::Representation
|
|
19794
20479
|
command.request_object = ssl_policy_reference_object
|
|
19795
20480
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19839,7 +20524,7 @@ module Google
|
|
|
19839
20524
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19840
20525
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19841
20526
|
def delete_target_tcp_proxy(project, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19842
|
-
command =
|
|
20527
|
+
command = make_simple_command(:delete, '{project}/global/targetTcpProxies/{targetTcpProxy}', options)
|
|
19843
20528
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
19844
20529
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
19845
20530
|
command.params['project'] = project unless project.nil?
|
|
@@ -19877,7 +20562,7 @@ module Google
|
|
|
19877
20562
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19878
20563
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19879
20564
|
def get_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19880
|
-
command =
|
|
20565
|
+
command = make_simple_command(:get, '{project}/global/targetTcpProxies/{targetTcpProxy}', options)
|
|
19881
20566
|
command.response_representation = Google::Apis::ComputeV1::TargetTcpProxy::Representation
|
|
19882
20567
|
command.response_class = Google::Apis::ComputeV1::TargetTcpProxy
|
|
19883
20568
|
command.params['project'] = project unless project.nil?
|
|
@@ -19924,7 +20609,7 @@ module Google
|
|
|
19924
20609
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19925
20610
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19926
20611
|
def insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19927
|
-
command =
|
|
20612
|
+
command = make_simple_command(:post, '{project}/global/targetTcpProxies', options)
|
|
19928
20613
|
command.request_representation = Google::Apis::ComputeV1::TargetTcpProxy::Representation
|
|
19929
20614
|
command.request_object = target_tcp_proxy_object
|
|
19930
20615
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19995,7 +20680,7 @@ module Google
|
|
|
19995
20680
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19996
20681
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19997
20682
|
def list_target_tcp_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19998
|
-
command =
|
|
20683
|
+
command = make_simple_command(:get, '{project}/global/targetTcpProxies', options)
|
|
19999
20684
|
command.response_representation = Google::Apis::ComputeV1::TargetTcpProxyList::Representation
|
|
20000
20685
|
command.response_class = Google::Apis::ComputeV1::TargetTcpProxyList
|
|
20001
20686
|
command.params['project'] = project unless project.nil?
|
|
@@ -20046,7 +20731,7 @@ module Google
|
|
|
20046
20731
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20047
20732
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20048
20733
|
def set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20049
|
-
command =
|
|
20734
|
+
command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', options)
|
|
20050
20735
|
command.request_representation = Google::Apis::ComputeV1::TargetTcpProxiesSetBackendServiceRequest::Representation
|
|
20051
20736
|
command.request_object = target_tcp_proxies_set_backend_service_request_object
|
|
20052
20737
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20097,7 +20782,7 @@ module Google
|
|
|
20097
20782
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20098
20783
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20099
20784
|
def set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20100
|
-
command =
|
|
20785
|
+
command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', options)
|
|
20101
20786
|
command.request_representation = Google::Apis::ComputeV1::TargetTcpProxiesSetProxyHeaderRequest::Representation
|
|
20102
20787
|
command.request_object = target_tcp_proxies_set_proxy_header_request_object
|
|
20103
20788
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20168,7 +20853,7 @@ module Google
|
|
|
20168
20853
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20169
20854
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20170
20855
|
def list_aggregated_target_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20171
|
-
command =
|
|
20856
|
+
command = make_simple_command(:get, '{project}/aggregated/targetVpnGateways', options)
|
|
20172
20857
|
command.response_representation = Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList::Representation
|
|
20173
20858
|
command.response_class = Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList
|
|
20174
20859
|
command.params['project'] = project unless project.nil?
|
|
@@ -20220,7 +20905,7 @@ module Google
|
|
|
20220
20905
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20221
20906
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20222
20907
|
def delete_target_vpn_gateway(project, region, target_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20223
|
-
command =
|
|
20908
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options)
|
|
20224
20909
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
20225
20910
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
20226
20911
|
command.params['project'] = project unless project.nil?
|
|
@@ -20261,7 +20946,7 @@ module Google
|
|
|
20261
20946
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20262
20947
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20263
20948
|
def get_target_vpn_gateway(project, region, target_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20264
|
-
command =
|
|
20949
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options)
|
|
20265
20950
|
command.response_representation = Google::Apis::ComputeV1::TargetVpnGateway::Representation
|
|
20266
20951
|
command.response_class = Google::Apis::ComputeV1::TargetVpnGateway
|
|
20267
20952
|
command.params['project'] = project unless project.nil?
|
|
@@ -20311,7 +20996,7 @@ module Google
|
|
|
20311
20996
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20312
20997
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20313
20998
|
def insert_target_vpn_gateway(project, region, target_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20314
|
-
command =
|
|
20999
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways', options)
|
|
20315
21000
|
command.request_representation = Google::Apis::ComputeV1::TargetVpnGateway::Representation
|
|
20316
21001
|
command.request_object = target_vpn_gateway_object
|
|
20317
21002
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20385,7 +21070,7 @@ module Google
|
|
|
20385
21070
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20386
21071
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20387
21072
|
def list_target_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20388
|
-
command =
|
|
21073
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways', options)
|
|
20389
21074
|
command.response_representation = Google::Apis::ComputeV1::TargetVpnGatewayList::Representation
|
|
20390
21075
|
command.response_class = Google::Apis::ComputeV1::TargetVpnGatewayList
|
|
20391
21076
|
command.params['project'] = project unless project.nil?
|
|
@@ -20436,7 +21121,7 @@ module Google
|
|
|
20436
21121
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20437
21122
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20438
21123
|
def delete_url_map(project, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20439
|
-
command =
|
|
21124
|
+
command = make_simple_command(:delete, '{project}/global/urlMaps/{urlMap}', options)
|
|
20440
21125
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
20441
21126
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
20442
21127
|
command.params['project'] = project unless project.nil?
|
|
@@ -20474,7 +21159,7 @@ module Google
|
|
|
20474
21159
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20475
21160
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20476
21161
|
def get_url_map(project, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20477
|
-
command =
|
|
21162
|
+
command = make_simple_command(:get, '{project}/global/urlMaps/{urlMap}', options)
|
|
20478
21163
|
command.response_representation = Google::Apis::ComputeV1::UrlMap::Representation
|
|
20479
21164
|
command.response_class = Google::Apis::ComputeV1::UrlMap
|
|
20480
21165
|
command.params['project'] = project unless project.nil?
|
|
@@ -20521,7 +21206,7 @@ module Google
|
|
|
20521
21206
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20522
21207
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20523
21208
|
def insert_url_map(project, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20524
|
-
command =
|
|
21209
|
+
command = make_simple_command(:post, '{project}/global/urlMaps', options)
|
|
20525
21210
|
command.request_representation = Google::Apis::ComputeV1::UrlMap::Representation
|
|
20526
21211
|
command.request_object = url_map_object
|
|
20527
21212
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20572,7 +21257,7 @@ module Google
|
|
|
20572
21257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20573
21258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20574
21259
|
def invalidate_url_map_cache(project, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20575
|
-
command =
|
|
21260
|
+
command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/invalidateCache', options)
|
|
20576
21261
|
command.request_representation = Google::Apis::ComputeV1::CacheInvalidationRule::Representation
|
|
20577
21262
|
command.request_object = cache_invalidation_rule_object
|
|
20578
21263
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20643,7 +21328,7 @@ module Google
|
|
|
20643
21328
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20644
21329
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20645
21330
|
def list_url_maps(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20646
|
-
command =
|
|
21331
|
+
command = make_simple_command(:get, '{project}/global/urlMaps', options)
|
|
20647
21332
|
command.response_representation = Google::Apis::ComputeV1::UrlMapList::Representation
|
|
20648
21333
|
command.response_class = Google::Apis::ComputeV1::UrlMapList
|
|
20649
21334
|
command.params['project'] = project unless project.nil?
|
|
@@ -20696,7 +21381,7 @@ module Google
|
|
|
20696
21381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20697
21382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20698
21383
|
def patch_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20699
|
-
command =
|
|
21384
|
+
command = make_simple_command(:patch, '{project}/global/urlMaps/{urlMap}', options)
|
|
20700
21385
|
command.request_representation = Google::Apis::ComputeV1::UrlMap::Representation
|
|
20701
21386
|
command.request_object = url_map_object
|
|
20702
21387
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20747,7 +21432,7 @@ module Google
|
|
|
20747
21432
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20748
21433
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20749
21434
|
def update_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20750
|
-
command =
|
|
21435
|
+
command = make_simple_command(:put, '{project}/global/urlMaps/{urlMap}', options)
|
|
20751
21436
|
command.request_representation = Google::Apis::ComputeV1::UrlMap::Representation
|
|
20752
21437
|
command.request_object = url_map_object
|
|
20753
21438
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20788,7 +21473,7 @@ module Google
|
|
|
20788
21473
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20789
21474
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20790
21475
|
def validate_url_map(project, url_map, validate_url_maps_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20791
|
-
command =
|
|
21476
|
+
command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/validate', options)
|
|
20792
21477
|
command.request_representation = Google::Apis::ComputeV1::ValidateUrlMapsRequest::Representation
|
|
20793
21478
|
command.request_object = validate_url_maps_request_object
|
|
20794
21479
|
command.response_representation = Google::Apis::ComputeV1::ValidateUrlMapsResponse::Representation
|
|
@@ -20858,7 +21543,7 @@ module Google
|
|
|
20858
21543
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20859
21544
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20860
21545
|
def list_aggregated_vpn_tunnel(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20861
|
-
command =
|
|
21546
|
+
command = make_simple_command(:get, '{project}/aggregated/vpnTunnels', options)
|
|
20862
21547
|
command.response_representation = Google::Apis::ComputeV1::VpnTunnelAggregatedList::Representation
|
|
20863
21548
|
command.response_class = Google::Apis::ComputeV1::VpnTunnelAggregatedList
|
|
20864
21549
|
command.params['project'] = project unless project.nil?
|
|
@@ -20910,7 +21595,7 @@ module Google
|
|
|
20910
21595
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20911
21596
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20912
21597
|
def delete_vpn_tunnel(project, region, vpn_tunnel, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20913
|
-
command =
|
|
21598
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options)
|
|
20914
21599
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
20915
21600
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
20916
21601
|
command.params['project'] = project unless project.nil?
|
|
@@ -20951,7 +21636,7 @@ module Google
|
|
|
20951
21636
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20952
21637
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20953
21638
|
def get_vpn_tunnel(project, region, vpn_tunnel, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20954
|
-
command =
|
|
21639
|
+
command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options)
|
|
20955
21640
|
command.response_representation = Google::Apis::ComputeV1::VpnTunnel::Representation
|
|
20956
21641
|
command.response_class = Google::Apis::ComputeV1::VpnTunnel
|
|
20957
21642
|
command.params['project'] = project unless project.nil?
|
|
@@ -21001,7 +21686,7 @@ module Google
|
|
|
21001
21686
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21002
21687
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21003
21688
|
def insert_vpn_tunnel(project, region, vpn_tunnel_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21004
|
-
command =
|
|
21689
|
+
command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels', options)
|
|
21005
21690
|
command.request_representation = Google::Apis::ComputeV1::VpnTunnel::Representation
|
|
21006
21691
|
command.request_object = vpn_tunnel_object
|
|
21007
21692
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -21075,7 +21760,7 @@ module Google
|
|
|
21075
21760
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21076
21761
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21077
21762
|
def list_vpn_tunnels(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21078
|
-
command =
|
|
21763
|
+
command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels', options)
|
|
21079
21764
|
command.response_representation = Google::Apis::ComputeV1::VpnTunnelList::Representation
|
|
21080
21765
|
command.response_class = Google::Apis::ComputeV1::VpnTunnelList
|
|
21081
21766
|
command.params['project'] = project unless project.nil?
|
|
@@ -21117,7 +21802,7 @@ module Google
|
|
|
21117
21802
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21118
21803
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21119
21804
|
def delete_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21120
|
-
command =
|
|
21805
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/operations/{operation}', options)
|
|
21121
21806
|
command.params['project'] = project unless project.nil?
|
|
21122
21807
|
command.params['zone'] = zone unless zone.nil?
|
|
21123
21808
|
command.params['operation'] = operation unless operation.nil?
|
|
@@ -21154,7 +21839,7 @@ module Google
|
|
|
21154
21839
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21155
21840
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21156
21841
|
def get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21157
|
-
command =
|
|
21842
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/operations/{operation}', options)
|
|
21158
21843
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
21159
21844
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
21160
21845
|
command.params['project'] = project unless project.nil?
|
|
@@ -21225,7 +21910,7 @@ module Google
|
|
|
21225
21910
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21226
21911
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21227
21912
|
def list_zone_operations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21228
|
-
command =
|
|
21913
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/operations', options)
|
|
21229
21914
|
command.response_representation = Google::Apis::ComputeV1::OperationList::Representation
|
|
21230
21915
|
command.response_class = Google::Apis::ComputeV1::OperationList
|
|
21231
21916
|
command.params['project'] = project unless project.nil?
|
|
@@ -21266,7 +21951,7 @@ module Google
|
|
|
21266
21951
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21267
21952
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21268
21953
|
def get_zone(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21269
|
-
command =
|
|
21954
|
+
command = make_simple_command(:get, '{project}/zones/{zone}', options)
|
|
21270
21955
|
command.response_representation = Google::Apis::ComputeV1::Zone::Representation
|
|
21271
21956
|
command.response_class = Google::Apis::ComputeV1::Zone
|
|
21272
21957
|
command.params['project'] = project unless project.nil?
|
|
@@ -21334,7 +22019,7 @@ module Google
|
|
|
21334
22019
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21335
22020
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21336
22021
|
def list_zones(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21337
|
-
command =
|
|
22022
|
+
command = make_simple_command(:get, '{project}/zones', options)
|
|
21338
22023
|
command.response_representation = Google::Apis::ComputeV1::ZoneList::Representation
|
|
21339
22024
|
command.response_class = Google::Apis::ComputeV1::ZoneList
|
|
21340
22025
|
command.params['project'] = project unless project.nil?
|