google-api-client 0.36.4 → 0.37.0
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/.yardopts +1 -0
- data/CHANGELOG.md +184 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
- data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
- data/generated/google/apis/accessapproval_v1/service.rb +869 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +113 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +32 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +151 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -4
- data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
- data/generated/google/apis/admob_v1/classes.rb +951 -0
- data/generated/google/apis/admob_v1/representations.rb +378 -0
- data/generated/google/apis/admob_v1/service.rb +196 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +252 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +7 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -94
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -50
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +134 -94
- data/generated/google/apis/androidpublisher_v3/representations.rb +63 -50
- data/generated/google/apis/androidpublisher_v3/service.rb +158 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +0 -38
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +49 -15
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -22
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -22
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +5 -99
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -45
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +1 -70
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +49 -15
- data/generated/google/apis/bigtableadmin_v2/service.rb +76 -4
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +49 -15
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +49 -15
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1/classes.rb +103 -20
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +49 -15
- data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +51 -16
- data/generated/google/apis/cloudbilling_v1/service.rb +8 -6
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/{servicebroker_v1beta1.rb → cloudbuild_v1alpha2.rb} +9 -11
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1124 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +429 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +232 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -12
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +63 -15
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +560 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +226 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +20 -13
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +765 -72
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +289 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -79
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +49 -15
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +64 -21
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +49 -15
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +49 -15
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +49 -15
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +49 -15
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +49 -15
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +49 -15
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +49 -15
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +49 -15
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +6 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/service.rb +4 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +429 -237
- data/generated/google/apis/compute_alpha/representations.rb +42 -3
- data/generated/google/apis/compute_alpha/service.rb +99 -32
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1054 -235
- data/generated/google/apis/compute_beta/representations.rb +266 -0
- data/generated/google/apis/compute_beta/service.rb +5821 -4671
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1118 -314
- data/generated/google/apis/compute_v1/representations.rb +313 -0
- data/generated/google/apis/compute_v1/service.rb +612 -24
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +247 -3
- data/generated/google/apis/container_v1/representations.rb +74 -0
- data/generated/google/apis/container_v1/service.rb +8 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +284 -80
- data/generated/google/apis/container_v1beta1/representations.rb +85 -0
- data/generated/google/apis/container_v1beta1/service.rb +129 -121
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +49 -15
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +49 -15
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +97 -0
- data/generated/google/apis/content_v2/representations.rb +47 -0
- data/generated/google/apis/content_v2/service.rb +33 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +191 -0
- data/generated/google/apis/content_v2_1/representations.rb +94 -0
- data/generated/google/apis/content_v2_1/service.rb +77 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +157 -24
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +151 -66
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +120 -2
- data/generated/google/apis/dataflow_v1b3/representations.rb +63 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +134 -387
- data/generated/google/apis/datafusion_v1beta1/representations.rb +1 -132
- data/generated/google/apis/datafusion_v1beta1/service.rb +5 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +156 -122
- data/generated/google/apis/dataproc_v1/service.rb +16 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +155 -121
- data/generated/google/apis/dataproc_v1beta2/service.rb +28 -26
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +506 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +191 -0
- data/generated/google/apis/dialogflow_v2/service.rb +477 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +404 -9
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +160 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +919 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +101 -92
- data/generated/google/apis/dlp_v2/service.rb +56 -56
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +275 -18
- data/generated/google/apis/docs_v1/representations.rb +75 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +16 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -2
- data/generated/google/apis/drive_v2/service.rb +0 -92
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +161 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +64 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +67 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +12 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -2
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +8 -4
- data/generated/google/apis/fitness_v1/service.rb +26 -8
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +13 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +113 -35
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +68 -36
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +93 -23
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +66 -17
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +31 -33
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +49 -15
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +8 -2
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +106 -4
- data/generated/google/apis/logging_v2/representations.rb +16 -0
- data/generated/google/apis/logging_v2/service.rb +184 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +4 -1
- data/generated/google/apis/ml_v1/classes.rb +131 -26
- data/generated/google/apis/ml_v1/representations.rb +15 -0
- data/generated/google/apis/ml_v1/service.rb +2 -7
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +144 -109
- data/generated/google/apis/monitoring_v1/representations.rb +0 -18
- data/generated/google/apis/monitoring_v1/service.rb +11 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +211 -99
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +178 -153
- data/generated/google/apis/{servicebroker_v1alpha1.rb → osconfig_v1beta.rb} +10 -11
- data/generated/google/apis/osconfig_v1beta/classes.rb +2357 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
- data/generated/google/apis/oslogin_v1.rb +1 -2
- data/generated/google/apis/oslogin_v1/service.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +0 -1
- data/generated/google/apis/pagespeedonline_v5.rb +9 -4
- data/generated/google/apis/pagespeedonline_v5/classes.rb +529 -498
- data/generated/google/apis/pagespeedonline_v5/representations.rb +225 -221
- data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +14 -13
- data/generated/google/apis/people_v1/service.rb +12 -16
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +71 -19
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +71 -19
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +39 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +27 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +66 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +119 -15
- data/generated/google/apis/pubsub_v1/representations.rb +17 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +49 -15
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -5
- data/generated/google/apis/recommender_v1beta1/service.rb +13 -11
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +10 -3
- data/generated/google/apis/redis_v1/representations.rb +1 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +29 -3
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +49 -15
- data/generated/google/apis/run_v1/service.rb +0 -30
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +278 -572
- data/generated/google/apis/run_v1alpha1/representations.rb +82 -223
- data/generated/google/apis/run_v1alpha1/service.rb +272 -682
- data/generated/google/apis/run_v1beta1.rb +4 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +49 -15
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +39 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +27 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +66 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +3 -2
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +49 -15
- data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +449 -15
- data/generated/google/apis/securitycenter_v1/representations.rb +138 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +442 -15
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +138 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +393 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +138 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +1999 -0
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +699 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1315 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +101 -5
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +19 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +238 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +86 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +156 -20
- data/generated/google/apis/servicemanagement_v1/representations.rb +18 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +101 -5
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +101 -5
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +101 -5
- data/generated/google/apis/serviceusage_v1/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +101 -5
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +19 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +195 -31
- data/generated/google/apis/sheets_v4/representations.rb +56 -0
- data/generated/google/apis/sheets_v4/service.rb +9 -11
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +172 -65
- data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +49 -15
- data/generated/google/apis/spanner_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +1 -8
- data/generated/google/apis/speech_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +3 -8
- data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +130 -2
- data/generated/google/apis/sql_v1beta4/representations.rb +52 -0
- data/generated/google/apis/sql_v1beta4/service.rb +190 -9
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +16 -7
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -4
- data/generated/google/apis/storagetransfer_v1/service.rb +0 -30
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -1
- data/generated/google/apis/toolresults_v1.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +0 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -1
- data/generated/google/apis/translate_v3.rb +37 -0
- data/generated/google/apis/translate_v3/classes.rb +943 -0
- data/generated/google/apis/translate_v3/representations.rb +439 -0
- data/generated/google/apis/translate_v3/service.rb +781 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +184 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +85 -0
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +63 -0
- data/generated/google/apis/websecurityscanner_v1/representations.rb +31 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +63 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +31 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +61 -9
- data/generated/google/apis/youtube_v3/representations.rb +8 -1
- data/generated/google/apis/youtube_v3/service.rb +8 -2
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +27 -27
- data/generated/google/apis/analytics_v2_4.rb +0 -37
- data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
- data/generated/google/apis/analytics_v2_4/service.rb +0 -331
- data/generated/google/apis/plus_domains_v1.rb +0 -55
- data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
- data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
- data/generated/google/apis/plus_domains_v1/service.rb +0 -489
- data/generated/google/apis/replicapool_v1beta1.rb +0 -50
- data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
- data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
- data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
- data/generated/google/apis/servicebroker_v1/classes.rb +0 -368
- data/generated/google/apis/servicebroker_v1/representations.rb +0 -114
- data/generated/google/apis/servicebroker_v1/service.rb +0 -177
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1072
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +0 -367
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1208
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +0 -416
- data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
|
26
26
|
module ComputeV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200114'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -56,8 +56,7 @@ module Google
|
|
|
56
56
|
# Google Cloud Platform provides graphics processing units (accelerators) that
|
|
57
57
|
# you can add to VM instances to improve or accelerate performance when working
|
|
58
58
|
# with intensive workloads. For more information, read GPUs on Compute Engine. (=
|
|
59
|
-
# = resource_for
|
|
60
|
-
# =)
|
|
59
|
+
# = resource_for `$api_version`.acceleratorTypes ==)
|
|
61
60
|
class AcceleratorType
|
|
62
61
|
include Google::Apis::Core::Hashable
|
|
63
62
|
|
|
@@ -527,21 +526,22 @@ module Google
|
|
|
527
526
|
end
|
|
528
527
|
end
|
|
529
528
|
|
|
530
|
-
#
|
|
531
|
-
#
|
|
532
|
-
#
|
|
533
|
-
#
|
|
534
|
-
#
|
|
535
|
-
# external
|
|
536
|
-
# Premium
|
|
537
|
-
#
|
|
538
|
-
#
|
|
539
|
-
#
|
|
540
|
-
#
|
|
541
|
-
#
|
|
542
|
-
#
|
|
543
|
-
#
|
|
544
|
-
#
|
|
529
|
+
# Use global external addresses for GFE-based external HTTP(S) load balancers in
|
|
530
|
+
# Premium Tier.
|
|
531
|
+
# Use global internal addresses for reserved peering network range.
|
|
532
|
+
# Use regional external addresses for the following resources:
|
|
533
|
+
# - External IP addresses for VM instances - Regional external forwarding rules -
|
|
534
|
+
# Cloud NAT external IP addresses - GFE based LBs in Standard Tier - Network
|
|
535
|
+
# LBs in Premium or Standard Tier - Cloud VPN gateways (both Classic and HA)
|
|
536
|
+
# Use regional internal IP addresses for subnet IP ranges (primary and secondary)
|
|
537
|
+
# . This includes:
|
|
538
|
+
# - Internal IP addresses for VM instances - Alias IP ranges of VM instances (/
|
|
539
|
+
# 32 only) - Regional internal forwarding rules - Internal TCP/UDP load balancer
|
|
540
|
+
# addresses - Internal HTTP(S) load balancer addresses - Cloud DNS inbound
|
|
541
|
+
# forwarding IP addresses
|
|
542
|
+
# For more information, read reserved IP address.
|
|
543
|
+
# (== resource_for `$api_version`.addresses ==) (== resource_for `$api_version`.
|
|
544
|
+
# globalAddresses ==)
|
|
545
545
|
class Address
|
|
546
546
|
include Google::Apis::Core::Hashable
|
|
547
547
|
|
|
@@ -1175,6 +1175,11 @@ module Google
|
|
|
1175
1175
|
# @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
|
|
1176
1176
|
attr_accessor :disk_encryption_key
|
|
1177
1177
|
|
|
1178
|
+
# The size of the disk in GB.
|
|
1179
|
+
# Corresponds to the JSON property `diskSizeGb`
|
|
1180
|
+
# @return [Fixnum]
|
|
1181
|
+
attr_accessor :disk_size_gb
|
|
1182
|
+
|
|
1178
1183
|
# A list of features to enable on the guest operating system. Applicable only
|
|
1179
1184
|
# for bootable images. Read Enabling guest operating system features to see a
|
|
1180
1185
|
# list of available options.
|
|
@@ -1253,6 +1258,7 @@ module Google
|
|
|
1253
1258
|
@boot = args[:boot] if args.key?(:boot)
|
|
1254
1259
|
@device_name = args[:device_name] if args.key?(:device_name)
|
|
1255
1260
|
@disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
|
|
1261
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
|
1256
1262
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
|
1257
1263
|
@index = args[:index] if args.key?(:index)
|
|
1258
1264
|
@initialize_params = args[:initialize_params] if args.key?(:initialize_params)
|
|
@@ -1489,14 +1495,16 @@ module Google
|
|
|
1489
1495
|
end
|
|
1490
1496
|
|
|
1491
1497
|
# Represents an Autoscaler resource.
|
|
1498
|
+
# Google Compute Engine has two Autoscaler resources:
|
|
1499
|
+
# * [Global](/compute/docs/reference/rest/latest/autoscalers) * [Regional](/
|
|
1500
|
+
# compute/docs/reference/rest/latest/regionAutoscalers)
|
|
1492
1501
|
# Use autoscalers to automatically add or delete instances from a managed
|
|
1493
1502
|
# instance group according to your defined autoscaling policy. For more
|
|
1494
1503
|
# information, read Autoscaling Groups of Instances.
|
|
1495
1504
|
# For zonal managed instance groups resource, use the autoscaler resource.
|
|
1496
1505
|
# For regional managed instance groups, use the regionAutoscalers resource. (==
|
|
1497
|
-
# resource_for
|
|
1498
|
-
#
|
|
1499
|
-
# =)
|
|
1506
|
+
# resource_for `$api_version`.autoscalers ==) (== resource_for `$api_version`.
|
|
1507
|
+
# regionAutoscalers ==)
|
|
1500
1508
|
class Autoscaler
|
|
1501
1509
|
include Google::Apis::Core::Hashable
|
|
1502
1510
|
|
|
@@ -2549,8 +2557,12 @@ module Google
|
|
|
2549
2557
|
# Represents a Backend Service resource.
|
|
2550
2558
|
# A backend service contains configuration values for Google Cloud Platform load
|
|
2551
2559
|
# balancing services.
|
|
2560
|
+
# Backend services in Google Compute Engine can be either regionally or globally
|
|
2561
|
+
# scoped.
|
|
2562
|
+
# * [Global](/compute/docs/reference/rest/latest/backendServices) * [Regional](/
|
|
2563
|
+
# compute/docs/reference/rest/latest/regionBackendServices)
|
|
2552
2564
|
# For more information, read Backend Services.
|
|
2553
|
-
# (== resource_for
|
|
2565
|
+
# (== resource_for `$api_version`.backendService ==)
|
|
2554
2566
|
class BackendService
|
|
2555
2567
|
include Google::Apis::Core::Hashable
|
|
2556
2568
|
|
|
@@ -2622,9 +2634,11 @@ module Google
|
|
|
2622
2634
|
|
|
2623
2635
|
# The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for
|
|
2624
2636
|
# health checking this BackendService. Currently at most one health check can be
|
|
2625
|
-
# specified
|
|
2626
|
-
# A health check must not be specified
|
|
2627
|
-
#
|
|
2637
|
+
# specified. Health check is optional for Compute Engine backend services if
|
|
2638
|
+
# there is no backend. A health check must not be specified when adding Internet
|
|
2639
|
+
# Network Endpoint Group or Serverless Network Endpoint Group as backends. In
|
|
2640
|
+
# all other cases, a health check is required for Compute Engine backend
|
|
2641
|
+
# services.
|
|
2628
2642
|
# For internal load balancing, a URL to a HealthCheck resource must be specified
|
|
2629
2643
|
# instead.
|
|
2630
2644
|
# Corresponds to the JSON property `healthChecks`
|
|
@@ -3279,7 +3293,7 @@ module Google
|
|
|
3279
3293
|
# * `group:`emailid``: An email address that represents a Google group. For
|
|
3280
3294
|
# example, `admins@example.com`.
|
|
3281
3295
|
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
3282
|
-
# identifier) representing a user that has been recently deleted. For example
|
|
3296
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
|
3283
3297
|
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
|
3284
3298
|
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
|
3285
3299
|
# the binding.
|
|
@@ -3454,8 +3468,8 @@ module Google
|
|
|
3454
3468
|
# Creating a commitment resource means that you are purchasing a committed use
|
|
3455
3469
|
# contract with an explicit start and end time. You can create commitments based
|
|
3456
3470
|
# on vCPUs and memory usage and receive discounted rates. For full details, read
|
|
3457
|
-
# Signing Up for Committed Use Discounts. (== resource_for
|
|
3458
|
-
# regionCommitments ==)
|
|
3471
|
+
# Signing Up for Committed Use Discounts. (== resource_for `$api_version`.
|
|
3472
|
+
# regionCommitments ==)
|
|
3459
3473
|
class Commitment
|
|
3460
3474
|
include Google::Apis::Core::Hashable
|
|
3461
3475
|
|
|
@@ -4077,8 +4091,8 @@ module Google
|
|
|
4077
4091
|
# @return [Array<String>]
|
|
4078
4092
|
attr_accessor :expose_headers
|
|
4079
4093
|
|
|
4080
|
-
# Specifies how long
|
|
4081
|
-
# translates to the
|
|
4094
|
+
# Specifies how long results of a preflight request can be cached in seconds.
|
|
4095
|
+
# This translates to the Access-Control-Max-Age header.
|
|
4082
4096
|
# Corresponds to the JSON property `maxAge`
|
|
4083
4097
|
# @return [Fixnum]
|
|
4084
4098
|
attr_accessor :max_age
|
|
@@ -4216,15 +4230,17 @@ module Google
|
|
|
4216
4230
|
end
|
|
4217
4231
|
|
|
4218
4232
|
# Represents a Persistent Disk resource.
|
|
4233
|
+
# Google Compute Engine has two Disk resources:
|
|
4234
|
+
# * [Global](/compute/docs/reference/rest/latest/disks) * [Regional](/compute/
|
|
4235
|
+
# docs/reference/rest/latest/regionDisks)
|
|
4219
4236
|
# Persistent disks are required for running your VM instances. Create both boot
|
|
4220
4237
|
# and non-boot (data) persistent disks. For more information, read Persistent
|
|
4221
4238
|
# Disks. For more storage options, read Storage options.
|
|
4222
4239
|
# The disks resource represents a zonal persistent disk. For more information,
|
|
4223
4240
|
# read Zonal persistent disks.
|
|
4224
4241
|
# The regionDisks resource represents a regional persistent disk. For more
|
|
4225
|
-
# information, read Regional resources. (== resource_for
|
|
4226
|
-
#
|
|
4227
|
-
# beta.regionDisks ==)
|
|
4242
|
+
# information, read Regional resources. (== resource_for `$api_version`.disks ==
|
|
4243
|
+
# ) (== resource_for `$api_version`.regionDisks ==)
|
|
4228
4244
|
class Disk
|
|
4229
4245
|
include Google::Apis::Core::Hashable
|
|
4230
4246
|
|
|
@@ -4802,14 +4818,16 @@ module Google
|
|
|
4802
4818
|
end
|
|
4803
4819
|
|
|
4804
4820
|
# Represents a Disk Type resource.
|
|
4821
|
+
# Google Compute Engine has two Disk Type resources:
|
|
4822
|
+
# * [Global](/compute/docs/reference/rest/latest/diskTypes) * [Regional](/
|
|
4823
|
+
# compute/docs/reference/rest/latest/regionDiskTypes)
|
|
4805
4824
|
# You can choose from a variety of disk types based on your needs. For more
|
|
4806
4825
|
# information, read Storage options.
|
|
4807
4826
|
# The diskTypes resource represents disk types for a zonal persistent disk. For
|
|
4808
4827
|
# more information, read Zonal persistent disks.
|
|
4809
4828
|
# The regionDiskTypes resource represents disk types for a regional persistent
|
|
4810
|
-
# disk. For more information, read Regional persistent disks. (== resource_for
|
|
4811
|
-
#
|
|
4812
|
-
# regionDiskTypes ==) (== resource_for beta.regionDiskTypes ==)
|
|
4829
|
+
# disk. For more information, read Regional persistent disks. (== resource_for `$
|
|
4830
|
+
# api_version`.diskTypes ==) (== resource_for `$api_version`.regionDiskTypes ==)
|
|
4813
4831
|
class DiskType
|
|
4814
4832
|
include Google::Apis::Core::Hashable
|
|
4815
4833
|
|
|
@@ -5670,7 +5688,7 @@ module Google
|
|
|
5670
5688
|
end
|
|
5671
5689
|
|
|
5672
5690
|
# External VPN gateway is the on-premises VPN gateway(s) or another cloud
|
|
5673
|
-
# provider
|
|
5691
|
+
# provider's VPN gateway that connects to your Google Cloud VPN gateway. To
|
|
5674
5692
|
# create a highly available VPN from Google Cloud to your on-premises side or
|
|
5675
5693
|
# another Cloud provider's VPN gateway, you must create a external VPN gateway
|
|
5676
5694
|
# resource in GCP, which provides the information to GCP about your external VPN
|
|
@@ -5779,7 +5797,7 @@ module Google
|
|
|
5779
5797
|
|
|
5780
5798
|
# IP address of the interface in the external VPN gateway. Only IPv4 is
|
|
5781
5799
|
# supported. This IP address can be either from your on-premise gateway or
|
|
5782
|
-
# another Cloud provider
|
|
5800
|
+
# another Cloud provider's VPN gateway, it cannot be an IP address from Google
|
|
5783
5801
|
# Compute Engine.
|
|
5784
5802
|
# Corresponds to the JSON property `ipAddress`
|
|
5785
5803
|
# @return [String]
|
|
@@ -6356,16 +6374,18 @@ module Google
|
|
|
6356
6374
|
end
|
|
6357
6375
|
|
|
6358
6376
|
# Represents a Forwarding Rule resource.
|
|
6377
|
+
# Forwarding rule resources in GCP can be either regional or global in scope:
|
|
6378
|
+
# * [Global](/compute/docs/reference/rest/latest/globalForwardingRules) * [
|
|
6379
|
+
# Regional](/compute/docs/reference/rest/latest/forwardingRules)
|
|
6359
6380
|
# A forwarding rule and its corresponding IP address represent the frontend
|
|
6360
6381
|
# configuration of a Google Cloud Platform load balancer. Forwarding rules can
|
|
6361
6382
|
# also reference target instances and Cloud VPN Classic gateways (
|
|
6362
6383
|
# targetVpnGateway).
|
|
6363
6384
|
# For more information, read Forwarding rule concepts and Using protocol
|
|
6364
6385
|
# forwarding.
|
|
6365
|
-
# (== resource_for
|
|
6366
|
-
#
|
|
6367
|
-
#
|
|
6368
|
-
# resource_for v1.regionForwardingRules ==)
|
|
6386
|
+
# (== resource_for `$api_version`.forwardingRules ==) (== resource_for `$
|
|
6387
|
+
# api_version`.globalForwardingRules ==) (== resource_for `$api_version`.
|
|
6388
|
+
# regionForwardingRules ==)
|
|
6369
6389
|
class ForwardingRule
|
|
6370
6390
|
include Google::Apis::Core::Hashable
|
|
6371
6391
|
|
|
@@ -6412,6 +6432,15 @@ module Google
|
|
|
6412
6432
|
attr_accessor :all_ports
|
|
6413
6433
|
alias_method :all_ports?, :all_ports
|
|
6414
6434
|
|
|
6435
|
+
# This field is used along with the backend_service field for internal load
|
|
6436
|
+
# balancing or with the target field for internal TargetInstance. If the field
|
|
6437
|
+
# is set to TRUE, clients can access ILB from all regions. Otherwise only allows
|
|
6438
|
+
# access from clients in the same region as the internal load balancer.
|
|
6439
|
+
# Corresponds to the JSON property `allowGlobalAccess`
|
|
6440
|
+
# @return [Boolean]
|
|
6441
|
+
attr_accessor :allow_global_access
|
|
6442
|
+
alias_method :allow_global_access?, :allow_global_access
|
|
6443
|
+
|
|
6415
6444
|
# This field is only used for INTERNAL load balancing.
|
|
6416
6445
|
# For internal load balancing, this field identifies the BackendService resource
|
|
6417
6446
|
# to receive the matched traffic.
|
|
@@ -6430,6 +6459,18 @@ module Google
|
|
|
6430
6459
|
# @return [String]
|
|
6431
6460
|
attr_accessor :description
|
|
6432
6461
|
|
|
6462
|
+
# Fingerprint of this resource. A hash of the contents stored in this object.
|
|
6463
|
+
# This field is used in optimistic locking. This field will be ignored when
|
|
6464
|
+
# inserting a ForwardingRule. Include the fingerprint in patch request to ensure
|
|
6465
|
+
# that you do not overwrite changes that were applied from another concurrent
|
|
6466
|
+
# request.
|
|
6467
|
+
# To see the latest fingerprint, make a get() request to retrieve a
|
|
6468
|
+
# ForwardingRule.
|
|
6469
|
+
# Corresponds to the JSON property `fingerprint`
|
|
6470
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
6471
|
+
# @return [String]
|
|
6472
|
+
attr_accessor :fingerprint
|
|
6473
|
+
|
|
6433
6474
|
# [Output Only] The unique identifier for the resource. This identifier is
|
|
6434
6475
|
# defined by the server.
|
|
6435
6476
|
# Corresponds to the JSON property `id`
|
|
@@ -6443,19 +6484,36 @@ module Google
|
|
|
6443
6484
|
# @return [String]
|
|
6444
6485
|
attr_accessor :ip_version
|
|
6445
6486
|
|
|
6487
|
+
# Indicates whether or not this load balancer can be used as a collector for
|
|
6488
|
+
# packet mirroring. To prevent mirroring loops, instances behind this load
|
|
6489
|
+
# balancer will not have their traffic mirrored even if a PacketMirroring rule
|
|
6490
|
+
# applies to them. This can only be set to true for load balancers that have
|
|
6491
|
+
# their loadBalancingScheme set to INTERNAL.
|
|
6492
|
+
# Corresponds to the JSON property `isMirroringCollector`
|
|
6493
|
+
# @return [Boolean]
|
|
6494
|
+
attr_accessor :is_mirroring_collector
|
|
6495
|
+
alias_method :is_mirroring_collector?, :is_mirroring_collector
|
|
6496
|
+
|
|
6446
6497
|
# [Output Only] Type of the resource. Always compute#forwardingRule for
|
|
6447
6498
|
# Forwarding Rule resources.
|
|
6448
6499
|
# Corresponds to the JSON property `kind`
|
|
6449
6500
|
# @return [String]
|
|
6450
6501
|
attr_accessor :kind
|
|
6451
6502
|
|
|
6452
|
-
# Specifies the forwarding rule type.
|
|
6453
|
-
#
|
|
6454
|
-
#
|
|
6455
|
-
#
|
|
6503
|
+
# Specifies the forwarding rule type.
|
|
6504
|
+
#
|
|
6505
|
+
# - EXTERNAL is used for:
|
|
6506
|
+
# - Classic Cloud VPN gateways
|
|
6507
|
+
# - Protocol forwarding to VMs from an external IP address
|
|
6508
|
+
# - The following load balancers: HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/
|
|
6509
|
+
# UDP
|
|
6510
|
+
# - INTERNAL is used for:
|
|
6511
|
+
# - Protocol forwarding to VMs from an internal IP address
|
|
6456
6512
|
# - Internal TCP/UDP load balancers
|
|
6457
|
-
# INTERNAL_MANAGED is used for:
|
|
6458
|
-
#
|
|
6513
|
+
# - INTERNAL_MANAGED is used for:
|
|
6514
|
+
# - Internal HTTP(S) load balancers
|
|
6515
|
+
# - >INTERNAL_SELF_MANAGED is used for:
|
|
6516
|
+
# - Traffic Director
|
|
6459
6517
|
# For more information about forwarding rules, refer to Forwarding rule concepts.
|
|
6460
6518
|
# Corresponds to the JSON property `loadBalancingScheme`
|
|
6461
6519
|
# @return [String]
|
|
@@ -6589,8 +6647,8 @@ module Google
|
|
|
6589
6647
|
# forwarding rules, this target must live in the same region as the forwarding
|
|
6590
6648
|
# rule. For global forwarding rules, this target must be a global load balancing
|
|
6591
6649
|
# resource. The forwarded traffic must be of a type appropriate to the target
|
|
6592
|
-
# object. For INTERNAL_SELF_MANAGED load balancing, only
|
|
6593
|
-
#
|
|
6650
|
+
# object. For INTERNAL_SELF_MANAGED load balancing, only targetHttpProxy is
|
|
6651
|
+
# valid, not targetHttpsProxy.
|
|
6594
6652
|
# Corresponds to the JSON property `target`
|
|
6595
6653
|
# @return [String]
|
|
6596
6654
|
attr_accessor :target
|
|
@@ -6604,11 +6662,14 @@ module Google
|
|
|
6604
6662
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
6605
6663
|
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
|
|
6606
6664
|
@all_ports = args[:all_ports] if args.key?(:all_ports)
|
|
6665
|
+
@allow_global_access = args[:allow_global_access] if args.key?(:allow_global_access)
|
|
6607
6666
|
@backend_service = args[:backend_service] if args.key?(:backend_service)
|
|
6608
6667
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
6609
6668
|
@description = args[:description] if args.key?(:description)
|
|
6669
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
6610
6670
|
@id = args[:id] if args.key?(:id)
|
|
6611
6671
|
@ip_version = args[:ip_version] if args.key?(:ip_version)
|
|
6672
|
+
@is_mirroring_collector = args[:is_mirroring_collector] if args.key?(:is_mirroring_collector)
|
|
6612
6673
|
@kind = args[:kind] if args.key?(:kind)
|
|
6613
6674
|
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
|
6614
6675
|
@metadata_filters = args[:metadata_filters] if args.key?(:metadata_filters)
|
|
@@ -7215,20 +7276,13 @@ module Google
|
|
|
7215
7276
|
|
|
7216
7277
|
# Specifies how port is selected for health checking, can be one of following
|
|
7217
7278
|
# values:
|
|
7218
|
-
# USE_FIXED_PORT: The port number in
|
|
7219
|
-
#
|
|
7220
|
-
# is used for health checking.
|
|
7221
|
-
# USE_NAMED_PORT: The
|
|
7222
|
-
# portName
|
|
7223
|
-
# is used for health checking.
|
|
7279
|
+
# USE_FIXED_PORT: The port number in port is used for health checking.
|
|
7280
|
+
# USE_NAMED_PORT: The portName is used for health checking.
|
|
7224
7281
|
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
|
7225
7282
|
# network endpoint is used for health checking. For other backends, the port or
|
|
7226
7283
|
# named port specified in the Backend Service is used for health checking.
|
|
7227
|
-
# If not specified, HTTP2 health check follows behavior specified in
|
|
7228
|
-
#
|
|
7229
|
-
# and
|
|
7230
|
-
# portName
|
|
7231
|
-
# fields.
|
|
7284
|
+
# If not specified, HTTP2 health check follows behavior specified in port and
|
|
7285
|
+
# portName fields.
|
|
7232
7286
|
# Corresponds to the JSON property `portSpecification`
|
|
7233
7287
|
# @return [String]
|
|
7234
7288
|
attr_accessor :port_specification
|
|
@@ -7292,20 +7346,13 @@ module Google
|
|
|
7292
7346
|
|
|
7293
7347
|
# Specifies how port is selected for health checking, can be one of following
|
|
7294
7348
|
# values:
|
|
7295
|
-
# USE_FIXED_PORT: The port number in
|
|
7296
|
-
#
|
|
7297
|
-
# is used for health checking.
|
|
7298
|
-
# USE_NAMED_PORT: The
|
|
7299
|
-
# portName
|
|
7300
|
-
# is used for health checking.
|
|
7349
|
+
# USE_FIXED_PORT: The port number in port is used for health checking.
|
|
7350
|
+
# USE_NAMED_PORT: The portName is used for health checking.
|
|
7301
7351
|
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
|
7302
7352
|
# network endpoint is used for health checking. For other backends, the port or
|
|
7303
7353
|
# named port specified in the Backend Service is used for health checking.
|
|
7304
|
-
# If not specified, HTTP health check follows behavior specified in
|
|
7305
|
-
#
|
|
7306
|
-
# and
|
|
7307
|
-
# portName
|
|
7308
|
-
# fields.
|
|
7354
|
+
# If not specified, HTTP health check follows behavior specified in port and
|
|
7355
|
+
# portName fields.
|
|
7309
7356
|
# Corresponds to the JSON property `portSpecification`
|
|
7310
7357
|
# @return [String]
|
|
7311
7358
|
attr_accessor :port_specification
|
|
@@ -7369,20 +7416,13 @@ module Google
|
|
|
7369
7416
|
|
|
7370
7417
|
# Specifies how port is selected for health checking, can be one of following
|
|
7371
7418
|
# values:
|
|
7372
|
-
# USE_FIXED_PORT: The port number in
|
|
7373
|
-
#
|
|
7374
|
-
# is used for health checking.
|
|
7375
|
-
# USE_NAMED_PORT: The
|
|
7376
|
-
# portName
|
|
7377
|
-
# is used for health checking.
|
|
7419
|
+
# USE_FIXED_PORT: The port number in port is used for health checking.
|
|
7420
|
+
# USE_NAMED_PORT: The portName is used for health checking.
|
|
7378
7421
|
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
|
7379
7422
|
# network endpoint is used for health checking. For other backends, the port or
|
|
7380
7423
|
# named port specified in the Backend Service is used for health checking.
|
|
7381
|
-
# If not specified, HTTPS health check follows behavior specified in
|
|
7382
|
-
#
|
|
7383
|
-
# and
|
|
7384
|
-
# portName
|
|
7385
|
-
# fields.
|
|
7424
|
+
# If not specified, HTTPS health check follows behavior specified in port and
|
|
7425
|
+
# portName fields.
|
|
7386
7426
|
# Corresponds to the JSON property `portSpecification`
|
|
7387
7427
|
# @return [String]
|
|
7388
7428
|
attr_accessor :port_specification
|
|
@@ -7422,8 +7462,12 @@ module Google
|
|
|
7422
7462
|
end
|
|
7423
7463
|
|
|
7424
7464
|
# Represents a Health Check resource.
|
|
7425
|
-
#
|
|
7426
|
-
#
|
|
7465
|
+
# Google Compute Engine has two Health Check resources:
|
|
7466
|
+
# * [Global](/compute/docs/reference/rest/latest/healthChecks) * [Regional](/
|
|
7467
|
+
# compute/docs/reference/rest/latest/regionHealthChecks)
|
|
7468
|
+
# Internal HTTP(S) load balancers use regional health checks. All other types of
|
|
7469
|
+
# GCP load balancers and managed instance group auto-healing use global health
|
|
7470
|
+
# checks. For more information, read Health Check Concepts.
|
|
7427
7471
|
# To perform health checks on network load balancers, you must use either
|
|
7428
7472
|
# httpHealthChecks or httpsHealthChecks.
|
|
7429
7473
|
class HealthCheck
|
|
@@ -8202,7 +8246,7 @@ module Google
|
|
|
8202
8246
|
# @return [Google::Apis::ComputeV1::Int64RangeMatch]
|
|
8203
8247
|
attr_accessor :range_match
|
|
8204
8248
|
|
|
8205
|
-
# The value of the header must match the
|
|
8249
|
+
# The value of the header must match the regular expression specified in
|
|
8206
8250
|
# regexMatch. For regular expression grammar, please see: en.cppreference.com/w/
|
|
8207
8251
|
# cpp/regex/ecmascript
|
|
8208
8252
|
# For matching against a port specified in the HTTP request, use a headerMatch
|
|
@@ -8210,6 +8254,8 @@ module Google
|
|
|
8210
8254
|
# RFC2616 Host header's port specifier.
|
|
8211
8255
|
# Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or
|
|
8212
8256
|
# rangeMatch must be set.
|
|
8257
|
+
# Note that regexMatch only applies to Loadbalancers that have their
|
|
8258
|
+
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
|
8213
8259
|
# Corresponds to the JSON property `regexMatch`
|
|
8214
8260
|
# @return [String]
|
|
8215
8261
|
attr_accessor :regex_match
|
|
@@ -8527,6 +8573,8 @@ module Google
|
|
|
8527
8573
|
# regular expression specified by regexMatch. For the regular expression grammar,
|
|
8528
8574
|
# please see en.cppreference.com/w/cpp/regex/ecmascript
|
|
8529
8575
|
# Only one of presentMatch, exactMatch or regexMatch must be set.
|
|
8576
|
+
# Note that regexMatch only applies when the loadBalancingScheme is set to
|
|
8577
|
+
# INTERNAL_SELF_MANAGED.
|
|
8530
8578
|
# Corresponds to the JSON property `regexMatch`
|
|
8531
8579
|
# @return [String]
|
|
8532
8580
|
attr_accessor :regex_match
|
|
@@ -8568,7 +8616,9 @@ module Google
|
|
|
8568
8616
|
|
|
8569
8617
|
# The path that will be used in the redirect response instead of the one that
|
|
8570
8618
|
# was supplied in the request.
|
|
8571
|
-
#
|
|
8619
|
+
# pathRedirect cannot be supplied together with prefixRedirect. Supply one alone
|
|
8620
|
+
# or neither. If neither is supplied, the path of the original request will be
|
|
8621
|
+
# used for the redirect.
|
|
8572
8622
|
# The value must be between 1 and 1024 characters.
|
|
8573
8623
|
# Corresponds to the JSON property `pathRedirect`
|
|
8574
8624
|
# @return [String]
|
|
@@ -8576,6 +8626,10 @@ module Google
|
|
|
8576
8626
|
|
|
8577
8627
|
# The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch,
|
|
8578
8628
|
# retaining the remaining portion of the URL before redirecting the request.
|
|
8629
|
+
# prefixRedirect cannot be supplied together with pathRedirect. Supply one alone
|
|
8630
|
+
# or neither. If neither is supplied, the path of the original request will be
|
|
8631
|
+
# used for the redirect.
|
|
8632
|
+
# The value must be between 1 and 1024 characters.
|
|
8579
8633
|
# Corresponds to the JSON property `prefixRedirect`
|
|
8580
8634
|
# @return [String]
|
|
8581
8635
|
attr_accessor :prefix_redirect
|
|
@@ -8898,6 +8952,8 @@ module Google
|
|
|
8898
8952
|
# parameters and anchor supplied with the original URL. For regular expression
|
|
8899
8953
|
# grammar please see en.cppreference.com/w/cpp/regex/ecmascript
|
|
8900
8954
|
# Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
|
|
8955
|
+
# Note that regexMatch only applies to Loadbalancers that have their
|
|
8956
|
+
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
|
8901
8957
|
# Corresponds to the JSON property `regexMatch`
|
|
8902
8958
|
# @return [String]
|
|
8903
8959
|
attr_accessor :regex_match
|
|
@@ -9144,8 +9200,7 @@ module Google
|
|
|
9144
9200
|
|
|
9145
9201
|
# Represents an Image resource.
|
|
9146
9202
|
# You can use images to create boot disks for your VM instances. For more
|
|
9147
|
-
# information, read Images. (== resource_for
|
|
9148
|
-
# images ==)
|
|
9203
|
+
# information, read Images. (== resource_for `$api_version`.images ==)
|
|
9149
9204
|
class Image
|
|
9150
9205
|
include Google::Apis::Core::Hashable
|
|
9151
9206
|
|
|
@@ -9532,8 +9587,8 @@ module Google
|
|
|
9532
9587
|
|
|
9533
9588
|
# Represents an Instance resource.
|
|
9534
9589
|
# An instance is a virtual machine that is hosted on Google Cloud Platform. For
|
|
9535
|
-
# more information, read Virtual Machine Instances. (== resource_for
|
|
9536
|
-
# instances ==)
|
|
9590
|
+
# more information, read Virtual Machine Instances. (== resource_for `$
|
|
9591
|
+
# api_version`.instances ==)
|
|
9537
9592
|
class Instance
|
|
9538
9593
|
include Google::Apis::Core::Hashable
|
|
9539
9594
|
|
|
@@ -9897,9 +9952,8 @@ module Google
|
|
|
9897
9952
|
# groups of heterogeneous instances or if you need to manage the instances
|
|
9898
9953
|
# yourself. You cannot create regional unmanaged instance groups.
|
|
9899
9954
|
# For more information, read Instance groups.
|
|
9900
|
-
# (== resource_for
|
|
9901
|
-
#
|
|
9902
|
-
# regionInstanceGroups ==)
|
|
9955
|
+
# (== resource_for `$api_version`.instanceGroups ==) (== resource_for `$
|
|
9956
|
+
# api_version`.regionInstanceGroups ==)
|
|
9903
9957
|
class InstanceGroup
|
|
9904
9958
|
include Google::Apis::Core::Hashable
|
|
9905
9959
|
|
|
@@ -10246,9 +10300,8 @@ module Google
|
|
|
10246
10300
|
# single entity. For more information, read Instance groups.
|
|
10247
10301
|
# For zonal Managed Instance Group, use the instanceGroupManagers resource.
|
|
10248
10302
|
# For regional Managed Instance Group, use the regionInstanceGroupManagers
|
|
10249
|
-
# resource. (== resource_for
|
|
10250
|
-
#
|
|
10251
|
-
# (== resource_for v1.regionInstanceGroupManagers ==)
|
|
10303
|
+
# resource. (== resource_for `$api_version`.instanceGroupManagers ==) (==
|
|
10304
|
+
# resource_for `$api_version`.regionInstanceGroupManagers ==)
|
|
10252
10305
|
class InstanceGroupManager
|
|
10253
10306
|
include Google::Apis::Core::Hashable
|
|
10254
10307
|
|
|
@@ -10940,6 +10993,53 @@ module Google
|
|
|
10940
10993
|
end
|
|
10941
10994
|
end
|
|
10942
10995
|
|
|
10996
|
+
# InstanceGroupManagers.applyUpdatesToInstances
|
|
10997
|
+
class InstanceGroupManagersApplyUpdatesRequest
|
|
10998
|
+
include Google::Apis::Core::Hashable
|
|
10999
|
+
|
|
11000
|
+
# The list of URLs of one or more instances for which you want to apply updates.
|
|
11001
|
+
# Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
|
|
11002
|
+
# INSTANCE_NAME].
|
|
11003
|
+
# Corresponds to the JSON property `instances`
|
|
11004
|
+
# @return [Array<String>]
|
|
11005
|
+
attr_accessor :instances
|
|
11006
|
+
|
|
11007
|
+
# The minimal action that you want to perform on each instance during the update:
|
|
11008
|
+
#
|
|
11009
|
+
# - REPLACE: At minimum, delete the instance and create it again.
|
|
11010
|
+
# - RESTART: Stop the instance and start it again.
|
|
11011
|
+
# - REFRESH: Do not stop the instance.
|
|
11012
|
+
# - NONE: Do not disrupt the instance at all. By default, the minimum action is
|
|
11013
|
+
# NONE. If your update requires a more disruptive action than you set with this
|
|
11014
|
+
# flag, the necessary action is performed to execute the update.
|
|
11015
|
+
# Corresponds to the JSON property `minimalAction`
|
|
11016
|
+
# @return [String]
|
|
11017
|
+
attr_accessor :minimal_action
|
|
11018
|
+
|
|
11019
|
+
# The most disruptive action that you want to perform on each instance during
|
|
11020
|
+
# the update:
|
|
11021
|
+
# - REPLACE: Delete the instance and create it again.
|
|
11022
|
+
# - RESTART: Stop the instance and start it again.
|
|
11023
|
+
# - REFRESH: Do not stop the instance.
|
|
11024
|
+
# - NONE: Do not disrupt the instance at all. By default, the most disruptive
|
|
11025
|
+
# allowed action is REPLACE. If your update requires a more disruptive action
|
|
11026
|
+
# than you set with this flag, the update request will fail.
|
|
11027
|
+
# Corresponds to the JSON property `mostDisruptiveAllowedAction`
|
|
11028
|
+
# @return [String]
|
|
11029
|
+
attr_accessor :most_disruptive_allowed_action
|
|
11030
|
+
|
|
11031
|
+
def initialize(**args)
|
|
11032
|
+
update!(**args)
|
|
11033
|
+
end
|
|
11034
|
+
|
|
11035
|
+
# Update properties of this object
|
|
11036
|
+
def update!(**args)
|
|
11037
|
+
@instances = args[:instances] if args.key?(:instances)
|
|
11038
|
+
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
|
11039
|
+
@most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
|
|
11040
|
+
end
|
|
11041
|
+
end
|
|
11042
|
+
|
|
10943
11043
|
# InstanceGroupManagers.createInstances
|
|
10944
11044
|
class InstanceGroupManagersCreateInstancesRequest
|
|
10945
11045
|
include Google::Apis::Core::Hashable
|
|
@@ -11868,8 +11968,8 @@ module Google
|
|
|
11868
11968
|
|
|
11869
11969
|
# Represents an Instance Template resource.
|
|
11870
11970
|
# You can use instance templates to create VM instances and managed instance
|
|
11871
|
-
# groups. For more information, read Instance Templates. (== resource_for
|
|
11872
|
-
# instanceTemplates ==)
|
|
11971
|
+
# groups. For more information, read Instance Templates. (== resource_for `$
|
|
11972
|
+
# api_version`.instanceTemplates ==)
|
|
11873
11973
|
class InstanceTemplate
|
|
11874
11974
|
include Google::Apis::Core::Hashable
|
|
11875
11975
|
|
|
@@ -12356,8 +12456,7 @@ module Google
|
|
|
12356
12456
|
# Represents an Interconnect resource.
|
|
12357
12457
|
# An Interconnect resource is a dedicated connection between the GCP network and
|
|
12358
12458
|
# your on-premises network. For more information, read the Dedicated
|
|
12359
|
-
# Interconnect Overview. (== resource_for
|
|
12360
|
-
# beta.interconnects ==)
|
|
12459
|
+
# Interconnect Overview. (== resource_for `$api_version`.interconnects ==)
|
|
12361
12460
|
class Interconnect
|
|
12362
12461
|
include Google::Apis::Core::Hashable
|
|
12363
12462
|
|
|
@@ -12551,8 +12650,8 @@ module Google
|
|
|
12551
12650
|
# Represents an Interconnect Attachment (VLAN) resource.
|
|
12552
12651
|
# You can use Interconnect attachments (VLANS) to connect your Virtual Private
|
|
12553
12652
|
# Cloud networks to your on-premises networks through an Interconnect. For more
|
|
12554
|
-
# information, read Creating VLAN Attachments. (== resource_for
|
|
12555
|
-
# interconnectAttachments ==)
|
|
12653
|
+
# information, read Creating VLAN Attachments. (== resource_for `$api_version`.
|
|
12654
|
+
# interconnectAttachments ==)
|
|
12556
12655
|
class InterconnectAttachment
|
|
12557
12656
|
include Google::Apis::Core::Hashable
|
|
12558
12657
|
|
|
@@ -12589,7 +12688,7 @@ module Google
|
|
|
12589
12688
|
# prefixes must be within link-local address space (169.254.0.0/16) and must be /
|
|
12590
12689
|
# 29 or shorter (/28, /27, etc). Google will attempt to select an unused /29
|
|
12591
12690
|
# from the supplied candidate prefix(es). The request will fail if all possible /
|
|
12592
|
-
# 29s are in use on Google
|
|
12691
|
+
# 29s are in use on Google's edge. If not supplied, Google will randomly select
|
|
12593
12692
|
# an unused /29 from all of link-local space.
|
|
12594
12693
|
# Corresponds to the JSON property `candidateSubnets`
|
|
12595
12694
|
# @return [Array<String>]
|
|
@@ -13038,7 +13137,7 @@ module Google
|
|
|
13038
13137
|
include Google::Apis::Core::Hashable
|
|
13039
13138
|
|
|
13040
13139
|
# Plain text name of the Interconnect this attachment is connected to, as
|
|
13041
|
-
# displayed in the Partner
|
|
13140
|
+
# displayed in the Partner's portal. For instance "Chicago 1". This value may be
|
|
13042
13141
|
# validated to match approved Partner values.
|
|
13043
13142
|
# Corresponds to the JSON property `interconnectName`
|
|
13044
13143
|
# @return [String]
|
|
@@ -13050,7 +13149,7 @@ module Google
|
|
|
13050
13149
|
# @return [String]
|
|
13051
13150
|
attr_accessor :partner_name
|
|
13052
13151
|
|
|
13053
|
-
# URL of the Partner
|
|
13152
|
+
# URL of the Partner's portal for this Attachment. Partners may customise this
|
|
13054
13153
|
# to be a deep link to the specific resource on the Partner portal. This value
|
|
13055
13154
|
# may be validated to match approved Partner values.
|
|
13056
13155
|
# Corresponds to the JSON property `portalUrl`
|
|
@@ -13216,7 +13315,7 @@ module Google
|
|
|
13216
13315
|
end
|
|
13217
13316
|
|
|
13218
13317
|
# Diagnostics information about interconnect, contains detailed and current
|
|
13219
|
-
# technical information about Google
|
|
13318
|
+
# technical information about Google's side of the connection.
|
|
13220
13319
|
class InterconnectDiagnostics
|
|
13221
13320
|
include Google::Apis::Core::Hashable
|
|
13222
13321
|
|
|
@@ -13279,12 +13378,12 @@ module Google
|
|
|
13279
13378
|
class InterconnectDiagnosticsLinkLacpStatus
|
|
13280
13379
|
include Google::Apis::Core::Hashable
|
|
13281
13380
|
|
|
13282
|
-
# System ID of the port on Google
|
|
13381
|
+
# System ID of the port on Google's side of the LACP exchange.
|
|
13283
13382
|
# Corresponds to the JSON property `googleSystemId`
|
|
13284
13383
|
# @return [String]
|
|
13285
13384
|
attr_accessor :google_system_id
|
|
13286
13385
|
|
|
13287
|
-
# System ID of the port on the neighbor
|
|
13386
|
+
# System ID of the port on the neighbor's side of the LACP exchange.
|
|
13288
13387
|
# Corresponds to the JSON property `neighborSystemId`
|
|
13289
13388
|
# @return [String]
|
|
13290
13389
|
attr_accessor :neighbor_system_id
|
|
@@ -13872,7 +13971,7 @@ module Google
|
|
|
13872
13971
|
include Google::Apis::Core::Hashable
|
|
13873
13972
|
|
|
13874
13973
|
# Diagnostics information about interconnect, contains detailed and current
|
|
13875
|
-
# technical information about Google
|
|
13974
|
+
# technical information about Google's side of the connection.
|
|
13876
13975
|
# Corresponds to the JSON property `result`
|
|
13877
13976
|
# @return [Google::Apis::ComputeV1::InterconnectDiagnostics]
|
|
13878
13977
|
attr_accessor :result
|
|
@@ -14371,7 +14470,7 @@ module Google
|
|
|
14371
14470
|
# Represents a Machine Type resource.
|
|
14372
14471
|
# You can use specific machine types for your VM instances based on performance
|
|
14373
14472
|
# and pricing requirements. For more information, read Machine Types. (==
|
|
14374
|
-
# resource_for
|
|
14473
|
+
# resource_for `$api_version`.machineTypes ==)
|
|
14375
14474
|
class MachineType
|
|
14376
14475
|
include Google::Apis::Core::Hashable
|
|
14377
14476
|
|
|
@@ -14867,6 +14966,11 @@ module Google
|
|
|
14867
14966
|
# @return [String]
|
|
14868
14967
|
attr_accessor :instance
|
|
14869
14968
|
|
|
14969
|
+
# [Output Only] Health state of the instance per health-check.
|
|
14970
|
+
# Corresponds to the JSON property `instanceHealth`
|
|
14971
|
+
# @return [Array<Google::Apis::ComputeV1::ManagedInstanceInstanceHealth>]
|
|
14972
|
+
attr_accessor :instance_health
|
|
14973
|
+
|
|
14870
14974
|
# [Output Only] The status of the instance. This field is empty when the
|
|
14871
14975
|
# instance does not exist.
|
|
14872
14976
|
# Corresponds to the JSON property `instanceStatus`
|
|
@@ -14893,12 +14997,39 @@ module Google
|
|
|
14893
14997
|
@current_action = args[:current_action] if args.key?(:current_action)
|
|
14894
14998
|
@id = args[:id] if args.key?(:id)
|
|
14895
14999
|
@instance = args[:instance] if args.key?(:instance)
|
|
15000
|
+
@instance_health = args[:instance_health] if args.key?(:instance_health)
|
|
14896
15001
|
@instance_status = args[:instance_status] if args.key?(:instance_status)
|
|
14897
15002
|
@last_attempt = args[:last_attempt] if args.key?(:last_attempt)
|
|
14898
15003
|
@version = args[:version] if args.key?(:version)
|
|
14899
15004
|
end
|
|
14900
15005
|
end
|
|
14901
15006
|
|
|
15007
|
+
#
|
|
15008
|
+
class ManagedInstanceInstanceHealth
|
|
15009
|
+
include Google::Apis::Core::Hashable
|
|
15010
|
+
|
|
15011
|
+
# [Output Only] The current detailed instance health state.
|
|
15012
|
+
# Corresponds to the JSON property `detailedHealthState`
|
|
15013
|
+
# @return [String]
|
|
15014
|
+
attr_accessor :detailed_health_state
|
|
15015
|
+
|
|
15016
|
+
# [Output Only] The URL for the health check that verifies whether the instance
|
|
15017
|
+
# is healthy.
|
|
15018
|
+
# Corresponds to the JSON property `healthCheck`
|
|
15019
|
+
# @return [String]
|
|
15020
|
+
attr_accessor :health_check
|
|
15021
|
+
|
|
15022
|
+
def initialize(**args)
|
|
15023
|
+
update!(**args)
|
|
15024
|
+
end
|
|
15025
|
+
|
|
15026
|
+
# Update properties of this object
|
|
15027
|
+
def update!(**args)
|
|
15028
|
+
@detailed_health_state = args[:detailed_health_state] if args.key?(:detailed_health_state)
|
|
15029
|
+
@health_check = args[:health_check] if args.key?(:health_check)
|
|
15030
|
+
end
|
|
15031
|
+
end
|
|
15032
|
+
|
|
14902
15033
|
#
|
|
14903
15034
|
class ManagedInstanceLastAttempt
|
|
14904
15035
|
include Google::Apis::Core::Hashable
|
|
@@ -15171,8 +15302,8 @@ module Google
|
|
|
15171
15302
|
|
|
15172
15303
|
# Represents a VPC Network resource.
|
|
15173
15304
|
# Networks connect resources to each other and to the internet. For more
|
|
15174
|
-
# information, read Virtual Private Cloud (VPC) Network. (== resource_for
|
|
15175
|
-
# networks ==)
|
|
15305
|
+
# information, read Virtual Private Cloud (VPC) Network. (== resource_for `$
|
|
15306
|
+
# api_version`.networks ==)
|
|
15176
15307
|
class Network
|
|
15177
15308
|
include Google::Apis::Core::Hashable
|
|
15178
15309
|
|
|
@@ -15316,8 +15447,7 @@ module Google
|
|
|
15316
15447
|
|
|
15317
15448
|
# Represents a collection of network endpoints.
|
|
15318
15449
|
# For more information read Setting up network endpoint groups in load balancing.
|
|
15319
|
-
# (== resource_for
|
|
15320
|
-
# networkEndpointGroups ==) Next ID: 21
|
|
15450
|
+
# (== resource_for `$api_version`.networkEndpointGroups ==) Next ID: 21
|
|
15321
15451
|
class NetworkEndpointGroup
|
|
15322
15452
|
include Google::Apis::Core::Hashable
|
|
15323
15453
|
|
|
@@ -16346,8 +16476,7 @@ module Google
|
|
|
16346
16476
|
# instances only for your specific project. Use sole-tenant nodes to keep your
|
|
16347
16477
|
# instances physically separated from instances in other projects, or to group
|
|
16348
16478
|
# your instances together on the same host hardware. For more information, read
|
|
16349
|
-
# Sole-tenant nodes. (== resource_for
|
|
16350
|
-
# nodeGroups ==)
|
|
16479
|
+
# Sole-tenant nodes. (== resource_for `$api_version`.nodeGroups ==)
|
|
16351
16480
|
class NodeGroup
|
|
16352
16481
|
include Google::Apis::Core::Hashable
|
|
16353
16482
|
|
|
@@ -16978,8 +17107,8 @@ module Google
|
|
|
16978
17107
|
|
|
16979
17108
|
# Represent a sole-tenant Node Template resource.
|
|
16980
17109
|
# You can use a template to define properties for nodes in a node group. For
|
|
16981
|
-
# more information, read Creating node groups and instances. (== resource_for
|
|
16982
|
-
#
|
|
17110
|
+
# more information, read Creating node groups and instances. (== resource_for `$
|
|
17111
|
+
# api_version`.nodeTemplates ==) (== NextID: 18 ==)
|
|
16983
17112
|
class NodeTemplate
|
|
16984
17113
|
include Google::Apis::Core::Hashable
|
|
16985
17114
|
|
|
@@ -17452,7 +17581,7 @@ module Google
|
|
|
17452
17581
|
# total amount of cores and memory for that node. Currently, the only available
|
|
17453
17582
|
# node type is n1-node-96-624 node type that has 96 vCPUs and 624 GB of memory,
|
|
17454
17583
|
# available in multiple zones. For more information read Node types. (==
|
|
17455
|
-
# resource_for
|
|
17584
|
+
# resource_for `$api_version`.nodeTypes ==)
|
|
17456
17585
|
class NodeType
|
|
17457
17586
|
include Google::Apis::Core::Hashable
|
|
17458
17587
|
|
|
@@ -17868,6 +17997,10 @@ module Google
|
|
|
17868
17997
|
end
|
|
17869
17998
|
|
|
17870
17999
|
# Represents an Operation resource.
|
|
18000
|
+
# Google Compute Engine has three Operation resources:
|
|
18001
|
+
# * [Global](/compute/docs/reference/rest/latest/globalOperations) * [Regional](/
|
|
18002
|
+
# compute/docs/reference/rest/latest/regionOperations) * [Zonal](/compute/docs/
|
|
18003
|
+
# reference/rest/latest/zoneOperations)
|
|
17871
18004
|
# You can use an operation resource to manage asynchronous API requests. For
|
|
17872
18005
|
# more information, read Handling API responses.
|
|
17873
18006
|
# Operations can be global, regional or zonal.
|
|
@@ -17875,10 +18008,9 @@ module Google
|
|
|
17875
18008
|
# - For regional operations, use the regionOperations resource.
|
|
17876
18009
|
# - For zonal operations, use the zonalOperations resource.
|
|
17877
18010
|
# For more information, read Global, Regional, and Zonal Resources. (==
|
|
17878
|
-
# resource_for
|
|
17879
|
-
#
|
|
17880
|
-
#
|
|
17881
|
-
# beta.zoneOperations ==)
|
|
18011
|
+
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
|
18012
|
+
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
|
18013
|
+
# zoneOperations ==)
|
|
17882
18014
|
class Operation
|
|
17883
18015
|
include Google::Apis::Core::Hashable
|
|
17884
18016
|
|
|
@@ -18606,49 +18738,21 @@ module Google
|
|
|
18606
18738
|
end
|
|
18607
18739
|
end
|
|
18608
18740
|
|
|
18609
|
-
#
|
|
18610
|
-
|
|
18611
|
-
# will be used.
|
|
18612
|
-
class PathMatcher
|
|
18741
|
+
# Represents a PacketMirroring resource.
|
|
18742
|
+
class PacketMirroring
|
|
18613
18743
|
include Google::Apis::Core::Hashable
|
|
18614
18744
|
|
|
18615
|
-
#
|
|
18616
|
-
#
|
|
18617
|
-
#
|
|
18618
|
-
#
|
|
18619
|
-
#
|
|
18620
|
-
|
|
18621
|
-
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
|
18622
|
-
# Corresponds to the JSON property `defaultRouteAction`
|
|
18623
|
-
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
|
18624
|
-
attr_accessor :default_route_action
|
|
18745
|
+
# The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be
|
|
18746
|
+
# used as collector for mirrored traffic. The specified forwarding rule must
|
|
18747
|
+
# have isMirroringCollector set to true.
|
|
18748
|
+
# Corresponds to the JSON property `collectorIlb`
|
|
18749
|
+
# @return [Google::Apis::ComputeV1::PacketMirroringForwardingRuleInfo]
|
|
18750
|
+
attr_accessor :collector_ilb
|
|
18625
18751
|
|
|
18626
|
-
#
|
|
18627
|
-
#
|
|
18628
|
-
# For example, the following are all valid URLs to a BackendService resource:
|
|
18629
|
-
# - https://www.googleapis.com/compute/v1/projects/project/global/
|
|
18630
|
-
# backendServices/backendService
|
|
18631
|
-
# - compute/v1/projects/project/global/backendServices/backendService
|
|
18632
|
-
# - global/backendServices/backendService If defaultRouteAction is additionally
|
|
18633
|
-
# specified, advanced routing actions like URL Rewrites, etc. take effect prior
|
|
18634
|
-
# to sending the request to the backend. However, if defaultService is specified,
|
|
18635
|
-
# defaultRouteAction cannot contain any weightedBackendServices. Conversely, if
|
|
18636
|
-
# defaultRouteAction specifies any weightedBackendServices, defaultService must
|
|
18637
|
-
# not be specified.
|
|
18638
|
-
# Only one of defaultService, defaultUrlRedirect or defaultRouteAction.
|
|
18639
|
-
# weightedBackendService must be set.
|
|
18640
|
-
# Authorization requires one or more of the following Google IAM permissions on
|
|
18641
|
-
# the specified resource default_service:
|
|
18642
|
-
# - compute.backendBuckets.use
|
|
18643
|
-
# - compute.backendServices.use
|
|
18644
|
-
# Corresponds to the JSON property `defaultService`
|
|
18752
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
18753
|
+
# Corresponds to the JSON property `creationTimestamp`
|
|
18645
18754
|
# @return [String]
|
|
18646
|
-
attr_accessor :
|
|
18647
|
-
|
|
18648
|
-
# Specifies settings for an HTTP redirect.
|
|
18649
|
-
# Corresponds to the JSON property `defaultUrlRedirect`
|
|
18650
|
-
# @return [Google::Apis::ComputeV1::HttpRedirectAction]
|
|
18651
|
-
attr_accessor :default_url_redirect
|
|
18755
|
+
attr_accessor :creation_timestamp
|
|
18652
18756
|
|
|
18653
18757
|
# An optional description of this resource. Provide this property when you
|
|
18654
18758
|
# create the resource.
|
|
@@ -18656,36 +18760,72 @@ module Google
|
|
|
18656
18760
|
# @return [String]
|
|
18657
18761
|
attr_accessor :description
|
|
18658
18762
|
|
|
18659
|
-
#
|
|
18660
|
-
#
|
|
18661
|
-
#
|
|
18662
|
-
#
|
|
18663
|
-
|
|
18763
|
+
# Indicates whether or not this packet mirroring takes effect. If set to FALSE,
|
|
18764
|
+
# this packet mirroring policy will not be enforced on the network.
|
|
18765
|
+
# The default is TRUE.
|
|
18766
|
+
# Corresponds to the JSON property `enable`
|
|
18767
|
+
# @return [String]
|
|
18768
|
+
attr_accessor :enable
|
|
18664
18769
|
|
|
18665
|
-
#
|
|
18770
|
+
# Filter for mirrored traffic. If unspecified, all traffic is mirrored.
|
|
18771
|
+
# Corresponds to the JSON property `filter`
|
|
18772
|
+
# @return [Google::Apis::ComputeV1::PacketMirroringFilter]
|
|
18773
|
+
attr_accessor :filter
|
|
18774
|
+
|
|
18775
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
|
18776
|
+
# defined by the server.
|
|
18777
|
+
# Corresponds to the JSON property `id`
|
|
18778
|
+
# @return [Fixnum]
|
|
18779
|
+
attr_accessor :id
|
|
18780
|
+
|
|
18781
|
+
# [Output Only] Type of the resource. Always compute#packetMirroring for packet
|
|
18782
|
+
# mirrorings.
|
|
18783
|
+
# Corresponds to the JSON property `kind`
|
|
18784
|
+
# @return [String]
|
|
18785
|
+
attr_accessor :kind
|
|
18786
|
+
|
|
18787
|
+
# PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of
|
|
18788
|
+
# mirrored VM instances, subnetworks and/or tags for which traffic from/to all
|
|
18789
|
+
# VM instances will be mirrored.
|
|
18790
|
+
# Corresponds to the JSON property `mirroredResources`
|
|
18791
|
+
# @return [Google::Apis::ComputeV1::PacketMirroringMirroredResourceInfo]
|
|
18792
|
+
attr_accessor :mirrored_resources
|
|
18793
|
+
|
|
18794
|
+
# Name of the resource; provided by the client when the resource is created. The
|
|
18795
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
|
18796
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
|
18797
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
|
18798
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
|
18799
|
+
# except the last character, which cannot be a dash.
|
|
18666
18800
|
# Corresponds to the JSON property `name`
|
|
18667
18801
|
# @return [String]
|
|
18668
18802
|
attr_accessor :name
|
|
18669
18803
|
|
|
18670
|
-
#
|
|
18671
|
-
#
|
|
18672
|
-
#
|
|
18673
|
-
#
|
|
18674
|
-
#
|
|
18675
|
-
|
|
18676
|
-
# Within a given pathMatcher, only one of pathRules or routeRules must be set.
|
|
18677
|
-
# Corresponds to the JSON property `pathRules`
|
|
18678
|
-
# @return [Array<Google::Apis::ComputeV1::PathRule>]
|
|
18679
|
-
attr_accessor :path_rules
|
|
18804
|
+
# Specifies the mirrored VPC network. Only packets in this network will be
|
|
18805
|
+
# mirrored. All mirrored VMs should have a NIC in the given network. All
|
|
18806
|
+
# mirrored subnetworks should belong to the given network.
|
|
18807
|
+
# Corresponds to the JSON property `network`
|
|
18808
|
+
# @return [Google::Apis::ComputeV1::PacketMirroringNetworkInfo]
|
|
18809
|
+
attr_accessor :network
|
|
18680
18810
|
|
|
18681
|
-
# The
|
|
18682
|
-
#
|
|
18683
|
-
#
|
|
18684
|
-
#
|
|
18685
|
-
#
|
|
18686
|
-
# Corresponds to the JSON property `
|
|
18687
|
-
# @return [
|
|
18688
|
-
attr_accessor :
|
|
18811
|
+
# The priority of applying this configuration. Priority is used to break ties in
|
|
18812
|
+
# cases where there is more than one matching rule. In the case of two rules
|
|
18813
|
+
# that apply for a given Instance, the one with the lowest-numbered priority
|
|
18814
|
+
# value wins.
|
|
18815
|
+
# Default value is 1000. Valid range is 0 through 65535.
|
|
18816
|
+
# Corresponds to the JSON property `priority`
|
|
18817
|
+
# @return [Fixnum]
|
|
18818
|
+
attr_accessor :priority
|
|
18819
|
+
|
|
18820
|
+
# [Output Only] URI of the region where the packetMirroring resides.
|
|
18821
|
+
# Corresponds to the JSON property `region`
|
|
18822
|
+
# @return [String]
|
|
18823
|
+
attr_accessor :region
|
|
18824
|
+
|
|
18825
|
+
# [Output Only] Server-defined URL for the resource.
|
|
18826
|
+
# Corresponds to the JSON property `selfLink`
|
|
18827
|
+
# @return [String]
|
|
18828
|
+
attr_accessor :self_link
|
|
18689
18829
|
|
|
18690
18830
|
def initialize(**args)
|
|
18691
18831
|
update!(**args)
|
|
@@ -18693,56 +18833,59 @@ module Google
|
|
|
18693
18833
|
|
|
18694
18834
|
# Update properties of this object
|
|
18695
18835
|
def update!(**args)
|
|
18696
|
-
@
|
|
18697
|
-
@
|
|
18698
|
-
@default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
|
|
18836
|
+
@collector_ilb = args[:collector_ilb] if args.key?(:collector_ilb)
|
|
18837
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
18699
18838
|
@description = args[:description] if args.key?(:description)
|
|
18700
|
-
@
|
|
18839
|
+
@enable = args[:enable] if args.key?(:enable)
|
|
18840
|
+
@filter = args[:filter] if args.key?(:filter)
|
|
18841
|
+
@id = args[:id] if args.key?(:id)
|
|
18842
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
18843
|
+
@mirrored_resources = args[:mirrored_resources] if args.key?(:mirrored_resources)
|
|
18701
18844
|
@name = args[:name] if args.key?(:name)
|
|
18702
|
-
@
|
|
18703
|
-
@
|
|
18845
|
+
@network = args[:network] if args.key?(:network)
|
|
18846
|
+
@priority = args[:priority] if args.key?(:priority)
|
|
18847
|
+
@region = args[:region] if args.key?(:region)
|
|
18848
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
18704
18849
|
end
|
|
18705
18850
|
end
|
|
18706
18851
|
|
|
18707
|
-
#
|
|
18708
|
-
|
|
18709
|
-
class PathRule
|
|
18852
|
+
# Contains a list of packetMirrorings.
|
|
18853
|
+
class PacketMirroringAggregatedList
|
|
18710
18854
|
include Google::Apis::Core::Hashable
|
|
18711
18855
|
|
|
18712
|
-
#
|
|
18713
|
-
#
|
|
18714
|
-
#
|
|
18715
|
-
|
|
18716
|
-
# Corresponds to the JSON property `paths`
|
|
18717
|
-
# @return [Array<String>]
|
|
18718
|
-
attr_accessor :paths
|
|
18856
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
18857
|
+
# Corresponds to the JSON property `id`
|
|
18858
|
+
# @return [String]
|
|
18859
|
+
attr_accessor :id
|
|
18719
18860
|
|
|
18720
|
-
#
|
|
18721
|
-
#
|
|
18722
|
-
#
|
|
18723
|
-
|
|
18724
|
-
# routeAction cannot contain any weightedBackendServices.
|
|
18725
|
-
# Only one of routeAction or urlRedirect must be set.
|
|
18726
|
-
# Corresponds to the JSON property `routeAction`
|
|
18727
|
-
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
|
18728
|
-
attr_accessor :route_action
|
|
18861
|
+
# A list of PacketMirroring resources.
|
|
18862
|
+
# Corresponds to the JSON property `items`
|
|
18863
|
+
# @return [Hash<String,Google::Apis::ComputeV1::PacketMirroringsScopedList>]
|
|
18864
|
+
attr_accessor :items
|
|
18729
18865
|
|
|
18730
|
-
#
|
|
18731
|
-
#
|
|
18732
|
-
# advanced routing actions like URL Rewrites, etc. take effect prior to sending
|
|
18733
|
-
# the request to the backend. However, if service is specified, routeAction
|
|
18734
|
-
# cannot contain any weightedBackendService s. Conversely, if routeAction
|
|
18735
|
-
# specifies any weightedBackendServices, service must not be specified.
|
|
18736
|
-
# Only one of urlRedirect, service or routeAction.weightedBackendService must be
|
|
18737
|
-
# set.
|
|
18738
|
-
# Corresponds to the JSON property `service`
|
|
18866
|
+
# Type of resource.
|
|
18867
|
+
# Corresponds to the JSON property `kind`
|
|
18739
18868
|
# @return [String]
|
|
18740
|
-
attr_accessor :
|
|
18869
|
+
attr_accessor :kind
|
|
18741
18870
|
|
|
18742
|
-
#
|
|
18743
|
-
#
|
|
18744
|
-
#
|
|
18745
|
-
|
|
18871
|
+
# [Output Only] This token allows you to get the next page of results for list
|
|
18872
|
+
# requests. If the number of results is larger than maxResults, use the
|
|
18873
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
|
18874
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
|
18875
|
+
# continue paging through the results.
|
|
18876
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
18877
|
+
# @return [String]
|
|
18878
|
+
attr_accessor :next_page_token
|
|
18879
|
+
|
|
18880
|
+
# [Output Only] Server-defined URL for this resource.
|
|
18881
|
+
# Corresponds to the JSON property `selfLink`
|
|
18882
|
+
# @return [String]
|
|
18883
|
+
attr_accessor :self_link
|
|
18884
|
+
|
|
18885
|
+
# [Output Only] Informational warning message.
|
|
18886
|
+
# Corresponds to the JSON property `warning`
|
|
18887
|
+
# @return [Google::Apis::ComputeV1::PacketMirroringAggregatedList::Warning]
|
|
18888
|
+
attr_accessor :warning
|
|
18746
18889
|
|
|
18747
18890
|
def initialize(**args)
|
|
18748
18891
|
update!(**args)
|
|
@@ -18750,10 +18893,605 @@ module Google
|
|
|
18750
18893
|
|
|
18751
18894
|
# Update properties of this object
|
|
18752
18895
|
def update!(**args)
|
|
18753
|
-
@
|
|
18754
|
-
@
|
|
18755
|
-
@
|
|
18756
|
-
@
|
|
18896
|
+
@id = args[:id] if args.key?(:id)
|
|
18897
|
+
@items = args[:items] if args.key?(:items)
|
|
18898
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
18899
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
18900
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
18901
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
18902
|
+
end
|
|
18903
|
+
|
|
18904
|
+
# [Output Only] Informational warning message.
|
|
18905
|
+
class Warning
|
|
18906
|
+
include Google::Apis::Core::Hashable
|
|
18907
|
+
|
|
18908
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
18909
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
18910
|
+
# Corresponds to the JSON property `code`
|
|
18911
|
+
# @return [String]
|
|
18912
|
+
attr_accessor :code
|
|
18913
|
+
|
|
18914
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
|
18915
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
18916
|
+
# Corresponds to the JSON property `data`
|
|
18917
|
+
# @return [Array<Google::Apis::ComputeV1::PacketMirroringAggregatedList::Warning::Datum>]
|
|
18918
|
+
attr_accessor :data
|
|
18919
|
+
|
|
18920
|
+
# [Output Only] A human-readable description of the warning code.
|
|
18921
|
+
# Corresponds to the JSON property `message`
|
|
18922
|
+
# @return [String]
|
|
18923
|
+
attr_accessor :message
|
|
18924
|
+
|
|
18925
|
+
def initialize(**args)
|
|
18926
|
+
update!(**args)
|
|
18927
|
+
end
|
|
18928
|
+
|
|
18929
|
+
# Update properties of this object
|
|
18930
|
+
def update!(**args)
|
|
18931
|
+
@code = args[:code] if args.key?(:code)
|
|
18932
|
+
@data = args[:data] if args.key?(:data)
|
|
18933
|
+
@message = args[:message] if args.key?(:message)
|
|
18934
|
+
end
|
|
18935
|
+
|
|
18936
|
+
#
|
|
18937
|
+
class Datum
|
|
18938
|
+
include Google::Apis::Core::Hashable
|
|
18939
|
+
|
|
18940
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
18941
|
+
# For example, for warnings where there are no results in a list request for a
|
|
18942
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
18943
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
18944
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
18945
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
18946
|
+
# for IP forwarding).
|
|
18947
|
+
# Corresponds to the JSON property `key`
|
|
18948
|
+
# @return [String]
|
|
18949
|
+
attr_accessor :key
|
|
18950
|
+
|
|
18951
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
18952
|
+
# Corresponds to the JSON property `value`
|
|
18953
|
+
# @return [String]
|
|
18954
|
+
attr_accessor :value
|
|
18955
|
+
|
|
18956
|
+
def initialize(**args)
|
|
18957
|
+
update!(**args)
|
|
18958
|
+
end
|
|
18959
|
+
|
|
18960
|
+
# Update properties of this object
|
|
18961
|
+
def update!(**args)
|
|
18962
|
+
@key = args[:key] if args.key?(:key)
|
|
18963
|
+
@value = args[:value] if args.key?(:value)
|
|
18964
|
+
end
|
|
18965
|
+
end
|
|
18966
|
+
end
|
|
18967
|
+
end
|
|
18968
|
+
|
|
18969
|
+
#
|
|
18970
|
+
class PacketMirroringFilter
|
|
18971
|
+
include Google::Apis::Core::Hashable
|
|
18972
|
+
|
|
18973
|
+
# Protocols that apply as filter on mirrored traffic. If no protocols are
|
|
18974
|
+
# specified, all traffic that matches the specified CIDR ranges is mirrored. If
|
|
18975
|
+
# neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
|
|
18976
|
+
# Corresponds to the JSON property `IPProtocols`
|
|
18977
|
+
# @return [Array<String>]
|
|
18978
|
+
attr_accessor :ip_protocols
|
|
18979
|
+
|
|
18980
|
+
# IP CIDR ranges that apply as filter on the source (ingress) or destination (
|
|
18981
|
+
# egress) IP in the IP header. Only IPv4 is supported. If no ranges are
|
|
18982
|
+
# specified, all traffic that matches the specified IPProtocols is mirrored. If
|
|
18983
|
+
# neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
|
|
18984
|
+
# Corresponds to the JSON property `cidrRanges`
|
|
18985
|
+
# @return [Array<String>]
|
|
18986
|
+
attr_accessor :cidr_ranges
|
|
18987
|
+
|
|
18988
|
+
def initialize(**args)
|
|
18989
|
+
update!(**args)
|
|
18990
|
+
end
|
|
18991
|
+
|
|
18992
|
+
# Update properties of this object
|
|
18993
|
+
def update!(**args)
|
|
18994
|
+
@ip_protocols = args[:ip_protocols] if args.key?(:ip_protocols)
|
|
18995
|
+
@cidr_ranges = args[:cidr_ranges] if args.key?(:cidr_ranges)
|
|
18996
|
+
end
|
|
18997
|
+
end
|
|
18998
|
+
|
|
18999
|
+
#
|
|
19000
|
+
class PacketMirroringForwardingRuleInfo
|
|
19001
|
+
include Google::Apis::Core::Hashable
|
|
19002
|
+
|
|
19003
|
+
# [Output Only] Unique identifier for the forwarding rule; defined by the server.
|
|
19004
|
+
# Corresponds to the JSON property `canonicalUrl`
|
|
19005
|
+
# @return [String]
|
|
19006
|
+
attr_accessor :canonical_url
|
|
19007
|
+
|
|
19008
|
+
# Resource URL to the forwarding rule representing the ILB configured as
|
|
19009
|
+
# destination of the mirrored traffic.
|
|
19010
|
+
# Corresponds to the JSON property `url`
|
|
19011
|
+
# @return [String]
|
|
19012
|
+
attr_accessor :url
|
|
19013
|
+
|
|
19014
|
+
def initialize(**args)
|
|
19015
|
+
update!(**args)
|
|
19016
|
+
end
|
|
19017
|
+
|
|
19018
|
+
# Update properties of this object
|
|
19019
|
+
def update!(**args)
|
|
19020
|
+
@canonical_url = args[:canonical_url] if args.key?(:canonical_url)
|
|
19021
|
+
@url = args[:url] if args.key?(:url)
|
|
19022
|
+
end
|
|
19023
|
+
end
|
|
19024
|
+
|
|
19025
|
+
# Contains a list of PacketMirroring resources.
|
|
19026
|
+
class PacketMirroringList
|
|
19027
|
+
include Google::Apis::Core::Hashable
|
|
19028
|
+
|
|
19029
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
19030
|
+
# Corresponds to the JSON property `id`
|
|
19031
|
+
# @return [String]
|
|
19032
|
+
attr_accessor :id
|
|
19033
|
+
|
|
19034
|
+
# A list of PacketMirroring resources.
|
|
19035
|
+
# Corresponds to the JSON property `items`
|
|
19036
|
+
# @return [Array<Google::Apis::ComputeV1::PacketMirroring>]
|
|
19037
|
+
attr_accessor :items
|
|
19038
|
+
|
|
19039
|
+
# [Output Only] Type of resource. Always compute#packetMirroring for
|
|
19040
|
+
# packetMirrorings.
|
|
19041
|
+
# Corresponds to the JSON property `kind`
|
|
19042
|
+
# @return [String]
|
|
19043
|
+
attr_accessor :kind
|
|
19044
|
+
|
|
19045
|
+
# [Output Only] This token allows you to get the next page of results for list
|
|
19046
|
+
# requests. If the number of results is larger than maxResults, use the
|
|
19047
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
|
19048
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
|
19049
|
+
# continue paging through the results.
|
|
19050
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
19051
|
+
# @return [String]
|
|
19052
|
+
attr_accessor :next_page_token
|
|
19053
|
+
|
|
19054
|
+
# [Output Only] Server-defined URL for this resource.
|
|
19055
|
+
# Corresponds to the JSON property `selfLink`
|
|
19056
|
+
# @return [String]
|
|
19057
|
+
attr_accessor :self_link
|
|
19058
|
+
|
|
19059
|
+
# [Output Only] Informational warning message.
|
|
19060
|
+
# Corresponds to the JSON property `warning`
|
|
19061
|
+
# @return [Google::Apis::ComputeV1::PacketMirroringList::Warning]
|
|
19062
|
+
attr_accessor :warning
|
|
19063
|
+
|
|
19064
|
+
def initialize(**args)
|
|
19065
|
+
update!(**args)
|
|
19066
|
+
end
|
|
19067
|
+
|
|
19068
|
+
# Update properties of this object
|
|
19069
|
+
def update!(**args)
|
|
19070
|
+
@id = args[:id] if args.key?(:id)
|
|
19071
|
+
@items = args[:items] if args.key?(:items)
|
|
19072
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
19073
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
19074
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
19075
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
19076
|
+
end
|
|
19077
|
+
|
|
19078
|
+
# [Output Only] Informational warning message.
|
|
19079
|
+
class Warning
|
|
19080
|
+
include Google::Apis::Core::Hashable
|
|
19081
|
+
|
|
19082
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
19083
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
19084
|
+
# Corresponds to the JSON property `code`
|
|
19085
|
+
# @return [String]
|
|
19086
|
+
attr_accessor :code
|
|
19087
|
+
|
|
19088
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
|
19089
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
19090
|
+
# Corresponds to the JSON property `data`
|
|
19091
|
+
# @return [Array<Google::Apis::ComputeV1::PacketMirroringList::Warning::Datum>]
|
|
19092
|
+
attr_accessor :data
|
|
19093
|
+
|
|
19094
|
+
# [Output Only] A human-readable description of the warning code.
|
|
19095
|
+
# Corresponds to the JSON property `message`
|
|
19096
|
+
# @return [String]
|
|
19097
|
+
attr_accessor :message
|
|
19098
|
+
|
|
19099
|
+
def initialize(**args)
|
|
19100
|
+
update!(**args)
|
|
19101
|
+
end
|
|
19102
|
+
|
|
19103
|
+
# Update properties of this object
|
|
19104
|
+
def update!(**args)
|
|
19105
|
+
@code = args[:code] if args.key?(:code)
|
|
19106
|
+
@data = args[:data] if args.key?(:data)
|
|
19107
|
+
@message = args[:message] if args.key?(:message)
|
|
19108
|
+
end
|
|
19109
|
+
|
|
19110
|
+
#
|
|
19111
|
+
class Datum
|
|
19112
|
+
include Google::Apis::Core::Hashable
|
|
19113
|
+
|
|
19114
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
19115
|
+
# For example, for warnings where there are no results in a list request for a
|
|
19116
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
19117
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
19118
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
19119
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
19120
|
+
# for IP forwarding).
|
|
19121
|
+
# Corresponds to the JSON property `key`
|
|
19122
|
+
# @return [String]
|
|
19123
|
+
attr_accessor :key
|
|
19124
|
+
|
|
19125
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
19126
|
+
# Corresponds to the JSON property `value`
|
|
19127
|
+
# @return [String]
|
|
19128
|
+
attr_accessor :value
|
|
19129
|
+
|
|
19130
|
+
def initialize(**args)
|
|
19131
|
+
update!(**args)
|
|
19132
|
+
end
|
|
19133
|
+
|
|
19134
|
+
# Update properties of this object
|
|
19135
|
+
def update!(**args)
|
|
19136
|
+
@key = args[:key] if args.key?(:key)
|
|
19137
|
+
@value = args[:value] if args.key?(:value)
|
|
19138
|
+
end
|
|
19139
|
+
end
|
|
19140
|
+
end
|
|
19141
|
+
end
|
|
19142
|
+
|
|
19143
|
+
#
|
|
19144
|
+
class PacketMirroringMirroredResourceInfo
|
|
19145
|
+
include Google::Apis::Core::Hashable
|
|
19146
|
+
|
|
19147
|
+
# A set of virtual machine instances that are being mirrored. They must live in
|
|
19148
|
+
# zones contained in the same region as this packetMirroring.
|
|
19149
|
+
# Note that this config will apply only to those network interfaces of the
|
|
19150
|
+
# Instances that belong to the network specified in this packetMirroring.
|
|
19151
|
+
# You may specify a maximum of 50 Instances.
|
|
19152
|
+
# Corresponds to the JSON property `instances`
|
|
19153
|
+
# @return [Array<Google::Apis::ComputeV1::PacketMirroringMirroredResourceInfoInstanceInfo>]
|
|
19154
|
+
attr_accessor :instances
|
|
19155
|
+
|
|
19156
|
+
# A set of subnetworks for which traffic from/to all VM instances will be
|
|
19157
|
+
# mirrored. They must live in the same region as this packetMirroring.
|
|
19158
|
+
# You may specify a maximum of 5 subnetworks.
|
|
19159
|
+
# Corresponds to the JSON property `subnetworks`
|
|
19160
|
+
# @return [Array<Google::Apis::ComputeV1::PacketMirroringMirroredResourceInfoSubnetInfo>]
|
|
19161
|
+
attr_accessor :subnetworks
|
|
19162
|
+
|
|
19163
|
+
# A set of mirrored tags. Traffic from/to all VM instances that have one or more
|
|
19164
|
+
# of these tags will be mirrored.
|
|
19165
|
+
# Corresponds to the JSON property `tags`
|
|
19166
|
+
# @return [Array<String>]
|
|
19167
|
+
attr_accessor :tags
|
|
19168
|
+
|
|
19169
|
+
def initialize(**args)
|
|
19170
|
+
update!(**args)
|
|
19171
|
+
end
|
|
19172
|
+
|
|
19173
|
+
# Update properties of this object
|
|
19174
|
+
def update!(**args)
|
|
19175
|
+
@instances = args[:instances] if args.key?(:instances)
|
|
19176
|
+
@subnetworks = args[:subnetworks] if args.key?(:subnetworks)
|
|
19177
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
19178
|
+
end
|
|
19179
|
+
end
|
|
19180
|
+
|
|
19181
|
+
#
|
|
19182
|
+
class PacketMirroringMirroredResourceInfoInstanceInfo
|
|
19183
|
+
include Google::Apis::Core::Hashable
|
|
19184
|
+
|
|
19185
|
+
# [Output Only] Unique identifier for the instance; defined by the server.
|
|
19186
|
+
# Corresponds to the JSON property `canonicalUrl`
|
|
19187
|
+
# @return [String]
|
|
19188
|
+
attr_accessor :canonical_url
|
|
19189
|
+
|
|
19190
|
+
# Resource URL to the virtual machine instance which is being mirrored.
|
|
19191
|
+
# Corresponds to the JSON property `url`
|
|
19192
|
+
# @return [String]
|
|
19193
|
+
attr_accessor :url
|
|
19194
|
+
|
|
19195
|
+
def initialize(**args)
|
|
19196
|
+
update!(**args)
|
|
19197
|
+
end
|
|
19198
|
+
|
|
19199
|
+
# Update properties of this object
|
|
19200
|
+
def update!(**args)
|
|
19201
|
+
@canonical_url = args[:canonical_url] if args.key?(:canonical_url)
|
|
19202
|
+
@url = args[:url] if args.key?(:url)
|
|
19203
|
+
end
|
|
19204
|
+
end
|
|
19205
|
+
|
|
19206
|
+
#
|
|
19207
|
+
class PacketMirroringMirroredResourceInfoSubnetInfo
|
|
19208
|
+
include Google::Apis::Core::Hashable
|
|
19209
|
+
|
|
19210
|
+
# [Output Only] Unique identifier for the subnetwork; defined by the server.
|
|
19211
|
+
# Corresponds to the JSON property `canonicalUrl`
|
|
19212
|
+
# @return [String]
|
|
19213
|
+
attr_accessor :canonical_url
|
|
19214
|
+
|
|
19215
|
+
# Resource URL to the subnetwork for which traffic from/to all VM instances will
|
|
19216
|
+
# be mirrored.
|
|
19217
|
+
# Corresponds to the JSON property `url`
|
|
19218
|
+
# @return [String]
|
|
19219
|
+
attr_accessor :url
|
|
19220
|
+
|
|
19221
|
+
def initialize(**args)
|
|
19222
|
+
update!(**args)
|
|
19223
|
+
end
|
|
19224
|
+
|
|
19225
|
+
# Update properties of this object
|
|
19226
|
+
def update!(**args)
|
|
19227
|
+
@canonical_url = args[:canonical_url] if args.key?(:canonical_url)
|
|
19228
|
+
@url = args[:url] if args.key?(:url)
|
|
19229
|
+
end
|
|
19230
|
+
end
|
|
19231
|
+
|
|
19232
|
+
#
|
|
19233
|
+
class PacketMirroringNetworkInfo
|
|
19234
|
+
include Google::Apis::Core::Hashable
|
|
19235
|
+
|
|
19236
|
+
# [Output Only] Unique identifier for the network; defined by the server.
|
|
19237
|
+
# Corresponds to the JSON property `canonicalUrl`
|
|
19238
|
+
# @return [String]
|
|
19239
|
+
attr_accessor :canonical_url
|
|
19240
|
+
|
|
19241
|
+
# URL of the network resource.
|
|
19242
|
+
# Corresponds to the JSON property `url`
|
|
19243
|
+
# @return [String]
|
|
19244
|
+
attr_accessor :url
|
|
19245
|
+
|
|
19246
|
+
def initialize(**args)
|
|
19247
|
+
update!(**args)
|
|
19248
|
+
end
|
|
19249
|
+
|
|
19250
|
+
# Update properties of this object
|
|
19251
|
+
def update!(**args)
|
|
19252
|
+
@canonical_url = args[:canonical_url] if args.key?(:canonical_url)
|
|
19253
|
+
@url = args[:url] if args.key?(:url)
|
|
19254
|
+
end
|
|
19255
|
+
end
|
|
19256
|
+
|
|
19257
|
+
#
|
|
19258
|
+
class PacketMirroringsScopedList
|
|
19259
|
+
include Google::Apis::Core::Hashable
|
|
19260
|
+
|
|
19261
|
+
# A list of packetMirrorings contained in this scope.
|
|
19262
|
+
# Corresponds to the JSON property `packetMirrorings`
|
|
19263
|
+
# @return [Array<Google::Apis::ComputeV1::PacketMirroring>]
|
|
19264
|
+
attr_accessor :packet_mirrorings
|
|
19265
|
+
|
|
19266
|
+
# Informational warning which replaces the list of packetMirrorings when the
|
|
19267
|
+
# list is empty.
|
|
19268
|
+
# Corresponds to the JSON property `warning`
|
|
19269
|
+
# @return [Google::Apis::ComputeV1::PacketMirroringsScopedList::Warning]
|
|
19270
|
+
attr_accessor :warning
|
|
19271
|
+
|
|
19272
|
+
def initialize(**args)
|
|
19273
|
+
update!(**args)
|
|
19274
|
+
end
|
|
19275
|
+
|
|
19276
|
+
# Update properties of this object
|
|
19277
|
+
def update!(**args)
|
|
19278
|
+
@packet_mirrorings = args[:packet_mirrorings] if args.key?(:packet_mirrorings)
|
|
19279
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
19280
|
+
end
|
|
19281
|
+
|
|
19282
|
+
# Informational warning which replaces the list of packetMirrorings when the
|
|
19283
|
+
# list is empty.
|
|
19284
|
+
class Warning
|
|
19285
|
+
include Google::Apis::Core::Hashable
|
|
19286
|
+
|
|
19287
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
19288
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
19289
|
+
# Corresponds to the JSON property `code`
|
|
19290
|
+
# @return [String]
|
|
19291
|
+
attr_accessor :code
|
|
19292
|
+
|
|
19293
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
|
19294
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
19295
|
+
# Corresponds to the JSON property `data`
|
|
19296
|
+
# @return [Array<Google::Apis::ComputeV1::PacketMirroringsScopedList::Warning::Datum>]
|
|
19297
|
+
attr_accessor :data
|
|
19298
|
+
|
|
19299
|
+
# [Output Only] A human-readable description of the warning code.
|
|
19300
|
+
# Corresponds to the JSON property `message`
|
|
19301
|
+
# @return [String]
|
|
19302
|
+
attr_accessor :message
|
|
19303
|
+
|
|
19304
|
+
def initialize(**args)
|
|
19305
|
+
update!(**args)
|
|
19306
|
+
end
|
|
19307
|
+
|
|
19308
|
+
# Update properties of this object
|
|
19309
|
+
def update!(**args)
|
|
19310
|
+
@code = args[:code] if args.key?(:code)
|
|
19311
|
+
@data = args[:data] if args.key?(:data)
|
|
19312
|
+
@message = args[:message] if args.key?(:message)
|
|
19313
|
+
end
|
|
19314
|
+
|
|
19315
|
+
#
|
|
19316
|
+
class Datum
|
|
19317
|
+
include Google::Apis::Core::Hashable
|
|
19318
|
+
|
|
19319
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
19320
|
+
# For example, for warnings where there are no results in a list request for a
|
|
19321
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
19322
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
19323
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
19324
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
19325
|
+
# for IP forwarding).
|
|
19326
|
+
# Corresponds to the JSON property `key`
|
|
19327
|
+
# @return [String]
|
|
19328
|
+
attr_accessor :key
|
|
19329
|
+
|
|
19330
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
19331
|
+
# Corresponds to the JSON property `value`
|
|
19332
|
+
# @return [String]
|
|
19333
|
+
attr_accessor :value
|
|
19334
|
+
|
|
19335
|
+
def initialize(**args)
|
|
19336
|
+
update!(**args)
|
|
19337
|
+
end
|
|
19338
|
+
|
|
19339
|
+
# Update properties of this object
|
|
19340
|
+
def update!(**args)
|
|
19341
|
+
@key = args[:key] if args.key?(:key)
|
|
19342
|
+
@value = args[:value] if args.key?(:value)
|
|
19343
|
+
end
|
|
19344
|
+
end
|
|
19345
|
+
end
|
|
19346
|
+
end
|
|
19347
|
+
|
|
19348
|
+
# A matcher for the path portion of the URL. The BackendService from the longest-
|
|
19349
|
+
# matched rule will serve the URL. If no rule was matched, the default service
|
|
19350
|
+
# will be used.
|
|
19351
|
+
class PathMatcher
|
|
19352
|
+
include Google::Apis::Core::Hashable
|
|
19353
|
+
|
|
19354
|
+
# defaultRouteAction takes effect when none of the pathRules or routeRules
|
|
19355
|
+
# match. The load balancer performs advanced routing actions like URL rewrites,
|
|
19356
|
+
# header transformations, etc. prior to forwarding the request to the selected
|
|
19357
|
+
# backend. If defaultRouteAction specifies any weightedBackendServices,
|
|
19358
|
+
# defaultService must not be set. Conversely if defaultService is set,
|
|
19359
|
+
# defaultRouteAction cannot contain any weightedBackendServices.
|
|
19360
|
+
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
|
19361
|
+
# Corresponds to the JSON property `defaultRouteAction`
|
|
19362
|
+
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
|
19363
|
+
attr_accessor :default_route_action
|
|
19364
|
+
|
|
19365
|
+
# The full or partial URL to the BackendService resource. This will be used if
|
|
19366
|
+
# none of the pathRules or routeRules defined by this PathMatcher are matched.
|
|
19367
|
+
# For example, the following are all valid URLs to a BackendService resource:
|
|
19368
|
+
# - https://www.googleapis.com/compute/v1/projects/project/global/
|
|
19369
|
+
# backendServices/backendService
|
|
19370
|
+
# - compute/v1/projects/project/global/backendServices/backendService
|
|
19371
|
+
# - global/backendServices/backendService If defaultRouteAction is additionally
|
|
19372
|
+
# specified, advanced routing actions like URL Rewrites, etc. take effect prior
|
|
19373
|
+
# to sending the request to the backend. However, if defaultService is specified,
|
|
19374
|
+
# defaultRouteAction cannot contain any weightedBackendServices. Conversely, if
|
|
19375
|
+
# defaultRouteAction specifies any weightedBackendServices, defaultService must
|
|
19376
|
+
# not be specified.
|
|
19377
|
+
# Only one of defaultService, defaultUrlRedirect or defaultRouteAction.
|
|
19378
|
+
# weightedBackendService must be set.
|
|
19379
|
+
# Authorization requires one or more of the following Google IAM permissions on
|
|
19380
|
+
# the specified resource default_service:
|
|
19381
|
+
# - compute.backendBuckets.use
|
|
19382
|
+
# - compute.backendServices.use
|
|
19383
|
+
# Corresponds to the JSON property `defaultService`
|
|
19384
|
+
# @return [String]
|
|
19385
|
+
attr_accessor :default_service
|
|
19386
|
+
|
|
19387
|
+
# Specifies settings for an HTTP redirect.
|
|
19388
|
+
# Corresponds to the JSON property `defaultUrlRedirect`
|
|
19389
|
+
# @return [Google::Apis::ComputeV1::HttpRedirectAction]
|
|
19390
|
+
attr_accessor :default_url_redirect
|
|
19391
|
+
|
|
19392
|
+
# An optional description of this resource. Provide this property when you
|
|
19393
|
+
# create the resource.
|
|
19394
|
+
# Corresponds to the JSON property `description`
|
|
19395
|
+
# @return [String]
|
|
19396
|
+
attr_accessor :description
|
|
19397
|
+
|
|
19398
|
+
# The request and response header transformations that take effect before the
|
|
19399
|
+
# request is passed along to the selected backendService.
|
|
19400
|
+
# Corresponds to the JSON property `headerAction`
|
|
19401
|
+
# @return [Google::Apis::ComputeV1::HttpHeaderAction]
|
|
19402
|
+
attr_accessor :header_action
|
|
19403
|
+
|
|
19404
|
+
# The name to which this PathMatcher is referred by the HostRule.
|
|
19405
|
+
# Corresponds to the JSON property `name`
|
|
19406
|
+
# @return [String]
|
|
19407
|
+
attr_accessor :name
|
|
19408
|
+
|
|
19409
|
+
# The list of path rules. Use this list instead of routeRules when routing based
|
|
19410
|
+
# on simple path matching is all that's required. The order by which path rules
|
|
19411
|
+
# are specified does not matter. Matches are always done on the longest-path-
|
|
19412
|
+
# first basis.
|
|
19413
|
+
# For example: a pathRule with a path /a/b/c/* will match before /a/b/*
|
|
19414
|
+
# irrespective of the order in which those paths appear in this list.
|
|
19415
|
+
# Within a given pathMatcher, only one of pathRules or routeRules must be set.
|
|
19416
|
+
# Corresponds to the JSON property `pathRules`
|
|
19417
|
+
# @return [Array<Google::Apis::ComputeV1::PathRule>]
|
|
19418
|
+
attr_accessor :path_rules
|
|
19419
|
+
|
|
19420
|
+
# The list of HTTP route rules. Use this list instead of pathRules when advanced
|
|
19421
|
+
# route matching and routing actions are desired. routeRules are evaluated in
|
|
19422
|
+
# order of priority, from the lowest to highest number.
|
|
19423
|
+
# Within a given pathMatcher, you can set only one of pathRules or routeRules.
|
|
19424
|
+
# Corresponds to the JSON property `routeRules`
|
|
19425
|
+
# @return [Array<Google::Apis::ComputeV1::HttpRouteRule>]
|
|
19426
|
+
attr_accessor :route_rules
|
|
19427
|
+
|
|
19428
|
+
def initialize(**args)
|
|
19429
|
+
update!(**args)
|
|
19430
|
+
end
|
|
19431
|
+
|
|
19432
|
+
# Update properties of this object
|
|
19433
|
+
def update!(**args)
|
|
19434
|
+
@default_route_action = args[:default_route_action] if args.key?(:default_route_action)
|
|
19435
|
+
@default_service = args[:default_service] if args.key?(:default_service)
|
|
19436
|
+
@default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
|
|
19437
|
+
@description = args[:description] if args.key?(:description)
|
|
19438
|
+
@header_action = args[:header_action] if args.key?(:header_action)
|
|
19439
|
+
@name = args[:name] if args.key?(:name)
|
|
19440
|
+
@path_rules = args[:path_rules] if args.key?(:path_rules)
|
|
19441
|
+
@route_rules = args[:route_rules] if args.key?(:route_rules)
|
|
19442
|
+
end
|
|
19443
|
+
end
|
|
19444
|
+
|
|
19445
|
+
# A path-matching rule for a URL. If matched, will use the specified
|
|
19446
|
+
# BackendService to handle the traffic arriving at this URL.
|
|
19447
|
+
class PathRule
|
|
19448
|
+
include Google::Apis::Core::Hashable
|
|
19449
|
+
|
|
19450
|
+
# The list of path patterns to match. Each must start with / and the only place
|
|
19451
|
+
# a * is allowed is at the end following a /. The string fed to the path matcher
|
|
19452
|
+
# does not include any text after the first ? or #, and those chars are not
|
|
19453
|
+
# allowed here.
|
|
19454
|
+
# Corresponds to the JSON property `paths`
|
|
19455
|
+
# @return [Array<String>]
|
|
19456
|
+
attr_accessor :paths
|
|
19457
|
+
|
|
19458
|
+
# In response to a matching path, the load balancer performs advanced routing
|
|
19459
|
+
# actions like URL rewrites, header transformations, etc. prior to forwarding
|
|
19460
|
+
# the request to the selected backend. If routeAction specifies any
|
|
19461
|
+
# weightedBackendServices, service must not be set. Conversely if service is set,
|
|
19462
|
+
# routeAction cannot contain any weightedBackendServices.
|
|
19463
|
+
# Only one of routeAction or urlRedirect must be set.
|
|
19464
|
+
# Corresponds to the JSON property `routeAction`
|
|
19465
|
+
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
|
19466
|
+
attr_accessor :route_action
|
|
19467
|
+
|
|
19468
|
+
# The full or partial URL of the backend service resource to which traffic is
|
|
19469
|
+
# directed if this rule is matched. If routeAction is additionally specified,
|
|
19470
|
+
# advanced routing actions like URL Rewrites, etc. take effect prior to sending
|
|
19471
|
+
# the request to the backend. However, if service is specified, routeAction
|
|
19472
|
+
# cannot contain any weightedBackendService s. Conversely, if routeAction
|
|
19473
|
+
# specifies any weightedBackendServices, service must not be specified.
|
|
19474
|
+
# Only one of urlRedirect, service or routeAction.weightedBackendService must be
|
|
19475
|
+
# set.
|
|
19476
|
+
# Corresponds to the JSON property `service`
|
|
19477
|
+
# @return [String]
|
|
19478
|
+
attr_accessor :service
|
|
19479
|
+
|
|
19480
|
+
# Specifies settings for an HTTP redirect.
|
|
19481
|
+
# Corresponds to the JSON property `urlRedirect`
|
|
19482
|
+
# @return [Google::Apis::ComputeV1::HttpRedirectAction]
|
|
19483
|
+
attr_accessor :url_redirect
|
|
19484
|
+
|
|
19485
|
+
def initialize(**args)
|
|
19486
|
+
update!(**args)
|
|
19487
|
+
end
|
|
19488
|
+
|
|
19489
|
+
# Update properties of this object
|
|
19490
|
+
def update!(**args)
|
|
19491
|
+
@paths = args[:paths] if args.key?(:paths)
|
|
19492
|
+
@route_action = args[:route_action] if args.key?(:route_action)
|
|
19493
|
+
@service = args[:service] if args.key?(:service)
|
|
19494
|
+
@url_redirect = args[:url_redirect] if args.key?(:url_redirect)
|
|
18757
19495
|
end
|
|
18758
19496
|
end
|
|
18759
19497
|
|
|
@@ -18903,8 +19641,8 @@ module Google
|
|
|
18903
19641
|
|
|
18904
19642
|
# Represents a Project resource.
|
|
18905
19643
|
# A project is used to organize resources in a Google Cloud Platform environment.
|
|
18906
|
-
# For more information, read about the Resource Hierarchy. (== resource_for
|
|
18907
|
-
# projects ==)
|
|
19644
|
+
# For more information, read about the Resource Hierarchy. (== resource_for `$
|
|
19645
|
+
# api_version`.projects ==)
|
|
18908
19646
|
class Project
|
|
18909
19647
|
include Google::Apis::Core::Hashable
|
|
18910
19648
|
|
|
@@ -19196,8 +19934,8 @@ module Google
|
|
|
19196
19934
|
|
|
19197
19935
|
# Represents a Region resource.
|
|
19198
19936
|
# A region is a geographical area where a resource is located. For more
|
|
19199
|
-
# information, read Regions and Zones. (== resource_for
|
|
19200
|
-
#
|
|
19937
|
+
# information, read Regions and Zones. (== resource_for `$api_version`.regions ==
|
|
19938
|
+
# )
|
|
19201
19939
|
class Region
|
|
19202
19940
|
include Google::Apis::Core::Hashable
|
|
19203
19941
|
|
|
@@ -19820,6 +20558,53 @@ module Google
|
|
|
19820
20558
|
end
|
|
19821
20559
|
end
|
|
19822
20560
|
|
|
20561
|
+
# InstanceGroupManagers.applyUpdatesToInstances
|
|
20562
|
+
class RegionInstanceGroupManagersApplyUpdatesRequest
|
|
20563
|
+
include Google::Apis::Core::Hashable
|
|
20564
|
+
|
|
20565
|
+
# The list of URLs of one or more instances for which you want to apply updates.
|
|
20566
|
+
# Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
|
|
20567
|
+
# INSTANCE_NAME].
|
|
20568
|
+
# Corresponds to the JSON property `instances`
|
|
20569
|
+
# @return [Array<String>]
|
|
20570
|
+
attr_accessor :instances
|
|
20571
|
+
|
|
20572
|
+
# The minimal action that you want to perform on each instance during the update:
|
|
20573
|
+
#
|
|
20574
|
+
# - REPLACE: At minimum, delete the instance and create it again.
|
|
20575
|
+
# - RESTART: Stop the instance and start it again.
|
|
20576
|
+
# - REFRESH: Do not stop the instance.
|
|
20577
|
+
# - NONE: Do not disrupt the instance at all. By default, the minimum action is
|
|
20578
|
+
# NONE. If your update requires a more disruptive action than you set with this
|
|
20579
|
+
# flag, the necessary action is performed to execute the update.
|
|
20580
|
+
# Corresponds to the JSON property `minimalAction`
|
|
20581
|
+
# @return [String]
|
|
20582
|
+
attr_accessor :minimal_action
|
|
20583
|
+
|
|
20584
|
+
# The most disruptive action that you want to perform on each instance during
|
|
20585
|
+
# the update:
|
|
20586
|
+
# - REPLACE: Delete the instance and create it again.
|
|
20587
|
+
# - RESTART: Stop the instance and start it again.
|
|
20588
|
+
# - REFRESH: Do not stop the instance.
|
|
20589
|
+
# - NONE: Do not disrupt the instance at all. By default, the most disruptive
|
|
20590
|
+
# allowed action is REPLACE. If your update requires a more disruptive action
|
|
20591
|
+
# than you set with this flag, the update request will fail.
|
|
20592
|
+
# Corresponds to the JSON property `mostDisruptiveAllowedAction`
|
|
20593
|
+
# @return [String]
|
|
20594
|
+
attr_accessor :most_disruptive_allowed_action
|
|
20595
|
+
|
|
20596
|
+
def initialize(**args)
|
|
20597
|
+
update!(**args)
|
|
20598
|
+
end
|
|
20599
|
+
|
|
20600
|
+
# Update properties of this object
|
|
20601
|
+
def update!(**args)
|
|
20602
|
+
@instances = args[:instances] if args.key?(:instances)
|
|
20603
|
+
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
|
20604
|
+
@most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
|
|
20605
|
+
end
|
|
20606
|
+
end
|
|
20607
|
+
|
|
19823
20608
|
# RegionInstanceGroupManagers.createInstances
|
|
19824
20609
|
class RegionInstanceGroupManagersCreateInstancesRequest
|
|
19825
20610
|
include Google::Apis::Core::Hashable
|
|
@@ -20357,12 +21142,19 @@ module Google
|
|
|
20357
21142
|
include Google::Apis::Core::Hashable
|
|
20358
21143
|
|
|
20359
21144
|
# Represents a URL Map resource.
|
|
20360
|
-
#
|
|
20361
|
-
#
|
|
20362
|
-
#
|
|
20363
|
-
#
|
|
20364
|
-
#
|
|
20365
|
-
#
|
|
21145
|
+
# Google Compute Engine has two URL Map resources:
|
|
21146
|
+
# * [Global](/compute/docs/reference/rest/latest/urlMaps) * [Regional](/compute/
|
|
21147
|
+
# docs/reference/rest/latest/regionUrlMaps)
|
|
21148
|
+
# A URL map resource is a component of certain types of GCP load balancers and
|
|
21149
|
+
# Traffic Director.
|
|
21150
|
+
# * urlMaps are used by external HTTP(S) load balancers and Traffic Director. *
|
|
21151
|
+
# regionUrlMaps are used by internal HTTP(S) load balancers.
|
|
21152
|
+
# This resource defines mappings from host names and URL paths to either a
|
|
21153
|
+
# backend service or a backend bucket.
|
|
21154
|
+
# To use the global urlMaps resource, the backend service must have a
|
|
21155
|
+
# loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the
|
|
21156
|
+
# regionUrlMaps resource, the backend service must have a loadBalancingScheme of
|
|
21157
|
+
# INTERNAL_MANAGED. For more information, read URL Map Concepts.
|
|
20366
21158
|
# Corresponds to the JSON property `resource`
|
|
20367
21159
|
# @return [Google::Apis::ComputeV1::UrlMap]
|
|
20368
21160
|
attr_accessor :resource
|
|
@@ -20401,8 +21193,8 @@ module Google
|
|
|
20401
21193
|
|
|
20402
21194
|
# Represents a reservation resource. A reservation ensures that capacity is held
|
|
20403
21195
|
# in a specific zone even if the reserved VMs are not running. For more
|
|
20404
|
-
# information, read Reserving zonal resources. (== resource_for
|
|
20405
|
-
# reservations ==)
|
|
21196
|
+
# information, read Reserving zonal resources. (== resource_for `$api_version`.
|
|
21197
|
+
# reservations ==)
|
|
20406
21198
|
class Reservation
|
|
20407
21199
|
include Google::Apis::Core::Hashable
|
|
20408
21200
|
|
|
@@ -21511,7 +22303,7 @@ module Google
|
|
|
21511
22303
|
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
|
21512
22304
|
include Google::Apis::Core::Hashable
|
|
21513
22305
|
|
|
21514
|
-
# Indication to perform a
|
|
22306
|
+
# Indication to perform a 'guest aware' snapshot.
|
|
21515
22307
|
# Corresponds to the JSON property `guestFlush`
|
|
21516
22308
|
# @return [Boolean]
|
|
21517
22309
|
attr_accessor :guest_flush
|
|
@@ -21596,8 +22388,8 @@ module Google
|
|
|
21596
22388
|
# Represents a Route resource.
|
|
21597
22389
|
# A route defines a path from VM instances in the VPC network to a specific
|
|
21598
22390
|
# destination. This destination can be inside or outside the VPC network. For
|
|
21599
|
-
# more information, read the Routes overview. (== resource_for
|
|
21600
|
-
#
|
|
22391
|
+
# more information, read the Routes overview. (== resource_for `$api_version`.
|
|
22392
|
+
# routes ==)
|
|
21601
22393
|
class Route
|
|
21602
22394
|
include Google::Apis::Core::Hashable
|
|
21603
22395
|
|
|
@@ -23067,20 +23859,13 @@ module Google
|
|
|
23067
23859
|
|
|
23068
23860
|
# Specifies how port is selected for health checking, can be one of following
|
|
23069
23861
|
# values:
|
|
23070
|
-
# USE_FIXED_PORT: The port number in
|
|
23071
|
-
#
|
|
23072
|
-
# is used for health checking.
|
|
23073
|
-
# USE_NAMED_PORT: The
|
|
23074
|
-
# portName
|
|
23075
|
-
# is used for health checking.
|
|
23862
|
+
# USE_FIXED_PORT: The port number in port is used for health checking.
|
|
23863
|
+
# USE_NAMED_PORT: The portName is used for health checking.
|
|
23076
23864
|
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
|
23077
23865
|
# network endpoint is used for health checking. For other backends, the port or
|
|
23078
23866
|
# named port specified in the Backend Service is used for health checking.
|
|
23079
|
-
# If not specified, SSL health check follows behavior specified in
|
|
23080
|
-
#
|
|
23081
|
-
# and
|
|
23082
|
-
# portName
|
|
23083
|
-
# fields.
|
|
23867
|
+
# If not specified, SSL health check follows behavior specified in port and
|
|
23868
|
+
# portName fields.
|
|
23084
23869
|
# Corresponds to the JSON property `portSpecification`
|
|
23085
23870
|
# @return [String]
|
|
23086
23871
|
attr_accessor :port_specification
|
|
@@ -23207,8 +23992,7 @@ module Google
|
|
|
23207
23992
|
# Represents a Cloud Armor Security Policy resource.
|
|
23208
23993
|
# Only external backend services that use load balancers can reference a
|
|
23209
23994
|
# Security Policy. For more information, read Cloud Armor Security Policy
|
|
23210
|
-
# Concepts. (== resource_for
|
|
23211
|
-
# securityPolicies ==)
|
|
23995
|
+
# Concepts. (== resource_for `$api_version`.securityPolicies ==)
|
|
23212
23996
|
class SecurityPolicy
|
|
23213
23997
|
include Google::Apis::Core::Hashable
|
|
23214
23998
|
|
|
@@ -23765,8 +24549,8 @@ module Google
|
|
|
23765
24549
|
|
|
23766
24550
|
# Represents a Persistent Disk Snapshot resource.
|
|
23767
24551
|
# You can use snapshots to back up data on a regular interval. For more
|
|
23768
|
-
# information, read Creating persistent disk snapshots. (== resource_for
|
|
23769
|
-
# snapshots ==)
|
|
24552
|
+
# information, read Creating persistent disk snapshots. (== resource_for `$
|
|
24553
|
+
# api_version`.snapshots ==)
|
|
23770
24554
|
class Snapshot
|
|
23771
24555
|
include Google::Apis::Core::Hashable
|
|
23772
24556
|
|
|
@@ -23793,6 +24577,11 @@ module Google
|
|
|
23793
24577
|
# @return [Fixnum]
|
|
23794
24578
|
attr_accessor :disk_size_gb
|
|
23795
24579
|
|
|
24580
|
+
# [Output Only] Number of bytes downloaded to restore a snapshot to a disk.
|
|
24581
|
+
# Corresponds to the JSON property `downloadBytes`
|
|
24582
|
+
# @return [Fixnum]
|
|
24583
|
+
attr_accessor :download_bytes
|
|
24584
|
+
|
|
23796
24585
|
# [Output Only] The unique identifier for the resource. This identifier is
|
|
23797
24586
|
# defined by the server.
|
|
23798
24587
|
# Corresponds to the JSON property `id`
|
|
@@ -23909,6 +24698,7 @@ module Google
|
|
|
23909
24698
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
23910
24699
|
@description = args[:description] if args.key?(:description)
|
|
23911
24700
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
|
24701
|
+
@download_bytes = args[:download_bytes] if args.key?(:download_bytes)
|
|
23912
24702
|
@id = args[:id] if args.key?(:id)
|
|
23913
24703
|
@kind = args[:kind] if args.key?(:kind)
|
|
23914
24704
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
|
@@ -24069,12 +24859,17 @@ module Google
|
|
|
24069
24859
|
end
|
|
24070
24860
|
|
|
24071
24861
|
# Represents an SSL Certificate resource.
|
|
24862
|
+
# Google Compute Engine has two SSL Certificate resources:
|
|
24863
|
+
# * [Global](/compute/docs/reference/rest/latest/sslCertificates) * [Regional](/
|
|
24864
|
+
# compute/docs/reference/rest/latest/regionSslCertificates)
|
|
24865
|
+
# - sslCertificates are used by: - external HTTPS load balancers - SSL proxy
|
|
24866
|
+
# load balancers
|
|
24867
|
+
# - regionSslCertificates are used by: - internal HTTPS load balancers
|
|
24072
24868
|
# This SSL certificate resource also contains a private key. You can use SSL
|
|
24073
24869
|
# keys and certificates to secure connections to a load balancer. For more
|
|
24074
|
-
# information, read Creating and Using SSL Certificates. (== resource_for
|
|
24075
|
-
# sslCertificates ==) (== resource_for
|
|
24076
|
-
#
|
|
24077
|
-
# Next ID: 17
|
|
24870
|
+
# information, read Creating and Using SSL Certificates. (== resource_for `$
|
|
24871
|
+
# api_version`.sslCertificates ==) (== resource_for `$api_version`.
|
|
24872
|
+
# regionSslCertificates ==) Next ID: 17
|
|
24078
24873
|
class SslCertificate
|
|
24079
24874
|
include Google::Apis::Core::Hashable
|
|
24080
24875
|
|
|
@@ -24619,8 +25414,7 @@ module Google
|
|
|
24619
25414
|
# Represents a Cloud Armor Security Policy resource.
|
|
24620
25415
|
# Only external backend services used by HTTP or HTTPS load balancers can
|
|
24621
25416
|
# reference a Security Policy. For more information, read read Cloud Armor
|
|
24622
|
-
# Security Policy Concepts. (== resource_for
|
|
24623
|
-
# resource_for v1.sslPolicies ==)
|
|
25417
|
+
# Security Policy Concepts. (== resource_for `$api_version`.sslPolicies ==)
|
|
24624
25418
|
class SslPolicy
|
|
24625
25419
|
include Google::Apis::Core::Hashable
|
|
24626
25420
|
|
|
@@ -24814,7 +25608,7 @@ module Google
|
|
|
24814
25608
|
# A subnetwork (also known as a subnet) is a logical partition of a Virtual
|
|
24815
25609
|
# Private Cloud network with one primary IP range and zero or more secondary IP
|
|
24816
25610
|
# ranges. For more information, read Virtual Private Cloud (VPC) Network. (==
|
|
24817
|
-
# resource_for
|
|
25611
|
+
# resource_for `$api_version`.subnetworks ==)
|
|
24818
25612
|
class Subnetwork
|
|
24819
25613
|
include Google::Apis::Core::Hashable
|
|
24820
25614
|
|
|
@@ -25444,20 +26238,13 @@ module Google
|
|
|
25444
26238
|
|
|
25445
26239
|
# Specifies how port is selected for health checking, can be one of following
|
|
25446
26240
|
# values:
|
|
25447
|
-
# USE_FIXED_PORT: The port number in
|
|
25448
|
-
#
|
|
25449
|
-
# is used for health checking.
|
|
25450
|
-
# USE_NAMED_PORT: The
|
|
25451
|
-
# portName
|
|
25452
|
-
# is used for health checking.
|
|
26241
|
+
# USE_FIXED_PORT: The port number in port is used for health checking.
|
|
26242
|
+
# USE_NAMED_PORT: The portName is used for health checking.
|
|
25453
26243
|
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
|
25454
26244
|
# network endpoint is used for health checking. For other backends, the port or
|
|
25455
26245
|
# named port specified in the Backend Service is used for health checking.
|
|
25456
|
-
# If not specified, TCP health check follows behavior specified in
|
|
25457
|
-
#
|
|
25458
|
-
# and
|
|
25459
|
-
# portName
|
|
25460
|
-
# fields.
|
|
26246
|
+
# If not specified, TCP health check follows behavior specified in port and
|
|
26247
|
+
# portName fields.
|
|
25461
26248
|
# Corresponds to the JSON property `portSpecification`
|
|
25462
26249
|
# @return [String]
|
|
25463
26250
|
attr_accessor :port_specification
|
|
@@ -25622,12 +26409,16 @@ module Google
|
|
|
25622
26409
|
end
|
|
25623
26410
|
|
|
25624
26411
|
# Represents a Target HTTP Proxy resource.
|
|
25625
|
-
#
|
|
25626
|
-
#
|
|
25627
|
-
#
|
|
25628
|
-
#
|
|
25629
|
-
# targetHttpProxies
|
|
25630
|
-
#
|
|
26412
|
+
# Google Compute Engine has two Target HTTP Proxy resources:
|
|
26413
|
+
# * [Global](/compute/docs/reference/rest/latest/targetHttpProxies) * [Regional](
|
|
26414
|
+
# /compute/docs/reference/rest/latest/regionTargetHttpProxies)
|
|
26415
|
+
# A target HTTP proxy is a component of GCP HTTP load balancers.
|
|
26416
|
+
# * targetHttpProxies are used by external HTTP load balancers and Traffic
|
|
26417
|
+
# Director. * regionTargetHttpProxies are used by internal HTTP load balancers.
|
|
26418
|
+
# Forwarding rules reference a target HTTP proxy, and the target proxy then
|
|
26419
|
+
# references a URL map. For more information, read Using Target Proxies and
|
|
26420
|
+
# Forwarding rule concepts. (== resource_for `$api_version`.targetHttpProxies ==)
|
|
26421
|
+
# (== resource_for `$api_version`.regionTargetHttpProxies ==)
|
|
25631
26422
|
class TargetHttpProxy
|
|
25632
26423
|
include Google::Apis::Core::Hashable
|
|
25633
26424
|
|
|
@@ -25995,12 +26786,16 @@ module Google
|
|
|
25995
26786
|
end
|
|
25996
26787
|
|
|
25997
26788
|
# Represents a Target HTTPS Proxy resource.
|
|
25998
|
-
#
|
|
25999
|
-
#
|
|
26000
|
-
#
|
|
26001
|
-
#
|
|
26002
|
-
# targetHttpsProxies
|
|
26003
|
-
#
|
|
26789
|
+
# Google Compute Engine has two Target HTTPS Proxy resources:
|
|
26790
|
+
# * [Global](/compute/docs/reference/rest/latest/targetHttpsProxies) * [Regional]
|
|
26791
|
+
# (/compute/docs/reference/rest/latest/regionTargetHttpsProxies)
|
|
26792
|
+
# A target HTTPS proxy is a component of GCP HTTPS load balancers.
|
|
26793
|
+
# * targetHttpsProxies are used by external HTTPS load balancers. *
|
|
26794
|
+
# regionTargetHttpsProxies are used by internal HTTPS load balancers.
|
|
26795
|
+
# Forwarding rules reference a target HTTPS proxy, and the target proxy then
|
|
26796
|
+
# references a URL map. For more information, read Using Target Proxies and
|
|
26797
|
+
# Forwarding rule concepts. (== resource_for `$api_version`.targetHttpsProxies ==
|
|
26798
|
+
# ) (== resource_for `$api_version`.regionTargetHttpsProxies ==)
|
|
26004
26799
|
class TargetHttpsProxy
|
|
26005
26800
|
include Google::Apis::Core::Hashable
|
|
26006
26801
|
|
|
@@ -26345,8 +27140,7 @@ module Google
|
|
|
26345
27140
|
# You can use a target instance to handle traffic for one or more forwarding
|
|
26346
27141
|
# rules, which is ideal for forwarding protocol traffic that is managed by a
|
|
26347
27142
|
# single source. For example, ESP, AH, TCP, or UDP. For more information, read
|
|
26348
|
-
# Target instances. (== resource_for
|
|
26349
|
-
# v1.targetInstances ==)
|
|
27143
|
+
# Target instances. (== resource_for `$api_version`.targetInstances ==)
|
|
26350
27144
|
class TargetInstance
|
|
26351
27145
|
include Google::Apis::Core::Hashable
|
|
26352
27146
|
|
|
@@ -26760,8 +27554,7 @@ module Google
|
|
|
26760
27554
|
# Target pools are used for network TCP/UDP load balancing. A target pool
|
|
26761
27555
|
# references member instances, an associated legacy HttpHealthCheck resource,
|
|
26762
27556
|
# and, optionally, a backup target pool. For more information, read Using target
|
|
26763
|
-
# pools. (== resource_for
|
|
26764
|
-
# )
|
|
27557
|
+
# pools. (== resource_for `$api_version`.targetPools ==)
|
|
26765
27558
|
class TargetPool
|
|
26766
27559
|
include Google::Apis::Core::Hashable
|
|
26767
27560
|
|
|
@@ -27404,8 +28197,7 @@ module Google
|
|
|
27404
28197
|
# A target SSL proxy is a component of a SSL Proxy load balancer. Global
|
|
27405
28198
|
# forwarding rules reference a target SSL proxy, and the target proxy then
|
|
27406
28199
|
# references an external backend service. For more information, read Using
|
|
27407
|
-
# Target Proxies. (== resource_for
|
|
27408
|
-
# targetSslProxies ==)
|
|
28200
|
+
# Target Proxies. (== resource_for `$api_version`.targetSslProxies ==)
|
|
27409
28201
|
class TargetSslProxy
|
|
27410
28202
|
include Google::Apis::Core::Hashable
|
|
27411
28203
|
|
|
@@ -27651,8 +28443,7 @@ module Google
|
|
|
27651
28443
|
# A target TCP proxy is a component of a TCP Proxy load balancer. Global
|
|
27652
28444
|
# forwarding rules reference target TCP proxy, and the target proxy then
|
|
27653
28445
|
# references an external backend service. For more information, read TCP Proxy
|
|
27654
|
-
# Load Balancing Concepts. (== resource_for
|
|
27655
|
-
# resource_for v1.targetTcpProxies ==)
|
|
28446
|
+
# Load Balancing Concepts. (== resource_for `$api_version`.targetTcpProxies ==)
|
|
27656
28447
|
class TargetTcpProxy
|
|
27657
28448
|
include Google::Apis::Core::Hashable
|
|
27658
28449
|
|
|
@@ -27841,8 +28632,8 @@ module Google
|
|
|
27841
28632
|
|
|
27842
28633
|
# Represents a Target VPN Gateway resource.
|
|
27843
28634
|
# The target VPN gateway resource represents a Classic Cloud VPN gateway. For
|
|
27844
|
-
# more information, read the the Cloud VPN Overview. (== resource_for
|
|
27845
|
-
# targetVpnGateways ==)
|
|
28635
|
+
# more information, read the the Cloud VPN Overview. (== resource_for `$
|
|
28636
|
+
# api_version`.targetVpnGateways ==)
|
|
27846
28637
|
class TargetVpnGateway
|
|
27847
28638
|
include Google::Apis::Core::Hashable
|
|
27848
28639
|
|
|
@@ -28340,12 +29131,19 @@ module Google
|
|
|
28340
29131
|
end
|
|
28341
29132
|
|
|
28342
29133
|
# Represents a URL Map resource.
|
|
28343
|
-
#
|
|
28344
|
-
#
|
|
28345
|
-
#
|
|
28346
|
-
#
|
|
28347
|
-
#
|
|
28348
|
-
#
|
|
29134
|
+
# Google Compute Engine has two URL Map resources:
|
|
29135
|
+
# * [Global](/compute/docs/reference/rest/latest/urlMaps) * [Regional](/compute/
|
|
29136
|
+
# docs/reference/rest/latest/regionUrlMaps)
|
|
29137
|
+
# A URL map resource is a component of certain types of GCP load balancers and
|
|
29138
|
+
# Traffic Director.
|
|
29139
|
+
# * urlMaps are used by external HTTP(S) load balancers and Traffic Director. *
|
|
29140
|
+
# regionUrlMaps are used by internal HTTP(S) load balancers.
|
|
29141
|
+
# This resource defines mappings from host names and URL paths to either a
|
|
29142
|
+
# backend service or a backend bucket.
|
|
29143
|
+
# To use the global urlMaps resource, the backend service must have a
|
|
29144
|
+
# loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the
|
|
29145
|
+
# regionUrlMaps resource, the backend service must have a loadBalancingScheme of
|
|
29146
|
+
# INTERNAL_MANAGED. For more information, read URL Map Concepts.
|
|
28349
29147
|
class UrlMap
|
|
28350
29148
|
include Google::Apis::Core::Hashable
|
|
28351
29149
|
|
|
@@ -28907,12 +29705,19 @@ module Google
|
|
|
28907
29705
|
include Google::Apis::Core::Hashable
|
|
28908
29706
|
|
|
28909
29707
|
# Represents a URL Map resource.
|
|
28910
|
-
#
|
|
28911
|
-
#
|
|
28912
|
-
#
|
|
28913
|
-
#
|
|
28914
|
-
#
|
|
28915
|
-
#
|
|
29708
|
+
# Google Compute Engine has two URL Map resources:
|
|
29709
|
+
# * [Global](/compute/docs/reference/rest/latest/urlMaps) * [Regional](/compute/
|
|
29710
|
+
# docs/reference/rest/latest/regionUrlMaps)
|
|
29711
|
+
# A URL map resource is a component of certain types of GCP load balancers and
|
|
29712
|
+
# Traffic Director.
|
|
29713
|
+
# * urlMaps are used by external HTTP(S) load balancers and Traffic Director. *
|
|
29714
|
+
# regionUrlMaps are used by internal HTTP(S) load balancers.
|
|
29715
|
+
# This resource defines mappings from host names and URL paths to either a
|
|
29716
|
+
# backend service or a backend bucket.
|
|
29717
|
+
# To use the global urlMaps resource, the backend service must have a
|
|
29718
|
+
# loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the
|
|
29719
|
+
# regionUrlMaps resource, the backend service must have a loadBalancingScheme of
|
|
29720
|
+
# INTERNAL_MANAGED. For more information, read URL Map Concepts.
|
|
28916
29721
|
# Corresponds to the JSON property `resource`
|
|
28917
29722
|
# @return [Google::Apis::ComputeV1::UrlMap]
|
|
28918
29723
|
attr_accessor :resource
|
|
@@ -29984,7 +30789,7 @@ module Google
|
|
|
29984
30789
|
|
|
29985
30790
|
# Represents a Cloud VPN Tunnel resource.
|
|
29986
30791
|
# For more information about VPN, read the the Cloud VPN Overview. (==
|
|
29987
|
-
# resource_for
|
|
30792
|
+
# resource_for `$api_version`.vpnTunnels ==)
|
|
29988
30793
|
class VpnTunnel
|
|
29989
30794
|
include Google::Apis::Core::Hashable
|
|
29990
30795
|
|
|
@@ -30693,8 +31498,7 @@ module Google
|
|
|
30693
31498
|
# Represents a Zone resource.
|
|
30694
31499
|
# A zone is a deployment area. These deployment areas are subsets of a region.
|
|
30695
31500
|
# For example the zone us-east1-a is located in the us-east1 region. For more
|
|
30696
|
-
# information, read Regions and Zones. (== resource_for
|
|
30697
|
-
# resource_for v1.zones ==)
|
|
31501
|
+
# information, read Regions and Zones. (== resource_for `$api_version`.zones ==)
|
|
30698
31502
|
class Zone
|
|
30699
31503
|
include Google::Apis::Core::Hashable
|
|
30700
31504
|
|