google-apis-container_v1beta1 0.31.0 → 0.32.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: f2d0df1579e7ab6c96d031523cd33987c2256c57580e7b93316312a7c27ed58e
4
- data.tar.gz: 35f275eeb75f8920ccfb0018668a307c23ae81225701e59474e6a8836c49944d
3
+ metadata.gz: c1218ccf043703a632cdacda57a87208295f8c156b3c8c589ab030934a78645e
4
+ data.tar.gz: f87acc7ce36d01d362c81eec3b87089f484cec3761e2a03307fffac9d8e2491e
5
5
  SHA512:
6
- metadata.gz: 8d6f296fd4e100c3e5df35f5181b5aded9bf53f5a67c62e2df1af2afa0019336c0bdfd128eac3f2f7e14aefb490eac6e5dbfd736337d48b2c7046f80622b5a80
7
- data.tar.gz: 89e41efb3e3bed4c870bfa2b5691c80695a6f2c6b9f6de957766c6ef3782db7b4eee77abb55e8bd580ddcad02133618d7cb7a9a2c4864e8030b32cb55d279a0e
6
+ metadata.gz: ff1440f3fe25b736d7cfde7651f160808bd67b3b19b7e335e2707658f762f392d48b27a839f66ada04370b978c3694a8cc2739a81d9fef27549758600893b969
7
+ data.tar.gz: dbcf6b3198f77c6c6f100715cb0f71d88c55c25487b759d6d93c8c68559470b4a4fee2c0f211194372845b3bd0a213c3146de49f61fbf4fe241d63de55f4326a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.32.0 (2022-05-17)
4
+
5
+ * Regenerated from discovery document revision 20220429
6
+
3
7
  ### v0.31.0 (2022-05-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20220420
@@ -885,6 +885,12 @@ module Google
885
885
  # @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
886
886
  attr_accessor :private_cluster_config
887
887
 
888
+ # ProtectConfig defines the flags needed to enable/disable features for the
889
+ # Protect API.
890
+ # Corresponds to the JSON property `protectConfig`
891
+ # @return [Google::Apis::ContainerV1beta1::ProtectConfig]
892
+ attr_accessor :protect_config
893
+
888
894
  # ReleaseChannel indicates which release channel a cluster is subscribed to.
889
895
  # Release channels are arranged in order of risk. When a cluster is subscribed
890
896
  # to a release channel, Google maintains both the master version and the node
@@ -1040,6 +1046,7 @@ module Google
1040
1046
  @pod_security_policy_config = args[:pod_security_policy_config] if args.key?(:pod_security_policy_config)
1041
1047
  @private_cluster = args[:private_cluster] if args.key?(:private_cluster)
1042
1048
  @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
1049
+ @protect_config = args[:protect_config] if args.key?(:protect_config)
1043
1050
  @release_channel = args[:release_channel] if args.key?(:release_channel)
1044
1051
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
1045
1052
  @resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
@@ -1332,6 +1339,12 @@ module Google
1332
1339
  # @return [String]
1333
1340
  attr_accessor :desired_private_ipv6_google_access
1334
1341
 
1342
+ # ProtectConfig defines the flags needed to enable/disable features for the
1343
+ # Protect API.
1344
+ # Corresponds to the JSON property `desiredProtectConfig`
1345
+ # @return [Google::Apis::ContainerV1beta1::ProtectConfig]
1346
+ attr_accessor :desired_protect_config
1347
+
1335
1348
  # ReleaseChannel indicates which release channel a cluster is subscribed to.
1336
1349
  # Release channels are arranged in order of risk. When a cluster is subscribed
1337
1350
  # to a release channel, Google maintains both the master version and the node
@@ -1419,6 +1432,7 @@ module Google
1419
1432
  @desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config)
1420
1433
  @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
1421
1434
  @desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
1435
+ @desired_protect_config = args[:desired_protect_config] if args.key?(:desired_protect_config)
1422
1436
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
1423
1437
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
1424
1438
  @desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
@@ -2185,6 +2199,11 @@ module Google
2185
2199
  attr_accessor :create_subnetwork
2186
2200
  alias_method :create_subnetwork?, :create_subnetwork
2187
2201
 
2202
+ # The ipv6 access type (internal or external) when create_subnetwork is true
2203
+ # Corresponds to the JSON property `ipv6AccessType`
2204
+ # @return [String]
2205
+ attr_accessor :ipv6_access_type
2206
+
2188
2207
  # This field is deprecated, use node_ipv4_cidr_block.
