google-apis-container_v1 0.21.0 → 0.24.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 224aa0644142d9ff347deab756118ab03c1e6ce1e1d6c3d1aff33494650c2b10
4
- data.tar.gz: 679d681a3369aa55609141e32fc1466c14ab737072d6719d32e2fb00268a2b62
3
+ metadata.gz: 971fdf1cd854224ead458b2e383509b163f5b6a2992c8ea5dfdec74375ef22a7
4
+ data.tar.gz: 71d787f6df78d71a923f965e7322bf0b527d6a62505171d40dfd604296b169dd
5
5
  SHA512:
6
- metadata.gz: 0a82886b78ad212329870b8d44be3c1bda2ffe5092cd9461dc8eb6f753160df2ed38c22cada739f50f9bef89d2bd830deab75d1a20517fe0f661c46520c95e85
7
- data.tar.gz: dbb4b096a99b31b2605e1210cf26e830165f998e2a7515686168f5a3300db8c107d7ce8d4928c0d9b1c9d482dd2829a025f26e222d3cfee48b4e1a9eb7ebb5a2
6
+ metadata.gz: 2173d44cf563594964622a7d366fd59900b02ebbb8f255b9744a13ba5aa6bbb35ec419a93d42e3aef3707b7336470b8584acca055ed7723302648699e5652f39
7
+ data.tar.gz: 706a6a80d51d0493342bfee844421ad4b13eb64feb0d68d494790925e2f3b4b1af86ecb67669abda6e1ed12a920568f53641b28b00720e32f1a527c14f6c677b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.24.0 (2022-02-22)
4
+
5
+ * Regenerated from discovery document revision 20220209
6
+
7
+ ### v0.23.0 (2022-02-08)
8
+
9
+ * Regenerated from discovery document revision 20220116
10
+
11
+ ### v0.22.0 (2022-02-01)
12
+
13
+ * Regenerated from discovery document revision 20220114
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.21.0 (2021-12-16)
4
17
 
5
18
  * Regenerated from discovery document revision 20211203
@@ -608,6 +608,12 @@ module Google
608
608
  # @return [String]
609
609
  attr_accessor :id
610
610
 
611
+ # IdentityServiceConfig is configuration for Identity Service which allows
612
+ # customers to use external identity providers with the K8S API
613
+ # Corresponds to the JSON property `identityServiceConfig`
614
+ # @return [Google::Apis::ContainerV1::IdentityServiceConfig]
615
+ attr_accessor :identity_service_config
616
+
611
617
  # The initial Kubernetes version for this cluster. Valid versions are those
612
618
  # found in validMasterVersions returned by getServerConfig. The version can be
613
619
  # upgraded over time; such upgrades are reflected in currentMasterVersion and
@@ -895,6 +901,7 @@ module Google
895
901
  @endpoint = args[:endpoint] if args.key?(:endpoint)
896
902
  @expire_time = args[:expire_time] if args.key?(:expire_time)
897
903
  @id = args[:id] if args.key?(:id)
904
+ @identity_service_config = args[:identity_service_config] if args.key?(:identity_service_config)
898
905
  @initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
899
906
  @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
900
907
  @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
@@ -1041,6 +1048,12 @@ module Google
1041
1048
  # @return [Google::Apis::ContainerV1::GcfsConfig]
1042
1049
  attr_accessor :desired_gcfs_config
1043
1050
 
1051
+ # IdentityServiceConfig is configuration for Identity Service which allows
1052
+ # customers to use external identity providers with the K8S API
1053
+ # Corresponds to the JSON property `desiredIdentityServiceConfig`
1054
+ # @return [Google::Apis::ContainerV1::IdentityServiceConfig]
1055
+ attr_accessor :desired_identity_service_config
1056
+
1044
1057
  # The desired image type for the node pool. NOTE: Set the "desired_node_pool"
1045
1058
  # field as well.
1046
1059
  # Corresponds to the JSON property `desiredImageType`
@@ -1213,6 +1226,7 @@ module Google
1213
1226
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1214
1227
  @desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
1215
1228
  @desired_gcfs_config = args[:desired_gcfs_config] if args.key?(:desired_gcfs_config)
1229
+ @desired_identity_service_config = args[:desired_identity_service_config] if args.key?(:desired_identity_service_config)
1216
1230
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1217
1231
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1218
1232
  @desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
@@ -1249,7 +1263,7 @@ module Google
1249
1263
  # @return [String]
1250
1264
  attr_accessor :cluster_id
1251
1265
 
1252
- # The name (project, location, cluster id) of the cluster to complete IP
1266
+ # The name (project, location, cluster name) of the cluster to complete IP
1253
1267
  # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
1254
1268
  # Corresponds to the JSON property `name`
1255
1269
  # @return [String]
