google-apis-container_v1 0.39.0 → 0.40.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: da326e47b11a25febd89bf3950049489f95a318135fd00f8e848d459e3efb676
4
- data.tar.gz: 9d0683b99773e45dbbbae4d995e62565b98f1a921e3f1fd204e6e695e501eb5b
3
+ metadata.gz: afd835df4d1665ad98fd75c166c521c35ff973a41602ebf5b17ae6e3f35a64a7
4
+ data.tar.gz: 8d9fa7a50a5f8f34f45529cd83c9cc6c449656cc62799151c245a806e89c20ef
5
5
  SHA512:
6
- metadata.gz: 15d5948bfed78b62b32efe9c0a7b0c4b23708fbff58dcd5b5cce09b332d4944bd9f76b7e6cc294bc7befbb870ba5cf5bfb1af03a11ee027644e864adb81c2220
7
- data.tar.gz: 43054295dd17e44fe8e6aeb577bc0f691aacceb631e872a6c8e955e17ea0e0b205b0ad5e87d93cda20b166f8b75ee2abaae8a09b962a03475bc76f47972bef60
6
+ metadata.gz: 163ff257249ccad50ae11d004eddbf382dbb4c318940720ba44a6d377506ae86d7bf49ae8b7f192c1eb6f8a7da4f54ef944d2315c09cab53a9a2fd020aa55465
7
+ data.tar.gz: eb22baba646a89d832ac2ff16d44f9980ffffa23313eb06e1b69ded7e1578fcb51a26ca3e01f57f4be0aa65964134d4d7725a3a89c9e4fe231bc1c369e365b38
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.40.0 (2022-11-11)
4
+
5
+ * Regenerated from discovery document revision 20221024
6
+
3
7
  ### v0.39.0 (2022-11-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20221017
@@ -3637,6 +3637,11 @@ module Google
3637
3637
  # @return [Google::Apis::ContainerV1::NodeNetworkConfig]
3638
3638
  attr_accessor :network_config
3639
3639
 
3640
+ # PlacementPolicy defines the placement policy used by the node pool.
3641
+ # Corresponds to the JSON property `placementPolicy`
3642
+ # @return [Google::Apis::ContainerV1::PlacementPolicy]
3643
+ attr_accessor :placement_policy
3644
+
3640
3645
  # [Output only] The pod CIDR block size per node in this node pool.
3641
3646
  # Corresponds to the JSON property `podIpv4CidrSize`
3642
3647
  # @return [Fixnum]
@@ -3720,6 +3725,7 @@ module Google
3720
3725
  @max_pods_constraint = args[:max_pods_constraint] if args.key?(:max_pods_constraint)
3721
3726
  @name = args[:name] if args.key?(:name)
3722
3727
  @network_config = args[:network_config] if args.key?(:network_config)
3728
+ @placement_policy = args[:placement_policy] if args.key?(:placement_policy)
3723
3729
  @pod_ipv4_cidr_size = args[:pod_ipv4_cidr_size] if args.key?(:pod_ipv4_cidr_size)
3724
3730
  @self_link = args[:self_link] if args.key?(:self_link)
3725
3731
  @status = args[:status] if args.key?(:status)
@@ -4086,6 +4092,25 @@ module Google
4086
4092
  end
4087
4093
  end
4088
4094
 
4095
+ # PlacementPolicy defines the placement policy used by the node pool.
4096
+ class PlacementPolicy
4097
+ include Google::Apis::Core::Hashable
4098
+
4099
+ # The type of placement.
4100
+ # Corresponds to the JSON property `type`
4101
+ # @return [String]
4102
+ attr_accessor :type
4103
+
4104
+ def initialize(**args)
4105
+ update!(**args)
4106
+ end
4107
+
4108
+ # Update properties of this object
4109
+ def update!(**args)
4110
+ @type = args[:type] if args.key?(:type)
4111
+ end
4112
+ end
4113
+
4089
4114
  # Configuration options for private clusters.
4090
4115
  class PrivateClusterConfig
4091
4116
  include Google::Apis::Core::Hashable
@@ -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.39.0"
19
+ GEM_VERSION = "0.40.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221017"
25
+ REVISION = "20221024"
26
26
  end
27
27
  end
28
28
  end
@@ -568,6 +568,12 @@ module Google
568
568
  include Google::Apis::Core::JsonObjectSupport
569
569
  end
570
570
 
571
+ class PlacementPolicy
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
571
577
  class PrivateClusterConfig
572
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
579
 
@@ -1799,6 +1805,8 @@ module Google
1799
1805
  property :name, as: 'name'
1800
1806
  property :network_config, as: 'networkConfig', class: Google::Apis::ContainerV1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1::NodeNetworkConfig::Representation
1801
1807
 
1808
+ property :placement_policy, as: 'placementPolicy', class: Google::Apis::ContainerV1::PlacementPolicy, decorator: Google::Apis::ContainerV1::PlacementPolicy::Representation
1809
+
1802
1810
  property :pod_ipv4_cidr_size, as: 'podIpv4CidrSize'
1803
1811
  property :self_link, as: 'selfLink'
1804
1812
  property :status, as: 'status'
@@ -1910,6 +1918,13 @@ module Google
1910
1918
  end
1911
1919
  end
1912
1920
 
1921
+ class PlacementPolicy
1922
+ # @private
1923
+ class Representation < Google::Apis::Core::JsonRepresentation
1924
+ property :type, as: 'type'
1925
+ end
1926
+ end
1927
+
1913
1928
  class PrivateClusterConfig
1914
1929
  # @private
1915
1930
  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.39.0
4
+ version: 0.40.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-11-07 00:00:00.000000000 Z
11
+ date: 2022-11-14 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.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.40.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: []