google-api-client 0.29.0 → 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/CHANGELOG.md +122 -0
- data/README.md +1 -1
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
- data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +38 -38
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta/service.rb +38 -38
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +53 -33
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2/service.rb +26 -26
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
- data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +45 -45
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/service.rb +57 -56
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/service.rb +3 -3
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
- data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
- data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/compute_alpha/classes.rb +29 -0
- data/generated/google/apis/compute_alpha/representations.rb +15 -0
- data/generated/google/apis/compute_alpha/service.rb +625 -623
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +63 -63
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -4
- data/generated/google/apis/container_v1beta1/representations.rb +20 -0
- data/generated/google/apis/container_v1beta1/service.rb +64 -64
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/content_v2/classes.rb +9 -3
- data/generated/google/apis/content_v2/service.rb +101 -105
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -3
- data/generated/google/apis/content_v2_1/service.rb +89 -93
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dialogflow_v2/classes.rb +8 -8
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +137 -0
- data/generated/google/apis/docs_v1/representations.rb +57 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +10 -21
- data/generated/google/apis/drive_v2/service.rb +152 -100
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -20
- data/generated/google/apis/drive_v3/service.rb +100 -64
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +52 -1
- data/generated/google/apis/file_v1/representations.rb +16 -0
- data/generated/google/apis/file_v1/service.rb +11 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +52 -1
- data/generated/google/apis/file_v1beta1/representations.rb +16 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebaserules_v1/service.rb +11 -11
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/fitness_v1/service.rb +13 -13
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +68 -68
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +48 -0
- data/generated/google/apis/iam_v1/representations.rb +28 -0
- data/generated/google/apis/iam_v1/service.rb +59 -42
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v3/service.rb +15 -15
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +6 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -1
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +36 -36
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/service.rb +3 -3
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oslogin_v1/service.rb +6 -6
- data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
- data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +10 -10
- data/generated/google/apis/plus_v1/service.rb +9 -9
- data/generated/google/apis/poly_v1/service.rb +4 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/redis_v1/service.rb +19 -19
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/service.rb +17 -17
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
- data/generated/google/apis/run_v1alpha1/service.rb +446 -38
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -0
- data/generated/google/apis/script_v1/representations.rb +79 -0
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +14 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +14 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -29
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +14 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -29
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
- data/generated/google/apis/spanner_v1/classes.rb +51 -9
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +7 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -2
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1/service.rb +52 -52
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -49
- data/generated/google/apis/tagmanager_v2/service.rb +74 -74
- data/generated/google/apis/tasks_v1/service.rb +14 -14
- data/generated/google/apis/testing_v1/classes.rb +25 -12
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/videointelligence_v1/service.rb +5 -5
- data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2372 -73
- data/generated/google/apis/vision_v1/representations.rb +1643 -651
- data/generated/google/apis/vision_v1/service.rb +98 -35
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/service.rb +9 -9
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +13 -6
- data/samples/web/.env +0 -2
|
@@ -47,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?
|
|
@@ -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?
|
|
@@ -7599,7 +7600,7 @@ module Google
|
|
|
7599
7600
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7600
7601
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7601
7602
|
def get_instance_shielded_instance_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7602
|
-
command =
|
|
7603
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity', options)
|
|
7603
7604
|
command.response_representation = Google::Apis::ComputeV1::ShieldedInstanceIdentity::Representation
|
|
7604
7605
|
command.response_class = Google::Apis::ComputeV1::ShieldedInstanceIdentity
|
|
7605
7606
|
command.params['project'] = project unless project.nil?
|
|
@@ -7657,7 +7658,7 @@ module Google
|
|
|
7657
7658
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7658
7659
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7659
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)
|
|
7660
|
-
command =
|
|
7661
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances', options)
|
|
7661
7662
|
command.request_representation = Google::Apis::ComputeV1::Instance::Representation
|
|
7662
7663
|
command.request_object = instance_object
|
|
7663
7664
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -7731,7 +7732,7 @@ module Google
|
|
|
7731
7732
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7732
7733
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7733
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)
|
|
7734
|
-
command =
|
|
7735
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances', options)
|
|
7735
7736
|
command.response_representation = Google::Apis::ComputeV1::InstanceList::Representation
|
|
7736
7737
|
command.response_class = Google::Apis::ComputeV1::InstanceList
|
|
7737
7738
|
command.params['project'] = project unless project.nil?
|
|
@@ -7809,7 +7810,7 @@ module Google
|
|
|
7809
7810
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7810
7811
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7811
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)
|
|
7812
|
-
command =
|
|
7813
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/referrers', options)
|
|
7813
7814
|
command.response_representation = Google::Apis::ComputeV1::InstanceListReferrers::Representation
|
|
7814
7815
|
command.response_class = Google::Apis::ComputeV1::InstanceListReferrers
|
|
7815
7816
|
command.params['project'] = project unless project.nil?
|
|
@@ -7864,7 +7865,7 @@ module Google
|
|
|
7864
7865
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7865
7866
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7866
7867
|
def reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7867
|
-
command =
|
|
7868
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/reset', options)
|
|
7868
7869
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
7869
7870
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
7870
7871
|
command.params['project'] = project unless project.nil?
|
|
@@ -7917,7 +7918,7 @@ module Google
|
|
|
7917
7918
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7918
7919
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7919
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)
|
|
7920
|
-
command =
|
|
7921
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setDeletionProtection', options)
|
|
7921
7922
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
7922
7923
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
7923
7924
|
command.params['project'] = project unless project.nil?
|
|
@@ -7974,7 +7975,7 @@ module Google
|
|
|
7974
7975
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7975
7976
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7976
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)
|
|
7977
|
-
command =
|
|
7978
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', options)
|
|
7978
7979
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
7979
7980
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
7980
7981
|
command.params['project'] = project unless project.nil?
|
|
@@ -8018,7 +8019,7 @@ module Google
|
|
|
8018
8019
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8019
8020
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8020
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)
|
|
8021
|
-
command =
|
|
8022
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setIamPolicy', options)
|
|
8022
8023
|
command.request_representation = Google::Apis::ComputeV1::ZoneSetPolicyRequest::Representation
|
|
8023
8024
|
command.request_object = zone_set_policy_request_object
|
|
8024
8025
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -8072,7 +8073,7 @@ module Google
|
|
|
8072
8073
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8073
8074
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8074
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)
|
|
8075
|
-
command =
|
|
8076
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setLabels', options)
|
|
8076
8077
|
command.request_representation = Google::Apis::ComputeV1::InstancesSetLabelsRequest::Representation
|
|
8077
8078
|
command.request_object = instances_set_labels_request_object
|
|
8078
8079
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8127,7 +8128,7 @@ module Google
|
|
|
8127
8128
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8128
8129
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8129
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)
|
|
8130
|
-
command =
|
|
8131
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineResources', options)
|
|
8131
8132
|
command.request_representation = Google::Apis::ComputeV1::InstancesSetMachineResourcesRequest::Representation
|
|
8132
8133
|
command.request_object = instances_set_machine_resources_request_object
|
|
8133
8134
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8182,7 +8183,7 @@ module Google
|
|
|
8182
8183
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8183
8184
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8184
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)
|
|
8185
|
-
command =
|
|
8186
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineType', options)
|
|
8186
8187
|
command.request_representation = Google::Apis::ComputeV1::InstancesSetMachineTypeRequest::Representation
|
|
8187
8188
|
command.request_object = instances_set_machine_type_request_object
|
|
8188
8189
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8236,7 +8237,7 @@ module Google
|
|
|
8236
8237
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8237
8238
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8238
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)
|
|
8239
|
-
command =
|
|
8240
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMetadata', options)
|
|
8240
8241
|
command.request_representation = Google::Apis::ComputeV1::Metadata::Representation
|
|
8241
8242
|
command.request_object = metadata_object
|
|
8242
8243
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8292,7 +8293,7 @@ module Google
|
|
|
8292
8293
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8293
8294
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8294
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)
|
|
8295
|
-
command =
|
|
8296
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform', options)
|
|
8296
8297
|
command.request_representation = Google::Apis::ComputeV1::InstancesSetMinCpuPlatformRequest::Representation
|
|
8297
8298
|
command.request_object = instances_set_min_cpu_platform_request_object
|
|
8298
8299
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8346,7 +8347,7 @@ module Google
|
|
|
8346
8347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8347
8348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8348
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)
|
|
8349
|
-
command =
|
|
8350
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setScheduling', options)
|
|
8350
8351
|
command.request_representation = Google::Apis::ComputeV1::Scheduling::Representation
|
|
8351
8352
|
command.request_object = scheduling_object
|
|
8352
8353
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8401,7 +8402,7 @@ module Google
|
|
|
8401
8402
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8402
8403
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8403
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)
|
|
8404
|
-
command =
|
|
8405
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setServiceAccount', options)
|
|
8405
8406
|
command.request_representation = Google::Apis::ComputeV1::InstancesSetServiceAccountRequest::Representation
|
|
8406
8407
|
command.request_object = instances_set_service_account_request_object
|
|
8407
8408
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8457,7 +8458,7 @@ module Google
|
|
|
8457
8458
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8458
8459
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8459
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)
|
|
8460
|
-
command =
|
|
8461
|
+
command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy', options)
|
|
8461
8462
|
command.request_representation = Google::Apis::ComputeV1::ShieldedInstanceIntegrityPolicy::Representation
|
|
8462
8463
|
command.request_object = shielded_instance_integrity_policy_object
|
|
8463
8464
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8512,7 +8513,7 @@ module Google
|
|
|
8512
8513
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8513
8514
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8514
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)
|
|
8515
|
-
command =
|
|
8516
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setTags', options)
|
|
8516
8517
|
command.request_representation = Google::Apis::ComputeV1::Tags::Representation
|
|
8517
8518
|
command.request_object = tags_object
|
|
8518
8519
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8554,7 +8555,7 @@ module Google
|
|
|
8554
8555
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8555
8556
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8556
8557
|
def simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8557
|
-
command =
|
|
8558
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options)
|
|
8558
8559
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
8559
8560
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
8560
8561
|
command.params['project'] = project unless project.nil?
|
|
@@ -8605,7 +8606,7 @@ module Google
|
|
|
8605
8606
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8606
8607
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8607
8608
|
def start_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8608
|
-
command =
|
|
8609
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/start', options)
|
|
8609
8610
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
8610
8611
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
8611
8612
|
command.params['project'] = project unless project.nil?
|
|
@@ -8658,7 +8659,7 @@ module Google
|
|
|
8658
8659
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8659
8660
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8660
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)
|
|
8661
|
-
command =
|
|
8662
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey', options)
|
|
8662
8663
|
command.request_representation = Google::Apis::ComputeV1::InstancesStartWithEncryptionKeyRequest::Representation
|
|
8663
8664
|
command.request_object = instances_start_with_encryption_key_request_object
|
|
8664
8665
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8715,7 +8716,7 @@ module Google
|
|
|
8715
8716
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8716
8717
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8717
8718
|
def stop_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8718
|
-
command =
|
|
8719
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/stop', options)
|
|
8719
8720
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
8720
8721
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
8721
8722
|
command.params['project'] = project unless project.nil?
|
|
@@ -8756,7 +8757,7 @@ module Google
|
|
|
8756
8757
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8757
8758
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8758
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)
|
|
8759
|
-
command =
|
|
8760
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/testIamPermissions', options)
|
|
8760
8761
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
8761
8762
|
command.request_object = test_permissions_request_object
|
|
8762
8763
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -8813,7 +8814,7 @@ module Google
|
|
|
8813
8814
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8814
8815
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8815
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)
|
|
8816
|
-
command =
|
|
8817
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/updateAccessConfig', options)
|
|
8817
8818
|
command.request_representation = Google::Apis::ComputeV1::AccessConfig::Representation
|
|
8818
8819
|
command.request_object = access_config_object
|
|
8819
8820
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8870,7 +8871,7 @@ module Google
|
|
|
8870
8871
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8871
8872
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8872
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)
|
|
8873
|
-
command =
|
|
8874
|
+
command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateNetworkInterface', options)
|
|
8874
8875
|
command.request_representation = Google::Apis::ComputeV1::NetworkInterface::Representation
|
|
8875
8876
|
command.request_object = network_interface_object
|
|
8876
8877
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8927,7 +8928,7 @@ module Google
|
|
|
8927
8928
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8928
8929
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8929
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)
|
|
8930
|
-
command =
|
|
8931
|
+
command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig', options)
|
|
8931
8932
|
command.request_representation = Google::Apis::ComputeV1::ShieldedInstanceConfig::Representation
|
|
8932
8933
|
command.request_object = shielded_instance_config_object
|
|
8933
8934
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -8999,7 +9000,7 @@ module Google
|
|
|
8999
9000
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9000
9001
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9001
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)
|
|
9002
|
-
command =
|
|
9003
|
+
command = make_simple_command(:get, '{project}/aggregated/interconnectAttachments', options)
|
|
9003
9004
|
command.response_representation = Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList::Representation
|
|
9004
9005
|
command.response_class = Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList
|
|
9005
9006
|
command.params['project'] = project unless project.nil?
|
|
@@ -9051,7 +9052,7 @@ module Google
|
|
|
9051
9052
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9052
9053
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9053
9054
|
def delete_interconnect_attachment(project, region, interconnect_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9054
|
-
command =
|
|
9055
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options)
|
|
9055
9056
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
9056
9057
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
9057
9058
|
command.params['project'] = project unless project.nil?
|
|
@@ -9091,7 +9092,7 @@ module Google
|
|
|
9091
9092
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9092
9093
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9093
9094
|
def get_interconnect_attachment(project, region, interconnect_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9094
|
-
command =
|
|
9095
|
+
command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options)
|
|
9095
9096
|
command.response_representation = Google::Apis::ComputeV1::InterconnectAttachment::Representation
|
|
9096
9097
|
command.response_class = Google::Apis::ComputeV1::InterconnectAttachment
|
|
9097
9098
|
command.params['project'] = project unless project.nil?
|
|
@@ -9141,7 +9142,7 @@ module Google
|
|
|
9141
9142
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9142
9143
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9143
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)
|
|
9144
|
-
command =
|
|
9145
|
+
command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments', options)
|
|
9145
9146
|
command.request_representation = Google::Apis::ComputeV1::InterconnectAttachment::Representation
|
|
9146
9147
|
command.request_object = interconnect_attachment_object
|
|
9147
9148
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -9215,7 +9216,7 @@ module Google
|
|
|
9215
9216
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9216
9217
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9217
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)
|
|
9218
|
-
command =
|
|
9219
|
+
command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments', options)
|
|
9219
9220
|
command.response_representation = Google::Apis::ComputeV1::InterconnectAttachmentList::Representation
|
|
9220
9221
|
command.response_class = Google::Apis::ComputeV1::InterconnectAttachmentList
|
|
9221
9222
|
command.params['project'] = project unless project.nil?
|
|
@@ -9271,7 +9272,7 @@ module Google
|
|
|
9271
9272
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9272
9273
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9273
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)
|
|
9274
|
-
command =
|
|
9275
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options)
|
|
9275
9276
|
command.request_representation = Google::Apis::ComputeV1::InterconnectAttachment::Representation
|
|
9276
9277
|
command.request_object = interconnect_attachment_object
|
|
9277
9278
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -9312,7 +9313,7 @@ module Google
|
|
|
9312
9313
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9313
9314
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9314
9315
|
def get_interconnect_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9315
|
-
command =
|
|
9316
|
+
command = make_simple_command(:get, '{project}/global/interconnectLocations/{interconnectLocation}', options)
|
|
9316
9317
|
command.response_representation = Google::Apis::ComputeV1::InterconnectLocation::Representation
|
|
9317
9318
|
command.response_class = Google::Apis::ComputeV1::InterconnectLocation
|
|
9318
9319
|
command.params['project'] = project unless project.nil?
|
|
@@ -9381,7 +9382,7 @@ module Google
|
|
|
9381
9382
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9382
9383
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9383
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)
|
|
9384
|
-
command =
|
|
9385
|
+
command = make_simple_command(:get, '{project}/global/interconnectLocations', options)
|
|
9385
9386
|
command.response_representation = Google::Apis::ComputeV1::InterconnectLocationList::Representation
|
|
9386
9387
|
command.response_class = Google::Apis::ComputeV1::InterconnectLocationList
|
|
9387
9388
|
command.params['project'] = project unless project.nil?
|
|
@@ -9431,7 +9432,7 @@ module Google
|
|
|
9431
9432
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9432
9433
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9433
9434
|
def delete_interconnect(project, interconnect, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9434
|
-
command =
|
|
9435
|
+
command = make_simple_command(:delete, '{project}/global/interconnects/{interconnect}', options)
|
|
9435
9436
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
9436
9437
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
9437
9438
|
command.params['project'] = project unless project.nil?
|
|
@@ -9469,7 +9470,7 @@ module Google
|
|
|
9469
9470
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9470
9471
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9471
9472
|
def get_interconnect(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9472
|
-
command =
|
|
9473
|
+
command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}', options)
|
|
9473
9474
|
command.response_representation = Google::Apis::ComputeV1::Interconnect::Representation
|
|
9474
9475
|
command.response_class = Google::Apis::ComputeV1::Interconnect
|
|
9475
9476
|
command.params['project'] = project unless project.nil?
|
|
@@ -9505,7 +9506,7 @@ module Google
|
|
|
9505
9506
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9506
9507
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9507
9508
|
def get_interconnect_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9508
|
-
command =
|
|
9509
|
+
command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}/getDiagnostics', options)
|
|
9509
9510
|
command.response_representation = Google::Apis::ComputeV1::InterconnectsGetDiagnosticsResponse::Representation
|
|
9510
9511
|
command.response_class = Google::Apis::ComputeV1::InterconnectsGetDiagnosticsResponse
|
|
9511
9512
|
command.params['project'] = project unless project.nil?
|
|
@@ -9552,7 +9553,7 @@ module Google
|
|
|
9552
9553
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9553
9554
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9554
9555
|
def insert_interconnect(project, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9555
|
-
command =
|
|
9556
|
+
command = make_simple_command(:post, '{project}/global/interconnects', options)
|
|
9556
9557
|
command.request_representation = Google::Apis::ComputeV1::Interconnect::Representation
|
|
9557
9558
|
command.request_object = interconnect_object
|
|
9558
9559
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -9622,7 +9623,7 @@ module Google
|
|
|
9622
9623
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9623
9624
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9624
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)
|
|
9625
|
-
command =
|
|
9626
|
+
command = make_simple_command(:get, '{project}/global/interconnects', options)
|
|
9626
9627
|
command.response_representation = Google::Apis::ComputeV1::InterconnectList::Representation
|
|
9627
9628
|
command.response_class = Google::Apis::ComputeV1::InterconnectList
|
|
9628
9629
|
command.params['project'] = project unless project.nil?
|
|
@@ -9675,7 +9676,7 @@ module Google
|
|
|
9675
9676
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9676
9677
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9677
9678
|
def patch_interconnect(project, interconnect, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9678
|
-
command =
|
|
9679
|
+
command = make_simple_command(:patch, '{project}/global/interconnects/{interconnect}', options)
|
|
9679
9680
|
command.request_representation = Google::Apis::ComputeV1::Interconnect::Representation
|
|
9680
9681
|
command.request_object = interconnect_object
|
|
9681
9682
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -9715,7 +9716,7 @@ module Google
|
|
|
9715
9716
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9716
9717
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9717
9718
|
def get_license_code(project, license_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9718
|
-
command =
|
|
9719
|
+
command = make_simple_command(:get, '{project}/global/licenseCodes/{licenseCode}', options)
|
|
9719
9720
|
command.response_representation = Google::Apis::ComputeV1::LicenseCode::Representation
|
|
9720
9721
|
command.response_class = Google::Apis::ComputeV1::LicenseCode
|
|
9721
9722
|
command.params['project'] = project unless project.nil?
|
|
@@ -9752,7 +9753,7 @@ module Google
|
|
|
9752
9753
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9753
9754
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9754
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)
|
|
9755
|
-
command =
|
|
9756
|
+
command = make_simple_command(:post, '{project}/global/licenseCodes/{resource}/testIamPermissions', options)
|
|
9756
9757
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
9757
9758
|
command.request_object = test_permissions_request_object
|
|
9758
9759
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -9801,7 +9802,7 @@ module Google
|
|
|
9801
9802
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9802
9803
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9803
9804
|
def delete_license(project, license, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9804
|
-
command =
|
|
9805
|
+
command = make_simple_command(:delete, '{project}/global/licenses/{license}', options)
|
|
9805
9806
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
9806
9807
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
9807
9808
|
command.params['project'] = project unless project.nil?
|
|
@@ -9838,7 +9839,7 @@ module Google
|
|
|
9838
9839
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9839
9840
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9840
9841
|
def get_license(project, license, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9841
|
-
command =
|
|
9842
|
+
command = make_simple_command(:get, '{project}/global/licenses/{license}', options)
|
|
9842
9843
|
command.response_representation = Google::Apis::ComputeV1::License::Representation
|
|
9843
9844
|
command.response_class = Google::Apis::ComputeV1::License
|
|
9844
9845
|
command.params['project'] = project unless project.nil?
|
|
@@ -9875,7 +9876,7 @@ module Google
|
|
|
9875
9876
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9876
9877
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9877
9878
|
def get_license_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9878
|
-
command =
|
|
9879
|
+
command = make_simple_command(:get, '{project}/global/licenses/{resource}/getIamPolicy', options)
|
|
9879
9880
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
9880
9881
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
9881
9882
|
command.params['project'] = project unless project.nil?
|
|
@@ -9921,7 +9922,7 @@ module Google
|
|
|
9921
9922
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9922
9923
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9923
9924
|
def insert_license(project, license_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9924
|
-
command =
|
|
9925
|
+
command = make_simple_command(:post, '{project}/global/licenses', options)
|
|
9925
9926
|
command.request_representation = Google::Apis::ComputeV1::License::Representation
|
|
9926
9927
|
command.request_object = license_object
|
|
9927
9928
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -9995,7 +9996,7 @@ module Google
|
|
|
9995
9996
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9996
9997
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9997
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)
|
|
9998
|
-
command =
|
|
9999
|
+
command = make_simple_command(:get, '{project}/global/licenses', options)
|
|
9999
10000
|
command.response_representation = Google::Apis::ComputeV1::LicensesListResponse::Representation
|
|
10000
10001
|
command.response_class = Google::Apis::ComputeV1::LicensesListResponse
|
|
10001
10002
|
command.params['project'] = project unless project.nil?
|
|
@@ -10036,7 +10037,7 @@ module Google
|
|
|
10036
10037
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10037
10038
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10038
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)
|
|
10039
|
-
command =
|
|
10040
|
+
command = make_simple_command(:post, '{project}/global/licenses/{resource}/setIamPolicy', options)
|
|
10040
10041
|
command.request_representation = Google::Apis::ComputeV1::GlobalSetPolicyRequest::Representation
|
|
10041
10042
|
command.request_object = global_set_policy_request_object
|
|
10042
10043
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -10075,7 +10076,7 @@ module Google
|
|
|
10075
10076
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10076
10077
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10077
10078
|
def test_license_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10078
|
-
command =
|
|
10079
|
+
command = make_simple_command(:post, '{project}/global/licenses/{resource}/testIamPermissions', options)
|
|
10079
10080
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
10080
10081
|
command.request_object = test_permissions_request_object
|
|
10081
10082
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -10145,7 +10146,7 @@ module Google
|
|
|
10145
10146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10146
10147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10147
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)
|
|
10148
|
-
command =
|
|
10149
|
+
command = make_simple_command(:get, '{project}/aggregated/machineTypes', options)
|
|
10149
10150
|
command.response_representation = Google::Apis::ComputeV1::MachineTypeAggregatedList::Representation
|
|
10150
10151
|
command.response_class = Google::Apis::ComputeV1::MachineTypeAggregatedList
|
|
10151
10152
|
command.params['project'] = project unless project.nil?
|
|
@@ -10187,7 +10188,7 @@ module Google
|
|
|
10187
10188
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10188
10189
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10189
10190
|
def get_machine_type(project, zone, machine_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10190
|
-
command =
|
|
10191
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes/{machineType}', options)
|
|
10191
10192
|
command.response_representation = Google::Apis::ComputeV1::MachineType::Representation
|
|
10192
10193
|
command.response_class = Google::Apis::ComputeV1::MachineType
|
|
10193
10194
|
command.params['project'] = project unless project.nil?
|
|
@@ -10258,7 +10259,7 @@ module Google
|
|
|
10258
10259
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10259
10260
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10260
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)
|
|
10261
|
-
command =
|
|
10262
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes', options)
|
|
10262
10263
|
command.response_representation = Google::Apis::ComputeV1::MachineTypeList::Representation
|
|
10263
10264
|
command.response_class = Google::Apis::ComputeV1::MachineTypeList
|
|
10264
10265
|
command.params['project'] = project unless project.nil?
|
|
@@ -10330,7 +10331,7 @@ module Google
|
|
|
10330
10331
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10331
10332
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10332
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)
|
|
10333
|
-
command =
|
|
10334
|
+
command = make_simple_command(:get, '{project}/aggregated/networkEndpointGroups', options)
|
|
10334
10335
|
command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Representation
|
|
10335
10336
|
command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList
|
|
10336
10337
|
command.params['project'] = project unless project.nil?
|
|
@@ -10385,7 +10386,7 @@ module Google
|
|
|
10385
10386
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10386
10387
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10387
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)
|
|
10388
|
-
command =
|
|
10389
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options)
|
|
10389
10390
|
command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsAttachEndpointsRequest::Representation
|
|
10390
10391
|
command.request_object = network_endpoint_groups_attach_endpoints_request_object
|
|
10391
10392
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -10443,7 +10444,7 @@ module Google
|
|
|
10443
10444
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10444
10445
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10445
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)
|
|
10446
|
-
command =
|
|
10447
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options)
|
|
10447
10448
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
10448
10449
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
10449
10450
|
command.params['project'] = project unless project.nil?
|
|
@@ -10497,7 +10498,7 @@ module Google
|
|
|
10497
10498
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10498
10499
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10499
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)
|
|
10500
|
-
command =
|
|
10501
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options)
|
|
10501
10502
|
command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsDetachEndpointsRequest::Representation
|
|
10502
10503
|
command.request_object = network_endpoint_groups_detach_endpoints_request_object
|
|
10503
10504
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -10541,7 +10542,7 @@ module Google
|
|
|
10541
10542
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10542
10543
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10543
10544
|
def get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10544
|
-
command =
|
|
10545
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options)
|
|
10545
10546
|
command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroup::Representation
|
|
10546
10547
|
command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroup
|
|
10547
10548
|
command.params['project'] = project unless project.nil?
|
|
@@ -10592,7 +10593,7 @@ module Google
|
|
|
10592
10593
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10593
10594
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10594
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)
|
|
10595
|
-
command =
|
|
10596
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups', options)
|
|
10596
10597
|
command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroup::Representation
|
|
10597
10598
|
command.request_object = network_endpoint_group_object
|
|
10598
10599
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -10667,7 +10668,7 @@ module Google
|
|
|
10667
10668
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10668
10669
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10669
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)
|
|
10670
|
-
command =
|
|
10671
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups', options)
|
|
10671
10672
|
command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupList::Representation
|
|
10672
10673
|
command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupList
|
|
10673
10674
|
command.params['project'] = project unless project.nil?
|
|
@@ -10746,7 +10747,7 @@ module Google
|
|
|
10746
10747
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10747
10748
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10748
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)
|
|
10749
|
-
command =
|
|
10750
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
|
|
10750
10751
|
command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsListEndpointsRequest::Representation
|
|
10751
10752
|
command.request_object = network_endpoint_groups_list_endpoints_request_object
|
|
10752
10753
|
command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Representation
|
|
@@ -10792,7 +10793,7 @@ module Google
|
|
|
10792
10793
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10793
10794
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10794
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)
|
|
10795
|
-
command =
|
|
10796
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options)
|
|
10796
10797
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
10797
10798
|
command.request_object = test_permissions_request_object
|
|
10798
10799
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -10843,7 +10844,7 @@ module Google
|
|
|
10843
10844
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10844
10845
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10845
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)
|
|
10846
|
-
command =
|
|
10847
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options)
|
|
10847
10848
|
command.request_representation = Google::Apis::ComputeV1::NetworksAddPeeringRequest::Representation
|
|
10848
10849
|
command.request_object = networks_add_peering_request_object
|
|
10849
10850
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -10893,7 +10894,7 @@ module Google
|
|
|
10893
10894
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10894
10895
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10895
10896
|
def delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10896
|
-
command =
|
|
10897
|
+
command = make_simple_command(:delete, '{project}/global/networks/{network}', options)
|
|
10897
10898
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
10898
10899
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
10899
10900
|
command.params['project'] = project unless project.nil?
|
|
@@ -10931,7 +10932,7 @@ module Google
|
|
|
10931
10932
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10932
10933
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10933
10934
|
def get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10934
|
-
command =
|
|
10935
|
+
command = make_simple_command(:get, '{project}/global/networks/{network}', options)
|
|
10935
10936
|
command.response_representation = Google::Apis::ComputeV1::Network::Representation
|
|
10936
10937
|
command.response_class = Google::Apis::ComputeV1::Network
|
|
10937
10938
|
command.params['project'] = project unless project.nil?
|
|
@@ -10978,7 +10979,7 @@ module Google
|
|
|
10978
10979
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10979
10980
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10980
10981
|
def insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10981
|
-
command =
|
|
10982
|
+
command = make_simple_command(:post, '{project}/global/networks', options)
|
|
10982
10983
|
command.request_representation = Google::Apis::ComputeV1::Network::Representation
|
|
10983
10984
|
command.request_object = network_object
|
|
10984
10985
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -11048,7 +11049,7 @@ module Google
|
|
|
11048
11049
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11049
11050
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11050
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)
|
|
11051
|
-
command =
|
|
11052
|
+
command = make_simple_command(:get, '{project}/global/networks', options)
|
|
11052
11053
|
command.response_representation = Google::Apis::ComputeV1::NetworkList::Representation
|
|
11053
11054
|
command.response_class = Google::Apis::ComputeV1::NetworkList
|
|
11054
11055
|
command.params['project'] = project unless project.nil?
|
|
@@ -11100,7 +11101,7 @@ module Google
|
|
|
11100
11101
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11101
11102
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11102
11103
|
def patch_network(project, network, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11103
|
-
command =
|
|
11104
|
+
command = make_simple_command(:patch, '{project}/global/networks/{network}', options)
|
|
11104
11105
|
command.request_representation = Google::Apis::ComputeV1::Network::Representation
|
|
11105
11106
|
command.request_object = network_object
|
|
11106
11107
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -11151,7 +11152,7 @@ module Google
|
|
|
11151
11152
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11152
11153
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11153
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)
|
|
11154
|
-
command =
|
|
11155
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/removePeering', options)
|
|
11155
11156
|
command.request_representation = Google::Apis::ComputeV1::NetworksRemovePeeringRequest::Representation
|
|
11156
11157
|
command.request_object = networks_remove_peering_request_object
|
|
11157
11158
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -11201,7 +11202,7 @@ module Google
|
|
|
11201
11202
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11202
11203
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11203
11204
|
def switch_network_to_custom_mode(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11204
|
-
command =
|
|
11205
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', options)
|
|
11205
11206
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
11206
11207
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
11207
11208
|
command.params['project'] = project unless project.nil?
|
|
@@ -11252,7 +11253,7 @@ module Google
|
|
|
11252
11253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11253
11254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11254
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)
|
|
11255
|
-
command =
|
|
11256
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes', options)
|
|
11256
11257
|
command.request_representation = Google::Apis::ComputeV1::NodeGroupsAddNodesRequest::Representation
|
|
11257
11258
|
command.request_object = node_groups_add_nodes_request_object
|
|
11258
11259
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -11325,7 +11326,7 @@ module Google
|
|
|
11325
11326
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11326
11327
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11327
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)
|
|
11328
|
-
command =
|
|
11329
|
+
command = make_simple_command(:get, '{project}/aggregated/nodeGroups', options)
|
|
11329
11330
|
command.response_representation = Google::Apis::ComputeV1::NodeGroupAggregatedList::Representation
|
|
11330
11331
|
command.response_class = Google::Apis::ComputeV1::NodeGroupAggregatedList
|
|
11331
11332
|
command.params['project'] = project unless project.nil?
|
|
@@ -11377,7 +11378,7 @@ module Google
|
|
|
11377
11378
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11378
11379
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11379
11380
|
def delete_node_group(project, zone, node_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11380
|
-
command =
|
|
11381
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options)
|
|
11381
11382
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
11382
11383
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
11383
11384
|
command.params['project'] = project unless project.nil?
|
|
@@ -11429,7 +11430,7 @@ module Google
|
|
|
11429
11430
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11430
11431
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11431
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)
|
|
11432
|
-
command =
|
|
11433
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes', options)
|
|
11433
11434
|
command.request_representation = Google::Apis::ComputeV1::NodeGroupsDeleteNodesRequest::Representation
|
|
11434
11435
|
command.request_object = node_groups_delete_nodes_request_object
|
|
11435
11436
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -11473,7 +11474,7 @@ module Google
|
|
|
11473
11474
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11474
11475
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11475
11476
|
def get_node_group(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11476
|
-
command =
|
|
11477
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options)
|
|
11477
11478
|
command.response_representation = Google::Apis::ComputeV1::NodeGroup::Representation
|
|
11478
11479
|
command.response_class = Google::Apis::ComputeV1::NodeGroup
|
|
11479
11480
|
command.params['project'] = project unless project.nil?
|
|
@@ -11513,7 +11514,7 @@ module Google
|
|
|
11513
11514
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11514
11515
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11515
11516
|
def get_node_group_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11516
|
-
command =
|
|
11517
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options)
|
|
11517
11518
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
11518
11519
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
11519
11520
|
command.params['project'] = project unless project.nil?
|
|
@@ -11565,7 +11566,7 @@ module Google
|
|
|
11565
11566
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11566
11567
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11567
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)
|
|
11568
|
-
command =
|
|
11569
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups', options)
|
|
11569
11570
|
command.request_representation = Google::Apis::ComputeV1::NodeGroup::Representation
|
|
11570
11571
|
command.request_object = node_group_object
|
|
11571
11572
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -11640,7 +11641,7 @@ module Google
|
|
|
11640
11641
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11641
11642
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11642
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)
|
|
11643
|
-
command =
|
|
11644
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups', options)
|
|
11644
11645
|
command.response_representation = Google::Apis::ComputeV1::NodeGroupList::Representation
|
|
11645
11646
|
command.response_class = Google::Apis::ComputeV1::NodeGroupList
|
|
11646
11647
|
command.params['project'] = project unless project.nil?
|
|
@@ -11716,7 +11717,7 @@ module Google
|
|
|
11716
11717
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11717
11718
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11718
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)
|
|
11719
|
-
command =
|
|
11720
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes', options)
|
|
11720
11721
|
command.response_representation = Google::Apis::ComputeV1::NodeGroupsListNodes::Representation
|
|
11721
11722
|
command.response_class = Google::Apis::ComputeV1::NodeGroupsListNodes
|
|
11722
11723
|
command.params['project'] = project unless project.nil?
|
|
@@ -11761,7 +11762,7 @@ module Google
|
|
|
11761
11762
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11762
11763
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11763
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)
|
|
11764
|
-
command =
|
|
11765
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options)
|
|
11765
11766
|
command.request_representation = Google::Apis::ComputeV1::ZoneSetPolicyRequest::Representation
|
|
11766
11767
|
command.request_object = zone_set_policy_request_object
|
|
11767
11768
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -11814,7 +11815,7 @@ module Google
|
|
|
11814
11815
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11815
11816
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11816
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)
|
|
11817
|
-
command =
|
|
11818
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate', options)
|
|
11818
11819
|
command.request_representation = Google::Apis::ComputeV1::NodeGroupsSetNodeTemplateRequest::Representation
|
|
11819
11820
|
command.request_object = node_groups_set_node_template_request_object
|
|
11820
11821
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -11857,7 +11858,7 @@ module Google
|
|
|
11857
11858
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11858
11859
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11859
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)
|
|
11860
|
-
command =
|
|
11861
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', options)
|
|
11861
11862
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
11862
11863
|
command.request_object = test_permissions_request_object
|
|
11863
11864
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -11928,7 +11929,7 @@ module Google
|
|
|
11928
11929
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11929
11930
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11930
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)
|
|
11931
|
-
command =
|
|
11932
|
+
command = make_simple_command(:get, '{project}/aggregated/nodeTemplates', options)
|
|
11932
11933
|
command.response_representation = Google::Apis::ComputeV1::NodeTemplateAggregatedList::Representation
|
|
11933
11934
|
command.response_class = Google::Apis::ComputeV1::NodeTemplateAggregatedList
|
|
11934
11935
|
command.params['project'] = project unless project.nil?
|
|
@@ -11980,7 +11981,7 @@ module Google
|
|
|
11980
11981
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11981
11982
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11982
11983
|
def delete_node_template(project, region, node_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11983
|
-
command =
|
|
11984
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options)
|
|
11984
11985
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
11985
11986
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
11986
11987
|
command.params['project'] = project unless project.nil?
|
|
@@ -12021,7 +12022,7 @@ module Google
|
|
|
12021
12022
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12022
12023
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12023
12024
|
def get_node_template(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12024
|
-
command =
|
|
12025
|
+
command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options)
|
|
12025
12026
|
command.response_representation = Google::Apis::ComputeV1::NodeTemplate::Representation
|
|
12026
12027
|
command.response_class = Google::Apis::ComputeV1::NodeTemplate
|
|
12027
12028
|
command.params['project'] = project unless project.nil?
|
|
@@ -12061,7 +12062,7 @@ module Google
|
|
|
12061
12062
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12062
12063
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12063
12064
|
def get_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12064
|
-
command =
|
|
12065
|
+
command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options)
|
|
12065
12066
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
12066
12067
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
12067
12068
|
command.params['project'] = project unless project.nil?
|
|
@@ -12111,7 +12112,7 @@ module Google
|
|
|
12111
12112
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12112
12113
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12113
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)
|
|
12114
|
-
command =
|
|
12115
|
+
command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates', options)
|
|
12115
12116
|
command.request_representation = Google::Apis::ComputeV1::NodeTemplate::Representation
|
|
12116
12117
|
command.request_object = node_template_object
|
|
12117
12118
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -12184,7 +12185,7 @@ module Google
|
|
|
12184
12185
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12185
12186
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12186
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)
|
|
12187
|
-
command =
|
|
12188
|
+
command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates', options)
|
|
12188
12189
|
command.response_representation = Google::Apis::ComputeV1::NodeTemplateList::Representation
|
|
12189
12190
|
command.response_class = Google::Apis::ComputeV1::NodeTemplateList
|
|
12190
12191
|
command.params['project'] = project unless project.nil?
|
|
@@ -12228,7 +12229,7 @@ module Google
|
|
|
12228
12229
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12229
12230
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12230
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)
|
|
12231
|
-
command =
|
|
12232
|
+
command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options)
|
|
12232
12233
|
command.request_representation = Google::Apis::ComputeV1::RegionSetPolicyRequest::Representation
|
|
12233
12234
|
command.request_object = region_set_policy_request_object
|
|
12234
12235
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -12270,7 +12271,7 @@ module Google
|
|
|
12270
12271
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12271
12272
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12272
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)
|
|
12273
|
-
command =
|
|
12274
|
+
command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options)
|
|
12274
12275
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
12275
12276
|
command.request_object = test_permissions_request_object
|
|
12276
12277
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -12341,7 +12342,7 @@ module Google
|
|
|
12341
12342
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12342
12343
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12343
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)
|
|
12344
|
-
command =
|
|
12345
|
+
command = make_simple_command(:get, '{project}/aggregated/nodeTypes', options)
|
|
12345
12346
|
command.response_representation = Google::Apis::ComputeV1::NodeTypeAggregatedList::Representation
|
|
12346
12347
|
command.response_class = Google::Apis::ComputeV1::NodeTypeAggregatedList
|
|
12347
12348
|
command.params['project'] = project unless project.nil?
|
|
@@ -12383,7 +12384,7 @@ module Google
|
|
|
12383
12384
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12384
12385
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12385
12386
|
def get_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12386
|
-
command =
|
|
12387
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes/{nodeType}', options)
|
|
12387
12388
|
command.response_representation = Google::Apis::ComputeV1::NodeType::Representation
|
|
12388
12389
|
command.response_class = Google::Apis::ComputeV1::NodeType
|
|
12389
12390
|
command.params['project'] = project unless project.nil?
|
|
@@ -12454,7 +12455,7 @@ module Google
|
|
|
12454
12455
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12455
12456
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12456
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)
|
|
12457
|
-
command =
|
|
12458
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes', options)
|
|
12458
12459
|
command.response_representation = Google::Apis::ComputeV1::NodeTypeList::Representation
|
|
12459
12460
|
command.response_class = Google::Apis::ComputeV1::NodeTypeList
|
|
12460
12461
|
command.params['project'] = project unless project.nil?
|
|
@@ -12503,7 +12504,7 @@ module Google
|
|
|
12503
12504
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12504
12505
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12505
12506
|
def disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12506
|
-
command =
|
|
12507
|
+
command = make_simple_command(:post, '{project}/disableXpnHost', options)
|
|
12507
12508
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
12508
12509
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
12509
12510
|
command.params['project'] = project unless project.nil?
|
|
@@ -12550,7 +12551,7 @@ module Google
|
|
|
12550
12551
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12551
12552
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12552
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)
|
|
12553
|
-
command =
|
|
12554
|
+
command = make_simple_command(:post, '{project}/disableXpnResource', options)
|
|
12554
12555
|
command.request_representation = Google::Apis::ComputeV1::ProjectsDisableXpnResourceRequest::Representation
|
|
12555
12556
|
command.request_object = projects_disable_xpn_resource_request_object
|
|
12556
12557
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -12597,7 +12598,7 @@ module Google
|
|
|
12597
12598
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12598
12599
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12599
12600
|
def enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12600
|
-
command =
|
|
12601
|
+
command = make_simple_command(:post, '{project}/enableXpnHost', options)
|
|
12601
12602
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
12602
12603
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
12603
12604
|
command.params['project'] = project unless project.nil?
|
|
@@ -12644,7 +12645,7 @@ module Google
|
|
|
12644
12645
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12645
12646
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12646
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)
|
|
12647
|
-
command =
|
|
12648
|
+
command = make_simple_command(:post, '{project}/enableXpnResource', options)
|
|
12648
12649
|
command.request_representation = Google::Apis::ComputeV1::ProjectsEnableXpnResourceRequest::Representation
|
|
12649
12650
|
command.request_object = projects_enable_xpn_resource_request_object
|
|
12650
12651
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -12680,7 +12681,7 @@ module Google
|
|
|
12680
12681
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12681
12682
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12682
12683
|
def get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12683
|
-
command =
|
|
12684
|
+
command = make_simple_command(:get, '{project}', options)
|
|
12684
12685
|
command.response_representation = Google::Apis::ComputeV1::Project::Representation
|
|
12685
12686
|
command.response_class = Google::Apis::ComputeV1::Project
|
|
12686
12687
|
command.params['project'] = project unless project.nil?
|
|
@@ -12714,7 +12715,7 @@ module Google
|
|
|
12714
12715
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12715
12716
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12716
12717
|
def get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12717
|
-
command =
|
|
12718
|
+
command = make_simple_command(:get, '{project}/getXpnHost', options)
|
|
12718
12719
|
command.response_representation = Google::Apis::ComputeV1::Project::Representation
|
|
12719
12720
|
command.response_class = Google::Apis::ComputeV1::Project
|
|
12720
12721
|
command.params['project'] = project unless project.nil?
|
|
@@ -12782,7 +12783,7 @@ module Google
|
|
|
12782
12783
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12783
12784
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12784
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)
|
|
12785
|
-
command =
|
|
12786
|
+
command = make_simple_command(:get, '{project}/getXpnResources', options)
|
|
12786
12787
|
command.response_representation = Google::Apis::ComputeV1::ProjectsGetXpnResources::Representation
|
|
12787
12788
|
command.response_class = Google::Apis::ComputeV1::ProjectsGetXpnResources
|
|
12788
12789
|
command.params['project'] = project unless project.nil?
|
|
@@ -12854,7 +12855,7 @@ module Google
|
|
|
12854
12855
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12855
12856
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12856
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)
|
|
12857
|
-
command =
|
|
12858
|
+
command = make_simple_command(:post, '{project}/listXpnHosts', options)
|
|
12858
12859
|
command.request_representation = Google::Apis::ComputeV1::ProjectsListXpnHostsRequest::Representation
|
|
12859
12860
|
command.request_object = projects_list_xpn_hosts_request_object
|
|
12860
12861
|
command.response_representation = Google::Apis::ComputeV1::XpnHostList::Representation
|
|
@@ -12905,7 +12906,7 @@ module Google
|
|
|
12905
12906
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12906
12907
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12907
12908
|
def move_disk(project, move_disk_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12908
|
-
command =
|
|
12909
|
+
command = make_simple_command(:post, '{project}/moveDisk', options)
|
|
12909
12910
|
command.request_representation = Google::Apis::ComputeV1::MoveDiskRequest::Representation
|
|
12910
12911
|
command.request_object = move_disk_request_object
|
|
12911
12912
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -12953,7 +12954,7 @@ module Google
|
|
|
12953
12954
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12954
12955
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12955
12956
|
def move_instance(project, move_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12956
|
-
command =
|
|
12957
|
+
command = make_simple_command(:post, '{project}/moveInstance', options)
|
|
12957
12958
|
command.request_representation = Google::Apis::ComputeV1::MoveInstanceRequest::Representation
|
|
12958
12959
|
command.request_object = move_instance_request_object
|
|
12959
12960
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13002,7 +13003,7 @@ module Google
|
|
|
13002
13003
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13003
13004
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13004
13005
|
def set_common_instance_metadata(project, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13005
|
-
command =
|
|
13006
|
+
command = make_simple_command(:post, '{project}/setCommonInstanceMetadata', options)
|
|
13006
13007
|
command.request_representation = Google::Apis::ComputeV1::Metadata::Representation
|
|
13007
13008
|
command.request_object = metadata_object
|
|
13008
13009
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13052,7 +13053,7 @@ module Google
|
|
|
13052
13053
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13053
13054
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13054
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)
|
|
13055
|
-
command =
|
|
13056
|
+
command = make_simple_command(:post, '{project}/setDefaultNetworkTier', options)
|
|
13056
13057
|
command.request_representation = Google::Apis::ComputeV1::ProjectsSetDefaultNetworkTierRequest::Representation
|
|
13057
13058
|
command.request_object = projects_set_default_network_tier_request_object
|
|
13058
13059
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13102,7 +13103,7 @@ module Google
|
|
|
13102
13103
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13103
13104
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13104
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)
|
|
13105
|
-
command =
|
|
13106
|
+
command = make_simple_command(:post, '{project}/setUsageExportBucket', options)
|
|
13106
13107
|
command.request_representation = Google::Apis::ComputeV1::UsageExportLocation::Representation
|
|
13107
13108
|
command.request_object = usage_export_location_object
|
|
13108
13109
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13153,7 +13154,7 @@ module Google
|
|
|
13153
13154
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13154
13155
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13155
13156
|
def delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13156
|
-
command =
|
|
13157
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/autoscalers/{autoscaler}', options)
|
|
13157
13158
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
13158
13159
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
13159
13160
|
command.params['project'] = project unless project.nil?
|
|
@@ -13193,7 +13194,7 @@ module Google
|
|
|
13193
13194
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13194
13195
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13195
13196
|
def get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13196
|
-
command =
|
|
13197
|
+
command = make_simple_command(:get, '{project}/regions/{region}/autoscalers/{autoscaler}', options)
|
|
13197
13198
|
command.response_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
|
13198
13199
|
command.response_class = Google::Apis::ComputeV1::Autoscaler
|
|
13199
13200
|
command.params['project'] = project unless project.nil?
|
|
@@ -13243,7 +13244,7 @@ module Google
|
|
|
13243
13244
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13244
13245
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13245
13246
|
def insert_region_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13246
|
-
command =
|
|
13247
|
+
command = make_simple_command(:post, '{project}/regions/{region}/autoscalers', options)
|
|
13247
13248
|
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
|
13248
13249
|
command.request_object = autoscaler_object
|
|
13249
13250
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13316,7 +13317,7 @@ module Google
|
|
|
13316
13317
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13317
13318
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13318
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)
|
|
13319
|
-
command =
|
|
13320
|
+
command = make_simple_command(:get, '{project}/regions/{region}/autoscalers', options)
|
|
13320
13321
|
command.response_representation = Google::Apis::ComputeV1::RegionAutoscalerList::Representation
|
|
13321
13322
|
command.response_class = Google::Apis::ComputeV1::RegionAutoscalerList
|
|
13322
13323
|
command.params['project'] = project unless project.nil?
|
|
@@ -13372,7 +13373,7 @@ module Google
|
|
|
13372
13373
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13373
13374
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13374
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)
|
|
13375
|
-
command =
|
|
13376
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/autoscalers', options)
|
|
13376
13377
|
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
|
13377
13378
|
command.request_object = autoscaler_object
|
|
13378
13379
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13427,7 +13428,7 @@ module Google
|
|
|
13427
13428
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13428
13429
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13429
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)
|
|
13430
|
-
command =
|
|
13431
|
+
command = make_simple_command(:put, '{project}/regions/{region}/autoscalers', options)
|
|
13431
13432
|
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
|
13432
13433
|
command.request_object = autoscaler_object
|
|
13433
13434
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13480,7 +13481,7 @@ module Google
|
|
|
13480
13481
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13481
13482
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13482
13483
|
def delete_region_backend_service(project, region, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13483
|
-
command =
|
|
13484
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/backendServices/{backendService}', options)
|
|
13484
13485
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
13485
13486
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
13486
13487
|
command.params['project'] = project unless project.nil?
|
|
@@ -13520,7 +13521,7 @@ module Google
|
|
|
13520
13521
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13521
13522
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13522
13523
|
def get_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13523
|
-
command =
|
|
13524
|
+
command = make_simple_command(:get, '{project}/regions/{region}/backendServices/{backendService}', options)
|
|
13524
13525
|
command.response_representation = Google::Apis::ComputeV1::BackendService::Representation
|
|
13525
13526
|
command.response_class = Google::Apis::ComputeV1::BackendService
|
|
13526
13527
|
command.params['project'] = project unless project.nil?
|
|
@@ -13559,7 +13560,7 @@ module Google
|
|
|
13559
13560
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13560
13561
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13561
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)
|
|
13562
|
-
command =
|
|
13563
|
+
command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{backendService}/getHealth', options)
|
|
13563
13564
|
command.request_representation = Google::Apis::ComputeV1::ResourceGroupReference::Representation
|
|
13564
13565
|
command.request_object = resource_group_reference_object
|
|
13565
13566
|
command.response_representation = Google::Apis::ComputeV1::BackendServiceGroupHealth::Representation
|
|
@@ -13613,7 +13614,7 @@ module Google
|
|
|
13613
13614
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13614
13615
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13615
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)
|
|
13616
|
-
command =
|
|
13617
|
+
command = make_simple_command(:post, '{project}/regions/{region}/backendServices', options)
|
|
13617
13618
|
command.request_representation = Google::Apis::ComputeV1::BackendService::Representation
|
|
13618
13619
|
command.request_object = backend_service_object
|
|
13619
13620
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13687,7 +13688,7 @@ module Google
|
|
|
13687
13688
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13688
13689
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13689
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)
|
|
13690
|
-
command =
|
|
13691
|
+
command = make_simple_command(:get, '{project}/regions/{region}/backendServices', options)
|
|
13691
13692
|
command.response_representation = Google::Apis::ComputeV1::BackendServiceList::Representation
|
|
13692
13693
|
command.response_class = Google::Apis::ComputeV1::BackendServiceList
|
|
13693
13694
|
command.params['project'] = project unless project.nil?
|
|
@@ -13745,7 +13746,7 @@ module Google
|
|
|
13745
13746
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13746
13747
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13747
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)
|
|
13748
|
-
command =
|
|
13749
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/backendServices/{backendService}', options)
|
|
13749
13750
|
command.request_representation = Google::Apis::ComputeV1::BackendService::Representation
|
|
13750
13751
|
command.request_object = backend_service_object
|
|
13751
13752
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13802,7 +13803,7 @@ module Google
|
|
|
13802
13803
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13803
13804
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13804
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)
|
|
13805
|
-
command =
|
|
13806
|
+
command = make_simple_command(:put, '{project}/regions/{region}/backendServices/{backendService}', options)
|
|
13806
13807
|
command.request_representation = Google::Apis::ComputeV1::BackendService::Representation
|
|
13807
13808
|
command.request_object = backend_service_object
|
|
13808
13809
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -13874,7 +13875,7 @@ module Google
|
|
|
13874
13875
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13875
13876
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13876
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)
|
|
13877
|
-
command =
|
|
13878
|
+
command = make_simple_command(:get, '{project}/aggregated/commitments', options)
|
|
13878
13879
|
command.response_representation = Google::Apis::ComputeV1::CommitmentAggregatedList::Representation
|
|
13879
13880
|
command.response_class = Google::Apis::ComputeV1::CommitmentAggregatedList
|
|
13880
13881
|
command.params['project'] = project unless project.nil?
|
|
@@ -13916,7 +13917,7 @@ module Google
|
|
|
13916
13917
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13917
13918
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13918
13919
|
def get_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13919
|
-
command =
|
|
13920
|
+
command = make_simple_command(:get, '{project}/regions/{region}/commitments/{commitment}', options)
|
|
13920
13921
|
command.response_representation = Google::Apis::ComputeV1::Commitment::Representation
|
|
13921
13922
|
command.response_class = Google::Apis::ComputeV1::Commitment
|
|
13922
13923
|
command.params['project'] = project unless project.nil?
|
|
@@ -13966,7 +13967,7 @@ module Google
|
|
|
13966
13967
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13967
13968
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13968
13969
|
def insert_region_commitment(project, region, commitment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13969
|
-
command =
|
|
13970
|
+
command = make_simple_command(:post, '{project}/regions/{region}/commitments', options)
|
|
13970
13971
|
command.request_representation = Google::Apis::ComputeV1::Commitment::Representation
|
|
13971
13972
|
command.request_object = commitment_object
|
|
13972
13973
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14039,7 +14040,7 @@ module Google
|
|
|
14039
14040
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14040
14041
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14041
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)
|
|
14042
|
-
command =
|
|
14043
|
+
command = make_simple_command(:get, '{project}/regions/{region}/commitments', options)
|
|
14043
14044
|
command.response_representation = Google::Apis::ComputeV1::CommitmentList::Representation
|
|
14044
14045
|
command.response_class = Google::Apis::ComputeV1::CommitmentList
|
|
14045
14046
|
command.params['project'] = project unless project.nil?
|
|
@@ -14082,7 +14083,7 @@ module Google
|
|
|
14082
14083
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14083
14084
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14084
14085
|
def get_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14085
|
-
command =
|
|
14086
|
+
command = make_simple_command(:get, '{project}/regions/{region}/diskTypes/{diskType}', options)
|
|
14086
14087
|
command.response_representation = Google::Apis::ComputeV1::DiskType::Representation
|
|
14087
14088
|
command.response_class = Google::Apis::ComputeV1::DiskType
|
|
14088
14089
|
command.params['project'] = project unless project.nil?
|
|
@@ -14153,7 +14154,7 @@ module Google
|
|
|
14153
14154
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14154
14155
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14155
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)
|
|
14156
|
-
command =
|
|
14157
|
+
command = make_simple_command(:get, '{project}/regions/{region}/diskTypes', options)
|
|
14157
14158
|
command.response_representation = Google::Apis::ComputeV1::RegionDiskTypeList::Representation
|
|
14158
14159
|
command.response_class = Google::Apis::ComputeV1::RegionDiskTypeList
|
|
14159
14160
|
command.params['project'] = project unless project.nil?
|
|
@@ -14207,7 +14208,7 @@ module Google
|
|
|
14207
14208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14208
14209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14209
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)
|
|
14210
|
-
command =
|
|
14211
|
+
command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/createSnapshot', options)
|
|
14211
14212
|
command.request_representation = Google::Apis::ComputeV1::Snapshot::Representation
|
|
14212
14213
|
command.request_object = snapshot_object
|
|
14213
14214
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14263,7 +14264,7 @@ module Google
|
|
|
14263
14264
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14264
14265
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14265
14266
|
def delete_region_disk(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14266
|
-
command =
|
|
14267
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/disks/{disk}', options)
|
|
14267
14268
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
14268
14269
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
14269
14270
|
command.params['project'] = project unless project.nil?
|
|
@@ -14303,7 +14304,7 @@ module Google
|
|
|
14303
14304
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14304
14305
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14305
14306
|
def get_region_disk(project, region, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14306
|
-
command =
|
|
14307
|
+
command = make_simple_command(:get, '{project}/regions/{region}/disks/{disk}', options)
|
|
14307
14308
|
command.response_representation = Google::Apis::ComputeV1::Disk::Representation
|
|
14308
14309
|
command.response_class = Google::Apis::ComputeV1::Disk
|
|
14309
14310
|
command.params['project'] = project unless project.nil?
|
|
@@ -14355,7 +14356,7 @@ module Google
|
|
|
14355
14356
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14356
14357
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14357
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)
|
|
14358
|
-
command =
|
|
14359
|
+
command = make_simple_command(:post, '{project}/regions/{region}/disks', options)
|
|
14359
14360
|
command.request_representation = Google::Apis::ComputeV1::Disk::Representation
|
|
14360
14361
|
command.request_object = disk_object
|
|
14361
14362
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14429,7 +14430,7 @@ module Google
|
|
|
14429
14430
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14430
14431
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14431
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)
|
|
14432
|
-
command =
|
|
14433
|
+
command = make_simple_command(:get, '{project}/regions/{region}/disks', options)
|
|
14433
14434
|
command.response_representation = Google::Apis::ComputeV1::DiskList::Representation
|
|
14434
14435
|
command.response_class = Google::Apis::ComputeV1::DiskList
|
|
14435
14436
|
command.params['project'] = project unless project.nil?
|
|
@@ -14483,7 +14484,7 @@ module Google
|
|
|
14483
14484
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14484
14485
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14485
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)
|
|
14486
|
-
command =
|
|
14487
|
+
command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/resize', options)
|
|
14487
14488
|
command.request_representation = Google::Apis::ComputeV1::RegionDisksResizeRequest::Representation
|
|
14488
14489
|
command.request_object = region_disks_resize_request_object
|
|
14489
14490
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14537,7 +14538,7 @@ module Google
|
|
|
14537
14538
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14538
14539
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14539
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)
|
|
14540
|
-
command =
|
|
14541
|
+
command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setLabels', options)
|
|
14541
14542
|
command.request_representation = Google::Apis::ComputeV1::RegionSetLabelsRequest::Representation
|
|
14542
14543
|
command.request_object = region_set_labels_request_object
|
|
14543
14544
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14580,7 +14581,7 @@ module Google
|
|
|
14580
14581
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14581
14582
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14582
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)
|
|
14583
|
-
command =
|
|
14584
|
+
command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/testIamPermissions', options)
|
|
14584
14585
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
14585
14586
|
command.request_object = test_permissions_request_object
|
|
14586
14587
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -14644,7 +14645,7 @@ module Google
|
|
|
14644
14645
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14645
14646
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14646
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)
|
|
14647
|
-
command =
|
|
14648
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options)
|
|
14648
14649
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersAbandonInstancesRequest::Representation
|
|
14649
14650
|
command.request_object = region_instance_group_managers_abandon_instances_request_object
|
|
14650
14651
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14698,7 +14699,7 @@ module Google
|
|
|
14698
14699
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14699
14700
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14700
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)
|
|
14701
|
-
command =
|
|
14702
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
14702
14703
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
14703
14704
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
14704
14705
|
command.params['project'] = project unless project.nil?
|
|
@@ -14760,7 +14761,7 @@ module Google
|
|
|
14760
14761
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14761
14762
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14762
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)
|
|
14763
|
-
command =
|
|
14764
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options)
|
|
14764
14765
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersDeleteInstancesRequest::Representation
|
|
14765
14766
|
command.request_object = region_instance_group_managers_delete_instances_request_object
|
|
14766
14767
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14802,7 +14803,7 @@ module Google
|
|
|
14802
14803
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14803
14804
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14804
14805
|
def get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14805
|
-
command =
|
|
14806
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
14806
14807
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation
|
|
14807
14808
|
command.response_class = Google::Apis::ComputeV1::InstanceGroupManager
|
|
14808
14809
|
command.params['project'] = project unless project.nil?
|
|
@@ -14857,7 +14858,7 @@ module Google
|
|
|
14857
14858
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14858
14859
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14859
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)
|
|
14860
|
-
command =
|
|
14861
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', options)
|
|
14861
14862
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation
|
|
14862
14863
|
command.request_object = instance_group_manager_object
|
|
14863
14864
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -14931,7 +14932,7 @@ module Google
|
|
|
14931
14932
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14932
14933
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14933
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)
|
|
14934
|
-
command =
|
|
14935
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers', options)
|
|
14935
14936
|
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagerList::Representation
|
|
14936
14937
|
command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupManagerList
|
|
14937
14938
|
command.params['project'] = project unless project.nil?
|
|
@@ -15009,7 +15010,7 @@ module Google
|
|
|
15009
15010
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15010
15011
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15011
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)
|
|
15012
|
-
command =
|
|
15013
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
|
|
15013
15014
|
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersListInstancesResponse::Representation
|
|
15014
15015
|
command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupManagersListInstancesResponse
|
|
15015
15016
|
command.params['project'] = project unless project.nil?
|
|
@@ -15069,7 +15070,7 @@ module Google
|
|
|
15069
15070
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15070
15071
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15071
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)
|
|
15072
|
-
command =
|
|
15073
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
15073
15074
|
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation
|
|
15074
15075
|
command.request_object = instance_group_manager_object
|
|
15075
15076
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -15132,7 +15133,7 @@ module Google
|
|
|
15132
15133
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15133
15134
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15134
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)
|
|
15135
|
-
command =
|
|
15136
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options)
|
|
15136
15137
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersRecreateRequest::Representation
|
|
15137
15138
|
command.request_object = region_instance_group_managers_recreate_request_object
|
|
15138
15139
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -15195,7 +15196,7 @@ module Google
|
|
|
15195
15196
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15196
15197
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15197
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)
|
|
15198
|
-
command =
|
|
15199
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options)
|
|
15199
15200
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
15200
15201
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
15201
15202
|
command.params['project'] = project unless project.nil?
|
|
@@ -15249,7 +15250,7 @@ module Google
|
|
|
15249
15250
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15250
15251
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15251
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)
|
|
15252
|
-
command =
|
|
15253
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options)
|
|
15253
15254
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTemplateRequest::Representation
|
|
15254
15255
|
command.request_object = region_instance_group_managers_set_template_request_object
|
|
15255
15256
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -15304,7 +15305,7 @@ module Google
|
|
|
15304
15305
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15305
15306
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15306
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)
|
|
15307
|
-
command =
|
|
15308
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options)
|
|
15308
15309
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation
|
|
15309
15310
|
command.request_object = region_instance_group_managers_set_target_pools_request_object
|
|
15310
15311
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -15346,7 +15347,7 @@ module Google
|
|
|
15346
15347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15347
15348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15348
15349
|
def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15349
|
-
command =
|
|
15350
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', options)
|
|
15350
15351
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroup::Representation
|
|
15351
15352
|
command.response_class = Google::Apis::ComputeV1::InstanceGroup
|
|
15352
15353
|
command.params['project'] = project unless project.nil?
|
|
@@ -15418,7 +15419,7 @@ module Google
|
|
|
15418
15419
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15419
15420
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15420
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)
|
|
15421
|
-
command =
|
|
15422
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups', options)
|
|
15422
15423
|
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupList::Representation
|
|
15423
15424
|
command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupList
|
|
15424
15425
|
command.params['project'] = project unless project.nil?
|
|
@@ -15497,7 +15498,7 @@ module Google
|
|
|
15497
15498
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15498
15499
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15499
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)
|
|
15500
|
-
command =
|
|
15501
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options)
|
|
15501
15502
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupsListInstancesRequest::Representation
|
|
15502
15503
|
command.request_object = region_instance_groups_list_instances_request_object
|
|
15503
15504
|
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupsListInstances::Representation
|
|
@@ -15554,7 +15555,7 @@ module Google
|
|
|
15554
15555
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15555
15556
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15556
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)
|
|
15557
|
-
command =
|
|
15558
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options)
|
|
15558
15559
|
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupsSetNamedPortsRequest::Representation
|
|
15559
15560
|
command.request_object = region_instance_groups_set_named_ports_request_object
|
|
15560
15561
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -15596,7 +15597,7 @@ module Google
|
|
|
15596
15597
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15597
15598
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15598
15599
|
def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15599
|
-
command =
|
|
15600
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', options)
|
|
15600
15601
|
command.params['project'] = project unless project.nil?
|
|
15601
15602
|
command.params['region'] = region unless region.nil?
|
|
15602
15603
|
command.params['operation'] = operation unless operation.nil?
|
|
@@ -15633,7 +15634,7 @@ module Google
|
|
|
15633
15634
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15634
15635
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15635
15636
|
def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15636
|
-
command =
|
|
15637
|
+
command = make_simple_command(:get, '{project}/regions/{region}/operations/{operation}', options)
|
|
15637
15638
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
15638
15639
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
15639
15640
|
command.params['project'] = project unless project.nil?
|
|
@@ -15704,7 +15705,7 @@ module Google
|
|
|
15704
15705
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15705
15706
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15706
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)
|
|
15707
|
-
command =
|
|
15708
|
+
command = make_simple_command(:get, '{project}/regions/{region}/operations', options)
|
|
15708
15709
|
command.response_representation = Google::Apis::ComputeV1::OperationList::Representation
|
|
15709
15710
|
command.response_class = Google::Apis::ComputeV1::OperationList
|
|
15710
15711
|
command.params['project'] = project unless project.nil?
|
|
@@ -15745,7 +15746,7 @@ module Google
|
|
|
15745
15746
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15746
15747
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15747
15748
|
def get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15748
|
-
command =
|
|
15749
|
+
command = make_simple_command(:get, '{project}/regions/{region}', options)
|
|
15749
15750
|
command.response_representation = Google::Apis::ComputeV1::Region::Representation
|
|
15750
15751
|
command.response_class = Google::Apis::ComputeV1::Region
|
|
15751
15752
|
command.params['project'] = project unless project.nil?
|
|
@@ -15813,7 +15814,7 @@ module Google
|
|
|
15813
15814
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15814
15815
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15815
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)
|
|
15816
|
-
command =
|
|
15817
|
+
command = make_simple_command(:get, '{project}/regions', options)
|
|
15817
15818
|
command.response_representation = Google::Apis::ComputeV1::RegionList::Representation
|
|
15818
15819
|
command.response_class = Google::Apis::ComputeV1::RegionList
|
|
15819
15820
|
command.params['project'] = project unless project.nil?
|
|
@@ -15884,7 +15885,7 @@ module Google
|
|
|
15884
15885
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15885
15886
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15886
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)
|
|
15887
|
-
command =
|
|
15888
|
+
command = make_simple_command(:get, '{project}/aggregated/routers', options)
|
|
15888
15889
|
command.response_representation = Google::Apis::ComputeV1::RouterAggregatedList::Representation
|
|
15889
15890
|
command.response_class = Google::Apis::ComputeV1::RouterAggregatedList
|
|
15890
15891
|
command.params['project'] = project unless project.nil?
|
|
@@ -15936,7 +15937,7 @@ module Google
|
|
|
15936
15937
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15937
15938
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15938
15939
|
def delete_router(project, region, router, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15939
|
-
command =
|
|
15940
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/routers/{router}', options)
|
|
15940
15941
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
15941
15942
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
15942
15943
|
command.params['project'] = project unless project.nil?
|
|
@@ -15977,7 +15978,7 @@ module Google
|
|
|
15977
15978
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15978
15979
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15979
15980
|
def get_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15980
|
-
command =
|
|
15981
|
+
command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}', options)
|
|
15981
15982
|
command.response_representation = Google::Apis::ComputeV1::Router::Representation
|
|
15982
15983
|
command.response_class = Google::Apis::ComputeV1::Router
|
|
15983
15984
|
command.params['project'] = project unless project.nil?
|
|
@@ -16051,7 +16052,7 @@ module Google
|
|
|
16051
16052
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16052
16053
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16053
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)
|
|
16054
|
-
command =
|
|
16055
|
+
command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getNatMappingInfo', options)
|
|
16055
16056
|
command.response_representation = Google::Apis::ComputeV1::VmEndpointNatMappingsList::Representation
|
|
16056
16057
|
command.response_class = Google::Apis::ComputeV1::VmEndpointNatMappingsList
|
|
16057
16058
|
command.params['project'] = project unless project.nil?
|
|
@@ -16094,7 +16095,7 @@ module Google
|
|
|
16094
16095
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16095
16096
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16096
16097
|
def get_router_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16097
|
-
command =
|
|
16098
|
+
command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getRouterStatus', options)
|
|
16098
16099
|
command.response_representation = Google::Apis::ComputeV1::RouterStatusResponse::Representation
|
|
16099
16100
|
command.response_class = Google::Apis::ComputeV1::RouterStatusResponse
|
|
16100
16101
|
command.params['project'] = project unless project.nil?
|
|
@@ -16144,7 +16145,7 @@ module Google
|
|
|
16144
16145
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16145
16146
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16146
16147
|
def insert_router(project, region, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16147
|
-
command =
|
|
16148
|
+
command = make_simple_command(:post, '{project}/regions/{region}/routers', options)
|
|
16148
16149
|
command.request_representation = Google::Apis::ComputeV1::Router::Representation
|
|
16149
16150
|
command.request_object = router_object
|
|
16150
16151
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16217,7 +16218,7 @@ module Google
|
|
|
16217
16218
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16218
16219
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16219
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)
|
|
16220
|
-
command =
|
|
16221
|
+
command = make_simple_command(:get, '{project}/regions/{region}/routers', options)
|
|
16221
16222
|
command.response_representation = Google::Apis::ComputeV1::RouterList::Representation
|
|
16222
16223
|
command.response_class = Google::Apis::ComputeV1::RouterList
|
|
16223
16224
|
command.params['project'] = project unless project.nil?
|
|
@@ -16273,7 +16274,7 @@ module Google
|
|
|
16273
16274
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16274
16275
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16275
16276
|
def patch_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16276
|
-
command =
|
|
16277
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/routers/{router}', options)
|
|
16277
16278
|
command.request_representation = Google::Apis::ComputeV1::Router::Representation
|
|
16278
16279
|
command.request_object = router_object
|
|
16279
16280
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16317,7 +16318,7 @@ module Google
|
|
|
16317
16318
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16318
16319
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16319
16320
|
def preview_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16320
|
-
command =
|
|
16321
|
+
command = make_simple_command(:post, '{project}/regions/{region}/routers/{router}/preview', options)
|
|
16321
16322
|
command.request_representation = Google::Apis::ComputeV1::Router::Representation
|
|
16322
16323
|
command.request_object = router_object
|
|
16323
16324
|
command.response_representation = Google::Apis::ComputeV1::RoutersPreviewResponse::Representation
|
|
@@ -16370,7 +16371,7 @@ module Google
|
|
|
16370
16371
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16371
16372
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16372
16373
|
def update_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16373
|
-
command =
|
|
16374
|
+
command = make_simple_command(:put, '{project}/regions/{region}/routers/{router}', options)
|
|
16374
16375
|
command.request_representation = Google::Apis::ComputeV1::Router::Representation
|
|
16375
16376
|
command.request_object = router_object
|
|
16376
16377
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16421,7 +16422,7 @@ module Google
|
|
|
16421
16422
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16422
16423
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16423
16424
|
def delete_route(project, route, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16424
|
-
command =
|
|
16425
|
+
command = make_simple_command(:delete, '{project}/global/routes/{route}', options)
|
|
16425
16426
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
16426
16427
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
16427
16428
|
command.params['project'] = project unless project.nil?
|
|
@@ -16459,7 +16460,7 @@ module Google
|
|
|
16459
16460
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16460
16461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16461
16462
|
def get_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16462
|
-
command =
|
|
16463
|
+
command = make_simple_command(:get, '{project}/global/routes/{route}', options)
|
|
16463
16464
|
command.response_representation = Google::Apis::ComputeV1::Route::Representation
|
|
16464
16465
|
command.response_class = Google::Apis::ComputeV1::Route
|
|
16465
16466
|
command.params['project'] = project unless project.nil?
|
|
@@ -16506,7 +16507,7 @@ module Google
|
|
|
16506
16507
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16507
16508
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16508
16509
|
def insert_route(project, route_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16509
|
-
command =
|
|
16510
|
+
command = make_simple_command(:post, '{project}/global/routes', options)
|
|
16510
16511
|
command.request_representation = Google::Apis::ComputeV1::Route::Representation
|
|
16511
16512
|
command.request_object = route_object
|
|
16512
16513
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16576,7 +16577,7 @@ module Google
|
|
|
16576
16577
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16577
16578
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16578
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)
|
|
16579
|
-
command =
|
|
16580
|
+
command = make_simple_command(:get, '{project}/global/routes', options)
|
|
16580
16581
|
command.response_representation = Google::Apis::ComputeV1::RouteList::Representation
|
|
16581
16582
|
command.response_class = Google::Apis::ComputeV1::RouteList
|
|
16582
16583
|
command.params['project'] = project unless project.nil?
|
|
@@ -16616,7 +16617,7 @@ module Google
|
|
|
16616
16617
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16617
16618
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16618
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)
|
|
16619
|
-
command =
|
|
16620
|
+
command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', options)
|
|
16620
16621
|
command.request_representation = Google::Apis::ComputeV1::SecurityPolicyRule::Representation
|
|
16621
16622
|
command.request_object = security_policy_rule_object
|
|
16622
16623
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16665,7 +16666,7 @@ module Google
|
|
|
16665
16666
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16666
16667
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16667
16668
|
def delete_security_policy(project, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16668
|
-
command =
|
|
16669
|
+
command = make_simple_command(:delete, '{project}/global/securityPolicies/{securityPolicy}', options)
|
|
16669
16670
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
16670
16671
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
16671
16672
|
command.params['project'] = project unless project.nil?
|
|
@@ -16702,7 +16703,7 @@ module Google
|
|
|
16702
16703
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16703
16704
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16704
16705
|
def get_security_policy(project, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16705
|
-
command =
|
|
16706
|
+
command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}', options)
|
|
16706
16707
|
command.response_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
|
|
16707
16708
|
command.response_class = Google::Apis::ComputeV1::SecurityPolicy
|
|
16708
16709
|
command.params['project'] = project unless project.nil?
|
|
@@ -16740,7 +16741,7 @@ module Google
|
|
|
16740
16741
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16741
16742
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16742
16743
|
def get_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16743
|
-
command =
|
|
16744
|
+
command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}/getRule', options)
|
|
16744
16745
|
command.response_representation = Google::Apis::ComputeV1::SecurityPolicyRule::Representation
|
|
16745
16746
|
command.response_class = Google::Apis::ComputeV1::SecurityPolicyRule
|
|
16746
16747
|
command.params['project'] = project unless project.nil?
|
|
@@ -16788,7 +16789,7 @@ module Google
|
|
|
16788
16789
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16789
16790
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16790
16791
|
def insert_security_policy(project, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16791
|
-
command =
|
|
16792
|
+
command = make_simple_command(:post, '{project}/global/securityPolicies', options)
|
|
16792
16793
|
command.request_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
|
|
16793
16794
|
command.request_object = security_policy_object
|
|
16794
16795
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16858,7 +16859,7 @@ module Google
|
|
|
16858
16859
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16859
16860
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16860
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)
|
|
16861
|
-
command =
|
|
16862
|
+
command = make_simple_command(:get, '{project}/global/securityPolicies', options)
|
|
16862
16863
|
command.response_representation = Google::Apis::ComputeV1::SecurityPolicyList::Representation
|
|
16863
16864
|
command.response_class = Google::Apis::ComputeV1::SecurityPolicyList
|
|
16864
16865
|
command.params['project'] = project unless project.nil?
|
|
@@ -16909,7 +16910,7 @@ module Google
|
|
|
16909
16910
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16910
16911
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16911
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)
|
|
16912
|
-
command =
|
|
16913
|
+
command = make_simple_command(:patch, '{project}/global/securityPolicies/{securityPolicy}', options)
|
|
16913
16914
|
command.request_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
|
|
16914
16915
|
command.request_object = security_policy_object
|
|
16915
16916
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16951,7 +16952,7 @@ module Google
|
|
|
16951
16952
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16952
16953
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16953
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)
|
|
16954
|
-
command =
|
|
16955
|
+
command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', options)
|
|
16955
16956
|
command.request_representation = Google::Apis::ComputeV1::SecurityPolicyRule::Representation
|
|
16956
16957
|
command.request_object = security_policy_rule_object
|
|
16957
16958
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -16992,7 +16993,7 @@ module Google
|
|
|
16992
16993
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16993
16994
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16994
16995
|
def remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16995
|
-
command =
|
|
16996
|
+
command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/removeRule', options)
|
|
16996
16997
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
16997
16998
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
16998
16999
|
command.params['project'] = project unless project.nil?
|
|
@@ -17044,7 +17045,7 @@ module Google
|
|
|
17044
17045
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17045
17046
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17046
17047
|
def delete_snapshot(project, snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17047
|
-
command =
|
|
17048
|
+
command = make_simple_command(:delete, '{project}/global/snapshots/{snapshot}', options)
|
|
17048
17049
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
17049
17050
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
17050
17051
|
command.params['project'] = project unless project.nil?
|
|
@@ -17082,7 +17083,7 @@ module Google
|
|
|
17082
17083
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17083
17084
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17084
17085
|
def get_snapshot(project, snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17085
|
-
command =
|
|
17086
|
+
command = make_simple_command(:get, '{project}/global/snapshots/{snapshot}', options)
|
|
17086
17087
|
command.response_representation = Google::Apis::ComputeV1::Snapshot::Representation
|
|
17087
17088
|
command.response_class = Google::Apis::ComputeV1::Snapshot
|
|
17088
17089
|
command.params['project'] = project unless project.nil?
|
|
@@ -17119,7 +17120,7 @@ module Google
|
|
|
17119
17120
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17120
17121
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17121
17122
|
def get_snapshot_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17122
|
-
command =
|
|
17123
|
+
command = make_simple_command(:get, '{project}/global/snapshots/{resource}/getIamPolicy', options)
|
|
17123
17124
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
17124
17125
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
17125
17126
|
command.params['project'] = project unless project.nil?
|
|
@@ -17188,7 +17189,7 @@ module Google
|
|
|
17188
17189
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17189
17190
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17190
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)
|
|
17191
|
-
command =
|
|
17192
|
+
command = make_simple_command(:get, '{project}/global/snapshots', options)
|
|
17192
17193
|
command.response_representation = Google::Apis::ComputeV1::SnapshotList::Representation
|
|
17193
17194
|
command.response_class = Google::Apis::ComputeV1::SnapshotList
|
|
17194
17195
|
command.params['project'] = project unless project.nil?
|
|
@@ -17229,7 +17230,7 @@ module Google
|
|
|
17229
17230
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17230
17231
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17231
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)
|
|
17232
|
-
command =
|
|
17233
|
+
command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setIamPolicy', options)
|
|
17233
17234
|
command.request_representation = Google::Apis::ComputeV1::GlobalSetPolicyRequest::Representation
|
|
17234
17235
|
command.request_object = global_set_policy_request_object
|
|
17235
17236
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -17269,7 +17270,7 @@ module Google
|
|
|
17269
17270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17270
17271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17271
17272
|
def set_snapshot_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17272
|
-
command =
|
|
17273
|
+
command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setLabels', options)
|
|
17273
17274
|
command.request_representation = Google::Apis::ComputeV1::GlobalSetLabelsRequest::Representation
|
|
17274
17275
|
command.request_object = global_set_labels_request_object
|
|
17275
17276
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -17308,7 +17309,7 @@ module Google
|
|
|
17308
17309
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17309
17310
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17310
17311
|
def test_snapshot_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17311
|
-
command =
|
|
17312
|
+
command = make_simple_command(:post, '{project}/global/snapshots/{resource}/testIamPermissions', options)
|
|
17312
17313
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
17313
17314
|
command.request_object = test_permissions_request_object
|
|
17314
17315
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -17357,7 +17358,7 @@ module Google
|
|
|
17357
17358
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17358
17359
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17359
17360
|
def delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17360
|
-
command =
|
|
17361
|
+
command = make_simple_command(:delete, '{project}/global/sslCertificates/{sslCertificate}', options)
|
|
17361
17362
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
17362
17363
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
17363
17364
|
command.params['project'] = project unless project.nil?
|
|
@@ -17395,7 +17396,7 @@ module Google
|
|
|
17395
17396
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17396
17397
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17397
17398
|
def get_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17398
|
-
command =
|
|
17399
|
+
command = make_simple_command(:get, '{project}/global/sslCertificates/{sslCertificate}', options)
|
|
17399
17400
|
command.response_representation = Google::Apis::ComputeV1::SslCertificate::Representation
|
|
17400
17401
|
command.response_class = Google::Apis::ComputeV1::SslCertificate
|
|
17401
17402
|
command.params['project'] = project unless project.nil?
|
|
@@ -17442,7 +17443,7 @@ module Google
|
|
|
17442
17443
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17443
17444
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17444
17445
|
def insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17445
|
-
command =
|
|
17446
|
+
command = make_simple_command(:post, '{project}/global/sslCertificates', options)
|
|
17446
17447
|
command.request_representation = Google::Apis::ComputeV1::SslCertificate::Representation
|
|
17447
17448
|
command.request_object = ssl_certificate_object
|
|
17448
17449
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -17513,7 +17514,7 @@ module Google
|
|
|
17513
17514
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17514
17515
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17515
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)
|
|
17516
|
-
command =
|
|
17517
|
+
command = make_simple_command(:get, '{project}/global/sslCertificates', options)
|
|
17517
17518
|
command.response_representation = Google::Apis::ComputeV1::SslCertificateList::Representation
|
|
17518
17519
|
command.response_class = Google::Apis::ComputeV1::SslCertificateList
|
|
17519
17520
|
command.params['project'] = project unless project.nil?
|
|
@@ -17565,7 +17566,7 @@ module Google
|
|
|
17565
17566
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17566
17567
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17567
17568
|
def delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17568
|
-
command =
|
|
17569
|
+
command = make_simple_command(:delete, '{project}/global/sslPolicies/{sslPolicy}', options)
|
|
17569
17570
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
17570
17571
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
17571
17572
|
command.params['project'] = project unless project.nil?
|
|
@@ -17603,7 +17604,7 @@ module Google
|
|
|
17603
17604
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17604
17605
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17605
17606
|
def get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17606
|
-
command =
|
|
17607
|
+
command = make_simple_command(:get, '{project}/global/sslPolicies/{sslPolicy}', options)
|
|
17607
17608
|
command.response_representation = Google::Apis::ComputeV1::SslPolicy::Representation
|
|
17608
17609
|
command.response_class = Google::Apis::ComputeV1::SslPolicy
|
|
17609
17610
|
command.params['project'] = project unless project.nil?
|
|
@@ -17650,7 +17651,7 @@ module Google
|
|
|
17650
17651
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17651
17652
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17652
17653
|
def insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17653
|
-
command =
|
|
17654
|
+
command = make_simple_command(:post, '{project}/global/sslPolicies', options)
|
|
17654
17655
|
command.request_representation = Google::Apis::ComputeV1::SslPolicy::Representation
|
|
17655
17656
|
command.request_object = ssl_policy_object
|
|
17656
17657
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -17720,7 +17721,7 @@ module Google
|
|
|
17720
17721
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17721
17722
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17722
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)
|
|
17723
|
-
command =
|
|
17724
|
+
command = make_simple_command(:get, '{project}/global/sslPolicies', options)
|
|
17724
17725
|
command.response_representation = Google::Apis::ComputeV1::SslPoliciesList::Representation
|
|
17725
17726
|
command.response_class = Google::Apis::ComputeV1::SslPoliciesList
|
|
17726
17727
|
command.params['project'] = project unless project.nil?
|
|
@@ -17792,7 +17793,7 @@ module Google
|
|
|
17792
17793
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17793
17794
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17794
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)
|
|
17795
|
-
command =
|
|
17796
|
+
command = make_simple_command(:get, '{project}/global/sslPolicies/listAvailableFeatures', options)
|
|
17796
17797
|
command.response_representation = Google::Apis::ComputeV1::SslPoliciesListAvailableFeaturesResponse::Representation
|
|
17797
17798
|
command.response_class = Google::Apis::ComputeV1::SslPoliciesListAvailableFeaturesResponse
|
|
17798
17799
|
command.params['project'] = project unless project.nil?
|
|
@@ -17844,7 +17845,7 @@ module Google
|
|
|
17844
17845
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17845
17846
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17846
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)
|
|
17847
|
-
command =
|
|
17848
|
+
command = make_simple_command(:patch, '{project}/global/sslPolicies/{sslPolicy}', options)
|
|
17848
17849
|
command.request_representation = Google::Apis::ComputeV1::SslPolicy::Representation
|
|
17849
17850
|
command.request_object = ssl_policy_object
|
|
17850
17851
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -17915,7 +17916,7 @@ module Google
|
|
|
17915
17916
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17916
17917
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17917
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)
|
|
17918
|
-
command =
|
|
17919
|
+
command = make_simple_command(:get, '{project}/aggregated/subnetworks', options)
|
|
17919
17920
|
command.response_representation = Google::Apis::ComputeV1::SubnetworkAggregatedList::Representation
|
|
17920
17921
|
command.response_class = Google::Apis::ComputeV1::SubnetworkAggregatedList
|
|
17921
17922
|
command.params['project'] = project unless project.nil?
|
|
@@ -17967,7 +17968,7 @@ module Google
|
|
|
17967
17968
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17968
17969
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17969
17970
|
def delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17970
|
-
command =
|
|
17971
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/subnetworks/{subnetwork}', options)
|
|
17971
17972
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
17972
17973
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
17973
17974
|
command.params['project'] = project unless project.nil?
|
|
@@ -18019,7 +18020,7 @@ module Google
|
|
|
18019
18020
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18020
18021
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18021
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)
|
|
18022
|
-
command =
|
|
18023
|
+
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options)
|
|
18023
18024
|
command.request_representation = Google::Apis::ComputeV1::SubnetworksExpandIpCidrRangeRequest::Representation
|
|
18024
18025
|
command.request_object = subnetworks_expand_ip_cidr_range_request_object
|
|
18025
18026
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18062,7 +18063,7 @@ module Google
|
|
|
18062
18063
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18063
18064
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18064
18065
|
def get_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18065
|
-
command =
|
|
18066
|
+
command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{subnetwork}', options)
|
|
18066
18067
|
command.response_representation = Google::Apis::ComputeV1::Subnetwork::Representation
|
|
18067
18068
|
command.response_class = Google::Apis::ComputeV1::Subnetwork
|
|
18068
18069
|
command.params['project'] = project unless project.nil?
|
|
@@ -18102,7 +18103,7 @@ module Google
|
|
|
18102
18103
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18103
18104
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18104
18105
|
def get_subnetwork_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18105
|
-
command =
|
|
18106
|
+
command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', options)
|
|
18106
18107
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
18107
18108
|
command.response_class = Google::Apis::ComputeV1::Policy
|
|
18108
18109
|
command.params['project'] = project unless project.nil?
|
|
@@ -18152,7 +18153,7 @@ module Google
|
|
|
18152
18153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18153
18154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18154
18155
|
def insert_subnetwork(project, region, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18155
|
-
command =
|
|
18156
|
+
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks', options)
|
|
18156
18157
|
command.request_representation = Google::Apis::ComputeV1::Subnetwork::Representation
|
|
18157
18158
|
command.request_object = subnetwork_object
|
|
18158
18159
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18225,7 +18226,7 @@ module Google
|
|
|
18225
18226
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18226
18227
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18227
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)
|
|
18228
|
-
command =
|
|
18229
|
+
command = make_simple_command(:get, '{project}/regions/{region}/subnetworks', options)
|
|
18229
18230
|
command.response_representation = Google::Apis::ComputeV1::SubnetworkList::Representation
|
|
18230
18231
|
command.response_class = Google::Apis::ComputeV1::SubnetworkList
|
|
18231
18232
|
command.params['project'] = project unless project.nil?
|
|
@@ -18297,7 +18298,7 @@ module Google
|
|
|
18297
18298
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18298
18299
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18299
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)
|
|
18300
|
-
command =
|
|
18301
|
+
command = make_simple_command(:get, '{project}/aggregated/subnetworks/listUsable', options)
|
|
18301
18302
|
command.response_representation = Google::Apis::ComputeV1::UsableSubnetworksAggregatedList::Representation
|
|
18302
18303
|
command.response_class = Google::Apis::ComputeV1::UsableSubnetworksAggregatedList
|
|
18303
18304
|
command.params['project'] = project unless project.nil?
|
|
@@ -18353,7 +18354,7 @@ module Google
|
|
|
18353
18354
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18354
18355
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18355
18356
|
def patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18356
|
-
command =
|
|
18357
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/subnetworks/{subnetwork}', options)
|
|
18357
18358
|
command.request_representation = Google::Apis::ComputeV1::Subnetwork::Representation
|
|
18358
18359
|
command.request_object = subnetwork_object
|
|
18359
18360
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18397,7 +18398,7 @@ module Google
|
|
|
18397
18398
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18398
18399
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18399
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)
|
|
18400
|
-
command =
|
|
18401
|
+
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options)
|
|
18401
18402
|
command.request_representation = Google::Apis::ComputeV1::RegionSetPolicyRequest::Representation
|
|
18402
18403
|
command.request_object = region_set_policy_request_object
|
|
18403
18404
|
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
|
@@ -18451,7 +18452,7 @@ module Google
|
|
|
18451
18452
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18452
18453
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18453
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)
|
|
18454
|
-
command =
|
|
18455
|
+
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', options)
|
|
18455
18456
|
command.request_representation = Google::Apis::ComputeV1::SubnetworksSetPrivateIpGoogleAccessRequest::Representation
|
|
18456
18457
|
command.request_object = subnetworks_set_private_ip_google_access_request_object
|
|
18457
18458
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18494,7 +18495,7 @@ module Google
|
|
|
18494
18495
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18495
18496
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18496
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)
|
|
18497
|
-
command =
|
|
18498
|
+
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/testIamPermissions', options)
|
|
18498
18499
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
18499
18500
|
command.request_object = test_permissions_request_object
|
|
18500
18501
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
@@ -18544,7 +18545,7 @@ module Google
|
|
|
18544
18545
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18545
18546
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18546
18547
|
def delete_target_http_proxy(project, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18547
|
-
command =
|
|
18548
|
+
command = make_simple_command(:delete, '{project}/global/targetHttpProxies/{targetHttpProxy}', options)
|
|
18548
18549
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
18549
18550
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
18550
18551
|
command.params['project'] = project unless project.nil?
|
|
@@ -18582,7 +18583,7 @@ module Google
|
|
|
18582
18583
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18583
18584
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18584
18585
|
def get_target_http_proxy(project, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18585
|
-
command =
|
|
18586
|
+
command = make_simple_command(:get, '{project}/global/targetHttpProxies/{targetHttpProxy}', options)
|
|
18586
18587
|
command.response_representation = Google::Apis::ComputeV1::TargetHttpProxy::Representation
|
|
18587
18588
|
command.response_class = Google::Apis::ComputeV1::TargetHttpProxy
|
|
18588
18589
|
command.params['project'] = project unless project.nil?
|
|
@@ -18629,7 +18630,7 @@ module Google
|
|
|
18629
18630
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18630
18631
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18631
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)
|
|
18632
|
-
command =
|
|
18633
|
+
command = make_simple_command(:post, '{project}/global/targetHttpProxies', options)
|
|
18633
18634
|
command.request_representation = Google::Apis::ComputeV1::TargetHttpProxy::Representation
|
|
18634
18635
|
command.request_object = target_http_proxy_object
|
|
18635
18636
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18700,7 +18701,7 @@ module Google
|
|
|
18700
18701
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18701
18702
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18702
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)
|
|
18703
|
-
command =
|
|
18704
|
+
command = make_simple_command(:get, '{project}/global/targetHttpProxies', options)
|
|
18704
18705
|
command.response_representation = Google::Apis::ComputeV1::TargetHttpProxyList::Representation
|
|
18705
18706
|
command.response_class = Google::Apis::ComputeV1::TargetHttpProxyList
|
|
18706
18707
|
command.params['project'] = project unless project.nil?
|
|
@@ -18751,7 +18752,7 @@ module Google
|
|
|
18751
18752
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18752
18753
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18753
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)
|
|
18754
|
-
command =
|
|
18755
|
+
command = make_simple_command(:post, '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options)
|
|
18755
18756
|
command.request_representation = Google::Apis::ComputeV1::UrlMapReference::Representation
|
|
18756
18757
|
command.request_object = url_map_reference_object
|
|
18757
18758
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18801,7 +18802,7 @@ module Google
|
|
|
18801
18802
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18802
18803
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18803
18804
|
def delete_target_https_proxy(project, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18804
|
-
command =
|
|
18805
|
+
command = make_simple_command(:delete, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', options)
|
|
18805
18806
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
18806
18807
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
18807
18808
|
command.params['project'] = project unless project.nil?
|
|
@@ -18839,7 +18840,7 @@ module Google
|
|
|
18839
18840
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18840
18841
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18841
18842
|
def get_target_https_proxy(project, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18842
|
-
command =
|
|
18843
|
+
command = make_simple_command(:get, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', options)
|
|
18843
18844
|
command.response_representation = Google::Apis::ComputeV1::TargetHttpsProxy::Representation
|
|
18844
18845
|
command.response_class = Google::Apis::ComputeV1::TargetHttpsProxy
|
|
18845
18846
|
command.params['project'] = project unless project.nil?
|
|
@@ -18886,7 +18887,7 @@ module Google
|
|
|
18886
18887
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18887
18888
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18888
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)
|
|
18889
|
-
command =
|
|
18890
|
+
command = make_simple_command(:post, '{project}/global/targetHttpsProxies', options)
|
|
18890
18891
|
command.request_representation = Google::Apis::ComputeV1::TargetHttpsProxy::Representation
|
|
18891
18892
|
command.request_object = target_https_proxy_object
|
|
18892
18893
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -18957,7 +18958,7 @@ module Google
|
|
|
18957
18958
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18958
18959
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18959
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)
|
|
18960
|
-
command =
|
|
18961
|
+
command = make_simple_command(:get, '{project}/global/targetHttpsProxies', options)
|
|
18961
18962
|
command.response_representation = Google::Apis::ComputeV1::TargetHttpsProxyList::Representation
|
|
18962
18963
|
command.response_class = Google::Apis::ComputeV1::TargetHttpsProxyList
|
|
18963
18964
|
command.params['project'] = project unless project.nil?
|
|
@@ -19009,7 +19010,7 @@ module Google
|
|
|
19009
19010
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19010
19011
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19011
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)
|
|
19012
|
-
command =
|
|
19013
|
+
command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride', options)
|
|
19013
19014
|
command.request_representation = Google::Apis::ComputeV1::TargetHttpsProxiesSetQuicOverrideRequest::Representation
|
|
19014
19015
|
command.request_object = target_https_proxies_set_quic_override_request_object
|
|
19015
19016
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19060,7 +19061,7 @@ module Google
|
|
|
19060
19061
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19061
19062
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19062
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)
|
|
19063
|
-
command =
|
|
19064
|
+
command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options)
|
|
19064
19065
|
command.request_representation = Google::Apis::ComputeV1::TargetHttpsProxiesSetSslCertificatesRequest::Representation
|
|
19065
19066
|
command.request_object = target_https_proxies_set_ssl_certificates_request_object
|
|
19066
19067
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19115,7 +19116,7 @@ module Google
|
|
|
19115
19116
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19116
19117
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19117
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)
|
|
19118
|
-
command =
|
|
19119
|
+
command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', options)
|
|
19119
19120
|
command.request_representation = Google::Apis::ComputeV1::SslPolicyReference::Representation
|
|
19120
19121
|
command.request_object = ssl_policy_reference_object
|
|
19121
19122
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19166,7 +19167,7 @@ module Google
|
|
|
19166
19167
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19167
19168
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19168
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)
|
|
19169
|
-
command =
|
|
19170
|
+
command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options)
|
|
19170
19171
|
command.request_representation = Google::Apis::ComputeV1::UrlMapReference::Representation
|
|
19171
19172
|
command.request_object = url_map_reference_object
|
|
19172
19173
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19237,7 +19238,7 @@ module Google
|
|
|
19237
19238
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19238
19239
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19239
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)
|
|
19240
|
-
command =
|
|
19241
|
+
command = make_simple_command(:get, '{project}/aggregated/targetInstances', options)
|
|
19241
19242
|
command.response_representation = Google::Apis::ComputeV1::TargetInstanceAggregatedList::Representation
|
|
19242
19243
|
command.response_class = Google::Apis::ComputeV1::TargetInstanceAggregatedList
|
|
19243
19244
|
command.params['project'] = project unless project.nil?
|
|
@@ -19289,7 +19290,7 @@ module Google
|
|
|
19289
19290
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19290
19291
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19291
19292
|
def delete_target_instance(project, zone, target_instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19292
|
-
command =
|
|
19293
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/targetInstances/{targetInstance}', options)
|
|
19293
19294
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
19294
19295
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
19295
19296
|
command.params['project'] = project unless project.nil?
|
|
@@ -19330,7 +19331,7 @@ module Google
|
|
|
19330
19331
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19331
19332
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19332
19333
|
def get_target_instance(project, zone, target_instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19333
|
-
command =
|
|
19334
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances/{targetInstance}', options)
|
|
19334
19335
|
command.response_representation = Google::Apis::ComputeV1::TargetInstance::Representation
|
|
19335
19336
|
command.response_class = Google::Apis::ComputeV1::TargetInstance
|
|
19336
19337
|
command.params['project'] = project unless project.nil?
|
|
@@ -19380,7 +19381,7 @@ module Google
|
|
|
19380
19381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19381
19382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19382
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)
|
|
19383
|
-
command =
|
|
19384
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/targetInstances', options)
|
|
19384
19385
|
command.request_representation = Google::Apis::ComputeV1::TargetInstance::Representation
|
|
19385
19386
|
command.request_object = target_instance_object
|
|
19386
19387
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19454,7 +19455,7 @@ module Google
|
|
|
19454
19455
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19455
19456
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19456
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)
|
|
19457
|
-
command =
|
|
19458
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances', options)
|
|
19458
19459
|
command.response_representation = Google::Apis::ComputeV1::TargetInstanceList::Representation
|
|
19459
19460
|
command.response_class = Google::Apis::ComputeV1::TargetInstanceList
|
|
19460
19461
|
command.params['project'] = project unless project.nil?
|
|
@@ -19508,7 +19509,7 @@ module Google
|
|
|
19508
19509
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19509
19510
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19510
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)
|
|
19511
|
-
command =
|
|
19512
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', options)
|
|
19512
19513
|
command.request_representation = Google::Apis::ComputeV1::AddTargetPoolsHealthCheckRequest::Representation
|
|
19513
19514
|
command.request_object = add_target_pools_health_check_request_object
|
|
19514
19515
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19562,7 +19563,7 @@ module Google
|
|
|
19562
19563
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19563
19564
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19564
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)
|
|
19565
|
-
command =
|
|
19566
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addInstance', options)
|
|
19566
19567
|
command.request_representation = Google::Apis::ComputeV1::AddTargetPoolsInstanceRequest::Representation
|
|
19567
19568
|
command.request_object = add_target_pools_instance_request_object
|
|
19568
19569
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19634,7 +19635,7 @@ module Google
|
|
|
19634
19635
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19635
19636
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19636
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)
|
|
19637
|
-
command =
|
|
19638
|
+
command = make_simple_command(:get, '{project}/aggregated/targetPools', options)
|
|
19638
19639
|
command.response_representation = Google::Apis::ComputeV1::TargetPoolAggregatedList::Representation
|
|
19639
19640
|
command.response_class = Google::Apis::ComputeV1::TargetPoolAggregatedList
|
|
19640
19641
|
command.params['project'] = project unless project.nil?
|
|
@@ -19686,7 +19687,7 @@ module Google
|
|
|
19686
19687
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19687
19688
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19688
19689
|
def delete_target_pool(project, region, target_pool, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19689
|
-
command =
|
|
19690
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/targetPools/{targetPool}', options)
|
|
19690
19691
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
19691
19692
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
19692
19693
|
command.params['project'] = project unless project.nil?
|
|
@@ -19727,7 +19728,7 @@ module Google
|
|
|
19727
19728
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19728
19729
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19729
19730
|
def get_target_pool(project, region, target_pool, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19730
|
-
command =
|
|
19731
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetPools/{targetPool}', options)
|
|
19731
19732
|
command.response_representation = Google::Apis::ComputeV1::TargetPool::Representation
|
|
19732
19733
|
command.response_class = Google::Apis::ComputeV1::TargetPool
|
|
19733
19734
|
command.params['project'] = project unless project.nil?
|
|
@@ -19768,7 +19769,7 @@ module Google
|
|
|
19768
19769
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19769
19770
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19770
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)
|
|
19771
|
-
command =
|
|
19772
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/getHealth', options)
|
|
19772
19773
|
command.request_representation = Google::Apis::ComputeV1::InstanceReference::Representation
|
|
19773
19774
|
command.request_object = instance_reference_object
|
|
19774
19775
|
command.response_representation = Google::Apis::ComputeV1::TargetPoolInstanceHealth::Representation
|
|
@@ -19820,7 +19821,7 @@ module Google
|
|
|
19820
19821
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19821
19822
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19822
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)
|
|
19823
|
-
command =
|
|
19824
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools', options)
|
|
19824
19825
|
command.request_representation = Google::Apis::ComputeV1::TargetPool::Representation
|
|
19825
19826
|
command.request_object = target_pool_object
|
|
19826
19827
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -19893,7 +19894,7 @@ module Google
|
|
|
19893
19894
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19894
19895
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19895
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)
|
|
19896
|
-
command =
|
|
19897
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetPools', options)
|
|
19897
19898
|
command.response_representation = Google::Apis::ComputeV1::TargetPoolList::Representation
|
|
19898
19899
|
command.response_class = Google::Apis::ComputeV1::TargetPoolList
|
|
19899
19900
|
command.params['project'] = project unless project.nil?
|
|
@@ -19947,7 +19948,7 @@ module Google
|
|
|
19947
19948
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19948
19949
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19949
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)
|
|
19950
|
-
command =
|
|
19951
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', options)
|
|
19951
19952
|
command.request_representation = Google::Apis::ComputeV1::RemoveTargetPoolsHealthCheckRequest::Representation
|
|
19952
19953
|
command.request_object = remove_target_pools_health_check_request_object
|
|
19953
19954
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20001,7 +20002,7 @@ module Google
|
|
|
20001
20002
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20002
20003
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20003
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)
|
|
20004
|
-
command =
|
|
20005
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', options)
|
|
20005
20006
|
command.request_representation = Google::Apis::ComputeV1::RemoveTargetPoolsInstanceRequest::Representation
|
|
20006
20007
|
command.request_object = remove_target_pools_instance_request_object
|
|
20007
20008
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20057,7 +20058,7 @@ module Google
|
|
|
20057
20058
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20058
20059
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20059
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)
|
|
20060
|
-
command =
|
|
20061
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/setBackup', options)
|
|
20061
20062
|
command.request_representation = Google::Apis::ComputeV1::TargetReference::Representation
|
|
20062
20063
|
command.request_object = target_reference_object
|
|
20063
20064
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20109,7 +20110,7 @@ module Google
|
|
|
20109
20110
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20110
20111
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20111
20112
|
def delete_target_ssl_proxy(project, target_ssl_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20112
|
-
command =
|
|
20113
|
+
command = make_simple_command(:delete, '{project}/global/targetSslProxies/{targetSslProxy}', options)
|
|
20113
20114
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
20114
20115
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
20115
20116
|
command.params['project'] = project unless project.nil?
|
|
@@ -20147,7 +20148,7 @@ module Google
|
|
|
20147
20148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20148
20149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20149
20150
|
def get_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20150
|
-
command =
|
|
20151
|
+
command = make_simple_command(:get, '{project}/global/targetSslProxies/{targetSslProxy}', options)
|
|
20151
20152
|
command.response_representation = Google::Apis::ComputeV1::TargetSslProxy::Representation
|
|
20152
20153
|
command.response_class = Google::Apis::ComputeV1::TargetSslProxy
|
|
20153
20154
|
command.params['project'] = project unless project.nil?
|
|
@@ -20194,7 +20195,7 @@ module Google
|
|
|
20194
20195
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20195
20196
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20196
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)
|
|
20197
|
-
command =
|
|
20198
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies', options)
|
|
20198
20199
|
command.request_representation = Google::Apis::ComputeV1::TargetSslProxy::Representation
|
|
20199
20200
|
command.request_object = target_ssl_proxy_object
|
|
20200
20201
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20265,7 +20266,7 @@ module Google
|
|
|
20265
20266
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20266
20267
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20267
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)
|
|
20268
|
-
command =
|
|
20269
|
+
command = make_simple_command(:get, '{project}/global/targetSslProxies', options)
|
|
20269
20270
|
command.response_representation = Google::Apis::ComputeV1::TargetSslProxyList::Representation
|
|
20270
20271
|
command.response_class = Google::Apis::ComputeV1::TargetSslProxyList
|
|
20271
20272
|
command.params['project'] = project unless project.nil?
|
|
@@ -20316,7 +20317,7 @@ module Google
|
|
|
20316
20317
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20317
20318
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20318
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)
|
|
20319
|
-
command =
|
|
20320
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', options)
|
|
20320
20321
|
command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetBackendServiceRequest::Representation
|
|
20321
20322
|
command.request_object = target_ssl_proxies_set_backend_service_request_object
|
|
20322
20323
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20367,7 +20368,7 @@ module Google
|
|
|
20367
20368
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20368
20369
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20369
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)
|
|
20370
|
-
command =
|
|
20371
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', options)
|
|
20371
20372
|
command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetProxyHeaderRequest::Representation
|
|
20372
20373
|
command.request_object = target_ssl_proxies_set_proxy_header_request_object
|
|
20373
20374
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20418,7 +20419,7 @@ module Google
|
|
|
20418
20419
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20419
20420
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20420
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)
|
|
20421
|
-
command =
|
|
20422
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', options)
|
|
20422
20423
|
command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetSslCertificatesRequest::Representation
|
|
20423
20424
|
command.request_object = target_ssl_proxies_set_ssl_certificates_request_object
|
|
20424
20425
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20473,7 +20474,7 @@ module Google
|
|
|
20473
20474
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20474
20475
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20475
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)
|
|
20476
|
-
command =
|
|
20477
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', options)
|
|
20477
20478
|
command.request_representation = Google::Apis::ComputeV1::SslPolicyReference::Representation
|
|
20478
20479
|
command.request_object = ssl_policy_reference_object
|
|
20479
20480
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20523,7 +20524,7 @@ module Google
|
|
|
20523
20524
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20524
20525
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20525
20526
|
def delete_target_tcp_proxy(project, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20526
|
-
command =
|
|
20527
|
+
command = make_simple_command(:delete, '{project}/global/targetTcpProxies/{targetTcpProxy}', options)
|
|
20527
20528
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
20528
20529
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
20529
20530
|
command.params['project'] = project unless project.nil?
|
|
@@ -20561,7 +20562,7 @@ module Google
|
|
|
20561
20562
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20562
20563
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20563
20564
|
def get_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20564
|
-
command =
|
|
20565
|
+
command = make_simple_command(:get, '{project}/global/targetTcpProxies/{targetTcpProxy}', options)
|
|
20565
20566
|
command.response_representation = Google::Apis::ComputeV1::TargetTcpProxy::Representation
|
|
20566
20567
|
command.response_class = Google::Apis::ComputeV1::TargetTcpProxy
|
|
20567
20568
|
command.params['project'] = project unless project.nil?
|
|
@@ -20608,7 +20609,7 @@ module Google
|
|
|
20608
20609
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20609
20610
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20610
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)
|
|
20611
|
-
command =
|
|
20612
|
+
command = make_simple_command(:post, '{project}/global/targetTcpProxies', options)
|
|
20612
20613
|
command.request_representation = Google::Apis::ComputeV1::TargetTcpProxy::Representation
|
|
20613
20614
|
command.request_object = target_tcp_proxy_object
|
|
20614
20615
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20679,7 +20680,7 @@ module Google
|
|
|
20679
20680
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20680
20681
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20681
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)
|
|
20682
|
-
command =
|
|
20683
|
+
command = make_simple_command(:get, '{project}/global/targetTcpProxies', options)
|
|
20683
20684
|
command.response_representation = Google::Apis::ComputeV1::TargetTcpProxyList::Representation
|
|
20684
20685
|
command.response_class = Google::Apis::ComputeV1::TargetTcpProxyList
|
|
20685
20686
|
command.params['project'] = project unless project.nil?
|
|
@@ -20730,7 +20731,7 @@ module Google
|
|
|
20730
20731
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20731
20732
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20732
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)
|
|
20733
|
-
command =
|
|
20734
|
+
command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', options)
|
|
20734
20735
|
command.request_representation = Google::Apis::ComputeV1::TargetTcpProxiesSetBackendServiceRequest::Representation
|
|
20735
20736
|
command.request_object = target_tcp_proxies_set_backend_service_request_object
|
|
20736
20737
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20781,7 +20782,7 @@ module Google
|
|
|
20781
20782
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20782
20783
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20783
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)
|
|
20784
|
-
command =
|
|
20785
|
+
command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', options)
|
|
20785
20786
|
command.request_representation = Google::Apis::ComputeV1::TargetTcpProxiesSetProxyHeaderRequest::Representation
|
|
20786
20787
|
command.request_object = target_tcp_proxies_set_proxy_header_request_object
|
|
20787
20788
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -20852,7 +20853,7 @@ module Google
|
|
|
20852
20853
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20853
20854
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20854
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)
|
|
20855
|
-
command =
|
|
20856
|
+
command = make_simple_command(:get, '{project}/aggregated/targetVpnGateways', options)
|
|
20856
20857
|
command.response_representation = Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList::Representation
|
|
20857
20858
|
command.response_class = Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList
|
|
20858
20859
|
command.params['project'] = project unless project.nil?
|
|
@@ -20904,7 +20905,7 @@ module Google
|
|
|
20904
20905
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20905
20906
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20906
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)
|
|
20907
|
-
command =
|
|
20908
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options)
|
|
20908
20909
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
20909
20910
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
20910
20911
|
command.params['project'] = project unless project.nil?
|
|
@@ -20945,7 +20946,7 @@ module Google
|
|
|
20945
20946
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20946
20947
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20947
20948
|
def get_target_vpn_gateway(project, region, target_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
20948
|
-
command =
|
|
20949
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options)
|
|
20949
20950
|
command.response_representation = Google::Apis::ComputeV1::TargetVpnGateway::Representation
|
|
20950
20951
|
command.response_class = Google::Apis::ComputeV1::TargetVpnGateway
|
|
20951
20952
|
command.params['project'] = project unless project.nil?
|
|
@@ -20995,7 +20996,7 @@ module Google
|
|
|
20995
20996
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20996
20997
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20997
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)
|
|
20998
|
-
command =
|
|
20999
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways', options)
|
|
20999
21000
|
command.request_representation = Google::Apis::ComputeV1::TargetVpnGateway::Representation
|
|
21000
21001
|
command.request_object = target_vpn_gateway_object
|
|
21001
21002
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -21069,7 +21070,7 @@ module Google
|
|
|
21069
21070
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21070
21071
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21071
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)
|
|
21072
|
-
command =
|
|
21073
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways', options)
|
|
21073
21074
|
command.response_representation = Google::Apis::ComputeV1::TargetVpnGatewayList::Representation
|
|
21074
21075
|
command.response_class = Google::Apis::ComputeV1::TargetVpnGatewayList
|
|
21075
21076
|
command.params['project'] = project unless project.nil?
|
|
@@ -21120,7 +21121,7 @@ module Google
|
|
|
21120
21121
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21121
21122
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21122
21123
|
def delete_url_map(project, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21123
|
-
command =
|
|
21124
|
+
command = make_simple_command(:delete, '{project}/global/urlMaps/{urlMap}', options)
|
|
21124
21125
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
21125
21126
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
21126
21127
|
command.params['project'] = project unless project.nil?
|
|
@@ -21158,7 +21159,7 @@ module Google
|
|
|
21158
21159
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21159
21160
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21160
21161
|
def get_url_map(project, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21161
|
-
command =
|
|
21162
|
+
command = make_simple_command(:get, '{project}/global/urlMaps/{urlMap}', options)
|
|
21162
21163
|
command.response_representation = Google::Apis::ComputeV1::UrlMap::Representation
|
|
21163
21164
|
command.response_class = Google::Apis::ComputeV1::UrlMap
|
|
21164
21165
|
command.params['project'] = project unless project.nil?
|
|
@@ -21205,7 +21206,7 @@ module Google
|
|
|
21205
21206
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21206
21207
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21207
21208
|
def insert_url_map(project, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21208
|
-
command =
|
|
21209
|
+
command = make_simple_command(:post, '{project}/global/urlMaps', options)
|
|
21209
21210
|
command.request_representation = Google::Apis::ComputeV1::UrlMap::Representation
|
|
21210
21211
|
command.request_object = url_map_object
|
|
21211
21212
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -21256,7 +21257,7 @@ module Google
|
|
|
21256
21257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21257
21258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21258
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)
|
|
21259
|
-
command =
|
|
21260
|
+
command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/invalidateCache', options)
|
|
21260
21261
|
command.request_representation = Google::Apis::ComputeV1::CacheInvalidationRule::Representation
|
|
21261
21262
|
command.request_object = cache_invalidation_rule_object
|
|
21262
21263
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -21327,7 +21328,7 @@ module Google
|
|
|
21327
21328
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21328
21329
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21329
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)
|
|
21330
|
-
command =
|
|
21331
|
+
command = make_simple_command(:get, '{project}/global/urlMaps', options)
|
|
21331
21332
|
command.response_representation = Google::Apis::ComputeV1::UrlMapList::Representation
|
|
21332
21333
|
command.response_class = Google::Apis::ComputeV1::UrlMapList
|
|
21333
21334
|
command.params['project'] = project unless project.nil?
|
|
@@ -21380,7 +21381,7 @@ module Google
|
|
|
21380
21381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21381
21382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21382
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)
|
|
21383
|
-
command =
|
|
21384
|
+
command = make_simple_command(:patch, '{project}/global/urlMaps/{urlMap}', options)
|
|
21384
21385
|
command.request_representation = Google::Apis::ComputeV1::UrlMap::Representation
|
|
21385
21386
|
command.request_object = url_map_object
|
|
21386
21387
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -21431,7 +21432,7 @@ module Google
|
|
|
21431
21432
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21432
21433
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21433
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)
|
|
21434
|
-
command =
|
|
21435
|
+
command = make_simple_command(:put, '{project}/global/urlMaps/{urlMap}', options)
|
|
21435
21436
|
command.request_representation = Google::Apis::ComputeV1::UrlMap::Representation
|
|
21436
21437
|
command.request_object = url_map_object
|
|
21437
21438
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -21472,7 +21473,7 @@ module Google
|
|
|
21472
21473
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21473
21474
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21474
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)
|
|
21475
|
-
command =
|
|
21476
|
+
command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/validate', options)
|
|
21476
21477
|
command.request_representation = Google::Apis::ComputeV1::ValidateUrlMapsRequest::Representation
|
|
21477
21478
|
command.request_object = validate_url_maps_request_object
|
|
21478
21479
|
command.response_representation = Google::Apis::ComputeV1::ValidateUrlMapsResponse::Representation
|
|
@@ -21542,7 +21543,7 @@ module Google
|
|
|
21542
21543
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21543
21544
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21544
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)
|
|
21545
|
-
command =
|
|
21546
|
+
command = make_simple_command(:get, '{project}/aggregated/vpnTunnels', options)
|
|
21546
21547
|
command.response_representation = Google::Apis::ComputeV1::VpnTunnelAggregatedList::Representation
|
|
21547
21548
|
command.response_class = Google::Apis::ComputeV1::VpnTunnelAggregatedList
|
|
21548
21549
|
command.params['project'] = project unless project.nil?
|
|
@@ -21594,7 +21595,7 @@ module Google
|
|
|
21594
21595
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21595
21596
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21596
21597
|
def delete_vpn_tunnel(project, region, vpn_tunnel, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21597
|
-
command =
|
|
21598
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options)
|
|
21598
21599
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
21599
21600
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
21600
21601
|
command.params['project'] = project unless project.nil?
|
|
@@ -21635,7 +21636,7 @@ module Google
|
|
|
21635
21636
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21636
21637
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21637
21638
|
def get_vpn_tunnel(project, region, vpn_tunnel, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21638
|
-
command =
|
|
21639
|
+
command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options)
|
|
21639
21640
|
command.response_representation = Google::Apis::ComputeV1::VpnTunnel::Representation
|
|
21640
21641
|
command.response_class = Google::Apis::ComputeV1::VpnTunnel
|
|
21641
21642
|
command.params['project'] = project unless project.nil?
|
|
@@ -21685,7 +21686,7 @@ module Google
|
|
|
21685
21686
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21686
21687
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21687
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)
|
|
21688
|
-
command =
|
|
21689
|
+
command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels', options)
|
|
21689
21690
|
command.request_representation = Google::Apis::ComputeV1::VpnTunnel::Representation
|
|
21690
21691
|
command.request_object = vpn_tunnel_object
|
|
21691
21692
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
@@ -21759,7 +21760,7 @@ module Google
|
|
|
21759
21760
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21760
21761
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21761
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)
|
|
21762
|
-
command =
|
|
21763
|
+
command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels', options)
|
|
21763
21764
|
command.response_representation = Google::Apis::ComputeV1::VpnTunnelList::Representation
|
|
21764
21765
|
command.response_class = Google::Apis::ComputeV1::VpnTunnelList
|
|
21765
21766
|
command.params['project'] = project unless project.nil?
|
|
@@ -21801,7 +21802,7 @@ module Google
|
|
|
21801
21802
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21802
21803
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21803
21804
|
def delete_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21804
|
-
command =
|
|
21805
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/operations/{operation}', options)
|
|
21805
21806
|
command.params['project'] = project unless project.nil?
|
|
21806
21807
|
command.params['zone'] = zone unless zone.nil?
|
|
21807
21808
|
command.params['operation'] = operation unless operation.nil?
|
|
@@ -21838,7 +21839,7 @@ module Google
|
|
|
21838
21839
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21839
21840
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21840
21841
|
def get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21841
|
-
command =
|
|
21842
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/operations/{operation}', options)
|
|
21842
21843
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
21843
21844
|
command.response_class = Google::Apis::ComputeV1::Operation
|
|
21844
21845
|
command.params['project'] = project unless project.nil?
|
|
@@ -21909,7 +21910,7 @@ module Google
|
|
|
21909
21910
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21910
21911
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21911
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)
|
|
21912
|
-
command =
|
|
21913
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/operations', options)
|
|
21913
21914
|
command.response_representation = Google::Apis::ComputeV1::OperationList::Representation
|
|
21914
21915
|
command.response_class = Google::Apis::ComputeV1::OperationList
|
|
21915
21916
|
command.params['project'] = project unless project.nil?
|
|
@@ -21950,7 +21951,7 @@ module Google
|
|
|
21950
21951
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
21951
21952
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
21952
21953
|
def get_zone(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
21953
|
-
command =
|
|
21954
|
+
command = make_simple_command(:get, '{project}/zones/{zone}', options)
|
|
21954
21955
|
command.response_representation = Google::Apis::ComputeV1::Zone::Representation
|
|
21955
21956
|
command.response_class = Google::Apis::ComputeV1::Zone
|
|
21956
21957
|
command.params['project'] = project unless project.nil?
|
|
@@ -22018,7 +22019,7 @@ module Google
|
|
|
22018
22019
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
22019
22020
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
22020
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)
|
|
22021
|
-
command =
|
|
22022
|
+
command = make_simple_command(:get, '{project}/zones', options)
|
|
22022
22023
|
command.response_representation = Google::Apis::ComputeV1::ZoneList::Representation
|
|
22023
22024
|
command.response_class = Google::Apis::ComputeV1::ZoneList
|
|
22024
22025
|
command.params['project'] = project unless project.nil?
|