google-api-client 0.50.0 → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +0 -14
- data/CHANGELOG.md +233 -0
- data/OVERVIEW.md +36 -27
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +326 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +139 -0
- data/generated/google/apis/accesscontextmanager_v1.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/adexchangebuyer2_v2beta1.rb +1 -1
- 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_datatransfer_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 +325 -185
- data/generated/google/apis/admin_directory_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/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1beta.rb +1 -1
- 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/classes.rb +10 -2
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +41 -21
- data/generated/google/apis/analyticsadmin_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +93 -28
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +5 -5
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidenterprise_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/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1/classes.rb +1116 -0
- data/generated/google/apis/apigateway_v1/representations.rb +442 -0
- data/generated/google/apis/apigateway_v1/service.rb +1172 -0
- data/{lib/google/apis/core/logging.rb → generated/google/apis/apigateway_v1.rb} +14 -10
- data/generated/google/apis/apigateway_v1beta/classes.rb +22 -17
- data/generated/google/apis/apigateway_v1beta/representations.rb +1 -1
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +102 -29
- data/generated/google/apis/apigee_v1/representations.rb +42 -0
- data/generated/google/apis/apigee_v1/service.rb +264 -55
- data/generated/google/apis/apigee_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_v1.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/appengine_v1beta.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
- data/generated/google/apis/artifactregistry_v1/classes.rb +242 -0
- data/generated/google/apis/artifactregistry_v1/representations.rb +116 -0
- data/generated/google/apis/artifactregistry_v1/service.rb +210 -0
- data/generated/google/apis/artifactregistry_v1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -120
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -62
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +917 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +381 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +947 -0
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +49 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +27 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +308 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +332 -3
- data/generated/google/apis/cloudasset_v1/representations.rb +139 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +326 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +139 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +326 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +139 -0
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +4 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1alpha2.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/cloudfunctions_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 +210 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +16 -6
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v2beta1.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/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -6
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -6
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -1
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
- data/generated/google/apis/cloudtasks_v2beta3.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_v1.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/composer_v1beta1.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_alpha.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_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +426 -160
- data/generated/google/apis/compute_v1/representations.rb +56 -0
- data/generated/google/apis/compute_v1/service.rb +700 -551
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +55 -16
- 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_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +31 -20
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +6 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -4
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +625 -11
- data/generated/google/apis/content_v2_1/representations.rb +266 -0
- data/generated/google/apis/content_v2_1/service.rb +295 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -6
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datalabeling_v1beta1.rb +1 -1
- data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
- data/generated/google/apis/datamigration_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +107 -7
- data/generated/google/apis/dataproc_v1/representations.rb +36 -1
- data/generated/google/apis/dataproc_v1/service.rb +42 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +75 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +32 -1
- data/generated/google/apis/dataproc_v1beta2/service.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- 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_alpha.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +3930 -507
- data/generated/google/apis/dialogflow_v2/representations.rb +1866 -285
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +4100 -682
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1877 -296
- data/generated/google/apis/dialogflow_v2beta1/service.rb +496 -32
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3/classes.rb +11752 -0
- data/generated/google/apis/dialogflow_v3/representations.rb +5158 -0
- data/generated/google/apis/dialogflow_v3/service.rb +3414 -0
- data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +5190 -2229
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1789 -342
- data/generated/google/apis/dialogflow_v3beta1/service.rb +591 -2
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +97 -3
- data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
- data/generated/google/apis/displayvideo_v1/service.rb +103 -39
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/dlp_v2/service.rb +297 -10
- data/generated/google/apis/dlp_v2.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_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +217 -186
- data/generated/google/apis/documentai_v1beta2/representations.rb +107 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +238 -201
- data/generated/google/apis/documentai_v1beta3/representations.rb +107 -24
- data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
- data/generated/google/apis/documentai_v1beta3.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2/service.rb +24 -56
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -1
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -15
- data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
- data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +61 -0
- data/generated/google/apis/file_v1/representations.rb +19 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/games_v1/classes.rb +67 -14
- data/generated/google/apis/games_v1/representations.rb +31 -2
- data/generated/google/apis/games_v1/service.rb +33 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/service.rb +14 -14
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/service.rb +14 -14
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
- data/generated/google/apis/genomics_v2alpha1.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/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +18 -23
- data/generated/google/apis/healthcare_v1/representations.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +13 -12
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +63 -36
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +101 -0
- data/generated/google/apis/iam_v1/representations.rb +33 -0
- data/generated/google/apis/iam_v1/service.rb +62 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +0 -6
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.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_v3.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_v3p1beta1.rb +1 -1
- 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/{jobs_v2.rb → jobs_v4.rb} +6 -6
- 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/licensing_v1.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/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1.rb +4 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -4
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +16 -11
- data/generated/google/apis/managedidentities_v1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +18 -12
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +4 -7
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +2 -2
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- 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/metastore_v1beta.rb +35 -0
- data/generated/google/apis/ml_v1/classes.rb +51 -24
- data/generated/google/apis/ml_v1/representations.rb +16 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +15 -10
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/notebooks_v1/classes.rb +13 -6
- data/generated/google/apis/notebooks_v1/representations.rb +12 -1
- data/generated/google/apis/notebooks_v1/service.rb +34 -0
- data/generated/google/apis/notebooks_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_v1.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/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +6 -2
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
- data/generated/google/apis/privateca_v1beta1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +2 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1.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/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +2 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
- data/generated/google/apis/redis_v1beta1.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_v1.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_v1alpha.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/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
- data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
- data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
- data/generated/google/apis/safebrowsing_v4.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/searchconsole_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +109 -10
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1464 -430
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +75 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +33 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +75 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +33 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v2.rb +3 -3
- 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_v1.rb +35 -0
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +0 -6
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -10
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +57 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +37 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +309 -0
- data/generated/google/apis/sheets_v4/representations.rb +99 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +9 -6
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +97 -14
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +5 -2
- data/generated/google/apis/sqladmin_v1beta4.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/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +39 -16
- data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
- data/generated/google/apis/trafficdirector_v2.rb +2 -2
- data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
- data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
- data/generated/google/apis/transcoder_v1beta1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +1 -1
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.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/vault_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/vectortile_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_v1.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_v1beta2.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_v1p1beta1.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_v1p2beta1.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/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +8 -0
- data/generated/google/apis/webmasters_v3/representations.rb +1 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
- data/generated/google/apis/workflows_v1beta.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +20 -145
- data/generated/google/apis/youtube_v3/representations.rb +0 -57
- data/generated/google/apis/youtube_v3/service.rb +0 -43
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -23
- metadata +55 -275
- data/.github/CONTRIBUTING.md +0 -31
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -36
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -21
- data/.github/ISSUE_TEMPLATE/support_request.md +0 -7
- data/.github/workflows/autoapprove.yml +0 -49
- data/.github/workflows/release-please.yml +0 -77
- data/.gitignore +0 -23
- data/.kokoro/build.bat +0 -11
- data/.kokoro/build.sh +0 -4
- data/.kokoro/continuous/common.cfg +0 -25
- data/.kokoro/continuous/linux.cfg +0 -25
- data/.kokoro/continuous/osx.cfg +0 -8
- data/.kokoro/continuous/post.cfg +0 -30
- data/.kokoro/continuous/windows.cfg +0 -29
- data/.kokoro/osx.sh +0 -4
- data/.kokoro/presubmit/common.cfg +0 -24
- data/.kokoro/presubmit/linux.cfg +0 -24
- data/.kokoro/presubmit/osx.cfg +0 -8
- data/.kokoro/presubmit/windows.cfg +0 -29
- data/.kokoro/release.cfg +0 -94
- data/.kokoro/trampoline.bat +0 -10
- data/.kokoro/trampoline.sh +0 -4
- data/.repo-metadata.json +0 -5
- data/.rspec +0 -2
- data/.rubocop.yml +0 -12
- data/.rubocop_todo.yml +0 -63
- data/CODE_OF_CONDUCT.md +0 -43
- data/Gemfile +0 -55
- data/MIGRATING.md +0 -215
- data/README.md +0 -402
- data/Rakefile +0 -131
- data/api_list_config.yaml +0 -9
- data/api_names.yaml +0 -1082
- data/bin/generate-api +0 -194
- data/docs/api-keys.md +0 -20
- data/docs/auth.md +0 -53
- data/docs/client-secrets.md +0 -69
- data/docs/getting-started.md +0 -340
- data/docs/installation.md +0 -0
- data/docs/logging.md +0 -34
- data/docs/media-upload.md +0 -25
- data/docs/oauth-installed.md +0 -191
- data/docs/oauth-server.md +0 -133
- data/docs/oauth-web.md +0 -280
- data/docs/oauth.md +0 -268
- data/docs/pagination.md +0 -29
- data/docs/performance.md +0 -25
- 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/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
- data/google-api-client.gemspec +0 -36
- data/lib/google/api_client/auth/installed_app.rb +0 -143
- data/lib/google/api_client/auth/key_utils.rb +0 -94
- data/lib/google/api_client/auth/storage.rb +0 -104
- data/lib/google/api_client/auth/storages/file_store.rb +0 -57
- data/lib/google/api_client/auth/storages/redis_store.rb +0 -59
- data/lib/google/api_client/client_secrets.rb +0 -176
- data/lib/google/apis/core/api_command.rb +0 -209
- data/lib/google/apis/core/base_service.rb +0 -447
- data/lib/google/apis/core/batch.rb +0 -236
- data/lib/google/apis/core/composite_io.rb +0 -97
- data/lib/google/apis/core/download.rb +0 -118
- data/lib/google/apis/core/hashable.rb +0 -44
- data/lib/google/apis/core/http_command.rb +0 -447
- data/lib/google/apis/core/json_representation.rb +0 -153
- data/lib/google/apis/core/multipart.rb +0 -135
- data/lib/google/apis/core/upload.rb +0 -273
- data/lib/google/apis/errors.rb +0 -89
- data/lib/google/apis/generator/annotator.rb +0 -339
- data/lib/google/apis/generator/helpers.rb +0 -76
- data/lib/google/apis/generator/model.rb +0 -187
- data/lib/google/apis/generator/template.rb +0 -124
- data/lib/google/apis/generator/templates/_class.tmpl +0 -43
- data/lib/google/apis/generator/templates/_method.tmpl +0 -92
- data/lib/google/apis/generator/templates/_representation.tmpl +0 -51
- data/lib/google/apis/generator/templates/_representation_stub.tmpl +0 -17
- data/lib/google/apis/generator/templates/_representation_type.tmpl +0 -10
- data/lib/google/apis/generator/templates/classes.rb.tmpl +0 -29
- data/lib/google/apis/generator/templates/module.rb.tmpl +0 -40
- data/lib/google/apis/generator/templates/representations.rb.tmpl +0 -32
- data/lib/google/apis/generator/templates/service.rb.tmpl +0 -61
- data/lib/google/apis/generator.rb +0 -71
- data/lib/google/apis/options.rb +0 -116
- data/lib/google/apis.rb +0 -58
- data/rakelib/devsite/devsite_builder.rb +0 -126
- data/rakelib/devsite/link_checker.rb +0 -64
- data/rakelib/devsite/repo_metadata.rb +0 -56
- data/rakelib/metrics.rake +0 -22
- data/rakelib/rubocop.rake +0 -10
- data/rakelib/spec.rake +0 -11
- data/rakelib/yard.rake +0 -11
- data/samples/cli/.env +0 -4
- data/samples/cli/Gemfile +0 -7
- data/samples/cli/README.md +0 -51
- data/samples/cli/google-api-samples +0 -32
- data/samples/cli/lib/base_cli.rb +0 -95
- data/samples/cli/lib/samples/adsense.rb +0 -99
- data/samples/cli/lib/samples/analytics.rb +0 -80
- data/samples/cli/lib/samples/androidpublisher.rb +0 -47
- data/samples/cli/lib/samples/bigquery.rb +0 -101
- data/samples/cli/lib/samples/calendar.rb +0 -83
- data/samples/cli/lib/samples/drive.rb +0 -82
- data/samples/cli/lib/samples/gmail.rb +0 -157
- data/samples/cli/lib/samples/pubsub.rb +0 -114
- data/samples/cli/lib/samples/sheets.rb +0 -61
- data/samples/cli/lib/samples/translate.rb +0 -44
- data/samples/cli/lib/samples/vision.rb +0 -69
- data/samples/cli/lib/samples/you_tube.rb +0 -47
- data/samples/web/Gemfile +0 -9
- data/samples/web/README.md +0 -44
- data/samples/web/app.rb +0 -120
- data/samples/web/views/calendar.erb +0 -34
- data/samples/web/views/drive.erb +0 -33
- data/samples/web/views/home.erb +0 -34
- data/samples/web/views/layout.erb +0 -40
- data/synth.py +0 -40
|
@@ -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`
|
|
@@ -2185,11 +2185,11 @@ module Google
|
|
|
2185
2185
|
# to scale upon. This is called a per-group metric for the purpose of
|
|
2186
2186
|
# autoscaling.
|
|
2187
2187
|
# If not specified, the type defaults to gce_instance.
|
|
2188
|
-
#
|
|
2189
|
-
#
|
|
2190
|
-
#
|
|
2191
|
-
#
|
|
2192
|
-
#
|
|
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
2193
|
# Corresponds to the JSON property `filter`
|
|
2194
2194
|
# @return [String]
|
|
2195
2195
|
attr_accessor :filter
|
|
@@ -2203,9 +2203,9 @@ module Google
|
|
|
2203
2203
|
|
|
2204
2204
|
# If scaling is based on a per-group metric value that represents the total
|
|
2205
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
|
|
2207
|
-
# number of instances proportional to the value of this metric
|
|
2208
|
-
# itself
|
|
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
2209
|
# A good metric to use with the target is for example pubsub.googleapis.com/
|
|
2210
2210
|
# subscription/num_undelivered_messages or a custom metric exporting the total
|
|
2211
2211
|
# number of requests coming to your instances.
|
|
@@ -2216,12 +2216,12 @@ module Google
|
|
|
2216
2216
|
# @return [Float]
|
|
2217
2217
|
attr_accessor :single_instance_assignment
|
|
2218
2218
|
|
|
2219
|
-
# The target value of the metric that autoscaler
|
|
2219
|
+
# The target value of the metric that autoscaler maintains. This must be a
|
|
2220
2220
|
# positive value. A utilization metric scales number of virtual machines
|
|
2221
2221
|
# handling requests to increase or decrease proportionally to the metric.
|
|
2222
2222
|
# For example, a good metric to use as a utilization_target is https://www.
|
|
2223
2223
|
# googleapis.com/compute/v1/instance/network/received_bytes_count. The
|
|
2224
|
-
# autoscaler
|
|
2224
|
+
# autoscaler works to keep this value constant for each of the instances.
|
|
2225
2225
|
# Corresponds to the JSON property `utilizationTarget`
|
|
2226
2226
|
# @return [Float]
|
|
2227
2227
|
attr_accessor :utilization_target
|
|
@@ -2251,7 +2251,7 @@ module Google
|
|
|
2251
2251
|
include Google::Apis::Core::Hashable
|
|
2252
2252
|
|
|
2253
2253
|
# Fraction of backend capacity utilization (set in HTTP(S) load balancing
|
|
2254
|
-
# configuration) that autoscaler
|
|
2254
|
+
# configuration) that the autoscaler maintains. Must be a positive float value.
|
|
2255
2255
|
# If not defined, the default is 0.8.
|
|
2256
2256
|
# Corresponds to the JSON property `utilizationTarget`
|
|
2257
2257
|
# @return [Float]
|
|
@@ -2278,8 +2278,8 @@ module Google
|
|
|
2278
2278
|
# @return [Google::Apis::ComputeV1::FixedOrPercent]
|
|
2279
2279
|
attr_accessor :max_scaled_in_replicas
|
|
2280
2280
|
|
|
2281
|
-
# How
|
|
2282
|
-
#
|
|
2281
|
+
# How far back autoscaling looks when computing recommendations to include
|
|
2282
|
+
# directives regarding slower scale in, as described above.
|
|
2283
2283
|
# Corresponds to the JSON property `timeWindowSec`
|
|
2284
2284
|
# @return [Fixnum]
|
|
2285
2285
|
attr_accessor :time_window_sec
|
|
@@ -2313,21 +2313,22 @@ module Google
|
|
|
2313
2313
|
# parameters: maxConnections (except for regional managed instance groups),
|
|
2314
2314
|
# maxConnectionsPerInstance, or maxConnectionsPerEndpoint.
|
|
2315
2315
|
# If the loadBalancingScheme for the backend service is INTERNAL (internal TCP/
|
|
2316
|
-
# UDP
|
|
2316
|
+
# UDP Load Balancers) or EXTERNAL (Network Load Balancing), you cannot specify
|
|
2317
|
+
# any additional parameters.
|
|
2317
2318
|
#
|
|
2318
2319
|
# - If the load balancing mode is RATE, the load is spread based on the rate of
|
|
2319
2320
|
# HTTP requests per second (RPS).
|
|
2320
2321
|
# You can use the RATE balancing mode if the protocol for the backend service is
|
|
2321
|
-
# HTTP or HTTPS. You must specify exactly one of the following
|
|
2322
|
-
# maxRate (except for regional managed instance groups),
|
|
2323
|
-
# 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.
|
|
2324
2325
|
#
|
|
2325
2326
|
# - If the load balancing mode is UTILIZATION, the load is spread based on the
|
|
2326
2327
|
# backend utilization of instances in an instance group.
|
|
2327
2328
|
# You can use the UTILIZATION balancing mode if the loadBalancingScheme of the
|
|
2328
|
-
# backend service is EXTERNAL
|
|
2329
|
-
#
|
|
2330
|
-
# 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.
|
|
2331
2332
|
# Corresponds to the JSON property `balancingMode`
|
|
2332
2333
|
# @return [String]
|
|
2333
2334
|
attr_accessor :balancing_mode
|
|
@@ -2339,7 +2340,8 @@ module Google
|
|
|
2339
2340
|
# available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a
|
|
2340
2341
|
# setting larger than 0 and smaller than 0.1. You cannot configure a setting of
|
|
2341
2342
|
# 0 when there is only one backend attached to the backend service.
|
|
2342
|
-
# This cannot be used for
|
|
2343
|
+
# This cannot be used for Internal TCP/UDP Load Balancing and Network Load
|
|
2344
|
+
# Balancing.
|
|
2343
2345
|
# Corresponds to the JSON property `capacityScaler`
|
|
2344
2346
|
# @return [Float]
|
|
2345
2347
|
attr_accessor :capacity_scaler
|
|
@@ -2361,14 +2363,16 @@ module Google
|
|
|
2361
2363
|
# resource. The type of backend that a backend service supports depends on the
|
|
2362
2364
|
# backend service's loadBalancingScheme.
|
|
2363
2365
|
#
|
|
2364
|
-
# - When the loadBalancingScheme for the backend service is EXTERNAL
|
|
2365
|
-
# INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the
|
|
2366
|
-
# instance group or a NEG. The backends on the backend
|
|
2367
|
-
# all instance groups or all NEGs. You cannot mix
|
|
2368
|
-
# backends on the same backend service.
|
|
2369
|
-
# - When the loadBalancingScheme for the backend service is
|
|
2370
|
-
#
|
|
2371
|
-
# 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.
|
|
2372
2376
|
# You must use the fully-qualified URL (starting with https://www.googleapis.com/
|
|
2373
2377
|
# ) to specify the instance group or NEG. Partial URLs are not supported.
|
|
2374
2378
|
# Corresponds to the JSON property `group`
|
|
@@ -2380,11 +2384,12 @@ module Google
|
|
|
2380
2384
|
# except for regional managed instance groups). If the backend's balancingMode
|
|
2381
2385
|
# is UTILIZATION, this is an optional parameter. If the backend's balancingMode
|
|
2382
2386
|
# is CONNECTION, and backend is attached to a backend service whose
|
|
2383
|
-
# loadBalancingScheme is EXTERNAL
|
|
2384
|
-
# maxConnectionsPerInstance, or
|
|
2385
|
-
#
|
|
2386
|
-
#
|
|
2387
|
-
#
|
|
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.
|
|
2388
2393
|
# Corresponds to the JSON property `maxConnections`
|
|
2389
2394
|
# @return [Fixnum]
|
|
2390
2395
|
attr_accessor :max_connections
|
|
@@ -2392,12 +2397,13 @@ module Google
|
|
|
2392
2397
|
# Defines a target maximum number of simultaneous connections for an endpoint of
|
|
2393
2398
|
# a NEG. This is multiplied by the number of endpoints in the NEG to implicitly
|
|
2394
2399
|
# calculate a maximum number of target maximum simultaneous connections for the
|
|
2395
|
-
# NEG. If the backend's balancingMode is CONNECTION, and
|
|
2396
|
-
#
|
|
2397
|
-
# either this parameter, maxConnections, or
|
|
2398
|
-
#
|
|
2399
|
-
#
|
|
2400
|
-
#
|
|
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.
|
|
2401
2407
|
# Corresponds to the JSON property `maxConnectionsPerEndpoint`
|
|
2402
2408
|
# @return [Fixnum]
|
|
2403
2409
|
attr_accessor :max_connections_per_endpoint
|
|
@@ -2408,11 +2414,11 @@ module Google
|
|
|
2408
2414
|
# connections for the whole instance group. If the backend's balancingMode is
|
|
2409
2415
|
# UTILIZATION, this is an optional parameter. If the backend's balancingMode is
|
|
2410
2416
|
# CONNECTION, and backend is attached to a backend service whose
|
|
2411
|
-
# loadBalancingScheme is EXTERNAL
|
|
2412
|
-
# maxConnections, or maxConnectionsPerEndpoint.
|
|
2413
|
-
# Not available if the backend's balancingMode is RATE.
|
|
2414
|
-
#
|
|
2415
|
-
#
|
|
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.
|
|
2416
2422
|
# Corresponds to the JSON property `maxConnectionsPerInstance`
|
|
2417
2423
|
# @return [Fixnum]
|
|
2418
2424
|
attr_accessor :max_connections_per_instance
|
|
@@ -2504,6 +2510,11 @@ module Google
|
|
|
2504
2510
|
# @return [String]
|
|
2505
2511
|
attr_accessor :creation_timestamp
|
|
2506
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
|
+
|
|
2507
2518
|
# An optional textual description of the resource; provided by the client when
|
|
2508
2519
|
# the resource is created.
|
|
2509
2520
|
# Corresponds to the JSON property `description`
|
|
@@ -2550,6 +2561,7 @@ module Google
|
|
|
2550
2561
|
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
|
2551
2562
|
@cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
|
|
2552
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)
|
|
2553
2565
|
@description = args[:description] if args.key?(:description)
|
|
2554
2566
|
@enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
|
|
2555
2567
|
@id = args[:id] if args.key?(:id)
|
|
@@ -2563,6 +2575,55 @@ module Google
|
|
|
2563
2575
|
class BackendBucketCdnPolicy
|
|
2564
2576
|
include Google::Apis::Core::Hashable
|
|
2565
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
|
+
|
|
2566
2627
|
# Maximum number of seconds the response to a signed URL request will be
|
|
2567
2628
|
# considered fresh. After this time period, the response will be revalidated
|
|
2568
2629
|
# before being served. Defaults to 1hr (3600s). When serving responses to signed
|
|
@@ -2585,6 +2646,10 @@ module Google
|
|
|
2585
2646
|
|
|
2586
2647
|
# Update properties of this object
|
|
2587
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)
|
|
2588
2653
|
@signed_url_cache_max_age_sec = args[:signed_url_cache_max_age_sec] if args.key?(:signed_url_cache_max_age_sec)
|
|
2589
2654
|
@signed_url_key_names = args[:signed_url_key_names] if args.key?(:signed_url_key_names)
|
|
2590
2655
|
end
|
|
@@ -2769,6 +2834,11 @@ module Google
|
|
|
2769
2834
|
# @return [Array<String>]
|
|
2770
2835
|
attr_accessor :custom_request_headers
|
|
2771
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
|
+
|
|
2772
2842
|
# An optional description of this resource. Provide this property when you
|
|
2773
2843
|
# create the resource.
|
|
2774
2844
|
# Corresponds to the JSON property `description`
|
|
@@ -2782,13 +2852,14 @@ module Google
|
|
|
2782
2852
|
attr_accessor :enable_cdn
|
|
2783
2853
|
alias_method :enable_cdn?, :enable_cdn
|
|
2784
2854
|
|
|
2785
|
-
# Applicable only to Failover for Internal TCP/UDP Load Balancing
|
|
2786
|
-
# or failback, this field indicates whether
|
|
2787
|
-
# GCP has a fixed connection draining
|
|
2788
|
-
#
|
|
2789
|
-
#
|
|
2790
|
-
# connections to persist, even on VMs no
|
|
2791
|
-
# 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).
|
|
2792
2863
|
# Corresponds to the JSON property `failoverPolicy`
|
|
2793
2864
|
# @return [Google::Apis::ComputeV1::BackendServiceFailoverPolicy]
|
|
2794
2865
|
attr_accessor :failover_policy
|
|
@@ -2833,11 +2904,11 @@ module Google
|
|
|
2833
2904
|
# @return [String]
|
|
2834
2905
|
attr_accessor :kind
|
|
2835
2906
|
|
|
2836
|
-
# Specifies the load balancer type. Choose EXTERNAL for
|
|
2837
|
-
#
|
|
2838
|
-
# Load Balancing. Choose
|
|
2839
|
-
#
|
|
2840
|
-
# 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
|
|
2841
2912
|
# information, refer to Choosing a load balancer.
|
|
2842
2913
|
# Corresponds to the JSON property `loadBalancingScheme`
|
|
2843
2914
|
# @return [String]
|
|
@@ -2892,7 +2963,7 @@ module Google
|
|
|
2892
2963
|
attr_accessor :name
|
|
2893
2964
|
|
|
2894
2965
|
# The URL of the network to which this backend service belongs. This field can
|
|
2895
|
-
# only be
|
|
2966
|
+
# only be specified when the load balancing scheme is set to INTERNAL.
|
|
2896
2967
|
# Corresponds to the JSON property `network`
|
|
2897
2968
|
# @return [String]
|
|
2898
2969
|
attr_accessor :network
|
|
@@ -2913,11 +2984,12 @@ module Google
|
|
|
2913
2984
|
|
|
2914
2985
|
# A named port on a backend instance group representing the port for
|
|
2915
2986
|
# communication to the backend VMs in that group. Required when the
|
|
2916
|
-
# loadBalancingScheme is EXTERNAL
|
|
2917
|
-
# and the backends are instance
|
|
2918
|
-
#
|
|
2919
|
-
#
|
|
2920
|
-
# 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.
|
|
2921
2993
|
# Corresponds to the JSON property `portName`
|
|
2922
2994
|
# @return [String]
|
|
2923
2995
|
attr_accessor :port_name
|
|
@@ -2957,11 +3029,12 @@ module Google
|
|
|
2957
3029
|
# @return [String]
|
|
2958
3030
|
attr_accessor :self_link
|
|
2959
3031
|
|
|
2960
|
-
# Type of session affinity to use. The default is NONE.
|
|
2961
|
-
#
|
|
2962
|
-
#
|
|
2963
|
-
#
|
|
2964
|
-
#
|
|
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.
|
|
2965
3038
|
# When the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP,
|
|
2966
3039
|
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
|
|
2967
3040
|
# When the loadBalancingScheme is INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED,
|
|
@@ -2994,6 +3067,7 @@ module Google
|
|
|
2994
3067
|
@consistent_hash = args[:consistent_hash] if args.key?(:consistent_hash)
|
|
2995
3068
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
2996
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)
|
|
2997
3071
|
@description = args[:description] if args.key?(:description)
|
|
2998
3072
|
@enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
|
|
2999
3073
|
@failover_policy = args[:failover_policy] if args.key?(:failover_policy)
|
|
@@ -3153,6 +3227,55 @@ module Google
|
|
|
3153
3227
|
# @return [Google::Apis::ComputeV1::CacheKeyPolicy]
|
|
3154
3228
|
attr_accessor :cache_key_policy
|
|
3155
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
|
+
|
|
3156
3279
|
# Maximum number of seconds the response to a signed URL request will be
|
|
3157
3280
|
# considered fresh. After this time period, the response will be revalidated
|
|
3158
3281
|
# before being served. Defaults to 1hr (3600s). When serving responses to signed
|
|
@@ -3176,18 +3299,23 @@ module Google
|
|
|
3176
3299
|
# Update properties of this object
|
|
3177
3300
|
def update!(**args)
|
|
3178
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)
|
|
3179
3306
|
@signed_url_cache_max_age_sec = args[:signed_url_cache_max_age_sec] if args.key?(:signed_url_cache_max_age_sec)
|
|
3180
3307
|
@signed_url_key_names = args[:signed_url_key_names] if args.key?(:signed_url_key_names)
|
|
3181
3308
|
end
|
|
3182
3309
|
end
|
|
3183
3310
|
|
|
3184
|
-
# Applicable only to Failover for Internal TCP/UDP Load Balancing
|
|
3185
|
-
# or failback, this field indicates whether
|
|
3186
|
-
# GCP has a fixed connection draining
|
|
3187
|
-
#
|
|
3188
|
-
#
|
|
3189
|
-
# connections to persist, even on VMs no
|
|
3190
|
-
# 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).
|
|
3191
3319
|
class BackendServiceFailoverPolicy
|
|
3192
3320
|
include Google::Apis::Core::Hashable
|
|
3193
3321
|
|
|
@@ -3198,22 +3326,21 @@ module Google
|
|
|
3198
3326
|
attr_accessor :disable_connection_drain_on_failover
|
|
3199
3327
|
alias_method :disable_connection_drain_on_failover?, :disable_connection_drain_on_failover
|
|
3200
3328
|
|
|
3201
|
-
# Applicable only to Failover for Internal TCP/UDP Load Balancing
|
|
3202
|
-
# true, connections to the load balancer are dropped
|
|
3203
|
-
# backup backend VMs are unhealthy.
|
|
3204
|
-
# among all primary VMs when all primary and all
|
|
3205
|
-
# unhealthy.
|
|
3206
|
-
# 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.
|
|
3207
3334
|
# Corresponds to the JSON property `dropTrafficIfUnhealthy`
|
|
3208
3335
|
# @return [Boolean]
|
|
3209
3336
|
attr_accessor :drop_traffic_if_unhealthy
|
|
3210
3337
|
alias_method :drop_traffic_if_unhealthy?, :drop_traffic_if_unhealthy
|
|
3211
3338
|
|
|
3212
|
-
# Applicable only to Failover for Internal TCP/UDP Load Balancing
|
|
3213
|
-
# the field must be in the range [0, 1]. If the
|
|
3214
|
-
# performs a failover when the number of healthy
|
|
3215
|
-
# all other values, the load balancer performs a
|
|
3216
|
-
# 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.
|
|
3217
3344
|
# Corresponds to the JSON property `failoverRatio`
|
|
3218
3345
|
# @return [Float]
|
|
3219
3346
|
attr_accessor :failover_ratio
|
|
@@ -3569,8 +3696,7 @@ module Google
|
|
|
3569
3696
|
class Binding
|
|
3570
3697
|
include Google::Apis::Core::Hashable
|
|
3571
3698
|
|
|
3572
|
-
#
|
|
3573
|
-
# support the internal bindings-by-ID API.
|
|
3699
|
+
#
|
|
3574
3700
|
# Corresponds to the JSON property `bindingId`
|
|
3575
3701
|
# @return [String]
|
|
3576
3702
|
attr_accessor :binding_id
|
|
@@ -6861,9 +6987,11 @@ module Google
|
|
|
6861
6987
|
# assigned. Methods for specifying an IP address:
|
|
6862
6988
|
# * IPv4 dotted decimal, as in `100.1.2.3` * Full URL, as in https://www.
|
|
6863
6989
|
# googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-
|
|
6864
|
-
# name * Partial URL or by name, as in:
|
|
6865
|
-
#
|
|
6866
|
-
# 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
|
|
6867
6995
|
# The loadBalancingScheme and the forwarding rule's target determine the type of
|
|
6868
6996
|
# IP address that you can use. For detailed information, refer to [IP address
|
|
6869
6997
|
# specifications](/load-balancing/docs/forwarding-rule-concepts#
|
|
@@ -6876,16 +7004,19 @@ module Google
|
|
|
6876
7004
|
# @return [String]
|
|
6877
7005
|
attr_accessor :ip_address
|
|
6878
7006
|
|
|
6879
|
-
# The IP protocol to which this rule applies.
|
|
6880
|
-
# options are TCP, UDP, ESP, AH, SCTP
|
|
6881
|
-
#
|
|
6882
|
-
#
|
|
6883
|
-
#
|
|
6884
|
-
#
|
|
6885
|
-
#
|
|
6886
|
-
#
|
|
6887
|
-
#
|
|
6888
|
-
#
|
|
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.
|
|
6889
7020
|
# Corresponds to the JSON property `IPProtocol`
|
|
6890
7021
|
# @return [String]
|
|
6891
7022
|
attr_accessor :ip_protocol
|
|
@@ -6910,9 +7041,9 @@ module Google
|
|
|
6910
7041
|
attr_accessor :allow_global_access
|
|
6911
7042
|
alias_method :allow_global_access?, :allow_global_access
|
|
6912
7043
|
|
|
6913
|
-
#
|
|
6914
|
-
#
|
|
6915
|
-
#
|
|
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.
|
|
6916
7047
|
# Corresponds to the JSON property `backendService`
|
|
6917
7048
|
# @return [String]
|
|
6918
7049
|
attr_accessor :backend_service
|
|
@@ -6974,13 +7105,12 @@ module Google
|
|
|
6974
7105
|
# - EXTERNAL is used for:
|
|
6975
7106
|
# - Classic Cloud VPN gateways
|
|
6976
7107
|
# - Protocol forwarding to VMs from an external IP address
|
|
6977
|
-
# -
|
|
6978
|
-
# UDP
|
|
7108
|
+
# - HTTP(S), SSL Proxy, TCP Proxy, and Network Load Balancing
|
|
6979
7109
|
# - INTERNAL is used for:
|
|
6980
7110
|
# - Protocol forwarding to VMs from an internal IP address
|
|
6981
|
-
# - Internal TCP/UDP
|
|
7111
|
+
# - Internal TCP/UDP Load Balancing
|
|
6982
7112
|
# - INTERNAL_MANAGED is used for:
|
|
6983
|
-
# - Internal HTTP(S)
|
|
7113
|
+
# - Internal HTTP(S) Load Balancing
|
|
6984
7114
|
# - INTERNAL_SELF_MANAGED is used for:
|
|
6985
7115
|
# - Traffic Director
|
|
6986
7116
|
# For more information about forwarding rules, refer to Forwarding rule concepts.
|
|
@@ -7019,9 +7149,9 @@ module Google
|
|
|
7019
7149
|
attr_accessor :name
|
|
7020
7150
|
|
|
7021
7151
|
# This field is not used for external load balancing.
|
|
7022
|
-
# For
|
|
7023
|
-
# balanced IP should belong to for this Forwarding Rule. If this field
|
|
7024
|
-
# 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.
|
|
7025
7155
|
# For Private Service Connect forwarding rules that forward traffic to Google
|
|
7026
7156
|
# APIs, a network must be provided.
|
|
7027
7157
|
# Corresponds to the JSON property `network`
|
|
@@ -7038,19 +7168,17 @@ module Google
|
|
|
7038
7168
|
# @return [String]
|
|
7039
7169
|
attr_accessor :network_tier
|
|
7040
7170
|
|
|
7041
|
-
#
|
|
7042
|
-
# INTERNAL_MANAGED,
|
|
7043
|
-
#
|
|
7044
|
-
#
|
|
7045
|
-
#
|
|
7046
|
-
#
|
|
7047
|
-
#
|
|
7048
|
-
# to ports in the specified range will be forwarded to target. Forwarding rules
|
|
7049
|
-
# 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.
|
|
7050
7178
|
# Some types of forwarding target have constraints on the acceptable ports:
|
|
7051
7179
|
# - TargetHttpProxy: 80, 8080
|
|
7052
7180
|
# - TargetHttpsProxy: 443
|
|
7053
|
-
# - TargetGrpcProxy:
|
|
7181
|
+
# - TargetGrpcProxy: no constraints
|
|
7054
7182
|
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
|
7055
7183
|
# 1883, 5222
|
|
7056
7184
|
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
|
@@ -7060,16 +7188,17 @@ module Google
|
|
|
7060
7188
|
# @return [String]
|
|
7061
7189
|
attr_accessor :port_range
|
|
7062
7190
|
|
|
7063
|
-
#
|
|
7064
|
-
# balancing
|
|
7065
|
-
#
|
|
7066
|
-
#
|
|
7067
|
-
#
|
|
7068
|
-
#
|
|
7069
|
-
#
|
|
7070
|
-
#
|
|
7071
|
-
#
|
|
7072
|
-
#
|
|
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).
|
|
7073
7202
|
# Corresponds to the JSON property `ports`
|
|
7074
7203
|
# @return [Array<String>]
|
|
7075
7204
|
attr_accessor :ports
|
|
@@ -8869,6 +8998,16 @@ module Google
|
|
|
8869
8998
|
# @return [Fixnum]
|
|
8870
8999
|
attr_accessor :port
|
|
8871
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
|
+
|
|
8872
9011
|
def initialize(**args)
|
|
8873
9012
|
update!(**args)
|
|
8874
9013
|
end
|
|
@@ -8880,6 +9019,8 @@ module Google
|
|
|
8880
9019
|
@instance = args[:instance] if args.key?(:instance)
|
|
8881
9020
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
8882
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)
|
|
8883
9024
|
end
|
|
8884
9025
|
end
|
|
8885
9026
|
|
|
@@ -14220,6 +14361,11 @@ module Google
|
|
|
14220
14361
|
# @return [String]
|
|
14221
14362
|
attr_accessor :customer_router_ip_address
|
|
14222
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
|
+
|
|
14223
14369
|
# An optional description of this resource.
|
|
14224
14370
|
# Corresponds to the JSON property `description`
|
|
14225
14371
|
# @return [String]
|
|
@@ -14263,6 +14409,13 @@ module Google
|
|
|
14263
14409
|
# @return [String]
|
|
14264
14410
|
attr_accessor :kind
|
|
14265
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
|
+
|
|
14266
14419
|
# Name of the resource. Provided by the client when the resource is created. The
|
|
14267
14420
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
|
14268
14421
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
|
@@ -14381,12 +14534,14 @@ module Google
|
|
|
14381
14534
|
@cloud_router_ip_address = args[:cloud_router_ip_address] if args.key?(:cloud_router_ip_address)
|
|
14382
14535
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
14383
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)
|
|
14384
14538
|
@description = args[:description] if args.key?(:description)
|
|
14385
14539
|
@edge_availability_domain = args[:edge_availability_domain] if args.key?(:edge_availability_domain)
|
|
14386
14540
|
@google_reference_id = args[:google_reference_id] if args.key?(:google_reference_id)
|
|
14387
14541
|
@id = args[:id] if args.key?(:id)
|
|
14388
14542
|
@interconnect = args[:interconnect] if args.key?(:interconnect)
|
|
14389
14543
|
@kind = args[:kind] if args.key?(:kind)
|
|
14544
|
+
@mtu = args[:mtu] if args.key?(:mtu)
|
|
14390
14545
|
@name = args[:name] if args.key?(:name)
|
|
14391
14546
|
@operational_status = args[:operational_status] if args.key?(:operational_status)
|
|
14392
14547
|
@pairing_key = args[:pairing_key] if args.key?(:pairing_key)
|
|
@@ -15855,6 +16010,39 @@ module Google
|
|
|
15855
16010
|
end
|
|
15856
16011
|
end
|
|
15857
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
|
+
|
|
15858
16046
|
# Specifies what kind of log the caller must write
|
|
15859
16047
|
class LogConfig
|
|
15860
16048
|
include Google::Apis::Core::Hashable
|
|
@@ -17069,8 +17257,9 @@ module Google
|
|
|
17069
17257
|
# Represents a collection of network endpoints.
|
|
17070
17258
|
# A network endpoint group (NEG) defines how a set of endpoints should be
|
|
17071
17259
|
# reached, whether they are reachable, and where they are located. For more
|
|
17072
|
-
# information about using NEGs, see Setting up
|
|
17073
|
-
# 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`.
|
|
17074
17263
|
# networkEndpointGroups ==) (== resource_for `$api_version`.
|
|
17075
17264
|
# globalNetworkEndpointGroups ==) (== resource_for `$api_version`.
|
|
17076
17265
|
# regionNetworkEndpointGroups ==)
|
|
@@ -17938,6 +18127,11 @@ module Google
|
|
|
17938
18127
|
# @return [String]
|
|
17939
18128
|
attr_accessor :network_ip
|
|
17940
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
|
+
|
|
17941
18135
|
# The URL of the Subnetwork resource for this instance. If the network resource
|
|
17942
18136
|
# is in legacy mode, do not specify this field. If the network is in auto subnet
|
|
17943
18137
|
# mode, specifying the subnetwork is optional. If the network is in custom
|
|
@@ -17965,6 +18159,7 @@ module Google
|
|
|
17965
18159
|
@name = args[:name] if args.key?(:name)
|
|
17966
18160
|
@network = args[:network] if args.key?(:network)
|
|
17967
18161
|
@network_ip = args[:network_ip] if args.key?(:network_ip)
|
|
18162
|
+
@nic_type = args[:nic_type] if args.key?(:nic_type)
|
|
17968
18163
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
|
17969
18164
|
end
|
|
17970
18165
|
end
|
|
@@ -18358,6 +18553,12 @@ module Google
|
|
|
18358
18553
|
# @return [String]
|
|
18359
18554
|
attr_accessor :maintenance_policy
|
|
18360
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
|
+
|
|
18361
18562
|
# The name of the resource, provided by the client when initially creating the
|
|
18362
18563
|
# resource. The resource name must be 1-63 characters long, and comply with
|
|
18363
18564
|
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
|
@@ -18408,6 +18609,7 @@ module Google
|
|
|
18408
18609
|
@id = args[:id] if args.key?(:id)
|
|
18409
18610
|
@kind = args[:kind] if args.key?(:kind)
|
|
18410
18611
|
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
|
|
18612
|
+
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
|
|
18411
18613
|
@name = args[:name] if args.key?(:name)
|
|
18412
18614
|
@node_template = args[:node_template] if args.key?(:node_template)
|
|
18413
18615
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
@@ -18692,15 +18894,56 @@ module Google
|
|
|
18692
18894
|
end
|
|
18693
18895
|
end
|
|
18694
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
|
+
|
|
18695
18928
|
#
|
|
18696
18929
|
class NodeGroupNode
|
|
18697
18930
|
include Google::Apis::Core::Hashable
|
|
18698
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
|
+
|
|
18699
18937
|
# CPU overcommit.
|
|
18700
18938
|
# Corresponds to the JSON property `cpuOvercommitType`
|
|
18701
18939
|
# @return [String]
|
|
18702
18940
|
attr_accessor :cpu_overcommit_type
|
|
18703
18941
|
|
|
18942
|
+
# Local disk configurations.
|
|
18943
|
+
# Corresponds to the JSON property `disks`
|
|
18944
|
+
# @return [Array<Google::Apis::ComputeV1::LocalDisk>]
|
|
18945
|
+
attr_accessor :disks
|
|
18946
|
+
|
|
18704
18947
|
# Instances scheduled on this node.
|
|
18705
18948
|
# Corresponds to the JSON property `instances`
|
|
18706
18949
|
# @return [Array<String>]
|
|
@@ -18737,7 +18980,9 @@ module Google
|
|
|
18737
18980
|
|
|
18738
18981
|
# Update properties of this object
|
|
18739
18982
|
def update!(**args)
|
|
18983
|
+
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
|
18740
18984
|
@cpu_overcommit_type = args[:cpu_overcommit_type] if args.key?(:cpu_overcommit_type)
|
|
18985
|
+
@disks = args[:disks] if args.key?(:disks)
|
|
18741
18986
|
@instances = args[:instances] if args.key?(:instances)
|
|
18742
18987
|
@name = args[:name] if args.key?(:name)
|
|
18743
18988
|
@node_type = args[:node_type] if args.key?(:node_type)
|
|
@@ -19021,6 +19266,11 @@ module Google
|
|
|
19021
19266
|
class NodeTemplate
|
|
19022
19267
|
include Google::Apis::Core::Hashable
|
|
19023
19268
|
|
|
19269
|
+
#
|
|
19270
|
+
# Corresponds to the JSON property `accelerators`
|
|
19271
|
+
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
|
19272
|
+
attr_accessor :accelerators
|
|
19273
|
+
|
|
19024
19274
|
# CPU overcommit.
|
|
19025
19275
|
# Corresponds to the JSON property `cpuOvercommitType`
|
|
19026
19276
|
# @return [String]
|
|
@@ -19037,6 +19287,11 @@ module Google
|
|
|
19037
19287
|
# @return [String]
|
|
19038
19288
|
attr_accessor :description
|
|
19039
19289
|
|
|
19290
|
+
#
|
|
19291
|
+
# Corresponds to the JSON property `disks`
|
|
19292
|
+
# @return [Array<Google::Apis::ComputeV1::LocalDisk>]
|
|
19293
|
+
attr_accessor :disks
|
|
19294
|
+
|
|
19040
19295
|
# [Output Only] The unique identifier for the resource. This identifier is
|
|
19041
19296
|
# defined by the server.
|
|
19042
19297
|
# Corresponds to the JSON property `id`
|
|
@@ -19116,9 +19371,11 @@ module Google
|
|
|
19116
19371
|
|
|
19117
19372
|
# Update properties of this object
|
|
19118
19373
|
def update!(**args)
|
|
19374
|
+
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
|
19119
19375
|
@cpu_overcommit_type = args[:cpu_overcommit_type] if args.key?(:cpu_overcommit_type)
|
|
19120
19376
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
19121
19377
|
@description = args[:description] if args.key?(:description)
|
|
19378
|
+
@disks = args[:disks] if args.key?(:disks)
|
|
19122
19379
|
@id = args[:id] if args.key?(:id)
|
|
19123
19380
|
@kind = args[:kind] if args.key?(:kind)
|
|
19124
19381
|
@name = args[:name] if args.key?(:name)
|
|
@@ -24988,8 +25245,8 @@ module Google
|
|
|
24988
25245
|
# @return [String]
|
|
24989
25246
|
attr_accessor :description
|
|
24990
25247
|
|
|
24991
|
-
# The destination range of outgoing packets that this route applies to.
|
|
24992
|
-
# IPv4
|
|
25248
|
+
# The destination range of outgoing packets that this route applies to. Both
|
|
25249
|
+
# IPv4 and IPv6 are supported.
|
|
24993
25250
|
# Corresponds to the JSON property `destRange`
|
|
24994
25251
|
# @return [String]
|
|
24995
25252
|
attr_accessor :dest_range
|
|
@@ -26519,6 +26776,12 @@ module Google
|
|
|
26519
26776
|
attr_accessor :automatic_restart
|
|
26520
26777
|
alias_method :automatic_restart?, :automatic_restart
|
|
26521
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
|
+
|
|
26522
26785
|
# The minimum number of virtual CPUs this instance will consume when running on
|
|
26523
26786
|
# a sole-tenant node.
|
|
26524
26787
|
# Corresponds to the JSON property `minNodeCpus`
|
|
@@ -26555,6 +26818,7 @@ module Google
|
|
|
26555
26818
|
# Update properties of this object
|
|
26556
26819
|
def update!(**args)
|
|
26557
26820
|
@automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
|
|
26821
|
+
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
|
26558
26822
|
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
|
|
26559
26823
|
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
|
26560
26824
|
@on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
|
|
@@ -26911,7 +27175,7 @@ module Google
|
|
|
26911
27175
|
# An integer indicating the priority of a rule in the list. The priority must be
|
|
26912
27176
|
# a positive value between 0 and 2147483647. Rules are evaluated from highest to
|
|
26913
27177
|
# lowest priority where 0 is the highest priority and 2147483647 is the lowest
|
|
26914
|
-
#
|
|
27178
|
+
# priority.
|
|
26915
27179
|
# Corresponds to the JSON property `priority`
|
|
26916
27180
|
# @return [Fixnum]
|
|
26917
27181
|
attr_accessor :priority
|
|
@@ -28683,12 +28947,14 @@ module Google
|
|
|
28683
28947
|
# @return [String]
|
|
28684
28948
|
attr_accessor :self_link
|
|
28685
28949
|
|
|
28686
|
-
# [Output Only] The state of the subnetwork, which can be one of
|
|
28687
|
-
#
|
|
28688
|
-
#
|
|
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
|
|
28689
28953
|
# INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load
|
|
28690
28954
|
# balancer are being drained. A subnetwork that is draining cannot be used or
|
|
28691
|
-
# 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
|
|
28692
28958
|
# Corresponds to the JSON property `state`
|
|
28693
28959
|
# @return [String]
|
|
28694
28960
|
attr_accessor :state
|