google-api-client 0.40.2 → 0.42.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +285 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1481 -107
- data/generated/google/apis/apigee_v1/representations.rb +559 -0
- data/generated/google/apis/apigee_v1/service.rb +1162 -117
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +9 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +36 -6
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +113 -0
- data/generated/google/apis/chat_v1/representations.rb +50 -0
- data/generated/google/apis/chat_v1/service.rb +32 -0
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
- data/generated/google/apis/civicinfo_v2/service.rb +28 -63
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +9 -5
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +403 -6
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +948 -36
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +18 -19
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +10 -6
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +16 -12
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +7 -6
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +7 -6
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +634 -104
- data/generated/google/apis/compute_alpha/representations.rb +170 -0
- data/generated/google/apis/compute_alpha/service.rb +888 -139
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +703 -102
- data/generated/google/apis/compute_beta/representations.rb +182 -0
- data/generated/google/apis/compute_beta/service.rb +565 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +989 -80
- data/generated/google/apis/compute_v1/representations.rb +290 -0
- data/generated/google/apis/compute_v1/service.rb +784 -38
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +132 -5
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +157 -24
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +8 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +10 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +266 -8
- data/generated/google/apis/content_v2_1/representations.rb +108 -0
- data/generated/google/apis/content_v2_1/service.rb +10 -5
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +12 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +58 -11
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +53 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -48
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +117 -10
- data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
- data/generated/google/apis/displayvideo_v1/service.rb +80 -6
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -2
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/documentai_v1beta2.rb +36 -0
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +75 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +49 -88
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +74 -2
- data/generated/google/apis/drive_v3/representations.rb +23 -0
- data/generated/google/apis/drive_v3/service.rb +26 -59
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +212 -1154
- data/generated/google/apis/{groupsmigration_v1.rb → gameservices_v1.rb} +10 -11
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +53 -53
- data/generated/google/apis/gmail_v1/service.rb +72 -72
- data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1/service.rb +50 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +916 -49
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +577 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +27 -3
- data/generated/google/apis/iam_v1/service.rb +22 -6
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +28 -14
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +119 -48
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +8 -5
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +2 -2
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +6 -5
- data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +28 -30
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +211 -0
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +123 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +10 -7
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +23 -4
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +23 -4
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +118 -37
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +15 -4
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +15 -4
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +29 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +74 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +37 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +118 -28
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +7 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +17 -6
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1.rb → vectortile_v1.rb} +8 -8
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +20 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +20 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +20 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +594 -2
- data/generated/google/apis/youtube_v3/representations.rb +308 -0
- data/generated/google/apis/youtube_v3/service.rb +292 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +35 -19
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -51,13 +51,11 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
-
# Sends new traces to
|
54
|
+
# Sends new traces to Cloud Trace or updates existing traces. If the ID
|
55
55
|
# of a trace that you send matches that of an existing trace, any fields
|
56
56
|
# in the existing trace and its spans are overwritten by the provided values,
|
57
57
|
# and any new fields provided are merged with the existing trace data. If the
|
58
58
|
# ID does not match, a new trace is created.
|
59
|
-
# In this case, writing traces is not considered an active developer
|
60
|
-
# method since traces are machine generated.
|
61
59
|
# @param [String] project_id
|
62
60
|
# Required. ID of the Cloud project where the trace data is stored.
|
63
61
|
# @param [Google::Apis::CloudtraceV1::Traces] traces_object
|
@@ -91,8 +89,6 @@ module Google
|
|
91
89
|
end
|
92
90
|
|
93
91
|
# Gets a single trace by its ID.
|
94
|
-
# In this case, getting for traces is considered an active developer method,
|
95
|
-
# even though it is technically a read-only method.
|
96
92
|
# @param [String] project_id
|
97
93
|
# Required. ID of the Cloud project where the trace data is stored.
|
98
94
|
# @param [String] trace_id
|
@@ -126,8 +122,6 @@ module Google
|
|
126
122
|
end
|
127
123
|
|
128
124
|
# Returns of a list of traces that match the specified filter conditions.
|
129
|
-
# In this case, listing for traces is considered an active developer method,
|
130
|
-
# even though it is technically a read-only method.
|
131
125
|
# @param [String] project_id
|
132
126
|
# Required. ID of the Cloud project where the trace data is stored.
|
133
127
|
# @param [String] end_time
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# @see https://cloud.google.com/trace
|
30
30
|
module CloudtraceV2
|
31
31
|
VERSION = 'V2'
|
32
|
-
REVISION = '
|
32
|
+
REVISION = '20200713'
|
33
33
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -322,12 +322,13 @@ module Google
|
|
322
322
|
# @return [Google::Apis::CloudtraceV2::Links]
|
323
323
|
attr_accessor :links
|
324
324
|
|
325
|
-
# The resource name of the span in the following format:
|
325
|
+
# Required. The resource name of the span in the following format:
|
326
326
|
# projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
|
327
327
|
# identifier for a trace within a project;
|
328
328
|
# it is a 32-character hexadecimal encoding of a 16-byte array.
|
329
329
|
# [SPAN_ID] is a unique identifier for a span within a trace; it
|
330
|
-
# is a 16-character hexadecimal encoding of an 8-byte array.
|
330
|
+
# is a 16-character hexadecimal encoding of an 8-byte array. It should not
|
331
|
+
# be zero.
|
331
332
|
# Corresponds to the JSON property `name`
|
332
333
|
# @return [String]
|
333
334
|
attr_accessor :name
|
@@ -340,8 +341,7 @@ module Google
|
|
340
341
|
|
341
342
|
# Optional. Set this parameter to indicate whether this span is in
|
342
343
|
# the same process as its parent. If you do not set this parameter,
|
343
|
-
#
|
344
|
-
# information.
|
344
|
+
# Trace is unable to take advantage of this helpful information.
|
345
345
|
# Corresponds to the JSON property `sameProcessAsParentSpan`
|
346
346
|
# @return [Boolean]
|
347
347
|
attr_accessor :same_process_as_parent_span
|
@@ -352,7 +352,8 @@ module Google
|
|
352
352
|
# @return [String]
|
353
353
|
attr_accessor :span_id
|
354
354
|
|
355
|
-
# Distinguishes between spans generated in a particular context. For
|
355
|
+
# Optional. Distinguishes between spans generated in a particular context. For
|
356
|
+
# example,
|
356
357
|
# two spans with the same name may be distinguished using `CLIENT` (caller)
|
357
358
|
# and `SERVER` (callee) to identify an RPC call.
|
358
359
|
# Corresponds to the JSON property `spanKind`
|
@@ -53,8 +53,6 @@ module Google
|
|
53
53
|
|
54
54
|
# Sends new spans to new or existing traces. You cannot update
|
55
55
|
# existing spans.
|
56
|
-
# In this case, writing traces is not considered an active developer
|
57
|
-
# method since traces are machine generated.
|
58
56
|
# @param [String] name
|
59
57
|
# Required. The name of the project where the spans belong. The format is
|
60
58
|
# `projects/[PROJECT_ID]`.
|
@@ -89,15 +87,14 @@ module Google
|
|
89
87
|
end
|
90
88
|
|
91
89
|
# Creates a new span.
|
92
|
-
# In this case, writing traces is not considered an active developer
|
93
|
-
# method since traces are machine generated.
|
94
90
|
# @param [String] name
|
95
|
-
# The resource name of the span in the following format:
|
91
|
+
# Required. The resource name of the span in the following format:
|
96
92
|
# projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
|
97
93
|
# identifier for a trace within a project;
|
98
94
|
# it is a 32-character hexadecimal encoding of a 16-byte array.
|
99
95
|
# [SPAN_ID] is a unique identifier for a span within a trace; it
|
100
|
-
# is a 16-character hexadecimal encoding of an 8-byte array.
|
96
|
+
# is a 16-character hexadecimal encoding of an 8-byte array. It should not
|
97
|
+
# be zero.
|
101
98
|
# @param [Google::Apis::CloudtraceV2::Span] span_object
|
102
99
|
# @param [String] fields
|
103
100
|
# Selector specifying which fields to include in a partial response.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/composer/
|
26
26
|
module ComposerV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200616'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -58,8 +58,9 @@ module Google
|
|
58
58
|
class DatabaseConfig
|
59
59
|
include Google::Apis::Core::Hashable
|
60
60
|
|
61
|
-
# Optional. Cloud SQL
|
62
|
-
#
|
61
|
+
# Optional. Cloud SQL machine type used by Airflow database.
|
62
|
+
# It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
|
63
|
+
# or db-n1-standard-16. If not specified, db-n1-standard-2 will be used.
|
63
64
|
# Corresponds to the JSON property `machineType`
|
64
65
|
# @return [String]
|
65
66
|
attr_accessor :machine_type
|
@@ -902,7 +903,7 @@ module Google
|
|
902
903
|
include Google::Apis::Core::Hashable
|
903
904
|
|
904
905
|
# Optional. Machine type on which Airflow web server is running.
|
905
|
-
#
|
906
|
+
# It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
|
906
907
|
# composer-n1-webserver-8.
|
907
908
|
# If not specified, composer-n1-webserver-2 will be used.
|
908
909
|
# Value custom is returned only in response, if Airflow web server parameters
|
@@ -323,6 +323,19 @@ module Google
|
|
323
323
|
# <a href="/composer/docs/concepts/versioning/composer-versions">Cloud
|
324
324
|
# Composer Version List</a> for valid values.</td>
|
325
325
|
# </tr>
|
326
|
+
# <tr>
|
327
|
+
# <td>config.databaseConfig.machineType</td>
|
328
|
+
# <td>Cloud SQL machine type used by Airflow database.
|
329
|
+
# It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
|
330
|
+
# or db-n1-standard-16.</td>
|
331
|
+
# </tr>
|
332
|
+
# <tr>
|
333
|
+
# <td>config.webServerConfig.machineType</td>
|
334
|
+
# <td>Machine type on which Airflow web server is running.
|
335
|
+
# It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
|
336
|
+
# composer-n1-webserver-8.
|
337
|
+
# </td>
|
338
|
+
# </tr>
|
326
339
|
# </tbody>
|
327
340
|
# </table>
|
328
341
|
# @param [String] fields
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeAlpha
|
27
27
|
VERSION = 'Alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200612'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# @return [String]
|
88
88
|
attr_accessor :kind
|
89
89
|
|
90
|
-
# [Output Only] Maximum accelerator cards allowed per instance.
|
90
|
+
# [Output Only] Maximum number of accelerator cards allowed per instance.
|
91
91
|
# Corresponds to the JSON property `maximumCardsPerInstance`
|
92
92
|
# @return [Fixnum]
|
93
93
|
attr_accessor :maximum_cards_per_instance
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
# @return [String]
|
98
98
|
attr_accessor :name
|
99
99
|
|
100
|
-
# [Output Only] Server-defined fully
|
100
|
+
# [Output Only] Server-defined, fully qualified URL for this resource.
|
101
101
|
# Corresponds to the JSON property `selfLink`
|
102
102
|
# @return [String]
|
103
103
|
attr_accessor :self_link
|
@@ -1129,7 +1129,7 @@ module Google
|
|
1129
1129
|
end
|
1130
1130
|
end
|
1131
1131
|
|
1132
|
-
# Properties of the SKU instances being reserved.
|
1132
|
+
# Properties of the SKU instances being reserved. Next ID: 9
|
1133
1133
|
class AllocationSpecificSkuAllocationReservedInstanceProperties
|
1134
1134
|
include Google::Apis::Core::Hashable
|
1135
1135
|
|
@@ -1175,6 +1175,13 @@ module Google
|
|
1175
1175
|
# @return [Fixnum]
|
1176
1176
|
attr_accessor :maintenance_freeze_duration_hours
|
1177
1177
|
|
1178
|
+
# Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic"
|
1179
|
+
# designates this VM as a Stable Fleet VM.
|
1180
|
+
# See go/stable-fleet-ug for more details.
|
1181
|
+
# Corresponds to the JSON property `maintenanceInterval`
|
1182
|
+
# @return [String]
|
1183
|
+
attr_accessor :maintenance_interval
|
1184
|
+
|
1178
1185
|
# Minimum cpu platform the reservation.
|
1179
1186
|
# Corresponds to the JSON property `minCpuPlatform`
|
1180
1187
|
# @return [String]
|
@@ -1192,6 +1199,7 @@ module Google
|
|
1192
1199
|
@long_term_release = args[:long_term_release] if args.key?(:long_term_release)
|
1193
1200
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
1194
1201
|
@maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
|
1202
|
+
@maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
|
1195
1203
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
1196
1204
|
end
|
1197
1205
|
end
|
@@ -1210,7 +1218,7 @@ module Google
|
|
1210
1218
|
# @return [Fixnum]
|
1211
1219
|
attr_accessor :in_use_count
|
1212
1220
|
|
1213
|
-
# Properties of the SKU instances being reserved.
|
1221
|
+
# Properties of the SKU instances being reserved. Next ID: 9
|
1214
1222
|
# Corresponds to the JSON property `instanceProperties`
|
1215
1223
|
# @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationReservedInstanceProperties]
|
1216
1224
|
attr_accessor :instance_properties
|
@@ -1531,10 +1539,10 @@ module Google
|
|
1531
1539
|
# specified in each AuditConfig are enabled, and the exempted_members in each
|
1532
1540
|
# AuditLogConfig are exempted.
|
1533
1541
|
# Example Policy with multiple AuditConfigs:
|
1534
|
-
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
1542
|
+
# ` "audit_configs": [ ` "service": "allServices", "audit_log_configs": [ ` "
|
1535
1543
|
# log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
|
1536
|
-
# log_type": "DATA_WRITE"
|
1537
|
-
# sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ"
|
1544
|
+
# log_type": "DATA_WRITE" `, ` "log_type": "ADMIN_READ" ` ] `, ` "service": "
|
1545
|
+
# sampleservice.googleapis.com", "audit_log_configs": [ ` "log_type": "DATA_READ"
|
1538
1546
|
# `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
|
1539
1547
|
# ] ` ] ` ] `
|
1540
1548
|
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
@@ -1574,7 +1582,7 @@ module Google
|
|
1574
1582
|
|
1575
1583
|
# Provides the configuration for logging a type of permissions. Example:
|
1576
1584
|
# ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
|
1577
|
-
# user:jose@example.com" ] `, ` "log_type": "DATA_WRITE"
|
1585
|
+
# user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] `
|
1578
1586
|
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
|
1579
1587
|
# example.com from DATA_READ logging.
|
1580
1588
|
class AuditLogConfig
|
@@ -2551,7 +2559,9 @@ module Google
|
|
2551
2559
|
# UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group
|
2552
2560
|
# will serve up to 100% of its configured capacity (depending on balancingMode).
|
2553
2561
|
# A setting of 0 means the group is completely drained, offering 0% of its
|
2554
|
-
# available
|
2562
|
+
# available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a
|
2563
|
+
# setting larger than 0 and smaller than 0.1. You cannot configure a setting of
|
2564
|
+
# 0 when there is only one backend attached to the backend service.
|
2555
2565
|
# This cannot be used for internal load balancing.
|
2556
2566
|
# Corresponds to the JSON property `capacityScaler`
|
2557
2567
|
# @return [Float]
|
@@ -2927,13 +2937,17 @@ module Google
|
|
2927
2937
|
end
|
2928
2938
|
|
2929
2939
|
# Represents a Backend Service resource.
|
2930
|
-
# A backend service
|
2931
|
-
#
|
2940
|
+
# A backend service defines how Google Cloud load balancers distribute traffic.
|
2941
|
+
# The backend service configuration contains a set of values, such as the
|
2942
|
+
# protocol used to connect to backends, various distribution and session
|
2943
|
+
# settings, health checks, and timeouts. These settings provide fine-grained
|
2944
|
+
# control over how your load balancer behaves. Most of the settings have default
|
2945
|
+
# values that allow for easy configuration if you need to get started quickly.
|
2932
2946
|
# Backend services in Google Compute Engine can be either regionally or globally
|
2933
2947
|
# scoped.
|
2934
2948
|
# * [Global](/compute/docs/reference/rest/`$api_version`/backendServices) * [
|
2935
2949
|
# Regional](/compute/docs/reference/rest/`$api_version`/regionBackendServices)
|
2936
|
-
# For more information,
|
2950
|
+
# For more information, see Backend Services.
|
2937
2951
|
# (== resource_for `$api_version`.backendService ==)
|
2938
2952
|
class BackendService
|
2939
2953
|
include Google::Apis::Core::Hashable
|
@@ -3069,8 +3083,8 @@ module Google
|
|
3069
3083
|
# redirected to the load balancer.
|
3070
3084
|
# - MAGLEV: used as a drop in replacement for the ring hash load balancer.
|
3071
3085
|
# Maglev is not as stable as ring hash but has faster table lookup build times
|
3072
|
-
# and host selection times. For more information about Maglev,
|
3073
|
-
#
|
3086
|
+
# and host selection times. For more information about Maglev, see https://ai.
|
3087
|
+
# google/research/pubs/pub44824
|
3074
3088
|
# This field is applicable to either:
|
3075
3089
|
# - A regional backend service with the service_protocol set to HTTP, HTTPS, or
|
3076
3090
|
# HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED.
|
@@ -3182,8 +3196,8 @@ module Google
|
|
3182
3196
|
attr_accessor :session_affinity
|
3183
3197
|
|
3184
3198
|
# The backend service timeout has a different meaning depending on the type of
|
3185
|
-
# load balancer. For more information
|
3186
|
-
#
|
3199
|
+
# load balancer. For more information see, Backend service settings The default
|
3200
|
+
# is 30 seconds.
|
3187
3201
|
# Corresponds to the JSON property `timeoutSec`
|
3188
3202
|
# @return [Fixnum]
|
3189
3203
|
attr_accessor :timeout_sec
|
@@ -3476,13 +3490,15 @@ module Google
|
|
3476
3490
|
class BackendServiceIap
|
3477
3491
|
include Google::Apis::Core::Hashable
|
3478
3492
|
|
3479
|
-
#
|
3493
|
+
# Whether the serving infrastructure will authenticate and authorize all
|
3494
|
+
# incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields
|
3495
|
+
# must be non-empty.
|
3480
3496
|
# Corresponds to the JSON property `enabled`
|
3481
3497
|
# @return [Boolean]
|
3482
3498
|
attr_accessor :enabled
|
3483
3499
|
alias_method :enabled?, :enabled
|
3484
3500
|
|
3485
|
-
#
|
3501
|
+
# OAuth2 client ID to use for the authentication flow.
|
3486
3502
|
# Corresponds to the JSON property `oauth2ClientId`
|
3487
3503
|
# @return [String]
|
3488
3504
|
attr_accessor :oauth2_client_id
|
@@ -3493,7 +3509,9 @@ module Google
|
|
3493
3509
|
# @return [Google::Apis::ComputeAlpha::BackendServiceIapoAuth2ClientInfo]
|
3494
3510
|
attr_accessor :oauth2_client_info
|
3495
3511
|
|
3496
|
-
#
|
3512
|
+
# OAuth2 client secret to use for the authentication flow. For security reasons,
|
3513
|
+
# this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
|
3514
|
+
# value is returned in the oauth2ClientSecretSha256 field.
|
3497
3515
|
# Corresponds to the JSON property `oauth2ClientSecret`
|
3498
3516
|
# @return [String]
|
3499
3517
|
attr_accessor :oauth2_client_secret
|
@@ -7234,7 +7252,7 @@ module Google
|
|
7234
7252
|
|
7235
7253
|
# Deprecated in favor of enable in LogConfig. This field denotes whether to
|
7236
7254
|
# enable logging for a particular firewall rule. If logging is enabled, logs
|
7237
|
-
# will be exported
|
7255
|
+
# will be exported t Cloud Logging.
|
7238
7256
|
# Corresponds to the JSON property `enableLogging`
|
7239
7257
|
# @return [Boolean]
|
7240
7258
|
attr_accessor :enable_logging
|
@@ -7598,6 +7616,427 @@ module Google
|
|
7598
7616
|
end
|
7599
7617
|
end
|
7600
7618
|
|
7619
|
+
# Represents a Firewall Policy resource. (== resource_for `$api_version`.
|
7620
|
+
# firewallPolicies ==)
|
7621
|
+
class FirewallPolicy
|
7622
|
+
include Google::Apis::Core::Hashable
|
7623
|
+
|
7624
|
+
# A list of associations that belong to this firewall policy.
|
7625
|
+
# Corresponds to the JSON property `associations`
|
7626
|
+
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyAssociation>]
|
7627
|
+
attr_accessor :associations
|
7628
|
+
|
7629
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
7630
|
+
# Corresponds to the JSON property `creationTimestamp`
|
7631
|
+
# @return [String]
|
7632
|
+
attr_accessor :creation_timestamp
|
7633
|
+
|
7634
|
+
# An optional description of this resource. Provide this property when you
|
7635
|
+
# create the resource.
|
7636
|
+
# Corresponds to the JSON property `description`
|
7637
|
+
# @return [String]
|
7638
|
+
attr_accessor :description
|
7639
|
+
|
7640
|
+
# User-provided name of the Organization firewall plicy. The name should be
|
7641
|
+
# unique in the organization in which the firewall policy is created. The name
|
7642
|
+
# must be 1-63 characters long, and comply with RFC1035. Specifically, the name
|
7643
|
+
# must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*
|
7644
|
+
# [a-z0-9])?` which means the first character must be a lowercase letter, and
|
7645
|
+
# all following characters must be a dash, lowercase letter, or digit, except
|
7646
|
+
# the last character, which cannot be a dash.
|
7647
|
+
# Corresponds to the JSON property `displayName`
|
7648
|
+
# @return [String]
|
7649
|
+
attr_accessor :display_name
|
7650
|
+
|
7651
|
+
# Specifies a fingerprint for this resource, which is essentially a hash of the
|
7652
|
+
# metadata's contents and used for optimistic locking. The fingerprint is
|
7653
|
+
# initially generated by Compute Engine and changes after every request to
|
7654
|
+
# modify or update metadata. You must always provide an up-to-date fingerprint
|
7655
|
+
# hash in order to update or change metadata, otherwise the request will fail
|
7656
|
+
# with error 412 conditionNotMet.
|
7657
|
+
# To see the latest fingerprint, make get() request to the firewall policy.
|
7658
|
+
# Corresponds to the JSON property `fingerprint`
|
7659
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
7660
|
+
# @return [String]
|
7661
|
+
attr_accessor :fingerprint
|
7662
|
+
|
7663
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
7664
|
+
# defined by the server.
|
7665
|
+
# Corresponds to the JSON property `id`
|
7666
|
+
# @return [Fixnum]
|
7667
|
+
attr_accessor :id
|
7668
|
+
|
7669
|
+
# [Output only] Type of the resource. Always compute#firewallPolicyfor firewall
|
7670
|
+
# policies
|
7671
|
+
# Corresponds to the JSON property `kind`
|
7672
|
+
# @return [String]
|
7673
|
+
attr_accessor :kind
|
7674
|
+
|
7675
|
+
# [Output Only] Name of the resource. It is a numeric ID allocated by GCP which
|
7676
|
+
# uniquely identifies the Firewall Policy.
|
7677
|
+
# Corresponds to the JSON property `name`
|
7678
|
+
# @return [String]
|
7679
|
+
attr_accessor :name
|
7680
|
+
|
7681
|
+
# [Output Only] The parent of the firewall policy.
|
7682
|
+
# Corresponds to the JSON property `parent`
|
7683
|
+
# @return [String]
|
7684
|
+
attr_accessor :parent
|
7685
|
+
|
7686
|
+
# [Output Only] Total count of all firewall policy rule tuples. A firewall
|
7687
|
+
# policy can not exceed a set number of tuples.
|
7688
|
+
# Corresponds to the JSON property `ruleTupleCount`
|
7689
|
+
# @return [Fixnum]
|
7690
|
+
attr_accessor :rule_tuple_count
|
7691
|
+
|
7692
|
+
# A list of rules that belong to this policy. There must always be a default
|
7693
|
+
# rule (rule with priority 2147483647 and match "*"). If no rules are provided
|
7694
|
+
# when creating a firewall policy, a default rule with action "allow" will be
|
7695
|
+
# added.
|
7696
|
+
# Corresponds to the JSON property `rules`
|
7697
|
+
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRule>]
|
7698
|
+
attr_accessor :rules
|
7699
|
+
|
7700
|
+
# [Output Only] Server-defined URL for the resource.
|
7701
|
+
# Corresponds to the JSON property `selfLink`
|
7702
|
+
# @return [String]
|
7703
|
+
attr_accessor :self_link
|
7704
|
+
|
7705
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
7706
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
7707
|
+
# @return [String]
|
7708
|
+
attr_accessor :self_link_with_id
|
7709
|
+
|
7710
|
+
def initialize(**args)
|
7711
|
+
update!(**args)
|
7712
|
+
end
|
7713
|
+
|
7714
|
+
# Update properties of this object
|
7715
|
+
def update!(**args)
|
7716
|
+
@associations = args[:associations] if args.key?(:associations)
|
7717
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
7718
|
+
@description = args[:description] if args.key?(:description)
|
7719
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
7720
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
7721
|
+
@id = args[:id] if args.key?(:id)
|
7722
|
+
@kind = args[:kind] if args.key?(:kind)
|
7723
|
+
@name = args[:name] if args.key?(:name)
|
7724
|
+
@parent = args[:parent] if args.key?(:parent)
|
7725
|
+
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
7726
|
+
@rules = args[:rules] if args.key?(:rules)
|
7727
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
7728
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
7729
|
+
end
|
7730
|
+
end
|
7731
|
+
|
7732
|
+
#
|
7733
|
+
class FirewallPolicyAssociation
|
7734
|
+
include Google::Apis::Core::Hashable
|
7735
|
+
|
7736
|
+
# The target that the firewall policy is attached to.
|
7737
|
+
# Corresponds to the JSON property `attachmentTarget`
|
7738
|
+
# @return [String]
|
7739
|
+
attr_accessor :attachment_target
|
7740
|
+
|
7741
|
+
# [Output Only] The display name of the firewall policy of the association.
|
7742
|
+
# Corresponds to the JSON property `displayName`
|
7743
|
+
# @return [String]
|
7744
|
+
attr_accessor :display_name
|
7745
|
+
|
7746
|
+
# [Output Only] The firewall policy ID of the association.
|
7747
|
+
# Corresponds to the JSON property `firewallPolicyId`
|
7748
|
+
# @return [String]
|
7749
|
+
attr_accessor :firewall_policy_id
|
7750
|
+
|
7751
|
+
# The name for an association.
|
7752
|
+
# Corresponds to the JSON property `name`
|
7753
|
+
# @return [String]
|
7754
|
+
attr_accessor :name
|
7755
|
+
|
7756
|
+
def initialize(**args)
|
7757
|
+
update!(**args)
|
7758
|
+
end
|
7759
|
+
|
7760
|
+
# Update properties of this object
|
7761
|
+
def update!(**args)
|
7762
|
+
@attachment_target = args[:attachment_target] if args.key?(:attachment_target)
|
7763
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
7764
|
+
@firewall_policy_id = args[:firewall_policy_id] if args.key?(:firewall_policy_id)
|
7765
|
+
@name = args[:name] if args.key?(:name)
|
7766
|
+
end
|
7767
|
+
end
|
7768
|
+
|
7769
|
+
#
|
7770
|
+
class FirewallPolicyList
|
7771
|
+
include Google::Apis::Core::Hashable
|
7772
|
+
|
7773
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
7774
|
+
# Corresponds to the JSON property `id`
|
7775
|
+
# @return [String]
|
7776
|
+
attr_accessor :id
|
7777
|
+
|
7778
|
+
# A list of FirewallPolicy resources.
|
7779
|
+
# Corresponds to the JSON property `items`
|
7780
|
+
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicy>]
|
7781
|
+
attr_accessor :items
|
7782
|
+
|
7783
|
+
# [Output Only] Type of resource. Always compute#firewallPolicyList for listsof
|
7784
|
+
# FirewallPolicies
|
7785
|
+
# Corresponds to the JSON property `kind`
|
7786
|
+
# @return [String]
|
7787
|
+
attr_accessor :kind
|
7788
|
+
|
7789
|
+
# [Output Only] This token allows you to get the next page of results for list
|
7790
|
+
# requests. If the number of results is larger than maxResults, use the
|
7791
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
7792
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
7793
|
+
# continue paging through the results.
|
7794
|
+
# Corresponds to the JSON property `nextPageToken`
|
7795
|
+
# @return [String]
|
7796
|
+
attr_accessor :next_page_token
|
7797
|
+
|
7798
|
+
# [Output Only] Informational warning message.
|
7799
|
+
# Corresponds to the JSON property `warning`
|
7800
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicyList::Warning]
|
7801
|
+
attr_accessor :warning
|
7802
|
+
|
7803
|
+
def initialize(**args)
|
7804
|
+
update!(**args)
|
7805
|
+
end
|
7806
|
+
|
7807
|
+
# Update properties of this object
|
7808
|
+
def update!(**args)
|
7809
|
+
@id = args[:id] if args.key?(:id)
|
7810
|
+
@items = args[:items] if args.key?(:items)
|
7811
|
+
@kind = args[:kind] if args.key?(:kind)
|
7812
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
7813
|
+
@warning = args[:warning] if args.key?(:warning)
|
7814
|
+
end
|
7815
|
+
|
7816
|
+
# [Output Only] Informational warning message.
|
7817
|
+
class Warning
|
7818
|
+
include Google::Apis::Core::Hashable
|
7819
|
+
|
7820
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
7821
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
7822
|
+
# Corresponds to the JSON property `code`
|
7823
|
+
# @return [String]
|
7824
|
+
attr_accessor :code
|
7825
|
+
|
7826
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
7827
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
7828
|
+
# Corresponds to the JSON property `data`
|
7829
|
+
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyList::Warning::Datum>]
|
7830
|
+
attr_accessor :data
|
7831
|
+
|
7832
|
+
# [Output Only] A human-readable description of the warning code.
|
7833
|
+
# Corresponds to the JSON property `message`
|
7834
|
+
# @return [String]
|
7835
|
+
attr_accessor :message
|
7836
|
+
|
7837
|
+
def initialize(**args)
|
7838
|
+
update!(**args)
|
7839
|
+
end
|
7840
|
+
|
7841
|
+
# Update properties of this object
|
7842
|
+
def update!(**args)
|
7843
|
+
@code = args[:code] if args.key?(:code)
|
7844
|
+
@data = args[:data] if args.key?(:data)
|
7845
|
+
@message = args[:message] if args.key?(:message)
|
7846
|
+
end
|
7847
|
+
|
7848
|
+
#
|
7849
|
+
class Datum
|
7850
|
+
include Google::Apis::Core::Hashable
|
7851
|
+
|
7852
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
7853
|
+
# For example, for warnings where there are no results in a list request for a
|
7854
|
+
# particular zone, this key might be scope and the key value might be the zone
|
7855
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
7856
|
+
# suggested replacement, or a warning about invalid network settings (for
|
7857
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
7858
|
+
# for IP forwarding).
|
7859
|
+
# Corresponds to the JSON property `key`
|
7860
|
+
# @return [String]
|
7861
|
+
attr_accessor :key
|
7862
|
+
|
7863
|
+
# [Output Only] A warning data value corresponding to the key.
|
7864
|
+
# Corresponds to the JSON property `value`
|
7865
|
+
# @return [String]
|
7866
|
+
attr_accessor :value
|
7867
|
+
|
7868
|
+
def initialize(**args)
|
7869
|
+
update!(**args)
|
7870
|
+
end
|
7871
|
+
|
7872
|
+
# Update properties of this object
|
7873
|
+
def update!(**args)
|
7874
|
+
@key = args[:key] if args.key?(:key)
|
7875
|
+
@value = args[:value] if args.key?(:value)
|
7876
|
+
end
|
7877
|
+
end
|
7878
|
+
end
|
7879
|
+
end
|
7880
|
+
|
7881
|
+
# Represents a rule that describes one or more match conditions along with the
|
7882
|
+
# action to be taken when traffic matches this condition (allow or deny).
|
7883
|
+
class FirewallPolicyRule
|
7884
|
+
include Google::Apis::Core::Hashable
|
7885
|
+
|
7886
|
+
# The Action to perform when the client connection triggers the rule. Can
|
7887
|
+
# currently be either "allow" or "deny()" where valid values for status are 403,
|
7888
|
+
# 404, and 502.
|
7889
|
+
# Corresponds to the JSON property `action`
|
7890
|
+
# @return [String]
|
7891
|
+
attr_accessor :action
|
7892
|
+
|
7893
|
+
# An optional description of this resource. Provide this property when you
|
7894
|
+
# create the resource.
|
7895
|
+
# Corresponds to the JSON property `description`
|
7896
|
+
# @return [String]
|
7897
|
+
attr_accessor :description
|
7898
|
+
|
7899
|
+
# The direction in which this rule applies.
|
7900
|
+
# Corresponds to the JSON property `direction`
|
7901
|
+
# @return [String]
|
7902
|
+
attr_accessor :direction
|
7903
|
+
|
7904
|
+
# Denotes whether to enable logging for a particular rule. If logging is enabled,
|
7905
|
+
# logs will be exported to the configured export destination in Stackdriver.
|
7906
|
+
# Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging
|
7907
|
+
# on "goto_next" rules.
|
7908
|
+
# Corresponds to the JSON property `enableLogging`
|
7909
|
+
# @return [Boolean]
|
7910
|
+
attr_accessor :enable_logging
|
7911
|
+
alias_method :enable_logging?, :enable_logging
|
7912
|
+
|
7913
|
+
# [Output only] Type of the resource. Always compute#firewallPolicyRule for
|
7914
|
+
# firewall policy rules
|
7915
|
+
# Corresponds to the JSON property `kind`
|
7916
|
+
# @return [String]
|
7917
|
+
attr_accessor :kind
|
7918
|
+
|
7919
|
+
# Represents a match condition that incoming traffic is evaluated against.
|
7920
|
+
# Exactly one field must be specified.
|
7921
|
+
# Corresponds to the JSON property `match`
|
7922
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcher]
|
7923
|
+
attr_accessor :match
|
7924
|
+
|
7925
|
+
# If set to true, the specified action is not enforced.
|
7926
|
+
# Corresponds to the JSON property `preview`
|
7927
|
+
# @return [Boolean]
|
7928
|
+
attr_accessor :preview
|
7929
|
+
alias_method :preview?, :preview
|
7930
|
+
|
7931
|
+
# An integer indicating the priority of a rule in the list. The priority must be
|
7932
|
+
# a positive value between 0 and 2147483647. Rules are evaluated from highest to
|
7933
|
+
# lowest priority where 0 is the highest priority and 2147483647 is the lowest
|
7934
|
+
# prority.
|
7935
|
+
# Corresponds to the JSON property `priority`
|
7936
|
+
# @return [Fixnum]
|
7937
|
+
attr_accessor :priority
|
7938
|
+
|
7939
|
+
# [Output Only] Calculation of the complexity of a single firewall policy rule.
|
7940
|
+
# Corresponds to the JSON property `ruleTupleCount`
|
7941
|
+
# @return [Fixnum]
|
7942
|
+
attr_accessor :rule_tuple_count
|
7943
|
+
|
7944
|
+
# A list of network resource URLs to which this rule applies. This field allows
|
7945
|
+
# you to control which network?s VMs get this rule. If this field is left blank,
|
7946
|
+
# all VMs within the organization will receive the rule.
|
7947
|
+
# Corresponds to the JSON property `targetResources`
|
7948
|
+
# @return [Array<String>]
|
7949
|
+
attr_accessor :target_resources
|
7950
|
+
|
7951
|
+
# A list of service accounts indicating the sets of instances that are applied
|
7952
|
+
# with this rule.
|
7953
|
+
# Corresponds to the JSON property `targetServiceAccounts`
|
7954
|
+
# @return [Array<String>]
|
7955
|
+
attr_accessor :target_service_accounts
|
7956
|
+
|
7957
|
+
def initialize(**args)
|
7958
|
+
update!(**args)
|
7959
|
+
end
|
7960
|
+
|
7961
|
+
# Update properties of this object
|
7962
|
+
def update!(**args)
|
7963
|
+
@action = args[:action] if args.key?(:action)
|
7964
|
+
@description = args[:description] if args.key?(:description)
|
7965
|
+
@direction = args[:direction] if args.key?(:direction)
|
7966
|
+
@enable_logging = args[:enable_logging] if args.key?(:enable_logging)
|
7967
|
+
@kind = args[:kind] if args.key?(:kind)
|
7968
|
+
@match = args[:match] if args.key?(:match)
|
7969
|
+
@preview = args[:preview] if args.key?(:preview)
|
7970
|
+
@priority = args[:priority] if args.key?(:priority)
|
7971
|
+
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
7972
|
+
@target_resources = args[:target_resources] if args.key?(:target_resources)
|
7973
|
+
@target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
|
7974
|
+
end
|
7975
|
+
end
|
7976
|
+
|
7977
|
+
# Represents a match condition that incoming traffic is evaluated against.
|
7978
|
+
# Exactly one field must be specified.
|
7979
|
+
class FirewallPolicyRuleMatcher
|
7980
|
+
include Google::Apis::Core::Hashable
|
7981
|
+
|
7982
|
+
# CIDR IP address range.
|
7983
|
+
# Corresponds to the JSON property `destIpRanges`
|
7984
|
+
# @return [Array<String>]
|
7985
|
+
attr_accessor :dest_ip_ranges
|
7986
|
+
|
7987
|
+
# Pairs of IP protocols and ports that the rule should match.
|
7988
|
+
# Corresponds to the JSON property `layer4Configs`
|
7989
|
+
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config>]
|
7990
|
+
attr_accessor :layer4_configs
|
7991
|
+
|
7992
|
+
# CIDR IP address range.
|
7993
|
+
# Corresponds to the JSON property `srcIpRanges`
|
7994
|
+
# @return [Array<String>]
|
7995
|
+
attr_accessor :src_ip_ranges
|
7996
|
+
|
7997
|
+
def initialize(**args)
|
7998
|
+
update!(**args)
|
7999
|
+
end
|
8000
|
+
|
8001
|
+
# Update properties of this object
|
8002
|
+
def update!(**args)
|
8003
|
+
@dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
|
8004
|
+
@layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
|
8005
|
+
@src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
|
8006
|
+
end
|
8007
|
+
end
|
8008
|
+
|
8009
|
+
#
|
8010
|
+
class FirewallPolicyRuleMatcherLayer4Config
|
8011
|
+
include Google::Apis::Core::Hashable
|
8012
|
+
|
8013
|
+
# The IP protocol to which this rule applies. The protocol type is required when
|
8014
|
+
# creating a firewall rule. This value can either be one of the following well
|
8015
|
+
# known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP
|
8016
|
+
# protocol number.
|
8017
|
+
# Corresponds to the JSON property `ipProtocol`
|
8018
|
+
# @return [String]
|
8019
|
+
attr_accessor :ip_protocol
|
8020
|
+
|
8021
|
+
# An optional list of ports to which this rule applies. This field is only
|
8022
|
+
# applicable for UDP or TCP protocol. Each entry must be either an integer or a
|
8023
|
+
# range. If not specified, this rule applies to connections through any port.
|
8024
|
+
# Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
|
8025
|
+
# Corresponds to the JSON property `ports`
|
8026
|
+
# @return [Array<String>]
|
8027
|
+
attr_accessor :ports
|
8028
|
+
|
8029
|
+
def initialize(**args)
|
8030
|
+
update!(**args)
|
8031
|
+
end
|
8032
|
+
|
8033
|
+
# Update properties of this object
|
8034
|
+
def update!(**args)
|
8035
|
+
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
|
8036
|
+
@ports = args[:ports] if args.key?(:ports)
|
8037
|
+
end
|
8038
|
+
end
|
8039
|
+
|
7601
8040
|
# Encapsulates numeric value that can be either absolute or relative.
|
7602
8041
|
class FixedOrPercent
|
7603
8042
|
include Google::Apis::Core::Hashable
|
@@ -11213,11 +11652,13 @@ module Google
|
|
11213
11652
|
# @return [String]
|
11214
11653
|
attr_accessor :source_disk_id
|
11215
11654
|
|
11216
|
-
# URL of the source image used to create this image.
|
11217
|
-
#
|
11218
|
-
#
|
11219
|
-
# -
|
11220
|
-
# -
|
11655
|
+
# URL of the source image used to create this image.
|
11656
|
+
# In order to create an image, you must provide the full or partial URL of one
|
11657
|
+
# of the following:
|
11658
|
+
# - The selfLink URL
|
11659
|
+
# - This property
|
11660
|
+
# - The rawDisk.source URL
|
11661
|
+
# - The sourceDisk URL
|
11221
11662
|
# Corresponds to the JSON property `sourceImage`
|
11222
11663
|
# @return [String]
|
11223
11664
|
attr_accessor :source_image
|
@@ -11234,12 +11675,14 @@ module Google
|
|
11234
11675
|
# @return [String]
|
11235
11676
|
attr_accessor :source_image_id
|
11236
11677
|
|
11237
|
-
# URL of the source snapshot used to create this image.
|
11238
|
-
#
|
11239
|
-
#
|
11240
|
-
# -
|
11241
|
-
# -
|
11242
|
-
# -
|
11678
|
+
# URL of the source snapshot used to create this image.
|
11679
|
+
# In order to create an image, you must provide the full or partial URL of one
|
11680
|
+
# of the following:
|
11681
|
+
# - The selfLink URL
|
11682
|
+
# - This property
|
11683
|
+
# - The sourceImage URL
|
11684
|
+
# - The rawDisk.source URL
|
11685
|
+
# - The sourceDisk URL
|
11243
11686
|
# Corresponds to the JSON property `sourceSnapshot`
|
11244
11687
|
# @return [String]
|
11245
11688
|
attr_accessor :source_snapshot
|
@@ -11884,6 +12327,21 @@ module Google
|
|
11884
12327
|
# @return [Hash<String,String>]
|
11885
12328
|
attr_accessor :labels
|
11886
12329
|
|
12330
|
+
# [Output Only] Last start timestamp in RFC3339 text format.
|
12331
|
+
# Corresponds to the JSON property `lastStartTimestamp`
|
12332
|
+
# @return [String]
|
12333
|
+
attr_accessor :last_start_timestamp
|
12334
|
+
|
12335
|
+
# [Output Only] Last stop timestamp in RFC3339 text format.
|
12336
|
+
# Corresponds to the JSON property `lastStopTimestamp`
|
12337
|
+
# @return [String]
|
12338
|
+
attr_accessor :last_stop_timestamp
|
12339
|
+
|
12340
|
+
# [Output Only] Last suspended timestamp in RFC3339 text format.
|
12341
|
+
# Corresponds to the JSON property `lastSuspendedTimestamp`
|
12342
|
+
# @return [String]
|
12343
|
+
attr_accessor :last_suspended_timestamp
|
12344
|
+
|
11887
12345
|
# Full or partial URL of the machine type resource to use for this instance, in
|
11888
12346
|
# the format: zones/zone/machineTypes/machine-type. This is provided by the
|
11889
12347
|
# client when the instance is created. For example, the following is a valid
|
@@ -11957,7 +12415,7 @@ module Google
|
|
11957
12415
|
# @return [Array<String>]
|
11958
12416
|
attr_accessor :resource_policies
|
11959
12417
|
|
11960
|
-
# Sets the scheduling options for an Instance. NextID:
|
12418
|
+
# Sets the scheduling options for an Instance. NextID: 12
|
11961
12419
|
# Corresponds to the JSON property `scheduling`
|
11962
12420
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
11963
12421
|
attr_accessor :scheduling
|
@@ -12072,6 +12530,9 @@ module Google
|
|
12072
12530
|
@kind = args[:kind] if args.key?(:kind)
|
12073
12531
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
12074
12532
|
@labels = args[:labels] if args.key?(:labels)
|
12533
|
+
@last_start_timestamp = args[:last_start_timestamp] if args.key?(:last_start_timestamp)
|
12534
|
+
@last_stop_timestamp = args[:last_stop_timestamp] if args.key?(:last_stop_timestamp)
|
12535
|
+
@last_suspended_timestamp = args[:last_suspended_timestamp] if args.key?(:last_suspended_timestamp)
|
12075
12536
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
12076
12537
|
@metadata = args[:metadata] if args.key?(:metadata)
|
12077
12538
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
@@ -13296,6 +13757,11 @@ module Google
|
|
13296
13757
|
attr_accessor :is_stateful
|
13297
13758
|
alias_method :is_stateful?, :is_stateful
|
13298
13759
|
|
13760
|
+
# [Output Only] Status of per-instance configs on the instance.
|
13761
|
+
# Corresponds to the JSON property `perInstanceConfigs`
|
13762
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStatefulPerInstanceConfigs]
|
13763
|
+
attr_accessor :per_instance_configs
|
13764
|
+
|
13299
13765
|
def initialize(**args)
|
13300
13766
|
update!(**args)
|
13301
13767
|
end
|
@@ -13304,6 +13770,29 @@ module Google
|
|
13304
13770
|
def update!(**args)
|
13305
13771
|
@has_stateful_config = args[:has_stateful_config] if args.key?(:has_stateful_config)
|
13306
13772
|
@is_stateful = args[:is_stateful] if args.key?(:is_stateful)
|
13773
|
+
@per_instance_configs = args[:per_instance_configs] if args.key?(:per_instance_configs)
|
13774
|
+
end
|
13775
|
+
end
|
13776
|
+
|
13777
|
+
#
|
13778
|
+
class InstanceGroupManagerStatusStatefulPerInstanceConfigs
|
13779
|
+
include Google::Apis::Core::Hashable
|
13780
|
+
|
13781
|
+
# A bit indicating if all of the group's per-instance configs (listed in the
|
13782
|
+
# output of a listPerInstanceConfigs API call) have status EFFECTIVE or there
|
13783
|
+
# are no per-instance-configs.
|
13784
|
+
# Corresponds to the JSON property `allEffective`
|
13785
|
+
# @return [Boolean]
|
13786
|
+
attr_accessor :all_effective
|
13787
|
+
alias_method :all_effective?, :all_effective
|
13788
|
+
|
13789
|
+
def initialize(**args)
|
13790
|
+
update!(**args)
|
13791
|
+
end
|
13792
|
+
|
13793
|
+
# Update properties of this object
|
13794
|
+
def update!(**args)
|
13795
|
+
@all_effective = args[:all_effective] if args.key?(:all_effective)
|
13307
13796
|
end
|
13308
13797
|
end
|
13309
13798
|
|
@@ -14676,9 +15165,9 @@ module Google
|
|
14676
15165
|
class InstanceProperties
|
14677
15166
|
include Google::Apis::Core::Hashable
|
14678
15167
|
|
14679
|
-
# Enables instances created based on
|
14680
|
-
# IP addresses other than their own and receive packets with destination
|
14681
|
-
# addresses other than their own. If these instances will be used as an IP
|
15168
|
+
# Enables instances created based on these properties to send packets with
|
15169
|
+
# source IP addresses other than their own and receive packets with destination
|
15170
|
+
# IP addresses other than their own. If these instances will be used as an IP
|
14682
15171
|
# gateway or it will be set as the next-hop in a Route resource, specify true.
|
14683
15172
|
# If unsure, leave this set to false. See the Enable IP forwarding documentation
|
14684
15173
|
# for more information.
|
@@ -14692,14 +15181,14 @@ module Google
|
|
14692
15181
|
# @return [Google::Apis::ComputeAlpha::ConfidentialInstanceConfig]
|
14693
15182
|
attr_accessor :confidential_instance_config
|
14694
15183
|
|
14695
|
-
# An optional text description for the instances that are created from
|
14696
|
-
#
|
15184
|
+
# An optional text description for the instances that are created from these
|
15185
|
+
# properties.
|
14697
15186
|
# Corresponds to the JSON property `description`
|
14698
15187
|
# @return [String]
|
14699
15188
|
attr_accessor :description
|
14700
15189
|
|
14701
15190
|
# An array of disks that are associated with the instances that are created from
|
14702
|
-
#
|
15191
|
+
# these properties.
|
14703
15192
|
# Corresponds to the JSON property `disks`
|
14704
15193
|
# @return [Array<Google::Apis::ComputeAlpha::AttachedDisk>]
|
14705
15194
|
attr_accessor :disks
|
@@ -14710,17 +15199,17 @@ module Google
|
|
14710
15199
|
attr_accessor :display_device
|
14711
15200
|
|
14712
15201
|
# A list of guest accelerator cards' type and count to use for instances created
|
14713
|
-
# from
|
15202
|
+
# from these properties.
|
14714
15203
|
# Corresponds to the JSON property `guestAccelerators`
|
14715
15204
|
# @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
|
14716
15205
|
attr_accessor :guest_accelerators
|
14717
15206
|
|
14718
|
-
# Labels to apply to instances that are created from
|
15207
|
+
# Labels to apply to instances that are created from these properties.
|
14719
15208
|
# Corresponds to the JSON property `labels`
|
14720
15209
|
# @return [Hash<String,String>]
|
14721
15210
|
attr_accessor :labels
|
14722
15211
|
|
14723
|
-
# The machine type to use for instances that are created from
|
15212
|
+
# The machine type to use for instances that are created from these properties.
|
14724
15213
|
# Corresponds to the JSON property `machineType`
|
14725
15214
|
# @return [String]
|
14726
15215
|
attr_accessor :machine_type
|
@@ -14730,11 +15219,11 @@ module Google
|
|
14730
15219
|
# @return [Google::Apis::ComputeAlpha::Metadata]
|
14731
15220
|
attr_accessor :metadata
|
14732
15221
|
|
14733
|
-
# Minimum cpu/platform to be used by
|
14734
|
-
#
|
14735
|
-
#
|
14736
|
-
#
|
14737
|
-
#
|
15222
|
+
# Minimum cpu/platform to be used by instances. The instance may be scheduled on
|
15223
|
+
# the specified or newer cpu/platform. Applicable values are the friendly names
|
15224
|
+
# of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "
|
15225
|
+
# Intel Sandy Bridge". For more information, read Specifying a Minimum CPU
|
15226
|
+
# Platform.
|
14738
15227
|
# Corresponds to the JSON property `minCpuPlatform`
|
14739
15228
|
# @return [String]
|
14740
15229
|
attr_accessor :min_cpu_platform
|
@@ -14744,12 +15233,12 @@ module Google
|
|
14744
15233
|
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
14745
15234
|
attr_accessor :network_interfaces
|
14746
15235
|
|
14747
|
-
# Specifies whether
|
15236
|
+
# Specifies whether instances will be shut down on key revocation.
|
14748
15237
|
# Corresponds to the JSON property `postKeyRevocationActionType`
|
14749
15238
|
# @return [String]
|
14750
15239
|
attr_accessor :post_key_revocation_action_type
|
14751
15240
|
|
14752
|
-
# The private IPv6 google access type for
|
15241
|
+
# The private IPv6 google access type for VMs. If not specified, use
|
14753
15242
|
# INHERIT_FROM_SUBNETWORK as default.
|
14754
15243
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
14755
15244
|
# @return [String]
|
@@ -14760,20 +15249,21 @@ module Google
|
|
14760
15249
|
# @return [Google::Apis::ComputeAlpha::ReservationAffinity]
|
14761
15250
|
attr_accessor :reservation_affinity
|
14762
15251
|
|
14763
|
-
# Resource policies (names, not ULRs) applied to instances created from
|
14764
|
-
#
|
15252
|
+
# Resource policies (names, not ULRs) applied to instances created from these
|
15253
|
+
# properties.
|
14765
15254
|
# Corresponds to the JSON property `resourcePolicies`
|
14766
15255
|
# @return [Array<String>]
|
14767
15256
|
attr_accessor :resource_policies
|
14768
15257
|
|
14769
|
-
# Sets the scheduling options for an Instance. NextID:
|
15258
|
+
# Sets the scheduling options for an Instance. NextID: 12
|
14770
15259
|
# Corresponds to the JSON property `scheduling`
|
14771
15260
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
14772
15261
|
attr_accessor :scheduling
|
14773
15262
|
|
14774
15263
|
# A list of service accounts with specified scopes. Access tokens for these
|
14775
|
-
# service accounts are available to the instances that are created from
|
14776
|
-
#
|
15264
|
+
# service accounts are available to the instances that are created from these
|
15265
|
+
# properties. Use metadata queries to obtain the access tokens for these
|
15266
|
+
# instances.
|
14777
15267
|
# Corresponds to the JSON property `serviceAccounts`
|
14778
15268
|
# @return [Array<Google::Apis::ComputeAlpha::ServiceAccount>]
|
14779
15269
|
attr_accessor :service_accounts
|
@@ -16383,8 +16873,7 @@ module Google
|
|
16383
16873
|
end
|
16384
16874
|
|
16385
16875
|
# Describes a single physical circuit between the Customer and Google.
|
16386
|
-
# CircuitInfo objects are created by Google, so all fields are output only.
|
16387
|
-
# id: 4
|
16876
|
+
# CircuitInfo objects are created by Google, so all fields are output only.
|
16388
16877
|
class InterconnectCircuitInfo
|
16389
16878
|
include Google::Apis::Core::Hashable
|
16390
16879
|
|
@@ -16998,7 +17487,7 @@ module Google
|
|
16998
17487
|
end
|
16999
17488
|
end
|
17000
17489
|
|
17001
|
-
# Description of a planned outage on this Interconnect.
|
17490
|
+
# Description of a planned outage on this Interconnect.
|
17002
17491
|
class InterconnectOutageNotification
|
17003
17492
|
include Google::Apis::Core::Hashable
|
17004
17493
|
|
@@ -18139,7 +18628,8 @@ module Google
|
|
18139
18628
|
# @return [String]
|
18140
18629
|
attr_accessor :status
|
18141
18630
|
|
18142
|
-
#
|
18631
|
+
# The regional or multi-regional Cloud Storage bucket location where the machine
|
18632
|
+
# image is stored.
|
18143
18633
|
# Corresponds to the JSON property `storageLocations`
|
18144
18634
|
# @return [Array<String>]
|
18145
18635
|
attr_accessor :storage_locations
|
@@ -19233,10 +19723,12 @@ module Google
|
|
19233
19723
|
# @return [String]
|
19234
19724
|
attr_accessor :i_pv4_range
|
19235
19725
|
|
19236
|
-
# When set to true, the VPC network is created in
|
19237
|
-
# the VPC network is created in
|
19726
|
+
# When set to true, the VPC network is created in auto mode. When set to false,
|
19727
|
+
# the VPC network is created in custom mode.
|
19238
19728
|
# An auto mode VPC network starts with one subnet per region. Each subnet has a
|
19239
19729
|
# predetermined range as described in Auto mode VPC network IP ranges.
|
19730
|
+
# For custom mode VPC networks, you can add subnets using the subnetworks insert
|
19731
|
+
# method.
|
19240
19732
|
# Corresponds to the JSON property `autoCreateSubnetworks`
|
19241
19733
|
# @return [Boolean]
|
19242
19734
|
attr_accessor :auto_create_subnetworks
|
@@ -19253,6 +19745,11 @@ module Google
|
|
19253
19745
|
# @return [String]
|
19254
19746
|
attr_accessor :description
|
19255
19747
|
|
19748
|
+
# [Output Only] URL of the firewall policy the network is associated with.
|
19749
|
+
# Corresponds to the JSON property `firewallPolicy`
|
19750
|
+
# @return [String]
|
19751
|
+
attr_accessor :firewall_policy
|
19752
|
+
|
19256
19753
|
# [Output Only] The gateway address for default routing out of the network,
|
19257
19754
|
# selected by GCP.
|
19258
19755
|
# Corresponds to the JSON property `gatewayIPv4`
|
@@ -19324,6 +19821,7 @@ module Google
|
|
19324
19821
|
@auto_create_subnetworks = args[:auto_create_subnetworks] if args.key?(:auto_create_subnetworks)
|
19325
19822
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
19326
19823
|
@description = args[:description] if args.key?(:description)
|
19824
|
+
@firewall_policy = args[:firewall_policy] if args.key?(:firewall_policy)
|
19327
19825
|
@gateway_i_pv4 = args[:gateway_i_pv4] if args.key?(:gateway_i_pv4)
|
19328
19826
|
@id = args[:id] if args.key?(:id)
|
19329
19827
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -19337,7 +19835,7 @@ module Google
|
|
19337
19835
|
end
|
19338
19836
|
end
|
19339
19837
|
|
19340
|
-
# The network endpoint.
|
19838
|
+
# The network endpoint.
|
19341
19839
|
class NetworkEndpoint
|
19342
19840
|
include Google::Apis::Core::Hashable
|
19343
19841
|
|
@@ -20036,7 +20534,7 @@ module Google
|
|
20036
20534
|
class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter
|
20037
20535
|
include Google::Apis::Core::Hashable
|
20038
20536
|
|
20039
|
-
# The network endpoint.
|
20537
|
+
# The network endpoint.
|
20040
20538
|
# Corresponds to the JSON property `networkEndpoint`
|
20041
20539
|
# @return [Google::Apis::ComputeAlpha::NetworkEndpoint]
|
20042
20540
|
attr_accessor :network_endpoint
|
@@ -20265,7 +20763,7 @@ module Google
|
|
20265
20763
|
# @return [Array<Google::Apis::ComputeAlpha::HealthStatusForNetworkEndpoint>]
|
20266
20764
|
attr_accessor :healths
|
20267
20765
|
|
20268
|
-
# The network endpoint.
|
20766
|
+
# The network endpoint.
|
20269
20767
|
# Corresponds to the JSON property `networkEndpoint`
|
20270
20768
|
# @return [Google::Apis::ComputeAlpha::NetworkEndpoint]
|
20271
20769
|
attr_accessor :network_endpoint
|
@@ -20862,7 +21360,7 @@ module Google
|
|
20862
21360
|
# @return [String]
|
20863
21361
|
attr_accessor :name
|
20864
21362
|
|
20865
|
-
#
|
21363
|
+
# URL of the node template to create the node group from.
|
20866
21364
|
# Corresponds to the JSON property `nodeTemplate`
|
20867
21365
|
# @return [String]
|
20868
21366
|
attr_accessor :node_template
|
@@ -21557,7 +22055,7 @@ module Google
|
|
21557
22055
|
# Represent a sole-tenant Node Template resource.
|
21558
22056
|
# You can use a template to define properties for nodes in a node group. For
|
21559
22057
|
# more information, read Creating node groups and instances. (== resource_for `$
|
21560
|
-
# api_version`.nodeTemplates ==)
|
22058
|
+
# api_version`.nodeTemplates ==)
|
21561
22059
|
class NodeTemplate
|
21562
22060
|
include Google::Apis::Core::Hashable
|
21563
22061
|
|
@@ -24225,6 +24723,8 @@ module Google
|
|
24225
24723
|
# defaultService must not be set. Conversely if defaultService is set,
|
24226
24724
|
# defaultRouteAction cannot contain any weightedBackendServices.
|
24227
24725
|
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
24726
|
+
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
24727
|
+
# within a pathMatcher's defaultRouteAction.
|
24228
24728
|
# Corresponds to the JSON property `defaultRouteAction`
|
24229
24729
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
24230
24730
|
attr_accessor :default_route_action
|
@@ -24328,6 +24828,8 @@ module Google
|
|
24328
24828
|
# weightedBackendServices, service must not be set. Conversely if service is set,
|
24329
24829
|
# routeAction cannot contain any weightedBackendServices.
|
24330
24830
|
# Only one of routeAction or urlRedirect must be set.
|
24831
|
+
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
24832
|
+
# within a pathRule's routeAction.
|
24331
24833
|
# Corresponds to the JSON property `routeAction`
|
24332
24834
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
24333
24835
|
attr_accessor :route_action
|
@@ -24411,6 +24913,12 @@ module Google
|
|
24411
24913
|
# @return [Google::Apis::ComputeAlpha::PreservedState]
|
24412
24914
|
attr_accessor :preserved_state
|
24413
24915
|
|
24916
|
+
# The status of applying this per-instance config on the corresponding managed
|
24917
|
+
# instance.
|
24918
|
+
# Corresponds to the JSON property `status`
|
24919
|
+
# @return [String]
|
24920
|
+
attr_accessor :status
|
24921
|
+
|
24414
24922
|
def initialize(**args)
|
24415
24923
|
update!(**args)
|
24416
24924
|
end
|
@@ -24420,6 +24928,7 @@ module Google
|
|
24420
24928
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
24421
24929
|
@name = args[:name] if args.key?(:name)
|
24422
24930
|
@preserved_state = args[:preserved_state] if args.key?(:preserved_state)
|
24931
|
+
@status = args[:status] if args.key?(:status)
|
24423
24932
|
end
|
24424
24933
|
end
|
24425
24934
|
|
@@ -30296,7 +30805,7 @@ module Google
|
|
30296
30805
|
end
|
30297
30806
|
end
|
30298
30807
|
|
30299
|
-
# Status of a NAT contained in this router.
|
30808
|
+
# Status of a NAT contained in this router.
|
30300
30809
|
class RouterStatusNatStatus
|
30301
30810
|
include Google::Apis::Core::Hashable
|
30302
30811
|
|
@@ -30747,7 +31256,7 @@ module Google
|
|
30747
31256
|
end
|
30748
31257
|
end
|
30749
31258
|
|
30750
|
-
# Sets the scheduling options for an Instance. NextID:
|
31259
|
+
# Sets the scheduling options for an Instance. NextID: 12
|
30751
31260
|
class Scheduling
|
30752
31261
|
include Google::Apis::Core::Hashable
|
30753
31262
|
|
@@ -30815,8 +31324,9 @@ module Google
|
|
30815
31324
|
attr_accessor :on_host_maintenance
|
30816
31325
|
|
30817
31326
|
# Defines whether the instance is preemptible. This can only be set during
|
30818
|
-
# instance creation
|
30819
|
-
#
|
31327
|
+
# instance creation or while the instance is stopped and therefore, in a `
|
31328
|
+
# TERMINATED` state. See Instance Life Cycle for more information on the
|
31329
|
+
# possible instance states.
|
30820
31330
|
# Corresponds to the JSON property `preemptible`
|
30821
31331
|
# @return [Boolean]
|
30822
31332
|
attr_accessor :preemptible
|
@@ -31621,14 +32131,7 @@ module Google
|
|
31621
32131
|
class SecuritySettings
|
31622
32132
|
include Google::Apis::Core::Hashable
|
31623
32133
|
|
31624
|
-
#
|
31625
|
-
# how clients should authenticate with this service's backends. If left blank,
|
31626
|
-
# communications between services are not encrypted (i.e., the TLS policy is set
|
31627
|
-
# to OPEN). When sending traffic to this service's backends, the OriginationTls
|
31628
|
-
# setting of Authentication.TransportAuthentication is applied. Refer to the
|
31629
|
-
# Authentication and Authentication.TransportAuthentication.OriginationTls
|
31630
|
-
# resources for additional details. authentication only applies to a global
|
31631
|
-
# BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
32134
|
+
# [Deprecated] Use clientTlsPolicy instead.
|
31632
32135
|
# Corresponds to the JSON property `authentication`
|
31633
32136
|
# @return [String]
|
31634
32137
|
attr_accessor :authentication
|
@@ -31645,18 +32148,33 @@ module Google
|
|
31645
32148
|
# @return [Google::Apis::ComputeAlpha::AuthorizationConfig]
|
31646
32149
|
attr_accessor :authorization_config
|
31647
32150
|
|
32151
|
+
# Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that
|
32152
|
+
# describes how clients should authenticate with this service's backends.
|
32153
|
+
# clientTlsPolicy only applies to a global BackendService with the
|
32154
|
+
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
32155
|
+
# If left blank, communications are not encrypted.
|
32156
|
+
# Corresponds to the JSON property `clientTlsPolicy`
|
32157
|
+
# @return [String]
|
32158
|
+
attr_accessor :client_tls_policy
|
32159
|
+
|
31648
32160
|
# [Deprecated] The client side authentication settings for connection
|
31649
32161
|
# originating from the backend service. the backend service.
|
31650
32162
|
# Corresponds to the JSON property `clientTlsSettings`
|
31651
32163
|
# @return [Google::Apis::ComputeAlpha::ClientTlsSettings]
|
31652
32164
|
attr_accessor :client_tls_settings
|
31653
32165
|
|
31654
|
-
# Optional. A list of
|
31655
|
-
#
|
31656
|
-
#
|
31657
|
-
# the
|
31658
|
-
#
|
31659
|
-
#
|
32166
|
+
# Optional. A list of Subject Alternative Names (SANs) that the client verifies
|
32167
|
+
# during a mutual TLS handshake with an server/endpoint for this BackendService.
|
32168
|
+
# When the server presents its X.509 certificate to the client, the client
|
32169
|
+
# inspects the certificate's subjectAltName field. If the field contains one of
|
32170
|
+
# the specified values, the communication continues. Otherwise, it fails. This
|
32171
|
+
# additional check enables the client to verify that the server is authorized to
|
32172
|
+
# run the requested service.
|
32173
|
+
# Note that the contents of the server certificate's subjectAltName field are
|
32174
|
+
# configured by the Public Key Infrastructure which provisions server identities.
|
32175
|
+
# Only applies to a global BackendService with loadBalancingScheme set to
|
32176
|
+
# INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached
|
32177
|
+
# clientTlsPolicy with clientCertificate (mTLS mode).
|
31660
32178
|
# Corresponds to the JSON property `subjectAltNames`
|
31661
32179
|
# @return [Array<String>]
|
31662
32180
|
attr_accessor :subject_alt_names
|
@@ -31670,6 +32188,7 @@ module Google
|
|
31670
32188
|
@authentication = args[:authentication] if args.key?(:authentication)
|
31671
32189
|
@authentication_policy = args[:authentication_policy] if args.key?(:authentication_policy)
|
31672
32190
|
@authorization_config = args[:authorization_config] if args.key?(:authorization_config)
|
32191
|
+
@client_tls_policy = args[:client_tls_policy] if args.key?(:client_tls_policy)
|
31673
32192
|
@client_tls_settings = args[:client_tls_settings] if args.key?(:client_tls_settings)
|
31674
32193
|
@subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
|
31675
32194
|
end
|
@@ -32732,7 +33251,7 @@ module Google
|
|
32732
33251
|
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
32733
33252
|
attr_accessor :network_interfaces
|
32734
33253
|
|
32735
|
-
# Sets the scheduling options for an Instance. NextID:
|
33254
|
+
# Sets the scheduling options for an Instance. NextID: 12
|
32736
33255
|
# Corresponds to the JSON property `scheduling`
|
32737
33256
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
32738
33257
|
attr_accessor :scheduling
|
@@ -32784,9 +33303,9 @@ module Google
|
|
32784
33303
|
# to five PEM-encoded certificates. The API call creates an object (
|
32785
33304
|
# sslCertificate) that holds this data. You can use SSL keys and certificates to
|
32786
33305
|
# secure connections to a load balancer. For more information, read Creating
|
32787
|
-
# and using SSL certificates
|
32788
|
-
#
|
32789
|
-
#
|
33306
|
+
# and using SSL certificates, SSL certificates quotas and limits, and
|
33307
|
+
# Troubleshooting SSL certificates. (== resource_for `$api_version`.
|
33308
|
+
# sslCertificates ==) (== resource_for `$api_version`.regionSslCertificates ==)
|
32790
33309
|
class SslCertificate
|
32791
33310
|
include Google::Apis::Core::Hashable
|
32792
33311
|
|
@@ -33798,7 +34317,8 @@ module Google
|
|
33798
34317
|
# The range of internal addresses that are owned by this subnetwork. Provide
|
33799
34318
|
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
|
33800
34319
|
# 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
|
33801
|
-
# IPv4 is supported. This field
|
34320
|
+
# IPv4 is supported. This field is set at resource creation time. The range can
|
34321
|
+
# be expanded after creation using expandIpCidrRange.
|
33802
34322
|
# Corresponds to the JSON property `ipCidrRange`
|
33803
34323
|
# @return [String]
|
33804
34324
|
attr_accessor :ip_cidr_range
|
@@ -35351,31 +35871,27 @@ module Google
|
|
35351
35871
|
class TargetHttpsProxy
|
35352
35872
|
include Google::Apis::Core::Hashable
|
35353
35873
|
|
35354
|
-
#
|
35355
|
-
# how the proxy should authenticate inbound traffic. If left blank,
|
35356
|
-
# communications between services are not encrypted (i.e., the TLS policy is set
|
35357
|
-
# to OPEN). When terminating inbound traffic to this proxy, the TerminationTls
|
35358
|
-
# setting of Authentication.TransportAuthentication is applied.
|
35359
|
-
# Refer to the Authentication and Authentication.TransportAuthentication.
|
35360
|
-
# TerminationTls resources for additional details.
|
35361
|
-
# authentication only applies to a global TargetHttpsProxy attached to
|
35362
|
-
# globalForwardingRules with the loadBalancingScheme set to
|
35363
|
-
# INTERNAL_SELF_MANAGED.
|
35874
|
+
# [Deprecated] Use serverTlsPolicy instead.
|
35364
35875
|
# Corresponds to the JSON property `authentication`
|
35365
35876
|
# @return [String]
|
35366
35877
|
attr_accessor :authentication
|
35367
35878
|
|
35368
|
-
#
|
35369
|
-
# the proxy should authorize inbound traffic. If left blank, access will not be
|
35370
|
-
# restricted by an authorization policy.
|
35371
|
-
# Refer to the Authorization resource for additional details.
|
35372
|
-
# authorization only applies to a global TargetHttpsProxy attached to
|
35373
|
-
# globalForwardingRules with the loadBalancingScheme set to
|
35374
|
-
# INTERNAL_SELF_MANAGED.
|
35879
|
+
# [Deprecated] Use authorizationPolicy instead.
|
35375
35880
|
# Corresponds to the JSON property `authorization`
|
35376
35881
|
# @return [String]
|
35377
35882
|
attr_accessor :authorization
|
35378
35883
|
|
35884
|
+
# Optional. A URL referring to a networksecurity.AuthorizationPolicy resource
|
35885
|
+
# that describes how the proxy should authorize inbound traffic. If left blank,
|
35886
|
+
# access will not be restricted by an authorization policy.
|
35887
|
+
# Refer to the AuthorizationPolicy resource for additional details.
|
35888
|
+
# authorizationPolicy only applies to a global TargetHttpsProxy attached to
|
35889
|
+
# globalForwardingRules with the loadBalancingScheme set to
|
35890
|
+
# INTERNAL_SELF_MANAGED.
|
35891
|
+
# Corresponds to the JSON property `authorizationPolicy`
|
35892
|
+
# @return [String]
|
35893
|
+
attr_accessor :authorization_policy
|
35894
|
+
|
35379
35895
|
# URL of a certificate map that identifies a certificate map associated with the
|
35380
35896
|
# given target proxy. This field can only be set for global target proxies. If
|
35381
35897
|
# set, sslCertificates will be ignored.
|
@@ -35453,6 +35969,16 @@ module Google
|
|
35453
35969
|
# @return [String]
|
35454
35970
|
attr_accessor :self_link_with_id
|
35455
35971
|
|
35972
|
+
# Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that
|
35973
|
+
# describes how the proxy should authenticate inbound traffic.
|
35974
|
+
# serverTlsPolicy only applies to a global TargetHttpsProxy attached to
|
35975
|
+
# globalForwardingRules with the loadBalancingScheme set to
|
35976
|
+
# INTERNAL_SELF_MANAGED.
|
35977
|
+
# If left blank, communications are not encrypted.
|
35978
|
+
# Corresponds to the JSON property `serverTlsPolicy`
|
35979
|
+
# @return [String]
|
35980
|
+
attr_accessor :server_tls_policy
|
35981
|
+
|
35456
35982
|
# URLs to SslCertificate resources that are used to authenticate connections
|
35457
35983
|
# between users and the load balancer. At least one SSL certificate must be
|
35458
35984
|
# specified. Currently, you may specify up to 15 SSL certificates.
|
@@ -35485,6 +36011,7 @@ module Google
|
|
35485
36011
|
def update!(**args)
|
35486
36012
|
@authentication = args[:authentication] if args.key?(:authentication)
|
35487
36013
|
@authorization = args[:authorization] if args.key?(:authorization)
|
36014
|
+
@authorization_policy = args[:authorization_policy] if args.key?(:authorization_policy)
|
35488
36015
|
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
35489
36016
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
35490
36017
|
@description = args[:description] if args.key?(:description)
|
@@ -35496,6 +36023,7 @@ module Google
|
|
35496
36023
|
@region = args[:region] if args.key?(:region)
|
35497
36024
|
@self_link = args[:self_link] if args.key?(:self_link)
|
35498
36025
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
36026
|
+
@server_tls_policy = args[:server_tls_policy] if args.key?(:server_tls_policy)
|
35499
36027
|
@ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
|
35500
36028
|
@ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy)
|
35501
36029
|
@url_map = args[:url_map] if args.key?(:url_map)
|
@@ -38052,6 +38580,8 @@ module Google
|
|
38052
38580
|
# must not be set. Conversely if defaultService is set, defaultRouteAction
|
38053
38581
|
# cannot contain any weightedBackendServices.
|
38054
38582
|
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
38583
|
+
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
38584
|
+
# within defaultRouteAction.
|
38055
38585
|
# Corresponds to the JSON property `defaultRouteAction`
|
38056
38586
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
38057
38587
|
attr_accessor :default_route_action
|