google-api-client 0.25.0 → 0.26.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/{CONTRIBUTING.md → .github/CONTRIBUTING.md} +0 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +21 -0
- data/.github/ISSUE_TEMPLATE/support_request.md +7 -0
- data/.kokoro/build.bat +8 -0
- data/.kokoro/build.sh +36 -0
- data/.kokoro/common.cfg +22 -0
- data/.kokoro/continuous/common.cfg +20 -0
- data/.kokoro/continuous/linux.cfg +15 -0
- data/.kokoro/continuous/osx.cfg +3 -0
- data/.kokoro/continuous/windows.cfg +3 -0
- data/.kokoro/osx.sh +35 -0
- data/.kokoro/presubmit/common.cfg +19 -0
- data/.kokoro/presubmit/linux.cfg +14 -0
- data/.kokoro/presubmit/osx.cfg +3 -0
- data/.kokoro/presubmit/windows.cfg +3 -0
- data/.kokoro/trampoline.sh +24 -0
- data/.kokoro/windows.sh +32 -0
- data/CHANGELOG.md +83 -0
- data/Gemfile +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +5 -3
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +110 -101
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +13 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +83 -76
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +7 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +2 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +129 -44
- data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +218 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +87 -29
- data/generated/google/apis/bigquery_v2/representations.rb +21 -0
- data/generated/google/apis/bigquery_v2/service.rb +7 -9
- data/generated/google/apis/calendar_v3.rb +2 -2
- data/generated/google/apis/calendar_v3/classes.rb +14 -6
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +14 -10
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +2 -3
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -3
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +127 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +70 -0
- data/generated/google/apis/cloudiot_v1/service.rb +172 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +107 -0
- data/generated/google/apis/{cloudiot_v1beta1.rb → cloudscheduler_v1beta1.rb} +8 -12
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +882 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +264 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +445 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +79 -1
- data/generated/google/apis/cloudsearch_v1/representations.rb +44 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +88 -3
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +9 -0
- data/generated/google/apis/composer_v1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +938 -117
- data/generated/google/apis/compute_alpha/representations.rb +310 -2
- data/generated/google/apis/compute_alpha/service.rb +1203 -245
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1175 -219
- data/generated/google/apis/compute_beta/representations.rb +375 -2
- data/generated/google/apis/compute_beta/service.rb +907 -139
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1485 -143
- data/generated/google/apis/compute_v1/representations.rb +503 -0
- data/generated/google/apis/compute_v1/service.rb +1375 -85
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +99 -6
- data/generated/google/apis/container_v1/representations.rb +39 -0
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +3 -3
- data/generated/google/apis/container_v1beta1/classes.rb +162 -9
- data/generated/google/apis/container_v1beta1/representations.rb +80 -0
- data/generated/google/apis/container_v1beta1/service.rb +3 -3
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +40 -32
- data/generated/google/apis/content_v2/representations.rb +0 -1
- data/generated/google/apis/content_v2/service.rb +3 -3
- data/generated/google/apis/content_v2_1.rb +35 -0
- data/generated/google/apis/content_v2_1/classes.rb +9104 -0
- data/generated/google/apis/content_v2_1/representations.rb +3967 -0
- data/generated/google/apis/content_v2_1/service.rb +3463 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +82 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +33 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +97 -6
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -1
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +125 -1
- data/generated/google/apis/dataproc_v1beta2/representations.rb +41 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +13 -6
- data/generated/google/apis/dialogflow_v2/service.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +26 -6
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +12 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +261 -12
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -4
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +326 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +149 -0
- data/generated/google/apis/dns_v1beta2/service.rb +246 -0
- data/generated/google/apis/drive_v2.rb +3 -3
- data/generated/google/apis/drive_v3.rb +3 -3
- data/generated/google/apis/driveactivity_v2.rb +37 -0
- data/generated/google/apis/driveactivity_v2/classes.rb +1388 -0
- data/generated/google/apis/driveactivity_v2/representations.rb +799 -0
- data/generated/google/apis/driveactivity_v2/service.rb +89 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +8 -1
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +3 -2
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +43 -17
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +13 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +74 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +2225 -520
- data/generated/google/apis/firestore_v1/representations.rb +800 -33
- data/generated/google/apis/firestore_v1/service.rb +526 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -2
- data/generated/google/apis/fitness_v1/service.rb +7 -3
- data/generated/google/apis/games_management_v1management.rb +1 -4
- data/generated/google/apis/games_v1.rb +1 -4
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +6 -1
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/iap_v1.rb +34 -0
- data/generated/google/apis/iap_v1/classes.rb +308 -0
- data/generated/google/apis/iap_v1/representations.rb +126 -0
- data/generated/google/apis/iap_v1/service.rb +725 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -132
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -32
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +8 -9
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +6 -6
- data/generated/google/apis/jobs_v3/service.rb +8 -8
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -9
- data/generated/google/apis/jobs_v3p1beta1/service.rb +8 -8
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +20 -7
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +0 -365
- data/generated/google/apis/pagespeedonline_v5.rb +32 -0
- data/generated/google/apis/pagespeedonline_v5/classes.rb +724 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +315 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +116 -0
- data/generated/google/apis/people_v1.rb +3 -3
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +63 -12
- data/generated/google/apis/pubsub_v1/representations.rb +15 -0
- data/generated/google/apis/pubsub_v1/service.rb +26 -18
- data/generated/google/apis/redis_v1.rb +2 -3
- data/generated/google/apis/redis_v1/service.rb +1 -2
- data/generated/google/apis/redis_v1beta1.rb +2 -3
- data/generated/google/apis/redis_v1beta1/service.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/script_v1.rb +24 -6
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +66 -1
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +89 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +7 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +84 -37
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +15 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +132 -43
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +4 -4
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +187 -2
- data/generated/google/apis/slides_v1/representations.rb +67 -0
- data/generated/google/apis/slides_v1/service.rb +4 -3
- data/generated/google/apis/sourcerepo_v1.rb +2 -2
- data/generated/google/apis/sourcerepo_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +58 -10
- data/generated/google/apis/speech_v1/representations.rb +29 -1
- data/generated/google/apis/{speech_v1beta1.rb → speech_v1p1beta1.rb} +6 -6
- data/generated/google/apis/speech_v1p1beta1/classes.rb +922 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +294 -0
- data/generated/google/apis/{speech_v1beta1 → speech_v1p1beta1}/service.rb +33 -35
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +64 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +31 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +54 -0
- data/generated/google/apis/storage_v1/representations.rb +31 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +4 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +29 -3
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +49 -19
- data/generated/google/apis/testing_v1/representations.rb +20 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +77 -70
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +78 -7
- data/generated/google/apis/vault_v1/representations.rb +34 -1
- data/generated/google/apis/vault_v1/service.rb +141 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +33 -0
- data/generated/google/apis/vision_v1/representations.rb +16 -0
- data/generated/google/apis/vision_v1/service.rb +2 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +33 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +16 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +33 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +16 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +1 -1
- data/lib/google/api_client/auth/installed_app.rb +17 -2
- data/lib/google/api_client/client_secrets.rb +1 -1
- data/lib/google/apis/core/download.rb +2 -2
- data/lib/google/apis/errors.rb +9 -0
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +46 -17
- data/generated/google/apis/cloudiot_v1beta1/classes.rb +0 -959
- data/generated/google/apis/cloudiot_v1beta1/representations.rb +0 -375
- data/generated/google/apis/cloudiot_v1beta1/service.rb +0 -618
- data/generated/google/apis/dfareporting_v3_0.rb +0 -40
- data/generated/google/apis/dfareporting_v3_0/classes.rb +0 -12119
- data/generated/google/apis/dfareporting_v3_0/representations.rb +0 -4336
- data/generated/google/apis/dfareporting_v3_0/service.rb +0 -8701
- data/generated/google/apis/speech_v1beta1/classes.rb +0 -480
- data/generated/google/apis/speech_v1beta1/representations.rb +0 -194
@@ -20,13 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Kubernetes Engine API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
#
|
23
|
+
# Builds and manages container-based applications, powered by the open source
|
24
|
+
# Kubernetes technology.
|
25
25
|
#
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20181109'
|
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'
|
@@ -226,6 +226,11 @@ module Google
|
|
226
226
|
# @return [String]
|
227
227
|
attr_accessor :cluster_ipv4_cidr
|
228
228
|
|
229
|
+
# Which conditions caused the current cluster state.
|
230
|
+
# Corresponds to the JSON property `conditions`
|
231
|
+
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
232
|
+
attr_accessor :conditions
|
233
|
+
|
229
234
|
# [Output only] The time the cluster was created, in
|
230
235
|
# [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
231
236
|
# Corresponds to the JSON property `createTime`
|
@@ -237,7 +242,8 @@ module Google
|
|
237
242
|
# @return [String]
|
238
243
|
attr_accessor :current_master_version
|
239
244
|
|
240
|
-
# [Output only]
|
245
|
+
# [Output only] The number of nodes currently in the cluster. Deprecated.
|
246
|
+
# Call Kubernetes API directly to retrieve node information.
|
241
247
|
# Corresponds to the JSON property `currentNodeCount`
|
242
248
|
# @return [Fixnum]
|
243
249
|
attr_accessor :current_node_count
|
@@ -340,7 +346,7 @@ module Google
|
|
340
346
|
attr_accessor :location
|
341
347
|
|
342
348
|
# The list of Google Compute Engine
|
343
|
-
# [
|
349
|
+
# [zones](/compute/docs/zones#available) in which the cluster's nodes
|
344
350
|
# should be located.
|
345
351
|
# Corresponds to the JSON property `locations`
|
346
352
|
# @return [Array<String>]
|
@@ -490,6 +496,7 @@ module Google
|
|
490
496
|
def update!(**args)
|
491
497
|
@addons_config = args[:addons_config] if args.key?(:addons_config)
|
492
498
|
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
499
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
493
500
|
@create_time = args[:create_time] if args.key?(:create_time)
|
494
501
|
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
|
495
502
|
@current_node_count = args[:current_node_count] if args.key?(:current_node_count)
|
@@ -548,7 +555,7 @@ module Google
|
|
548
555
|
attr_accessor :desired_image_type
|
549
556
|
|
550
557
|
# The desired list of Google Compute Engine
|
551
|
-
# [
|
558
|
+
# [zones](/compute/docs/zones#available) in which the cluster's nodes
|
552
559
|
# should be located. Changing the locations a cluster is in will result
|
553
560
|
# in nodes being either created or removed from the cluster, depending on
|
554
561
|
# whether locations are being added or removed.
|
@@ -1184,8 +1191,8 @@ module Google
|
|
1184
1191
|
attr_accessor :password
|
1185
1192
|
|
1186
1193
|
# The username to use for HTTP basic authentication to the master endpoint.
|
1187
|
-
# For clusters v1.6.0 and later,
|
1188
|
-
#
|
1194
|
+
# For clusters v1.6.0 and later, basic authentication can be disabled by
|
1195
|
+
# leaving username unspecified (or setting it to the empty string).
|
1189
1196
|
# Corresponds to the JSON property `username`
|
1190
1197
|
# @return [String]
|
1191
1198
|
attr_accessor :username
|
@@ -1447,6 +1454,13 @@ module Google
|
|
1447
1454
|
# @return [Array<String>]
|
1448
1455
|
attr_accessor :tags
|
1449
1456
|
|
1457
|
+
# List of kubernetes taints to be applied to each node.
|
1458
|
+
# For more information, including usage and the valid values, see:
|
1459
|
+
# https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
1460
|
+
# Corresponds to the JSON property `taints`
|
1461
|
+
# @return [Array<Google::Apis::ContainerV1::NodeTaint>]
|
1462
|
+
attr_accessor :taints
|
1463
|
+
|
1450
1464
|
def initialize(**args)
|
1451
1465
|
update!(**args)
|
1452
1466
|
end
|
@@ -1466,6 +1480,7 @@ module Google
|
|
1466
1480
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
1467
1481
|
@service_account = args[:service_account] if args.key?(:service_account)
|
1468
1482
|
@tags = args[:tags] if args.key?(:tags)
|
1483
|
+
@taints = args[:taints] if args.key?(:taints)
|
1469
1484
|
end
|
1470
1485
|
end
|
1471
1486
|
|
@@ -1524,6 +1539,11 @@ module Google
|
|
1524
1539
|
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
|
1525
1540
|
attr_accessor :autoscaling
|
1526
1541
|
|
1542
|
+
# Which conditions caused the current node pool state.
|
1543
|
+
# Corresponds to the JSON property `conditions`
|
1544
|
+
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
1545
|
+
attr_accessor :conditions
|
1546
|
+
|
1527
1547
|
# Parameters that describe the nodes in a cluster.
|
1528
1548
|
# Corresponds to the JSON property `config`
|
1529
1549
|
# @return [Google::Apis::ContainerV1::NodeConfig]
|
@@ -1583,6 +1603,7 @@ module Google
|
|
1583
1603
|
# Update properties of this object
|
1584
1604
|
def update!(**args)
|
1585
1605
|
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
|
1606
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
1586
1607
|
@config = args[:config] if args.key?(:config)
|
1587
1608
|
@initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
|
1588
1609
|
@instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
|
@@ -1630,11 +1651,50 @@ module Google
|
|
1630
1651
|
end
|
1631
1652
|
end
|
1632
1653
|
|
1654
|
+
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
|
1655
|
+
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
|
1656
|
+
# For more information, including usage and the valid values, see:
|
1657
|
+
# https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
1658
|
+
class NodeTaint
|
1659
|
+
include Google::Apis::Core::Hashable
|
1660
|
+
|
1661
|
+
# Effect for taint.
|
1662
|
+
# Corresponds to the JSON property `effect`
|
1663
|
+
# @return [String]
|
1664
|
+
attr_accessor :effect
|
1665
|
+
|
1666
|
+
# Key for taint.
|
1667
|
+
# Corresponds to the JSON property `key`
|
1668
|
+
# @return [String]
|
1669
|
+
attr_accessor :key
|
1670
|
+
|
1671
|
+
# Value for taint.
|
1672
|
+
# Corresponds to the JSON property `value`
|
1673
|
+
# @return [String]
|
1674
|
+
attr_accessor :value
|
1675
|
+
|
1676
|
+
def initialize(**args)
|
1677
|
+
update!(**args)
|
1678
|
+
end
|
1679
|
+
|
1680
|
+
# Update properties of this object
|
1681
|
+
def update!(**args)
|
1682
|
+
@effect = args[:effect] if args.key?(:effect)
|
1683
|
+
@key = args[:key] if args.key?(:key)
|
1684
|
+
@value = args[:value] if args.key?(:value)
|
1685
|
+
end
|
1686
|
+
end
|
1687
|
+
|
1633
1688
|
# This operation resource represents operations that may have happened or are
|
1634
1689
|
# happening on the cluster. All fields are output only.
|
1635
1690
|
class Operation
|
1636
1691
|
include Google::Apis::Core::Hashable
|
1637
1692
|
|
1693
|
+
# Which conditions caused the current cluster state.
|
1694
|
+
# Corresponds to the JSON property `clusterConditions`
|
1695
|
+
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
1696
|
+
attr_accessor :cluster_conditions
|
1697
|
+
|
1638
1698
|
# Detailed operation progress, if available.
|
1639
1699
|
# Corresponds to the JSON property `detail`
|
1640
1700
|
# @return [String]
|
@@ -1659,6 +1719,11 @@ module Google
|
|
1659
1719
|
# @return [String]
|
1660
1720
|
attr_accessor :name
|
1661
1721
|
|
1722
|
+
# Which conditions caused the current node pool state.
|
1723
|
+
# Corresponds to the JSON property `nodepoolConditions`
|
1724
|
+
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
1725
|
+
attr_accessor :nodepool_conditions
|
1726
|
+
|
1662
1727
|
# The operation type.
|
1663
1728
|
# Corresponds to the JSON property `operationType`
|
1664
1729
|
# @return [String]
|
@@ -1704,10 +1769,12 @@ module Google
|
|
1704
1769
|
|
1705
1770
|
# Update properties of this object
|
1706
1771
|
def update!(**args)
|
1772
|
+
@cluster_conditions = args[:cluster_conditions] if args.key?(:cluster_conditions)
|
1707
1773
|
@detail = args[:detail] if args.key?(:detail)
|
1708
1774
|
@end_time = args[:end_time] if args.key?(:end_time)
|
1709
1775
|
@location = args[:location] if args.key?(:location)
|
1710
1776
|
@name = args[:name] if args.key?(:name)
|
1777
|
+
@nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions)
|
1711
1778
|
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
1712
1779
|
@self_link = args[:self_link] if args.key?(:self_link)
|
1713
1780
|
@start_time = args[:start_time] if args.key?(:start_time)
|
@@ -2042,7 +2109,7 @@ module Google
|
|
2042
2109
|
attr_accessor :cluster_id
|
2043
2110
|
|
2044
2111
|
# The desired list of Google Compute Engine
|
2045
|
-
# [
|
2112
|
+
# [zones](/compute/docs/zones#available) in which the cluster's nodes
|
2046
2113
|
# should be located. Changing the locations a cluster is in will result
|
2047
2114
|
# in nodes being either created or removed from the cluster, depending on
|
2048
2115
|
# whether locations are being added or removed.
|
@@ -2579,6 +2646,32 @@ module Google
|
|
2579
2646
|
end
|
2580
2647
|
end
|
2581
2648
|
|
2649
|
+
# StatusCondition describes why a cluster or a node pool has a certain status
|
2650
|
+
# (e.g., ERROR or DEGRADED).
|
2651
|
+
class StatusCondition
|
2652
|
+
include Google::Apis::Core::Hashable
|
2653
|
+
|
2654
|
+
# Machine-friendly representation of the condition
|
2655
|
+
# Corresponds to the JSON property `code`
|
2656
|
+
# @return [String]
|
2657
|
+
attr_accessor :code
|
2658
|
+
|
2659
|
+
# Human-friendly representation of the condition
|
2660
|
+
# Corresponds to the JSON property `message`
|
2661
|
+
# @return [String]
|
2662
|
+
attr_accessor :message
|
2663
|
+
|
2664
|
+
def initialize(**args)
|
2665
|
+
update!(**args)
|
2666
|
+
end
|
2667
|
+
|
2668
|
+
# Update properties of this object
|
2669
|
+
def update!(**args)
|
2670
|
+
@code = args[:code] if args.key?(:code)
|
2671
|
+
@message = args[:message] if args.key?(:message)
|
2672
|
+
end
|
2673
|
+
end
|
2674
|
+
|
2582
2675
|
# UpdateClusterRequest updates the settings of a cluster.
|
2583
2676
|
class UpdateClusterRequest
|
2584
2677
|
include Google::Apis::Core::Hashable
|
@@ -214,6 +214,12 @@ module Google
|
|
214
214
|
include Google::Apis::Core::JsonObjectSupport
|
215
215
|
end
|
216
216
|
|
217
|
+
class NodeTaint
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
217
223
|
class Operation
|
218
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
225
|
|
@@ -316,6 +322,12 @@ module Google
|
|
316
322
|
include Google::Apis::Core::JsonObjectSupport
|
317
323
|
end
|
318
324
|
|
325
|
+
class StatusCondition
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
319
331
|
class UpdateClusterRequest
|
320
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
333
|
|
@@ -395,6 +407,8 @@ module Google
|
|
395
407
|
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
|
396
408
|
|
397
409
|
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
|
410
|
+
collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
|
411
|
+
|
398
412
|
property :create_time, as: 'createTime'
|
399
413
|
property :current_master_version, as: 'currentMasterVersion'
|
400
414
|
property :current_node_count, as: 'currentNodeCount'
|
@@ -658,6 +672,8 @@ module Google
|
|
658
672
|
property :preemptible, as: 'preemptible'
|
659
673
|
property :service_account, as: 'serviceAccount'
|
660
674
|
collection :tags, as: 'tags'
|
675
|
+
collection :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaint, decorator: Google::Apis::ContainerV1::NodeTaint::Representation
|
676
|
+
|
661
677
|
end
|
662
678
|
end
|
663
679
|
|
@@ -676,6 +692,8 @@ module Google
|
|
676
692
|
class Representation < Google::Apis::Core::JsonRepresentation
|
677
693
|
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
|
678
694
|
|
695
|
+
collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
|
696
|
+
|
679
697
|
property :config, as: 'config', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation
|
680
698
|
|
681
699
|
property :initial_node_count, as: 'initialNodeCount'
|
@@ -699,13 +717,26 @@ module Google
|
|
699
717
|
end
|
700
718
|
end
|
701
719
|
|
720
|
+
class NodeTaint
|
721
|
+
# @private
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
723
|
+
property :effect, as: 'effect'
|
724
|
+
property :key, as: 'key'
|
725
|
+
property :value, as: 'value'
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
702
729
|
class Operation
|
703
730
|
# @private
|
704
731
|
class Representation < Google::Apis::Core::JsonRepresentation
|
732
|
+
collection :cluster_conditions, as: 'clusterConditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
|
733
|
+
|
705
734
|
property :detail, as: 'detail'
|
706
735
|
property :end_time, as: 'endTime'
|
707
736
|
property :location, as: 'location'
|
708
737
|
property :name, as: 'name'
|
738
|
+
collection :nodepool_conditions, as: 'nodepoolConditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
|
739
|
+
|
709
740
|
property :operation_type, as: 'operationType'
|
710
741
|
property :self_link, as: 'selfLink'
|
711
742
|
property :start_time, as: 'startTime'
|
@@ -903,6 +934,14 @@ module Google
|
|
903
934
|
end
|
904
935
|
end
|
905
936
|
|
937
|
+
class StatusCondition
|
938
|
+
# @private
|
939
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
940
|
+
property :code, as: 'code'
|
941
|
+
property :message, as: 'message'
|
942
|
+
end
|
943
|
+
end
|
944
|
+
|
906
945
|
class UpdateClusterRequest
|
907
946
|
# @private
|
908
947
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -22,8 +22,8 @@ module Google
|
|
22
22
|
module ContainerV1
|
23
23
|
# Kubernetes Engine API
|
24
24
|
#
|
25
|
-
#
|
26
|
-
#
|
25
|
+
# Builds and manages container-based applications, powered by the open source
|
26
|
+
# Kubernetes technology.
|
27
27
|
#
|
28
28
|
# @example
|
29
29
|
# require 'google/apis/container_v1'
|
@@ -20,13 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Kubernetes Engine API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
#
|
23
|
+
# Builds and manages container-based applications, powered by the open source
|
24
|
+
# Kubernetes technology.
|
25
25
|
#
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20181113'
|
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'
|
@@ -53,6 +53,11 @@ module Google
|
|
53
53
|
class AddonsConfig
|
54
54
|
include Google::Apis::Core::Hashable
|
55
55
|
|
56
|
+
# Configuration options for the Cloud Run feature.
|
57
|
+
# Corresponds to the JSON property `cloudRunConfig`
|
58
|
+
# @return [Google::Apis::ContainerV1beta1::CloudRunConfig]
|
59
|
+
attr_accessor :cloud_run_config
|
60
|
+
|
56
61
|
# Configuration options for the horizontal pod autoscaling feature, which
|
57
62
|
# increases or decreases the number of replica pods a replication controller
|
58
63
|
# has based on the resource usage of the existing pods.
|
@@ -66,6 +71,11 @@ module Google
|
|
66
71
|
# @return [Google::Apis::ContainerV1beta1::HttpLoadBalancing]
|
67
72
|
attr_accessor :http_load_balancing
|
68
73
|
|
74
|
+
# Configuration options for Istio addon.
|
75
|
+
# Corresponds to the JSON property `istioConfig`
|
76
|
+
# @return [Google::Apis::ContainerV1beta1::IstioConfig]
|
77
|
+
attr_accessor :istio_config
|
78
|
+
|
69
79
|
# Configuration for the Kubernetes Dashboard.
|
70
80
|
# Corresponds to the JSON property `kubernetesDashboard`
|
71
81
|
# @return [Google::Apis::ContainerV1beta1::KubernetesDashboard]
|
@@ -84,8 +94,10 @@ module Google
|
|
84
94
|
|
85
95
|
# Update properties of this object
|
86
96
|
def update!(**args)
|
97
|
+
@cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config)
|
87
98
|
@horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
|
88
99
|
@http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
|
100
|
+
@istio_config = args[:istio_config] if args.key?(:istio_config)
|
89
101
|
@kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
|
90
102
|
@network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config)
|
91
103
|
end
|
@@ -120,6 +132,25 @@ module Google
|
|
120
132
|
end
|
121
133
|
end
|
122
134
|
|
135
|
+
# Parameters for using BigQuery as the destination of resource usage export.
|
136
|
+
class BigQueryDestination
|
137
|
+
include Google::Apis::Core::Hashable
|
138
|
+
|
139
|
+
# The ID of a BigQuery Dataset.
|
140
|
+
# Corresponds to the JSON property `datasetId`
|
141
|
+
# @return [String]
|
142
|
+
attr_accessor :dataset_id
|
143
|
+
|
144
|
+
def initialize(**args)
|
145
|
+
update!(**args)
|
146
|
+
end
|
147
|
+
|
148
|
+
# Update properties of this object
|
149
|
+
def update!(**args)
|
150
|
+
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
123
154
|
# Configuration for Binary Authorization.
|
124
155
|
class BinaryAuthorization
|
125
156
|
include Google::Apis::Core::Hashable
|
@@ -229,6 +260,26 @@ module Google
|
|
229
260
|
end
|
230
261
|
end
|
231
262
|
|
263
|
+
# Configuration options for the Cloud Run feature.
|
264
|
+
class CloudRunConfig
|
265
|
+
include Google::Apis::Core::Hashable
|
266
|
+
|
267
|
+
# Whether Cloud Run addon is enabled for this cluster.
|
268
|
+
# Corresponds to the JSON property `disabled`
|
269
|
+
# @return [Boolean]
|
270
|
+
attr_accessor :disabled
|
271
|
+
alias_method :disabled?, :disabled
|
272
|
+
|
273
|
+
def initialize(**args)
|
274
|
+
update!(**args)
|
275
|
+
end
|
276
|
+
|
277
|
+
# Update properties of this object
|
278
|
+
def update!(**args)
|
279
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
280
|
+
end
|
281
|
+
end
|
282
|
+
|
232
283
|
# A Google Kubernetes Engine cluster.
|
233
284
|
class Cluster
|
234
285
|
include Google::Apis::Core::Hashable
|
@@ -276,7 +327,8 @@ module Google
|
|
276
327
|
# @return [String]
|
277
328
|
attr_accessor :current_master_version
|
278
329
|
|
279
|
-
# [Output only]
|
330
|
+
# [Output only] The number of nodes currently in the cluster. Deprecated.
|
331
|
+
# Call Kubernetes API directly to retrieve node information.
|
280
332
|
# Corresponds to the JSON property `currentNodeCount`
|
281
333
|
# @return [Fixnum]
|
282
334
|
attr_accessor :current_node_count
|
@@ -390,7 +442,7 @@ module Google
|
|
390
442
|
attr_accessor :location
|
391
443
|
|
392
444
|
# The list of Google Compute Engine
|
393
|
-
# [
|
445
|
+
# [zones](/compute/docs/zones#available) in which the cluster's nodes
|
394
446
|
# should be located.
|
395
447
|
# Corresponds to the JSON property `locations`
|
396
448
|
# @return [Array<String>]
|
@@ -517,6 +569,11 @@ module Google
|
|
517
569
|
# @return [Hash<String,String>]
|
518
570
|
attr_accessor :resource_labels
|
519
571
|
|
572
|
+
# Configuration for exporting cluster resource usages.
|
573
|
+
# Corresponds to the JSON property `resourceUsageExportConfig`
|
574
|
+
# @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
|
575
|
+
attr_accessor :resource_usage_export_config
|
576
|
+
|
520
577
|
# [Output only] Server-defined URL for the resource.
|
521
578
|
# Corresponds to the JSON property `selfLink`
|
522
579
|
# @return [String]
|
@@ -557,6 +614,13 @@ module Google
|
|
557
614
|
# @return [String]
|
558
615
|
attr_accessor :tpu_ipv4_cidr_block
|
559
616
|
|
617
|
+
# VerticalPodAutoscaling contains global, per-cluster information
|
618
|
+
# required by Vertical Pod Autoscaler to automatically adjust
|
619
|
+
# the resources of pods controlled by it.
|
620
|
+
# Corresponds to the JSON property `verticalPodAutoscaling`
|
621
|
+
# @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
|
622
|
+
attr_accessor :vertical_pod_autoscaling
|
623
|
+
|
560
624
|
# [Output only] The name of the Google Compute Engine
|
561
625
|
# [zone](/compute/docs/zones#available) in which the cluster
|
562
626
|
# resides.
|
@@ -611,12 +675,14 @@ module Google
|
|
611
675
|
@private_cluster = args[:private_cluster] if args.key?(:private_cluster)
|
612
676
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
613
677
|
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
678
|
+
@resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
|
614
679
|
@self_link = args[:self_link] if args.key?(:self_link)
|
615
680
|
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
|
616
681
|
@status = args[:status] if args.key?(:status)
|
617
682
|
@status_message = args[:status_message] if args.key?(:status_message)
|
618
683
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
619
684
|
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
685
|
+
@vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling)
|
620
686
|
@zone = args[:zone] if args.key?(:zone)
|
621
687
|
end
|
622
688
|
end
|
@@ -683,7 +749,7 @@ module Google
|
|
683
749
|
attr_accessor :desired_image_type
|
684
750
|
|
685
751
|
# The desired list of Google Compute Engine
|
686
|
-
# [
|
752
|
+
# [zones](/compute/docs/zones#available) in which the cluster's nodes
|
687
753
|
# should be located. Changing the locations a cluster is in will result
|
688
754
|
# in nodes being either created or removed from the cluster, depending on
|
689
755
|
# whether locations are being added or removed.
|
@@ -765,6 +831,18 @@ module Google
|
|
765
831
|
# @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
|
766
832
|
attr_accessor :desired_pod_security_policy_config
|
767
833
|
|
834
|
+
# Configuration for exporting cluster resource usages.
|
835
|
+
# Corresponds to the JSON property `desiredResourceUsageExportConfig`
|
836
|
+
# @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
|
837
|
+
attr_accessor :desired_resource_usage_export_config
|
838
|
+
|
839
|
+
# VerticalPodAutoscaling contains global, per-cluster information
|
840
|
+
# required by Vertical Pod Autoscaler to automatically adjust
|
841
|
+
# the resources of pods controlled by it.
|
842
|
+
# Corresponds to the JSON property `desiredVerticalPodAutoscaling`
|
843
|
+
# @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
|
844
|
+
attr_accessor :desired_vertical_pod_autoscaling
|
845
|
+
|
768
846
|
def initialize(**args)
|
769
847
|
update!(**args)
|
770
848
|
end
|
@@ -784,6 +862,8 @@ module Google
|
|
784
862
|
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
785
863
|
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
786
864
|
@desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config)
|
865
|
+
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
866
|
+
@desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
|
787
867
|
end
|
788
868
|
end
|
789
869
|
|
@@ -1179,6 +1259,32 @@ module Google
|
|
1179
1259
|
end
|
1180
1260
|
end
|
1181
1261
|
|
1262
|
+
# Configuration options for Istio addon.
|
1263
|
+
class IstioConfig
|
1264
|
+
include Google::Apis::Core::Hashable
|
1265
|
+
|
1266
|
+
# The specified Istio auth mode, either none, or mutual TLS.
|
1267
|
+
# Corresponds to the JSON property `auth`
|
1268
|
+
# @return [String]
|
1269
|
+
attr_accessor :auth
|
1270
|
+
|
1271
|
+
# Whether Istio is enabled for this cluster.
|
1272
|
+
# Corresponds to the JSON property `disabled`
|
1273
|
+
# @return [Boolean]
|
1274
|
+
attr_accessor :disabled
|
1275
|
+
alias_method :disabled?, :disabled
|
1276
|
+
|
1277
|
+
def initialize(**args)
|
1278
|
+
update!(**args)
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
# Update properties of this object
|
1282
|
+
def update!(**args)
|
1283
|
+
@auth = args[:auth] if args.key?(:auth)
|
1284
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
1285
|
+
end
|
1286
|
+
end
|
1287
|
+
|
1182
1288
|
# Configuration for the Kubernetes Dashboard.
|
1183
1289
|
class KubernetesDashboard
|
1184
1290
|
include Google::Apis::Core::Hashable
|
@@ -1364,9 +1470,7 @@ module Google
|
|
1364
1470
|
# @return [String]
|
1365
1471
|
attr_accessor :name
|
1366
1472
|
|
1367
|
-
#
|
1368
|
-
# the region been drained manually?), and the stockout status of any zone
|
1369
|
-
# according to Zone Advisor. This will be internal only for use by pantheon.
|
1473
|
+
# Whether the location is recomended for GKE cluster scheduling.
|
1370
1474
|
# Corresponds to the JSON property `recommended`
|
1371
1475
|
# @return [Boolean]
|
1372
1476
|
attr_accessor :recommended
|
@@ -1466,8 +1570,8 @@ module Google
|
|
1466
1570
|
attr_accessor :password
|
1467
1571
|
|
1468
1572
|
# The username to use for HTTP basic authentication to the master endpoint.
|
1469
|
-
# For clusters v1.6.0 and later,
|
1470
|
-
#
|
1573
|
+
# For clusters v1.6.0 and later, basic authentication can be disabled by
|
1574
|
+
# leaving username unspecified (or setting it to the empty string).
|
1471
1575
|
# Corresponds to the JSON property `username`
|
1472
1576
|
# @return [String]
|
1473
1577
|
attr_accessor :username
|
@@ -2285,6 +2389,33 @@ module Google
|
|
2285
2389
|
end
|
2286
2390
|
end
|
2287
2391
|
|
2392
|
+
# Configuration for exporting cluster resource usages.
|
2393
|
+
class ResourceUsageExportConfig
|
2394
|
+
include Google::Apis::Core::Hashable
|
2395
|
+
|
2396
|
+
# Parameters for using BigQuery as the destination of resource usage export.
|
2397
|
+
# Corresponds to the JSON property `bigqueryDestination`
|
2398
|
+
# @return [Google::Apis::ContainerV1beta1::BigQueryDestination]
|
2399
|
+
attr_accessor :bigquery_destination
|
2400
|
+
|
2401
|
+
# Whether to enable network egress metering for this cluster. If enabled, a
|
2402
|
+
# daemonset will be created in the cluster to meter network egress traffic.
|
2403
|
+
# Corresponds to the JSON property `enableNetworkEgressMetering`
|
2404
|
+
# @return [Boolean]
|
2405
|
+
attr_accessor :enable_network_egress_metering
|
2406
|
+
alias_method :enable_network_egress_metering?, :enable_network_egress_metering
|
2407
|
+
|
2408
|
+
def initialize(**args)
|
2409
|
+
update!(**args)
|
2410
|
+
end
|
2411
|
+
|
2412
|
+
# Update properties of this object
|
2413
|
+
def update!(**args)
|
2414
|
+
@bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
|
2415
|
+
@enable_network_egress_metering = args[:enable_network_egress_metering] if args.key?(:enable_network_egress_metering)
|
2416
|
+
end
|
2417
|
+
end
|
2418
|
+
|
2288
2419
|
# RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
|
2289
2420
|
# NodePool upgrade. This will be an no-op if the last upgrade successfully
|
2290
2421
|
# completed.
|
@@ -2559,7 +2690,7 @@ module Google
|
|
2559
2690
|
attr_accessor :cluster_id
|
2560
2691
|
|
2561
2692
|
# The desired list of Google Compute Engine
|
2562
|
-
# [
|
2693
|
+
# [zones](/compute/docs/zones#available) in which the cluster's nodes
|
2563
2694
|
# should be located. Changing the locations a cluster is in will result
|
2564
2695
|
# in nodes being either created or removed from the cluster, depending on
|
2565
2696
|
# whether locations are being added or removed.
|
@@ -3384,6 +3515,28 @@ module Google
|
|
3384
3515
|
end
|
3385
3516
|
end
|
3386
3517
|
|
3518
|
+
# VerticalPodAutoscaling contains global, per-cluster information
|
3519
|
+
# required by Vertical Pod Autoscaler to automatically adjust
|
3520
|
+
# the resources of pods controlled by it.
|
3521
|
+
class VerticalPodAutoscaling
|
3522
|
+
include Google::Apis::Core::Hashable
|
3523
|
+
|
3524
|
+
# Enables vertical pod autoscaling.
|
3525
|
+
# Corresponds to the JSON property `enabled`
|
3526
|
+
# @return [Boolean]
|
3527
|
+
attr_accessor :enabled
|
3528
|
+
alias_method :enabled?, :enabled
|
3529
|
+
|
3530
|
+
def initialize(**args)
|
3531
|
+
update!(**args)
|
3532
|
+
end
|
3533
|
+
|
3534
|
+
# Update properties of this object
|
3535
|
+
def update!(**args)
|
3536
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
3537
|
+
end
|
3538
|
+
end
|
3539
|
+
|
3387
3540
|
# WorkloadMetadataConfig defines the metadata configuration to expose to
|
3388
3541
|
# workloads on the node pool.
|
3389
3542
|
class WorkloadMetadataConfig
|