google-api-client 0.47.0 → 0.52.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/.github/workflows/release-please.yml +57 -0
- data/CHANGELOG.md +466 -0
- data/README.md +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +12 -9
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
- data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
- data/generated/google/apis/admin_directory_v1.rb +2 -2
- data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
- data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
- data/generated/google/apis/admin_directory_v1/service.rb +323 -183
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
- data/generated/google/apis/admin_reports_v1/service.rb +198 -179
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/service.rb +4 -0
- data/generated/google/apis/admob_v1beta.rb +38 -0
- data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
- data/generated/google/apis/admob_v1beta/representations.rb +472 -0
- data/generated/google/apis/admob_v1beta/service.rb +279 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +11 -10
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +33 -24
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +243 -63
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +43 -34
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +5 -8
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +433 -84
- data/generated/google/apis/apigee_v1/representations.rb +150 -0
- data/generated/google/apis/apigee_v1/service.rb +926 -110
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +58 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +31 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +67 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -9
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +947 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -7
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -8
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -2
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1125 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +217 -9
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +45 -23
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -7
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +6 -6
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -7
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -7
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -1
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +173 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1071 -341
- data/generated/google/apis/compute_alpha/representations.rb +248 -19
- data/generated/google/apis/compute_alpha/service.rb +291 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +926 -283
- data/generated/google/apis/compute_beta/representations.rb +221 -18
- data/generated/google/apis/compute_beta/service.rb +24 -15
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +688 -176
- data/generated/google/apis/compute_v1/representations.rb +99 -0
- data/generated/google/apis/compute_v1/service.rb +704 -552
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +48 -9
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1/service.rb +4 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +53 -13
- data/generated/google/apis/container_v1beta1/representations.rb +17 -0
- data/generated/google/apis/container_v1beta1/service.rb +6 -2
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +7 -7
- data/generated/google/apis/content_v2/service.rb +10 -8
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1533 -1064
- data/generated/google/apis/content_v2_1/representations.rb +421 -0
- data/generated/google/apis/content_v2_1/service.rb +1127 -809
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -17
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +29 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datamigration_v1beta1.rb +34 -0
- data/generated/google/apis/datamigration_v1beta1/classes.rb +1664 -0
- data/generated/google/apis/datamigration_v1beta1/representations.rb +677 -0
- data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +80 -9
- data/generated/google/apis/dataproc_v1/representations.rb +22 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
- data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +149 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +246 -359
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +62 -15
- data/generated/google/apis/dialogflow_v2/representations.rb +28 -12
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +60 -18
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -12
- data/generated/google/apis/dialogflow_v2beta1/service.rb +508 -38
- data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
- data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
- data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
- data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +180 -15
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +65 -12
- data/generated/google/apis/dialogflow_v3beta1/service.rb +183 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +306 -34
- data/generated/google/apis/displayvideo_v1/representations.rb +122 -0
- data/generated/google/apis/displayvideo_v1/service.rb +342 -38
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +6 -0
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dlp_v2/service.rb +294 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +71 -0
- data/generated/google/apis/dns_v1/representations.rb +33 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +19 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
- data/generated/google/apis/dns_v1beta2/service.rb +176 -0
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
- data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
- data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
- data/generated/google/apis/domains_v1alpha2.rb +1 -1
- data/generated/google/apis/domains_v1beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +24 -21
- data/generated/google/apis/drive_v2/service.rb +26 -58
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -8
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +9 -12
- data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +566 -4
- data/generated/google/apis/file_v1/representations.rb +222 -0
- data/generated/google/apis/file_v1/service.rb +229 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +346 -6
- data/generated/google/apis/file_v1beta1/representations.rb +149 -0
- data/generated/google/apis/file_v1beta1/service.rb +6 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/{displayvideo_v1dev → firebasedatabase_v1beta}/representations.rb +26 -16
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +353 -0
- data/generated/google/apis/games_v1/representations.rb +145 -0
- data/generated/google/apis/games_v1/service.rb +67 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +1 -2
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +36 -7
- data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +18 -17
- data/generated/google/apis/healthcare_v1/service.rb +13 -12
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +321 -70
- data/generated/google/apis/healthcare_v1beta1/representations.rb +121 -18
- data/generated/google/apis/healthcare_v1beta1/service.rb +75 -39
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/classes.rb +109 -11
- data/generated/google/apis/iam_v1/representations.rb +33 -1
- data/generated/google/apis/iam_v1/service.rb +63 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +0 -18
- data/generated/google/apis/iap_v1/representations.rb +0 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -7
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +32 -29
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +187 -9
- data/generated/google/apis/logging_v2/representations.rb +77 -0
- data/generated/google/apis/logging_v2/service.rb +446 -25
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
- data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
- data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
- data/generated/google/apis/metastore_v1beta.rb +35 -0
- data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
- data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
- data/generated/google/apis/metastore_v1beta/service.rb +800 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +85 -25
- data/generated/google/apis/ml_v1/representations.rb +42 -1
- data/generated/google/apis/ml_v1/service.rb +35 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +13 -8
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
- data/generated/google/apis/notebooks_v1.rb +34 -0
- data/generated/google/apis/notebooks_v1/classes.rb +1455 -0
- data/generated/google/apis/notebooks_v1/representations.rb +580 -0
- data/generated/google/apis/notebooks_v1/service.rb +1042 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +10 -6
- data/generated/google/apis/people_v1/service.rb +21 -18
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/privateca_v1beta1.rb +36 -0
- data/generated/google/apis/privateca_v1beta1/classes.rb +2467 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -7
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +86 -0
- data/generated/google/apis/redis_v1/representations.rb +34 -0
- data/generated/google/apis/redis_v1/service.rb +34 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
- data/generated/google/apis/safebrowsing_v4.rb +35 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +909 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +445 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +286 -0
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +12 -11
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v1/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +6 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v2.rb +3 -3
- data/generated/google/apis/servicecontrol_v2/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +6 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
- data/generated/google/apis/servicedirectory_v1.rb +35 -0
- data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
- data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -13
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +2 -61
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +79 -5
- data/generated/google/apis/servicenetworking_v1/representations.rb +33 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +38 -5
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +12 -11
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +42 -11
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +332 -7
- data/generated/google/apis/sheets_v4/representations.rb +102 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +10 -8
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +118 -11
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +37 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +43 -21
- data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/trafficdirector_v2.rb +2 -2
- data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
- data/generated/google/apis/transcoder_v1beta1.rb +34 -0
- data/generated/google/apis/transcoder_v1beta1/classes.rb +1694 -0
- data/generated/google/apis/transcoder_v1beta1/representations.rb +757 -0
- data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +3 -2
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +3 -2
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/workflows_v1beta.rb +1 -1
- data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/generated/google/apis/youtube_v3/service.rb +8 -8
- data/lib/google/apis/version.rb +1 -1
- metadata +60 -27
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
- data/generated/google/apis/displayvideo_v1beta.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
- data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
- data/generated/google/apis/displayvideo_v1dev.rb +0 -38
- data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
|
@@ -8553,8 +8553,9 @@ module Google
|
|
|
8553
8553
|
execute_or_queue_command(command, &block)
|
|
8554
8554
|
end
|
|
8555
8555
|
|
|
8556
|
-
#
|
|
8557
|
-
#
|
|
8556
|
+
# Motifies the autohealing policy for the instances in this managed instance
|
|
8557
|
+
# group. [Deprecated] This method is deprecated. Use instanceGroupManagers.patch
|
|
8558
|
+
# instead.
|
|
8558
8559
|
# @param [String] project
|
|
8559
8560
|
# Project ID for this request.
|
|
8560
8561
|
# @param [String] zone
|
|
@@ -8610,7 +8611,8 @@ module Google
|
|
|
8610
8611
|
|
|
8611
8612
|
# Specifies the instance template to use when creating new instances in this
|
|
8612
8613
|
# group. The templates for existing instances in the group do not change unless
|
|
8613
|
-
# you
|
|
8614
|
+
# you run recreateInstances, run applyUpdatesToInstances, or set the group's
|
|
8615
|
+
# updatePolicy.type to PROACTIVE.
|
|
8614
8616
|
# @param [String] project
|
|
8615
8617
|
# Project ID for this request.
|
|
8616
8618
|
# @param [String] zone
|
|
@@ -10613,9 +10615,9 @@ module Google
|
|
|
10613
10615
|
# - projects/project/global/instanceTemplates/instanceTemplate
|
|
10614
10616
|
# - global/instanceTemplates/instanceTemplate
|
|
10615
10617
|
# @param [String] source_machine_image
|
|
10616
|
-
# Specifies
|
|
10618
|
+
# Specifies the machine image to use to create the instance.
|
|
10617
10619
|
# This field is optional. It can be a full or partial URL. For example, the
|
|
10618
|
-
# following are all valid URLs to
|
|
10620
|
+
# following are all valid URLs to a machine image:
|
|
10619
10621
|
# - https://www.googleapis.com/compute/v1/projects/project/global/global/
|
|
10620
10622
|
# machineImages/machineImage
|
|
10621
10623
|
# - projects/project/global/global/machineImages/machineImage
|
|
@@ -16774,7 +16776,7 @@ module Google
|
|
|
16774
16776
|
# @param [Boolean] replace_existing_association
|
|
16775
16777
|
# Indicates whether or not to replace it if an association of the attachment
|
|
16776
16778
|
# already exists. This is false by default, in which case an error will be
|
|
16777
|
-
# returned if an
|
|
16779
|
+
# returned if an association already exists.
|
|
16778
16780
|
# @param [String] request_id
|
|
16779
16781
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
16780
16782
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -21783,9 +21785,9 @@ module Google
|
|
|
21783
21785
|
execute_or_queue_command(command, &block)
|
|
21784
21786
|
end
|
|
21785
21787
|
|
|
21786
|
-
#
|
|
21787
|
-
#
|
|
21788
|
-
#
|
|
21788
|
+
# Inserts or patches per-instance configs for the managed instance group.
|
|
21789
|
+
# perInstanceConfig.name serves as a key used to distinguish whether to perform
|
|
21790
|
+
# insert or patch.
|
|
21789
21791
|
# @param [String] project
|
|
21790
21792
|
# Project ID for this request.
|
|
21791
21793
|
# @param [String] region
|
|
@@ -21965,7 +21967,8 @@ module Google
|
|
|
21965
21967
|
end
|
|
21966
21968
|
|
|
21967
21969
|
# Modifies the autohealing policy for the instances in this managed instance
|
|
21968
|
-
# group. [Deprecated] This method is deprecated.
|
|
21970
|
+
# group. [Deprecated] This method is deprecated. Use regionInstanceGroupManagers.
|
|
21971
|
+
# patch instead.
|
|
21969
21972
|
# @param [String] project
|
|
21970
21973
|
# Project ID for this request.
|
|
21971
21974
|
# @param [String] region
|
|
@@ -22229,9 +22232,9 @@ module Google
|
|
|
22229
22232
|
execute_or_queue_command(command, &block)
|
|
22230
22233
|
end
|
|
22231
22234
|
|
|
22232
|
-
#
|
|
22233
|
-
#
|
|
22234
|
-
#
|
|
22235
|
+
# Inserts or updates per-instance configs for the managed instance group.
|
|
22236
|
+
# perInstanceConfig.name serves as a key used to distinguish whether to perform
|
|
22237
|
+
# insert or patch.
|
|
22235
22238
|
# @param [String] project
|
|
22236
22239
|
# Project ID for this request.
|
|
22237
22240
|
# @param [String] region
|
|
@@ -24192,6 +24195,8 @@ module Google
|
|
|
24192
24195
|
|
|
24193
24196
|
# Initiates a cache invalidation operation, invalidating the specified path,
|
|
24194
24197
|
# scoped to the specified UrlMap.
|
|
24198
|
+
# For more information, see [Invalidating cached content](/cdn/docs/invalidating-
|
|
24199
|
+
# cached-content).
|
|
24195
24200
|
# @param [String] project
|
|
24196
24201
|
# Project ID for this request.
|
|
24197
24202
|
# @param [String] region
|
|
@@ -26724,7 +26729,9 @@ module Google
|
|
|
26724
26729
|
execute_or_queue_command(command, &block)
|
|
26725
26730
|
end
|
|
26726
26731
|
|
|
26727
|
-
# Patches the specified policy with the data included in the request.
|
|
26732
|
+
# Patches the specified policy with the data included in the request. This
|
|
26733
|
+
# cannot be used to be update the rules in the policy. Please use the per rule
|
|
26734
|
+
# methods like addRule, patchRule, and removeRule instead.
|
|
26728
26735
|
# @param [String] project
|
|
26729
26736
|
# Project ID for this request.
|
|
26730
26737
|
# @param [String] security_policy
|
|
@@ -28499,7 +28506,7 @@ module Google
|
|
|
28499
28506
|
end
|
|
28500
28507
|
|
|
28501
28508
|
# Patches the specified subnetwork with the data included in the request. Only
|
|
28502
|
-
# certain fields can
|
|
28509
|
+
# certain fields can be updated with a patch request as indicated in the field
|
|
28503
28510
|
# descriptions. You must specify the current fingerprint of the subnetwork
|
|
28504
28511
|
# resource being patched.
|
|
28505
28512
|
# @param [String] project
|
|
@@ -32344,6 +32351,8 @@ module Google
|
|
|
32344
32351
|
|
|
32345
32352
|
# Initiates a cache invalidation operation, invalidating the specified path,
|
|
32346
32353
|
# scoped to the specified UrlMap.
|
|
32354
|
+
# For more information, see [Invalidating cached content](/cdn/docs/invalidating-
|
|
32355
|
+
# cached-content).
|
|
32347
32356
|
# @param [String] project
|
|
32348
32357
|
# Project ID for this request.
|
|
32349
32358
|
# @param [String] url_map
|
|
@@ -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 = '20201122'
|
|
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'
|
|
@@ -629,9 +629,9 @@ module Google
|
|
|
629
629
|
# - `VPC_PEERING` for addresses that are reserved for VPC peer networks.
|
|
630
630
|
# - `NAT_AUTO` for addresses that are external IP addresses automatically
|
|
631
631
|
# reserved for Cloud NAT.
|
|
632
|
-
# - `IPSEC_INTERCONNECT` for addresses created from a private IP range
|
|
633
|
-
# for a VLAN attachment in an IPsec
|
|
634
|
-
# addresses are regional resources.
|
|
632
|
+
# - `IPSEC_INTERCONNECT` for addresses created from a private IP range that are
|
|
633
|
+
# reserved for a VLAN attachment in an IPsec encrypted Interconnect
|
|
634
|
+
# configuration. These addresses are regional resources.
|
|
635
635
|
# Corresponds to the JSON property `purpose`
|
|
636
636
|
# @return [String]
|
|
637
637
|
attr_accessor :purpose
|
|
@@ -1542,8 +1542,8 @@ module Google
|
|
|
1542
1542
|
|
|
1543
1543
|
# Represents an Autoscaler resource.
|
|
1544
1544
|
# Google Compute Engine has two Autoscaler resources:
|
|
1545
|
-
# * [
|
|
1546
|
-
#
|
|
1545
|
+
# * [Zonal](/compute/docs/reference/rest/`$api_version`/autoscalers) * [Regional]
|
|
1546
|
+
# (/compute/docs/reference/rest/`$api_version`/regionAutoscalers)
|
|
1547
1547
|
# Use autoscalers to automatically add or delete instances from a managed
|
|
1548
1548
|
# instance group according to your defined autoscaling policy. For more
|
|
1549
1549
|
# information, read Autoscaling Groups of Instances.
|
|
@@ -1592,10 +1592,10 @@ module Google
|
|
|
1592
1592
|
attr_accessor :name
|
|
1593
1593
|
|
|
1594
1594
|
# [Output Only] Target recommended MIG size (number of instances) computed by
|
|
1595
|
-
# autoscaler. Autoscaler calculates recommended MIG size even when
|
|
1596
|
-
# policy mode is different from ON. This field is empty when
|
|
1597
|
-
# connected to
|
|
1598
|
-
# generate its prediction.
|
|
1595
|
+
# autoscaler. Autoscaler calculates the recommended MIG size even when the
|
|
1596
|
+
# autoscaling policy mode is different from ON. This field is empty when
|
|
1597
|
+
# autoscaler is not connected to an existing managed instance group or
|
|
1598
|
+
# autoscaler did not generate its prediction.
|
|
1599
1599
|
# Corresponds to the JSON property `recommendedSize`
|
|
1600
1600
|
# @return [Fixnum]
|
|
1601
1601
|
attr_accessor :recommended_size
|
|
@@ -1630,7 +1630,8 @@ module Google
|
|
|
1630
1630
|
# @return [Array<Google::Apis::ComputeV1::AutoscalerStatusDetails>]
|
|
1631
1631
|
attr_accessor :status_details
|
|
1632
1632
|
|
|
1633
|
-
# URL of the managed instance group that this autoscaler will scale.
|
|
1633
|
+
# URL of the managed instance group that this autoscaler will scale. This field
|
|
1634
|
+
# is required when creating an autoscaler.
|
|
1634
1635
|
# Corresponds to the JSON property `target`
|
|
1635
1636
|
# @return [String]
|
|
1636
1637
|
attr_accessor :target
|
|
@@ -1937,7 +1938,7 @@ module Google
|
|
|
1937
1938
|
# - MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in
|
|
1938
1939
|
# the group won't change automatically. The autoscaling configuration is
|
|
1939
1940
|
# preserved.
|
|
1940
|
-
# - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only
|
|
1941
|
+
# - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only out" mode. The
|
|
1941
1942
|
# autoscaler can add instances but not remove any.
|
|
1942
1943
|
# - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be
|
|
1943
1944
|
# autoscaled because it has more than one backend service attached to it.
|
|
@@ -2063,11 +2064,10 @@ module Google
|
|
|
2063
2064
|
class AutoscalingPolicy
|
|
2064
2065
|
include Google::Apis::Core::Hashable
|
|
2065
2066
|
|
|
2066
|
-
# The number of seconds that the autoscaler
|
|
2067
|
-
#
|
|
2068
|
-
#
|
|
2069
|
-
#
|
|
2070
|
-
# seconds.
|
|
2067
|
+
# The number of seconds that the autoscaler waits before it starts collecting
|
|
2068
|
+
# information from a new instance. This prevents the autoscaler from collecting
|
|
2069
|
+
# information when the instance is initializing, during which the collected
|
|
2070
|
+
# usage would not be reliable. The default time autoscaler waits is 60 seconds.
|
|
2071
2071
|
# Virtual machine initialization times might vary because of numerous factors.
|
|
2072
2072
|
# We recommend that you test how long an instance may take to initialize. To do
|
|
2073
2073
|
# this, create an instance and time the startup process.
|
|
@@ -2090,15 +2090,15 @@ module Google
|
|
|
2090
2090
|
# @return [Google::Apis::ComputeV1::AutoscalingPolicyLoadBalancingUtilization]
|
|
2091
2091
|
attr_accessor :load_balancing_utilization
|
|
2092
2092
|
|
|
2093
|
-
# The maximum number of instances that the autoscaler can scale
|
|
2093
|
+
# The maximum number of instances that the autoscaler can scale out to. This is
|
|
2094
2094
|
# required when creating or updating an autoscaler. The maximum number of
|
|
2095
|
-
# replicas
|
|
2095
|
+
# replicas must not be lower than minimal number of replicas.
|
|
2096
2096
|
# Corresponds to the JSON property `maxNumReplicas`
|
|
2097
2097
|
# @return [Fixnum]
|
|
2098
2098
|
attr_accessor :max_num_replicas
|
|
2099
2099
|
|
|
2100
|
-
# The minimum number of replicas that the autoscaler can scale
|
|
2101
|
-
# cannot be less than 0. If not provided, autoscaler
|
|
2100
|
+
# The minimum number of replicas that the autoscaler can scale in to. This
|
|
2101
|
+
# cannot be less than 0. If not provided, autoscaler chooses a default value
|
|
2102
2102
|
# depending on maximum number of instances allowed.
|
|
2103
2103
|
# Corresponds to the JSON property `minNumReplicas`
|
|
2104
2104
|
# @return [Fixnum]
|
|
@@ -2137,13 +2137,13 @@ module Google
|
|
|
2137
2137
|
class AutoscalingPolicyCpuUtilization
|
|
2138
2138
|
include Google::Apis::Core::Hashable
|
|
2139
2139
|
|
|
2140
|
-
# The target CPU utilization that the autoscaler
|
|
2141
|
-
#
|
|
2142
|
-
# If the CPU level is below the target utilization, the autoscaler scales
|
|
2143
|
-
#
|
|
2140
|
+
# The target CPU utilization that the autoscaler maintains. Must be a float
|
|
2141
|
+
# value in the range (0, 1]. If not specified, the default is 0.6.
|
|
2142
|
+
# If the CPU level is below the target utilization, the autoscaler scales in the
|
|
2143
|
+
# number of instances until it reaches the minimum number of instances you
|
|
2144
2144
|
# specified or until the average CPU of your instances reaches the target
|
|
2145
2145
|
# utilization.
|
|
2146
|
-
# If the average CPU is above the target utilization, the autoscaler scales
|
|
2146
|
+
# If the average CPU is above the target utilization, the autoscaler scales out
|
|
2147
2147
|
# until it reaches the maximum number of instances you specified or until the
|
|
2148
2148
|
# average utilization reaches the target utilization.
|
|
2149
2149
|
# Corresponds to the JSON property `utilizationTarget`
|
|
@@ -2164,6 +2164,36 @@ module Google
|
|
|
2164
2164
|
class AutoscalingPolicyCustomMetricUtilization
|
|
2165
2165
|
include Google::Apis::Core::Hashable
|
|
2166
2166
|
|
|
2167
|
+
# A filter string, compatible with a Stackdriver Monitoring filter string for
|
|
2168
|
+
# TimeSeries.list API call. This filter is used to select a specific TimeSeries
|
|
2169
|
+
# for the purpose of autoscaling and to determine whether the metric is
|
|
2170
|
+
# exporting per-instance or per-group data.
|
|
2171
|
+
# For the filter to be valid for autoscaling purposes, the following rules apply:
|
|
2172
|
+
#
|
|
2173
|
+
# - You can only use the AND operator for joining selectors.
|
|
2174
|
+
# - You can only use direct equality comparison operator (=) without any
|
|
2175
|
+
# functions for each selector.
|
|
2176
|
+
# - You can specify the metric in both the filter string and in the metric field.
|
|
2177
|
+
# However, if specified in both places, the metric must be identical.
|
|
2178
|
+
# - The monitored resource type determines what kind of values are expected for
|
|
2179
|
+
# the metric. If it is a gce_instance, the autoscaler expects the metric to
|
|
2180
|
+
# include a separate TimeSeries for each instance in a group. In such a case,
|
|
2181
|
+
# you cannot filter on resource labels.
|
|
2182
|
+
# If the resource type is any other value, the autoscaler expects this metric to
|
|
2183
|
+
# contain values that apply to the entire autoscaled instance group and resource
|
|
2184
|
+
# label filtering can be performed to point autoscaler at the correct TimeSeries
|
|
2185
|
+
# to scale upon. This is called a per-group metric for the purpose of
|
|
2186
|
+
# autoscaling.
|
|
2187
|
+
# If not specified, the type defaults to gce_instance.
|
|
2188
|
+
# Try to provide a filter that is selective enough to pick just one TimeSeries
|
|
2189
|
+
# for the autoscaled group or for each of the instances (if you are using
|
|
2190
|
+
# gce_instance resource type). If multiple TimeSeries are returned upon the
|
|
2191
|
+
# query execution, the autoscaler will sum their respective values to obtain its
|
|
2192
|
+
# scaling value.
|
|
2193
|
+
# Corresponds to the JSON property `filter`
|
|
2194
|
+
# @return [String]
|
|
2195
|
+
attr_accessor :filter
|
|
2196
|
+
|
|
2167
2197
|
# The identifier (type) of the Stackdriver Monitoring metric. The metric cannot
|
|
2168
2198
|
# have negative values.
|
|
2169
2199
|
# The metric must have a value type of INT64 or DOUBLE.
|
|
@@ -2171,12 +2201,27 @@ module Google
|
|
|
2171
2201
|
# @return [String]
|
|
2172
2202
|
attr_accessor :metric
|
|
2173
2203
|
|
|
2174
|
-
#
|
|
2204
|
+
# If scaling is based on a per-group metric value that represents the total
|
|
2205
|
+
# amount of work to be done or resource usage, set this value to an amount
|
|
2206
|
+
# assigned for a single instance of the scaled group. Autoscaler keeps the
|
|
2207
|
+
# number of instances proportional to the value of this metric. The metric
|
|
2208
|
+
# itself does not change value due to group resizing.
|
|
2209
|
+
# A good metric to use with the target is for example pubsub.googleapis.com/
|
|
2210
|
+
# subscription/num_undelivered_messages or a custom metric exporting the total
|
|
2211
|
+
# number of requests coming to your instances.
|
|
2212
|
+
# A bad example would be a metric exporting an average or median latency, since
|
|
2213
|
+
# this value can't include a chunk assignable to a single instance, it could be
|
|
2214
|
+
# better used with utilization_target instead.
|
|
2215
|
+
# Corresponds to the JSON property `singleInstanceAssignment`
|
|
2216
|
+
# @return [Float]
|
|
2217
|
+
attr_accessor :single_instance_assignment
|
|
2218
|
+
|
|
2219
|
+
# The target value of the metric that autoscaler maintains. This must be a
|
|
2175
2220
|
# positive value. A utilization metric scales number of virtual machines
|
|
2176
2221
|
# handling requests to increase or decrease proportionally to the metric.
|
|
2177
2222
|
# For example, a good metric to use as a utilization_target is https://www.
|
|
2178
2223
|
# googleapis.com/compute/v1/instance/network/received_bytes_count. The
|
|
2179
|
-
# autoscaler
|
|
2224
|
+
# autoscaler works to keep this value constant for each of the instances.
|
|
2180
2225
|
# Corresponds to the JSON property `utilizationTarget`
|
|
2181
2226
|
# @return [Float]
|
|
2182
2227
|
attr_accessor :utilization_target
|
|
@@ -2193,7 +2238,9 @@ module Google
|
|
|
2193
2238
|
|
|
2194
2239
|
# Update properties of this object
|
|
2195
2240
|
def update!(**args)
|
|
2241
|
+
@filter = args[:filter] if args.key?(:filter)
|
|
2196
2242
|
@metric = args[:metric] if args.key?(:metric)
|
|
2243
|
+
@single_instance_assignment = args[:single_instance_assignment] if args.key?(:single_instance_assignment)
|
|
2197
2244
|
@utilization_target = args[:utilization_target] if args.key?(:utilization_target)
|
|
2198
2245
|
@utilization_target_type = args[:utilization_target_type] if args.key?(:utilization_target_type)
|
|
2199
2246
|
end
|
|
@@ -2204,7 +2251,7 @@ module Google
|
|
|
2204
2251
|
include Google::Apis::Core::Hashable
|
|
2205
2252
|
|
|
2206
2253
|
# Fraction of backend capacity utilization (set in HTTP(S) load balancing
|
|
2207
|
-
# configuration) that autoscaler
|
|
2254
|
+
# configuration) that the autoscaler maintains. Must be a positive float value.
|
|
2208
2255
|
# If not defined, the default is 0.8.
|
|
2209
2256
|
# Corresponds to the JSON property `utilizationTarget`
|
|
2210
2257
|
# @return [Float]
|
|
@@ -2231,8 +2278,8 @@ module Google
|
|
|
2231
2278
|
# @return [Google::Apis::ComputeV1::FixedOrPercent]
|
|
2232
2279
|
attr_accessor :max_scaled_in_replicas
|
|
2233
2280
|
|
|
2234
|
-
# How
|
|
2235
|
-
#
|
|
2281
|
+
# How far back autoscaling looks when computing recommendations to include
|
|
2282
|
+
# directives regarding slower scale in, as described above.
|
|
2236
2283
|
# Corresponds to the JSON property `timeWindowSec`
|
|
2237
2284
|
# @return [Fixnum]
|
|
2238
2285
|
attr_accessor :time_window_sec
|
|
@@ -2266,21 +2313,22 @@ module Google
|
|
|
2266
2313
|
# parameters: maxConnections (except for regional managed instance groups),
|
|
2267
2314
|
# maxConnectionsPerInstance, or maxConnectionsPerEndpoint.
|
|
2268
2315
|
# If the loadBalancingScheme for the backend service is INTERNAL (internal TCP/
|
|
2269
|
-
# UDP
|
|
2316
|
+
# UDP Load Balancers) or EXTERNAL (Network Load Balancing), you cannot specify
|
|
2317
|
+
# any additional parameters.
|
|
2270
2318
|
#
|
|
2271
2319
|
# - If the load balancing mode is RATE, the load is spread based on the rate of
|
|
2272
2320
|
# HTTP requests per second (RPS).
|
|
2273
2321
|
# You can use the RATE balancing mode if the protocol for the backend service is
|
|
2274
|
-
# HTTP or HTTPS. You must specify exactly one of the following
|
|
2275
|
-
# maxRate (except for regional managed instance groups),
|
|
2276
|
-
# maxRatePerEndpoint.
|
|
2322
|
+
# HTTP, HTTP2, or HTTPS. You must specify exactly one of the following
|
|
2323
|
+
# parameters: maxRate (except for regional managed instance groups),
|
|
2324
|
+
# maxRatePerInstance, or maxRatePerEndpoint.
|
|
2277
2325
|
#
|
|
2278
2326
|
# - If the load balancing mode is UTILIZATION, the load is spread based on the
|
|
2279
2327
|
# backend utilization of instances in an instance group.
|
|
2280
2328
|
# You can use the UTILIZATION balancing mode if the loadBalancingScheme of the
|
|
2281
|
-
# backend service is EXTERNAL
|
|
2282
|
-
#
|
|
2283
|
-
# service protocol.
|
|
2329
|
+
# backend service is EXTERNAL (except Network Load Balancing),
|
|
2330
|
+
# INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED and the backends are instance
|
|
2331
|
+
# groups. There are no restrictions on the backend service protocol.
|
|
2284
2332
|
# Corresponds to the JSON property `balancingMode`
|
|
2285
2333
|
# @return [String]
|
|
2286
2334
|
attr_accessor :balancing_mode
|
|
@@ -2292,7 +2340,8 @@ module Google
|
|
|
2292
2340
|
# available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a
|
|
2293
2341
|
# setting larger than 0 and smaller than 0.1. You cannot configure a setting of
|
|
2294
2342
|
# 0 when there is only one backend attached to the backend service.
|
|
2295
|
-
# This cannot be used for
|
|
2343
|
+
# This cannot be used for Internal TCP/UDP Load Balancing and Network Load
|
|
2344
|
+
# Balancing.
|
|
2296
2345
|
# Corresponds to the JSON property `capacityScaler`
|
|
2297
2346
|
# @return [Float]
|
|
2298
2347
|
attr_accessor :capacity_scaler
|
|
@@ -2314,14 +2363,16 @@ module Google
|
|
|
2314
2363
|
# resource. The type of backend that a backend service supports depends on the
|
|
2315
2364
|
# backend service's loadBalancingScheme.
|
|
2316
2365
|
#
|
|
2317
|
-
# - When the loadBalancingScheme for the backend service is EXTERNAL
|
|
2318
|
-
# INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the
|
|
2319
|
-
# instance group or a NEG. The backends on the backend
|
|
2320
|
-
# all instance groups or all NEGs. You cannot mix
|
|
2321
|
-
# backends on the same backend service.
|
|
2322
|
-
# - When the loadBalancingScheme for the backend service is
|
|
2323
|
-
#
|
|
2324
|
-
# NEGs are not supported.
|
|
2366
|
+
# - When the loadBalancingScheme for the backend service is EXTERNAL (except
|
|
2367
|
+
# Network Load Balancing), INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED , the
|
|
2368
|
+
# backend can be either an instance group or a NEG. The backends on the backend
|
|
2369
|
+
# service must be either all instance groups or all NEGs. You cannot mix
|
|
2370
|
+
# instance group and NEG backends on the same backend service.
|
|
2371
|
+
# - When the loadBalancingScheme for the backend service is EXTERNAL for Network
|
|
2372
|
+
# Load Balancing or INTERNAL for Internal TCP/UDP Load Balancing, the backend
|
|
2373
|
+
# must be an instance group. NEGs are not supported.
|
|
2374
|
+
# For regional services, the backend must be in the same region as the backend
|
|
2375
|
+
# service.
|
|
2325
2376
|
# You must use the fully-qualified URL (starting with https://www.googleapis.com/
|
|
2326
2377
|
# ) to specify the instance group or NEG. Partial URLs are not supported.
|
|
2327
2378
|
# Corresponds to the JSON property `group`
|
|
@@ -2333,11 +2384,12 @@ module Google
|
|
|
2333
2384
|
# except for regional managed instance groups). If the backend's balancingMode
|
|
2334
2385
|
# is UTILIZATION, this is an optional parameter. If the backend's balancingMode
|
|
2335
2386
|
# is CONNECTION, and backend is attached to a backend service whose
|
|
2336
|
-
# loadBalancingScheme is EXTERNAL
|
|
2337
|
-
# maxConnectionsPerInstance, or
|
|
2338
|
-
#
|
|
2339
|
-
#
|
|
2340
|
-
#
|
|
2387
|
+
# loadBalancingScheme is EXTERNAL (except Network Load Balancing), you must
|
|
2388
|
+
# specify either this parameter, maxConnectionsPerInstance, or
|
|
2389
|
+
# maxConnectionsPerEndpoint.
|
|
2390
|
+
# Not available if the backend's balancingMode is RATE. Cannot be specified for
|
|
2391
|
+
# Network Load Balancing or Internal TCP/UDP Load Balancing, even though those
|
|
2392
|
+
# load balancers require a balancing mode of CONNECTION.
|
|
2341
2393
|
# Corresponds to the JSON property `maxConnections`
|
|
2342
2394
|
# @return [Fixnum]
|
|
2343
2395
|
attr_accessor :max_connections
|
|
@@ -2345,12 +2397,13 @@ module Google
|
|
|
2345
2397
|
# Defines a target maximum number of simultaneous connections for an endpoint of
|
|
2346
2398
|
# a NEG. This is multiplied by the number of endpoints in the NEG to implicitly
|
|
2347
2399
|
# calculate a maximum number of target maximum simultaneous connections for the
|
|
2348
|
-
# NEG. If the backend's balancingMode is CONNECTION, and
|
|
2349
|
-
#
|
|
2350
|
-
# either this parameter, maxConnections, or
|
|
2351
|
-
#
|
|
2352
|
-
#
|
|
2353
|
-
#
|
|
2400
|
+
# NEG. If the backend's balancingMode is CONNECTION, and backend is attached to
|
|
2401
|
+
# a backend service whose loadBalancingScheme is EXTERNAL (except Network Load
|
|
2402
|
+
# Balancing), you must specify either this parameter, maxConnections, or
|
|
2403
|
+
# maxConnectionsPerInstance.
|
|
2404
|
+
# Not available if the backend's balancingMode is RATE. Cannot be specified for
|
|
2405
|
+
# Network Load Balancing or Internal TCP/UDP Load Balancing, even though those
|
|
2406
|
+
# load balancers require a balancing mode of CONNECTION.
|
|
2354
2407
|
# Corresponds to the JSON property `maxConnectionsPerEndpoint`
|
|
2355
2408
|
# @return [Fixnum]
|
|
2356
2409
|
attr_accessor :max_connections_per_endpoint
|
|
@@ -2361,11 +2414,11 @@ module Google
|
|
|
2361
2414
|
# connections for the whole instance group. If the backend's balancingMode is
|
|
2362
2415
|
# UTILIZATION, this is an optional parameter. If the backend's balancingMode is
|
|
2363
2416
|
# CONNECTION, and backend is attached to a backend service whose
|
|
2364
|
-
# loadBalancingScheme is EXTERNAL
|
|
2365
|
-
# maxConnections, or maxConnectionsPerEndpoint.
|
|
2366
|
-
# Not available if the backend's balancingMode is RATE.
|
|
2367
|
-
#
|
|
2368
|
-
#
|
|
2417
|
+
# loadBalancingScheme is EXTERNAL (except Network Load Balancing), you must
|
|
2418
|
+
# specify either this parameter, maxConnections, or maxConnectionsPerEndpoint.
|
|
2419
|
+
# Not available if the backend's balancingMode is RATE. Cannot be specified for
|
|
2420
|
+
# Network Load Balancing or Internal TCP/UDP Load Balancing, even though those
|
|
2421
|
+
# load balancers require a balancing mode of CONNECTION.
|
|
2369
2422
|
# Corresponds to the JSON property `maxConnectionsPerInstance`
|
|
2370
2423
|
# @return [Fixnum]
|
|
2371
2424
|
attr_accessor :max_connections_per_instance
|
|
@@ -2457,6 +2510,11 @@ module Google
|
|
|
2457
2510
|
# @return [String]
|
|
2458
2511
|
attr_accessor :creation_timestamp
|
|
2459
2512
|
|
|
2513
|
+
# Headers that the HTTP/S load balancer should add to proxied responses.
|
|
2514
|
+
# Corresponds to the JSON property `customResponseHeaders`
|
|
2515
|
+
# @return [Array<String>]
|
|
2516
|
+
attr_accessor :custom_response_headers
|
|
2517
|
+
|
|
2460
2518
|
# An optional textual description of the resource; provided by the client when
|
|
2461
2519
|
# the resource is created.
|
|
2462
2520
|
# Corresponds to the JSON property `description`
|
|
@@ -2503,6 +2561,7 @@ module Google
|
|
|
2503
2561
|
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
|
2504
2562
|
@cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
|
|
2505
2563
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
2564
|
+
@custom_response_headers = args[:custom_response_headers] if args.key?(:custom_response_headers)
|
|
2506
2565
|
@description = args[:description] if args.key?(:description)
|
|
2507
2566
|
@enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
|
|
2508
2567
|
@id = args[:id] if args.key?(:id)
|
|
@@ -2516,6 +2575,55 @@ module Google
|
|
|
2516
2575
|
class BackendBucketCdnPolicy
|
|
2517
2576
|
include Google::Apis::Core::Hashable
|
|
2518
2577
|
|
|
2578
|
+
# Specifies the cache setting for all responses from this backend. The possible
|
|
2579
|
+
# values are:
|
|
2580
|
+
# USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache
|
|
2581
|
+
# content. Responses without these headers will not be cached at Google's edge,
|
|
2582
|
+
# and will require a full trip to the origin on every request, potentially
|
|
2583
|
+
# impacting performance and increasing load on the origin server.
|
|
2584
|
+
# FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-
|
|
2585
|
+
# cache" directives in Cache-Control response headers. Warning: this may result
|
|
2586
|
+
# in Cloud CDN caching private, per-user (user identifiable) content.
|
|
2587
|
+
# CACHE_ALL_STATIC Automatically cache static content, including common image
|
|
2588
|
+
# formats, media (video and audio), and web assets (JavaScript and CSS).
|
|
2589
|
+
# Requests and responses that are marked as uncacheable, as well as dynamic
|
|
2590
|
+
# content (including HTML), will not be cached.
|
|
2591
|
+
# Corresponds to the JSON property `cacheMode`
|
|
2592
|
+
# @return [String]
|
|
2593
|
+
attr_accessor :cache_mode
|
|
2594
|
+
|
|
2595
|
+
# Specifies a separate client (e.g. browser client) TTL, separate from the TTL
|
|
2596
|
+
# for Cloud CDN's edge caches. Leaving this empty will use the same cache TTL
|
|
2597
|
+
# for both Cloud CDN and the client-facing response. The maximum allowed value
|
|
2598
|
+
# is 86400s (1 day).
|
|
2599
|
+
# Corresponds to the JSON property `clientTtl`
|
|
2600
|
+
# @return [Fixnum]
|
|
2601
|
+
attr_accessor :client_ttl
|
|
2602
|
+
|
|
2603
|
+
# Specifies the default TTL for cached content served by this origin for
|
|
2604
|
+
# responses that do not have an existing valid TTL (max-age or s-max-age).
|
|
2605
|
+
# Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot
|
|
2606
|
+
# be set to a value greater than that of maxTTL, but can be equal. When the
|
|
2607
|
+
# cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set
|
|
2608
|
+
# in all responses. The maximum allowed value is 31,622,400s (1 year), noting
|
|
2609
|
+
# that infrequently accessed objects may be evicted from the cache before the
|
|
2610
|
+
# defined TTL.
|
|
2611
|
+
# Corresponds to the JSON property `defaultTtl`
|
|
2612
|
+
# @return [Fixnum]
|
|
2613
|
+
attr_accessor :default_ttl
|
|
2614
|
+
|
|
2615
|
+
# Specifies the maximum allowed TTL for cached content served by this origin.
|
|
2616
|
+
# Cache directives that attempt to set a max-age or s-maxage higher than this,
|
|
2617
|
+
# or an Expires header more than maxTTL seconds in the future will be capped at
|
|
2618
|
+
# the value of maxTTL, as if it were the value of an s-maxage Cache-Control
|
|
2619
|
+
# directive. Headers sent to the client will not be modified. Setting a TTL of "
|
|
2620
|
+
# 0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year)
|
|
2621
|
+
# , noting that infrequently accessed objects may be evicted from the cache
|
|
2622
|
+
# before the defined TTL.
|
|
2623
|
+
# Corresponds to the JSON property `maxTtl`
|
|
2624
|
+
# @return [Fixnum]
|
|
2625
|
+
attr_accessor :max_ttl
|
|
2626
|
+
|
|
2519
2627
|
# Maximum number of seconds the response to a signed URL request will be
|
|
2520
2628
|
# considered fresh. After this time period, the response will be revalidated
|
|
2521
2629
|
# before being served. Defaults to 1hr (3600s). When serving responses to signed
|
|
@@ -2538,6 +2646,10 @@ module Google
|
|
|
2538
2646
|
|
|
2539
2647
|
# Update properties of this object
|
|
2540
2648
|
def update!(**args)
|
|
2649
|
+
@cache_mode = args[:cache_mode] if args.key?(:cache_mode)
|
|
2650
|
+
@client_ttl = args[:client_ttl] if args.key?(:client_ttl)
|
|
2651
|
+
@default_ttl = args[:default_ttl] if args.key?(:default_ttl)
|
|
2652
|
+
@max_ttl = args[:max_ttl] if args.key?(:max_ttl)
|
|
2541
2653
|
@signed_url_cache_max_age_sec = args[:signed_url_cache_max_age_sec] if args.key?(:signed_url_cache_max_age_sec)
|
|
2542
2654
|
@signed_url_key_names = args[:signed_url_key_names] if args.key?(:signed_url_key_names)
|
|
2543
2655
|
end
|
|
@@ -2722,6 +2834,11 @@ module Google
|
|
|
2722
2834
|
# @return [Array<String>]
|
|
2723
2835
|
attr_accessor :custom_request_headers
|
|
2724
2836
|
|
|
2837
|
+
# Headers that the HTTP/S load balancer should add to proxied responses.
|
|
2838
|
+
# Corresponds to the JSON property `customResponseHeaders`
|
|
2839
|
+
# @return [Array<String>]
|
|
2840
|
+
attr_accessor :custom_response_headers
|
|
2841
|
+
|
|
2725
2842
|
# An optional description of this resource. Provide this property when you
|
|
2726
2843
|
# create the resource.
|
|
2727
2844
|
# Corresponds to the JSON property `description`
|
|
@@ -2735,13 +2852,14 @@ module Google
|
|
|
2735
2852
|
attr_accessor :enable_cdn
|
|
2736
2853
|
alias_method :enable_cdn?, :enable_cdn
|
|
2737
2854
|
|
|
2738
|
-
# Applicable only to Failover for Internal TCP/UDP Load Balancing
|
|
2739
|
-
# or failback, this field indicates whether
|
|
2740
|
-
# GCP has a fixed connection draining
|
|
2741
|
-
#
|
|
2742
|
-
#
|
|
2743
|
-
# connections to persist, even on VMs no
|
|
2744
|
-
# the duration of the connection draining
|
|
2855
|
+
# Applicable only to Failover for Internal TCP/UDP Load Balancing and Network
|
|
2856
|
+
# Load Balancing. On failover or failback, this field indicates whether
|
|
2857
|
+
# connection draining will be honored. GCP has a fixed connection draining
|
|
2858
|
+
# timeout of 10 minutes. A setting of true terminates existing TCP connections
|
|
2859
|
+
# to the active pool during failover and failback, immediately draining traffic.
|
|
2860
|
+
# A setting of false allows existing TCP connections to persist, even on VMs no
|
|
2861
|
+
# longer in the active pool, for up to the duration of the connection draining
|
|
2862
|
+
# timeout (10 minutes).
|
|
2745
2863
|
# Corresponds to the JSON property `failoverPolicy`
|
|
2746
2864
|
# @return [Google::Apis::ComputeV1::BackendServiceFailoverPolicy]
|
|
2747
2865
|
attr_accessor :failover_policy
|
|
@@ -2786,11 +2904,11 @@ module Google
|
|
|
2786
2904
|
# @return [String]
|
|
2787
2905
|
attr_accessor :kind
|
|
2788
2906
|
|
|
2789
|
-
# Specifies the load balancer type. Choose EXTERNAL for
|
|
2790
|
-
#
|
|
2791
|
-
# Load Balancing. Choose
|
|
2792
|
-
#
|
|
2793
|
-
# for one type of load
|
|
2907
|
+
# Specifies the load balancer type. Choose EXTERNAL for external HTTP(S), SSL
|
|
2908
|
+
# Proxy, TCP Proxy and Network Load Balancing. Choose INTERNAL for Internal TCP/
|
|
2909
|
+
# UDP Load Balancing. Choose INTERNAL_MANAGED for Internal HTTP(S) Load
|
|
2910
|
+
# Balancing. INTERNAL_SELF_MANAGED for Traffic Director. A backend service
|
|
2911
|
+
# created for one type of load balancer cannot be used with another. For more
|
|
2794
2912
|
# information, refer to Choosing a load balancer.
|
|
2795
2913
|
# Corresponds to the JSON property `loadBalancingScheme`
|
|
2796
2914
|
# @return [String]
|
|
@@ -2845,7 +2963,7 @@ module Google
|
|
|
2845
2963
|
attr_accessor :name
|
|
2846
2964
|
|
|
2847
2965
|
# The URL of the network to which this backend service belongs. This field can
|
|
2848
|
-
# only be
|
|
2966
|
+
# only be specified when the load balancing scheme is set to INTERNAL.
|
|
2849
2967
|
# Corresponds to the JSON property `network`
|
|
2850
2968
|
# @return [String]
|
|
2851
2969
|
attr_accessor :network
|
|
@@ -2866,11 +2984,12 @@ module Google
|
|
|
2866
2984
|
|
|
2867
2985
|
# A named port on a backend instance group representing the port for
|
|
2868
2986
|
# communication to the backend VMs in that group. Required when the
|
|
2869
|
-
# loadBalancingScheme is EXTERNAL
|
|
2870
|
-
# and the backends are instance
|
|
2871
|
-
#
|
|
2872
|
-
#
|
|
2873
|
-
# Load Balancing
|
|
2987
|
+
# loadBalancingScheme is EXTERNAL (except Network Load Balancing),
|
|
2988
|
+
# INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED and the backends are instance
|
|
2989
|
+
# groups. The named port must be defined on each backend instance group. This
|
|
2990
|
+
# parameter has no meaning if the backends are NEGs.
|
|
2991
|
+
# Backend services for Internal TCP/UDP Load Balancing and Network Load
|
|
2992
|
+
# Balancing require you omit port_name.
|
|
2874
2993
|
# Corresponds to the JSON property `portName`
|
|
2875
2994
|
# @return [String]
|
|
2876
2995
|
attr_accessor :port_name
|
|
@@ -2900,16 +3019,22 @@ module Google
|
|
|
2900
3019
|
# @return [String]
|
|
2901
3020
|
attr_accessor :security_policy
|
|
2902
3021
|
|
|
3022
|
+
# The authentication and authorization settings for a BackendService.
|
|
3023
|
+
# Corresponds to the JSON property `securitySettings`
|
|
3024
|
+
# @return [Google::Apis::ComputeV1::SecuritySettings]
|
|
3025
|
+
attr_accessor :security_settings
|
|
3026
|
+
|
|
2903
3027
|
# [Output Only] Server-defined URL for the resource.
|
|
2904
3028
|
# Corresponds to the JSON property `selfLink`
|
|
2905
3029
|
# @return [String]
|
|
2906
3030
|
attr_accessor :self_link
|
|
2907
3031
|
|
|
2908
|
-
# Type of session affinity to use. The default is NONE.
|
|
2909
|
-
#
|
|
2910
|
-
#
|
|
2911
|
-
#
|
|
2912
|
-
#
|
|
3032
|
+
# Type of session affinity to use. The default is NONE.
|
|
3033
|
+
# When the loadBalancingScheme is EXTERNAL: * For Network Load Balancing, the
|
|
3034
|
+
# possible values are NONE, CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
|
|
3035
|
+
# * For all other load balancers that use loadBalancingScheme=EXTERNAL, the
|
|
3036
|
+
# possible values are NONE, CLIENT_IP, or GENERATED_COOKIE. * You can use
|
|
3037
|
+
# GENERATED_COOKIE if the protocol is HTTP, HTTP2, or HTTPS.
|
|
2913
3038
|
# When the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP,
|
|
2914
3039
|
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
|
|
2915
3040
|
# When the loadBalancingScheme is INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED,
|
|
@@ -2942,6 +3067,7 @@ module Google
|
|
|
2942
3067
|
@consistent_hash = args[:consistent_hash] if args.key?(:consistent_hash)
|
|
2943
3068
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
2944
3069
|
@custom_request_headers = args[:custom_request_headers] if args.key?(:custom_request_headers)
|
|
3070
|
+
@custom_response_headers = args[:custom_response_headers] if args.key?(:custom_response_headers)
|
|
2945
3071
|
@description = args[:description] if args.key?(:description)
|
|
2946
3072
|
@enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
|
|
2947
3073
|
@failover_policy = args[:failover_policy] if args.key?(:failover_policy)
|
|
@@ -2961,6 +3087,7 @@ module Google
|
|
|
2961
3087
|
@protocol = args[:protocol] if args.key?(:protocol)
|
|
2962
3088
|
@region = args[:region] if args.key?(:region)
|
|
2963
3089
|
@security_policy = args[:security_policy] if args.key?(:security_policy)
|
|
3090
|
+
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
|
2964
3091
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
2965
3092
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
|
2966
3093
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
|
@@ -3100,6 +3227,55 @@ module Google
|
|
|
3100
3227
|
# @return [Google::Apis::ComputeV1::CacheKeyPolicy]
|
|
3101
3228
|
attr_accessor :cache_key_policy
|
|
3102
3229
|
|
|
3230
|
+
# Specifies the cache setting for all responses from this backend. The possible
|
|
3231
|
+
# values are:
|
|
3232
|
+
# USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache
|
|
3233
|
+
# content. Responses without these headers will not be cached at Google's edge,
|
|
3234
|
+
# and will require a full trip to the origin on every request, potentially
|
|
3235
|
+
# impacting performance and increasing load on the origin server.
|
|
3236
|
+
# FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-
|
|
3237
|
+
# cache" directives in Cache-Control response headers. Warning: this may result
|
|
3238
|
+
# in Cloud CDN caching private, per-user (user identifiable) content.
|
|
3239
|
+
# CACHE_ALL_STATIC Automatically cache static content, including common image
|
|
3240
|
+
# formats, media (video and audio), and web assets (JavaScript and CSS).
|
|
3241
|
+
# Requests and responses that are marked as uncacheable, as well as dynamic
|
|
3242
|
+
# content (including HTML), will not be cached.
|
|
3243
|
+
# Corresponds to the JSON property `cacheMode`
|
|
3244
|
+
# @return [String]
|
|
3245
|
+
attr_accessor :cache_mode
|
|
3246
|
+
|
|
3247
|
+
# Specifies a separate client (e.g. browser client) TTL, separate from the TTL
|
|
3248
|
+
# for Cloud CDN's edge caches. Leaving this empty will use the same cache TTL
|
|
3249
|
+
# for both Cloud CDN and the client-facing response. The maximum allowed value
|
|
3250
|
+
# is 86400s (1 day).
|
|
3251
|
+
# Corresponds to the JSON property `clientTtl`
|
|
3252
|
+
# @return [Fixnum]
|
|
3253
|
+
attr_accessor :client_ttl
|
|
3254
|
+
|
|
3255
|
+
# Specifies the default TTL for cached content served by this origin for
|
|
3256
|
+
# responses that do not have an existing valid TTL (max-age or s-max-age).
|
|
3257
|
+
# Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot
|
|
3258
|
+
# be set to a value greater than that of maxTTL, but can be equal. When the
|
|
3259
|
+
# cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set
|
|
3260
|
+
# in all responses. The maximum allowed value is 31,622,400s (1 year), noting
|
|
3261
|
+
# that infrequently accessed objects may be evicted from the cache before the
|
|
3262
|
+
# defined TTL.
|
|
3263
|
+
# Corresponds to the JSON property `defaultTtl`
|
|
3264
|
+
# @return [Fixnum]
|
|
3265
|
+
attr_accessor :default_ttl
|
|
3266
|
+
|
|
3267
|
+
# Specifies the maximum allowed TTL for cached content served by this origin.
|
|
3268
|
+
# Cache directives that attempt to set a max-age or s-maxage higher than this,
|
|
3269
|
+
# or an Expires header more than maxTTL seconds in the future will be capped at
|
|
3270
|
+
# the value of maxTTL, as if it were the value of an s-maxage Cache-Control
|
|
3271
|
+
# directive. Headers sent to the client will not be modified. Setting a TTL of "
|
|
3272
|
+
# 0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year)
|
|
3273
|
+
# , noting that infrequently accessed objects may be evicted from the cache
|
|
3274
|
+
# before the defined TTL.
|
|
3275
|
+
# Corresponds to the JSON property `maxTtl`
|
|
3276
|
+
# @return [Fixnum]
|
|
3277
|
+
attr_accessor :max_ttl
|
|
3278
|
+
|
|
3103
3279
|
# Maximum number of seconds the response to a signed URL request will be
|
|
3104
3280
|
# considered fresh. After this time period, the response will be revalidated
|
|
3105
3281
|
# before being served. Defaults to 1hr (3600s). When serving responses to signed
|
|
@@ -3123,18 +3299,23 @@ module Google
|
|
|
3123
3299
|
# Update properties of this object
|
|
3124
3300
|
def update!(**args)
|
|
3125
3301
|
@cache_key_policy = args[:cache_key_policy] if args.key?(:cache_key_policy)
|
|
3302
|
+
@cache_mode = args[:cache_mode] if args.key?(:cache_mode)
|
|
3303
|
+
@client_ttl = args[:client_ttl] if args.key?(:client_ttl)
|
|
3304
|
+
@default_ttl = args[:default_ttl] if args.key?(:default_ttl)
|
|
3305
|
+
@max_ttl = args[:max_ttl] if args.key?(:max_ttl)
|
|
3126
3306
|
@signed_url_cache_max_age_sec = args[:signed_url_cache_max_age_sec] if args.key?(:signed_url_cache_max_age_sec)
|
|
3127
3307
|
@signed_url_key_names = args[:signed_url_key_names] if args.key?(:signed_url_key_names)
|
|
3128
3308
|
end
|
|
3129
3309
|
end
|
|
3130
3310
|
|
|
3131
|
-
# Applicable only to Failover for Internal TCP/UDP Load Balancing
|
|
3132
|
-
# or failback, this field indicates whether
|
|
3133
|
-
# GCP has a fixed connection draining
|
|
3134
|
-
#
|
|
3135
|
-
#
|
|
3136
|
-
# connections to persist, even on VMs no
|
|
3137
|
-
# the duration of the connection draining
|
|
3311
|
+
# Applicable only to Failover for Internal TCP/UDP Load Balancing and Network
|
|
3312
|
+
# Load Balancing. On failover or failback, this field indicates whether
|
|
3313
|
+
# connection draining will be honored. GCP has a fixed connection draining
|
|
3314
|
+
# timeout of 10 minutes. A setting of true terminates existing TCP connections
|
|
3315
|
+
# to the active pool during failover and failback, immediately draining traffic.
|
|
3316
|
+
# A setting of false allows existing TCP connections to persist, even on VMs no
|
|
3317
|
+
# longer in the active pool, for up to the duration of the connection draining
|
|
3318
|
+
# timeout (10 minutes).
|
|
3138
3319
|
class BackendServiceFailoverPolicy
|
|
3139
3320
|
include Google::Apis::Core::Hashable
|
|
3140
3321
|
|
|
@@ -3145,22 +3326,21 @@ module Google
|
|
|
3145
3326
|
attr_accessor :disable_connection_drain_on_failover
|
|
3146
3327
|
alias_method :disable_connection_drain_on_failover?, :disable_connection_drain_on_failover
|
|
3147
3328
|
|
|
3148
|
-
# Applicable only to Failover for Internal TCP/UDP Load Balancing
|
|
3149
|
-
# true, connections to the load balancer are dropped
|
|
3150
|
-
# backup backend VMs are unhealthy.
|
|
3151
|
-
# among all primary VMs when all primary and all
|
|
3152
|
-
# unhealthy.
|
|
3153
|
-
# The default is false.
|
|
3329
|
+
# Applicable only to Failover for Internal TCP/UDP Load Balancing and Network
|
|
3330
|
+
# Load Balancing, If set to true, connections to the load balancer are dropped
|
|
3331
|
+
# when all primary and all backup backend VMs are unhealthy.If set to false,
|
|
3332
|
+
# connections are distributed among all primary VMs when all primary and all
|
|
3333
|
+
# backup backend VMs are unhealthy. The default is false.
|
|
3154
3334
|
# Corresponds to the JSON property `dropTrafficIfUnhealthy`
|
|
3155
3335
|
# @return [Boolean]
|
|
3156
3336
|
attr_accessor :drop_traffic_if_unhealthy
|
|
3157
3337
|
alias_method :drop_traffic_if_unhealthy?, :drop_traffic_if_unhealthy
|
|
3158
3338
|
|
|
3159
|
-
# Applicable only to Failover for Internal TCP/UDP Load Balancing
|
|
3160
|
-
# the field must be in the range [0, 1]. If the
|
|
3161
|
-
# performs a failover when the number of healthy
|
|
3162
|
-
# all other values, the load balancer performs a
|
|
3163
|
-
# of healthy primary VMs is less than this ratio.
|
|
3339
|
+
# Applicable only to Failover for Internal TCP/UDP Load Balancing and Network
|
|
3340
|
+
# Load Balancing. The value of the field must be in the range [0, 1]. If the
|
|
3341
|
+
# value is 0, the load balancer performs a failover when the number of healthy
|
|
3342
|
+
# primary VMs equals zero. For all other values, the load balancer performs a
|
|
3343
|
+
# failover when the total number of healthy primary VMs is less than this ratio.
|
|
3164
3344
|
# Corresponds to the JSON property `failoverRatio`
|
|
3165
3345
|
# @return [Float]
|
|
3166
3346
|
attr_accessor :failover_ratio
|
|
@@ -3516,8 +3696,7 @@ module Google
|
|
|
3516
3696
|
class Binding
|
|
3517
3697
|
include Google::Apis::Core::Hashable
|
|
3518
3698
|
|
|
3519
|
-
#
|
|
3520
|
-
# support the internal bindings-by-ID API.
|
|
3699
|
+
#
|
|
3521
3700
|
# Corresponds to the JSON property `bindingId`
|
|
3522
3701
|
# @return [String]
|
|
3523
3702
|
attr_accessor :binding_id
|
|
@@ -5770,7 +5949,7 @@ module Google
|
|
|
5770
5949
|
class DistributionPolicy
|
|
5771
5950
|
include Google::Apis::Core::Hashable
|
|
5772
5951
|
|
|
5773
|
-
# Zones where the regional managed instance group will create and manage
|
|
5952
|
+
# Zones where the regional managed instance group will create and manage its
|
|
5774
5953
|
# instances.
|
|
5775
5954
|
# Corresponds to the JSON property `zones`
|
|
5776
5955
|
# @return [Array<Google::Apis::ComputeV1::DistributionPolicyZoneConfiguration>]
|
|
@@ -6808,29 +6987,36 @@ module Google
|
|
|
6808
6987
|
# assigned. Methods for specifying an IP address:
|
|
6809
6988
|
# * IPv4 dotted decimal, as in `100.1.2.3` * Full URL, as in https://www.
|
|
6810
6989
|
# googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-
|
|
6811
|
-
# name * Partial URL or by name, as in:
|
|
6812
|
-
#
|
|
6813
|
-
# addresses/address-name
|
|
6990
|
+
# name * Partial URL or by name, as in:
|
|
6991
|
+
# - projects/project_id/regions/region/addresses/address-name
|
|
6992
|
+
# - regions/region/addresses/address-name
|
|
6993
|
+
# - global/addresses/address-name
|
|
6994
|
+
# - address-name
|
|
6814
6995
|
# The loadBalancingScheme and the forwarding rule's target determine the type of
|
|
6815
6996
|
# IP address that you can use. For detailed information, refer to [IP address
|
|
6816
6997
|
# specifications](/load-balancing/docs/forwarding-rule-concepts#
|
|
6817
6998
|
# ip_address_specifications).
|
|
6818
6999
|
# Must be set to `0.0.0.0` when the target is targetGrpcProxy that has
|
|
6819
7000
|
# validateForProxyless field set to true.
|
|
7001
|
+
# For Private Service Connect forwarding rules that forward traffic to Google
|
|
7002
|
+
# APIs, IP address must be provided.
|
|
6820
7003
|
# Corresponds to the JSON property `IPAddress`
|
|
6821
7004
|
# @return [String]
|
|
6822
7005
|
attr_accessor :ip_address
|
|
6823
7006
|
|
|
6824
|
-
# The IP protocol to which this rule applies.
|
|
6825
|
-
# options are TCP, UDP, ESP, AH, SCTP
|
|
6826
|
-
#
|
|
6827
|
-
#
|
|
6828
|
-
#
|
|
6829
|
-
#
|
|
6830
|
-
#
|
|
6831
|
-
#
|
|
6832
|
-
#
|
|
6833
|
-
#
|
|
7007
|
+
# The IP protocol to which this rule applies.
|
|
7008
|
+
# For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP and ICMP.
|
|
7009
|
+
# The valid IP protocols are different for different load balancing products:
|
|
7010
|
+
# - Internal TCP/UDP Load Balancing: The load balancing scheme is INTERNAL, and
|
|
7011
|
+
# one of TCP, UDP or ALL is valid.
|
|
7012
|
+
# - Traffic Director: The load balancing scheme is INTERNAL_SELF_MANAGED, and
|
|
7013
|
+
# only TCP is valid.
|
|
7014
|
+
# - Internal HTTP(S) Load Balancing: The load balancing scheme is
|
|
7015
|
+
# INTERNAL_MANAGED, and only TCP is valid.
|
|
7016
|
+
# - HTTP(S), SSL Proxy, and TCP Proxy Load Balancing: The load balancing scheme
|
|
7017
|
+
# is EXTERNAL and only TCP is valid.
|
|
7018
|
+
# - Network Load Balancing: The load balancing scheme is EXTERNAL, and one of
|
|
7019
|
+
# TCP or UDP is valid.
|
|
6834
7020
|
# Corresponds to the JSON property `IPProtocol`
|
|
6835
7021
|
# @return [String]
|
|
6836
7022
|
attr_accessor :ip_protocol
|
|
@@ -6855,9 +7041,9 @@ module Google
|
|
|
6855
7041
|
attr_accessor :allow_global_access
|
|
6856
7042
|
alias_method :allow_global_access?, :allow_global_access
|
|
6857
7043
|
|
|
6858
|
-
#
|
|
6859
|
-
#
|
|
6860
|
-
#
|
|
7044
|
+
# Identifies the backend service to which the forwarding rule sends traffic.
|
|
7045
|
+
# Required for Internal TCP/UDP Load Balancing and Network Load Balancing; must
|
|
7046
|
+
# be omitted for all other load balancer types.
|
|
6861
7047
|
# Corresponds to the JSON property `backendService`
|
|
6862
7048
|
# @return [String]
|
|
6863
7049
|
attr_accessor :backend_service
|
|
@@ -6919,13 +7105,12 @@ module Google
|
|
|
6919
7105
|
# - EXTERNAL is used for:
|
|
6920
7106
|
# - Classic Cloud VPN gateways
|
|
6921
7107
|
# - Protocol forwarding to VMs from an external IP address
|
|
6922
|
-
# -
|
|
6923
|
-
# UDP
|
|
7108
|
+
# - HTTP(S), SSL Proxy, TCP Proxy, and Network Load Balancing
|
|
6924
7109
|
# - INTERNAL is used for:
|
|
6925
7110
|
# - Protocol forwarding to VMs from an internal IP address
|
|
6926
|
-
# - Internal TCP/UDP
|
|
7111
|
+
# - Internal TCP/UDP Load Balancing
|
|
6927
7112
|
# - INTERNAL_MANAGED is used for:
|
|
6928
|
-
# - Internal HTTP(S)
|
|
7113
|
+
# - Internal HTTP(S) Load Balancing
|
|
6929
7114
|
# - INTERNAL_SELF_MANAGED is used for:
|
|
6930
7115
|
# - Traffic Director
|
|
6931
7116
|
# For more information about forwarding rules, refer to Forwarding rule concepts.
|
|
@@ -6964,9 +7149,11 @@ module Google
|
|
|
6964
7149
|
attr_accessor :name
|
|
6965
7150
|
|
|
6966
7151
|
# This field is not used for external load balancing.
|
|
6967
|
-
# For
|
|
6968
|
-
# balanced IP should belong to for this Forwarding Rule. If this field
|
|
6969
|
-
# specified, the default network will be used.
|
|
7152
|
+
# For Internal TCP/UDP Load Balancing, this field identifies the network that
|
|
7153
|
+
# the load balanced IP should belong to for this Forwarding Rule. If this field
|
|
7154
|
+
# is not specified, the default network will be used.
|
|
7155
|
+
# For Private Service Connect forwarding rules that forward traffic to Google
|
|
7156
|
+
# APIs, a network must be provided.
|
|
6970
7157
|
# Corresponds to the JSON property `network`
|
|
6971
7158
|
# @return [String]
|
|
6972
7159
|
attr_accessor :network
|
|
@@ -6981,19 +7168,17 @@ module Google
|
|
|
6981
7168
|
# @return [String]
|
|
6982
7169
|
attr_accessor :network_tier
|
|
6983
7170
|
|
|
6984
|
-
#
|
|
6985
|
-
# INTERNAL_MANAGED,
|
|
6986
|
-
#
|
|
6987
|
-
#
|
|
6988
|
-
#
|
|
6989
|
-
#
|
|
6990
|
-
#
|
|
6991
|
-
# to ports in the specified range will be forwarded to target. Forwarding rules
|
|
6992
|
-
# with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
|
|
7171
|
+
# This field can be used only if: * Load balancing scheme is one of EXTERNAL,
|
|
7172
|
+
# INTERNAL_SELF_MANAGED or INTERNAL_MANAGED, and * IPProtocol is one of TCP, UDP,
|
|
7173
|
+
# or SCTP.
|
|
7174
|
+
# Packets addressed to ports in the specified range will be forwarded to target
|
|
7175
|
+
# or backend_service. You can only use one of ports, port_range, or allPorts.
|
|
7176
|
+
# The three are mutually exclusive. Forwarding rules with the same [IPAddress,
|
|
7177
|
+
# IPProtocol] pair must have disjoint port ranges.
|
|
6993
7178
|
# Some types of forwarding target have constraints on the acceptable ports:
|
|
6994
7179
|
# - TargetHttpProxy: 80, 8080
|
|
6995
7180
|
# - TargetHttpsProxy: 443
|
|
6996
|
-
# - TargetGrpcProxy:
|
|
7181
|
+
# - TargetGrpcProxy: no constraints
|
|
6997
7182
|
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
|
6998
7183
|
# 1883, 5222
|
|
6999
7184
|
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
|
@@ -7003,16 +7188,17 @@ module Google
|
|
|
7003
7188
|
# @return [String]
|
|
7004
7189
|
attr_accessor :port_range
|
|
7005
7190
|
|
|
7006
|
-
#
|
|
7007
|
-
# balancing
|
|
7008
|
-
#
|
|
7009
|
-
#
|
|
7010
|
-
#
|
|
7011
|
-
#
|
|
7012
|
-
#
|
|
7013
|
-
#
|
|
7014
|
-
#
|
|
7015
|
-
#
|
|
7191
|
+
# The ports field is only supported when the forwarding rule references a
|
|
7192
|
+
# backend_service directly. Supported load balancing products are Internal TCP/
|
|
7193
|
+
# UDP Load Balancing and Network Load Balancing. Only packets addressed to the
|
|
7194
|
+
# specified list of ports are forwarded to backends.
|
|
7195
|
+
# You can only use one of ports and port_range, or allPorts. The three are
|
|
7196
|
+
# mutually exclusive.
|
|
7197
|
+
# You can specify a list of up to five ports, which can be non-contiguous.
|
|
7198
|
+
# For Internal TCP/UDP Load Balancing, if you specify allPorts, you should not
|
|
7199
|
+
# specify ports.
|
|
7200
|
+
# For more information, see [Port specifications](/load-balancing/docs/
|
|
7201
|
+
# forwarding-rule-concepts#port_specifications).
|
|
7016
7202
|
# Corresponds to the JSON property `ports`
|
|
7017
7203
|
# @return [Array<String>]
|
|
7018
7204
|
attr_accessor :ports
|
|
@@ -7065,6 +7251,15 @@ module Google
|
|
|
7065
7251
|
# resource. The forwarded traffic must be of a type appropriate to the target
|
|
7066
7252
|
# object. For more information, see the "Target" column in [Port specifications](
|
|
7067
7253
|
# /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
|
|
7254
|
+
# For Private Service Connect forwarding rules that forward traffic to Google
|
|
7255
|
+
# APIs, provide the name of a supported Google API bundle. Currently, the
|
|
7256
|
+
# supported Google API bundles include:
|
|
7257
|
+
#
|
|
7258
|
+
# - vpc-sc - GCP APIs that support VPC Service Controls. For more information
|
|
7259
|
+
# about which APIs support VPC Service Controls, refer to VPC-SC supported
|
|
7260
|
+
# products and limitations.
|
|
7261
|
+
# - all-apis - All GCP APIs. For more information about which APIs are supported
|
|
7262
|
+
# with this bundle, refer to Private Google Access-specific domains and VIPs.
|
|
7068
7263
|
# Corresponds to the JSON property `target`
|
|
7069
7264
|
# @return [String]
|
|
7070
7265
|
attr_accessor :target
|
|
@@ -8047,6 +8242,12 @@ module Google
|
|
|
8047
8242
|
# @return [String]
|
|
8048
8243
|
attr_accessor :kind
|
|
8049
8244
|
|
|
8245
|
+
# Configuration of logging on a health check. If logging is enabled, logs will
|
|
8246
|
+
# be exported to Stackdriver.
|
|
8247
|
+
# Corresponds to the JSON property `logConfig`
|
|
8248
|
+
# @return [Google::Apis::ComputeV1::HealthCheckLogConfig]
|
|
8249
|
+
attr_accessor :log_config
|
|
8250
|
+
|
|
8050
8251
|
# Name of the resource. Provided by the client when the resource is created. The
|
|
8051
8252
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
|
8052
8253
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
|
@@ -8114,6 +8315,7 @@ module Google
|
|
|
8114
8315
|
@https_health_check = args[:https_health_check] if args.key?(:https_health_check)
|
|
8115
8316
|
@id = args[:id] if args.key?(:id)
|
|
8116
8317
|
@kind = args[:kind] if args.key?(:kind)
|
|
8318
|
+
@log_config = args[:log_config] if args.key?(:log_config)
|
|
8117
8319
|
@name = args[:name] if args.key?(:name)
|
|
8118
8320
|
@region = args[:region] if args.key?(:region)
|
|
8119
8321
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
@@ -8242,6 +8444,28 @@ module Google
|
|
|
8242
8444
|
end
|
|
8243
8445
|
end
|
|
8244
8446
|
|
|
8447
|
+
# Configuration of logging on a health check. If logging is enabled, logs will
|
|
8448
|
+
# be exported to Stackdriver.
|
|
8449
|
+
class HealthCheckLogConfig
|
|
8450
|
+
include Google::Apis::Core::Hashable
|
|
8451
|
+
|
|
8452
|
+
# Indicates whether or not to export logs. This is false by default, which means
|
|
8453
|
+
# no health check logging will be done.
|
|
8454
|
+
# Corresponds to the JSON property `enable`
|
|
8455
|
+
# @return [Boolean]
|
|
8456
|
+
attr_accessor :enable
|
|
8457
|
+
alias_method :enable?, :enable
|
|
8458
|
+
|
|
8459
|
+
def initialize(**args)
|
|
8460
|
+
update!(**args)
|
|
8461
|
+
end
|
|
8462
|
+
|
|
8463
|
+
# Update properties of this object
|
|
8464
|
+
def update!(**args)
|
|
8465
|
+
@enable = args[:enable] if args.key?(:enable)
|
|
8466
|
+
end
|
|
8467
|
+
end
|
|
8468
|
+
|
|
8245
8469
|
# A full or valid partial URL to a health check. For example, the following are
|
|
8246
8470
|
# valid URLs:
|
|
8247
8471
|
# - https://www.googleapis.com/compute/beta/projects/project-id/global/
|
|
@@ -8774,6 +8998,16 @@ module Google
|
|
|
8774
8998
|
# @return [Fixnum]
|
|
8775
8999
|
attr_accessor :port
|
|
8776
9000
|
|
|
9001
|
+
#
|
|
9002
|
+
# Corresponds to the JSON property `weight`
|
|
9003
|
+
# @return [String]
|
|
9004
|
+
attr_accessor :weight
|
|
9005
|
+
|
|
9006
|
+
#
|
|
9007
|
+
# Corresponds to the JSON property `weightError`
|
|
9008
|
+
# @return [String]
|
|
9009
|
+
attr_accessor :weight_error
|
|
9010
|
+
|
|
8777
9011
|
def initialize(**args)
|
|
8778
9012
|
update!(**args)
|
|
8779
9013
|
end
|
|
@@ -8785,6 +9019,8 @@ module Google
|
|
|
8785
9019
|
@instance = args[:instance] if args.key?(:instance)
|
|
8786
9020
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
8787
9021
|
@port = args[:port] if args.key?(:port)
|
|
9022
|
+
@weight = args[:weight] if args.key?(:weight)
|
|
9023
|
+
@weight_error = args[:weight_error] if args.key?(:weight_error)
|
|
8788
9024
|
end
|
|
8789
9025
|
end
|
|
8790
9026
|
|
|
@@ -11300,8 +11536,8 @@ module Google
|
|
|
11300
11536
|
# @return [String]
|
|
11301
11537
|
attr_accessor :description
|
|
11302
11538
|
|
|
11303
|
-
# Policy specifying intended distribution of instances
|
|
11304
|
-
# instance group.
|
|
11539
|
+
# Policy specifying the intended distribution of managed instances across zones
|
|
11540
|
+
# in a regional managed instance group.
|
|
11305
11541
|
# Corresponds to the JSON property `distributionPolicy`
|
|
11306
11542
|
# @return [Google::Apis::ComputeV1::DistributionPolicy]
|
|
11307
11543
|
attr_accessor :distribution_policy
|
|
@@ -11330,7 +11566,9 @@ module Google
|
|
|
11330
11566
|
|
|
11331
11567
|
# The URL of the instance template that is specified for this managed instance
|
|
11332
11568
|
# group. The group uses this template to create all new instances in the managed
|
|
11333
|
-
# instance group.
|
|
11569
|
+
# instance group. The templates for existing instances in the group do not
|
|
11570
|
+
# change unless you run recreateInstances, run applyUpdatesToInstances, or set
|
|
11571
|
+
# the group's updatePolicy.type to PROACTIVE.
|
|
11334
11572
|
# Corresponds to the JSON property `instanceTemplate`
|
|
11335
11573
|
# @return [String]
|
|
11336
11574
|
attr_accessor :instance_template
|
|
@@ -11406,7 +11644,7 @@ module Google
|
|
|
11406
11644
|
# @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerVersion>]
|
|
11407
11645
|
attr_accessor :versions
|
|
11408
11646
|
|
|
11409
|
-
# [Output Only] The URL of
|
|
11647
|
+
# [Output Only] The URL of a zone where the managed instance group is located (
|
|
11410
11648
|
# for zonal resources).
|
|
11411
11649
|
# Corresponds to the JSON property `zone`
|
|
11412
11650
|
# @return [String]
|
|
@@ -11991,7 +12229,11 @@ module Google
|
|
|
11991
12229
|
|
|
11992
12230
|
# The URL of the instance template that is specified for this managed instance
|
|
11993
12231
|
# group. The group uses this template to create new instances in the managed
|
|
11994
|
-
# instance group until the `targetSize` for this version is reached.
|
|
12232
|
+
# instance group until the `targetSize` for this version is reached. The
|
|
12233
|
+
# templates for existing instances in the group do not change unless you run
|
|
12234
|
+
# recreateInstances, run applyUpdatesToInstances, or set the group's
|
|
12235
|
+
# updatePolicy.type to PROACTIVE; in those cases, existing instances are updated
|
|
12236
|
+
# until the `targetSize` for this version is reached.
|
|
11995
12237
|
# Corresponds to the JSON property `instanceTemplate`
|
|
11996
12238
|
# @return [String]
|
|
11997
12239
|
attr_accessor :instance_template
|
|
@@ -12043,6 +12285,13 @@ module Google
|
|
|
12043
12285
|
class InstanceGroupManagersApplyUpdatesRequest
|
|
12044
12286
|
include Google::Apis::Core::Hashable
|
|
12045
12287
|
|
|
12288
|
+
# Flag to update all instances instead of specified list of ?instances?. If the
|
|
12289
|
+
# flag is set to true then the instances may not be specified in the request.
|
|
12290
|
+
# Corresponds to the JSON property `allInstances`
|
|
12291
|
+
# @return [Boolean]
|
|
12292
|
+
attr_accessor :all_instances
|
|
12293
|
+
alias_method :all_instances?, :all_instances
|
|
12294
|
+
|
|
12046
12295
|
# The list of URLs of one or more instances for which you want to apply updates.
|
|
12047
12296
|
# Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
|
|
12048
12297
|
# INSTANCE_NAME].
|
|
@@ -12080,6 +12329,7 @@ module Google
|
|
|
12080
12329
|
|
|
12081
12330
|
# Update properties of this object
|
|
12082
12331
|
def update!(**args)
|
|
12332
|
+
@all_instances = args[:all_instances] if args.key?(:all_instances)
|
|
12083
12333
|
@instances = args[:instances] if args.key?(:instances)
|
|
12084
12334
|
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
|
12085
12335
|
@most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
|
|
@@ -12440,7 +12690,9 @@ module Google
|
|
|
12440
12690
|
|
|
12441
12691
|
# The URL of the instance template that is specified for this managed instance
|
|
12442
12692
|
# group. The group uses this template to create all new instances in the managed
|
|
12443
|
-
# instance group.
|
|
12693
|
+
# instance group. The templates for existing instances in the group do not
|
|
12694
|
+
# change unless you run recreateInstances, run applyUpdatesToInstances, or set
|
|
12695
|
+
# the group's updatePolicy.type to PROACTIVE.
|
|
12444
12696
|
# Corresponds to the JSON property `instanceTemplate`
|
|
12445
12697
|
# @return [String]
|
|
12446
12698
|
attr_accessor :instance_template
|
|
@@ -14109,6 +14361,11 @@ module Google
|
|
|
14109
14361
|
# @return [String]
|
|
14110
14362
|
attr_accessor :customer_router_ip_address
|
|
14111
14363
|
|
|
14364
|
+
# [Output Only] Dataplane version for this InterconnectAttachment.
|
|
14365
|
+
# Corresponds to the JSON property `dataplaneVersion`
|
|
14366
|
+
# @return [Fixnum]
|
|
14367
|
+
attr_accessor :dataplane_version
|
|
14368
|
+
|
|
14112
14369
|
# An optional description of this resource.
|
|
14113
14370
|
# Corresponds to the JSON property `description`
|
|
14114
14371
|
# @return [String]
|
|
@@ -14152,6 +14409,13 @@ module Google
|
|
|
14152
14409
|
# @return [String]
|
|
14153
14410
|
attr_accessor :kind
|
|
14154
14411
|
|
|
14412
|
+
# Maximum Transmission Unit (MTU), in bytes, of packets passing through this
|
|
14413
|
+
# interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the
|
|
14414
|
+
# value will default to 1440.
|
|
14415
|
+
# Corresponds to the JSON property `mtu`
|
|
14416
|
+
# @return [Fixnum]
|
|
14417
|
+
attr_accessor :mtu
|
|
14418
|
+
|
|
14155
14419
|
# Name of the resource. Provided by the client when the resource is created. The
|
|
14156
14420
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
|
14157
14421
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
|
@@ -14270,12 +14534,14 @@ module Google
|
|
|
14270
14534
|
@cloud_router_ip_address = args[:cloud_router_ip_address] if args.key?(:cloud_router_ip_address)
|
|
14271
14535
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
14272
14536
|
@customer_router_ip_address = args[:customer_router_ip_address] if args.key?(:customer_router_ip_address)
|
|
14537
|
+
@dataplane_version = args[:dataplane_version] if args.key?(:dataplane_version)
|
|
14273
14538
|
@description = args[:description] if args.key?(:description)
|
|
14274
14539
|
@edge_availability_domain = args[:edge_availability_domain] if args.key?(:edge_availability_domain)
|
|
14275
14540
|
@google_reference_id = args[:google_reference_id] if args.key?(:google_reference_id)
|
|
14276
14541
|
@id = args[:id] if args.key?(:id)
|
|
14277
14542
|
@interconnect = args[:interconnect] if args.key?(:interconnect)
|
|
14278
14543
|
@kind = args[:kind] if args.key?(:kind)
|
|
14544
|
+
@mtu = args[:mtu] if args.key?(:mtu)
|
|
14279
14545
|
@name = args[:name] if args.key?(:name)
|
|
14280
14546
|
@operational_status = args[:operational_status] if args.key?(:operational_status)
|
|
14281
14547
|
@pairing_key = args[:pairing_key] if args.key?(:pairing_key)
|
|
@@ -15744,6 +16010,39 @@ module Google
|
|
|
15744
16010
|
end
|
|
15745
16011
|
end
|
|
15746
16012
|
|
|
16013
|
+
#
|
|
16014
|
+
class LocalDisk
|
|
16015
|
+
include Google::Apis::Core::Hashable
|
|
16016
|
+
|
|
16017
|
+
# Specifies the number of such disks.
|
|
16018
|
+
# Corresponds to the JSON property `diskCount`
|
|
16019
|
+
# @return [Fixnum]
|
|
16020
|
+
attr_accessor :disk_count
|
|
16021
|
+
|
|
16022
|
+
# Specifies the size of the disk in base-2 GB.
|
|
16023
|
+
# Corresponds to the JSON property `diskSizeGb`
|
|
16024
|
+
# @return [Fixnum]
|
|
16025
|
+
attr_accessor :disk_size_gb
|
|
16026
|
+
|
|
16027
|
+
# Specifies the desired disk type on the node. This disk type must be a local
|
|
16028
|
+
# storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be
|
|
16029
|
+
# the name of the disk type and not its URL.
|
|
16030
|
+
# Corresponds to the JSON property `diskType`
|
|
16031
|
+
# @return [String]
|
|
16032
|
+
attr_accessor :disk_type
|
|
16033
|
+
|
|
16034
|
+
def initialize(**args)
|
|
16035
|
+
update!(**args)
|
|
16036
|
+
end
|
|
16037
|
+
|
|
16038
|
+
# Update properties of this object
|
|
16039
|
+
def update!(**args)
|
|
16040
|
+
@disk_count = args[:disk_count] if args.key?(:disk_count)
|
|
16041
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
|
16042
|
+
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
|
16043
|
+
end
|
|
16044
|
+
end
|
|
16045
|
+
|
|
15747
16046
|
# Specifies what kind of log the caller must write
|
|
15748
16047
|
class LogConfig
|
|
15749
16048
|
include Google::Apis::Core::Hashable
|
|
@@ -16958,8 +17257,9 @@ module Google
|
|
|
16958
17257
|
# Represents a collection of network endpoints.
|
|
16959
17258
|
# A network endpoint group (NEG) defines how a set of endpoints should be
|
|
16960
17259
|
# reached, whether they are reachable, and where they are located. For more
|
|
16961
|
-
# information about using NEGs, see Setting up
|
|
16962
|
-
# NEGs,
|
|
17260
|
+
# information about using NEGs, see Setting up external HTTP(S) Load Balancing
|
|
17261
|
+
# with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S)
|
|
17262
|
+
# Load Balancing with serverless NEGs. (== resource_for `$api_version`.
|
|
16963
17263
|
# networkEndpointGroups ==) (== resource_for `$api_version`.
|
|
16964
17264
|
# globalNetworkEndpointGroups ==) (== resource_for `$api_version`.
|
|
16965
17265
|
# regionNetworkEndpointGroups ==)
|
|
@@ -17827,6 +18127,11 @@ module Google
|
|
|
17827
18127
|
# @return [String]
|
|
17828
18128
|
attr_accessor :network_ip
|
|
17829
18129
|
|
|
18130
|
+
# The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
|
|
18131
|
+
# Corresponds to the JSON property `nicType`
|
|
18132
|
+
# @return [String]
|
|
18133
|
+
attr_accessor :nic_type
|
|
18134
|
+
|
|
17830
18135
|
# The URL of the Subnetwork resource for this instance. If the network resource
|
|
17831
18136
|
# is in legacy mode, do not specify this field. If the network is in auto subnet
|
|
17832
18137
|
# mode, specifying the subnetwork is optional. If the network is in custom
|
|
@@ -17854,6 +18159,7 @@ module Google
|
|
|
17854
18159
|
@name = args[:name] if args.key?(:name)
|
|
17855
18160
|
@network = args[:network] if args.key?(:network)
|
|
17856
18161
|
@network_ip = args[:network_ip] if args.key?(:network_ip)
|
|
18162
|
+
@nic_type = args[:nic_type] if args.key?(:nic_type)
|
|
17857
18163
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
|
17858
18164
|
end
|
|
17859
18165
|
end
|
|
@@ -18247,6 +18553,12 @@ module Google
|
|
|
18247
18553
|
# @return [String]
|
|
18248
18554
|
attr_accessor :maintenance_policy
|
|
18249
18555
|
|
|
18556
|
+
# Time window specified for daily maintenance operations. GCE's internal
|
|
18557
|
+
# maintenance will be performed within this window.
|
|
18558
|
+
# Corresponds to the JSON property `maintenanceWindow`
|
|
18559
|
+
# @return [Google::Apis::ComputeV1::NodeGroupMaintenanceWindow]
|
|
18560
|
+
attr_accessor :maintenance_window
|
|
18561
|
+
|
|
18250
18562
|
# The name of the resource, provided by the client when initially creating the
|
|
18251
18563
|
# resource. The resource name must be 1-63 characters long, and comply with
|
|
18252
18564
|
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
|
@@ -18297,6 +18609,7 @@ module Google
|
|
|
18297
18609
|
@id = args[:id] if args.key?(:id)
|
|
18298
18610
|
@kind = args[:kind] if args.key?(:kind)
|
|
18299
18611
|
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
|
|
18612
|
+
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
|
|
18300
18613
|
@name = args[:name] if args.key?(:name)
|
|
18301
18614
|
@node_template = args[:node_template] if args.key?(:node_template)
|
|
18302
18615
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
@@ -18581,15 +18894,56 @@ module Google
|
|
|
18581
18894
|
end
|
|
18582
18895
|
end
|
|
18583
18896
|
|
|
18897
|
+
# Time window specified for daily maintenance operations. GCE's internal
|
|
18898
|
+
# maintenance will be performed within this window.
|
|
18899
|
+
class NodeGroupMaintenanceWindow
|
|
18900
|
+
include Google::Apis::Core::Hashable
|
|
18901
|
+
|
|
18902
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
|
18903
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
|
18904
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
|
18905
|
+
# 000 years.
|
|
18906
|
+
# Corresponds to the JSON property `maintenanceDuration`
|
|
18907
|
+
# @return [Google::Apis::ComputeV1::Duration]
|
|
18908
|
+
attr_accessor :maintenance_duration
|
|
18909
|
+
|
|
18910
|
+
# Start time of the window. This must be in UTC format that resolves to one of
|
|
18911
|
+
# 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:
|
|
18912
|
+
# 00 are valid.
|
|
18913
|
+
# Corresponds to the JSON property `startTime`
|
|
18914
|
+
# @return [String]
|
|
18915
|
+
attr_accessor :start_time
|
|
18916
|
+
|
|
18917
|
+
def initialize(**args)
|
|
18918
|
+
update!(**args)
|
|
18919
|
+
end
|
|
18920
|
+
|
|
18921
|
+
# Update properties of this object
|
|
18922
|
+
def update!(**args)
|
|
18923
|
+
@maintenance_duration = args[:maintenance_duration] if args.key?(:maintenance_duration)
|
|
18924
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
18925
|
+
end
|
|
18926
|
+
end
|
|
18927
|
+
|
|
18584
18928
|
#
|
|
18585
18929
|
class NodeGroupNode
|
|
18586
18930
|
include Google::Apis::Core::Hashable
|
|
18587
18931
|
|
|
18932
|
+
# Accelerators for this node.
|
|
18933
|
+
# Corresponds to the JSON property `accelerators`
|
|
18934
|
+
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
|
18935
|
+
attr_accessor :accelerators
|
|
18936
|
+
|
|
18588
18937
|
# CPU overcommit.
|
|
18589
18938
|
# Corresponds to the JSON property `cpuOvercommitType`
|
|
18590
18939
|
# @return [String]
|
|
18591
18940
|
attr_accessor :cpu_overcommit_type
|
|
18592
18941
|
|
|
18942
|
+
# Local disk configurations.
|
|
18943
|
+
# Corresponds to the JSON property `disks`
|
|
18944
|
+
# @return [Array<Google::Apis::ComputeV1::LocalDisk>]
|
|
18945
|
+
attr_accessor :disks
|
|
18946
|
+
|
|
18593
18947
|
# Instances scheduled on this node.
|
|
18594
18948
|
# Corresponds to the JSON property `instances`
|
|
18595
18949
|
# @return [Array<String>]
|
|
@@ -18626,7 +18980,9 @@ module Google
|
|
|
18626
18980
|
|
|
18627
18981
|
# Update properties of this object
|
|
18628
18982
|
def update!(**args)
|
|
18983
|
+
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
|
18629
18984
|
@cpu_overcommit_type = args[:cpu_overcommit_type] if args.key?(:cpu_overcommit_type)
|
|
18985
|
+
@disks = args[:disks] if args.key?(:disks)
|
|
18630
18986
|
@instances = args[:instances] if args.key?(:instances)
|
|
18631
18987
|
@name = args[:name] if args.key?(:name)
|
|
18632
18988
|
@node_type = args[:node_type] if args.key?(:node_type)
|
|
@@ -18910,6 +19266,11 @@ module Google
|
|
|
18910
19266
|
class NodeTemplate
|
|
18911
19267
|
include Google::Apis::Core::Hashable
|
|
18912
19268
|
|
|
19269
|
+
#
|
|
19270
|
+
# Corresponds to the JSON property `accelerators`
|
|
19271
|
+
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
|
19272
|
+
attr_accessor :accelerators
|
|
19273
|
+
|
|
18913
19274
|
# CPU overcommit.
|
|
18914
19275
|
# Corresponds to the JSON property `cpuOvercommitType`
|
|
18915
19276
|
# @return [String]
|
|
@@ -18926,6 +19287,11 @@ module Google
|
|
|
18926
19287
|
# @return [String]
|
|
18927
19288
|
attr_accessor :description
|
|
18928
19289
|
|
|
19290
|
+
#
|
|
19291
|
+
# Corresponds to the JSON property `disks`
|
|
19292
|
+
# @return [Array<Google::Apis::ComputeV1::LocalDisk>]
|
|
19293
|
+
attr_accessor :disks
|
|
19294
|
+
|
|
18929
19295
|
# [Output Only] The unique identifier for the resource. This identifier is
|
|
18930
19296
|
# defined by the server.
|
|
18931
19297
|
# Corresponds to the JSON property `id`
|
|
@@ -19005,9 +19371,11 @@ module Google
|
|
|
19005
19371
|
|
|
19006
19372
|
# Update properties of this object
|
|
19007
19373
|
def update!(**args)
|
|
19374
|
+
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
|
19008
19375
|
@cpu_overcommit_type = args[:cpu_overcommit_type] if args.key?(:cpu_overcommit_type)
|
|
19009
19376
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
19010
19377
|
@description = args[:description] if args.key?(:description)
|
|
19378
|
+
@disks = args[:disks] if args.key?(:disks)
|
|
19011
19379
|
@id = args[:id] if args.key?(:id)
|
|
19012
19380
|
@kind = args[:kind] if args.key?(:kind)
|
|
19013
19381
|
@name = args[:name] if args.key?(:name)
|
|
@@ -21068,6 +21436,12 @@ module Google
|
|
|
21068
21436
|
# @return [Array<String>]
|
|
21069
21437
|
attr_accessor :cidr_ranges
|
|
21070
21438
|
|
|
21439
|
+
# Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default
|
|
21440
|
+
# is BOTH.
|
|
21441
|
+
# Corresponds to the JSON property `direction`
|
|
21442
|
+
# @return [String]
|
|
21443
|
+
attr_accessor :direction
|
|
21444
|
+
|
|
21071
21445
|
def initialize(**args)
|
|
21072
21446
|
update!(**args)
|
|
21073
21447
|
end
|
|
@@ -21076,6 +21450,7 @@ module Google
|
|
|
21076
21450
|
def update!(**args)
|
|
21077
21451
|
@ip_protocols = args[:ip_protocols] if args.key?(:ip_protocols)
|
|
21078
21452
|
@cidr_ranges = args[:cidr_ranges] if args.key?(:cidr_ranges)
|
|
21453
|
+
@direction = args[:direction] if args.key?(:direction)
|
|
21079
21454
|
end
|
|
21080
21455
|
end
|
|
21081
21456
|
|
|
@@ -22810,6 +23185,13 @@ module Google
|
|
|
22810
23185
|
class RegionInstanceGroupManagersApplyUpdatesRequest
|
|
22811
23186
|
include Google::Apis::Core::Hashable
|
|
22812
23187
|
|
|
23188
|
+
# Flag to update all instances instead of specified list of ?instances?. If the
|
|
23189
|
+
# flag is set to true then the instances may not be specified in the request.
|
|
23190
|
+
# Corresponds to the JSON property `allInstances`
|
|
23191
|
+
# @return [Boolean]
|
|
23192
|
+
attr_accessor :all_instances
|
|
23193
|
+
alias_method :all_instances?, :all_instances
|
|
23194
|
+
|
|
22813
23195
|
# The list of URLs of one or more instances for which you want to apply updates.
|
|
22814
23196
|
# Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
|
|
22815
23197
|
# INSTANCE_NAME].
|
|
@@ -22847,6 +23229,7 @@ module Google
|
|
|
22847
23229
|
|
|
22848
23230
|
# Update properties of this object
|
|
22849
23231
|
def update!(**args)
|
|
23232
|
+
@all_instances = args[:all_instances] if args.key?(:all_instances)
|
|
22850
23233
|
@instances = args[:instances] if args.key?(:instances)
|
|
22851
23234
|
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
|
22852
23235
|
@most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
|
|
@@ -24753,6 +25136,11 @@ module Google
|
|
|
24753
25136
|
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
|
24754
25137
|
include Google::Apis::Core::Hashable
|
|
24755
25138
|
|
|
25139
|
+
# Chain name that the snapshot is created in.
|
|
25140
|
+
# Corresponds to the JSON property `chainName`
|
|
25141
|
+
# @return [String]
|
|
25142
|
+
attr_accessor :chain_name
|
|
25143
|
+
|
|
24756
25144
|
# Indication to perform a 'guest aware' snapshot.
|
|
24757
25145
|
# Corresponds to the JSON property `guestFlush`
|
|
24758
25146
|
# @return [Boolean]
|
|
@@ -24777,6 +25165,7 @@ module Google
|
|
|
24777
25165
|
|
|
24778
25166
|
# Update properties of this object
|
|
24779
25167
|
def update!(**args)
|
|
25168
|
+
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
|
24780
25169
|
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
|
24781
25170
|
@labels = args[:labels] if args.key?(:labels)
|
|
24782
25171
|
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
|
@@ -24856,8 +25245,8 @@ module Google
|
|
|
24856
25245
|
# @return [String]
|
|
24857
25246
|
attr_accessor :description
|
|
24858
25247
|
|
|
24859
|
-
# The destination range of outgoing packets that this route applies to.
|
|
24860
|
-
# IPv4
|
|
25248
|
+
# The destination range of outgoing packets that this route applies to. Both
|
|
25249
|
+
# IPv4 and IPv6 are supported.
|
|
24861
25250
|
# Corresponds to the JSON property `destRange`
|
|
24862
25251
|
# @return [String]
|
|
24863
25252
|
attr_accessor :dest_range
|
|
@@ -24896,8 +25285,9 @@ module Google
|
|
|
24896
25285
|
attr_accessor :next_hop_gateway
|
|
24897
25286
|
|
|
24898
25287
|
# The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
|
|
24899
|
-
# handle matching packets
|
|
24900
|
-
#
|
|
25288
|
+
# handle matching packets or the IP address of the forwarding Rule. For example,
|
|
25289
|
+
# the following are all valid URLs:
|
|
25290
|
+
# - 10.128.0.56
|
|
24901
25291
|
# - https://www.googleapis.com/compute/v1/projects/project/regions/region/
|
|
24902
25292
|
# forwardingRules/forwardingRule
|
|
24903
25293
|
# - regions/region/forwardingRules/forwardingRule
|
|
@@ -25753,6 +26143,12 @@ module Google
|
|
|
25753
26143
|
# @return [Array<String>]
|
|
25754
26144
|
attr_accessor :drain_nat_ips
|
|
25755
26145
|
|
|
26146
|
+
#
|
|
26147
|
+
# Corresponds to the JSON property `enableEndpointIndependentMapping`
|
|
26148
|
+
# @return [Boolean]
|
|
26149
|
+
attr_accessor :enable_endpoint_independent_mapping
|
|
26150
|
+
alias_method :enable_endpoint_independent_mapping?, :enable_endpoint_independent_mapping
|
|
26151
|
+
|
|
25756
26152
|
# Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
|
|
25757
26153
|
# Corresponds to the JSON property `icmpIdleTimeoutSec`
|
|
25758
26154
|
# @return [Fixnum]
|
|
@@ -25838,6 +26234,7 @@ module Google
|
|
|
25838
26234
|
# Update properties of this object
|
|
25839
26235
|
def update!(**args)
|
|
25840
26236
|
@drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
|
|
26237
|
+
@enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
|
|
25841
26238
|
@icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
|
|
25842
26239
|
@log_config = args[:log_config] if args.key?(:log_config)
|
|
25843
26240
|
@min_ports_per_vm = args[:min_ports_per_vm] if args.key?(:min_ports_per_vm)
|
|
@@ -26379,6 +26776,12 @@ module Google
|
|
|
26379
26776
|
attr_accessor :automatic_restart
|
|
26380
26777
|
alias_method :automatic_restart?, :automatic_restart
|
|
26381
26778
|
|
|
26779
|
+
# An opaque location hint used to place the instance close to other resources.
|
|
26780
|
+
# This field is for use by internal tools that use the public API.
|
|
26781
|
+
# Corresponds to the JSON property `locationHint`
|
|
26782
|
+
# @return [String]
|
|
26783
|
+
attr_accessor :location_hint
|
|
26784
|
+
|
|
26382
26785
|
# The minimum number of virtual CPUs this instance will consume when running on
|
|
26383
26786
|
# a sole-tenant node.
|
|
26384
26787
|
# Corresponds to the JSON property `minNodeCpus`
|
|
@@ -26415,6 +26818,7 @@ module Google
|
|
|
26415
26818
|
# Update properties of this object
|
|
26416
26819
|
def update!(**args)
|
|
26417
26820
|
@automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
|
|
26821
|
+
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
|
26418
26822
|
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
|
|
26419
26823
|
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
|
26420
26824
|
@on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
|
|
@@ -26519,10 +26923,10 @@ module Google
|
|
|
26519
26923
|
end
|
|
26520
26924
|
end
|
|
26521
26925
|
|
|
26522
|
-
# Represents a Cloud Armor
|
|
26926
|
+
# Represents a Google Cloud Armor security policy resource.
|
|
26523
26927
|
# Only external backend services that use load balancers can reference a
|
|
26524
|
-
#
|
|
26525
|
-
#
|
|
26928
|
+
# security policy. For more information, see Google Cloud Armor security policy
|
|
26929
|
+
# overview. (== resource_for `$api_version`.securityPolicies ==)
|
|
26526
26930
|
class SecurityPolicy
|
|
26527
26931
|
include Google::Apis::Core::Hashable
|
|
26528
26932
|
|
|
@@ -26771,7 +27175,7 @@ module Google
|
|
|
26771
27175
|
# An integer indicating the priority of a rule in the list. The priority must be
|
|
26772
27176
|
# a positive value between 0 and 2147483647. Rules are evaluated from highest to
|
|
26773
27177
|
# lowest priority where 0 is the highest priority and 2147483647 is the lowest
|
|
26774
|
-
#
|
|
27178
|
+
# priority.
|
|
26775
27179
|
# Corresponds to the JSON property `priority`
|
|
26776
27180
|
# @return [Fixnum]
|
|
26777
27181
|
attr_accessor :priority
|
|
@@ -26866,6 +27270,48 @@ module Google
|
|
|
26866
27270
|
end
|
|
26867
27271
|
end
|
|
26868
27272
|
|
|
27273
|
+
# The authentication and authorization settings for a BackendService.
|
|
27274
|
+
class SecuritySettings
|
|
27275
|
+
include Google::Apis::Core::Hashable
|
|
27276
|
+
|
|
27277
|
+
# Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that
|
|
27278
|
+
# describes how clients should authenticate with this service's backends.
|
|
27279
|
+
# clientTlsPolicy only applies to a global BackendService with the
|
|
27280
|
+
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
|
27281
|
+
# If left blank, communications are not encrypted.
|
|
27282
|
+
# Note: This field currently has no impact.
|
|
27283
|
+
# Corresponds to the JSON property `clientTlsPolicy`
|
|
27284
|
+
# @return [String]
|
|
27285
|
+
attr_accessor :client_tls_policy
|
|
27286
|
+
|
|
27287
|
+
# Optional. A list of Subject Alternative Names (SANs) that the client verifies
|
|
27288
|
+
# during a mutual TLS handshake with an server/endpoint for this BackendService.
|
|
27289
|
+
# When the server presents its X.509 certificate to the client, the client
|
|
27290
|
+
# inspects the certificate's subjectAltName field. If the field contains one of
|
|
27291
|
+
# the specified values, the communication continues. Otherwise, it fails. This
|
|
27292
|
+
# additional check enables the client to verify that the server is authorized to
|
|
27293
|
+
# run the requested service.
|
|
27294
|
+
# Note that the contents of the server certificate's subjectAltName field are
|
|
27295
|
+
# configured by the Public Key Infrastructure which provisions server identities.
|
|
27296
|
+
# Only applies to a global BackendService with loadBalancingScheme set to
|
|
27297
|
+
# INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached
|
|
27298
|
+
# clientTlsPolicy with clientCertificate (mTLS mode).
|
|
27299
|
+
# Note: This field currently has no impact.
|
|
27300
|
+
# Corresponds to the JSON property `subjectAltNames`
|
|
27301
|
+
# @return [Array<String>]
|
|
27302
|
+
attr_accessor :subject_alt_names
|
|
27303
|
+
|
|
27304
|
+
def initialize(**args)
|
|
27305
|
+
update!(**args)
|
|
27306
|
+
end
|
|
27307
|
+
|
|
27308
|
+
# Update properties of this object
|
|
27309
|
+
def update!(**args)
|
|
27310
|
+
@client_tls_policy = args[:client_tls_policy] if args.key?(:client_tls_policy)
|
|
27311
|
+
@subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
|
|
27312
|
+
end
|
|
27313
|
+
end
|
|
27314
|
+
|
|
26869
27315
|
# An instance's serial console output.
|
|
26870
27316
|
class SerialPortOutput
|
|
26871
27317
|
include Google::Apis::Core::Hashable
|
|
@@ -27120,6 +27566,16 @@ module Google
|
|
|
27120
27566
|
attr_accessor :auto_created
|
|
27121
27567
|
alias_method :auto_created?, :auto_created
|
|
27122
27568
|
|
|
27569
|
+
# Creates the new snapshot in the snapshot chain labeled with the specified name.
|
|
27570
|
+
# The chain name must be 1-63 characters long and comply with RFC1035. This is
|
|
27571
|
+
# an uncommon option only for advanced service owners who needs to create
|
|
27572
|
+
# separate snapshot chains, for example, for chargeback tracking. When you
|
|
27573
|
+
# describe your snapshot resource, this field is visible only if it has a non-
|
|
27574
|
+
# empty value.
|
|
27575
|
+
# Corresponds to the JSON property `chainName`
|
|
27576
|
+
# @return [String]
|
|
27577
|
+
attr_accessor :chain_name
|
|
27578
|
+
|
|
27123
27579
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
27124
27580
|
# Corresponds to the JSON property `creationTimestamp`
|
|
27125
27581
|
# @return [String]
|
|
@@ -27264,6 +27720,7 @@ module Google
|
|
|
27264
27720
|
# Update properties of this object
|
|
27265
27721
|
def update!(**args)
|
|
27266
27722
|
@auto_created = args[:auto_created] if args.key?(:auto_created)
|
|
27723
|
+
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
|
27267
27724
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
27268
27725
|
@description = args[:description] if args.key?(:description)
|
|
27269
27726
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
|
@@ -28084,10 +28541,10 @@ module Google
|
|
|
28084
28541
|
end
|
|
28085
28542
|
end
|
|
28086
28543
|
|
|
28087
|
-
# Represents
|
|
28088
|
-
#
|
|
28089
|
-
#
|
|
28090
|
-
#
|
|
28544
|
+
# Represents an SSL Policy resource.
|
|
28545
|
+
# Use SSL policies to control the SSL features, such as versions and cipher
|
|
28546
|
+
# suites, offered by an HTTPS or SSL Proxy load balancer. For more information,
|
|
28547
|
+
# read SSL Policy Concepts. (== resource_for `$api_version`.sslPolicies ==)
|
|
28091
28548
|
class SslPolicy
|
|
28092
28549
|
include Google::Apis::Core::Hashable
|
|
28093
28550
|
|
|
@@ -28490,12 +28947,14 @@ module Google
|
|
|
28490
28947
|
# @return [String]
|
|
28491
28948
|
attr_accessor :self_link
|
|
28492
28949
|
|
|
28493
|
-
# [Output Only] The state of the subnetwork, which can be one of
|
|
28494
|
-
#
|
|
28495
|
-
#
|
|
28950
|
+
# [Output Only] The state of the subnetwork, which can be one of the following
|
|
28951
|
+
# values: READY: Subnetwork is created and ready to use DRAINING: only
|
|
28952
|
+
# applicable to subnetworks that have the purpose set to
|
|
28496
28953
|
# INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load
|
|
28497
28954
|
# balancer are being drained. A subnetwork that is draining cannot be used or
|
|
28498
|
-
# modified until it reaches a status of READY
|
|
28955
|
+
# modified until it reaches a status of READY CREATING: Subnetwork is
|
|
28956
|
+
# provisioning DELETING: Subnetwork is being deleted UPDATING: Subnetwork is
|
|
28957
|
+
# being updated
|
|
28499
28958
|
# Corresponds to the JSON property `state`
|
|
28500
28959
|
# @return [String]
|
|
28501
28960
|
attr_accessor :state
|
|
@@ -29460,6 +29919,19 @@ module Google
|
|
|
29460
29919
|
# @return [String]
|
|
29461
29920
|
attr_accessor :name
|
|
29462
29921
|
|
|
29922
|
+
# This field only applies when the forwarding rule that references this target
|
|
29923
|
+
# proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
|
29924
|
+
# When this field is set to true, Envoy proxies set up inbound traffic
|
|
29925
|
+
# interception and bind to the IP address and port specified in the forwarding
|
|
29926
|
+
# rule. This is generally useful when using Traffic Director to configure Envoy
|
|
29927
|
+
# as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy
|
|
29928
|
+
# proxy listens for inbound requests and handles requests when it receives them.
|
|
29929
|
+
# The default is false.
|
|
29930
|
+
# Corresponds to the JSON property `proxyBind`
|
|
29931
|
+
# @return [Boolean]
|
|
29932
|
+
attr_accessor :proxy_bind
|
|
29933
|
+
alias_method :proxy_bind?, :proxy_bind
|
|
29934
|
+
|
|
29463
29935
|
# [Output Only] URL of the region where the regional Target HTTP Proxy resides.
|
|
29464
29936
|
# This field is not applicable to global Target HTTP Proxies.
|
|
29465
29937
|
# Corresponds to the JSON property `region`
|
|
@@ -29489,6 +29961,7 @@ module Google
|
|
|
29489
29961
|
@id = args[:id] if args.key?(:id)
|
|
29490
29962
|
@kind = args[:kind] if args.key?(:kind)
|
|
29491
29963
|
@name = args[:name] if args.key?(:name)
|
|
29964
|
+
@proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
|
|
29492
29965
|
@region = args[:region] if args.key?(:region)
|
|
29493
29966
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
29494
29967
|
@url_map = args[:url_map] if args.key?(:url_map)
|
|
@@ -29811,6 +30284,18 @@ module Google
|
|
|
29811
30284
|
class TargetHttpsProxy
|
|
29812
30285
|
include Google::Apis::Core::Hashable
|
|
29813
30286
|
|
|
30287
|
+
# Optional. A URL referring to a networksecurity.AuthorizationPolicy resource
|
|
30288
|
+
# that describes how the proxy should authorize inbound traffic. If left blank,
|
|
30289
|
+
# access will not be restricted by an authorization policy.
|
|
30290
|
+
# Refer to the AuthorizationPolicy resource for additional details.
|
|
30291
|
+
# authorizationPolicy only applies to a global TargetHttpsProxy attached to
|
|
30292
|
+
# globalForwardingRules with the loadBalancingScheme set to
|
|
30293
|
+
# INTERNAL_SELF_MANAGED.
|
|
30294
|
+
# Note: This field currently has no impact.
|
|
30295
|
+
# Corresponds to the JSON property `authorizationPolicy`
|
|
30296
|
+
# @return [String]
|
|
30297
|
+
attr_accessor :authorization_policy
|
|
30298
|
+
|
|
29814
30299
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
29815
30300
|
# Corresponds to the JSON property `creationTimestamp`
|
|
29816
30301
|
# @return [String]
|
|
@@ -29844,6 +30329,19 @@ module Google
|
|
|
29844
30329
|
# @return [String]
|
|
29845
30330
|
attr_accessor :name
|
|
29846
30331
|
|
|
30332
|
+
# This field only applies when the forwarding rule that references this target
|
|
30333
|
+
# proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
|
30334
|
+
# When this field is set to true, Envoy proxies set up inbound traffic
|
|
30335
|
+
# interception and bind to the IP address and port specified in the forwarding
|
|
30336
|
+
# rule. This is generally useful when using Traffic Director to configure Envoy
|
|
30337
|
+
# as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy
|
|
30338
|
+
# proxy listens for inbound requests and handles requests when it receives them.
|
|
30339
|
+
# The default is false.
|
|
30340
|
+
# Corresponds to the JSON property `proxyBind`
|
|
30341
|
+
# @return [Boolean]
|
|
30342
|
+
attr_accessor :proxy_bind
|
|
30343
|
+
alias_method :proxy_bind?, :proxy_bind
|
|
30344
|
+
|
|
29847
30345
|
# Specifies the QUIC override policy for this TargetHttpsProxy resource. This
|
|
29848
30346
|
# setting determines whether the load balancer attempts to negotiate QUIC with
|
|
29849
30347
|
# clients. You can specify NONE, ENABLE, or DISABLE.
|
|
@@ -29868,6 +30366,17 @@ module Google
|
|
|
29868
30366
|
# @return [String]
|
|
29869
30367
|
attr_accessor :self_link
|
|
29870
30368
|
|
|
30369
|
+
# Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that
|
|
30370
|
+
# describes how the proxy should authenticate inbound traffic.
|
|
30371
|
+
# serverTlsPolicy only applies to a global TargetHttpsProxy attached to
|
|
30372
|
+
# globalForwardingRules with the loadBalancingScheme set to
|
|
30373
|
+
# INTERNAL_SELF_MANAGED.
|
|
30374
|
+
# If left blank, communications are not encrypted.
|
|
30375
|
+
# Note: This field currently has no impact.
|
|
30376
|
+
# Corresponds to the JSON property `serverTlsPolicy`
|
|
30377
|
+
# @return [String]
|
|
30378
|
+
attr_accessor :server_tls_policy
|
|
30379
|
+
|
|
29871
30380
|
# URLs to SslCertificate resources that are used to authenticate connections
|
|
29872
30381
|
# between users and the load balancer. At least one SSL certificate must be
|
|
29873
30382
|
# specified. Currently, you may specify up to 15 SSL certificates.
|
|
@@ -29898,14 +30407,17 @@ module Google
|
|
|
29898
30407
|
|
|
29899
30408
|
# Update properties of this object
|
|
29900
30409
|
def update!(**args)
|
|
30410
|
+
@authorization_policy = args[:authorization_policy] if args.key?(:authorization_policy)
|
|
29901
30411
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
29902
30412
|
@description = args[:description] if args.key?(:description)
|
|
29903
30413
|
@id = args[:id] if args.key?(:id)
|
|
29904
30414
|
@kind = args[:kind] if args.key?(:kind)
|
|
29905
30415
|
@name = args[:name] if args.key?(:name)
|
|
30416
|
+
@proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
|
|
29906
30417
|
@quic_override = args[:quic_override] if args.key?(:quic_override)
|
|
29907
30418
|
@region = args[:region] if args.key?(:region)
|
|
29908
30419
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
30420
|
+
@server_tls_policy = args[:server_tls_policy] if args.key?(:server_tls_policy)
|
|
29909
30421
|
@ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
|
|
29910
30422
|
@ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy)
|
|
29911
30423
|
@url_map = args[:url_map] if args.key?(:url_map)
|
|
@@ -30582,9 +31094,9 @@ module Google
|
|
|
30582
31094
|
class TargetPool
|
|
30583
31095
|
include Google::Apis::Core::Hashable
|
|
30584
31096
|
|
|
30585
|
-
#
|
|
30586
|
-
# forwarding rule as the primary pool,
|
|
30587
|
-
# set to a value between [0, 1].
|
|
31097
|
+
# The server-defined URL for the resource. This field is applicable only when
|
|
31098
|
+
# the containing target pool is serving a forwarding rule as the primary pool,
|
|
31099
|
+
# and its failoverRatio field is properly set to a value between [0, 1].
|
|
30588
31100
|
# backupPool and failoverRatio together define the fallback behavior of the
|
|
30589
31101
|
# primary target pool: if the ratio of the healthy instances in the primary pool
|
|
30590
31102
|
# is at or below failoverRatio, traffic arriving at the load-balanced IP will be
|