google-apis-container_v1 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6579df18036fab50b5e7a9b92b739072cef86b15369ef433c4fd4aca92301dcd
4
- data.tar.gz: 1fb6af78bdd2fa35ade6e661ca7a2f45b778e2639839ff9b25bbccaaf4366994
3
+ metadata.gz: 7fc68d2ba9467c4831a86f1c6ec6de26a5937440add426ead18a77fe165baf41
4
+ data.tar.gz: f6af705013220ad7126c577cb45488c2940ee82f7cda1c459cace247776f4a09
5
5
  SHA512:
6
- metadata.gz: c5fc80b29ad952896d5ff3b9256a8e9e01e831dde02cec9702a45f07f667ec6f897003334cbafed7681b00e55a2833f700c158db7d0dd9ac1562da7f05d7aa8d
7
- data.tar.gz: a1265d70135f8df99e0c98edd073731555e6895e29e3e1f355d8047007fd149fd55473daa1062c74763d4d81594c6d5d649c31fccdf59b1f271fc0a0339da69d
6
+ metadata.gz: cae1b06ec29aaa8cff4d621364420f414846088ed5082353bf165b3b4c186796edfea0297b1e61ee9b81437fcb915a489fd30993b82ac624be68076d88a8079c
7
+ data.tar.gz: 84697988423952cff037e56ef6c603c91d37b07b3cf42a54dbb234c9e1c544eb36f656a7085c5b0daa870e8aeb8865869cfd7b106d7111803f08ae7fd1f164f6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.7.0 (2021-05-13)
4
+
5
+ * Regenerated from discovery document revision 20210429
6
+
3
7
  ### v0.6.0 (2021-03-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20210312
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
@@ -485,6 +485,12 @@ module Google
485
485
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
486
486
  attr_accessor :conditions
487
487
 
488
+ # ConfidentialNodes is configuration for the confidential nodes feature, which
489
+ # makes nodes run on confidential VMs.
490
+ # Corresponds to the JSON property `confidentialNodes`
491
+ # @return [Google::Apis::ContainerV1::ConfidentialNodes]
492
+ attr_accessor :confidential_nodes
493
+
488
494
  # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
489
495
  # org/rfc/rfc3339.txt) text format.
490
496
  # Corresponds to the JSON property `createTime`
@@ -556,6 +562,11 @@ module Google
556
562
  # @return [String]
557
563
  attr_accessor :expire_time
558
564
 
565
+ # Output only. Unique id for the cluster.
566
+ # Corresponds to the JSON property `id`
567
+ # @return [String]
568
+ attr_accessor :id
569
+
559
570
  # The initial Kubernetes version for this cluster. Valid versions are those
560
571
  # found in validMasterVersions returned by getServerConfig. The version can be
561
572
  # upgraded over time; such upgrades are reflected in currentMasterVersion and
@@ -810,6 +821,7 @@ module Google
810
821
  @binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
811
822
  @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
812
823
  @conditions = args[:conditions] if args.key?(:conditions)
824
+ @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
813
825
  @create_time = args[:create_time] if args.key?(:create_time)
814
826
  @current_master_version = args[:current_master_version] if args.key?(:current_master_version)
815
827
  @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
@@ -821,6 +833,7 @@ module Google
821
833
  @enable_tpu = args[:enable_tpu] if args.key?(:enable_tpu)
822
834
  @endpoint = args[:endpoint] if args.key?(:endpoint)
823
835
  @expire_time = args[:expire_time] if args.key?(:expire_time)
836
+ @id = args[:id] if args.key?(:id)
824
837
  @initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
825
838
  @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
826
839
  @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
@@ -913,6 +926,11 @@ module Google
913
926
  # @return [Google::Apis::ContainerV1::AddonsConfig]
914
927
  attr_accessor :desired_addons_config
915
928
 
929
+ # Autopilot is the configuration for Autopilot settings on the cluster.
930
+ # Corresponds to the JSON property `desiredAutopilot`
931
+ # @return [Google::Apis::ContainerV1::Autopilot]
932
+ attr_accessor :desired_autopilot
933
+
916
934
  # Configuration for Binary Authorization.
917
935
  # Corresponds to the JSON property `desiredBinaryAuthorization`
918
936
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
@@ -930,6 +948,11 @@ module Google
930
948
  # @return [Google::Apis::ContainerV1::DatabaseEncryption]
