google-api-client 0.37.3 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +146 -0
- data/api_list_config.yaml +2 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +9 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +224 -5
- data/generated/google/apis/bigquery_v2/representations.rb +65 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
- data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -14
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
- data/generated/google/apis/cloudasset_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +178 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1320 -307
- data/generated/google/apis/compute_alpha/representations.rb +284 -18
- data/generated/google/apis/compute_alpha/service.rb +4914 -3211
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +819 -236
- data/generated/google/apis/compute_beta/representations.rb +245 -16
- data/generated/google/apis/compute_beta/service.rb +3369 -2227
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +837 -133
- data/generated/google/apis/compute_v1/representations.rb +307 -0
- data/generated/google/apis/compute_v1/service.rb +3155 -2026
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +42 -22
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +116 -136
- data/generated/google/apis/container_v1beta1/representations.rb +23 -51
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1030 -113
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +987 -138
- data/generated/google/apis/content_v2_1/representations.rb +87 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -0
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
- data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +76 -7
- data/generated/google/apis/dataproc_v1/representations.rb +21 -0
- data/generated/google/apis/dataproc_v1/service.rb +72 -15
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
- data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
- data/generated/google/apis/dialogflow_v2/service.rb +49 -49
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +80 -14
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +3 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +54 -2
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +81 -9
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +54 -2
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +37 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +2 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +7 -0
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +13 -0
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +258 -199
- data/generated/google/apis/gmail_v1/service.rb +552 -744
- data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
- data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3470 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
- data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +67 -63
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +190 -0
- data/generated/google/apis/iap_v1/representations.rb +66 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/logging_v2.rb +3 -3
- data/generated/google/apis/logging_v2/classes.rb +3 -4
- data/generated/google/apis/logging_v2/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +47 -7
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/monitoring_v1.rb +7 -8
- data/generated/google/apis/monitoring_v1/classes.rb +54 -15
- data/generated/google/apis/monitoring_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v1/service.rb +7 -8
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/monitoring_v3/classes.rb +300 -27
- data/generated/google/apis/monitoring_v3/representations.rb +128 -0
- data/generated/google/apis/monitoring_v3/service.rb +52 -17
- data/generated/google/apis/oauth2_v2.rb +4 -4
- data/generated/google/apis/oauth2_v2/classes.rb +1 -13
- data/generated/google/apis/oauth2_v2/representations.rb +2 -4
- data/generated/google/apis/oauth2_v2/service.rb +10 -12
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +30 -12
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +12 -24
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +9 -5
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -7
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -13
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/secretmanager_v1.rb +2 -2
- data/generated/google/apis/secretmanager_v1/service.rb +4 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
- data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
- data/generated/google/apis/securitycenter_v1/service.rb +11 -3
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
- data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
- data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
- data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
- data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +463 -1
- data/generated/google/apis/spanner_v1/representations.rb +178 -0
- data/generated/google/apis/spanner_v1/service.rb +498 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +7 -3
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
- data/generated/google/apis/sql_v1beta4/service.rb +54 -384
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/storage_v1/service.rb +28 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +4 -1
- data/generated/google/apis/youtube_v3/classes.rb +7 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +32 -23
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/representations.rb +0 -73
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeBeta
|
27
27
|
VERSION = 'Beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200311'
|
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'
|
@@ -1228,8 +1228,7 @@ module Google
|
|
1228
1228
|
# SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and
|
1229
1229
|
# the request will fail if you attempt to attach a persistent disk in any other
|
1230
1230
|
# format than SCSI. Local SSDs can use either NVME or SCSI. For performance
|
1231
|
-
# characteristics of SCSI over NVMe, see Local SSD performance.
|
1232
|
-
# : Update documentation when NVME is supported.
|
1231
|
+
# characteristics of SCSI over NVMe, see Local SSD performance.
|
1233
1232
|
# Corresponds to the JSON property `interface`
|
1234
1233
|
# @return [String]
|
1235
1234
|
attr_accessor :interface
|
@@ -1251,6 +1250,12 @@ module Google
|
|
1251
1250
|
# @return [String]
|
1252
1251
|
attr_accessor :mode
|
1253
1252
|
|
1253
|
+
# Initial State for shielded instance, these are public keys which are safe to
|
1254
|
+
# store in public
|
1255
|
+
# Corresponds to the JSON property `shieldedInstanceInitialState`
|
1256
|
+
# @return [Google::Apis::ComputeBeta::InitialStateConfig]
|
1257
|
+
attr_accessor :shielded_instance_initial_state
|
1258
|
+
|
1254
1259
|
# Specifies a valid partial or full URL to an existing Persistent Disk resource.
|
1255
1260
|
# When creating a new instance, one of initializeParams.sourceImage or
|
1256
1261
|
# initializeParams.sourceSnapshot or disks.source is required except for local
|
@@ -1287,6 +1292,7 @@ module Google
|
|
1287
1292
|
@kind = args[:kind] if args.key?(:kind)
|
1288
1293
|
@licenses = args[:licenses] if args.key?(:licenses)
|
1289
1294
|
@mode = args[:mode] if args.key?(:mode)
|
1295
|
+
@shielded_instance_initial_state = args[:shielded_instance_initial_state] if args.key?(:shielded_instance_initial_state)
|
1290
1296
|
@source = args[:source] if args.key?(:source)
|
1291
1297
|
@type = args[:type] if args.key?(:type)
|
1292
1298
|
end
|
@@ -1306,8 +1312,9 @@ module Google
|
|
1306
1312
|
attr_accessor :description
|
1307
1313
|
|
1308
1314
|
# Specifies the disk name. If not specified, the default is to use the name of
|
1309
|
-
# the instance. If
|
1310
|
-
#
|
1315
|
+
# the instance. If a disk with the same name already exists in the given region,
|
1316
|
+
# the existing disk is attached to the new instance and the new disk is not
|
1317
|
+
# created.
|
1311
1318
|
# Corresponds to the JSON property `diskName`
|
1312
1319
|
# @return [String]
|
1313
1320
|
attr_accessor :disk_name
|
@@ -1351,6 +1358,12 @@ module Google
|
|
1351
1358
|
# @return [Hash<String,String>]
|
1352
1359
|
attr_accessor :labels
|
1353
1360
|
|
1361
|
+
# Specifies which action to take on instance update with this disk. Default is
|
1362
|
+
# to use the existing disk.
|
1363
|
+
# Corresponds to the JSON property `onUpdateAction`
|
1364
|
+
# @return [String]
|
1365
|
+
attr_accessor :on_update_action
|
1366
|
+
|
1354
1367
|
# Resource policies applied to this disk for automatic snapshot creations.
|
1355
1368
|
# Specified using the full or partial URL. For instance template, specify only
|
1356
1369
|
# the resource policy name.
|
@@ -1412,6 +1425,7 @@ module Google
|
|
1412
1425
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
1413
1426
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
1414
1427
|
@labels = args[:labels] if args.key?(:labels)
|
1428
|
+
@on_update_action = args[:on_update_action] if args.key?(:on_update_action)
|
1415
1429
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
1416
1430
|
@source_image = args[:source_image] if args.key?(:source_image)
|
1417
1431
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
@@ -1527,8 +1541,8 @@ module Google
|
|
1527
1541
|
|
1528
1542
|
# Represents an Autoscaler resource.
|
1529
1543
|
# Google Compute Engine has two Autoscaler resources:
|
1530
|
-
# * [Global](/compute/docs/reference/rest
|
1531
|
-
# compute/docs/reference/rest
|
1544
|
+
# * [Global](/compute/docs/reference/rest/`$api_version`/autoscalers) * [
|
1545
|
+
# Regional](/compute/docs/reference/rest/`$api_version`/regionAutoscalers)
|
1532
1546
|
# Use autoscalers to automatically add or delete instances from a managed
|
1533
1547
|
# instance group according to your defined autoscaling policy. For more
|
1534
1548
|
# information, read Autoscaling Groups of Instances.
|
@@ -2257,39 +2271,11 @@ module Google
|
|
2257
2271
|
# @return [Google::Apis::ComputeBeta::FixedOrPercent]
|
2258
2272
|
attr_accessor :max_scaled_down_replicas
|
2259
2273
|
|
2260
|
-
#
|
2261
|
-
#
|
2262
|
-
#
|
2263
|
-
#
|
2264
|
-
|
2265
|
-
# 10,000 years.
|
2266
|
-
# # Examples
|
2267
|
-
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
2268
|
-
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
2269
|
-
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
2270
|
-
# start.nanos;
|
2271
|
-
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
2272
|
-
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
2273
|
-
# 1; duration.nanos += 1000000000; `
|
2274
|
-
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
2275
|
-
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
2276
|
-
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
2277
|
-
# duration.nanos;
|
2278
|
-
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
2279
|
-
# Example 3: Compute Duration from datetime.timedelta in Python.
|
2280
|
-
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
2281
|
-
# FromTimedelta(td)
|
2282
|
-
# # JSON Mapping
|
2283
|
-
# In JSON format, the Duration type is encoded as a string rather than an object,
|
2284
|
-
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
2285
|
-
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
2286
|
-
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
2287
|
-
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
2288
|
-
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
2289
|
-
# format as "3.000001s".
|
2290
|
-
# Corresponds to the JSON property `timeWindow`
|
2291
|
-
# @return [Google::Apis::ComputeBeta::GoogleDuration]
|
2292
|
-
attr_accessor :time_window
|
2274
|
+
# How long back autoscaling should look when computing recommendations to
|
2275
|
+
# include directives regarding slower scale down, as described above.
|
2276
|
+
# Corresponds to the JSON property `timeWindowSec`
|
2277
|
+
# @return [Fixnum]
|
2278
|
+
attr_accessor :time_window_sec
|
2293
2279
|
|
2294
2280
|
def initialize(**args)
|
2295
2281
|
update!(**args)
|
@@ -2298,7 +2284,7 @@ module Google
|
|
2298
2284
|
# Update properties of this object
|
2299
2285
|
def update!(**args)
|
2300
2286
|
@max_scaled_down_replicas = args[:max_scaled_down_replicas] if args.key?(:max_scaled_down_replicas)
|
2301
|
-
@
|
2287
|
+
@time_window_sec = args[:time_window_sec] if args.key?(:time_window_sec)
|
2302
2288
|
end
|
2303
2289
|
end
|
2304
2290
|
|
@@ -2317,8 +2303,8 @@ module Google
|
|
2317
2303
|
# service is SSL, TCP, or UDP.
|
2318
2304
|
# If the loadBalancingScheme for the backend service is EXTERNAL (SSL Proxy and
|
2319
2305
|
# TCP Proxy load balancers), you must also specify exactly one of the following
|
2320
|
-
# parameters: maxConnections
|
2321
|
-
# maxConnectionsPerEndpoint.
|
2306
|
+
# parameters: maxConnections (except for regional managed instance groups),
|
2307
|
+
# maxConnectionsPerInstance, or maxConnectionsPerEndpoint.
|
2322
2308
|
# If the loadBalancingScheme for the backend service is INTERNAL (internal TCP/
|
2323
2309
|
# UDP load balancers), you cannot specify any additional parameters.
|
2324
2310
|
#
|
@@ -2326,10 +2312,11 @@ module Google
|
|
2326
2312
|
# HTTP requests per second (RPS).
|
2327
2313
|
# You can use the RATE balancing mode if the protocol for the backend service is
|
2328
2314
|
# HTTP or HTTPS. You must specify exactly one of the following parameters:
|
2329
|
-
# maxRate, maxRatePerInstance, or
|
2315
|
+
# maxRate (except for regional managed instance groups), maxRatePerInstance, or
|
2316
|
+
# maxRatePerEndpoint.
|
2330
2317
|
#
|
2331
2318
|
# - If the load balancing mode is UTILIZATION, the load is spread based on the
|
2332
|
-
#
|
2319
|
+
# backend utilization of instances in an instance group.
|
2333
2320
|
# You can use the UTILIZATION balancing mode if the loadBalancingScheme of the
|
2334
2321
|
# backend service is EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED and
|
2335
2322
|
# the backends are instance groups. There are no restrictions on the backend
|
@@ -2379,12 +2366,13 @@ module Google
|
|
2379
2366
|
# @return [String]
|
2380
2367
|
attr_accessor :group
|
2381
2368
|
|
2382
|
-
# Defines a maximum
|
2383
|
-
#
|
2384
|
-
#
|
2385
|
-
#
|
2386
|
-
#
|
2387
|
-
#
|
2369
|
+
# Defines a target maximum number of simultaneous connections that the backend
|
2370
|
+
# can handle. Valid for network endpoint group and instance group backends (
|
2371
|
+
# except for regional managed instance groups). If the backend's balancingMode
|
2372
|
+
# is UTILIZATION, this is an optional parameter. If the backend's balancingMode
|
2373
|
+
# is CONNECTION, and backend is attached to a backend service whose
|
2374
|
+
# loadBalancingScheme is EXTERNAL, you must specify either this parameter,
|
2375
|
+
# maxConnectionsPerInstance, or maxConnectionsPerEndpoint.
|
2388
2376
|
# Not available if the backend's balancingMode is RATE. If the
|
2389
2377
|
# loadBalancingScheme is INTERNAL, then maxConnections is not supported, even
|
2390
2378
|
# though the backend requires a balancing mode of CONNECTION.
|
@@ -2392,8 +2380,8 @@ module Google
|
|
2392
2380
|
# @return [Fixnum]
|
2393
2381
|
attr_accessor :max_connections
|
2394
2382
|
|
2395
|
-
# Defines a maximum
|
2396
|
-
# This is multiplied by the number of endpoints in the NEG to implicitly
|
2383
|
+
# Defines a target maximum number of simultaneous connections for an endpoint of
|
2384
|
+
# a NEG. This is multiplied by the number of endpoints in the NEG to implicitly
|
2397
2385
|
# calculate a maximum number of target maximum simultaneous connections for the
|
2398
2386
|
# NEG. If the backend's balancingMode is CONNECTION, and the backend is attached
|
2399
2387
|
# to a backend service whose loadBalancingScheme is EXTERNAL, you must specify
|
@@ -2405,8 +2393,8 @@ module Google
|
|
2405
2393
|
# @return [Fixnum]
|
2406
2394
|
attr_accessor :max_connections_per_endpoint
|
2407
2395
|
|
2408
|
-
# Defines a maximum
|
2409
|
-
# backend instance group. This is multiplied by the number of instances in the
|
2396
|
+
# Defines a target maximum number of simultaneous connections for a single VM in
|
2397
|
+
# a backend instance group. This is multiplied by the number of instances in the
|
2410
2398
|
# instance group to implicitly calculate a target maximum number of simultaneous
|
2411
2399
|
# connections for the whole instance group. If the backend's balancingMode is
|
2412
2400
|
# UTILIZATION, this is an optional parameter. If the backend's balancingMode is
|
@@ -2420,10 +2408,15 @@ module Google
|
|
2420
2408
|
# @return [Fixnum]
|
2421
2409
|
attr_accessor :max_connections_per_instance
|
2422
2410
|
|
2423
|
-
#
|
2424
|
-
#
|
2425
|
-
#
|
2426
|
-
#
|
2411
|
+
# Defines a maximum number of HTTP requests per second (RPS) that the backend
|
2412
|
+
# can handle. Valid for network endpoint group and instance group backends (
|
2413
|
+
# except for regional managed instance groups). Must not be defined if the
|
2414
|
+
# backend is a managed instance group that uses autoscaling based on load
|
2415
|
+
# balancing.
|
2416
|
+
# If the backend's balancingMode is UTILIZATION, this is an optional parameter.
|
2417
|
+
# If the backend's balancingMode is RATE, you must specify maxRate,
|
2418
|
+
# maxRatePerInstance, or maxRatePerEndpoint.
|
2419
|
+
# Not available if the backend's balancingMode is CONNECTION.
|
2427
2420
|
# Corresponds to the JSON property `maxRate`
|
2428
2421
|
# @return [Fixnum]
|
2429
2422
|
attr_accessor :max_rate
|
@@ -2432,7 +2425,7 @@ module Google
|
|
2432
2425
|
# NEG. This is multiplied by the number of endpoints in the NEG to implicitly
|
2433
2426
|
# calculate a target maximum rate for the NEG.
|
2434
2427
|
# If the backend's balancingMode is RATE, you must specify either this parameter,
|
2435
|
-
# maxRate, or maxRatePerInstance.
|
2428
|
+
# maxRate (except for regional managed instance groups), or maxRatePerInstance.
|
2436
2429
|
# Not available if the backend's balancingMode is CONNECTION.
|
2437
2430
|
# Corresponds to the JSON property `maxRatePerEndpoint`
|
2438
2431
|
# @return [Float]
|
@@ -2444,17 +2437,18 @@ module Google
|
|
2444
2437
|
# instance group.
|
2445
2438
|
# If the backend's balancingMode is UTILIZATION, this is an optional parameter.
|
2446
2439
|
# If the backend's balancingMode is RATE, you must specify either this parameter,
|
2447
|
-
# maxRate, or maxRatePerEndpoint.
|
2440
|
+
# maxRate (except for regional managed instance groups), or maxRatePerEndpoint.
|
2448
2441
|
# Not available if the backend's balancingMode is CONNECTION.
|
2449
2442
|
# Corresponds to the JSON property `maxRatePerInstance`
|
2450
2443
|
# @return [Float]
|
2451
2444
|
attr_accessor :max_rate_per_instance
|
2452
2445
|
|
2453
|
-
# Defines the maximum average
|
2446
|
+
# Defines the maximum average backend utilization of a backend VM in an instance
|
2454
2447
|
# group. The valid range is [0.0, 1.0]. This is an optional parameter if the
|
2455
2448
|
# backend's balancingMode is UTILIZATION.
|
2456
2449
|
# This parameter can be used in conjunction with maxRate, maxRatePerInstance,
|
2457
|
-
# maxConnections, or
|
2450
|
+
# maxConnections (except for regional managed instance groups), or
|
2451
|
+
# maxConnectionsPerInstance.
|
2458
2452
|
# Corresponds to the JSON property `maxUtilization`
|
2459
2453
|
# @return [Float]
|
2460
2454
|
attr_accessor :max_utilization
|
@@ -2709,8 +2703,8 @@ module Google
|
|
2709
2703
|
# balancing services.
|
2710
2704
|
# Backend services in Google Compute Engine can be either regionally or globally
|
2711
2705
|
# scoped.
|
2712
|
-
# * [Global](/compute/docs/reference/rest
|
2713
|
-
# compute/docs/reference/rest
|
2706
|
+
# * [Global](/compute/docs/reference/rest/`$api_version`/backendServices) * [
|
2707
|
+
# Regional](/compute/docs/reference/rest/`$api_version`/regionBackendServices)
|
2714
2708
|
# For more information, read Backend Services.
|
2715
2709
|
# (== resource_for `$api_version`.backendService ==)
|
2716
2710
|
class BackendService
|
@@ -2770,8 +2764,13 @@ module Google
|
|
2770
2764
|
attr_accessor :enable_cdn
|
2771
2765
|
alias_method :enable_cdn?, :enable_cdn
|
2772
2766
|
|
2773
|
-
# Applicable only to Failover for Internal TCP/UDP Load Balancing.
|
2774
|
-
#
|
2767
|
+
# Applicable only to Failover for Internal TCP/UDP Load Balancing. On failover
|
2768
|
+
# or failback, this field indicates whether connection draining will be honored.
|
2769
|
+
# GCP has a fixed connection draining timeout of 10 minutes. A setting of true
|
2770
|
+
# terminates existing TCP connections to the active pool during failover and
|
2771
|
+
# failback, immediately draining traffic. A setting of false allows existing TCP
|
2772
|
+
# connections to persist, even on VMs no longer in the active pool, for up to
|
2773
|
+
# the duration of the connection draining timeout (10 minutes).
|
2775
2774
|
# Corresponds to the JSON property `failoverPolicy`
|
2776
2775
|
# @return [Google::Apis::ComputeBeta::BackendServiceFailoverPolicy]
|
2777
2776
|
attr_accessor :failover_policy
|
@@ -2788,15 +2787,13 @@ module Google
|
|
2788
2787
|
# @return [String]
|
2789
2788
|
attr_accessor :fingerprint
|
2790
2789
|
|
2791
|
-
# The list of URLs to the
|
2792
|
-
#
|
2793
|
-
#
|
2794
|
-
#
|
2795
|
-
#
|
2796
|
-
#
|
2797
|
-
#
|
2798
|
-
# For internal load balancing, a URL to a HealthCheck resource must be specified
|
2799
|
-
# instead.
|
2790
|
+
# The list of URLs to the healthChecks, httpHealthChecks (legacy), or
|
2791
|
+
# httpsHealthChecks (legacy) resource for health checking this backend service.
|
2792
|
+
# Not all backend services support legacy health checks. See Load balancer
|
2793
|
+
# guide. Currently at most one health check can be specified. Backend services
|
2794
|
+
# with instance group or zonal NEG backends must have a health check. Backend
|
2795
|
+
# services with internet NEG backends must not have a health check. A health
|
2796
|
+
# check must
|
2800
2797
|
# Corresponds to the JSON property `healthChecks`
|
2801
2798
|
# @return [Array<String>]
|
2802
2799
|
attr_accessor :health_checks
|
@@ -2895,9 +2892,9 @@ module Google
|
|
2895
2892
|
|
2896
2893
|
# A named port on a backend instance group representing the port for
|
2897
2894
|
# communication to the backend VMs in that group. Required when the
|
2898
|
-
# loadBalancingScheme is EXTERNAL
|
2899
|
-
# named port must be defined on each
|
2900
|
-
# no meaning if the backends are NEGs.
|
2895
|
+
# loadBalancingScheme is EXTERNAL, INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED
|
2896
|
+
# and the backends are instance groups. The named port must be defined on each
|
2897
|
+
# backend instance group. This parameter has no meaning if the backends are NEGs.
|
2901
2898
|
# Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP
|
2902
2899
|
# Load Blaancing).
|
2903
2900
|
# Corresponds to the JSON property `portName`
|
@@ -2905,7 +2902,7 @@ module Google
|
|
2905
2902
|
attr_accessor :port_name
|
2906
2903
|
|
2907
2904
|
# The protocol this BackendService uses to communicate with backends.
|
2908
|
-
# Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, or UDP
|
2905
|
+
# Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, or UDP. depending on the
|
2909
2906
|
# chosen load balancer or Traffic Director configuration. Refer to the
|
2910
2907
|
# documentation for the load balancer or for Traffic Director for more
|
2911
2908
|
# information.
|
@@ -2927,6 +2924,11 @@ module Google
|
|
2927
2924
|
# @return [String]
|
2928
2925
|
attr_accessor :security_policy
|
2929
2926
|
|
2927
|
+
# The authentication and authorization settings for a BackendService.
|
2928
|
+
# Corresponds to the JSON property `securitySettings`
|
2929
|
+
# @return [Google::Apis::ComputeBeta::SecuritySettings]
|
2930
|
+
attr_accessor :security_settings
|
2931
|
+
|
2930
2932
|
# [Output Only] Server-defined URL for the resource.
|
2931
2933
|
# Corresponds to the JSON property `selfLink`
|
2932
2934
|
# @return [String]
|
@@ -2986,6 +2988,7 @@ module Google
|
|
2986
2988
|
@protocol = args[:protocol] if args.key?(:protocol)
|
2987
2989
|
@region = args[:region] if args.key?(:region)
|
2988
2990
|
@security_policy = args[:security_policy] if args.key?(:security_policy)
|
2991
|
+
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
2989
2992
|
@self_link = args[:self_link] if args.key?(:self_link)
|
2990
2993
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
2991
2994
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
@@ -3147,7 +3150,13 @@ module Google
|
|
3147
3150
|
end
|
3148
3151
|
end
|
3149
3152
|
|
3150
|
-
#
|
3153
|
+
# Applicable only to Failover for Internal TCP/UDP Load Balancing. On failover
|
3154
|
+
# or failback, this field indicates whether connection draining will be honored.
|
3155
|
+
# GCP has a fixed connection draining timeout of 10 minutes. A setting of true
|
3156
|
+
# terminates existing TCP connections to the active pool during failover and
|
3157
|
+
# failback, immediately draining traffic. A setting of false allows existing TCP
|
3158
|
+
# connections to persist, even on VMs no longer in the active pool, for up to
|
3159
|
+
# the duration of the connection draining timeout (10 minutes).
|
3151
3160
|
class BackendServiceFailoverPolicy
|
3152
3161
|
include Google::Apis::Core::Hashable
|
3153
3162
|
|
@@ -4786,8 +4795,8 @@ module Google
|
|
4786
4795
|
|
4787
4796
|
# Represents a Persistent Disk resource.
|
4788
4797
|
# Google Compute Engine has two Disk resources:
|
4789
|
-
# * [
|
4790
|
-
# docs/reference/rest
|
4798
|
+
# * [Zonal](/compute/docs/reference/rest/`$api_version`/disks) * [Regional](/
|
4799
|
+
# compute/docs/reference/rest/`$api_version`/regionDisks)
|
4791
4800
|
# Persistent disks are required for running your VM instances. Create both boot
|
4792
4801
|
# and non-boot (data) persistent disks. For more information, read Persistent
|
4793
4802
|
# Disks. For more storage options, read Storage options.
|
@@ -5388,8 +5397,8 @@ module Google
|
|
5388
5397
|
|
5389
5398
|
# Represents a Disk Type resource.
|
5390
5399
|
# Google Compute Engine has two Disk Type resources:
|
5391
|
-
# * [
|
5392
|
-
# compute/docs/reference/rest
|
5400
|
+
# * [Regional](/compute/docs/reference/rest/`$api_version`/regionDiskTypes) * [
|
5401
|
+
# Zonal](/compute/docs/reference/rest/`$api_version`/diskTypes)
|
5393
5402
|
# You can choose from a variety of disk types based on your needs. For more
|
5394
5403
|
# information, read Storage options.
|
5395
5404
|
# The diskTypes resource represents disk types for a zonal persistent disk. For
|
@@ -6522,6 +6531,32 @@ module Google
|
|
6522
6531
|
end
|
6523
6532
|
end
|
6524
6533
|
|
6534
|
+
#
|
6535
|
+
class FileContentBuffer
|
6536
|
+
include Google::Apis::Core::Hashable
|
6537
|
+
|
6538
|
+
# The raw content in the secure keys file.
|
6539
|
+
# Corresponds to the JSON property `content`
|
6540
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
6541
|
+
# @return [String]
|
6542
|
+
attr_accessor :content
|
6543
|
+
|
6544
|
+
#
|
6545
|
+
# Corresponds to the JSON property `fileType`
|
6546
|
+
# @return [String]
|
6547
|
+
attr_accessor :file_type
|
6548
|
+
|
6549
|
+
def initialize(**args)
|
6550
|
+
update!(**args)
|
6551
|
+
end
|
6552
|
+
|
6553
|
+
# Update properties of this object
|
6554
|
+
def update!(**args)
|
6555
|
+
@content = args[:content] if args.key?(:content)
|
6556
|
+
@file_type = args[:file_type] if args.key?(:file_type)
|
6557
|
+
end
|
6558
|
+
end
|
6559
|
+
|
6525
6560
|
# Represents a Firewall Rule resource.
|
6526
6561
|
# Firewall rules allow or deny ingress traffic to, and egress traffic from your
|
6527
6562
|
# instances. For more information, read Firewall rules.
|
@@ -6976,8 +7011,8 @@ module Google
|
|
6976
7011
|
|
6977
7012
|
# Represents a Forwarding Rule resource.
|
6978
7013
|
# Forwarding rule resources in GCP can be either regional or global in scope:
|
6979
|
-
# * [Global](/compute/docs/reference/rest
|
6980
|
-
# Regional](/compute/docs/reference/rest
|
7014
|
+
# * [Global](/compute/docs/reference/rest/`$api_version`/globalForwardingRules) *
|
7015
|
+
# [Regional](/compute/docs/reference/rest/`$api_version`/forwardingRules)
|
6981
7016
|
# A forwarding rule and its corresponding IP address represent the frontend
|
6982
7017
|
# configuration of a Google Cloud Platform load balancer. Forwarding rules can
|
6983
7018
|
# also reference target instances and Cloud VPN Classic gateways (
|
@@ -7133,7 +7168,7 @@ module Google
|
|
7133
7168
|
# - Internal TCP/UDP load balancers
|
7134
7169
|
# - INTERNAL_MANAGED is used for:
|
7135
7170
|
# - Internal HTTP(S) load balancers
|
7136
|
-
# -
|
7171
|
+
# - INTERNAL_SELF_MANAGED is used for:
|
7137
7172
|
# - Traffic Director
|
7138
7173
|
# For more information about forwarding rules, refer to Forwarding rule concepts.
|
7139
7174
|
# Corresponds to the JSON property `loadBalancingScheme`
|
@@ -7178,7 +7213,7 @@ module Google
|
|
7178
7213
|
attr_accessor :network
|
7179
7214
|
|
7180
7215
|
# This signifies the networking tier used for configuring this load balancer and
|
7181
|
-
# can only take the following values: PREMIUM
|
7216
|
+
# can only take the following values: PREMIUM, STANDARD.
|
7182
7217
|
# For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For
|
7183
7218
|
# GlobalForwardingRule, the valid value is PREMIUM.
|
7184
7219
|
# If this field is not specified, it is assumed to be PREMIUM. If IPAddress is
|
@@ -7791,66 +7826,6 @@ module Google
|
|
7791
7826
|
end
|
7792
7827
|
end
|
7793
7828
|
|
7794
|
-
# A Duration represents a signed, fixed-length span of time represented as a
|
7795
|
-
# count of seconds and fractions of seconds at nanosecond resolution. It is
|
7796
|
-
# independent of any calendar and concepts like "day" or "month". It is related
|
7797
|
-
# to Timestamp in that the difference between two Timestamp values is a Duration
|
7798
|
-
# and it can be added or subtracted from a Timestamp. Range is approximately +-
|
7799
|
-
# 10,000 years.
|
7800
|
-
# # Examples
|
7801
|
-
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
7802
|
-
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
7803
|
-
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
7804
|
-
# start.nanos;
|
7805
|
-
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
7806
|
-
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
7807
|
-
# 1; duration.nanos += 1000000000; `
|
7808
|
-
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
7809
|
-
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
7810
|
-
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
7811
|
-
# duration.nanos;
|
7812
|
-
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
7813
|
-
# Example 3: Compute Duration from datetime.timedelta in Python.
|
7814
|
-
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
7815
|
-
# FromTimedelta(td)
|
7816
|
-
# # JSON Mapping
|
7817
|
-
# In JSON format, the Duration type is encoded as a string rather than an object,
|
7818
|
-
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
7819
|
-
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
7820
|
-
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
7821
|
-
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
7822
|
-
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
7823
|
-
# format as "3.000001s".
|
7824
|
-
class GoogleDuration
|
7825
|
-
include Google::Apis::Core::Hashable
|
7826
|
-
|
7827
|
-
# Signed fractions of a second at nanosecond resolution of the span of time.
|
7828
|
-
# Durations less than one second are represented with a 0 `seconds` field and a
|
7829
|
-
# positive or negative `nanos` field. For durations of one second or more, a non-
|
7830
|
-
# zero value for the `nanos` field must be of the same sign as the `seconds`
|
7831
|
-
# field. Must be from -999,999,999 to +999,999,999 inclusive.
|
7832
|
-
# Corresponds to the JSON property `nanos`
|
7833
|
-
# @return [Fixnum]
|
7834
|
-
attr_accessor :nanos
|
7835
|
-
|
7836
|
-
# Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,
|
7837
|
-
# 000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/
|
7838
|
-
# hr * 24 hr/day * 365.25 days/year * 10000 years
|
7839
|
-
# Corresponds to the JSON property `seconds`
|
7840
|
-
# @return [Fixnum]
|
7841
|
-
attr_accessor :seconds
|
7842
|
-
|
7843
|
-
def initialize(**args)
|
7844
|
-
update!(**args)
|
7845
|
-
end
|
7846
|
-
|
7847
|
-
# Update properties of this object
|
7848
|
-
def update!(**args)
|
7849
|
-
@nanos = args[:nanos] if args.key?(:nanos)
|
7850
|
-
@seconds = args[:seconds] if args.key?(:seconds)
|
7851
|
-
end
|
7852
|
-
end
|
7853
|
-
|
7854
7829
|
# A guest attributes entry.
|
7855
7830
|
class GuestAttributes
|
7856
7831
|
include Google::Apis::Core::Hashable
|
@@ -8184,8 +8159,8 @@ module Google
|
|
8184
8159
|
|
8185
8160
|
# Represents a Health Check resource.
|
8186
8161
|
# Google Compute Engine has two Health Check resources:
|
8187
|
-
# * [Global](/compute/docs/reference/rest
|
8188
|
-
# compute/docs/reference/rest
|
8162
|
+
# * [Global](/compute/docs/reference/rest/`$api_version`/healthChecks) * [
|
8163
|
+
# Regional](/compute/docs/reference/rest/`$api_version`/regionHealthChecks)
|
8189
8164
|
# Internal HTTP(S) load balancers use regional health checks. All other types of
|
8190
8165
|
# GCP load balancers and managed instance group auto-healing use global health
|
8191
8166
|
# checks. For more information, read Health Check Concepts.
|
@@ -8623,6 +8598,31 @@ module Google
|
|
8623
8598
|
end
|
8624
8599
|
end
|
8625
8600
|
|
8601
|
+
# A full or valid partial URL to a health check service. For example, the
|
8602
|
+
# following are valid URLs:
|
8603
|
+
# - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/
|
8604
|
+
# healthCheckServices/health-check-service
|
8605
|
+
# - projects/project-id/regions/us-west1/healthCheckServices/health-check-
|
8606
|
+
# service
|
8607
|
+
# - regions/us-west1/healthCheckServices/health-check-service
|
8608
|
+
class HealthCheckServiceReference
|
8609
|
+
include Google::Apis::Core::Hashable
|
8610
|
+
|
8611
|
+
#
|
8612
|
+
# Corresponds to the JSON property `healthCheckService`
|
8613
|
+
# @return [String]
|
8614
|
+
attr_accessor :health_check_service
|
8615
|
+
|
8616
|
+
def initialize(**args)
|
8617
|
+
update!(**args)
|
8618
|
+
end
|
8619
|
+
|
8620
|
+
# Update properties of this object
|
8621
|
+
def update!(**args)
|
8622
|
+
@health_check_service = args[:health_check_service] if args.key?(:health_check_service)
|
8623
|
+
end
|
8624
|
+
end
|
8625
|
+
|
8626
8626
|
#
|
8627
8627
|
class HealthCheckServicesList
|
8628
8628
|
include Google::Apis::Core::Hashable
|
@@ -9019,6 +9019,17 @@ module Google
|
|
9019
9019
|
# @return [Google::Apis::ComputeBeta::HealthCheckReference]
|
9020
9020
|
attr_accessor :health_check
|
9021
9021
|
|
9022
|
+
# A full or valid partial URL to a health check service. For example, the
|
9023
|
+
# following are valid URLs:
|
9024
|
+
# - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/
|
9025
|
+
# healthCheckServices/health-check-service
|
9026
|
+
# - projects/project-id/regions/us-west1/healthCheckServices/health-check-
|
9027
|
+
# service
|
9028
|
+
# - regions/us-west1/healthCheckServices/health-check-service
|
9029
|
+
# Corresponds to the JSON property `healthCheckService`
|
9030
|
+
# @return [Google::Apis::ComputeBeta::HealthCheckServiceReference]
|
9031
|
+
attr_accessor :health_check_service
|
9032
|
+
|
9022
9033
|
# Health state of the network endpoint determined based on the health checks
|
9023
9034
|
# configured.
|
9024
9035
|
# Corresponds to the JSON property `healthState`
|
@@ -9034,6 +9045,7 @@ module Google
|
|
9034
9045
|
@backend_service = args[:backend_service] if args.key?(:backend_service)
|
9035
9046
|
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
9036
9047
|
@health_check = args[:health_check] if args.key?(:health_check)
|
9048
|
+
@health_check_service = args[:health_check_service] if args.key?(:health_check_service)
|
9037
9049
|
@health_state = args[:health_state] if args.key?(:health_state)
|
9038
9050
|
end
|
9039
9051
|
end
|
@@ -9049,9 +9061,10 @@ module Google
|
|
9049
9061
|
# @return [String]
|
9050
9062
|
attr_accessor :description
|
9051
9063
|
|
9052
|
-
# The list of host patterns to match. They must be valid hostnames
|
9053
|
-
#
|
9054
|
-
#
|
9064
|
+
# The list of host patterns to match. They must be valid hostnames with optional
|
9065
|
+
# port numbers in the format host:port. * matches any string of ([a-z0-9-.]*).
|
9066
|
+
# In that case, * must be the first character and must be followed in the
|
9067
|
+
# pattern by either - or ..
|
9055
9068
|
# Corresponds to the JSON property `hosts`
|
9056
9069
|
# @return [Array<String>]
|
9057
9070
|
attr_accessor :hosts
|
@@ -10318,6 +10331,12 @@ module Google
|
|
10318
10331
|
# @return [String]
|
10319
10332
|
attr_accessor :self_link
|
10320
10333
|
|
10334
|
+
# Initial State for shielded instance, these are public keys which are safe to
|
10335
|
+
# store in public
|
10336
|
+
# Corresponds to the JSON property `shieldedInstanceInitialState`
|
10337
|
+
# @return [Google::Apis::ComputeBeta::InitialStateConfig]
|
10338
|
+
attr_accessor :shielded_instance_initial_state
|
10339
|
+
|
10321
10340
|
# URL of the source disk used to create this image. This can be a full or valid
|
10322
10341
|
# partial URL. You must provide either this property or the rawDisk.source
|
10323
10342
|
# property but not both to create an image. For example, the following are valid
|
@@ -10427,6 +10446,7 @@ module Google
|
|
10427
10446
|
@name = args[:name] if args.key?(:name)
|
10428
10447
|
@raw_disk = args[:raw_disk] if args.key?(:raw_disk)
|
10429
10448
|
@self_link = args[:self_link] if args.key?(:self_link)
|
10449
|
+
@shielded_instance_initial_state = args[:shielded_instance_initial_state] if args.key?(:shielded_instance_initial_state)
|
10430
10450
|
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
10431
10451
|
@source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
|
10432
10452
|
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
|
@@ -10594,6 +10614,44 @@ module Google
|
|
10594
10614
|
end
|
10595
10615
|
end
|
10596
10616
|
|
10617
|
+
# Initial State for shielded instance, these are public keys which are safe to
|
10618
|
+
# store in public
|
10619
|
+
class InitialStateConfig
|
10620
|
+
include Google::Apis::Core::Hashable
|
10621
|
+
|
10622
|
+
# The Key Database (db).
|
10623
|
+
# Corresponds to the JSON property `dbs`
|
10624
|
+
# @return [Array<Google::Apis::ComputeBeta::FileContentBuffer>]
|
10625
|
+
attr_accessor :dbs
|
10626
|
+
|
10627
|
+
# The forbidden key database (dbx).
|
10628
|
+
# Corresponds to the JSON property `dbxs`
|
10629
|
+
# @return [Array<Google::Apis::ComputeBeta::FileContentBuffer>]
|
10630
|
+
attr_accessor :dbxs
|
10631
|
+
|
10632
|
+
# The Key Exchange Key (KEK).
|
10633
|
+
# Corresponds to the JSON property `keks`
|
10634
|
+
# @return [Array<Google::Apis::ComputeBeta::FileContentBuffer>]
|
10635
|
+
attr_accessor :keks
|
10636
|
+
|
10637
|
+
# The Platform Key (PK).
|
10638
|
+
# Corresponds to the JSON property `pk`
|
10639
|
+
# @return [Google::Apis::ComputeBeta::FileContentBuffer]
|
10640
|
+
attr_accessor :pk
|
10641
|
+
|
10642
|
+
def initialize(**args)
|
10643
|
+
update!(**args)
|
10644
|
+
end
|
10645
|
+
|
10646
|
+
# Update properties of this object
|
10647
|
+
def update!(**args)
|
10648
|
+
@dbs = args[:dbs] if args.key?(:dbs)
|
10649
|
+
@dbxs = args[:dbxs] if args.key?(:dbxs)
|
10650
|
+
@keks = args[:keks] if args.key?(:keks)
|
10651
|
+
@pk = args[:pk] if args.key?(:pk)
|
10652
|
+
end
|
10653
|
+
end
|
10654
|
+
|
10597
10655
|
# Represents an Instance resource.
|
10598
10656
|
# An instance is a virtual machine that is hosted on Google Cloud Platform. For
|
10599
10657
|
# more information, read Virtual Machine Instances. (== resource_for `$
|
@@ -10649,6 +10707,17 @@ module Google
|
|
10649
10707
|
attr_accessor :erase_windows_vss_signature
|
10650
10708
|
alias_method :erase_windows_vss_signature?, :erase_windows_vss_signature
|
10651
10709
|
|
10710
|
+
# Specifies a fingerprint for this resource, which is essentially a hash of the
|
10711
|
+
# instance's contents and used for optimistic locking. The fingerprint is
|
10712
|
+
# initially generated by Compute Engine and changes after every request to
|
10713
|
+
# modify or update the instance. You must always provide an up-to-date
|
10714
|
+
# fingerprint hash in order to update the instance.
|
10715
|
+
# To see the latest fingerprint, make get() request to the instance.
|
10716
|
+
# Corresponds to the JSON property `fingerprint`
|
10717
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
10718
|
+
# @return [String]
|
10719
|
+
attr_accessor :fingerprint
|
10720
|
+
|
10652
10721
|
# A list of the type and count of accelerator cards attached to the instance.
|
10653
10722
|
# Corresponds to the JSON property `guestAccelerators`
|
10654
10723
|
# @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
|
@@ -10737,6 +10806,12 @@ module Google
|
|
10737
10806
|
# @return [Array<Google::Apis::ComputeBeta::NetworkInterface>]
|
10738
10807
|
attr_accessor :network_interfaces
|
10739
10808
|
|
10809
|
+
# The private IPv6 google access type for the VM. If not specified, use
|
10810
|
+
# INHERIT_FROM_SUBNETWORK as default.
|
10811
|
+
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
10812
|
+
# @return [String]
|
10813
|
+
attr_accessor :private_ipv6_google_access
|
10814
|
+
|
10740
10815
|
# Specifies the reservations that this instance can consume from.
|
10741
10816
|
# Corresponds to the JSON property `reservationAffinity`
|
10742
10817
|
# @return [Google::Apis::ComputeBeta::ReservationAffinity]
|
@@ -10747,7 +10822,7 @@ module Google
|
|
10747
10822
|
# @return [Array<String>]
|
10748
10823
|
attr_accessor :resource_policies
|
10749
10824
|
|
10750
|
-
# Sets the scheduling options for an Instance. NextID:
|
10825
|
+
# Sets the scheduling options for an Instance. NextID: 10
|
10751
10826
|
# Corresponds to the JSON property `scheduling`
|
10752
10827
|
# @return [Google::Apis::ComputeBeta::Scheduling]
|
10753
10828
|
attr_accessor :scheduling
|
@@ -10843,6 +10918,7 @@ module Google
|
|
10843
10918
|
@disks = args[:disks] if args.key?(:disks)
|
10844
10919
|
@display_device = args[:display_device] if args.key?(:display_device)
|
10845
10920
|
@erase_windows_vss_signature = args[:erase_windows_vss_signature] if args.key?(:erase_windows_vss_signature)
|
10921
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
10846
10922
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
10847
10923
|
@hostname = args[:hostname] if args.key?(:hostname)
|
10848
10924
|
@id = args[:id] if args.key?(:id)
|
@@ -10854,6 +10930,7 @@ module Google
|
|
10854
10930
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
10855
10931
|
@name = args[:name] if args.key?(:name)
|
10856
10932
|
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
10933
|
+
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
10857
10934
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
10858
10935
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
10859
10936
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
@@ -12006,10 +12083,22 @@ module Google
|
|
12006
12083
|
class InstanceGroupManagerStatusStateful
|
12007
12084
|
include Google::Apis::Core::Hashable
|
12008
12085
|
|
12009
|
-
# [Output Only] A bit indicating whether the managed instance group
|
12010
|
-
#
|
12011
|
-
#
|
12012
|
-
#
|
12086
|
+
# [Output Only] A bit indicating whether the managed instance group has stateful
|
12087
|
+
# configuration, that is, if you have configured any items in a stateful policy
|
12088
|
+
# or in per-instance configs. The group might report that it has no stateful
|
12089
|
+
# config even when there is still some preserved state on a managed instance,
|
12090
|
+
# for example, if you have deleted all PICs but not yet applied those deletions.
|
12091
|
+
# Corresponds to the JSON property `hasStatefulConfig`
|
12092
|
+
# @return [Boolean]
|
12093
|
+
attr_accessor :has_stateful_config
|
12094
|
+
alias_method :has_stateful_config?, :has_stateful_config
|
12095
|
+
|
12096
|
+
# [Output Only] A bit indicating whether the managed instance group has stateful
|
12097
|
+
# configuration, that is, if you have configured any items in a stateful policy
|
12098
|
+
# or in per-instance configs. The group might report that it has no stateful
|
12099
|
+
# config even when there is still some preserved state on a managed instance,
|
12100
|
+
# for example, if you have deleted all PICs but not yet applied those deletions.
|
12101
|
+
# This field is deprecated in favor of has_stateful_config.
|
12013
12102
|
# Corresponds to the JSON property `isStateful`
|
12014
12103
|
# @return [Boolean]
|
12015
12104
|
attr_accessor :is_stateful
|
@@ -12021,6 +12110,7 @@ module Google
|
|
12021
12110
|
|
12022
12111
|
# Update properties of this object
|
12023
12112
|
def update!(**args)
|
12113
|
+
@has_stateful_config = args[:has_stateful_config] if args.key?(:has_stateful_config)
|
12024
12114
|
@is_stateful = args[:is_stateful] if args.key?(:is_stateful)
|
12025
12115
|
end
|
12026
12116
|
end
|
@@ -13435,18 +13525,24 @@ module Google
|
|
13435
13525
|
# @return [Array<Google::Apis::ComputeBeta::NetworkInterface>]
|
13436
13526
|
attr_accessor :network_interfaces
|
13437
13527
|
|
13528
|
+
# The private IPv6 google access type for the VM. If not specified, use
|
13529
|
+
# INHERIT_FROM_SUBNETWORK as default.
|
13530
|
+
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
13531
|
+
# @return [String]
|
13532
|
+
attr_accessor :private_ipv6_google_access
|
13533
|
+
|
13438
13534
|
# Specifies the reservations that this instance can consume from.
|
13439
13535
|
# Corresponds to the JSON property `reservationAffinity`
|
13440
13536
|
# @return [Google::Apis::ComputeBeta::ReservationAffinity]
|
13441
13537
|
attr_accessor :reservation_affinity
|
13442
13538
|
|
13443
13539
|
# Resource policies (names, not ULRs) applied to instances created from this
|
13444
|
-
#
|
13540
|
+
# template.
|
13445
13541
|
# Corresponds to the JSON property `resourcePolicies`
|
13446
13542
|
# @return [Array<String>]
|
13447
13543
|
attr_accessor :resource_policies
|
13448
13544
|
|
13449
|
-
# Sets the scheduling options for an Instance. NextID:
|
13545
|
+
# Sets the scheduling options for an Instance. NextID: 10
|
13450
13546
|
# Corresponds to the JSON property `scheduling`
|
13451
13547
|
# @return [Google::Apis::ComputeBeta::Scheduling]
|
13452
13548
|
attr_accessor :scheduling
|
@@ -13489,6 +13585,7 @@ module Google
|
|
13489
13585
|
@metadata = args[:metadata] if args.key?(:metadata)
|
13490
13586
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
13491
13587
|
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
13588
|
+
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
13492
13589
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
13493
13590
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
13494
13591
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
@@ -13752,6 +13849,95 @@ module Google
|
|
13752
13849
|
end
|
13753
13850
|
end
|
13754
13851
|
|
13852
|
+
#
|
13853
|
+
class InstancesAddResourcePoliciesRequest
|
13854
|
+
include Google::Apis::Core::Hashable
|
13855
|
+
|
13856
|
+
# Resource policies to be added to this instance.
|
13857
|
+
# Corresponds to the JSON property `resourcePolicies`
|
13858
|
+
# @return [Array<String>]
|
13859
|
+
attr_accessor :resource_policies
|
13860
|
+
|
13861
|
+
def initialize(**args)
|
13862
|
+
update!(**args)
|
13863
|
+
end
|
13864
|
+
|
13865
|
+
# Update properties of this object
|
13866
|
+
def update!(**args)
|
13867
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
13868
|
+
end
|
13869
|
+
end
|
13870
|
+
|
13871
|
+
#
|
13872
|
+
class InstancesGetEffectiveFirewallsResponse
|
13873
|
+
include Google::Apis::Core::Hashable
|
13874
|
+
|
13875
|
+
# Effective firewalls on the instance.
|
13876
|
+
# Corresponds to the JSON property `firewalls`
|
13877
|
+
# @return [Array<Google::Apis::ComputeBeta::Firewall>]
|
13878
|
+
attr_accessor :firewalls
|
13879
|
+
|
13880
|
+
# Effective firewalls from organization policies.
|
13881
|
+
# Corresponds to the JSON property `organizationFirewalls`
|
13882
|
+
# @return [Array<Google::Apis::ComputeBeta::InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy>]
|
13883
|
+
attr_accessor :organization_firewalls
|
13884
|
+
|
13885
|
+
def initialize(**args)
|
13886
|
+
update!(**args)
|
13887
|
+
end
|
13888
|
+
|
13889
|
+
# Update properties of this object
|
13890
|
+
def update!(**args)
|
13891
|
+
@firewalls = args[:firewalls] if args.key?(:firewalls)
|
13892
|
+
@organization_firewalls = args[:organization_firewalls] if args.key?(:organization_firewalls)
|
13893
|
+
end
|
13894
|
+
end
|
13895
|
+
|
13896
|
+
# A pruned SecurityPolicy containing ID and any applicable firewall rules.
|
13897
|
+
class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
|
13898
|
+
include Google::Apis::Core::Hashable
|
13899
|
+
|
13900
|
+
# The unique identifier for the security policy. This identifier is defined by
|
13901
|
+
# the server.
|
13902
|
+
# Corresponds to the JSON property `id`
|
13903
|
+
# @return [Fixnum]
|
13904
|
+
attr_accessor :id
|
13905
|
+
|
13906
|
+
# The rules that apply to the network.
|
13907
|
+
# Corresponds to the JSON property `rules`
|
13908
|
+
# @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRule>]
|
13909
|
+
attr_accessor :rules
|
13910
|
+
|
13911
|
+
def initialize(**args)
|
13912
|
+
update!(**args)
|
13913
|
+
end
|
13914
|
+
|
13915
|
+
# Update properties of this object
|
13916
|
+
def update!(**args)
|
13917
|
+
@id = args[:id] if args.key?(:id)
|
13918
|
+
@rules = args[:rules] if args.key?(:rules)
|
13919
|
+
end
|
13920
|
+
end
|
13921
|
+
|
13922
|
+
#
|
13923
|
+
class InstancesRemoveResourcePoliciesRequest
|
13924
|
+
include Google::Apis::Core::Hashable
|
13925
|
+
|
13926
|
+
# Resource policies to be removed from this instance.
|
13927
|
+
# Corresponds to the JSON property `resourcePolicies`
|
13928
|
+
# @return [Array<String>]
|
13929
|
+
attr_accessor :resource_policies
|
13930
|
+
|
13931
|
+
def initialize(**args)
|
13932
|
+
update!(**args)
|
13933
|
+
end
|
13934
|
+
|
13935
|
+
# Update properties of this object
|
13936
|
+
def update!(**args)
|
13937
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
13938
|
+
end
|
13939
|
+
end
|
13940
|
+
|
13755
13941
|
#
|
13756
13942
|
class InstancesResumeRequest
|
13757
13943
|
include Google::Apis::Core::Hashable
|
@@ -15612,7 +15798,11 @@ module Google
|
|
15612
15798
|
end
|
15613
15799
|
end
|
15614
15800
|
|
15615
|
-
#
|
15801
|
+
# Represents a License resource.
|
15802
|
+
# A License represents billing and aggregate usage data for public and
|
15803
|
+
# marketplace images. Caution This resource is intended for use only by third-
|
15804
|
+
# party partners who are creating Cloud Marketplace images. (== resource_for `$
|
15805
|
+
# api_version`.licenses ==)
|
15616
15806
|
class License
|
15617
15807
|
include Google::Apis::Core::Hashable
|
15618
15808
|
|
@@ -15693,7 +15883,11 @@ module Google
|
|
15693
15883
|
end
|
15694
15884
|
end
|
15695
15885
|
|
15696
|
-
#
|
15886
|
+
# Represents a License Code resource.
|
15887
|
+
# A License Code is a unique identifier used to represent a license resource.
|
15888
|
+
# Caution This resource is intended for use only by third-party partners who are
|
15889
|
+
# creating Cloud Marketplace images. (== resource_for `$api_version`.
|
15890
|
+
# licenseCodes ==)
|
15697
15891
|
class LicenseCode
|
15698
15892
|
include Google::Apis::Core::Hashable
|
15699
15893
|
|
@@ -15951,8 +16145,6 @@ module Google
|
|
15951
16145
|
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
15952
16146
|
# increment counter /iam/policy/debug_access_count `iam_principal=[value of
|
15953
16147
|
# IAMContext.principal]`
|
15954
|
-
# TODO(b/141846426): Consider supporting "authority" and "iam_principal" fields
|
15955
|
-
# in the same counter.
|
15956
16148
|
# Corresponds to the JSON property `counter`
|
15957
16149
|
# @return [Google::Apis::ComputeBeta::LogConfigCounterOptions]
|
15958
16150
|
attr_accessor :counter
|
@@ -16013,8 +16205,6 @@ module Google
|
|
16013
16205
|
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
16014
16206
|
# increment counter /iam/policy/debug_access_count `iam_principal=[value of
|
16015
16207
|
# IAMContext.principal]`
|
16016
|
-
# TODO(b/141846426): Consider supporting "authority" and "iam_principal" fields
|
16017
|
-
# in the same counter.
|
16018
16208
|
class LogConfigCounterOptions
|
16019
16209
|
include Google::Apis::Core::Hashable
|
16020
16210
|
|
@@ -16078,7 +16268,9 @@ module Google
|
|
16078
16268
|
include Google::Apis::Core::Hashable
|
16079
16269
|
|
16080
16270
|
# Whether Gin logging should happen in a fail-closed manner at the caller. This
|
16081
|
-
# is
|
16271
|
+
# is currently supported in the LocalIAM implementation, Stubby C++, and Stubby
|
16272
|
+
# Java. For Apps Framework, see go/af-audit-logging#failclosed. TODO(b/77591626):
|
16273
|
+
# Add support for Stubby Go. TODO(b/129671387): Add support for Scaffolding.
|
16082
16274
|
# Corresponds to the JSON property `logMode`
|
16083
16275
|
# @return [String]
|
16084
16276
|
attr_accessor :log_mode
|
@@ -17304,8 +17496,8 @@ module Google
|
|
17304
17496
|
end
|
17305
17497
|
|
17306
17498
|
# Represents a collection of network endpoints.
|
17307
|
-
# For more information read
|
17308
|
-
#
|
17499
|
+
# For more information read Network endpoint groups overview. (== resource_for `$
|
17500
|
+
# api_version`.networkEndpointGroups ==) Next ID: 21
|
17309
17501
|
class NetworkEndpointGroup
|
17310
17502
|
include Google::Apis::Core::Hashable
|
17311
17503
|
|
@@ -17364,8 +17556,7 @@ module Google
|
|
17364
17556
|
# @return [String]
|
17365
17557
|
attr_accessor :network
|
17366
17558
|
|
17367
|
-
# Type of network endpoints in this network endpoint group.
|
17368
|
-
# supported value is GCE_VM_IP_PORT.
|
17559
|
+
# Type of network endpoints in this network endpoint group.
|
17369
17560
|
# Corresponds to the JSON property `networkEndpointType`
|
17370
17561
|
# @return [String]
|
17371
17562
|
attr_accessor :network_endpoint_type
|
@@ -18368,6 +18559,57 @@ module Google
|
|
18368
18559
|
end
|
18369
18560
|
end
|
18370
18561
|
|
18562
|
+
#
|
18563
|
+
class NetworksGetEffectiveFirewallsResponse
|
18564
|
+
include Google::Apis::Core::Hashable
|
18565
|
+
|
18566
|
+
# Effective firewalls on the network.
|
18567
|
+
# Corresponds to the JSON property `firewalls`
|
18568
|
+
# @return [Array<Google::Apis::ComputeBeta::Firewall>]
|
18569
|
+
attr_accessor :firewalls
|
18570
|
+
|
18571
|
+
# Effective firewalls from organization policies.
|
18572
|
+
# Corresponds to the JSON property `organizationFirewalls`
|
18573
|
+
# @return [Array<Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy>]
|
18574
|
+
attr_accessor :organization_firewalls
|
18575
|
+
|
18576
|
+
def initialize(**args)
|
18577
|
+
update!(**args)
|
18578
|
+
end
|
18579
|
+
|
18580
|
+
# Update properties of this object
|
18581
|
+
def update!(**args)
|
18582
|
+
@firewalls = args[:firewalls] if args.key?(:firewalls)
|
18583
|
+
@organization_firewalls = args[:organization_firewalls] if args.key?(:organization_firewalls)
|
18584
|
+
end
|
18585
|
+
end
|
18586
|
+
|
18587
|
+
# A pruned SecurityPolicy containing ID and any applicable firewall rules.
|
18588
|
+
class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
|
18589
|
+
include Google::Apis::Core::Hashable
|
18590
|
+
|
18591
|
+
# [Output Only] The unique identifier for the security policy. This identifier
|
18592
|
+
# is defined by the server.
|
18593
|
+
# Corresponds to the JSON property `id`
|
18594
|
+
# @return [Fixnum]
|
18595
|
+
attr_accessor :id
|
18596
|
+
|
18597
|
+
# The rules that apply to the network.
|
18598
|
+
# Corresponds to the JSON property `rules`
|
18599
|
+
# @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRule>]
|
18600
|
+
attr_accessor :rules
|
18601
|
+
|
18602
|
+
def initialize(**args)
|
18603
|
+
update!(**args)
|
18604
|
+
end
|
18605
|
+
|
18606
|
+
# Update properties of this object
|
18607
|
+
def update!(**args)
|
18608
|
+
@id = args[:id] if args.key?(:id)
|
18609
|
+
@rules = args[:rules] if args.key?(:rules)
|
18610
|
+
end
|
18611
|
+
end
|
18612
|
+
|
18371
18613
|
#
|
18372
18614
|
class NetworksRemovePeeringRequest
|
18373
18615
|
include Google::Apis::Core::Hashable
|
@@ -18787,6 +19029,11 @@ module Google
|
|
18787
19029
|
class NodeGroupNode
|
18788
19030
|
include Google::Apis::Core::Hashable
|
18789
19031
|
|
19032
|
+
# CPU overcommit.
|
19033
|
+
# Corresponds to the JSON property `cpuOvercommitType`
|
19034
|
+
# @return [String]
|
19035
|
+
attr_accessor :cpu_overcommit_type
|
19036
|
+
|
18790
19037
|
# Instances scheduled on this node.
|
18791
19038
|
# Corresponds to the JSON property `instances`
|
18792
19039
|
# @return [Array<String>]
|
@@ -18823,6 +19070,7 @@ module Google
|
|
18823
19070
|
|
18824
19071
|
# Update properties of this object
|
18825
19072
|
def update!(**args)
|
19073
|
+
@cpu_overcommit_type = args[:cpu_overcommit_type] if args.key?(:cpu_overcommit_type)
|
18826
19074
|
@instances = args[:instances] if args.key?(:instances)
|
18827
19075
|
@name = args[:name] if args.key?(:name)
|
18828
19076
|
@node_type = args[:node_type] if args.key?(:node_type)
|
@@ -19102,10 +19350,15 @@ module Google
|
|
19102
19350
|
# Represent a sole-tenant Node Template resource.
|
19103
19351
|
# You can use a template to define properties for nodes in a node group. For
|
19104
19352
|
# more information, read Creating node groups and instances. (== resource_for `$
|
19105
|
-
# api_version`.nodeTemplates ==) (== NextID:
|
19353
|
+
# api_version`.nodeTemplates ==) (== NextID: 19 ==)
|
19106
19354
|
class NodeTemplate
|
19107
19355
|
include Google::Apis::Core::Hashable
|
19108
19356
|
|
19357
|
+
# CPU overcommit.
|
19358
|
+
# Corresponds to the JSON property `cpuOvercommitType`
|
19359
|
+
# @return [String]
|
19360
|
+
attr_accessor :cpu_overcommit_type
|
19361
|
+
|
19109
19362
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
19110
19363
|
# Corresponds to the JSON property `creationTimestamp`
|
19111
19364
|
# @return [String]
|
@@ -19196,6 +19449,7 @@ module Google
|
|
19196
19449
|
|
19197
19450
|
# Update properties of this object
|
19198
19451
|
def update!(**args)
|
19452
|
+
@cpu_overcommit_type = args[:cpu_overcommit_type] if args.key?(:cpu_overcommit_type)
|
19199
19453
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
19200
19454
|
@description = args[:description] if args.key?(:description)
|
19201
19455
|
@id = args[:id] if args.key?(:id)
|
@@ -20237,15 +20491,15 @@ module Google
|
|
20237
20491
|
|
20238
20492
|
# Represents an Operation resource.
|
20239
20493
|
# Google Compute Engine has three Operation resources:
|
20240
|
-
# * [Global](/compute/docs/reference/rest
|
20241
|
-
# compute/docs/reference/rest
|
20242
|
-
# reference/rest
|
20494
|
+
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
20495
|
+
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
20496
|
+
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
20243
20497
|
# You can use an operation resource to manage asynchronous API requests. For
|
20244
20498
|
# more information, read Handling API responses.
|
20245
20499
|
# Operations can be global, regional or zonal.
|
20246
|
-
# - For global operations, use the globalOperations resource.
|
20247
|
-
# - For regional operations, use the regionOperations resource.
|
20248
|
-
# - For zonal operations, use the zonalOperations resource.
|
20500
|
+
# - For global operations, use the `globalOperations` resource.
|
20501
|
+
# - For regional operations, use the `regionOperations` resource.
|
20502
|
+
# - For zonal operations, use the `zonalOperations` resource.
|
20249
20503
|
# For more information, read Global, Regional, and Zonal Resources. (==
|
20250
20504
|
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
20251
20505
|
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
@@ -20283,13 +20537,13 @@ module Google
|
|
20283
20537
|
attr_accessor :error
|
20284
20538
|
|
20285
20539
|
# [Output Only] If the operation fails, this field contains the HTTP error
|
20286
|
-
# message that was returned, such as NOT FOUND
|
20540
|
+
# message that was returned, such as `NOT FOUND`.
|
20287
20541
|
# Corresponds to the JSON property `httpErrorMessage`
|
20288
20542
|
# @return [String]
|
20289
20543
|
attr_accessor :http_error_message
|
20290
20544
|
|
20291
20545
|
# [Output Only] If the operation fails, this field contains the HTTP error
|
20292
|
-
# status code that was returned. For example, a 404 means the resource was not
|
20546
|
+
# status code that was returned. For example, a `404` means the resource was not
|
20293
20547
|
# found.
|
20294
20548
|
# Corresponds to the JSON property `httpErrorStatusCode`
|
20295
20549
|
# @return [Fixnum]
|
@@ -20307,7 +20561,7 @@ module Google
|
|
20307
20561
|
# @return [String]
|
20308
20562
|
attr_accessor :insert_time
|
20309
20563
|
|
20310
|
-
# [Output Only] Type of the resource. Always compute#operation for Operation
|
20564
|
+
# [Output Only] Type of the resource. Always `compute#operation` for Operation
|
20311
20565
|
# resources.
|
20312
20566
|
# Corresponds to the JSON property `kind`
|
20313
20567
|
# @return [String]
|
@@ -20318,8 +20572,8 @@ module Google
|
|
20318
20572
|
# @return [String]
|
20319
20573
|
attr_accessor :name
|
20320
20574
|
|
20321
|
-
# [Output Only] The type of operation, such as insert
|
20322
|
-
# on.
|
20575
|
+
# [Output Only] The type of operation, such as `insert`, `update`, or `delete`,
|
20576
|
+
# and so on.
|
20323
20577
|
# Corresponds to the JSON property `operationType`
|
20324
20578
|
# @return [String]
|
20325
20579
|
attr_accessor :operation_type
|
@@ -20349,8 +20603,8 @@ module Google
|
|
20349
20603
|
# @return [String]
|
20350
20604
|
attr_accessor :start_time
|
20351
20605
|
|
20352
|
-
# [Output Only] The status of the operation, which can be one of the following:
|
20353
|
-
# PENDING
|
20606
|
+
# [Output Only] The status of the operation, which can be one of the following: `
|
20607
|
+
# PENDING`, `RUNNING`, or `DONE`.
|
20354
20608
|
# Corresponds to the JSON property `status`
|
20355
20609
|
# @return [String]
|
20356
20610
|
attr_accessor :status
|
@@ -20374,7 +20628,8 @@ module Google
|
|
20374
20628
|
# @return [String]
|
20375
20629
|
attr_accessor :target_link
|
20376
20630
|
|
20377
|
-
# [Output Only] User who requested the operation, for example: user@example.com
|
20631
|
+
# [Output Only] User who requested the operation, for example: `user@example.com`
|
20632
|
+
# .
|
20378
20633
|
# Corresponds to the JSON property `user`
|
20379
20634
|
# @return [String]
|
20380
20635
|
attr_accessor :user
|
@@ -20554,16 +20809,16 @@ module Google
|
|
20554
20809
|
# @return [Hash<String,Google::Apis::ComputeBeta::OperationsScopedList>]
|
20555
20810
|
attr_accessor :items
|
20556
20811
|
|
20557
|
-
# [Output Only] Type of resource. Always compute#operationAggregatedList for
|
20812
|
+
# [Output Only] Type of resource. Always `compute#operationAggregatedList` for
|
20558
20813
|
# aggregated lists of operations.
|
20559
20814
|
# Corresponds to the JSON property `kind`
|
20560
20815
|
# @return [String]
|
20561
20816
|
attr_accessor :kind
|
20562
20817
|
|
20563
20818
|
# [Output Only] This token allows you to get the next page of results for list
|
20564
|
-
# requests. If the number of results is larger than maxResults
|
20565
|
-
# nextPageToken as a value for the query parameter pageToken in the next list
|
20566
|
-
# request. Subsequent list requests will have their own nextPageToken to
|
20819
|
+
# requests. If the number of results is larger than `maxResults`, use the `
|
20820
|
+
# nextPageToken` as a value for the query parameter `pageToken` in the next list
|
20821
|
+
# request. Subsequent list requests will have their own `nextPageToken` to
|
20567
20822
|
# continue paging through the results.
|
20568
20823
|
# Corresponds to the JSON property `nextPageToken`
|
20569
20824
|
# @return [String]
|
@@ -20673,16 +20928,16 @@ module Google
|
|
20673
20928
|
# @return [Array<Google::Apis::ComputeBeta::Operation>]
|
20674
20929
|
attr_accessor :items
|
20675
20930
|
|
20676
|
-
# [Output Only] Type of resource. Always compute#operations for Operations
|
20931
|
+
# [Output Only] Type of resource. Always `compute#operations` for Operations
|
20677
20932
|
# resource.
|
20678
20933
|
# Corresponds to the JSON property `kind`
|
20679
20934
|
# @return [String]
|
20680
20935
|
attr_accessor :kind
|
20681
20936
|
|
20682
20937
|
# [Output Only] This token allows you to get the next page of results for list
|
20683
|
-
# requests. If the number of results is larger than maxResults
|
20684
|
-
# nextPageToken as a value for the query parameter pageToken in the next list
|
20685
|
-
# request. Subsequent list requests will have their own nextPageToken to
|
20938
|
+
# requests. If the number of results is larger than `maxResults`, use the `
|
20939
|
+
# nextPageToken` as a value for the query parameter `pageToken` in the next list
|
20940
|
+
# request. Subsequent list requests will have their own `nextPageToken` to
|
20686
20941
|
# continue paging through the results.
|
20687
20942
|
# Corresponds to the JSON property `nextPageToken`
|
20688
20943
|
# @return [String]
|
@@ -20868,6 +21123,33 @@ module Google
|
|
20868
21123
|
end
|
20869
21124
|
end
|
20870
21125
|
|
21126
|
+
#
|
21127
|
+
class OrganizationSecurityPoliciesListAssociationsResponse
|
21128
|
+
include Google::Apis::Core::Hashable
|
21129
|
+
|
21130
|
+
# A list of associations.
|
21131
|
+
# Corresponds to the JSON property `associations`
|
21132
|
+
# @return [Array<Google::Apis::ComputeBeta::SecurityPolicyAssociation>]
|
21133
|
+
attr_accessor :associations
|
21134
|
+
|
21135
|
+
# [Output Only] Type of securityPolicy associations. Always compute#
|
21136
|
+
# organizationSecurityPoliciesListAssociations for lists of securityPolicy
|
21137
|
+
# associations.
|
21138
|
+
# Corresponds to the JSON property `kind`
|
21139
|
+
# @return [String]
|
21140
|
+
attr_accessor :kind
|
21141
|
+
|
21142
|
+
def initialize(**args)
|
21143
|
+
update!(**args)
|
21144
|
+
end
|
21145
|
+
|
21146
|
+
# Update properties of this object
|
21147
|
+
def update!(**args)
|
21148
|
+
@associations = args[:associations] if args.key?(:associations)
|
21149
|
+
@kind = args[:kind] if args.key?(:kind)
|
21150
|
+
end
|
21151
|
+
end
|
21152
|
+
|
20871
21153
|
# Settings controlling the eviction of unhealthy hosts from the load balancing
|
20872
21154
|
# pool for the backend service.
|
20873
21155
|
class OutlierDetection
|
@@ -21787,21 +22069,21 @@ module Google
|
|
21787
22069
|
class PerInstanceConfig
|
21788
22070
|
include Google::Apis::Core::Hashable
|
21789
22071
|
|
21790
|
-
# Fingerprint of this per-instance config. This field
|
21791
|
-
# locking. It
|
21792
|
-
#
|
22072
|
+
# Fingerprint of this per-instance config. This field can be used in optimistic
|
22073
|
+
# locking. It is ignored when inserting a per-instance config. An up-to-date
|
22074
|
+
# fingerprint must be provided in order to update an existing per-instance
|
21793
22075
|
# config or the field needs to be unset.
|
21794
22076
|
# Corresponds to the JSON property `fingerprint`
|
21795
22077
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
21796
22078
|
# @return [String]
|
21797
22079
|
attr_accessor :fingerprint
|
21798
22080
|
|
21799
|
-
# The name of
|
21800
|
-
#
|
21801
|
-
# config with the same name exists then it will be updated, otherwise a
|
21802
|
-
# will be created for the VM instance with the same name. An attempt to
|
21803
|
-
# per-instance config for a VM instance that either doesn't exist or is
|
21804
|
-
# of the group will result in
|
22081
|
+
# The name of a per-instance config and its corresponding instance. Serves as a
|
22082
|
+
# merge key during UpdatePerInstanceConfigs operations, that is, if a per-
|
22083
|
+
# instance config with the same name exists then it will be updated, otherwise a
|
22084
|
+
# new one will be created for the VM instance with the same name. An attempt to
|
22085
|
+
# create a per-instance config for a VM instance that either doesn't exist or is
|
22086
|
+
# not part of the group will result in an error.
|
21805
22087
|
# Corresponds to the JSON property `name`
|
21806
22088
|
# @return [String]
|
21807
22089
|
attr_accessor :name
|
@@ -23755,8 +24037,8 @@ module Google
|
|
23755
24037
|
|
23756
24038
|
# Represents a URL Map resource.
|
23757
24039
|
# Google Compute Engine has two URL Map resources:
|
23758
|
-
# * [Global](/compute/docs/reference/rest
|
23759
|
-
# docs/reference/rest
|
24040
|
+
# * [Global](/compute/docs/reference/rest/`$api_version`/urlMaps) * [Regional](/
|
24041
|
+
# compute/docs/reference/rest/`$api_version`/regionUrlMaps)
|
23760
24042
|
# A URL map resource is a component of certain types of GCP load balancers and
|
23761
24043
|
# Traffic Director.
|
23762
24044
|
# * urlMaps are used by external HTTP(S) load balancers and Traffic Director. *
|
@@ -24429,7 +24711,10 @@ module Google
|
|
24429
24711
|
end
|
24430
24712
|
end
|
24431
24713
|
|
24432
|
-
#
|
24714
|
+
# Represents a Resource Policy resource. You can use resource policies to
|
24715
|
+
# schedule actions for some Compute Engine resources. For example, you can use
|
24716
|
+
# them to schedule persistent disk snapshots.
|
24717
|
+
# (== resource_for `$api_version`.resourcePolicies ==)
|
24433
24718
|
class ResourcePolicy
|
24434
24719
|
include Google::Apis::Core::Hashable
|
24435
24720
|
|
@@ -24640,7 +24925,8 @@ module Google
|
|
24640
24925
|
class ResourcePolicyDailyCycle
|
24641
24926
|
include Google::Apis::Core::Hashable
|
24642
24927
|
|
24643
|
-
# Defines a schedule
|
24928
|
+
# Defines a schedule with units measured in months. The value determines how
|
24929
|
+
# many months pass between the start of each cycle.
|
24644
24930
|
# Corresponds to the JSON property `daysInCycle`
|
24645
24931
|
# @return [Fixnum]
|
24646
24932
|
attr_accessor :days_in_cycle
|
@@ -24714,7 +25000,8 @@ module Google
|
|
24714
25000
|
# @return [String]
|
24715
25001
|
attr_accessor :duration
|
24716
25002
|
|
24717
|
-
#
|
25003
|
+
# Defines a schedule with units measured in hours. The value determines how many
|
25004
|
+
# hours pass between the start of each cycle.
|
24718
25005
|
# Corresponds to the JSON property `hoursInCycle`
|
24719
25006
|
# @return [Fixnum]
|
24720
25007
|
attr_accessor :hours_in_cycle
|
@@ -25009,7 +25296,9 @@ module Google
|
|
25009
25296
|
class ResourcePolicyWeeklyCycleDayOfWeek
|
25010
25297
|
include Google::Apis::Core::Hashable
|
25011
25298
|
|
25012
|
-
#
|
25299
|
+
# Defines a schedule that runs on specific days of the week. Specify one or more
|
25300
|
+
# days. The following options are available: MONDAY, TUESDAY, WEDNESDAY,
|
25301
|
+
# THURSDAY, FRIDAY, SATURDAY, SUNDAY.
|
25013
25302
|
# Corresponds to the JSON property `day`
|
25014
25303
|
# @return [String]
|
25015
25304
|
attr_accessor :day
|
@@ -25855,15 +26144,15 @@ module Google
|
|
25855
26144
|
attr_accessor :ip_range
|
25856
26145
|
|
25857
26146
|
# URI of the linked Interconnect attachment. It must be in the same region as
|
25858
|
-
# the router. Each interface can have one linked resource, which can be
|
25859
|
-
#
|
26147
|
+
# the router. Each interface can have one linked resource, which can be a VPN
|
26148
|
+
# tunnel, an Interconnect attachment, or a virtual machine instance.
|
25860
26149
|
# Corresponds to the JSON property `linkedInterconnectAttachment`
|
25861
26150
|
# @return [String]
|
25862
26151
|
attr_accessor :linked_interconnect_attachment
|
25863
26152
|
|
25864
26153
|
# URI of the linked VPN tunnel, which must be in the same region as the router.
|
25865
|
-
# Each interface can have one linked resource, which can be
|
25866
|
-
# or
|
26154
|
+
# Each interface can have one linked resource, which can be a VPN tunnel, an
|
26155
|
+
# Interconnect attachment, or a virtual machine instance.
|
25867
26156
|
# Corresponds to the JSON property `linkedVpnTunnel`
|
25868
26157
|
# @return [String]
|
25869
26158
|
attr_accessor :linked_vpn_tunnel
|
@@ -26774,7 +27063,7 @@ module Google
|
|
26774
27063
|
end
|
26775
27064
|
end
|
26776
27065
|
|
26777
|
-
# Sets the scheduling options for an Instance. NextID:
|
27066
|
+
# Sets the scheduling options for an Instance. NextID: 10
|
26778
27067
|
class Scheduling
|
26779
27068
|
include Google::Apis::Core::Hashable
|
26780
27069
|
|
@@ -26796,7 +27085,7 @@ module Google
|
|
26796
27085
|
attr_accessor :min_node_cpus
|
26797
27086
|
|
26798
27087
|
# A set of node affinity and anti-affinity configurations. Refer to Configuring
|
26799
|
-
# node affinity for more information.
|
27088
|
+
# node affinity for more information. Overrides reservationAffinity.
|
26800
27089
|
# Corresponds to the JSON property `nodeAffinities`
|
26801
27090
|
# @return [Array<Google::Apis::ComputeBeta::SchedulingNodeAffinity>]
|
26802
27091
|
attr_accessor :node_affinities
|
@@ -26864,6 +27153,32 @@ module Google
|
|
26864
27153
|
end
|
26865
27154
|
end
|
26866
27155
|
|
27156
|
+
# An instance's screenshot.
|
27157
|
+
class Screenshot
|
27158
|
+
include Google::Apis::Core::Hashable
|
27159
|
+
|
27160
|
+
# [Output Only] The Base64-encoded screenshot data.
|
27161
|
+
# Corresponds to the JSON property `contents`
|
27162
|
+
# @return [String]
|
27163
|
+
attr_accessor :contents
|
27164
|
+
|
27165
|
+
# [Output Only] Type of the resource. Always compute#screenshot for the
|
27166
|
+
# screenshots.
|
27167
|
+
# Corresponds to the JSON property `kind`
|
27168
|
+
# @return [String]
|
27169
|
+
attr_accessor :kind
|
27170
|
+
|
27171
|
+
def initialize(**args)
|
27172
|
+
update!(**args)
|
27173
|
+
end
|
27174
|
+
|
27175
|
+
# Update properties of this object
|
27176
|
+
def update!(**args)
|
27177
|
+
@contents = args[:contents] if args.key?(:contents)
|
27178
|
+
@kind = args[:kind] if args.key?(:kind)
|
27179
|
+
end
|
27180
|
+
end
|
27181
|
+
|
26867
27182
|
#
|
26868
27183
|
class SecurityPoliciesListPreconfiguredExpressionSetsResponse
|
26869
27184
|
include Google::Apis::Core::Hashable
|
@@ -26909,6 +27224,11 @@ module Google
|
|
26909
27224
|
class SecurityPolicy
|
26910
27225
|
include Google::Apis::Core::Hashable
|
26911
27226
|
|
27227
|
+
# A list of associations that belong to this policy.
|
27228
|
+
# Corresponds to the JSON property `associations`
|
27229
|
+
# @return [Array<Google::Apis::ComputeBeta::SecurityPolicyAssociation>]
|
27230
|
+
attr_accessor :associations
|
27231
|
+
|
26912
27232
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
26913
27233
|
# Corresponds to the JSON property `creationTimestamp`
|
26914
27234
|
# @return [String]
|
@@ -26920,6 +27240,18 @@ module Google
|
|
26920
27240
|
# @return [String]
|
26921
27241
|
attr_accessor :description
|
26922
27242
|
|
27243
|
+
# User-provided name of the Organization security plicy. The name should be
|
27244
|
+
# unique in the organization in which the security policy is created. This
|
27245
|
+
# should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63
|
27246
|
+
# characters long, and comply with RFC1035. Specifically, the name must be 1-63
|
27247
|
+
# characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`
|
27248
|
+
# which means the first character must be a lowercase letter, and all following
|
27249
|
+
# characters must be a dash, lowercase letter, or digit, except the last
|
27250
|
+
# character, which cannot be a dash.
|
27251
|
+
# Corresponds to the JSON property `displayName`
|
27252
|
+
# @return [String]
|
27253
|
+
attr_accessor :display_name
|
27254
|
+
|
26923
27255
|
# Specifies a fingerprint for this resource, which is essentially a hash of the
|
26924
27256
|
# metadata's contents and used for optimistic locking. The fingerprint is
|
26925
27257
|
# initially generated by Compute Engine and changes after every request to
|
@@ -26972,6 +27304,17 @@ module Google
|
|
26972
27304
|
# @return [String]
|
26973
27305
|
attr_accessor :name
|
26974
27306
|
|
27307
|
+
# [Output Only] The parent of the security policy.
|
27308
|
+
# Corresponds to the JSON property `parent`
|
27309
|
+
# @return [String]
|
27310
|
+
attr_accessor :parent
|
27311
|
+
|
27312
|
+
# [Output Only] Total count of all security policy rule tuples. A security
|
27313
|
+
# policy can not exceed a set number of tuples.
|
27314
|
+
# Corresponds to the JSON property `ruleTupleCount`
|
27315
|
+
# @return [Fixnum]
|
27316
|
+
attr_accessor :rule_tuple_count
|
27317
|
+
|
26975
27318
|
# A list of rules that belong to this policy. There must always be a default
|
26976
27319
|
# rule (rule with priority 2147483647 and match "*"). If no rules are provided
|
26977
27320
|
# when creating a security policy, a default rule with action "allow" will be
|
@@ -26985,22 +27328,76 @@ module Google
|
|
26985
27328
|
# @return [String]
|
26986
27329
|
attr_accessor :self_link
|
26987
27330
|
|
27331
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
27332
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
27333
|
+
# @return [String]
|
27334
|
+
attr_accessor :self_link_with_id
|
27335
|
+
|
27336
|
+
# The type indicates the intended use of the security policy. CLOUD_ARMOR
|
27337
|
+
# policies apply to backend services. FIREWALL policies apply to organizations.
|
27338
|
+
# Corresponds to the JSON property `type`
|
27339
|
+
# @return [String]
|
27340
|
+
attr_accessor :type
|
27341
|
+
|
26988
27342
|
def initialize(**args)
|
26989
27343
|
update!(**args)
|
26990
27344
|
end
|
26991
27345
|
|
26992
27346
|
# Update properties of this object
|
26993
27347
|
def update!(**args)
|
27348
|
+
@associations = args[:associations] if args.key?(:associations)
|
26994
27349
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
26995
27350
|
@description = args[:description] if args.key?(:description)
|
27351
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
26996
27352
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
26997
27353
|
@id = args[:id] if args.key?(:id)
|
26998
27354
|
@kind = args[:kind] if args.key?(:kind)
|
26999
27355
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
27000
27356
|
@labels = args[:labels] if args.key?(:labels)
|
27001
27357
|
@name = args[:name] if args.key?(:name)
|
27358
|
+
@parent = args[:parent] if args.key?(:parent)
|
27359
|
+
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
27002
27360
|
@rules = args[:rules] if args.key?(:rules)
|
27003
27361
|
@self_link = args[:self_link] if args.key?(:self_link)
|
27362
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
27363
|
+
@type = args[:type] if args.key?(:type)
|
27364
|
+
end
|
27365
|
+
end
|
27366
|
+
|
27367
|
+
#
|
27368
|
+
class SecurityPolicyAssociation
|
27369
|
+
include Google::Apis::Core::Hashable
|
27370
|
+
|
27371
|
+
# The resource that the security policy is attached to.
|
27372
|
+
# Corresponds to the JSON property `attachmentId`
|
27373
|
+
# @return [String]
|
27374
|
+
attr_accessor :attachment_id
|
27375
|
+
|
27376
|
+
# [Output Only] The display name of the security policy of the association.
|
27377
|
+
# Corresponds to the JSON property `displayName`
|
27378
|
+
# @return [String]
|
27379
|
+
attr_accessor :display_name
|
27380
|
+
|
27381
|
+
# The name for an association.
|
27382
|
+
# Corresponds to the JSON property `name`
|
27383
|
+
# @return [String]
|
27384
|
+
attr_accessor :name
|
27385
|
+
|
27386
|
+
# [Output Only] The security policy ID of the association.
|
27387
|
+
# Corresponds to the JSON property `securityPolicyId`
|
27388
|
+
# @return [String]
|
27389
|
+
attr_accessor :security_policy_id
|
27390
|
+
|
27391
|
+
def initialize(**args)
|
27392
|
+
update!(**args)
|
27393
|
+
end
|
27394
|
+
|
27395
|
+
# Update properties of this object
|
27396
|
+
def update!(**args)
|
27397
|
+
@attachment_id = args[:attachment_id] if args.key?(:attachment_id)
|
27398
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
27399
|
+
@name = args[:name] if args.key?(:name)
|
27400
|
+
@security_policy_id = args[:security_policy_id] if args.key?(:security_policy_id)
|
27004
27401
|
end
|
27005
27402
|
end
|
27006
27403
|
|
@@ -27153,6 +27550,22 @@ module Google
|
|
27153
27550
|
# @return [String]
|
27154
27551
|
attr_accessor :description
|
27155
27552
|
|
27553
|
+
# The direction in which this rule applies. This field may only be specified
|
27554
|
+
# when versioned_expr is set to FIREWALL.
|
27555
|
+
# Corresponds to the JSON property `direction`
|
27556
|
+
# @return [String]
|
27557
|
+
attr_accessor :direction
|
27558
|
+
|
27559
|
+
# Denotes whether to enable logging for a particular rule. If logging is enabled,
|
27560
|
+
# logs will be exported to the configured export destination in Stackdriver.
|
27561
|
+
# Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging
|
27562
|
+
# on "goto_next" rules.
|
27563
|
+
# This field may only be specified when the versioned_expr is set to FIREWALL.
|
27564
|
+
# Corresponds to the JSON property `enableLogging`
|
27565
|
+
# @return [Boolean]
|
27566
|
+
attr_accessor :enable_logging
|
27567
|
+
alias_method :enable_logging?, :enable_logging
|
27568
|
+
|
27156
27569
|
# [Output only] Type of the resource. Always compute#securityPolicyRule for
|
27157
27570
|
# security policy rules
|
27158
27571
|
# Corresponds to the JSON property `kind`
|
@@ -27179,6 +27592,26 @@ module Google
|
|
27179
27592
|
# @return [Fixnum]
|
27180
27593
|
attr_accessor :priority
|
27181
27594
|
|
27595
|
+
# [Output Only] Calculation of the complexity of a single firewall security
|
27596
|
+
# policy rule.
|
27597
|
+
# Corresponds to the JSON property `ruleTupleCount`
|
27598
|
+
# @return [Fixnum]
|
27599
|
+
attr_accessor :rule_tuple_count
|
27600
|
+
|
27601
|
+
# A list of network resource URLs to which this rule applies. This field allows
|
27602
|
+
# you to control which network's VMs get this rule. If this field is left blank,
|
27603
|
+
# all VMs within the organization will receive the rule.
|
27604
|
+
# This field may only be specified when versioned_expr is set to FIREWALL.
|
27605
|
+
# Corresponds to the JSON property `targetResources`
|
27606
|
+
# @return [Array<String>]
|
27607
|
+
attr_accessor :target_resources
|
27608
|
+
|
27609
|
+
# A list of service accounts indicating the sets of instances that are applied
|
27610
|
+
# with this rule.
|
27611
|
+
# Corresponds to the JSON property `targetServiceAccounts`
|
27612
|
+
# @return [Array<String>]
|
27613
|
+
attr_accessor :target_service_accounts
|
27614
|
+
|
27182
27615
|
def initialize(**args)
|
27183
27616
|
update!(**args)
|
27184
27617
|
end
|
@@ -27187,10 +27620,15 @@ module Google
|
|
27187
27620
|
def update!(**args)
|
27188
27621
|
@action = args[:action] if args.key?(:action)
|
27189
27622
|
@description = args[:description] if args.key?(:description)
|
27623
|
+
@direction = args[:direction] if args.key?(:direction)
|
27624
|
+
@enable_logging = args[:enable_logging] if args.key?(:enable_logging)
|
27190
27625
|
@kind = args[:kind] if args.key?(:kind)
|
27191
27626
|
@match = args[:match] if args.key?(:match)
|
27192
27627
|
@preview = args[:preview] if args.key?(:preview)
|
27193
27628
|
@priority = args[:priority] if args.key?(:priority)
|
27629
|
+
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
27630
|
+
@target_resources = args[:target_resources] if args.key?(:target_resources)
|
27631
|
+
@target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
|
27194
27632
|
end
|
27195
27633
|
end
|
27196
27634
|
|
@@ -27254,6 +27692,18 @@ module Google
|
|
27254
27692
|
class SecurityPolicyRuleMatcherConfig
|
27255
27693
|
include Google::Apis::Core::Hashable
|
27256
27694
|
|
27695
|
+
# CIDR IP address range.
|
27696
|
+
# This field may only be specified when versioned_expr is set to FIREWALL.
|
27697
|
+
# Corresponds to the JSON property `destIpRanges`
|
27698
|
+
# @return [Array<String>]
|
27699
|
+
attr_accessor :dest_ip_ranges
|
27700
|
+
|
27701
|
+
# Pairs of IP protocols and ports that the rule should match.
|
27702
|
+
# This field may only be specified when versioned_expr is set to FIREWALL.
|
27703
|
+
# Corresponds to the JSON property `layer4Configs`
|
27704
|
+
# @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRuleMatcherConfigLayer4Config>]
|
27705
|
+
attr_accessor :layer4_configs
|
27706
|
+
|
27257
27707
|
# CIDR IP address range.
|
27258
27708
|
# Corresponds to the JSON property `srcIpRanges`
|
27259
27709
|
# @return [Array<String>]
|
@@ -27265,10 +27715,81 @@ module Google
|
|
27265
27715
|
|
27266
27716
|
# Update properties of this object
|
27267
27717
|
def update!(**args)
|
27718
|
+
@dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
|
27719
|
+
@layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
|
27268
27720
|
@src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
|
27269
27721
|
end
|
27270
27722
|
end
|
27271
27723
|
|
27724
|
+
#
|
27725
|
+
class SecurityPolicyRuleMatcherConfigLayer4Config
|
27726
|
+
include Google::Apis::Core::Hashable
|
27727
|
+
|
27728
|
+
# The IP protocol to which this rule applies. The protocol type is required when
|
27729
|
+
# creating a firewall rule. This value can either be one of the following well
|
27730
|
+
# known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP
|
27731
|
+
# protocol number.
|
27732
|
+
# Corresponds to the JSON property `ipProtocol`
|
27733
|
+
# @return [String]
|
27734
|
+
attr_accessor :ip_protocol
|
27735
|
+
|
27736
|
+
# An optional list of ports to which this rule applies. This field is only
|
27737
|
+
# applicable for UDP or TCP protocol. Each entry must be either an integer or a
|
27738
|
+
# range. If not specified, this rule applies to connections through any port.
|
27739
|
+
# Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
|
27740
|
+
# This field may only be specified when versioned_expr is set to FIREWALL.
|
27741
|
+
# Corresponds to the JSON property `ports`
|
27742
|
+
# @return [Array<String>]
|
27743
|
+
attr_accessor :ports
|
27744
|
+
|
27745
|
+
def initialize(**args)
|
27746
|
+
update!(**args)
|
27747
|
+
end
|
27748
|
+
|
27749
|
+
# Update properties of this object
|
27750
|
+
def update!(**args)
|
27751
|
+
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
|
27752
|
+
@ports = args[:ports] if args.key?(:ports)
|
27753
|
+
end
|
27754
|
+
end
|
27755
|
+
|
27756
|
+
# The authentication and authorization settings for a BackendService.
|
27757
|
+
class SecuritySettings
|
27758
|
+
include Google::Apis::Core::Hashable
|
27759
|
+
|
27760
|
+
# A URL referring to a networksecurity.Authentication resource that describes
|
27761
|
+
# how clients should authenticate with this service's backends. If left blank,
|
27762
|
+
# communications between services are not encrypted (i.e., the TLS policy is set
|
27763
|
+
# to OPEN). When sending traffic to this service's backends, the OriginationTls
|
27764
|
+
# setting of Authentication.TransportAuthentication is applied. Refer to the
|
27765
|
+
# Authentication and Authentication.TransportAuthentication.OriginationTls
|
27766
|
+
# resources for additional details. authentication only applies to a global
|
27767
|
+
# BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
27768
|
+
# Corresponds to the JSON property `authentication`
|
27769
|
+
# @return [String]
|
27770
|
+
attr_accessor :authentication
|
27771
|
+
|
27772
|
+
# Optional. A list of subject alternate names to verify the subject identity (
|
27773
|
+
# SAN) in the certificate presented by the server, to authorize the SAN list as
|
27774
|
+
# identities to run the service represented by this BackendService. If specified,
|
27775
|
+
# the client will verify that the server certificate's subject alt name matches
|
27776
|
+
# one of the specified values. Only applies to a global BackendService with the
|
27777
|
+
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
27778
|
+
# Corresponds to the JSON property `subjectAltNames`
|
27779
|
+
# @return [Array<String>]
|
27780
|
+
attr_accessor :subject_alt_names
|
27781
|
+
|
27782
|
+
def initialize(**args)
|
27783
|
+
update!(**args)
|
27784
|
+
end
|
27785
|
+
|
27786
|
+
# Update properties of this object
|
27787
|
+
def update!(**args)
|
27788
|
+
@authentication = args[:authentication] if args.key?(:authentication)
|
27789
|
+
@subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
|
27790
|
+
end
|
27791
|
+
end
|
27792
|
+
|
27272
27793
|
# An instance's serial console output.
|
27273
27794
|
class SerialPortOutput
|
27274
27795
|
include Google::Apis::Core::Hashable
|
@@ -28027,7 +28548,7 @@ module Google
|
|
28027
28548
|
# @return [Array<Google::Apis::ComputeBeta::NetworkInterface>]
|
28028
28549
|
attr_accessor :network_interfaces
|
28029
28550
|
|
28030
|
-
# Sets the scheduling options for an Instance. NextID:
|
28551
|
+
# Sets the scheduling options for an Instance. NextID: 10
|
28031
28552
|
# Corresponds to the JSON property `scheduling`
|
28032
28553
|
# @return [Google::Apis::ComputeBeta::Scheduling]
|
28033
28554
|
attr_accessor :scheduling
|
@@ -28069,16 +28590,19 @@ module Google
|
|
28069
28590
|
|
28070
28591
|
# Represents an SSL Certificate resource.
|
28071
28592
|
# Google Compute Engine has two SSL Certificate resources:
|
28072
|
-
# * [Global](/compute/docs/reference/rest
|
28073
|
-
# compute/docs/reference/rest
|
28074
|
-
#
|
28075
|
-
# load balancers
|
28076
|
-
# -
|
28077
|
-
#
|
28078
|
-
#
|
28079
|
-
#
|
28080
|
-
#
|
28081
|
-
#
|
28593
|
+
# * [Global](/compute/docs/reference/rest/`$api_version`/sslCertificates) * [
|
28594
|
+
# Regional](/compute/docs/reference/rest/`$api_version`/regionSslCertificates)
|
28595
|
+
# The sslCertificates are used by:
|
28596
|
+
# - external HTTPS load balancers
|
28597
|
+
# - SSL proxy load balancers
|
28598
|
+
# The regionSslCertificates are used by internal HTTPS load balancers.
|
28599
|
+
# Optionally, certificate file contents that you upload can contain a set of up
|
28600
|
+
# to five PEM-encoded certificates. The API call creates an object (
|
28601
|
+
# sslCertificate) that holds this data. You can use SSL keys and certificates to
|
28602
|
+
# secure connections to a load balancer. For more information, read Creating
|
28603
|
+
# and using SSL certificates and SSL certificates quotas and limits. (==
|
28604
|
+
# resource_for `$api_version`.sslCertificates ==) (== resource_for `$api_version`
|
28605
|
+
# .regionSslCertificates ==)
|
28082
28606
|
class SslCertificate
|
28083
28607
|
include Google::Apis::Core::Hashable
|
28084
28608
|
|
@@ -29119,7 +29643,7 @@ module Google
|
|
29119
29643
|
# @return [String]
|
29120
29644
|
attr_accessor :region
|
29121
29645
|
|
29122
|
-
# The role of subnetwork.
|
29646
|
+
# The role of subnetwork. Currently, this field is only used when purpose =
|
29123
29647
|
# INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
|
29124
29648
|
# ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
|
29125
29649
|
# Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to
|
@@ -29439,6 +29963,12 @@ module Google
|
|
29439
29963
|
attr_accessor :enable
|
29440
29964
|
alias_method :enable?, :enable
|
29441
29965
|
|
29966
|
+
# Can only be specified if VPC flow logs for this subnetwork is enabled. Export
|
29967
|
+
# filter used to define which VPC flow logs should be logged.
|
29968
|
+
# Corresponds to the JSON property `filterExpr`
|
29969
|
+
# @return [String]
|
29970
|
+
attr_accessor :filter_expr
|
29971
|
+
|
29442
29972
|
# Can only be specified if VPC flow logging for this subnetwork is enabled. The
|
29443
29973
|
# value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs
|
29444
29974
|
# within the subnetwork where 1.0 means all collected logs are reported and 0.0
|
@@ -29455,6 +29985,12 @@ module Google
|
|
29455
29985
|
# @return [String]
|
29456
29986
|
attr_accessor :metadata
|
29457
29987
|
|
29988
|
+
# Can only be specified if VPC flow logs for this subnetwork is enabled and "
|
29989
|
+
# metadata" was set to CUSTOM_METADATA.
|
29990
|
+
# Corresponds to the JSON property `metadataFields`
|
29991
|
+
# @return [Array<String>]
|
29992
|
+
attr_accessor :metadata_fields
|
29993
|
+
|
29458
29994
|
def initialize(**args)
|
29459
29995
|
update!(**args)
|
29460
29996
|
end
|
@@ -29463,8 +29999,10 @@ module Google
|
|
29463
29999
|
def update!(**args)
|
29464
30000
|
@aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
|
29465
30001
|
@enable = args[:enable] if args.key?(:enable)
|
30002
|
+
@filter_expr = args[:filter_expr] if args.key?(:filter_expr)
|
29466
30003
|
@flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
|
29467
30004
|
@metadata = args[:metadata] if args.key?(:metadata)
|
30005
|
+
@metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
|
29468
30006
|
end
|
29469
30007
|
end
|
29470
30008
|
|
@@ -29819,8 +30357,8 @@ module Google
|
|
29819
30357
|
|
29820
30358
|
# Represents a Target HTTP Proxy resource.
|
29821
30359
|
# Google Compute Engine has two Target HTTP Proxy resources:
|
29822
|
-
# * [Global](/compute/docs/reference/rest
|
29823
|
-
# /compute/docs/reference/rest
|
30360
|
+
# * [Global](/compute/docs/reference/rest/`$api_version`/targetHttpProxies) * [
|
30361
|
+
# Regional](/compute/docs/reference/rest/`$api_version`/regionTargetHttpProxies)
|
29824
30362
|
# A target HTTP proxy is a component of GCP HTTP load balancers.
|
29825
30363
|
# * targetHttpProxies are used by external HTTP load balancers and Traffic
|
29826
30364
|
# Director. * regionTargetHttpProxies are used by internal HTTP load balancers.
|
@@ -29864,6 +30402,14 @@ module Google
|
|
29864
30402
|
# @return [String]
|
29865
30403
|
attr_accessor :name
|
29866
30404
|
|
30405
|
+
# This field only applies when the loadBalancingScheme is INTERNAL_SELF_MANAGED.
|
30406
|
+
# When set to true the Envoy binds on the IP address specified by the forwarding
|
30407
|
+
# rule. Default is false.
|
30408
|
+
# Corresponds to the JSON property `proxyBind`
|
30409
|
+
# @return [Boolean]
|
30410
|
+
attr_accessor :proxy_bind
|
30411
|
+
alias_method :proxy_bind?, :proxy_bind
|
30412
|
+
|
29867
30413
|
# [Output Only] URL of the region where the regional Target HTTP Proxy resides.
|
29868
30414
|
# This field is not applicable to global Target HTTP Proxies.
|
29869
30415
|
# Corresponds to the JSON property `region`
|
@@ -29892,6 +30438,7 @@ module Google
|
|
29892
30438
|
@id = args[:id] if args.key?(:id)
|
29893
30439
|
@kind = args[:kind] if args.key?(:kind)
|
29894
30440
|
@name = args[:name] if args.key?(:name)
|
30441
|
+
@proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
|
29895
30442
|
@region = args[:region] if args.key?(:region)
|
29896
30443
|
@self_link = args[:self_link] if args.key?(:self_link)
|
29897
30444
|
@url_map = args[:url_map] if args.key?(:url_map)
|
@@ -30266,8 +30813,8 @@ module Google
|
|
30266
30813
|
|
30267
30814
|
# Represents a Target HTTPS Proxy resource.
|
30268
30815
|
# Google Compute Engine has two Target HTTPS Proxy resources:
|
30269
|
-
# * [Global](/compute/docs/reference/rest
|
30270
|
-
# (/compute/docs/reference/rest
|
30816
|
+
# * [Global](/compute/docs/reference/rest/`$api_version`/targetHttpsProxies) * [
|
30817
|
+
# Regional](/compute/docs/reference/rest/`$api_version`/regionTargetHttpsProxies)
|
30271
30818
|
# A target HTTPS proxy is a component of GCP HTTPS load balancers.
|
30272
30819
|
# * targetHttpsProxies are used by external HTTPS load balancers. *
|
30273
30820
|
# regionTargetHttpsProxies are used by internal HTTPS load balancers.
|
@@ -30278,6 +30825,31 @@ module Google
|
|
30278
30825
|
class TargetHttpsProxy
|
30279
30826
|
include Google::Apis::Core::Hashable
|
30280
30827
|
|
30828
|
+
# A URL referring to a networksecurity.Authentication resource that describes
|
30829
|
+
# how the proxy should authenticate inbound traffic. If left blank,
|
30830
|
+
# communications between services are not encrypted (i.e., the TLS policy is set
|
30831
|
+
# to OPEN). When terminating inbound traffic to this proxy, the TerminationTls
|
30832
|
+
# setting of Authentication.TransportAuthentication is applied.
|
30833
|
+
# Refer to the Authentication and Authentication.TransportAuthentication.
|
30834
|
+
# TerminationTls resources for additional details.
|
30835
|
+
# authentication only applies to a global TargetHttpsProxy attached to
|
30836
|
+
# globalForwardingRules with the loadBalancingScheme set to
|
30837
|
+
# INTERNAL_SELF_MANAGED.
|
30838
|
+
# Corresponds to the JSON property `authentication`
|
30839
|
+
# @return [String]
|
30840
|
+
attr_accessor :authentication
|
30841
|
+
|
30842
|
+
# A URL referring to a networksecurity.Authorization resource that describes how
|
30843
|
+
# the proxy should authorize inbound traffic. If left blank, access will not be
|
30844
|
+
# restricted by an authorization policy.
|
30845
|
+
# Refer to the Authorization resource for additional details.
|
30846
|
+
# authorization only applies to a global TargetHttpsProxy attached to
|
30847
|
+
# globalForwardingRules with the loadBalancingScheme set to
|
30848
|
+
# INTERNAL_SELF_MANAGED.
|
30849
|
+
# Corresponds to the JSON property `authorization`
|
30850
|
+
# @return [String]
|
30851
|
+
attr_accessor :authorization
|
30852
|
+
|
30281
30853
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
30282
30854
|
# Corresponds to the JSON property `creationTimestamp`
|
30283
30855
|
# @return [String]
|
@@ -30311,6 +30883,14 @@ module Google
|
|
30311
30883
|
# @return [String]
|
30312
30884
|
attr_accessor :name
|
30313
30885
|
|
30886
|
+
# This field only applies when the loadBalancingScheme is INTERNAL_SELF_MANAGED.
|
30887
|
+
# When set to true the Envoy binds on the IP address specified by the forwarding
|
30888
|
+
# rule. Default is false.
|
30889
|
+
# Corresponds to the JSON property `proxyBind`
|
30890
|
+
# @return [Boolean]
|
30891
|
+
attr_accessor :proxy_bind
|
30892
|
+
alias_method :proxy_bind?, :proxy_bind
|
30893
|
+
|
30314
30894
|
# Specifies the QUIC override policy for this TargetHttpsProxy resource. This
|
30315
30895
|
# setting determines whether the load balancer attempts to negotiate QUIC with
|
30316
30896
|
# clients. You can specify NONE, ENABLE, or DISABLE.
|
@@ -30365,11 +30945,14 @@ module Google
|
|
30365
30945
|
|
30366
30946
|
# Update properties of this object
|
30367
30947
|
def update!(**args)
|
30948
|
+
@authentication = args[:authentication] if args.key?(:authentication)
|
30949
|
+
@authorization = args[:authorization] if args.key?(:authorization)
|
30368
30950
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
30369
30951
|
@description = args[:description] if args.key?(:description)
|
30370
30952
|
@id = args[:id] if args.key?(:id)
|
30371
30953
|
@kind = args[:kind] if args.key?(:kind)
|
30372
30954
|
@name = args[:name] if args.key?(:name)
|
30955
|
+
@proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
|
30373
30956
|
@quic_override = args[:quic_override] if args.key?(:quic_override)
|
30374
30957
|
@region = args[:region] if args.key?(:region)
|
30375
30958
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -31922,7 +32505,7 @@ module Google
|
|
31922
32505
|
# A target TCP proxy is a component of a TCP Proxy load balancer. Global
|
31923
32506
|
# forwarding rules reference target TCP proxy, and the target proxy then
|
31924
32507
|
# references an external backend service. For more information, read TCP Proxy
|
31925
|
-
# Load Balancing
|
32508
|
+
# Load Balancing overview. (== resource_for `$api_version`.targetTcpProxies ==)
|
31926
32509
|
class TargetTcpProxy
|
31927
32510
|
include Google::Apis::Core::Hashable
|
31928
32511
|
|
@@ -32633,8 +33216,8 @@ module Google
|
|
32633
33216
|
|
32634
33217
|
# Represents a URL Map resource.
|
32635
33218
|
# Google Compute Engine has two URL Map resources:
|
32636
|
-
# * [Global](/compute/docs/reference/rest
|
32637
|
-
# docs/reference/rest
|
33219
|
+
# * [Global](/compute/docs/reference/rest/`$api_version`/urlMaps) * [Regional](/
|
33220
|
+
# compute/docs/reference/rest/`$api_version`/regionUrlMaps)
|
32638
33221
|
# A URL map resource is a component of certain types of GCP load balancers and
|
32639
33222
|
# Traffic Director.
|
32640
33223
|
# * urlMaps are used by external HTTP(S) load balancers and Traffic Director. *
|
@@ -33207,8 +33790,8 @@ module Google
|
|
33207
33790
|
|
33208
33791
|
# Represents a URL Map resource.
|
33209
33792
|
# Google Compute Engine has two URL Map resources:
|
33210
|
-
# * [Global](/compute/docs/reference/rest
|
33211
|
-
# docs/reference/rest
|
33793
|
+
# * [Global](/compute/docs/reference/rest/`$api_version`/urlMaps) * [Regional](/
|
33794
|
+
# compute/docs/reference/rest/`$api_version`/regionUrlMaps)
|
33212
33795
|
# A URL map resource is a component of certain types of GCP load balancers and
|
33213
33796
|
# Traffic Director.
|
33214
33797
|
# * urlMaps are used by external HTTP(S) load balancers and Traffic Director. *
|