@@ -1287,7 +1301,7 @@ module Google
1287
1301
  class ConfidentialNodes
1288
1302
  include Google::Apis::Core::Hashable
1289
1303
 
1290
- # Whether Confidential Nodes feature is enabled for all nodes in this cluster.
1304
+ # Whether Confidential Nodes feature is enabled.
1291
1305
  # Corresponds to the JSON property `enabled`
1292
1306
  # @return [Boolean]
1293
1307
  attr_accessor :enabled
@@ -1406,8 +1420,8 @@ module Google
1406
1420
  # @return [Google::Apis::ContainerV1::NodePool]
1407
1421
  attr_accessor :node_pool
1408
1422
 
1409
- # The parent (project, location, cluster id) where the node pool will be created.
1410
- # Specified in the format `projects/*/locations/*/clusters/*`.
1423
+ # The parent (project, location, cluster name) where the node pool will be
1424
+ # created. Specified in the format `projects/*/locations/*/clusters/*`.
1411
1425
  # Corresponds to the JSON property `parent`
1412
1426
  # @return [String]
1413
1427
  attr_accessor :parent
@@ -1986,6 +2000,27 @@ module Google
1986
2000
  end
1987
2001
  end
1988
2002
 
2003
+ # IdentityServiceConfig is configuration for Identity Service which allows
2004
+ # customers to use external identity providers with the K8S API
2005
+ class IdentityServiceConfig
2006
+ include Google::Apis::Core::Hashable
2007
+
2008
+ # Whether to enable the Identity Service component
2009
+ # Corresponds to the JSON property `enabled`
2010
+ # @return [Boolean]
2011
+ attr_accessor :enabled
2012
+ alias_method :enabled?, :enabled
2013
+
2014
+ def initialize(**args)
2015
+ update!(**args)
2016
+ end
2017
+
2018
+ # Update properties of this object
2019
+ def update!(**args)
2020
+ @enabled = args[:enabled] if args.key?(:enabled)
2021
+ end
2022
+ end
2023
+
1989
2024
  # IntraNodeVisibilityConfig contains the desired config of the intra-node
1990
2025
  # visibility on this cluster.
1991
2026
  class IntraNodeVisibilityConfig
@@ -2865,6 +2900,13 @@ module Google
2865
2900
  # @return [Google::Apis::ContainerV1::ShieldedInstanceConfig]
2866
2901
  attr_accessor :shielded_instance_config
2867
2902
 
2903
+ # Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible
2904
+ # flag.
2905
+ # Corresponds to the JSON property `spot`
2906
+ # @return [Boolean]
2907
+ attr_accessor :spot
2908
+ alias_method :spot?, :spot
2909
+
2868
2910
  # The list of instance tags applied to all nodes. Tags are used to identify
2869
2911
  # valid sources or targets for network firewalls and are specified by the client
2870
2912
  # during cluster or node pool creation. Each tag within the list must comply
@@ -2914,6 +2956,7 @@ module Google
2914
2956
  @sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
2915
2957
  @service_account = args[:service_account] if args.key?(:service_account)
2916
2958
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
2959
+ @spot = args[:spot] if args.key?(:spot)
2917
2960
  @tags = args[:tags] if args.key?(:tags)
2918
2961
  @taints = args[:taints] if args.key?(:taints)
2919
2962
  @workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config)
@@ -4091,7 +4134,7 @@ module Google
4091
4134
  # @return [String]
4092
4135
  attr_accessor :label_fingerprint
4093
4136
 
4094
- # The name (project, location, cluster id) of the cluster to set labels.
4137
+ # The name (project, location, cluster name) of the cluster to set labels.
4095
4138
  # Specified in the format `projects/*/locations/*/clusters/*`.
4096
4139
  # Corresponds to the JSON property `name`
4097
4140
  # @return [String]
@@ -4148,7 +4191,7 @@ module Google
4148
4191
  attr_accessor :enabled
4149
4192
  alias_method :enabled?, :enabled
4150
4193
 
4151
- # The name (project, location, cluster id) of the cluster to set legacy abac.
4194
+ # The name (project, location, cluster name) of the cluster to set legacy abac.
4152
4195
  # Specified in the format `projects/*/locations/*/clusters/*`.
4153
4196
  # Corresponds to the JSON property `name`
4154
4197
  # @return [String]
@@ -4305,7 +4348,7 @@ module Google
4305
4348
  # @return [Google::Apis::ContainerV1::MaintenancePolicy]
4306
4349
  attr_accessor :maintenance_policy
4307
4350
 
4308
- # The name (project, location, cluster id) of the cluster to set maintenance
4351
+ # The name (project, location, cluster name) of the cluster to set maintenance
4309
4352
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
4310
4353
  # Corresponds to the JSON property `name`
4311
4354
  # @return [String]
