google-apis-container_v1 0.55.0 → 0.56.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: e87684cc40a03435f7a52029ce76b1374d07831eba527d4fb9db22aac3a12c82
4
+ data.tar.gz: b0741e77847d0cdbedf479b28ae9db2425b7ffd76ce9a31c66da76ace4f57ed2
5
5
  SHA512:
6
- metadata.gz: 4d8a7d0a5dd8b262047c61cdbe797a84183077eb40cf5bbce7611604f400572f6053f3545313a3a47ccab1a539b0ac29512769b8d82ad46b936a89ae1c0f06b8
7
- data.tar.gz: 4271d30eff3921e12ad63c01ae9dc30dfb6c2d1079cf6115a724ee131de91fa060dfca3fb2e542d47160a9e484765d16972801bb4e49b77569c97d2388982e0a
6
+ metadata.gz: 9842c6f29bfb22a2dc9297cea55bdcee23f65bdf7d35654035c023ee928e94835e27ca40b9ea42c4c910a1191a2ce3467d6863ffe1e044b141f8fd9fc5a97ace
7
+ data.tar.gz: 3242fba072cc1da897f30f548354d23d4ce608cd0dceb2db44573ab1eecee8dd101efce84a6dadd879b7aadf9e48c0f7eb5a3393f9424b71c2bc1d09a253e53d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.56.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230629
6
+
3
7
  ### v0.55.0 (2023-07-09)
4
8
 
5
9
  * 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,13 @@ 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
+
4736
4823
  # The type of placement.
4737
4824
  # Corresponds to the JSON property `type`
4738
4825
  # @return [String]
@@ -4744,6 +4831,7 @@ module Google
4744
4831
 
4745
4832
  # Update properties of this object
4746
4833
  def update!(**args)
4834
+ @policy_name = args[:policy_name] if args.key?(:policy_name)
4747
4835
  @type = args[:type] if args.key?(:type)
4748
4836
  end
4749
4837
  end
@@ -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.56.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 = "20230629"
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,7 @@ module Google
2216
2251
  class PlacementPolicy
2217
2252
  # @private
2218
2253
  class Representation < Google::Apis::Core::JsonRepresentation
2254
+ property :policy_name, as: 'policyName'
2219
2255
  property :type, as: 'type'
2220
2256
  end
2221
2257
  end
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.56.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-07-16 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.56.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: []