google-apis-container_v1 0.50.0 → 0.51.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 359e950e23970efa7ecee1dc463a141e4d883b3093527c8d337957fb96213f83
|
4
|
+
data.tar.gz: 4eac933ba32a712436c606301fef44e7654416c7f28454015299d40a7f98d764
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bfe963ce1eee1bafdc623812914a696cbdb668c3e818de0915a0b7f2997b42414305900b924354dc73cec99484d8ec80b991d60a0a3768ead8329664c170da4
|
7
|
+
data.tar.gz: e4c04d4320758d3aedd6b9724a748776aa0d8dca4e226fcc4396c6293f57601c2a0c7f6829256a8322fa2a8b998e744496b3626c63df00f66901b9e176af0909
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# Release history for google-apis-container_v1
|
2
2
|
|
3
|
-
### v0.
|
3
|
+
### v0.51.0 (2023-05-28)
|
4
4
|
|
5
|
-
* Regenerated from discovery document revision
|
5
|
+
* Regenerated from discovery document revision 20230515
|
6
|
+
|
7
|
+
### v0.50.0 (2023-05-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230501
|
6
10
|
|
7
11
|
### v0.49.0 (2023-04-23)
|
8
12
|
|
@@ -3306,6 +3306,39 @@ module Google
|
|
3306
3306
|
end
|
3307
3307
|
end
|
3308
3308
|
|
3309
|
+
# Specifies the NodeAffinity key, values, and affinity operator according to [
|
3310
|
+
# shared sole tenant node group affinities](https://cloud.google.com/compute/
|
3311
|
+
# docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).
|
3312
|
+
class NodeAffinity
|
3313
|
+
include Google::Apis::Core::Hashable
|
3314
|
+
|
3315
|
+
# Key for NodeAffinity.
|
3316
|
+
# Corresponds to the JSON property `key`
|
3317
|
+
# @return [String]
|
3318
|
+
attr_accessor :key
|
3319
|
+
|
3320
|
+
# Operator for NodeAffinity.
|
3321
|
+
# Corresponds to the JSON property `operator`
|
3322
|
+
# @return [String]
|
3323
|
+
attr_accessor :operator
|
3324
|
+
|
3325
|
+
# Values for NodeAffinity.
|
3326
|
+
# Corresponds to the JSON property `values`
|
3327
|
+
# @return [Array<String>]
|
3328
|
+
attr_accessor :values
|
3329
|
+
|
3330
|
+
def initialize(**args)
|
3331
|
+
update!(**args)
|
3332
|
+
end
|
3333
|
+
|
3334
|
+
# Update properties of this object
|
3335
|
+
def update!(**args)
|
3336
|
+
@key = args[:key] if args.key?(:key)
|
3337
|
+
@operator = args[:operator] if args.key?(:operator)
|
3338
|
+
@values = args[:values] if args.key?(:values)
|
3339
|
+
end
|
3340
|
+
end
|
3341
|
+
|
3309
3342
|
# Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
|
3310
3343
|
# recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
|
3311
3344
|
# instead.
|
@@ -3512,6 +3545,12 @@ module Google
|
|
3512
3545
|
# @return [Google::Apis::ContainerV1::ShieldedInstanceConfig]
|
3513
3546
|
attr_accessor :shielded_instance_config
|
3514
3547
|
|
3548
|
+
# SoleTenantConfig contains the NodeAffinities to specify what shared sole
|
3549
|
+
# tenant node groups should back the node pool.
|
3550
|
+
# Corresponds to the JSON property `soleTenantConfig`
|
3551
|
+
# @return [Google::Apis::ContainerV1::SoleTenantConfig]
|
3552
|
+
attr_accessor :sole_tenant_config
|
3553
|
+
|
3515
3554
|
# Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible
|
3516
3555
|
# flag.
|
3517
3556
|
# Corresponds to the JSON property `spot`
|
@@ -3581,6 +3620,7 @@ module Google
|
|
3581
3620
|
@sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
|
3582
3621
|
@service_account = args[:service_account] if args.key?(:service_account)
|
3583
3622
|
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
3623
|
+
@sole_tenant_config = args[:sole_tenant_config] if args.key?(:sole_tenant_config)
|
3584
3624
|
@spot = args[:spot] if args.key?(:spot)
|
3585
3625
|
@tags = args[:tags] if args.key?(:tags)
|
3586
3626
|
@taints = args[:taints] if args.key?(:taints)
|
@@ -4265,10 +4305,10 @@ module Google
|
|
4265
4305
|
# Server-defined URI for the target of the operation. The format of this is a
|
4266
4306
|
# URI to the resource being modified (such as a cluster, node pool, or node).
|
4267
4307
|
# For node pool repairs, there may be multiple nodes being repaired, but only
|
4268
|
-
# one will be the target. Examples: - `https://container.googleapis.com/v1/
|
4269
|
-
# projects/123/locations/us-central1/clusters/my-cluster`
|
4308
|
+
# one will be the target. Examples: - ## `https://container.googleapis.com/v1/
|
4309
|
+
# projects/123/locations/us-central1/clusters/my-cluster` ## `https://container.
|
4270
4310
|
# googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/
|
4271
|
-
# nodePools/my-np`
|
4311
|
+
# nodePools/my-np` `https://container.googleapis.com/v1/projects/123/zones/us-
|
4272
4312
|
# central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
|
4273
4313
|
# Corresponds to the JSON property `targetLink`
|
4274
4314
|
# @return [String]
|
@@ -5658,6 +5698,26 @@ module Google
|
|
5658
5698
|
end
|
5659
5699
|
end
|
5660
5700
|
|
5701
|
+
# SoleTenantConfig contains the NodeAffinities to specify what shared sole
|
5702
|
+
# tenant node groups should back the node pool.
|
5703
|
+
class SoleTenantConfig
|
5704
|
+
include Google::Apis::Core::Hashable
|
5705
|
+
|
5706
|
+
# NodeAffinities used to match to a shared sole tenant node group.
|
5707
|
+
# Corresponds to the JSON property `nodeAffinities`
|
5708
|
+
# @return [Array<Google::Apis::ContainerV1::NodeAffinity>]
|
5709
|
+
attr_accessor :node_affinities
|
5710
|
+
|
5711
|
+
def initialize(**args)
|
5712
|
+
update!(**args)
|
5713
|
+
end
|
5714
|
+
|
5715
|
+
# Update properties of this object
|
5716
|
+
def update!(**args)
|
5717
|
+
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
5718
|
+
end
|
5719
|
+
end
|
5720
|
+
|
5661
5721
|
# Standard rollout policy is the default policy for blue-green.
|
5662
5722
|
class StandardRolloutPolicy
|
5663
5723
|
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.
|
19
|
+
GEM_VERSION = "0.51.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 = "
|
25
|
+
REVISION = "20230515"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -502,6 +502,12 @@ module Google
|
|
502
502
|
include Google::Apis::Core::JsonObjectSupport
|
503
503
|
end
|
504
504
|
|
505
|
+
class NodeAffinity
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
505
511
|
class NodeConfig
|
506
512
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
513
|
|
@@ -784,6 +790,12 @@ module Google
|
|
784
790
|
include Google::Apis::Core::JsonObjectSupport
|
785
791
|
end
|
786
792
|
|
793
|
+
class SoleTenantConfig
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
|
+
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
797
|
+
end
|
798
|
+
|
787
799
|
class StandardRolloutPolicy
|
788
800
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
789
801
|
|
@@ -1785,6 +1797,15 @@ module Google
|
|
1785
1797
|
end
|
1786
1798
|
end
|
1787
1799
|
|
1800
|
+
class NodeAffinity
|
1801
|
+
# @private
|
1802
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1803
|
+
property :key, as: 'key'
|
1804
|
+
property :operator, as: 'operator'
|
1805
|
+
collection :values, as: 'values'
|
1806
|
+
end
|
1807
|
+
end
|
1808
|
+
|
1788
1809
|
class NodeConfig
|
1789
1810
|
# @private
|
1790
1811
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1830,6 +1851,8 @@ module Google
|
|
1830
1851
|
property :service_account, as: 'serviceAccount'
|
1831
1852
|
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ContainerV1::ShieldedInstanceConfig, decorator: Google::Apis::ContainerV1::ShieldedInstanceConfig::Representation
|
1832
1853
|
|
1854
|
+
property :sole_tenant_config, as: 'soleTenantConfig', class: Google::Apis::ContainerV1::SoleTenantConfig, decorator: Google::Apis::ContainerV1::SoleTenantConfig::Representation
|
1855
|
+
|
1833
1856
|
property :spot, as: 'spot'
|
1834
1857
|
collection :tags, as: 'tags'
|
1835
1858
|
collection :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaint, decorator: Google::Apis::ContainerV1::NodeTaint::Representation
|
@@ -2345,6 +2368,14 @@ module Google
|
|
2345
2368
|
end
|
2346
2369
|
end
|
2347
2370
|
|
2371
|
+
class SoleTenantConfig
|
2372
|
+
# @private
|
2373
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2374
|
+
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ContainerV1::NodeAffinity, decorator: Google::Apis::ContainerV1::NodeAffinity::Representation
|
2375
|
+
|
2376
|
+
end
|
2377
|
+
end
|
2378
|
+
|
2348
2379
|
class StandardRolloutPolicy
|
2349
2380
|
# @private
|
2350
2381
|
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.
|
4
|
+
version: 0.51.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-05-
|
11
|
+
date: 2023-05-28 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.51.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: []
|