google-apis-container_v1beta1 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: b6e5e9d70568a6270b4949f3f7578eb62ebf055540c7df1802cb27873eb857f2
4
- data.tar.gz: 31336e0cb7652a222faa6e303a244450081a3147ad97cba71200e1353d0628f4
3
+ metadata.gz: 1d7a09a8ef5418b98b31f042f39e9d0d1d23feba98d8494954afef1d04c295f1
4
+ data.tar.gz: ec2709239bef5d508ccd5c615684480c08b0012835bad5eccb349bcc48dbabdc
5
5
  SHA512:
6
- metadata.gz: df1dcd6de9a644428fa62dcd74cf5aabeaa0336ce0c2142ac44cd5b805c731eb0ebb8e8a62e49e09ae9ce0a6594dfbdbac4791515963faa96db7494315053671
7
- data.tar.gz: d8d7faff0508d218679bd44f3c600e7c77ca214addc672f6c06e6d6b388474b8649740d3cb3f3bc6ff3b7c6004cb70cf64bc0ebf864455914193331f5100b29f
6
+ metadata.gz: 34406d53691aa234a2f3ec4881f25cfd39edf0c3c5b9e1e815a478acad96e981d879d3c1e53de23bb56673ad2cf7e090f3a80abb627c092574e49ffe2165e5c8
7
+ data.tar.gz: 96b9c49f404a71de57aaa03f4c98ba80185cec39edc16802f57db931b0d3816672deab1b3219f5581104419f5b2d606b578a5073b38fe5b8b7958b49479aa97e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.57.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230810
6
+
7
+ ### v0.56.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230802
10
+
3
11
  ### v0.55.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230629
@@ -563,6 +563,20 @@ module Google
563
563
  end
564
564
  end
565
565
 
566
+ # Autoscaled rollout policy uses cluster autoscaler during blue-green upgrades
567
+ # to scale both the green and blue pools.
568
+ class AutoscaledRolloutPolicy
569
+ include Google::Apis::Core::Hashable
570
+
571
+ def initialize(**args)
572
+ update!(**args)
573
+ end
574
+
575
+ # Update properties of this object
576
+ def update!(**args)
577
+ end
578
+ end
579
+
566
580
  # Deprecated.
567
581
  class AvailableVersion
568
582
  include Google::Apis::Core::Hashable
@@ -655,6 +669,11 @@ module Google
655
669
  # @return [String]
656
670
  attr_accessor :evaluation_mode
657
671
 
672
+ # Optional. Binauthz policies that apply to this cluster.
673
+ # Corresponds to the JSON property `policyBindings`
674
+ # @return [Array<Google::Apis::ContainerV1beta1::PolicyBinding>]
675
+ attr_accessor :policy_bindings
676
+
658
677
  def initialize(**args)
659
678
  update!(**args)
660
679
  end
@@ -663,6 +682,7 @@ module Google
663
682
  def update!(**args)
664
683
  @enabled = args[:enabled] if args.key?(:enabled)
665
684
  @evaluation_mode = args[:evaluation_mode] if args.key?(:evaluation_mode)
685
+ @policy_bindings = args[:policy_bindings] if args.key?(:policy_bindings)
666
686
  end
667
687
  end
668
688
 
@@ -716,6 +736,12 @@ module Google
716
736
  class BlueGreenSettings
717
737
  include Google::Apis::Core::Hashable
718
738
 
739
+ # Autoscaled rollout policy uses cluster autoscaler during blue-green upgrades
740
+ # to scale both the green and blue pools.
741
+ # Corresponds to the JSON property `autoscaledRolloutPolicy`
742
+ # @return [Google::Apis::ContainerV1beta1::AutoscaledRolloutPolicy]
743
+ attr_accessor :autoscaled_rollout_policy
744
+
719
745
  # Time needed after draining entire blue pool. After this period, blue pool will
720
746
  # be cleaned up.
721
747
  # Corresponds to the JSON property `nodePoolSoakDuration`