@@ -4458,7 +4501,7 @@ module Google
4458
4501
  # @return [String]
4459
4502
  attr_accessor :cluster_id
4460
4503
 
4461
- # The name (project, location, cluster id) of the cluster to set networking
4504
+ # The name (project, location, cluster name) of the cluster to set networking
4462
4505
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
4463
4506
  # Corresponds to the JSON property `name`
4464
4507
  # @return [String]
@@ -4736,7 +4779,7 @@ module Google
4736
4779
  # @return [String]
4737
4780
  attr_accessor :cluster_id
4738
4781
 
4739
- # The name (project, location, cluster id) of the cluster to start IP rotation.
4782
+ # The name (project, location, cluster name) of the cluster to start IP rotation.
4740
4783
  # Specified in the format `projects/*/locations/*/clusters/*`.
4741
4784
  # Corresponds to the JSON property `name`
4742
4785
  # @return [String]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1
18
18
  # Version of the google-apis-container_v1 gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211203"
25
+ REVISION = "20220209"
26
26
  end
27
27
  end
28
28
  end
@@ -256,6 +256,12 @@ module Google
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
+ class IdentityServiceConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
259
265
  class IntraNodeVisibilityConfig
260
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
267
 
@@ -897,6 +903,8 @@ module Google
897
903
  property :endpoint, as: 'endpoint'
898
904
  property :expire_time, as: 'expireTime'
899
905
  property :id, as: 'id'
906
+ property :identity_service_config, as: 'identityServiceConfig', class: Google::Apis::ContainerV1::IdentityServiceConfig, decorator: Google::Apis::ContainerV1::IdentityServiceConfig::Representation
907
+
900
908
  property :initial_cluster_version, as: 'initialClusterVersion'
901
909
  property :initial_node_count, as: 'initialNodeCount'
902
910
  collection :instance_group_urls, as: 'instanceGroupUrls'
@@ -992,6 +1000,8 @@ module Google
992
1000
 
993
1001
  property :desired_gcfs_config, as: 'desiredGcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
994
1002
 
1003
+ property :desired_identity_service_config, as: 'desiredIdentityServiceConfig', class: Google::Apis::ContainerV1::IdentityServiceConfig, decorator: Google::Apis::ContainerV1::IdentityServiceConfig::Representation
1004
+
995
1005
  property :desired_image_type, as: 'desiredImageType'
996
1006
  property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1::IntraNodeVisibilityConfig::Representation
997
1007
 
@@ -1234,6 +1244,13 @@ module Google
1234
1244
  end
1235
1245
  end
1236
1246
 
1247
+ class IdentityServiceConfig
1248
+ # @private
1249
+ class Representation < Google::Apis::Core::JsonRepresentation
1250
+ property :enabled, as: 'enabled'
1251
+ end
1252
+ end
1253
+
1237
1254
  class IntraNodeVisibilityConfig
1238
1255
  # @private
1239
1256
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1483,6 +1500,7 @@ module Google
1483
1500
  property :service_account, as: 'serviceAccount'
1484
1501
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ContainerV1::ShieldedInstanceConfig, decorator: Google::Apis::ContainerV1::ShieldedInstanceConfig::Representation
1485
1502
 
1503
+ property :spot, as: 'spot'
1486
1504
  collection :tags, as: 'tags'
1487
1505
  collection :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaint, decorator: Google::Apis::ContainerV1::NodeTaint::Representation
1488
1506
 
@@ -140,7 +140,7 @@ module Google
140
140
 
141
141
  # Completes master IP rotation.
142
142
  # @param [String] name
143
- # The name (project, location, cluster id) of the cluster to complete IP
143
+ # The name (project, location, cluster name) of the cluster to complete IP
144
144
  # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
145
145
  # @param [Google::Apis::ContainerV1::CompleteIpRotationRequest] complete_ip_rotation_request_object
146
146
  # @param [String] fields
@@ -311,8 +311,8 @@ module Google
311
311
  # This API is not yet intended for general use, and is not available for all
312
312
  # clusters.
313
313
  # @param [String] parent
314
- # The cluster (project, location, cluster id) to get keys for. Specified in the
315
- # format `projects/*/locations/*/clusters/*`.
314
+ # The cluster (project, location, cluster name) to get keys for. Specified in
315
+ # the format `projects/*/locations/*/clusters/*`.
316
316
  # @param [String] fields
317
317
  # Selector specifying which fields to include in a partial response.
318
318
  # @param [String] quota_user
@@ -419,7 +419,7 @@ module Google
419
419
 
420
420
  # Enables or disables the ABAC authorization mechanism on a cluster.
421
421
  # @param [String] name
422
- # The name (project, location, cluster id) of the cluster to set legacy abac.
422
+ # The name (project, location, cluster name) of the cluster to set legacy abac.
423
423
  # Specified in the format `projects/*/locations/*/clusters/*`.
