google-apis-container_v1 0.45.0 → 0.47.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: 8fd5869d50dc67118faff93103d2118ae096b4b225770ea7e850008ae6651354
4
- data.tar.gz: 8e76433724bfb19bc33bcbb436a211501a3899a8d81855d568d0fdc4fee8a8a2
3
+ metadata.gz: 992721bfd0351264da95ba2ba78bf677704b2476c25ba283eb2d03e60be5b0e2
4
+ data.tar.gz: 76afff351b022516917a3da1e98cd26e8f010c2c44a550f9a7cb2c0ea2b11019
5
5
  SHA512:
6
- metadata.gz: bfbe5c402a05bd16fc8d2e196856f5e146e84c806724401158447942c7cc4f42f8f83b480cf510f3030f6b464ba49097cdacc66f974392ed0b8d326f6524e21e
7
- data.tar.gz: 0336bb1aa05d531263066a2ea6d2522c4f39c56bee5cb41da87f87e11c90b4bb23a3d256afe0be75a5b260e2b55daabb9066f5fac592e0a3f5a15068aceeed3d
6
+ metadata.gz: ea38aef19683551329426cd5dcd42e7af2d0aad0f846ebb676bdd75db693d95fabafafb8089ccca0496146f2e3fb95d1c60cde9bc715f45a945b05980be8877c
7
+ data.tar.gz: 7b7b2759a22203b1d79036994db892d64fd35bbfc6efdfa30e8d6408b50c4308e49b9bd7d904226593efc541005c44cd8b290624f63bf55606a4c849ab22b429
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.47.0 (2023-04-02)
4
+
5
+ * Regenerated from discovery document revision 20230317
6
+
7
+ ### v0.46.0 (2023-03-26)
8
+
9
+ * Regenerated from discovery document revision 20230304
10
+
3
11
  ### v0.45.0 (2023-02-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230207
@@ -728,6 +728,11 @@ module Google
728
728
  # @return [String]
729
729
  attr_accessor :expire_time
730
730
 
731
+ # Fleet is the fleet configuration for the cluster.
732
+ # Corresponds to the JSON property `fleet`
733
+ # @return [Google::Apis::ContainerV1::Fleet]
734
+ attr_accessor :fleet
735
+
731
736
  # Output only. Unique id for the cluster.
732
737
  # Corresponds to the JSON property `id`
733
738
  # @return [String]
@@ -1035,6 +1040,7 @@ module Google
1035
1040
  @endpoint = args[:endpoint] if args.key?(:endpoint)
1036
1041
  @etag = args[:etag] if args.key?(:etag)
1037
1042
  @expire_time = args[:expire_time] if args.key?(:expire_time)
1043
+ @fleet = args[:fleet] if args.key?(:fleet)
1038
1044
  @id = args[:id] if args.key?(:id)
1039
1045
  @identity_service_config = args[:identity_service_config] if args.key?(:identity_service_config)
1040
1046
  @initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
@@ -1881,6 +1887,42 @@ module Google
1881
1887
  end
1882
1888
  end
1883
1889
 
1890
+ # Fleet is the fleet configuration for the cluster.
1891
+ class Fleet
1892
+ include Google::Apis::Core::Hashable
1893
+
1894
+ # [Output only] The full resource name of the registered fleet membership of the
1895
+ # cluster, in the format `//gkehub.googleapis.com/projects/*/locations/*/
1896
+ # memberships/*`.
1897
+ # Corresponds to the JSON property `membership`
1898
+ # @return [String]
1899
+ attr_accessor :membership
1900
+
1901
+ # [Output only] Whether the cluster has been registered through the fleet API.
1902
+ # Corresponds to the JSON property `preRegistered`
1903
+ # @return [Boolean]
1904
+ attr_accessor :pre_registered
1905
+ alias_method :pre_registered?, :pre_registered
1906
+
1907
+ # The Fleet host project(project ID or project number) where this cluster will
1908
+ # be registered to. This field cannot be changed after the cluster has been
1909
+ # registered.
1910
+ # Corresponds to the JSON property `project`
1911
+ # @return [String]
1912
+ attr_accessor :project
1913
+
1914
+ def initialize(**args)
1915
+ update!(**args)
1916
+ end
1917
+
1918
+ # Update properties of this object
1919
+ def update!(**args)
1920
+ @membership = args[:membership] if args.key?(:membership)
1921
+ @pre_registered = args[:pre_registered] if args.key?(:pre_registered)
1922
+ @project = args[:project] if args.key?(:project)
1923
+ end
1924
+ end
1925
+
1884
1926
  # GPUSharingConfig represents the GPU sharing configuration for Hardware