@@ -733,6 +759,7 @@ module Google
733
759
 
734
760
  # Update properties of this object
735
761
  def update!(**args)
762
+ @autoscaled_rollout_policy = args[:autoscaled_rollout_policy] if args.key?(:autoscaled_rollout_policy)
736
763
  @node_pool_soak_duration = args[:node_pool_soak_duration] if args.key?(:node_pool_soak_duration)
737
764
  @standard_rollout_policy = args[:standard_rollout_policy] if args.key?(:standard_rollout_policy)
738
765
  end
@@ -5311,6 +5338,27 @@ module Google
5311
5338
  end
5312
5339
  end
5313
5340
 
5341
+ # Binauthz policy that applies to this cluster.
5342
+ class PolicyBinding
5343
+ include Google::Apis::Core::Hashable
5344
+
5345
+ # The relative resource name of the binauthz platform policy to audit. GKE
5346
+ # platform policies have the following format: `projects/`project_number`/
5347
+ # platforms/gke/policies/`policy_id``.
5348
+ # Corresponds to the JSON property `name`
5349
+ # @return [String]
5350
+ attr_accessor :name
5351
+
5352
+ def initialize(**args)
5353
+ update!(**args)
5354
+ end
5355
+
5356
+ # Update properties of this object
5357
+ def update!(**args)
5358
+ @name = args[:name] if args.key?(:name)
5359
+ end
5360
+ end
5361
+
5314
5362
  # Configuration options for private clusters.
5315
5363
  class PrivateClusterConfig
5316
5364
  include Google::Apis::Core::Hashable
@@ -7062,6 +7110,20 @@ module Google
7062
7110
  # @return [Google::Apis::ContainerV1beta1::ConfidentialNodes]
7063
7111
  attr_accessor :confidential_nodes
7064
7112
 
7113
+ # Optional. The desired disk size for nodes in the node pool. Initiates an
7114
+ # upgrade operation that migrates the nodes in the node pool to the specified
7115
+ # disk size.
7116
+ # Corresponds to the JSON property `diskSizeGb`
7117
+ # @return [Fixnum]
7118
+ attr_accessor :disk_size_gb
7119
+
7120
+ # Optional. The desired disk type for nodes in the node pool. Initiates an
7121
+ # upgrade operation that migrates the nodes in the node pool to the specified
7122
+ # disk type.
7123
+ # Corresponds to the JSON property `diskType`
7124
+ # @return [String]
7125
+ attr_accessor :disk_type
7126
+
7065
7127
  # The current etag of the node pool. If an etag is provided and does not match
7066
7128
  # the current etag of the node pool, update will be blocked and an ABORTED error
7067
7129
  # will be returned.
@@ -7121,6 +7183,13 @@ module Google
7121
7183
  # @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
7122
7184
  attr_accessor :logging_config
7123
7185
 
7186
+ # Optional. The desired machine type for nodes in the node pool. Initiates an
7187
+ # upgrade operation that migrates the nodes in the node pool to the specified
7188
+ # machine type.
7189
+ # Corresponds to the JSON property `machineType`
7190
+ # @return [String]
7191
+ attr_accessor :machine_type
7192
+
7124
7193
  # The name (project, location, cluster, node pool) of the node pool to update.
7125
7194
  # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
7126
7195
  # Corresponds to the JSON property `name`
@@ -7224,6 +7293,8 @@ module Google
7224
7293
  def update!(**args)
7225
7294
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
7226
7295
  @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
7296
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
7297
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
7227
7298
  @etag = args[:etag] if args.key?(:etag)
7228
7299
  @fast_socket = args[:fast_socket] if args.key?(:fast_socket)
7229
7300
  @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
@@ -7234,6 +7305,7 @@ module Google
7234
7305
  @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
7235
7306
  @locations = args[:locations] if args.key?(:locations)
7236
7307
  @logging_config = args[:logging_config] if args.key?(:logging_config)
7308
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
7237
7309
  @name = args[:name] if args.key?(:name)
