google-apis-container_v1 0.55.0 → 0.57.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: cef321412d280a76c66e4ff6d128da974a74a6a8e6b243662c17e0e467c51bcc
4
- data.tar.gz: afcb904dd6a9dab88d906f16eb7d0f5a5e62d1ac147edc3fac71e3d4bb8f6827
3
+ metadata.gz: b82bc844cbae5eddc256321de3e6f4c693ca41501edc08a39cfd4c165f8ae3af
4
+ data.tar.gz: 77555c614748bb649d23073d72ba580513b6d05105d59e4090876b5a1ec26dd1
5
5
  SHA512:
6
- metadata.gz: 4d8a7d0a5dd8b262047c61cdbe797a84183077eb40cf5bbce7611604f400572f6053f3545313a3a47ccab1a539b0ac29512769b8d82ad46b936a89ae1c0f06b8
7
- data.tar.gz: 4271d30eff3921e12ad63c01ae9dc30dfb6c2d1079cf6115a724ee131de91fa060dfca3fb2e542d47160a9e484765d16972801bb4e49b77569c97d2388982e0a
6
+ metadata.gz: a7dc631fb034f022e86d2ea81dd52f6d7c519ac3cb0dfbd138ddc6172b0ea51cdba0280f9400d6e7aaa17f7eef3f91f66914c825fc0d9f9afec0aa96814bfba4
7
+ data.tar.gz: d295c9b6978ad9aae352897394e38d40b4737d3a630d488d0c0e84127998a038dda84ae6177e327f44c1ebf8f75a3e51803c06ade52c2ca5398eedfd3ceafaf7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.57.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230809
6
+
7
+ ### v0.56.0 (2023-07-16)
8
+
9
+ * Regenerated from discovery document revision 20230629
10
+
3
11
  ### v0.55.0 (2023-07-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20230626
@@ -70,6 +70,65 @@ module Google
70
70
  end
71
71
  end
72
72
 
73
+ # AdditionalNodeNetworkConfig is the configuration for additional node networks
74
+ # within the NodeNetworkConfig message
75
+ class AdditionalNodeNetworkConfig
76
+ include Google::Apis::Core::Hashable
77
+
78
+ # Name of the VPC where the additional interface belongs
79
+ # Corresponds to the JSON property `network`
80
+ # @return [String]
81
+ attr_accessor :network
82
+
83
+ # Name of the subnetwork where the additional interface belongs
84
+ # Corresponds to the JSON property `subnetwork`
85
+ # @return [String]
86
+ attr_accessor :subnetwork
87
+
88
+ def initialize(**args)
89
+ update!(**args)
90
+ end
91
+
92
+ # Update properties of this object
93
+ def update!(**args)
94
+ @network = args[:network] if args.key?(:network)
95
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
96
+ end
97
+ end
98
+
99
+ # AdditionalPodNetworkConfig is the configuration for additional pod networks
100
+ # within the NodeNetworkConfig message
101
+ class AdditionalPodNetworkConfig
102
+ include Google::Apis::Core::Hashable
103
+
104
+ # Constraints applied to pods.
105
+ # Corresponds to the JSON property `maxPodsPerNode`
106
+ # @return [Google::Apis::ContainerV1::MaxPodsConstraint]
107
+ attr_accessor :max_pods_per_node
108
+
109
+ # The name of the secondary range on the subnet which provides IP address for
110
+ # this pod range
111
+ # Corresponds to the JSON property `secondaryPodRange`
112
+ # @return [String]
113
+ attr_accessor :secondary_pod_range
114
+
115
+ # Name of the subnetwork where the additional pod network belongs
116
+ # Corresponds to the JSON property `subnetwork`
117
+ # @return [String]
118
+ attr_accessor :subnetwork
119
+
120
+ def initialize(**args)
121
+ update!(**args)
122
+ end
123
+
124
+ # Update properties of this object
125
+ def update!(**args)
126
+ @max_pods_per_node = args[:max_pods_per_node] if args.key?(:max_pods_per_node)
127
+ @secondary_pod_range = args[:secondary_pod_range] if args.key?(:secondary_pod_range)
128
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
129
+ end
130
+ end
131
+
73
132
  # AdditionalPodRangesConfig is the configuration for additional pod secondary