1885
1927
  # Accelerators.
1886
1928
  class GpuSharingConfig
@@ -2248,6 +2290,11 @@ module Google
2248
2290
  # @return [String]
2249
2291
  attr_accessor :node_ipv4_cidr_block
2250
2292
 
2293
+ # [PRIVATE FIELD] Config for pod CIDR size overprovisioning.
2294
+ # Corresponds to the JSON property `podCidrOverprovisionConfig`
2295
+ # @return [Google::Apis::ContainerV1::PodCidrOverprovisionConfig]
2296
+ attr_accessor :pod_cidr_overprovision_config
2297
+
2251
2298
  # This field is deprecated, use services_ipv4_cidr_block.
2252
2299
  # Corresponds to the JSON property `servicesIpv4Cidr`
2253
2300
  # @return [String]
@@ -2337,6 +2384,7 @@ module Google
2337
2384
  @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
2338
2385
  @node_ipv4_cidr = args[:node_ipv4_cidr] if args.key?(:node_ipv4_cidr)
2339
2386
  @node_ipv4_cidr_block = args[:node_ipv4_cidr_block] if args.key?(:node_ipv4_cidr_block)
2387
+ @pod_cidr_overprovision_config = args[:pod_cidr_overprovision_config] if args.key?(:pod_cidr_overprovision_config)
2340
2388
  @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
2341
2389
  @services_ipv4_cidr_block = args[:services_ipv4_cidr_block] if args.key?(:services_ipv4_cidr_block)
2342
2390
  @services_ipv6_cidr_block = args[:services_ipv6_cidr_block] if args.key?(:services_ipv6_cidr_block)
@@ -3663,6 +3711,11 @@ module Google
3663
3711
  # @return [Google::Apis::ContainerV1::NetworkPerformanceConfig]
3664
3712
  attr_accessor :network_performance_config
3665
3713
 
3714
+ # [PRIVATE FIELD] Config for pod CIDR size overprovisioning.
3715
+ # Corresponds to the JSON property `podCidrOverprovisionConfig`
3716
+ # @return [Google::Apis::ContainerV1::PodCidrOverprovisionConfig]
3717
+ attr_accessor :pod_cidr_overprovision_config
3718
+
3666
3719
  # The IP address range for pod IPs in this node pool. Only applicable if `
3667
3720
  # create_pod_range` is true. Set to blank to have a range chosen with the
3668
3721
  # default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
@@ -3692,6 +3745,7 @@ module Google
3692
3745
  @create_pod_range = args[:create_pod_range] if args.key?(:create_pod_range)
3693
3746
  @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
3694
3747
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
3748
+ @pod_cidr_overprovision_config = args[:pod_cidr_overprovision_config] if args.key?(:pod_cidr_overprovision_config)
3695
3749
  @pod_ipv4_cidr_block = args[:pod_ipv4_cidr_block] if args.key?(:pod_ipv4_cidr_block)
3696
3750
  @pod_range = args[:pod_range] if args.key?(:pod_range)
3697
3751
  end
@@ -4255,6 +4309,27 @@ module Google
4255
4309
  end
4256
4310
  end
4257
4311
 
4312
+ # [PRIVATE FIELD] Config for pod CIDR size overprovisioning.
4313
+ class PodCidrOverprovisionConfig
4314
+ include Google::Apis::Core::Hashable
4315
+
4316
+ # Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning
4317
+ # is enabled by default.
4318
+ # Corresponds to the JSON property `disable`
4319
+ # @return [Boolean]
4320
+ attr_accessor :disable
4321
+ alias_method :disable?, :disable
4322
+
4323
+ def initialize(**args)
4324
+ update!(**args)
4325
+ end
4326
+
4327
+ # Update properties of this object
4328
+ def update!(**args)
4329
+ @disable = args[:disable] if args.key?(:disable)
4330
+ end
4331
+ end
4332
+
4258
4333
  # Configuration options for private clusters.
