google-api-client 0.9.8 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -8
- data/CHANGELOG.md +84 -0
- data/Gemfile +10 -2
- data/README.md +10 -2
- data/api_names.yaml +37172 -135
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
- data/generated/google/apis/admin_directory_v1/service.rb +41 -2
- data/generated/google/apis/admin_reports_v1.rb +5 -5
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +379 -3
- data/generated/google/apis/analytics_v3/representations.rb +136 -0
- data/generated/google/apis/analytics_v3/service.rb +256 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
- data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
- data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
- data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
- data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
- data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
- data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +360 -38
- data/generated/google/apis/bigquery_v2/representations.rb +106 -0
- data/generated/google/apis/bigquery_v2/service.rb +18 -4
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +83 -0
- data/generated/google/apis/books_v1/representations.rb +35 -0
- data/generated/google/apis/books_v1/service.rb +7 -3
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +208 -5
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
- data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
- data/generated/google/apis/civicinfo_v2/service.rb +27 -6
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -761
- data/generated/google/apis/classroom_v1/representations.rb +263 -198
- data/generated/google/apis/classroom_v1/service.rb +1349 -672
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
- data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
- data/generated/google/apis/clouddebugger_v2.rb +5 -8
- data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
- data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
- data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
- data/generated/google/apis/cloudtrace_v1.rb +9 -9
- data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
- data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +7007 -3648
- data/generated/google/apis/compute_beta/representations.rb +1459 -120
- data/generated/google/apis/compute_beta/service.rb +7943 -3726
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2567 -370
- data/generated/google/apis/compute_v1/representations.rb +855 -0
- data/generated/google/apis/compute_v1/service.rb +6388 -2908
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +287 -16
- data/generated/google/apis/container_v1/representations.rb +113 -2
- data/generated/google/apis/container_v1/service.rb +130 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +778 -10
- data/generated/google/apis/content_v2/representations.rb +339 -0
- data/generated/google/apis/content_v2/service.rb +364 -49
- data/generated/google/apis/dataflow_v1b3.rb +37 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
- data/generated/google/apis/dataproc_v1/representations.rb +299 -225
- data/generated/google/apis/dataproc_v1/service.rb +277 -192
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1289 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
- data/generated/google/apis/dfareporting_v2_7.rb +40 -0
- data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
- data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
- data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +43 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
- data/generated/google/apis/dns_v2beta1/service.rb +768 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +595 -37
- data/generated/google/apis/drive_v2/representations.rb +140 -0
- data/generated/google/apis/drive_v2/service.rb +406 -40
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +507 -40
- data/generated/google/apis/drive_v3/representations.rb +105 -0
- data/generated/google/apis/drive_v3/service.rb +326 -29
- data/generated/google/apis/fitness_v1.rb +38 -2
- data/generated/google/apis/fitness_v1/classes.rb +65 -7
- data/generated/google/apis/fitness_v1/representations.rb +20 -0
- data/generated/google/apis/fitness_v1/service.rb +17 -18
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +10 -12
- data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
- data/generated/google/apis/genomics_v1/representations.rb +468 -496
- data/generated/google/apis/genomics_v1/service.rb +978 -882
- data/generated/google/apis/gmail_v1.rb +11 -2
- data/generated/google/apis/gmail_v1/classes.rb +655 -5
- data/generated/google/apis/gmail_v1/representations.rb +261 -0
- data/generated/google/apis/gmail_v1/service.rb +1211 -48
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +446 -368
- data/generated/google/apis/iam_v1/representations.rb +109 -91
- data/generated/google/apis/iam_v1/service.rb +249 -162
- data/generated/google/apis/identitytoolkit_v3.rb +7 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
- data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
- data/generated/google/apis/kgsearch_v1.rb +2 -3
- data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +26 -24
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +757 -0
- data/generated/google/apis/language_v1beta1/representations.rb +339 -0
- data/generated/google/apis/language_v1beta1/service.rb +185 -0
- data/generated/google/apis/licensing_v1.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
- data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
- data/generated/google/apis/logging_v2beta1/service.rb +427 -155
- data/generated/google/apis/manufacturers_v1.rb +34 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
- data/generated/google/apis/manufacturers_v1/service.rb +138 -0
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +706 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1831 -477
- data/generated/google/apis/partners_v2/representations.rb +571 -114
- data/generated/google/apis/partners_v2/service.rb +898 -167
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +1047 -859
- data/generated/google/apis/people_v1/representations.rb +252 -213
- data/generated/google/apis/people_v1/service.rb +75 -62
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +363 -310
- data/generated/google/apis/pubsub_v1/representations.rb +76 -76
- data/generated/google/apis/pubsub_v1/service.rb +464 -335
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +222 -61
- data/generated/google/apis/reseller_v1/representations.rb +28 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +151 -137
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
- data/generated/google/apis/sheets_v4/representations.rb +988 -737
- data/generated/google/apis/sheets_v4/service.rb +266 -99
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +4480 -0
- data/generated/google/apis/slides_v1/representations.rb +1926 -0
- data/generated/google/apis/slides_v1/service.rb +245 -0
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
- data/generated/google/apis/speech_v1beta1/service.rb +270 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +205 -21
- data/generated/google/apis/storage_v1/representations.rb +51 -1
- data/generated/google/apis/storage_v1/service.rb +263 -9
- data/generated/google/apis/tagmanager_v1.rb +5 -5
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1275 -731
- data/generated/google/apis/vision_v1/representations.rb +378 -111
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
- data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +430 -22
- data/generated/google/apis/youtube_v3/representations.rb +171 -4
- data/generated/google/apis/youtube_v3/service.rb +100 -9
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
- data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
- data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
- data/google-api-client.gemspec +4 -3
- data/lib/google/apis/core/api_command.rb +16 -6
- data/lib/google/apis/core/base_service.rb +17 -9
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/errors.rb +6 -2
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/calendar.rb +1 -1
- data/samples/cli/lib/samples/gmail.rb +74 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- data/sync.rb +71 -0
- metadata +86 -18
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20161024'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -129,8 +129,7 @@ module Google
|
|
129
129
|
# @return [String]
|
130
130
|
attr_accessor :subnetwork
|
131
131
|
|
132
|
-
# The node pools associated with this cluster.
|
133
|
-
# a single node pool should be specified. This field should not be set if "
|
132
|
+
# The node pools associated with this cluster. This field should not be set if "
|
134
133
|
# node_config" or "initial_node_count" are specified.
|
135
134
|
# Corresponds to the JSON property `nodePools`
|
136
135
|
# @return [Array<Google::Apis::ContainerV1::NodePool>]
|
@@ -142,6 +141,16 @@ module Google
|
|
142
141
|
# @return [Array<String>]
|
143
142
|
attr_accessor :locations
|
144
143
|
|
144
|
+
# Kubernetes alpha features are enabled on this cluster. This includes alpha API
|
145
|
+
# groups (e.g. v1alpha1) and features that may not be production ready in the
|
146
|
+
# kubernetes version of the master and nodes. The cluster has no SLA for uptime
|
147
|
+
# and master/node upgrades are disabled. Alpha enabled clusters are
|
148
|
+
# automatically deleted thirty days after creation.
|
149
|
+
# Corresponds to the JSON property `enableKubernetesAlpha`
|
150
|
+
# @return [Boolean]
|
151
|
+
attr_accessor :enable_kubernetes_alpha
|
152
|
+
alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha
|
153
|
+
|
145
154
|
# [Output only] Server-defined URL for the resource.
|
146
155
|
# Corresponds to the JSON property `selfLink`
|
147
156
|
# @return [String]
|
@@ -221,6 +230,12 @@ module Google
|
|
221
230
|
# @return [Fixnum]
|
222
231
|
attr_accessor :current_node_count
|
223
232
|
|
233
|
+
# [Output only] The time the cluster will be automatically deleted in [RFC3339](
|
234
|
+
# https://www.ietf.org/rfc/rfc3339.txt) text format.
|
235
|
+
# Corresponds to the JSON property `expireTime`
|
236
|
+
# @return [String]
|
237
|
+
attr_accessor :expire_time
|
238
|
+
|
224
239
|
def initialize(**args)
|
225
240
|
update!(**args)
|
226
241
|
end
|
@@ -240,6 +255,7 @@ module Google
|
|
240
255
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
241
256
|
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
242
257
|
@locations = args[:locations] if args.key?(:locations)
|
258
|
+
@enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
|
243
259
|
@self_link = args[:self_link] if args.key?(:self_link)
|
244
260
|
@zone = args[:zone] if args.key?(:zone)
|
245
261
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
@@ -253,6 +269,7 @@ module Google
|
|
253
269
|
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
|
254
270
|
@instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
|
255
271
|
@current_node_count = args[:current_node_count] if args.key?(:current_node_count)
|
272
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
256
273
|
end
|
257
274
|
end
|
258
275
|
|
@@ -285,6 +302,12 @@ module Google
|
|
285
302
|
# @return [Array<String>]
|
286
303
|
attr_accessor :oauth_scopes
|
287
304
|
|
305
|
+
# The Google Cloud Platform Service Account to be used by the node VMs. If no
|
306
|
+
# Service Account is specified, the "default" service account is used.
|
307
|
+
# Corresponds to the JSON property `serviceAccount`
|
308
|
+
# @return [String]
|
309
|
+
attr_accessor :service_account
|
310
|
+
|
288
311
|
# The metadata key/value pairs assigned to instances in the cluster. Keys must
|
289
312
|
# conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length.
|
290
313
|
# These are reflected as part of a URL in the metadata server. Additionally, to
|
@@ -298,6 +321,47 @@ module Google
|
|
298
321
|
# @return [Hash<String,String>]
|
299
322
|
attr_accessor :metadata
|
300
323
|
|
324
|
+
# The image type to use for this node. Note that for a given image type, the
|
325
|
+
# latest version of it will be used.
|
326
|
+
# Corresponds to the JSON property `imageType`
|
327
|
+
# @return [String]
|
328
|
+
attr_accessor :image_type
|
329
|
+
|
330
|
+
# The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
331
|
+
# These will added in addition to any default label(s) that Kubernetes may apply
|
332
|
+
# to the node. In case of conflict in label keys, the applied set may differ
|
333
|
+
# depending on the Kubernetes version -- it's best to assume the behavior is
|
334
|
+
# undefined and conflicts should be avoided. For more information, including
|
335
|
+
# usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/
|
336
|
+
# labels.html
|
337
|
+
# Corresponds to the JSON property `labels`
|
338
|
+
# @return [Hash<String,String>]
|
339
|
+
attr_accessor :labels
|
340
|
+
|
341
|
+
# The number of local SSD disks to be attached to the node. The limit for this
|
342
|
+
# value is dependant upon the maximum number of disks available on a machine per
|
343
|
+
# zone. See: https://cloud.google.com/compute/docs/disks/local-ssd#
|
344
|
+
# local_ssd_limits for more information.
|
345
|
+
# Corresponds to the JSON property `localSsdCount`
|
346
|
+
# @return [Fixnum]
|
347
|
+
attr_accessor :local_ssd_count
|
348
|
+
|
349
|
+
# The list of instance tags applied to all nodes. Tags are used to identify
|
350
|
+
# valid sources or targets for network firewalls and are specified by the client
|
351
|
+
# during cluster or node pool creation. Each tag within the list must comply
|
352
|
+
# with RFC1035.
|
353
|
+
# Corresponds to the JSON property `tags`
|
354
|
+
# @return [Array<String>]
|
355
|
+
attr_accessor :tags
|
356
|
+
|
357
|
+
# Whether the nodes are created as preemptible VM instances. See: https://cloud.
|
358
|
+
# google.com/compute/docs/instances/preemptible for more inforamtion about
|
359
|
+
# preemptible VM instances.
|
360
|
+
# Corresponds to the JSON property `preemptible`
|
361
|
+
# @return [Boolean]
|
362
|
+
attr_accessor :preemptible
|
363
|
+
alias_method :preemptible?, :preemptible
|
364
|
+
|
301
365
|
def initialize(**args)
|
302
366
|
update!(**args)
|
303
367
|
end
|
@@ -307,7 +371,13 @@ module Google
|
|
307
371
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
308
372
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
309
373
|
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
374
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
310
375
|
@metadata = args[:metadata] if args.key?(:metadata)
|
376
|
+
@image_type = args[:image_type] if args.key?(:image_type)
|
377
|
+
@labels = args[:labels] if args.key?(:labels)
|
378
|
+
@local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
|
379
|
+
@tags = args[:tags] if args.key?(:tags)
|
380
|
+
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
311
381
|
end
|
312
382
|
end
|
313
383
|
|
@@ -461,12 +531,12 @@ module Google
|
|
461
531
|
# @return [Fixnum]
|
462
532
|
attr_accessor :initial_node_count
|
463
533
|
|
464
|
-
# Server-defined URL for the resource.
|
534
|
+
# [Output only] Server-defined URL for the resource.
|
465
535
|
# Corresponds to the JSON property `selfLink`
|
466
536
|
# @return [String]
|
467
537
|
attr_accessor :self_link
|
468
538
|
|
469
|
-
# The version of the Kubernetes of this node.
|
539
|
+
# [Output only] The version of the Kubernetes of this node.
|
470
540
|
# Corresponds to the JSON property `version`
|
471
541
|
# @return [String]
|
472
542
|
attr_accessor :version
|
@@ -477,7 +547,7 @@ module Google
|
|
477
547
|
# @return [Array<String>]
|
478
548
|
attr_accessor :instance_group_urls
|
479
549
|
|
480
|
-
# The status of the nodes in this pool instance.
|
550
|
+
# [Output only] The status of the nodes in this pool instance.
|
481
551
|
# Corresponds to the JSON property `status`
|
482
552
|
# @return [String]
|
483
553
|
attr_accessor :status
|
@@ -488,6 +558,18 @@ module Google
|
|
488
558
|
# @return [String]
|
489
559
|
attr_accessor :status_message
|
490
560
|
|
561
|
+
# NodePoolAutoscaling contains information required by cluster autoscaler to
|
562
|
+
# adjust the size of the node pool to the current cluster usage.
|
563
|
+
# Corresponds to the JSON property `autoscaling`
|
564
|
+
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
|
565
|
+
attr_accessor :autoscaling
|
566
|
+
|
567
|
+
# NodeManagement defines the set of node management services turned on for the
|
568
|
+
# node pool.
|
569
|
+
# Corresponds to the JSON property `management`
|
570
|
+
# @return [Google::Apis::ContainerV1::NodeManagement]
|
571
|
+
attr_accessor :management
|
572
|
+
|
491
573
|
def initialize(**args)
|
492
574
|
update!(**args)
|
493
575
|
end
|
@@ -502,6 +584,99 @@ module Google
|
|
502
584
|
@instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
|
503
585
|
@status = args[:status] if args.key?(:status)
|
504
586
|
@status_message = args[:status_message] if args.key?(:status_message)
|
587
|
+
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
|
588
|
+
@management = args[:management] if args.key?(:management)
|
589
|
+
end
|
590
|
+
end
|
591
|
+
|
592
|
+
# NodePoolAutoscaling contains information required by cluster autoscaler to
|
593
|
+
# adjust the size of the node pool to the current cluster usage.
|
594
|
+
class NodePoolAutoscaling
|
595
|
+
include Google::Apis::Core::Hashable
|
596
|
+
|
597
|
+
# Is autoscaling enabled for this node pool.
|
598
|
+
# Corresponds to the JSON property `enabled`
|
599
|
+
# @return [Boolean]
|
600
|
+
attr_accessor :enabled
|
601
|
+
alias_method :enabled?, :enabled
|
602
|
+
|
603
|
+
# Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
|
604
|
+
# Corresponds to the JSON property `minNodeCount`
|
605
|
+
# @return [Fixnum]
|
606
|
+
attr_accessor :min_node_count
|
607
|
+
|
608
|
+
# Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
|
609
|
+
# to enough quota to scale up the cluster.
|
610
|
+
# Corresponds to the JSON property `maxNodeCount`
|
611
|
+
# @return [Fixnum]
|
612
|
+
attr_accessor :max_node_count
|
613
|
+
|
614
|
+
def initialize(**args)
|
615
|
+
update!(**args)
|
616
|
+
end
|
617
|
+
|
618
|
+
# Update properties of this object
|
619
|
+
def update!(**args)
|
620
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
621
|
+
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
622
|
+
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
626
|
+
# NodeManagement defines the set of node management services turned on for the
|
627
|
+
# node pool.
|
628
|
+
class NodeManagement
|
629
|
+
include Google::Apis::Core::Hashable
|
630
|
+
|
631
|
+
# Whether the nodes will be automatically upgraded.
|
632
|
+
# Corresponds to the JSON property `autoUpgrade`
|
633
|
+
# @return [Boolean]
|
634
|
+
attr_accessor :auto_upgrade
|
635
|
+
alias_method :auto_upgrade?, :auto_upgrade
|
636
|
+
|
637
|
+
# AutoUpgradeOptions defines the set of options for the user to control how the
|
638
|
+
# Auto Upgrades will proceed.
|
639
|
+
# Corresponds to the JSON property `upgradeOptions`
|
640
|
+
# @return [Google::Apis::ContainerV1::AutoUpgradeOptions]
|
641
|
+
attr_accessor :upgrade_options
|
642
|
+
|
643
|
+
def initialize(**args)
|
644
|
+
update!(**args)
|
645
|
+
end
|
646
|
+
|
647
|
+
# Update properties of this object
|
648
|
+
def update!(**args)
|
649
|
+
@auto_upgrade = args[:auto_upgrade] if args.key?(:auto_upgrade)
|
650
|
+
@upgrade_options = args[:upgrade_options] if args.key?(:upgrade_options)
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
# AutoUpgradeOptions defines the set of options for the user to control how the
|
655
|
+
# Auto Upgrades will proceed.
|
656
|
+
class AutoUpgradeOptions
|
657
|
+
include Google::Apis::Core::Hashable
|
658
|
+
|
659
|
+
# [Output only] This field is set when upgrades are about to commence with the
|
660
|
+
# approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/
|
661
|
+
# rfc3339.txt) text format.
|
662
|
+
# Corresponds to the JSON property `autoUpgradeStartTime`
|
663
|
+
# @return [String]
|
664
|
+
attr_accessor :auto_upgrade_start_time
|
665
|
+
|
666
|
+
# [Output only] This field is set when upgrades are about to commence with the
|
667
|
+
# description of the upgrade.
|
668
|
+
# Corresponds to the JSON property `description`
|
669
|
+
# @return [String]
|
670
|
+
attr_accessor :description
|
671
|
+
|
672
|
+
def initialize(**args)
|
673
|
+
update!(**args)
|
674
|
+
end
|
675
|
+
|
676
|
+
# Update properties of this object
|
677
|
+
def update!(**args)
|
678
|
+
@auto_upgrade_start_time = args[:auto_upgrade_start_time] if args.key?(:auto_upgrade_start_time)
|
679
|
+
@description = args[:description] if args.key?(:description)
|
505
680
|
end
|
506
681
|
end
|
507
682
|
|
@@ -631,13 +806,34 @@ module Google
|
|
631
806
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
632
807
|
attr_accessor :desired_addons_config
|
633
808
|
|
634
|
-
# The node pool to be upgraded. This field is mandatory if
|
635
|
-
#
|
636
|
-
# than one node pool on the cluster.
|
809
|
+
# The node pool to be upgraded. This field is mandatory if "desired_node_version"
|
810
|
+
# , "desired_image_family" or "desired_node_pool_autoscaling" is specified and
|
811
|
+
# there is more than one node pool on the cluster.
|
637
812
|
# Corresponds to the JSON property `desiredNodePoolId`
|
638
813
|
# @return [String]
|
639
814
|
attr_accessor :desired_node_pool_id
|
640
815
|
|
816
|
+
# The desired image type for the node pool. NOTE: Set the "desired_node_pool"
|
817
|
+
# field as well.
|
818
|
+
# Corresponds to the JSON property `desiredImageType`
|
819
|
+
# @return [String]
|
820
|
+
attr_accessor :desired_image_type
|
821
|
+
|
822
|
+
# NodePoolAutoscaling contains information required by cluster autoscaler to
|
823
|
+
# adjust the size of the node pool to the current cluster usage.
|
824
|
+
# Corresponds to the JSON property `desiredNodePoolAutoscaling`
|
825
|
+
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
|
826
|
+
attr_accessor :desired_node_pool_autoscaling
|
827
|
+
|
828
|
+
# The desired list of Google Compute Engine [locations](/compute/docs/zones#
|
829
|
+
# available) in which the cluster's nodes should be located. Changing the
|
830
|
+
# locations a cluster is in will result in nodes being either created or removed
|
831
|
+
# from the cluster, depending on whether locations are being added or removed.
|
832
|
+
# This list must always include the cluster's primary zone.
|
833
|
+
# Corresponds to the JSON property `desiredLocations`
|
834
|
+
# @return [Array<String>]
|
835
|
+
attr_accessor :desired_locations
|
836
|
+
|
641
837
|
# The Kubernetes version to change the master to. The only valid value is the
|
642
838
|
# latest supported version. Use "-" to have the server automatically select the
|
643
839
|
# latest version.
|
@@ -655,6 +851,9 @@ module Google
|
|
655
851
|
@desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
|
656
852
|
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
|
657
853
|
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
854
|
+
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
855
|
+
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
|
856
|
+
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
|
658
857
|
@desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
|
659
858
|
end
|
660
859
|
end
|
@@ -685,6 +884,36 @@ module Google
|
|
685
884
|
end
|
686
885
|
end
|
687
886
|
|
887
|
+
# CancelOperationRequest cancels a single operation.
|
888
|
+
class CancelOperationRequest
|
889
|
+
include Google::Apis::Core::Hashable
|
890
|
+
|
891
|
+
def initialize(**args)
|
892
|
+
update!(**args)
|
893
|
+
end
|
894
|
+
|
895
|
+
# Update properties of this object
|
896
|
+
def update!(**args)
|
897
|
+
end
|
898
|
+
end
|
899
|
+
|
900
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
901
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
902
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
903
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
904
|
+
# `Empty` is empty JSON object ````.
|
905
|
+
class Empty
|
906
|
+
include Google::Apis::Core::Hashable
|
907
|
+
|
908
|
+
def initialize(**args)
|
909
|
+
update!(**args)
|
910
|
+
end
|
911
|
+
|
912
|
+
# Update properties of this object
|
913
|
+
def update!(**args)
|
914
|
+
end
|
915
|
+
end
|
916
|
+
|
688
917
|
# Container Engine service configuration.
|
689
918
|
class ServerConfig
|
690
919
|
include Google::Apis::Core::Hashable
|
@@ -699,15 +928,20 @@ module Google
|
|
699
928
|
# @return [Array<String>]
|
700
929
|
attr_accessor :valid_node_versions
|
701
930
|
|
702
|
-
# Default image
|
703
|
-
# Corresponds to the JSON property `
|
931
|
+
# Default image type.
|
932
|
+
# Corresponds to the JSON property `defaultImageType`
|
704
933
|
# @return [String]
|
705
|
-
attr_accessor :
|
934
|
+
attr_accessor :default_image_type
|
706
935
|
|
707
|
-
# List of valid image
|
708
|
-
# Corresponds to the JSON property `
|
936
|
+
# List of valid image types.
|
937
|
+
# Corresponds to the JSON property `validImageTypes`
|
709
938
|
# @return [Array<String>]
|
710
|
-
attr_accessor :
|
939
|
+
attr_accessor :valid_image_types
|
940
|
+
|
941
|
+
# List of valid master versions.
|
942
|
+
# Corresponds to the JSON property `validMasterVersions`
|
943
|
+
# @return [Array<String>]
|
944
|
+
attr_accessor :valid_master_versions
|
711
945
|
|
712
946
|
def initialize(**args)
|
713
947
|
update!(**args)
|
@@ -717,8 +951,9 @@ module Google
|
|
717
951
|
def update!(**args)
|
718
952
|
@default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version)
|
719
953
|
@valid_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions)
|
720
|
-
@
|
721
|
-
@
|
954
|
+
@default_image_type = args[:default_image_type] if args.key?(:default_image_type)
|
955
|
+
@valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types)
|
956
|
+
@valid_master_versions = args[:valid_master_versions] if args.key?(:valid_master_versions)
|
722
957
|
end
|
723
958
|
end
|
724
959
|
|
@@ -764,6 +999,42 @@ module Google
|
|
764
999
|
@node_pool = args[:node_pool] if args.key?(:node_pool)
|
765
1000
|
end
|
766
1001
|
end
|
1002
|
+
|
1003
|
+
# RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
|
1004
|
+
# NodePool upgrade. This will be an no-op if the last upgrade successfully
|
1005
|
+
# completed.
|
1006
|
+
class RollbackNodePoolUpgradeRequest
|
1007
|
+
include Google::Apis::Core::Hashable
|
1008
|
+
|
1009
|
+
def initialize(**args)
|
1010
|
+
update!(**args)
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
# Update properties of this object
|
1014
|
+
def update!(**args)
|
1015
|
+
end
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
# SetNodePoolManagementRequest sets the node management properties of a node
|
1019
|
+
# pool.
|
1020
|
+
class SetNodePoolManagementRequest
|
1021
|
+
include Google::Apis::Core::Hashable
|
1022
|
+
|
1023
|
+
# NodeManagement defines the set of node management services turned on for the
|
1024
|
+
# node pool.
|
1025
|
+
# Corresponds to the JSON property `management`
|
1026
|
+
# @return [Google::Apis::ContainerV1::NodeManagement]
|
1027
|
+
attr_accessor :management
|
1028
|
+
|
1029
|
+
def initialize(**args)
|
1030
|
+
update!(**args)
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
# Update properties of this object
|
1034
|
+
def update!(**args)
|
1035
|
+
@management = args[:management] if args.key?(:management)
|
1036
|
+
end
|
1037
|
+
end
|
767
1038
|
end
|
768
1039
|
end
|
769
1040
|
end
|
@@ -70,6 +70,24 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class NodePoolAutoscaling
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class NodeManagement
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class AutoUpgradeOptions
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
73
91
|
class CreateClusterRequest
|
74
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
93
|
|
@@ -100,6 +118,18 @@ module Google
|
|
100
118
|
include Google::Apis::Core::JsonObjectSupport
|
101
119
|
end
|
102
120
|
|
121
|
+
class CancelOperationRequest
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class Empty
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
103
133
|
class ServerConfig
|
104
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
135
|
|
@@ -118,6 +148,18 @@ module Google
|
|
118
148
|
include Google::Apis::Core::JsonObjectSupport
|
119
149
|
end
|
120
150
|
|
151
|
+
class RollbackNodePoolUpgradeRequest
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class SetNodePoolManagementRequest
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
121
163
|
class ListClustersResponse
|
122
164
|
# @private
|
123
165
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -147,6 +189,7 @@ module Google
|
|
147
189
|
collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
|
148
190
|
|
149
191
|
collection :locations, as: 'locations'
|
192
|
+
property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
|
150
193
|
property :self_link, as: 'selfLink'
|
151
194
|
property :zone, as: 'zone'
|
152
195
|
property :endpoint, as: 'endpoint'
|
@@ -160,6 +203,7 @@ module Google
|
|
160
203
|
property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
|
161
204
|
collection :instance_group_urls, as: 'instanceGroupUrls'
|
162
205
|
property :current_node_count, as: 'currentNodeCount'
|
206
|
+
property :expire_time, as: 'expireTime'
|
163
207
|
end
|
164
208
|
end
|
165
209
|
|
@@ -169,7 +213,13 @@ module Google
|
|
169
213
|
property :machine_type, as: 'machineType'
|
170
214
|
property :disk_size_gb, as: 'diskSizeGb'
|
171
215
|
collection :oauth_scopes, as: 'oauthScopes'
|
216
|
+
property :service_account, as: 'serviceAccount'
|
172
217
|
hash :metadata, as: 'metadata'
|
218
|
+
property :image_type, as: 'imageType'
|
219
|
+
hash :labels, as: 'labels'
|
220
|
+
property :local_ssd_count, as: 'localSsdCount'
|
221
|
+
collection :tags, as: 'tags'
|
222
|
+
property :preemptible, as: 'preemptible'
|
173
223
|
end
|
174
224
|
end
|
175
225
|
|
@@ -220,6 +270,36 @@ module Google
|
|
220
270
|
collection :instance_group_urls, as: 'instanceGroupUrls'
|
221
271
|
property :status, as: 'status'
|
222
272
|
property :status_message, as: 'statusMessage'
|
273
|
+
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
|
274
|
+
|
275
|
+
property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation
|
276
|
+
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class NodePoolAutoscaling
|
281
|
+
# @private
|
282
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
283
|
+
property :enabled, as: 'enabled'
|
284
|
+
property :min_node_count, as: 'minNodeCount'
|
285
|
+
property :max_node_count, as: 'maxNodeCount'
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
class NodeManagement
|
290
|
+
# @private
|
291
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
292
|
+
property :auto_upgrade, as: 'autoUpgrade'
|
293
|
+
property :upgrade_options, as: 'upgradeOptions', class: Google::Apis::ContainerV1::AutoUpgradeOptions, decorator: Google::Apis::ContainerV1::AutoUpgradeOptions::Representation
|
294
|
+
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
298
|
+
class AutoUpgradeOptions
|
299
|
+
# @private
|
300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
301
|
+
property :auto_upgrade_start_time, as: 'autoUpgradeStartTime'
|
302
|
+
property :description, as: 'description'
|
223
303
|
end
|
224
304
|
end
|
225
305
|
|
@@ -261,6 +341,10 @@ module Google
|
|
261
341
|
property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
|
262
342
|
|
263
343
|
property :desired_node_pool_id, as: 'desiredNodePoolId'
|
344
|
+
property :desired_image_type, as: 'desiredImageType'
|
345
|
+
property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
|
346
|
+
|
347
|
+
collection :desired_locations, as: 'desiredLocations'
|
264
348
|
property :desired_master_version, as: 'desiredMasterVersion'
|
265
349
|
end
|
266
350
|
end
|
@@ -274,13 +358,26 @@ module Google
|
|
274
358
|
end
|
275
359
|
end
|
276
360
|
|
361
|
+
class CancelOperationRequest
|
362
|
+
# @private
|
363
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
367
|
+
class Empty
|
368
|
+
# @private
|
369
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
277
373
|
class ServerConfig
|
278
374
|
# @private
|
279
375
|
class Representation < Google::Apis::Core::JsonRepresentation
|
280
376
|
property :default_cluster_version, as: 'defaultClusterVersion'
|
281
377
|
collection :valid_node_versions, as: 'validNodeVersions'
|
282
|
-
property :
|
283
|
-
collection :
|
378
|
+
property :default_image_type, as: 'defaultImageType'
|
379
|
+
collection :valid_image_types, as: 'validImageTypes'
|
380
|
+
collection :valid_master_versions, as: 'validMasterVersions'
|
284
381
|
end
|
285
382
|
end
|
286
383
|
|
@@ -299,6 +396,20 @@ module Google
|
|
299
396
|
|
300
397
|
end
|
301
398
|
end
|
399
|
+
|
400
|
+
class RollbackNodePoolUpgradeRequest
|
401
|
+
# @private
|
402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
class SetNodePoolManagementRequest
|
407
|
+
# @private
|
408
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
409
|
+
property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation
|
410
|
+
|
411
|
+
end
|
412
|
+
end
|
302
413
|
end
|
303
414
|
end
|
304
415
|
end
|