74
133
  # ranges supporting the ClusterUpdate message.
75
134
  class AdditionalPodRangesConfig
@@ -3485,6 +3544,12 @@ module Google
3485
3544
  attr_accessor :enable_l4ilb_subsetting
3486
3545
  alias_method :enable_l4ilb_subsetting?, :enable_l4ilb_subsetting
3487
3546
 
3547
+ # Whether multi-networking is enabled for this cluster.
3548
+ # Corresponds to the JSON property `enableMultiNetworking`
3549
+ # @return [Boolean]
3550
+ attr_accessor :enable_multi_networking
3551
+ alias_method :enable_multi_networking?, :enable_multi_networking
3552
+
3488
3553
  # GatewayAPIConfig contains the desired config of Gateway API on this cluster.
3489
3554
  # Corresponds to the JSON property `gatewayApiConfig`
3490
3555
  # @return [Google::Apis::ContainerV1::GatewayApiConfig]
@@ -3532,6 +3597,7 @@ module Google
3532
3597
  @enable_fqdn_network_policy = args[:enable_fqdn_network_policy] if args.key?(:enable_fqdn_network_policy)
3533
3598
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
3534
3599
  @enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
3600
+ @enable_multi_networking = args[:enable_multi_networking] if args.key?(:enable_multi_networking)
3535
3601
  @gateway_api_config = args[:gateway_api_config] if args.key?(:gateway_api_config)
3536
3602
  @network = args[:network] if args.key?(:network)
3537
3603
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
@@ -4104,6 +4170,18 @@ module Google
4104
4170
  class NodeNetworkConfig
4105
4171
  include Google::Apis::Core::Hashable
4106
4172
 
4173
+ # We specify the additional node networks for this node pool using this list.
4174
+ # Each node network corresponds to an additional interface
4175
+ # Corresponds to the JSON property `additionalNodeNetworkConfigs`
4176
+ # @return [Array<Google::Apis::ContainerV1::AdditionalNodeNetworkConfig>]
4177
+ attr_accessor :additional_node_network_configs
4178
+
4179
+ # We specify the additional pod networks for this node pool using this list.
4180
+ # Each pod network corresponds to an additional alias IP range for the node
4181
+ # Corresponds to the JSON property `additionalPodNetworkConfigs`
4182
+ # @return [Array<Google::Apis::ContainerV1::AdditionalPodNetworkConfig>]
4183
+ attr_accessor :additional_pod_network_configs
4184
+
4107
4185
  # Input only. Whether to create a new range for pod IPs in this node pool.
4108
4186
  # Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are
4109
4187
  # not specified. If neither `create_pod_range` or `pod_range` are specified, the
@@ -4166,6 +4244,8 @@ module Google
4166
4244
 
4167
4245
  # Update properties of this object
4168
4246
  def update!(**args)
4247
+ @additional_node_network_configs = args[:additional_node_network_configs] if args.key?(:additional_node_network_configs)
4248
+ @additional_pod_network_configs = args[:additional_pod_network_configs] if args.key?(:additional_pod_network_configs)
4169
4249
  @create_pod_range = args[:create_pod_range] if args.key?(:create_pod_range)
4170
4250
  @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
4171
4251
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
@@ -4733,6 +4813,19 @@ module Google
4733
4813
  class PlacementPolicy
4734
4814
  include Google::Apis::Core::Hashable
4735
4815
 
4816
+ # If set, refers to the name of a custom resource policy supplied by the user.
4817
+ # The resource policy must be in the same project and region as the node pool.
4818
+ # If not found, InvalidArgument error is returned.
4819
+ # Corresponds to the JSON property `policyName`
4820
+ # @return [String]
4821
+ attr_accessor :policy_name
4822
+
4823
+ # Optional. TPU placement topology for pod slice node pool. https://cloud.google.
4824
+ # com/tpu/docs/types-topologies#tpu_topologies
4825
+ # Corresponds to the JSON property `tpuTopology`
4826
+ # @return [String]
4827
+ attr_accessor :tpu_topology
4828
+
4736
4829
  # The type of placement.