4259
4334
  class PrivateClusterConfig
4260
4335
  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.45.0"
19
+ GEM_VERSION = "0.47.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 = "20230207"
25
+ REVISION = "20230317"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class Fleet
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class GpuSharingConfig
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -592,6 +598,12 @@ module Google
592
598
  include Google::Apis::Core::JsonObjectSupport
593
599
  end
594
600
 
601
+ class PodCidrOverprovisionConfig
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
595
607
  class PrivateClusterConfig
596
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
609
 
@@ -1068,6 +1080,8 @@ module Google
1068
1080
  property :endpoint, as: 'endpoint'
1069
1081
  property :etag, as: 'etag'
1070
1082
  property :expire_time, as: 'expireTime'
1083
+ property :fleet, as: 'fleet', class: Google::Apis::ContainerV1::Fleet, decorator: Google::Apis::ContainerV1::Fleet::Representation
1084
+
1071
1085
  property :id, as: 'id'
1072
1086
  property :identity_service_config, as: 'identityServiceConfig', class: Google::Apis::ContainerV1::IdentityServiceConfig, decorator: Google::Apis::ContainerV1::IdentityServiceConfig::Representation
1073
1087
 
@@ -1355,6 +1369,15 @@ module Google
1355
1369
  end
1356
1370
  end
1357
1371
 
1372
+ class Fleet
1373
+ # @private
1374
+ class Representation < Google::Apis::Core::JsonRepresentation
1375
+ property :membership, as: 'membership'
1376
+ property :pre_registered, as: 'preRegistered'
1377
+ property :project, as: 'project'
1378
+ end
1379
+ end
1380
+
1358
1381
  class GpuSharingConfig
1359
1382
  # @private
1360
1383
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1463,6 +1486,8 @@ module Google
1463
1486
  property :ipv6_access_type, as: 'ipv6AccessType'
1464
1487
  property :node_ipv4_cidr, as: 'nodeIpv4Cidr'
1465
1488
  property :node_ipv4_cidr_block, as: 'nodeIpv4CidrBlock'
1489
+ property :pod_cidr_overprovision_config, as: 'podCidrOverprovisionConfig', class: Google::Apis::ContainerV1::PodCidrOverprovisionConfig, decorator: Google::Apis::ContainerV1::PodCidrOverprovisionConfig::Representation
1490
+
1466
1491
  property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
1467
1492
  property :services_ipv4_cidr_block, as: 'servicesIpv4CidrBlock'
1468
1493
  property :services_ipv6_cidr_block, as: 'servicesIpv6CidrBlock'
@@ -1839,6 +1864,8 @@ module Google
1839
1864
  property :enable_private_nodes, as: 'enablePrivateNodes'
1840
1865
  property :network_performance_config, as: 'networkPerformanceConfig', class: Google::Apis::ContainerV1::NetworkPerformanceConfig, decorator: Google::Apis::ContainerV1::NetworkPerformanceConfig::Representation
1841
1866
 
1867
+ property :pod_cidr_overprovision_config, as: 'podCidrOverprovisionConfig', class: Google::Apis::ContainerV1::PodCidrOverprovisionConfig, decorator: Google::Apis::ContainerV1::PodCidrOverprovisionConfig::Representation
1868
+
1842
1869
  property :pod_ipv4_cidr_block, as: 'podIpv4CidrBlock'
1843
1870
  property :pod_range, as: 'podRange'
1844
1871
  end
@@ -1984,6 +2011,13 @@ module Google
1984
2011
  end
1985
2012
  end
1986
2013
 
2014
+ class PodCidrOverprovisionConfig
2015
+ # @private
2016
+ class Representation < Google::Apis::Core::JsonRepresentation
2017
+ property :disable, as: 'disable'
2018
+ end
2019
+ end
2020
+
1987
2021
  class PrivateClusterConfig
1988
2022
  # @private
1989
2023
  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.45.0
4
+ version: 0.47.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-02-26 00:00:00.000000000 Z
11
+ date: 2023-04-02 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.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.47.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: []