931
949
  attr_accessor :desired_database_encryption
932
950
 
951
+ # The desired datapath provider for the cluster.
952
+ # Corresponds to the JSON property `desiredDatapathProvider`
953
+ # @return [String]
954
+ attr_accessor :desired_datapath_provider
955
+
933
956
  # DefaultSnatStatus contains the desired state of whether default sNAT should be
934
957
  # disabled on the cluster.
935
958
  # Corresponds to the JSON property `desiredDefaultSnatStatus`
@@ -1074,9 +1097,11 @@ module Google
1074
1097
  # Update properties of this object
1075
1098
  def update!(**args)
1076
1099
  @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
1100
+ @desired_autopilot = args[:desired_autopilot] if args.key?(:desired_autopilot)
1077
1101
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
1078
1102
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1079
1103
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
1104
+ @desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
1080
1105
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1081
1106
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1082
1107
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
@@ -1142,6 +1167,27 @@ module Google
1142
1167
  end
1143
1168
  end
1144
1169
 
1170
+ # ConfidentialNodes is configuration for the confidential nodes feature, which
1171
+ # makes nodes run on confidential VMs.
1172
+ class ConfidentialNodes
1173
+ include Google::Apis::Core::Hashable
1174
+
1175
+ # Whether Confidential Nodes feature is enabled for all nodes in this cluster.
1176
+ # Corresponds to the JSON property `enabled`
1177
+ # @return [Boolean]
1178
+ attr_accessor :enabled
1179
+ alias_method :enabled?, :enabled
1180
+
1181
+ def initialize(**args)
1182
+ update!(**args)
1183
+ end
1184
+
1185
+ # Update properties of this object
1186
+ def update!(**args)
1187
+ @enabled = args[:enabled] if args.key?(:enabled)
1188
+ end
1189
+ end
1190
+
1145
1191
  # Configuration options for the Config Connector add-on.
1146
1192
  class ConfigConnectorConfig
1147
1193
  include Google::Apis::Core::Hashable
@@ -2178,6 +2224,12 @@ module Google
2178
2224
  class NetworkConfig
2179
2225
  include Google::Apis::Core::Hashable
2180
2226
 
2227
+ # The desired datapath provider for this cluster. By default, uses the IPTables-
2228
+ # based kube-proxy implementation.
2229
+ # Corresponds to the JSON property `datapathProvider`
2230
+ # @return [String]
2231
+ attr_accessor :datapath_provider
2232
+
2181
2233
  # DefaultSnatStatus contains the desired state of whether default sNAT should be
2182
2234
  # disabled on the cluster.
2183
2235
  # Corresponds to the JSON property `defaultSnatStatus`
@@ -2217,6 +2269,7 @@ module Google
2217
2269
 
2218
2270
  # Update properties of this object
2219
2271
  def update!(**args)
2272
+ @datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
2220
2273
  @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
2221
2274
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
2222
2275
  @network = args[:network] if args.key?(:network)
@@ -4450,6 +4503,48 @@ module Google
4450
4503
  end
4451
4504
  end
4452
4505
 
4506
+ # UpgradeAvailableEvent is a notification sent to customers when a new available
4507
+ # version is released.
4508
+ class UpgradeAvailableEvent
4509
+ include Google::Apis::Core::Hashable
4510
+
4511
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
4512
+ # Release channels are arranged in order of risk. When a cluster is subscribed
4513
+ # to a release channel, Google maintains both the master version and the node
4514
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
4515
+ # Corresponds to the JSON property `releaseChannel`
4516
+ # @return [Google::Apis::ContainerV1::ReleaseChannel]
4517
+ attr_accessor :release_channel
4518
+
4519
+ # Optional relative path to the resource. For example, the relative path of the
4520
+ # node pool.
4521
+ # Corresponds to the JSON property `resource`
4522
+ # @return [String]
4523
+ attr_accessor :resource
4524
+
4525
+ # The resource type of the release version.
4526
+ # Corresponds to the JSON property `resourceType`
4527
+ # @return [String]
4528
+ attr_accessor :resource_type
4529
+
4530
+ # The release version available for upgrade.
4531
+ # Corresponds to the JSON property `version`
4532
+ # @return [String]
4533
+ attr_accessor :version
4534
+
4535
+ def initialize(**args)
4536
+ update!(**args)
4537
+ end
4538
+
4539
+ # Update properties of this object
4540
+ def update!(**args)
4541
+ @release_channel = args[:release_channel] if args.key?(:release_channel)
4542
+ @resource = args[:resource] if args.key?(:resource)
4543
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
4544
+ @version = args[:version] if args.key?(:version)
4545
+ end
4546
+ end
4547
+
4453
4548
  # UpgradeEvent is a notification sent to customers by the cluster server when a