7238
7310
  @node_network_config = args[:node_network_config] if args.key?(:node_network_config)
7239
7311
  @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 ContainerV1beta1
18
18
  # Version of the google-apis-container_v1beta1 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 = "20230629"
25
+ REVISION = "20230810"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class AutoscaledRolloutPolicy
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class AvailableVersion
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -742,6 +748,12 @@ module Google
742
748
  include Google::Apis::Core::JsonObjectSupport
743
749
  end
744
750
 
751
+ class PolicyBinding
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
745
757
  class PrivateClusterConfig
746
758
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
759
 
@@ -1241,6 +1253,12 @@ module Google
1241
1253
  end
1242
1254
  end
1243
1255
 
1256
+ class AutoscaledRolloutPolicy
1257
+ # @private
1258
+ class Representation < Google::Apis::Core::JsonRepresentation
1259
+ end
1260
+ end
1261
+
1244
1262
  class AvailableVersion
1245
1263
  # @private
1246
1264
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1269,6 +1287,8 @@ module Google
1269
1287
  class Representation < Google::Apis::Core::JsonRepresentation
1270
1288
  property :enabled, as: 'enabled'
1271
1289
  property :evaluation_mode, as: 'evaluationMode'
1290
+ collection :policy_bindings, as: 'policyBindings', class: Google::Apis::ContainerV1beta1::PolicyBinding, decorator: Google::Apis::ContainerV1beta1::PolicyBinding::Representation
1291
+
1272
1292
  end
1273
1293
  end
1274
1294
 
@@ -1286,6 +1306,8 @@ module Google
1286
1306
  class BlueGreenSettings
1287
1307
  # @private
1288
1308
  class Representation < Google::Apis::Core::JsonRepresentation
1309
+ property :autoscaled_rollout_policy, as: 'autoscaledRolloutPolicy', class: Google::Apis::ContainerV1beta1::AutoscaledRolloutPolicy, decorator: Google::Apis::ContainerV1beta1::AutoscaledRolloutPolicy::Representation
1310
+
1289
1311
  property :node_pool_soak_duration, as: 'nodePoolSoakDuration'
1290
1312
  property :standard_rollout_policy, as: 'standardRolloutPolicy', class: Google::Apis::ContainerV1beta1::StandardRolloutPolicy, decorator: Google::Apis::ContainerV1beta1::StandardRolloutPolicy::Representation
1291
1313
 
@@ -2501,6 +2523,13 @@ module Google
2501
2523
  end
2502
2524
  end
2503
2525
 
2526
+ class PolicyBinding
2527
+ # @private
2528
+ class Representation < Google::Apis::Core::JsonRepresentation
2529
+ property :name, as: 'name'
2530
+ end
2531
+ end
2532
+
2504
2533
  class PrivateClusterConfig
2505
2534
  # @private
2506
2535
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2939,6 +2968,8 @@ module Google
2939
2968
  property :cluster_id, as: 'clusterId'
2940
2969
  property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1beta1::ConfidentialNodes, decorator: Google::Apis::ContainerV1beta1::ConfidentialNodes::Representation
2941
2970
 
2971
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
2972
+ property :disk_type, as: 'diskType'
2942
2973
  property :etag, as: 'etag'
2943
2974
  property :fast_socket, as: 'fastSocket', class: Google::Apis::ContainerV1beta1::FastSocket, decorator: Google::Apis::ContainerV1beta1::FastSocket::Representation
2944
2975
 
@@ -2956,6 +2987,7 @@ module Google
2956
2987
  collection :locations, as: 'locations'
2957
2988
  property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig::Representation
2958
2989
 
2990
+ property :machine_type, as: 'machineType'
2959
2991
  property :name, as: 'name'
2960
2992
  property :node_network_config, as: 'nodeNetworkConfig', class: Google::Apis::ContainerV1beta1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1beta1::NodeNetworkConfig::Representation
2961
2993
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1beta1
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-16 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.57.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
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 V1beta1