2189
2208
  # Corresponds to the JSON property `nodeIpv4Cidr`
2190
2209
  # @return [String]
@@ -2226,6 +2245,11 @@ module Google
2226
2245
  # @return [String]
2227
2246
  attr_accessor :services_secondary_range_name
2228
2247
 
2248
+ # IP stack type
2249
+ # Corresponds to the JSON property `stackType`
2250
+ # @return [String]
2251
+ attr_accessor :stack_type
2252
+
2229
2253
  # A custom subnetwork name to be used if `create_subnetwork` is true. If this
2230
2254
  # field is empty, then an automatic name will be chosen for the new subnetwork.
2231
2255
  # Corresponds to the JSON property `subnetworkName`
@@ -2274,11 +2298,13 @@ module Google
2274
2298
  @cluster_ipv4_cidr_block = args[:cluster_ipv4_cidr_block] if args.key?(:cluster_ipv4_cidr_block)
2275
2299
  @cluster_secondary_range_name = args[:cluster_secondary_range_name] if args.key?(:cluster_secondary_range_name)
2276
2300
  @create_subnetwork = args[:create_subnetwork] if args.key?(:create_subnetwork)
2301
+ @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
2277
2302
  @node_ipv4_cidr = args[:node_ipv4_cidr] if args.key?(:node_ipv4_cidr)
2278
2303
  @node_ipv4_cidr_block = args[:node_ipv4_cidr_block] if args.key?(:node_ipv4_cidr_block)
2279
2304
  @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
2280
2305
  @services_ipv4_cidr_block = args[:services_ipv4_cidr_block] if args.key?(:services_ipv4_cidr_block)
2281
2306
  @services_secondary_range_name = args[:services_secondary_range_name] if args.key?(:services_secondary_range_name)
2307
+ @stack_type = args[:stack_type] if args.key?(:stack_type)
2282
2308
  @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
2283
2309
  @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
2284
2310
  @use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
@@ -4228,6 +4254,27 @@ module Google
4228
4254
  end
4229
4255
  end
4230
4256
 
4257
+ # ProtectConfig defines the flags needed to enable/disable features for the
4258
+ # Protect API.
4259
+ class ProtectConfig
4260
+ include Google::Apis::Core::Hashable
4261
+
4262
+ # WorkloadConfig defines the flags to enable or disable the workload
4263
+ # configurations for the cluster.
4264
+ # Corresponds to the JSON property `workloadConfig`
4265
+ # @return [Google::Apis::ContainerV1beta1::WorkloadConfig]
4266
+ attr_accessor :workload_config
4267
+
4268
+ def initialize(**args)
4269
+ update!(**args)
4270
+ end
4271
+
4272
+ # Update properties of this object
4273
+ def update!(**args)
4274
+ @workload_config = args[:workload_config] if args.key?(:workload_config)
4275
+ end
4276
+ end
4277
+
4231
4278
  # Pub/Sub specific notification config.
4232
4279
  class PubSub
4233
4280
  include Google::Apis::Core::Hashable
@@ -6191,6 +6238,26 @@ module Google
6191
6238
  end
6192
6239
  end
6193
6240
 
6241
+ # WorkloadConfig defines the flags to enable or disable the workload
6242
+ # configurations for the cluster.
6243
+ class WorkloadConfig
6244
+ include Google::Apis::Core::Hashable
6245
+
6246
+ # Sets which mode of auditing should be used for the cluster's workloads.
6247
+ # Corresponds to the JSON property `auditMode`
6248
+ # @return [String]
6249
+ attr_accessor :audit_mode
6250
+
6251
+ def initialize(**args)
6252
+ update!(**args)
6253
+ end
6254
+
6255
+ # Update properties of this object
6256
+ def update!(**args)
6257
+ @audit_mode = args[:audit_mode] if args.key?(:audit_mode)
6258
+ end
6259
+ end
6260
+
6194
6261
  # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
6195
6262
  class WorkloadIdentityConfig
6196
6263
  include Google::Apis::Core::Hashable
@@ -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.31.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220420"
25
+ REVISION = "20220429"
26
26
  end
27
27
  end
28
28
  end
@@ -598,6 +598,12 @@ module Google
598
598
  include Google::Apis::Core::JsonObjectSupport