4454
4549
  # resource is upgrading.
4455
4550
  class UpgradeEvent
@@ -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.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210312"
25
+ REVISION = "20210429"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class ConfidentialNodes
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class ConfigConnectorConfig
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -574,6 +580,12 @@ module Google
574
580
  include Google::Apis::Core::JsonObjectSupport
575
581
  end
576
582
 
583
+ class UpgradeAvailableEvent
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
577
589
  class UpgradeEvent
578
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
591
 
@@ -750,6 +762,8 @@ module Google
750
762
  property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
751
763
  collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
752
764
 
765
+ property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
766
+
753
767
  property :create_time, as: 'createTime'
754
768
  property :current_master_version, as: 'currentMasterVersion'
755
769
  property :current_node_count, as: 'currentNodeCount'
@@ -763,6 +777,7 @@ module Google
763
777
  property :enable_tpu, as: 'enableTpu'
764
778
  property :endpoint, as: 'endpoint'
765
779
  property :expire_time, as: 'expireTime'
780
+ property :id, as: 'id'
766
781
  property :initial_cluster_version, as: 'initialClusterVersion'
767
782
  property :initial_node_count, as: 'initialNodeCount'
768
783
  collection :instance_group_urls, as: 'instanceGroupUrls'
@@ -834,12 +849,15 @@ module Google
834
849
  class Representation < Google::Apis::Core::JsonRepresentation
835
850
  property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
836
851
 
852
+ property :desired_autopilot, as: 'desiredAutopilot', class: Google::Apis::ContainerV1::Autopilot, decorator: Google::Apis::ContainerV1::Autopilot::Representation
853
+
837
854
  property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
838
855
 
839
856
  property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
840
857
 
841
858
  property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1::DatabaseEncryption, decorator: Google::Apis::ContainerV1::DatabaseEncryption::Representation
842
859
 
860
+ property :desired_datapath_provider, as: 'desiredDatapathProvider'
843
861
  property :desired_default_snat_status, as: 'desiredDefaultSnatStatus', class: Google::Apis::ContainerV1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1::DefaultSnatStatus::Representation
844
862
 
845
863
  property :desired_image_type, as: 'desiredImageType'
@@ -883,6 +901,13 @@ module Google
883
901
  end
884
902
  end
885
903
 
904
+ class ConfidentialNodes
905
+ # @private
906
+ class Representation < Google::Apis::Core::JsonRepresentation
907
+ property :enabled, as: 'enabled'
908
+ end
909
+ end
910
+
886
911
  class ConfigConnectorConfig
887
912
  # @private
888
913
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1171,6 +1196,7 @@ module Google
1171
1196
  class NetworkConfig
1172
1197
  # @private
1173
1198
  class Representation < Google::Apis::Core::JsonRepresentation
1199
+ property :datapath_provider, as: 'datapathProvider'
1174
1200
  property :default_snat_status, as: 'defaultSnatStatus', class: Google::Apis::ContainerV1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1::DefaultSnatStatus::Representation
1175
1201
 
1176
1202
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
@@ -1695,6 +1721,17 @@ module Google
1695
1721
  end
1696
1722
  end
1697
1723
 
1724
+ class UpgradeAvailableEvent
1725
+ # @private
1726
+ class Representation < Google::Apis::Core::JsonRepresentation
1727
+ property :release_channel, as: 'releaseChannel', class: Google::Apis::ContainerV1::ReleaseChannel, decorator: Google::Apis::ContainerV1::ReleaseChannel::Representation
1728
+
1729
+ property :resource, as: 'resource'
1730
+ property :resource_type, as: 'resourceType'
1731
+ property :version, as: 'version'
1732
+ end
1733
+ end
1734
+
1698
1735
  class UpgradeEvent
1699
1736
  # @private
1700
1737
  class Representation < Google::Apis::Core::JsonRepresentation
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.6.0
4
+ version: 0.7.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: 2021-03-29 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.6.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.7.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Kubernetes Engine API V1