4737
4830
  # Corresponds to the JSON property `type`
4738
4831
  # @return [String]
@@ -4744,6 +4837,8 @@ module Google
4744
4837
 
4745
4838
  # Update properties of this object
4746
4839
  def update!(**args)
4840
+ @policy_name = args[:policy_name] if args.key?(:policy_name)
4841
+ @tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
4747
4842
  @type = args[:type] if args.key?(:type)
4748
4843
  end
4749
4844
  end
@@ -6441,6 +6536,20 @@ module Google
6441
6536
  # @return [Google::Apis::ContainerV1::ConfidentialNodes]
6442
6537
  attr_accessor :confidential_nodes
6443
6538
 
6539
+ # Optional. The desired disk size for nodes in the node pool specified in GB.
6540
+ # The smallest allowed disk size is 10GB. Initiates an upgrade operation that
6541
+ # migrates the nodes in the node pool to the specified disk size.
6542
+ # Corresponds to the JSON property `diskSizeGb`
6543
+ # @return [Fixnum]
6544
+ attr_accessor :disk_size_gb
6545
+
6546
+ # Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced')
6547
+ # for nodes in the node pool. Initiates an upgrade operation that migrates the
6548
+ # nodes in the node pool to the specified disk type.
6549
+ # Corresponds to the JSON property `diskType`
6550
+ # @return [String]
6551
+ attr_accessor :disk_type
6552
+
6444
6553
  # The current etag of the node pool. If an etag is provided and does not match
6445
6554
  # the current etag of the node pool, update will be blocked and an ABORTED error
6446
6555
  # will be returned.
@@ -6501,6 +6610,14 @@ module Google
6501
6610
  # @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
6502
6611
  attr_accessor :logging_config
6503
6612
 
6613
+ # Optional. The desired [Google Compute Engine machine type](https://cloud.
6614
+ # google.com/compute/docs/machine-types) for nodes in the node pool. Initiates
6615
+ # an upgrade operation that migrates the nodes in the node pool to the specified
6616
+ # machine type.
6617
+ # Corresponds to the JSON property `machineType`
6618
+ # @return [String]
6619
+ attr_accessor :machine_type
6620
+
6504
6621
  # The name (project, location, cluster, node pool) of the node pool to update.
6505
6622
  # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
6506
6623
  # Corresponds to the JSON property `name`
@@ -6617,6 +6734,8 @@ module Google
6617
6734
  def update!(**args)
6618
6735
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
6619
6736
  @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
6737
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
6738
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
6620
6739
  @etag = args[:etag] if args.key?(:etag)
6621
6740
  @fast_socket = args[:fast_socket] if args.key?(:fast_socket)
6622
6741
  @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
@@ -6627,6 +6746,7 @@ module Google
6627
6746
  @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
6628
6747
  @locations = args[:locations] if args.key?(:locations)
6629
6748
  @logging_config = args[:logging_config] if args.key?(:logging_config)
6749
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
6630
6750
  @name = args[:name] if args.key?(:name)
6631
6751
  @node_network_config = args[:node_network_config] if args.key?(:node_network_config)
6632
6752
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
@@ -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.55.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230626"
25
+ REVISION = "20230809"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,18 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AdditionalNodeNetworkConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AdditionalPodNetworkConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
31
43
  class AdditionalPodRangesConfig
32
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
45
 
@@ -989,6 +1001,24 @@ module Google
989
1001
  end
990
1002
  end
991
1003
 