599
599
  end
600
600
 
601
+ class ProtectConfig
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
601
607
  class PubSub
602
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
603
609
 
@@ -868,6 +874,12 @@ module Google
868
874
  include Google::Apis::Core::JsonObjectSupport
869
875
  end
870
876
 
877
+ class WorkloadConfig
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
871
883
  class WorkloadIdentityConfig
872
884
  class Representation < Google::Apis::Core::JsonRepresentation; end
873
885
 
@@ -1109,6 +1121,8 @@ module Google
1109
1121
  property :private_cluster, as: 'privateCluster'
1110
1122
  property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ContainerV1beta1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1beta1::PrivateClusterConfig::Representation
1111
1123
 
1124
+ property :protect_config, as: 'protectConfig', class: Google::Apis::ContainerV1beta1::ProtectConfig, decorator: Google::Apis::ContainerV1beta1::ProtectConfig::Representation
1125
+
1112
1126
  property :release_channel, as: 'releaseChannel', class: Google::Apis::ContainerV1beta1::ReleaseChannel, decorator: Google::Apis::ContainerV1beta1::ReleaseChannel::Representation
1113
1127
 
1114
1128
  hash :resource_labels, as: 'resourceLabels'
@@ -1212,6 +1226,8 @@ module Google
1212
1226
  property :desired_private_cluster_config, as: 'desiredPrivateClusterConfig', class: Google::Apis::ContainerV1beta1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1beta1::PrivateClusterConfig::Representation
1213
1227
 
1214
1228
  property :desired_private_ipv6_google_access, as: 'desiredPrivateIpv6GoogleAccess'
1229
+ property :desired_protect_config, as: 'desiredProtectConfig', class: Google::Apis::ContainerV1beta1::ProtectConfig, decorator: Google::Apis::ContainerV1beta1::ProtectConfig::Representation
1230
+
1215
1231
  property :desired_release_channel, as: 'desiredReleaseChannel', class: Google::Apis::ContainerV1beta1::ReleaseChannel, decorator: Google::Apis::ContainerV1beta1::ReleaseChannel::Representation
1216
1232
 
1217
1233
  property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation
@@ -1446,11 +1462,13 @@ module Google
1446
1462
  property :cluster_ipv4_cidr_block, as: 'clusterIpv4CidrBlock'
1447
1463
  property :cluster_secondary_range_name, as: 'clusterSecondaryRangeName'
1448
1464
  property :create_subnetwork, as: 'createSubnetwork'
1465
+ property :ipv6_access_type, as: 'ipv6AccessType'
1449
1466
  property :node_ipv4_cidr, as: 'nodeIpv4Cidr'
1450
1467
  property :node_ipv4_cidr_block, as: 'nodeIpv4CidrBlock'
1451
1468
  property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
1452
1469
  property :services_ipv4_cidr_block, as: 'servicesIpv4CidrBlock'
1453
1470
  property :services_secondary_range_name, as: 'servicesSecondaryRangeName'
1471
+ property :stack_type, as: 'stackType'
1454
1472
  property :subnetwork_name, as: 'subnetworkName'
1455
1473
  property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
1456
1474
  property :use_ip_aliases, as: 'useIpAliases'
@@ -1990,6 +2008,14 @@ module Google
1990
2008
  end
1991
2009
  end
1992
2010
 
2011
+ class ProtectConfig
2012
+ # @private
2013
+ class Representation < Google::Apis::Core::JsonRepresentation
2014
+ property :workload_config, as: 'workloadConfig', class: Google::Apis::ContainerV1beta1::WorkloadConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadConfig::Representation
2015
+
2016
+ end
2017
+ end
2018
+
1993
2019
  class PubSub
1994
2020
  # @private
1995
2021
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2476,6 +2502,13 @@ module Google
2476
2502
  end
2477
2503
  end
2478
2504
 
2505
+ class WorkloadConfig
2506
+ # @private
2507
+ class Representation < Google::Apis::Core::JsonRepresentation
2508
+ property :audit_mode, as: 'auditMode'
2509
+ end
2510
+ end
2511
+
2479
2512
  class WorkloadIdentityConfig
2480
2513
  # @private
2481
2514
  class Representation < Google::Apis::Core::JsonRepresentation
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.31.0
4
+ version: 0.32.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-05-16 00:00:00.000000000 Z
11
+ date: 2022-05-23 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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.32.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: []