424
424
  # @param [Google::Apis::ContainerV1::SetLegacyAbacRequest] set_legacy_abac_request_object
425
425
  # @param [String] fields
@@ -523,7 +523,7 @@ module Google
523
523
 
524
524
  # Sets the maintenance policy for a cluster.
525
525
  # @param [String] name
526
- # The name (project, location, cluster id) of the cluster to set maintenance
526
+ # The name (project, location, cluster name) of the cluster to set maintenance
527
527
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
528
528
  # @param [Google::Apis::ContainerV1::SetMaintenancePolicyRequest] set_maintenance_policy_request_object
529
529
  # @param [String] fields
@@ -627,7 +627,7 @@ module Google
627
627
 
628
628
  # Enables or disables Network Policy for a cluster.
629
629
  # @param [String] name
630
- # The name (project, location, cluster id) of the cluster to set networking
630
+ # The name (project, location, cluster name) of the cluster to set networking
631
631
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
632
632
  # @param [Google::Apis::ContainerV1::SetNetworkPolicyRequest] set_network_policy_request_object
633
633
  # @param [String] fields
@@ -661,7 +661,7 @@ module Google
661
661
 
662
662
  # Sets labels on a cluster.
663
663
  # @param [String] name
664
- # The name (project, location, cluster id) of the cluster to set labels.
664
+ # The name (project, location, cluster name) of the cluster to set labels.
665
665
  # Specified in the format `projects/*/locations/*/clusters/*`.
666
666
  # @param [Google::Apis::ContainerV1::SetLabelsRequest] set_labels_request_object
667
667
  # @param [String] fields
@@ -695,7 +695,7 @@ module Google
695
695
 
696
696
  # Starts master IP rotation.
697
697
  # @param [String] name
698
- # The name (project, location, cluster id) of the cluster to start IP rotation.
698
+ # The name (project, location, cluster name) of the cluster to start IP rotation.
699
699
  # Specified in the format `projects/*/locations/*/clusters/*`.
700
700
  # @param [Google::Apis::ContainerV1::StartIpRotationRequest] start_ip_rotation_request_object
701
701
  # @param [String] fields
@@ -797,8 +797,8 @@ module Google
797
797
 
798
798
  # Creates a node pool for a cluster.
799
799
  # @param [String] parent
800
- # The parent (project, location, cluster id) where the node pool will be created.
801
- # Specified in the format `projects/*/locations/*/clusters/*`.
800
+ # The parent (project, location, cluster name) where the node pool will be
801
+ # created. Specified in the format `projects/*/locations/*/clusters/*`.
802
802
  # @param [Google::Apis::ContainerV1::CreateNodePoolRequest] create_node_pool_request_object
803
803
  # @param [String] fields
804
804
  # Selector specifying which fields to include in a partial response.
@@ -929,8 +929,8 @@ module Google
929
929
 
930
930
  # Lists the node pools for a cluster.
931
931
  # @param [String] parent
932
- # The parent (project, location, cluster id) where the node pools will be listed.
933
- # Specified in the format `projects/*/locations/*/clusters/*`.
932
+ # The parent (project, location, cluster name) where the node pools will be
933
+ # listed. Specified in the format `projects/*/locations/*/clusters/*`.
934
934
  # @param [String] cluster_id
935
935
  # Deprecated. The name of the cluster. This field has been deprecated and
936
936
  # replaced by the parent field.
@@ -1152,8 +1152,8 @@ module Google
1152
1152
  # 1_0.html) for details. This API is not yet intended for general use, and is
1153
1153
  # not available for all clusters.
1154
1154
  # @param [String] parent
1155
- # The cluster (project, location, cluster id) to get the discovery document for.
1156
- # Specified in the format `projects/*/locations/*/clusters/*`.
1155
+ # The cluster (project, location, cluster name) to get the discovery document
1156
+ # for. Specified in the format `projects/*/locations/*/clusters/*`.
1157
1157
  # @param [String] fields
1158
1158
  # Selector specifying which fields to include in a partial response.
1159
1159
  # @param [String] quota_user
@@ -2303,8 +2303,8 @@ module Google
2303
2303
  # Deprecated. The name of the cluster. This field has been deprecated and
2304
2304
  # replaced by the parent field.
2305
2305
  # @param [String] parent
2306
- # The parent (project, location, cluster id) where the node pools will be listed.
2307
- # Specified in the format `projects/*/locations/*/clusters/*`.
2306
+ # The parent (project, location, cluster name) where the node pools will be
2307
+ # listed. Specified in the format `projects/*/locations/*/clusters/*`.
2308
2308
  # @param [String] fields
2309
2309
  # Selector specifying which fields to include in a partial response.
2310
2310
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Kubernetes Engine API V1