google-api-client 0.41.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +149 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admob_v1/service.rb +1 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1481 -107
- data/generated/google/apis/apigee_v1/representations.rb +559 -0
- data/generated/google/apis/apigee_v1/service.rb +1162 -117
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +36 -6
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +6 -6
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
- data/generated/google/apis/civicinfo_v2/service.rb +28 -63
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/classroom_v1/service.rb +4 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +271 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +99 -61
- data/generated/google/apis/compute_alpha/representations.rb +3 -0
- data/generated/google/apis/compute_alpha/service.rb +32 -33
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +317 -60
- data/generated/google/apis/compute_beta/representations.rb +72 -0
- data/generated/google/apis/compute_beta/service.rb +308 -33
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +676 -58
- data/generated/google/apis/compute_v1/representations.rb +199 -0
- data/generated/google/apis/compute_v1/service.rb +522 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +123 -5
- data/generated/google/apis/container_v1/representations.rb +50 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +121 -17
- data/generated/google/apis/container_v1beta1/representations.rb +37 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +172 -0
- data/generated/google/apis/content_v2_1/representations.rb +71 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +1606 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +608 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +6 -5
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -5
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +50 -44
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +117 -10
- data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
- data/generated/google/apis/displayvideo_v1/service.rb +78 -5
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/drive_v2/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +212 -1154
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/{groupsmigration_v1.rb → gameservices_v1.rb} +10 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +14 -6
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +12 -4
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +8 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +28 -30
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/recommender_v1/classes.rb +211 -0
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +123 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +1 -3
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +4 -5
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +7 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +17 -6
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/{androidpublisher_v1/representations.rb → vectortile_v1.rb} +11 -6
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_v3/classes.rb +554 -0
- data/generated/google/apis/youtube_v3/representations.rb +281 -0
- data/generated/google/apis/youtube_v3/service.rb +259 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -19
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
|
@@ -87,7 +87,7 @@ module Google
|
|
|
87
87
|
# @return [String]
|
|
88
88
|
attr_accessor :kind
|
|
89
89
|
|
|
90
|
-
# [Output Only] Maximum accelerator cards allowed per instance.
|
|
90
|
+
# [Output Only] Maximum number of accelerator cards allowed per instance.
|
|
91
91
|
# Corresponds to the JSON property `maximumCardsPerInstance`
|
|
92
92
|
# @return [Fixnum]
|
|
93
93
|
attr_accessor :maximum_cards_per_instance
|
|
@@ -97,7 +97,7 @@ module Google
|
|
|
97
97
|
# @return [String]
|
|
98
98
|
attr_accessor :name
|
|
99
99
|
|
|
100
|
-
# [Output Only] Server-defined fully
|
|
100
|
+
# [Output Only] Server-defined, fully qualified URL for this resource.
|
|
101
101
|
# Corresponds to the JSON property `selfLink`
|
|
102
102
|
# @return [String]
|
|
103
103
|
attr_accessor :self_link
|
|
@@ -1419,10 +1419,10 @@ module Google
|
|
|
1419
1419
|
# specified in each AuditConfig are enabled, and the exempted_members in each
|
|
1420
1420
|
# AuditLogConfig are exempted.
|
|
1421
1421
|
# Example Policy with multiple AuditConfigs:
|
|
1422
|
-
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
|
1422
|
+
# ` "audit_configs": [ ` "service": "allServices", "audit_log_configs": [ ` "
|
|
1423
1423
|
# log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
|
|
1424
|
-
# log_type": "DATA_WRITE"
|
|
1425
|
-
# sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ"
|
|
1424
|
+
# log_type": "DATA_WRITE" `, ` "log_type": "ADMIN_READ" ` ] `, ` "service": "
|
|
1425
|
+
# sampleservice.googleapis.com", "audit_log_configs": [ ` "log_type": "DATA_READ"
|
|
1426
1426
|
# `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
|
|
1427
1427
|
# ] ` ] ` ] `
|
|
1428
1428
|
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
@@ -1462,7 +1462,7 @@ module Google
|
|
|
1462
1462
|
|
|
1463
1463
|
# Provides the configuration for logging a type of permissions. Example:
|
|
1464
1464
|
# ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
|
|
1465
|
-
# user:jose@example.com" ] `, ` "log_type": "DATA_WRITE"
|
|
1465
|
+
# user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] `
|
|
1466
1466
|
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
|
|
1467
1467
|
# example.com from DATA_READ logging.
|
|
1468
1468
|
class AuditLogConfig
|
|
@@ -2223,7 +2223,9 @@ module Google
|
|
|
2223
2223
|
# UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group
|
|
2224
2224
|
# will serve up to 100% of its configured capacity (depending on balancingMode).
|
|
2225
2225
|
# A setting of 0 means the group is completely drained, offering 0% of its
|
|
2226
|
-
# available
|
|
2226
|
+
# available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a
|
|
2227
|
+
# setting larger than 0 and smaller than 0.1. You cannot configure a setting of
|
|
2228
|
+
# 0 when there is only one backend attached to the backend service.
|
|
2227
2229
|
# This cannot be used for internal load balancing.
|
|
2228
2230
|
# Corresponds to the JSON property `capacityScaler`
|
|
2229
2231
|
# @return [Float]
|
|
@@ -2603,7 +2605,7 @@ module Google
|
|
|
2603
2605
|
# scoped.
|
|
2604
2606
|
# * [Global](/compute/docs/reference/rest/`$api_version`/backendServices) * [
|
|
2605
2607
|
# Regional](/compute/docs/reference/rest/`$api_version`/regionBackendServices)
|
|
2606
|
-
# For more information,
|
|
2608
|
+
# For more information, see Backend Services.
|
|
2607
2609
|
# (== resource_for `$api_version`.backendService ==)
|
|
2608
2610
|
class BackendService
|
|
2609
2611
|
include Google::Apis::Core::Hashable
|
|
@@ -2739,8 +2741,8 @@ module Google
|
|
|
2739
2741
|
# redirected to the load balancer.
|
|
2740
2742
|
# - MAGLEV: used as a drop in replacement for the ring hash load balancer.
|
|
2741
2743
|
# Maglev is not as stable as ring hash but has faster table lookup build times
|
|
2742
|
-
# and host selection times. For more information about Maglev,
|
|
2743
|
-
#
|
|
2744
|
+
# and host selection times. For more information about Maglev, see https://ai.
|
|
2745
|
+
# google/research/pubs/pub44824
|
|
2744
2746
|
# This field is applicable to either:
|
|
2745
2747
|
# - A regional backend service with the service_protocol set to HTTP, HTTPS, or
|
|
2746
2748
|
# HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED.
|
|
@@ -2842,8 +2844,8 @@ module Google
|
|
|
2842
2844
|
attr_accessor :session_affinity
|
|
2843
2845
|
|
|
2844
2846
|
# The backend service timeout has a different meaning depending on the type of
|
|
2845
|
-
# load balancer. For more information
|
|
2846
|
-
#
|
|
2847
|
+
# load balancer. For more information see, Backend service settings The default
|
|
2848
|
+
# is 30 seconds.
|
|
2847
2849
|
# Corresponds to the JSON property `timeoutSec`
|
|
2848
2850
|
# @return [Fixnum]
|
|
2849
2851
|
attr_accessor :timeout_sec
|
|
@@ -3095,6 +3097,11 @@ module Google
|
|
|
3095
3097
|
class BackendServiceGroupHealth
|
|
3096
3098
|
include Google::Apis::Core::Hashable
|
|
3097
3099
|
|
|
3100
|
+
# Metadata defined as annotations on the network endpoint group.
|
|
3101
|
+
# Corresponds to the JSON property `annotations`
|
|
3102
|
+
# @return [Hash<String,String>]
|
|
3103
|
+
attr_accessor :annotations
|
|
3104
|
+
|
|
3098
3105
|
# Health state of the backend instances or endpoints in requested instance or
|
|
3099
3106
|
# network endpoint group, determined based on configured health checks.
|
|
3100
3107
|
# Corresponds to the JSON property `healthStatus`
|
|
@@ -3113,6 +3120,7 @@ module Google
|
|
|
3113
3120
|
|
|
3114
3121
|
# Update properties of this object
|
|
3115
3122
|
def update!(**args)
|
|
3123
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
|
3116
3124
|
@health_status = args[:health_status] if args.key?(:health_status)
|
|
3117
3125
|
@kind = args[:kind] if args.key?(:kind)
|
|
3118
3126
|
end
|
|
@@ -3122,18 +3130,22 @@ module Google
|
|
|
3122
3130
|
class BackendServiceIap
|
|
3123
3131
|
include Google::Apis::Core::Hashable
|
|
3124
3132
|
|
|
3125
|
-
#
|
|
3133
|
+
# Whether the serving infrastructure will authenticate and authorize all
|
|
3134
|
+
# incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields
|
|
3135
|
+
# must be non-empty.
|
|
3126
3136
|
# Corresponds to the JSON property `enabled`
|
|
3127
3137
|
# @return [Boolean]
|
|
3128
3138
|
attr_accessor :enabled
|
|
3129
3139
|
alias_method :enabled?, :enabled
|
|
3130
3140
|
|
|
3131
|
-
#
|
|
3141
|
+
# OAuth2 client ID to use for the authentication flow.
|
|
3132
3142
|
# Corresponds to the JSON property `oauth2ClientId`
|
|
3133
3143
|
# @return [String]
|
|
3134
3144
|
attr_accessor :oauth2_client_id
|
|
3135
3145
|
|
|
3136
|
-
#
|
|
3146
|
+
# OAuth2 client secret to use for the authentication flow. For security reasons,
|
|
3147
|
+
# this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
|
|
3148
|
+
# value is returned in the oauth2ClientSecretSha256 field.
|
|
3137
3149
|
# Corresponds to the JSON property `oauth2ClientSecret`
|
|
3138
3150
|
# @return [String]
|
|
3139
3151
|
attr_accessor :oauth2_client_secret
|
|
@@ -4545,6 +4557,24 @@ module Google
|
|
|
4545
4557
|
# @return [Fixnum]
|
|
4546
4558
|
attr_accessor :size_gb
|
|
4547
4559
|
|
|
4560
|
+
# The source disk used to create this disk. You can provide this as a partial or
|
|
4561
|
+
# full URL to the resource. For example, the following are valid values:
|
|
4562
|
+
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
|
|
4563
|
+
# - projects/project/zones/zone/disks/disk
|
|
4564
|
+
# - zones/zone/disks/disk
|
|
4565
|
+
# Corresponds to the JSON property `sourceDisk`
|
|
4566
|
+
# @return [String]
|
|
4567
|
+
attr_accessor :source_disk
|
|
4568
|
+
|
|
4569
|
+
# [Output Only] The unique ID of the disk used to create this disk. This value
|
|
4570
|
+
# identifies the exact disk that was used to create this persistent disk. For
|
|
4571
|
+
# example, if you created the persistent disk from a disk that was later deleted
|
|
4572
|
+
# and recreated under the same name, the source disk ID would identify the exact
|
|
4573
|
+
# version of the disk that was used.
|
|
4574
|
+
# Corresponds to the JSON property `sourceDiskId`
|
|
4575
|
+
# @return [String]
|
|
4576
|
+
attr_accessor :source_disk_id
|
|
4577
|
+
|
|
4548
4578
|
# The source image used to create this disk. If the source image is deleted,
|
|
4549
4579
|
# this field will not be set.
|
|
4550
4580
|
# To create a disk with one of the public operating system images, specify the
|
|
@@ -4656,6 +4686,8 @@ module Google
|
|
|
4656
4686
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
|
4657
4687
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
4658
4688
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
|
4689
|
+
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
|
4690
|
+
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
|
|
4659
4691
|
@source_image = args[:source_image] if args.key?(:source_image)
|
|
4660
4692
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
|
4661
4693
|
@source_image_id = args[:source_image_id] if args.key?(:source_image_id)
|
|
@@ -7778,6 +7810,12 @@ module Google
|
|
|
7778
7810
|
# @return [String]
|
|
7779
7811
|
attr_accessor :kind
|
|
7780
7812
|
|
|
7813
|
+
# Configuration of logging on a health check. If logging is enabled, logs will
|
|
7814
|
+
# be exported to Stackdriver.
|
|
7815
|
+
# Corresponds to the JSON property `logConfig`
|
|
7816
|
+
# @return [Google::Apis::ComputeV1::HealthCheckLogConfig]
|
|
7817
|
+
attr_accessor :log_config
|
|
7818
|
+
|
|
7781
7819
|
# Name of the resource. Provided by the client when the resource is created. The
|
|
7782
7820
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
|
7783
7821
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
|
@@ -7844,6 +7882,7 @@ module Google
|
|
|
7844
7882
|
@https_health_check = args[:https_health_check] if args.key?(:https_health_check)
|
|
7845
7883
|
@id = args[:id] if args.key?(:id)
|
|
7846
7884
|
@kind = args[:kind] if args.key?(:kind)
|
|
7885
|
+
@log_config = args[:log_config] if args.key?(:log_config)
|
|
7847
7886
|
@name = args[:name] if args.key?(:name)
|
|
7848
7887
|
@region = args[:region] if args.key?(:region)
|
|
7849
7888
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
@@ -7972,6 +8011,28 @@ module Google
|
|
|
7972
8011
|
end
|
|
7973
8012
|
end
|
|
7974
8013
|
|
|
8014
|
+
# Configuration of logging on a health check. If logging is enabled, logs will
|
|
8015
|
+
# be exported to Stackdriver.
|
|
8016
|
+
class HealthCheckLogConfig
|
|
8017
|
+
include Google::Apis::Core::Hashable
|
|
8018
|
+
|
|
8019
|
+
# Indicates whether or not to export logs. This is false by default, which means
|
|
8020
|
+
# no health check logging will be done.
|
|
8021
|
+
# Corresponds to the JSON property `enable`
|
|
8022
|
+
# @return [Boolean]
|
|
8023
|
+
attr_accessor :enable
|
|
8024
|
+
alias_method :enable?, :enable
|
|
8025
|
+
|
|
8026
|
+
def initialize(**args)
|
|
8027
|
+
update!(**args)
|
|
8028
|
+
end
|
|
8029
|
+
|
|
8030
|
+
# Update properties of this object
|
|
8031
|
+
def update!(**args)
|
|
8032
|
+
@enable = args[:enable] if args.key?(:enable)
|
|
8033
|
+
end
|
|
8034
|
+
end
|
|
8035
|
+
|
|
7975
8036
|
# A full or valid partial URL to a health check. For example, the following are
|
|
7976
8037
|
# valid URLs:
|
|
7977
8038
|
# - https://www.googleapis.com/compute/beta/projects/project-id/global/
|
|
@@ -7996,6 +8057,270 @@ module Google
|
|
|
7996
8057
|
end
|
|
7997
8058
|
end
|
|
7998
8059
|
|
|
8060
|
+
# Represents a Health-Check as a Service resource.
|
|
8061
|
+
# (== resource_for `$api_version`.regionHealthCheckServices ==)
|
|
8062
|
+
class HealthCheckService
|
|
8063
|
+
include Google::Apis::Core::Hashable
|
|
8064
|
+
|
|
8065
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
8066
|
+
# Corresponds to the JSON property `creationTimestamp`
|
|
8067
|
+
# @return [String]
|
|
8068
|
+
attr_accessor :creation_timestamp
|
|
8069
|
+
|
|
8070
|
+
# An optional description of this resource. Provide this property when you
|
|
8071
|
+
# create the resource.
|
|
8072
|
+
# Corresponds to the JSON property `description`
|
|
8073
|
+
# @return [String]
|
|
8074
|
+
attr_accessor :description
|
|
8075
|
+
|
|
8076
|
+
# Fingerprint of this resource. A hash of the contents stored in this object.
|
|
8077
|
+
# This field is used in optimistic locking. This field will be ignored when
|
|
8078
|
+
# inserting a HealthCheckService. An up-to-date fingerprint must be provided in
|
|
8079
|
+
# order to patch/update the HealthCheckService; Otherwise, the request will fail
|
|
8080
|
+
# with error 412 conditionNotMet. To see the latest fingerprint, make a get()
|
|
8081
|
+
# request to retrieve the HealthCheckService.
|
|
8082
|
+
# Corresponds to the JSON property `fingerprint`
|
|
8083
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
8084
|
+
# @return [String]
|
|
8085
|
+
attr_accessor :fingerprint
|
|
8086
|
+
|
|
8087
|
+
# List of URLs to the HealthCheck resources. Must have at least one HealthCheck,
|
|
8088
|
+
# and not more than 10. HealthCheck resources must have portSpecification=
|
|
8089
|
+
# USE_SERVING_PORT. For regional HealthCheckService, the HealthCheck must be
|
|
8090
|
+
# regional and in the same region. For global HealthCheckService, HealthCheck
|
|
8091
|
+
# must be global. Mix of regional and global HealthChecks is not supported.
|
|
8092
|
+
# Multiple regional HealthChecks must belong to the same region. Regional
|
|
8093
|
+
# HealthChecks</code? must belong to the same region as zones of NEGs.
|
|
8094
|
+
# Corresponds to the JSON property `healthChecks`
|
|
8095
|
+
# @return [Array<String>]
|
|
8096
|
+
attr_accessor :health_checks
|
|
8097
|
+
|
|
8098
|
+
# Optional. Policy for how the results from multiple health checks for the same
|
|
8099
|
+
# endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified.
|
|
8100
|
+
# - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
|
|
8101
|
+
# the health check service.
|
|
8102
|
+
# - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the
|
|
8103
|
+
# HealthState of the entire health check service. If all backend's are healthy,
|
|
8104
|
+
# the HealthState of the health check service is HEALTHY. .
|
|
8105
|
+
# Corresponds to the JSON property `healthStatusAggregationPolicy`
|
|
8106
|
+
# @return [String]
|
|
8107
|
+
attr_accessor :health_status_aggregation_policy
|
|
8108
|
+
|
|
8109
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
|
8110
|
+
# defined by the server.
|
|
8111
|
+
# Corresponds to the JSON property `id`
|
|
8112
|
+
# @return [Fixnum]
|
|
8113
|
+
attr_accessor :id
|
|
8114
|
+
|
|
8115
|
+
# [Output only] Type of the resource. Always compute#healthCheckServicefor
|
|
8116
|
+
# health check services.
|
|
8117
|
+
# Corresponds to the JSON property `kind`
|
|
8118
|
+
# @return [String]
|
|
8119
|
+
attr_accessor :kind
|
|
8120
|
+
|
|
8121
|
+
# Name of the resource. The name must be 1-63 characters long, and comply with
|
|
8122
|
+
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
|
8123
|
+
# regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
|
8124
|
+
# character must be a lowercase letter, and all following characters must be a
|
|
8125
|
+
# dash, lowercase letter, or digit, except the last character, which cannot be a
|
|
8126
|
+
# dash.
|
|
8127
|
+
# Corresponds to the JSON property `name`
|
|
8128
|
+
# @return [String]
|
|
8129
|
+
attr_accessor :name
|
|
8130
|
+
|
|
8131
|
+
# List of URLs to the NetworkEndpointGroup resources. Must not have more than
|
|
8132
|
+
# 100. For regional HealthCheckService, NEGs must be in zones in the region of
|
|
8133
|
+
# the HealthCheckService.
|
|
8134
|
+
# Corresponds to the JSON property `networkEndpointGroups`
|
|
8135
|
+
# @return [Array<String>]
|
|
8136
|
+
attr_accessor :network_endpoint_groups
|
|
8137
|
+
|
|
8138
|
+
# List of URLs to the NotificationEndpoint resources. Must not have more than 10.
|
|
8139
|
+
# A list of endpoints for receiving notifications of change in health status.
|
|
8140
|
+
# For regional HealthCheckService, NotificationEndpoint must be regional and in
|
|
8141
|
+
# the same region. For global HealthCheckService, NotificationEndpoint must be
|
|
8142
|
+
# global.
|
|
8143
|
+
# Corresponds to the JSON property `notificationEndpoints`
|
|
8144
|
+
# @return [Array<String>]
|
|
8145
|
+
attr_accessor :notification_endpoints
|
|
8146
|
+
|
|
8147
|
+
# [Output Only] URL of the region where the health check service resides. This
|
|
8148
|
+
# field is not applicable to global health check services. You must specify this
|
|
8149
|
+
# field as part of the HTTP request URL. It is not settable as a field in the
|
|
8150
|
+
# request body.
|
|
8151
|
+
# Corresponds to the JSON property `region`
|
|
8152
|
+
# @return [String]
|
|
8153
|
+
attr_accessor :region
|
|
8154
|
+
|
|
8155
|
+
# [Output Only] Server-defined URL for the resource.
|
|
8156
|
+
# Corresponds to the JSON property `selfLink`
|
|
8157
|
+
# @return [String]
|
|
8158
|
+
attr_accessor :self_link
|
|
8159
|
+
|
|
8160
|
+
def initialize(**args)
|
|
8161
|
+
update!(**args)
|
|
8162
|
+
end
|
|
8163
|
+
|
|
8164
|
+
# Update properties of this object
|
|
8165
|
+
def update!(**args)
|
|
8166
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
8167
|
+
@description = args[:description] if args.key?(:description)
|
|
8168
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
8169
|
+
@health_checks = args[:health_checks] if args.key?(:health_checks)
|
|
8170
|
+
@health_status_aggregation_policy = args[:health_status_aggregation_policy] if args.key?(:health_status_aggregation_policy)
|
|
8171
|
+
@id = args[:id] if args.key?(:id)
|
|
8172
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
8173
|
+
@name = args[:name] if args.key?(:name)
|
|
8174
|
+
@network_endpoint_groups = args[:network_endpoint_groups] if args.key?(:network_endpoint_groups)
|
|
8175
|
+
@notification_endpoints = args[:notification_endpoints] if args.key?(:notification_endpoints)
|
|
8176
|
+
@region = args[:region] if args.key?(:region)
|
|
8177
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
8178
|
+
end
|
|
8179
|
+
end
|
|
8180
|
+
|
|
8181
|
+
# A full or valid partial URL to a health check service. For example, the
|
|
8182
|
+
# following are valid URLs:
|
|
8183
|
+
# - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/
|
|
8184
|
+
# healthCheckServices/health-check-service
|
|
8185
|
+
# - projects/project-id/regions/us-west1/healthCheckServices/health-check-
|
|
8186
|
+
# service
|
|
8187
|
+
# - regions/us-west1/healthCheckServices/health-check-service
|
|
8188
|
+
class HealthCheckServiceReference
|
|
8189
|
+
include Google::Apis::Core::Hashable
|
|
8190
|
+
|
|
8191
|
+
#
|
|
8192
|
+
# Corresponds to the JSON property `healthCheckService`
|
|
8193
|
+
# @return [String]
|
|
8194
|
+
attr_accessor :health_check_service
|
|
8195
|
+
|
|
8196
|
+
def initialize(**args)
|
|
8197
|
+
update!(**args)
|
|
8198
|
+
end
|
|
8199
|
+
|
|
8200
|
+
# Update properties of this object
|
|
8201
|
+
def update!(**args)
|
|
8202
|
+
@health_check_service = args[:health_check_service] if args.key?(:health_check_service)
|
|
8203
|
+
end
|
|
8204
|
+
end
|
|
8205
|
+
|
|
8206
|
+
#
|
|
8207
|
+
class HealthCheckServicesList
|
|
8208
|
+
include Google::Apis::Core::Hashable
|
|
8209
|
+
|
|
8210
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
8211
|
+
# Corresponds to the JSON property `id`
|
|
8212
|
+
# @return [String]
|
|
8213
|
+
attr_accessor :id
|
|
8214
|
+
|
|
8215
|
+
# A list of HealthCheckService resources.
|
|
8216
|
+
# Corresponds to the JSON property `items`
|
|
8217
|
+
# @return [Array<Google::Apis::ComputeV1::HealthCheckService>]
|
|
8218
|
+
attr_accessor :items
|
|
8219
|
+
|
|
8220
|
+
# [Output Only] Type of the resource. Always compute#healthCheckServicesList for
|
|
8221
|
+
# lists of HealthCheckServices.
|
|
8222
|
+
# Corresponds to the JSON property `kind`
|
|
8223
|
+
# @return [String]
|
|
8224
|
+
attr_accessor :kind
|
|
8225
|
+
|
|
8226
|
+
# [Output Only] This token allows you to get the next page of results for list
|
|
8227
|
+
# requests. If the number of results is larger than maxResults, use the
|
|
8228
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
|
8229
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
|
8230
|
+
# continue paging through the results.
|
|
8231
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
8232
|
+
# @return [String]
|
|
8233
|
+
attr_accessor :next_page_token
|
|
8234
|
+
|
|
8235
|
+
# [Output Only] Server-defined URL for this resource.
|
|
8236
|
+
# Corresponds to the JSON property `selfLink`
|
|
8237
|
+
# @return [String]
|
|
8238
|
+
attr_accessor :self_link
|
|
8239
|
+
|
|
8240
|
+
# [Output Only] Informational warning message.
|
|
8241
|
+
# Corresponds to the JSON property `warning`
|
|
8242
|
+
# @return [Google::Apis::ComputeV1::HealthCheckServicesList::Warning]
|
|
8243
|
+
attr_accessor :warning
|
|
8244
|
+
|
|
8245
|
+
def initialize(**args)
|
|
8246
|
+
update!(**args)
|
|
8247
|
+
end
|
|
8248
|
+
|
|
8249
|
+
# Update properties of this object
|
|
8250
|
+
def update!(**args)
|
|
8251
|
+
@id = args[:id] if args.key?(:id)
|
|
8252
|
+
@items = args[:items] if args.key?(:items)
|
|
8253
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
8254
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
8255
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
8256
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
8257
|
+
end
|
|
8258
|
+
|
|
8259
|
+
# [Output Only] Informational warning message.
|
|
8260
|
+
class Warning
|
|
8261
|
+
include Google::Apis::Core::Hashable
|
|
8262
|
+
|
|
8263
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
8264
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
8265
|
+
# Corresponds to the JSON property `code`
|
|
8266
|
+
# @return [String]
|
|
8267
|
+
attr_accessor :code
|
|
8268
|
+
|
|
8269
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
|
8270
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
8271
|
+
# Corresponds to the JSON property `data`
|
|
8272
|
+
# @return [Array<Google::Apis::ComputeV1::HealthCheckServicesList::Warning::Datum>]
|
|
8273
|
+
attr_accessor :data
|
|
8274
|
+
|
|
8275
|
+
# [Output Only] A human-readable description of the warning code.
|
|
8276
|
+
# Corresponds to the JSON property `message`
|
|
8277
|
+
# @return [String]
|
|
8278
|
+
attr_accessor :message
|
|
8279
|
+
|
|
8280
|
+
def initialize(**args)
|
|
8281
|
+
update!(**args)
|
|
8282
|
+
end
|
|
8283
|
+
|
|
8284
|
+
# Update properties of this object
|
|
8285
|
+
def update!(**args)
|
|
8286
|
+
@code = args[:code] if args.key?(:code)
|
|
8287
|
+
@data = args[:data] if args.key?(:data)
|
|
8288
|
+
@message = args[:message] if args.key?(:message)
|
|
8289
|
+
end
|
|
8290
|
+
|
|
8291
|
+
#
|
|
8292
|
+
class Datum
|
|
8293
|
+
include Google::Apis::Core::Hashable
|
|
8294
|
+
|
|
8295
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
8296
|
+
# For example, for warnings where there are no results in a list request for a
|
|
8297
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
8298
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
8299
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
8300
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
8301
|
+
# for IP forwarding).
|
|
8302
|
+
# Corresponds to the JSON property `key`
|
|
8303
|
+
# @return [String]
|
|
8304
|
+
attr_accessor :key
|
|
8305
|
+
|
|
8306
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
8307
|
+
# Corresponds to the JSON property `value`
|
|
8308
|
+
# @return [String]
|
|
8309
|
+
attr_accessor :value
|
|
8310
|
+
|
|
8311
|
+
def initialize(**args)
|
|
8312
|
+
update!(**args)
|
|
8313
|
+
end
|
|
8314
|
+
|
|
8315
|
+
# Update properties of this object
|
|
8316
|
+
def update!(**args)
|
|
8317
|
+
@key = args[:key] if args.key?(:key)
|
|
8318
|
+
@value = args[:value] if args.key?(:value)
|
|
8319
|
+
end
|
|
8320
|
+
end
|
|
8321
|
+
end
|
|
8322
|
+
end
|
|
8323
|
+
|
|
7999
8324
|
#
|
|
8000
8325
|
class HealthChecksAggregatedList
|
|
8001
8326
|
include Google::Apis::Core::Hashable
|
|
@@ -8208,6 +8533,11 @@ module Google
|
|
|
8208
8533
|
class HealthStatus
|
|
8209
8534
|
include Google::Apis::Core::Hashable
|
|
8210
8535
|
|
|
8536
|
+
# Metadata defined as annotations for network endpoint.
|
|
8537
|
+
# Corresponds to the JSON property `annotations`
|
|
8538
|
+
# @return [Hash<String,String>]
|
|
8539
|
+
attr_accessor :annotations
|
|
8540
|
+
|
|
8211
8541
|
# Health state of the instance.
|
|
8212
8542
|
# Corresponds to the JSON property `healthState`
|
|
8213
8543
|
# @return [String]
|
|
@@ -8235,6 +8565,7 @@ module Google
|
|
|
8235
8565
|
|
|
8236
8566
|
# Update properties of this object
|
|
8237
8567
|
def update!(**args)
|
|
8568
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
|
8238
8569
|
@health_state = args[:health_state] if args.key?(:health_state)
|
|
8239
8570
|
@instance = args[:instance] if args.key?(:instance)
|
|
8240
8571
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
@@ -8268,6 +8599,17 @@ module Google
|
|
|
8268
8599
|
# @return [Google::Apis::ComputeV1::HealthCheckReference]
|
|
8269
8600
|
attr_accessor :health_check
|
|
8270
8601
|
|
|
8602
|
+
# A full or valid partial URL to a health check service. For example, the
|
|
8603
|
+
# following are valid URLs:
|
|
8604
|
+
# - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/
|
|
8605
|
+
# healthCheckServices/health-check-service
|
|
8606
|
+
# - projects/project-id/regions/us-west1/healthCheckServices/health-check-
|
|
8607
|
+
# service
|
|
8608
|
+
# - regions/us-west1/healthCheckServices/health-check-service
|
|
8609
|
+
# Corresponds to the JSON property `healthCheckService`
|
|
8610
|
+
# @return [Google::Apis::ComputeV1::HealthCheckServiceReference]
|
|
8611
|
+
attr_accessor :health_check_service
|
|
8612
|
+
|
|
8271
8613
|
# Health state of the network endpoint determined based on the health checks
|
|
8272
8614
|
# configured.
|
|
8273
8615
|
# Corresponds to the JSON property `healthState`
|
|
@@ -8283,6 +8625,7 @@ module Google
|
|
|
8283
8625
|
@backend_service = args[:backend_service] if args.key?(:backend_service)
|
|
8284
8626
|
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
|
8285
8627
|
@health_check = args[:health_check] if args.key?(:health_check)
|
|
8628
|
+
@health_check_service = args[:health_check_service] if args.key?(:health_check_service)
|
|
8286
8629
|
@health_state = args[:health_state] if args.key?(:health_state)
|
|
8287
8630
|
end
|
|
8288
8631
|
end
|
|
@@ -9597,11 +9940,13 @@ module Google
|
|
|
9597
9940
|
# @return [String]
|
|
9598
9941
|
attr_accessor :source_disk_id
|
|
9599
9942
|
|
|
9600
|
-
# URL of the source image used to create this image.
|
|
9601
|
-
#
|
|
9602
|
-
#
|
|
9603
|
-
# -
|
|
9604
|
-
# -
|
|
9943
|
+
# URL of the source image used to create this image.
|
|
9944
|
+
# In order to create an image, you must provide the full or partial URL of one
|
|
9945
|
+
# of the following:
|
|
9946
|
+
# - The selfLink URL
|
|
9947
|
+
# - This property
|
|
9948
|
+
# - The rawDisk.source URL
|
|
9949
|
+
# - The sourceDisk URL
|
|
9605
9950
|
# Corresponds to the JSON property `sourceImage`
|
|
9606
9951
|
# @return [String]
|
|
9607
9952
|
attr_accessor :source_image
|
|
@@ -9618,12 +9963,14 @@ module Google
|
|
|
9618
9963
|
# @return [String]
|
|
9619
9964
|
attr_accessor :source_image_id
|
|
9620
9965
|
|
|
9621
|
-
# URL of the source snapshot used to create this image.
|
|
9622
|
-
#
|
|
9623
|
-
#
|
|
9624
|
-
# -
|
|
9625
|
-
# -
|
|
9626
|
-
# -
|
|
9966
|
+
# URL of the source snapshot used to create this image.
|
|
9967
|
+
# In order to create an image, you must provide the full or partial URL of one
|
|
9968
|
+
# of the following:
|
|
9969
|
+
# - The selfLink URL
|
|
9970
|
+
# - This property
|
|
9971
|
+
# - The sourceImage URL
|
|
9972
|
+
# - The rawDisk.source URL
|
|
9973
|
+
# - The sourceDisk URL
|
|
9627
9974
|
# Corresponds to the JSON property `sourceSnapshot`
|
|
9628
9975
|
# @return [String]
|
|
9629
9976
|
attr_accessor :source_snapshot
|
|
@@ -12320,9 +12667,9 @@ module Google
|
|
|
12320
12667
|
class InstanceProperties
|
|
12321
12668
|
include Google::Apis::Core::Hashable
|
|
12322
12669
|
|
|
12323
|
-
# Enables instances created based on
|
|
12324
|
-
# IP addresses other than their own and receive packets with destination
|
|
12325
|
-
# addresses other than their own. If these instances will be used as an IP
|
|
12670
|
+
# Enables instances created based on these properties to send packets with
|
|
12671
|
+
# source IP addresses other than their own and receive packets with destination
|
|
12672
|
+
# IP addresses other than their own. If these instances will be used as an IP
|
|
12326
12673
|
# gateway or it will be set as the next-hop in a Route resource, specify true.
|
|
12327
12674
|
# If unsure, leave this set to false. See the Enable IP forwarding documentation
|
|
12328
12675
|
# for more information.
|
|
@@ -12331,30 +12678,30 @@ module Google
|
|
|
12331
12678
|
attr_accessor :can_ip_forward
|
|
12332
12679
|
alias_method :can_ip_forward?, :can_ip_forward
|
|
12333
12680
|
|
|
12334
|
-
# An optional text description for the instances that are created from
|
|
12335
|
-
#
|
|
12681
|
+
# An optional text description for the instances that are created from these
|
|
12682
|
+
# properties.
|
|
12336
12683
|
# Corresponds to the JSON property `description`
|
|
12337
12684
|
# @return [String]
|
|
12338
12685
|
attr_accessor :description
|
|
12339
12686
|
|
|
12340
12687
|
# An array of disks that are associated with the instances that are created from
|
|
12341
|
-
#
|
|
12688
|
+
# these properties.
|
|
12342
12689
|
# Corresponds to the JSON property `disks`
|
|
12343
12690
|
# @return [Array<Google::Apis::ComputeV1::AttachedDisk>]
|
|
12344
12691
|
attr_accessor :disks
|
|
12345
12692
|
|
|
12346
12693
|
# A list of guest accelerator cards' type and count to use for instances created
|
|
12347
|
-
# from
|
|
12694
|
+
# from these properties.
|
|
12348
12695
|
# Corresponds to the JSON property `guestAccelerators`
|
|
12349
12696
|
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
|
12350
12697
|
attr_accessor :guest_accelerators
|
|
12351
12698
|
|
|
12352
|
-
# Labels to apply to instances that are created from
|
|
12699
|
+
# Labels to apply to instances that are created from these properties.
|
|
12353
12700
|
# Corresponds to the JSON property `labels`
|
|
12354
12701
|
# @return [Hash<String,String>]
|
|
12355
12702
|
attr_accessor :labels
|
|
12356
12703
|
|
|
12357
|
-
# The machine type to use for instances that are created from
|
|
12704
|
+
# The machine type to use for instances that are created from these properties.
|
|
12358
12705
|
# Corresponds to the JSON property `machineType`
|
|
12359
12706
|
# @return [String]
|
|
12360
12707
|
attr_accessor :machine_type
|
|
@@ -12364,11 +12711,11 @@ module Google
|
|
|
12364
12711
|
# @return [Google::Apis::ComputeV1::Metadata]
|
|
12365
12712
|
attr_accessor :metadata
|
|
12366
12713
|
|
|
12367
|
-
# Minimum cpu/platform to be used by
|
|
12368
|
-
#
|
|
12369
|
-
#
|
|
12370
|
-
#
|
|
12371
|
-
#
|
|
12714
|
+
# Minimum cpu/platform to be used by instances. The instance may be scheduled on
|
|
12715
|
+
# the specified or newer cpu/platform. Applicable values are the friendly names
|
|
12716
|
+
# of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "
|
|
12717
|
+
# Intel Sandy Bridge". For more information, read Specifying a Minimum CPU
|
|
12718
|
+
# Platform.
|
|
12372
12719
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
12373
12720
|
# @return [String]
|
|
12374
12721
|
attr_accessor :min_cpu_platform
|
|
@@ -12378,7 +12725,7 @@ module Google
|
|
|
12378
12725
|
# @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
|
|
12379
12726
|
attr_accessor :network_interfaces
|
|
12380
12727
|
|
|
12381
|
-
# The private IPv6 google access type for
|
|
12728
|
+
# The private IPv6 google access type for VMs. If not specified, use
|
|
12382
12729
|
# INHERIT_FROM_SUBNETWORK as default.
|
|
12383
12730
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
|
12384
12731
|
# @return [String]
|
|
@@ -12389,8 +12736,8 @@ module Google
|
|
|
12389
12736
|
# @return [Google::Apis::ComputeV1::ReservationAffinity]
|
|
12390
12737
|
attr_accessor :reservation_affinity
|
|
12391
12738
|
|
|
12392
|
-
# Resource policies (names, not ULRs) applied to instances created from
|
|
12393
|
-
#
|
|
12739
|
+
# Resource policies (names, not ULRs) applied to instances created from these
|
|
12740
|
+
# properties.
|
|
12394
12741
|
# Corresponds to the JSON property `resourcePolicies`
|
|
12395
12742
|
# @return [Array<String>]
|
|
12396
12743
|
attr_accessor :resource_policies
|
|
@@ -12401,8 +12748,9 @@ module Google
|
|
|
12401
12748
|
attr_accessor :scheduling
|
|
12402
12749
|
|
|
12403
12750
|
# A list of service accounts with specified scopes. Access tokens for these
|
|
12404
|
-
# service accounts are available to the instances that are created from
|
|
12405
|
-
#
|
|
12751
|
+
# service accounts are available to the instances that are created from these
|
|
12752
|
+
# properties. Use metadata queries to obtain the access tokens for these
|
|
12753
|
+
# instances.
|
|
12406
12754
|
# Corresponds to the JSON property `serviceAccounts`
|
|
12407
12755
|
# @return [Array<Google::Apis::ComputeV1::ServiceAccount>]
|
|
12408
12756
|
attr_accessor :service_accounts
|
|
@@ -13814,8 +14162,7 @@ module Google
|
|
|
13814
14162
|
end
|
|
13815
14163
|
|
|
13816
14164
|
# Describes a single physical circuit between the Customer and Google.
|
|
13817
|
-
# CircuitInfo objects are created by Google, so all fields are output only.
|
|
13818
|
-
# id: 4
|
|
14165
|
+
# CircuitInfo objects are created by Google, so all fields are output only.
|
|
13819
14166
|
class InterconnectCircuitInfo
|
|
13820
14167
|
include Google::Apis::Core::Hashable
|
|
13821
14168
|
|
|
@@ -14423,7 +14770,7 @@ module Google
|
|
|
14423
14770
|
end
|
|
14424
14771
|
end
|
|
14425
14772
|
|
|
14426
|
-
# Description of a planned outage on this Interconnect.
|
|
14773
|
+
# Description of a planned outage on this Interconnect.
|
|
14427
14774
|
class InterconnectOutageNotification
|
|
14428
14775
|
include Google::Apis::Core::Hashable
|
|
14429
14776
|
|
|
@@ -15882,10 +16229,12 @@ module Google
|
|
|
15882
16229
|
# @return [String]
|
|
15883
16230
|
attr_accessor :i_pv4_range
|
|
15884
16231
|
|
|
15885
|
-
# When set to true, the VPC network is created in
|
|
15886
|
-
# the VPC network is created in
|
|
16232
|
+
# When set to true, the VPC network is created in auto mode. When set to false,
|
|
16233
|
+
# the VPC network is created in custom mode.
|
|
15887
16234
|
# An auto mode VPC network starts with one subnet per region. Each subnet has a
|
|
15888
16235
|
# predetermined range as described in Auto mode VPC network IP ranges.
|
|
16236
|
+
# For custom mode VPC networks, you can add subnets using the subnetworks insert
|
|
16237
|
+
# method.
|
|
15889
16238
|
# Corresponds to the JSON property `autoCreateSubnetworks`
|
|
15890
16239
|
# @return [Boolean]
|
|
15891
16240
|
attr_accessor :auto_create_subnetworks
|
|
@@ -15973,10 +16322,15 @@ module Google
|
|
|
15973
16322
|
end
|
|
15974
16323
|
end
|
|
15975
16324
|
|
|
15976
|
-
# The network endpoint.
|
|
16325
|
+
# The network endpoint.
|
|
15977
16326
|
class NetworkEndpoint
|
|
15978
16327
|
include Google::Apis::Core::Hashable
|
|
15979
16328
|
|
|
16329
|
+
# Metadata defined as annotations on the network endpoint.
|
|
16330
|
+
# Corresponds to the JSON property `annotations`
|
|
16331
|
+
# @return [Hash<String,String>]
|
|
16332
|
+
attr_accessor :annotations
|
|
16333
|
+
|
|
15980
16334
|
# Optional fully qualified domain name of network endpoint. This can only be
|
|
15981
16335
|
# specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
|
|
15982
16336
|
# Corresponds to the JSON property `fqdn`
|
|
@@ -16013,6 +16367,7 @@ module Google
|
|
|
16013
16367
|
|
|
16014
16368
|
# Update properties of this object
|
|
16015
16369
|
def update!(**args)
|
|
16370
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
|
16016
16371
|
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
|
16017
16372
|
@instance = args[:instance] if args.key?(:instance)
|
|
16018
16373
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
@@ -16029,6 +16384,11 @@ module Google
|
|
|
16029
16384
|
class NetworkEndpointGroup
|
|
16030
16385
|
include Google::Apis::Core::Hashable
|
|
16031
16386
|
|
|
16387
|
+
# Metadata defined as annotations on the network endpoint group.
|
|
16388
|
+
# Corresponds to the JSON property `annotations`
|
|
16389
|
+
# @return [Hash<String,String>]
|
|
16390
|
+
attr_accessor :annotations
|
|
16391
|
+
|
|
16032
16392
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
16033
16393
|
# Corresponds to the JSON property `creationTimestamp`
|
|
16034
16394
|
# @return [String]
|
|
@@ -16106,6 +16466,7 @@ module Google
|
|
|
16106
16466
|
|
|
16107
16467
|
# Update properties of this object
|
|
16108
16468
|
def update!(**args)
|
|
16469
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
|
16109
16470
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
16110
16471
|
@default_port = args[:default_port] if args.key?(:default_port)
|
|
16111
16472
|
@description = args[:description] if args.key?(:description)
|
|
@@ -16631,7 +16992,7 @@ module Google
|
|
|
16631
16992
|
# @return [Array<Google::Apis::ComputeV1::HealthStatusForNetworkEndpoint>]
|
|
16632
16993
|
attr_accessor :healths
|
|
16633
16994
|
|
|
16634
|
-
# The network endpoint.
|
|
16995
|
+
# The network endpoint.
|
|
16635
16996
|
# Corresponds to the JSON property `networkEndpoint`
|
|
16636
16997
|
# @return [Google::Apis::ComputeV1::NetworkEndpoint]
|
|
16637
16998
|
attr_accessor :network_endpoint
|
|
@@ -17134,7 +17495,7 @@ module Google
|
|
|
17134
17495
|
# @return [String]
|
|
17135
17496
|
attr_accessor :name
|
|
17136
17497
|
|
|
17137
|
-
#
|
|
17498
|
+
# URL of the node template to create the node group from.
|
|
17138
17499
|
# Corresponds to the JSON property `nodeTemplate`
|
|
17139
17500
|
# @return [String]
|
|
17140
17501
|
attr_accessor :node_template
|
|
@@ -17768,7 +18129,7 @@ module Google
|
|
|
17768
18129
|
# Represent a sole-tenant Node Template resource.
|
|
17769
18130
|
# You can use a template to define properties for nodes in a node group. For
|
|
17770
18131
|
# more information, read Creating node groups and instances. (== resource_for `$
|
|
17771
|
-
# api_version`.nodeTemplates ==)
|
|
18132
|
+
# api_version`.nodeTemplates ==)
|
|
17772
18133
|
class NodeTemplate
|
|
17773
18134
|
include Google::Apis::Core::Hashable
|
|
17774
18135
|
|
|
@@ -18656,6 +19017,255 @@ module Google
|
|
|
18656
19017
|
end
|
|
18657
19018
|
end
|
|
18658
19019
|
|
|
19020
|
+
# Represents a notification endpoint.
|
|
19021
|
+
# A notification endpoint resource defines an endpoint to receive notifications
|
|
19022
|
+
# when there are status changes detected by the associated health check service.
|
|
19023
|
+
# For more information, see Health checks overview. (== resource_for `$
|
|
19024
|
+
# api_version`.notificationEndpoint ==) (== resource_for `$api_version`.
|
|
19025
|
+
# regionNotificationEndpoints ==)
|
|
19026
|
+
class NotificationEndpoint
|
|
19027
|
+
include Google::Apis::Core::Hashable
|
|
19028
|
+
|
|
19029
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
19030
|
+
# Corresponds to the JSON property `creationTimestamp`
|
|
19031
|
+
# @return [String]
|
|
19032
|
+
attr_accessor :creation_timestamp
|
|
19033
|
+
|
|
19034
|
+
# An optional description of this resource. Provide this property when you
|
|
19035
|
+
# create the resource.
|
|
19036
|
+
# Corresponds to the JSON property `description`
|
|
19037
|
+
# @return [String]
|
|
19038
|
+
attr_accessor :description
|
|
19039
|
+
|
|
19040
|
+
# Represents a gRPC setting that describes one gRPC notification endpoint and
|
|
19041
|
+
# the retry duration attempting to send notification to this endpoint.
|
|
19042
|
+
# Corresponds to the JSON property `grpcSettings`
|
|
19043
|
+
# @return [Google::Apis::ComputeV1::NotificationEndpointGrpcSettings]
|
|
19044
|
+
attr_accessor :grpc_settings
|
|
19045
|
+
|
|
19046
|
+
# [Output Only] A unique identifier for this resource type. The server generates
|
|
19047
|
+
# this identifier.
|
|
19048
|
+
# Corresponds to the JSON property `id`
|
|
19049
|
+
# @return [Fixnum]
|
|
19050
|
+
attr_accessor :id
|
|
19051
|
+
|
|
19052
|
+
# [Output Only] Type of the resource. Always compute#notificationEndpoint for
|
|
19053
|
+
# notification endpoints.
|
|
19054
|
+
# Corresponds to the JSON property `kind`
|
|
19055
|
+
# @return [String]
|
|
19056
|
+
attr_accessor :kind
|
|
19057
|
+
|
|
19058
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
|
19059
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
|
19060
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
|
19061
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
|
19062
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
|
19063
|
+
# except the last character, which cannot be a dash.
|
|
19064
|
+
# Corresponds to the JSON property `name`
|
|
19065
|
+
# @return [String]
|
|
19066
|
+
attr_accessor :name
|
|
19067
|
+
|
|
19068
|
+
# [Output Only] URL of the region where the notification endpoint resides. This
|
|
19069
|
+
# field applies only to the regional resource. You must specify this field as
|
|
19070
|
+
# part of the HTTP request URL. It is not settable as a field in the request
|
|
19071
|
+
# body.
|
|
19072
|
+
# Corresponds to the JSON property `region`
|
|
19073
|
+
# @return [String]
|
|
19074
|
+
attr_accessor :region
|
|
19075
|
+
|
|
19076
|
+
# [Output Only] Server-defined URL for the resource.
|
|
19077
|
+
# Corresponds to the JSON property `selfLink`
|
|
19078
|
+
# @return [String]
|
|
19079
|
+
attr_accessor :self_link
|
|
19080
|
+
|
|
19081
|
+
def initialize(**args)
|
|
19082
|
+
update!(**args)
|
|
19083
|
+
end
|
|
19084
|
+
|
|
19085
|
+
# Update properties of this object
|
|
19086
|
+
def update!(**args)
|
|
19087
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
19088
|
+
@description = args[:description] if args.key?(:description)
|
|
19089
|
+
@grpc_settings = args[:grpc_settings] if args.key?(:grpc_settings)
|
|
19090
|
+
@id = args[:id] if args.key?(:id)
|
|
19091
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
19092
|
+
@name = args[:name] if args.key?(:name)
|
|
19093
|
+
@region = args[:region] if args.key?(:region)
|
|
19094
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
19095
|
+
end
|
|
19096
|
+
end
|
|
19097
|
+
|
|
19098
|
+
# Represents a gRPC setting that describes one gRPC notification endpoint and
|
|
19099
|
+
# the retry duration attempting to send notification to this endpoint.
|
|
19100
|
+
class NotificationEndpointGrpcSettings
|
|
19101
|
+
include Google::Apis::Core::Hashable
|
|
19102
|
+
|
|
19103
|
+
# Optional. If specified, this field is used to set the authority header by the
|
|
19104
|
+
# sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.
|
|
19105
|
+
# 3
|
|
19106
|
+
# Corresponds to the JSON property `authority`
|
|
19107
|
+
# @return [String]
|
|
19108
|
+
attr_accessor :authority
|
|
19109
|
+
|
|
19110
|
+
# Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS
|
|
19111
|
+
# name.
|
|
19112
|
+
# Corresponds to the JSON property `endpoint`
|
|
19113
|
+
# @return [String]
|
|
19114
|
+
attr_accessor :endpoint
|
|
19115
|
+
|
|
19116
|
+
# Optional. If specified, this field is used to populate the "name" field in
|
|
19117
|
+
# gRPC requests.
|
|
19118
|
+
# Corresponds to the JSON property `payloadName`
|
|
19119
|
+
# @return [String]
|
|
19120
|
+
attr_accessor :payload_name
|
|
19121
|
+
|
|
19122
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
|
19123
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
|
19124
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
|
19125
|
+
# 000 years.
|
|
19126
|
+
# Corresponds to the JSON property `resendInterval`
|
|
19127
|
+
# @return [Google::Apis::ComputeV1::Duration]
|
|
19128
|
+
attr_accessor :resend_interval
|
|
19129
|
+
|
|
19130
|
+
# How much time (in seconds) is spent attempting notification retries until a
|
|
19131
|
+
# successful response is received. Default is 30s. Limit is 20m (1200s). Must be
|
|
19132
|
+
# a positive number.
|
|
19133
|
+
# Corresponds to the JSON property `retryDurationSec`
|
|
19134
|
+
# @return [Fixnum]
|
|
19135
|
+
attr_accessor :retry_duration_sec
|
|
19136
|
+
|
|
19137
|
+
def initialize(**args)
|
|
19138
|
+
update!(**args)
|
|
19139
|
+
end
|
|
19140
|
+
|
|
19141
|
+
# Update properties of this object
|
|
19142
|
+
def update!(**args)
|
|
19143
|
+
@authority = args[:authority] if args.key?(:authority)
|
|
19144
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
|
19145
|
+
@payload_name = args[:payload_name] if args.key?(:payload_name)
|
|
19146
|
+
@resend_interval = args[:resend_interval] if args.key?(:resend_interval)
|
|
19147
|
+
@retry_duration_sec = args[:retry_duration_sec] if args.key?(:retry_duration_sec)
|
|
19148
|
+
end
|
|
19149
|
+
end
|
|
19150
|
+
|
|
19151
|
+
#
|
|
19152
|
+
class NotificationEndpointList
|
|
19153
|
+
include Google::Apis::Core::Hashable
|
|
19154
|
+
|
|
19155
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
19156
|
+
# Corresponds to the JSON property `id`
|
|
19157
|
+
# @return [String]
|
|
19158
|
+
attr_accessor :id
|
|
19159
|
+
|
|
19160
|
+
# A list of NotificationEndpoint resources.
|
|
19161
|
+
# Corresponds to the JSON property `items`
|
|
19162
|
+
# @return [Array<Google::Apis::ComputeV1::NotificationEndpoint>]
|
|
19163
|
+
attr_accessor :items
|
|
19164
|
+
|
|
19165
|
+
# [Output Only] Type of the resource. Always compute#notificationEndpoint for
|
|
19166
|
+
# notification endpoints.
|
|
19167
|
+
# Corresponds to the JSON property `kind`
|
|
19168
|
+
# @return [String]
|
|
19169
|
+
attr_accessor :kind
|
|
19170
|
+
|
|
19171
|
+
# [Output Only] This token allows you to get the next page of results for list
|
|
19172
|
+
# requests. If the number of results is larger than maxResults, use the
|
|
19173
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
|
19174
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
|
19175
|
+
# continue paging through the results.
|
|
19176
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
19177
|
+
# @return [String]
|
|
19178
|
+
attr_accessor :next_page_token
|
|
19179
|
+
|
|
19180
|
+
# [Output Only] Server-defined URL for this resource.
|
|
19181
|
+
# Corresponds to the JSON property `selfLink`
|
|
19182
|
+
# @return [String]
|
|
19183
|
+
attr_accessor :self_link
|
|
19184
|
+
|
|
19185
|
+
# [Output Only] Informational warning message.
|
|
19186
|
+
# Corresponds to the JSON property `warning`
|
|
19187
|
+
# @return [Google::Apis::ComputeV1::NotificationEndpointList::Warning]
|
|
19188
|
+
attr_accessor :warning
|
|
19189
|
+
|
|
19190
|
+
def initialize(**args)
|
|
19191
|
+
update!(**args)
|
|
19192
|
+
end
|
|
19193
|
+
|
|
19194
|
+
# Update properties of this object
|
|
19195
|
+
def update!(**args)
|
|
19196
|
+
@id = args[:id] if args.key?(:id)
|
|
19197
|
+
@items = args[:items] if args.key?(:items)
|
|
19198
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
19199
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
19200
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
19201
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
19202
|
+
end
|
|
19203
|
+
|
|
19204
|
+
# [Output Only] Informational warning message.
|
|
19205
|
+
class Warning
|
|
19206
|
+
include Google::Apis::Core::Hashable
|
|
19207
|
+
|
|
19208
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
19209
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
19210
|
+
# Corresponds to the JSON property `code`
|
|
19211
|
+
# @return [String]
|
|
19212
|
+
attr_accessor :code
|
|
19213
|
+
|
|
19214
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
|
19215
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
19216
|
+
# Corresponds to the JSON property `data`
|
|
19217
|
+
# @return [Array<Google::Apis::ComputeV1::NotificationEndpointList::Warning::Datum>]
|
|
19218
|
+
attr_accessor :data
|
|
19219
|
+
|
|
19220
|
+
# [Output Only] A human-readable description of the warning code.
|
|
19221
|
+
# Corresponds to the JSON property `message`
|
|
19222
|
+
# @return [String]
|
|
19223
|
+
attr_accessor :message
|
|
19224
|
+
|
|
19225
|
+
def initialize(**args)
|
|
19226
|
+
update!(**args)
|
|
19227
|
+
end
|
|
19228
|
+
|
|
19229
|
+
# Update properties of this object
|
|
19230
|
+
def update!(**args)
|
|
19231
|
+
@code = args[:code] if args.key?(:code)
|
|
19232
|
+
@data = args[:data] if args.key?(:data)
|
|
19233
|
+
@message = args[:message] if args.key?(:message)
|
|
19234
|
+
end
|
|
19235
|
+
|
|
19236
|
+
#
|
|
19237
|
+
class Datum
|
|
19238
|
+
include Google::Apis::Core::Hashable
|
|
19239
|
+
|
|
19240
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
19241
|
+
# For example, for warnings where there are no results in a list request for a
|
|
19242
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
19243
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
19244
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
19245
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
19246
|
+
# for IP forwarding).
|
|
19247
|
+
# Corresponds to the JSON property `key`
|
|
19248
|
+
# @return [String]
|
|
19249
|
+
attr_accessor :key
|
|
19250
|
+
|
|
19251
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
19252
|
+
# Corresponds to the JSON property `value`
|
|
19253
|
+
# @return [String]
|
|
19254
|
+
attr_accessor :value
|
|
19255
|
+
|
|
19256
|
+
def initialize(**args)
|
|
19257
|
+
update!(**args)
|
|
19258
|
+
end
|
|
19259
|
+
|
|
19260
|
+
# Update properties of this object
|
|
19261
|
+
def update!(**args)
|
|
19262
|
+
@key = args[:key] if args.key?(:key)
|
|
19263
|
+
@value = args[:value] if args.key?(:value)
|
|
19264
|
+
end
|
|
19265
|
+
end
|
|
19266
|
+
end
|
|
19267
|
+
end
|
|
19268
|
+
|
|
18659
19269
|
# Represents an Operation resource.
|
|
18660
19270
|
# Google Compute Engine has three Operation resources:
|
|
18661
19271
|
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
|
@@ -20024,6 +20634,8 @@ module Google
|
|
|
20024
20634
|
# defaultService must not be set. Conversely if defaultService is set,
|
|
20025
20635
|
# defaultRouteAction cannot contain any weightedBackendServices.
|
|
20026
20636
|
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
|
20637
|
+
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
|
20638
|
+
# within a pathMatcher's defaultRouteAction.
|
|
20027
20639
|
# Corresponds to the JSON property `defaultRouteAction`
|
|
20028
20640
|
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
|
20029
20641
|
attr_accessor :default_route_action
|
|
@@ -20127,6 +20739,8 @@ module Google
|
|
|
20127
20739
|
# weightedBackendServices, service must not be set. Conversely if service is set,
|
|
20128
20740
|
# routeAction cannot contain any weightedBackendServices.
|
|
20129
20741
|
# Only one of routeAction or urlRedirect must be set.
|
|
20742
|
+
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
|
20743
|
+
# within a pathRule's routeAction.
|
|
20130
20744
|
# Corresponds to the JSON property `routeAction`
|
|
20131
20745
|
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
|
20132
20746
|
attr_accessor :route_action
|
|
@@ -24357,7 +24971,7 @@ module Google
|
|
|
24357
24971
|
end
|
|
24358
24972
|
end
|
|
24359
24973
|
|
|
24360
|
-
# Status of a NAT contained in this router.
|
|
24974
|
+
# Status of a NAT contained in this router.
|
|
24361
24975
|
class RouterStatusNatStatus
|
|
24362
24976
|
include Google::Apis::Core::Hashable
|
|
24363
24977
|
|
|
@@ -24715,8 +25329,9 @@ module Google
|
|
|
24715
25329
|
attr_accessor :on_host_maintenance
|
|
24716
25330
|
|
|
24717
25331
|
# Defines whether the instance is preemptible. This can only be set during
|
|
24718
|
-
# instance creation
|
|
24719
|
-
#
|
|
25332
|
+
# instance creation or while the instance is stopped and therefore, in a `
|
|
25333
|
+
# TERMINATED` state. See Instance Life Cycle for more information on the
|
|
25334
|
+
# possible instance states.
|
|
24720
25335
|
# Corresponds to the JSON property `preemptible`
|
|
24721
25336
|
# @return [Boolean]
|
|
24722
25337
|
attr_accessor :preemptible
|
|
@@ -26598,7 +27213,8 @@ module Google
|
|
|
26598
27213
|
# The range of internal addresses that are owned by this subnetwork. Provide
|
|
26599
27214
|
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
|
|
26600
27215
|
# 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
|
|
26601
|
-
# IPv4 is supported. This field
|
|
27216
|
+
# IPv4 is supported. This field is set at resource creation time. The range can
|
|
27217
|
+
# be expanded after creation using expandIpCidrRange.
|
|
26602
27218
|
# Corresponds to the JSON property `ipCidrRange`
|
|
26603
27219
|
# @return [String]
|
|
26604
27220
|
attr_accessor :ip_cidr_range
|
|
@@ -30131,6 +30747,8 @@ module Google
|
|
|
30131
30747
|
# must not be set. Conversely if defaultService is set, defaultRouteAction
|
|
30132
30748
|
# cannot contain any weightedBackendServices.
|
|
30133
30749
|
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
|
30750
|
+
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
|
30751
|
+
# within defaultRouteAction.
|
|
30134
30752
|
# Corresponds to the JSON property `defaultRouteAction`
|
|
30135
30753
|
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
|
30136
30754
|
attr_accessor :default_route_action
|