1004
+ class AdditionalNodeNetworkConfig
1005
+ # @private
1006
+ class Representation < Google::Apis::Core::JsonRepresentation
1007
+ property :network, as: 'network'
1008
+ property :subnetwork, as: 'subnetwork'
1009
+ end
1010
+ end
1011
+
1012
+ class AdditionalPodNetworkConfig
1013
+ # @private
1014
+ class Representation < Google::Apis::Core::JsonRepresentation
1015
+ property :max_pods_per_node, as: 'maxPodsPerNode', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation
1016
+
1017
+ property :secondary_pod_range, as: 'secondaryPodRange'
1018
+ property :subnetwork, as: 'subnetwork'
1019
+ end
1020
+ end
1021
+
992
1022
  class AdditionalPodRangesConfig
993
1023
  # @private
994
1024
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1917,6 +1947,7 @@ module Google
1917
1947
  property :enable_fqdn_network_policy, as: 'enableFqdnNetworkPolicy'
1918
1948
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
1919
1949
  property :enable_l4ilb_subsetting, as: 'enableL4ilbSubsetting'
1950
+ property :enable_multi_networking, as: 'enableMultiNetworking'
1920
1951
  property :gateway_api_config, as: 'gatewayApiConfig', class: Google::Apis::ContainerV1::GatewayApiConfig, decorator: Google::Apis::ContainerV1::GatewayApiConfig::Representation
1921
1952
 
1922
1953
  property :network, as: 'network'
@@ -2066,6 +2097,10 @@ module Google
2066
2097
  class NodeNetworkConfig
2067
2098
  # @private
2068
2099
  class Representation < Google::Apis::Core::JsonRepresentation
2100
+ collection :additional_node_network_configs, as: 'additionalNodeNetworkConfigs', class: Google::Apis::ContainerV1::AdditionalNodeNetworkConfig, decorator: Google::Apis::ContainerV1::AdditionalNodeNetworkConfig::Representation
2101
+
2102
+ collection :additional_pod_network_configs, as: 'additionalPodNetworkConfigs', class: Google::Apis::ContainerV1::AdditionalPodNetworkConfig, decorator: Google::Apis::ContainerV1::AdditionalPodNetworkConfig::Representation
2103
+
2069
2104
  property :create_pod_range, as: 'createPodRange'
2070
2105
  property :enable_private_nodes, as: 'enablePrivateNodes'
2071
2106
  property :network_performance_config, as: 'networkPerformanceConfig', class: Google::Apis::ContainerV1::NetworkPerformanceConfig, decorator: Google::Apis::ContainerV1::NetworkPerformanceConfig::Representation
@@ -2216,6 +2251,8 @@ module Google
2216
2251
  class PlacementPolicy
2217
2252
  # @private
2218
2253
  class Representation < Google::Apis::Core::JsonRepresentation
2254
+ property :policy_name, as: 'policyName'
2255
+ property :tpu_topology, as: 'tpuTopology'
2219
2256
  property :type, as: 'type'
2220
2257
  end
2221
2258
  end
@@ -2642,6 +2679,8 @@ module Google
2642
2679
  property :cluster_id, as: 'clusterId'
2643
2680
  property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
2644
2681
 
2682
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
2683
+ property :disk_type, as: 'diskType'
2645
2684
  property :etag, as: 'etag'
2646
2685
  property :fast_socket, as: 'fastSocket', class: Google::Apis::ContainerV1::FastSocket, decorator: Google::Apis::ContainerV1::FastSocket::Representation
2647
2686
 
@@ -2659,6 +2698,7 @@ module Google
2659
2698
  collection :locations, as: 'locations'
2660
2699
  property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1::NodePoolLoggingConfig::Representation
2661
2700
 
2701
+ property :machine_type, as: 'machineType'
2662
2702
  property :name, as: 'name'
2663
2703
  property :node_network_config, as: 'nodeNetworkConfig', class: Google::Apis::ContainerV1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1::NodeNetworkConfig::Representation
2664
2704
 
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.55.0
4
+ version: 0.57.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: 2023-07-09 00:00:00.000000000 Z
11
+ date: 2023-08-27 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.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.57.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.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Kubernetes Engine API V1