google-apis-container_v1 0.51.0 → 0.52.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: 359e950e23970efa7ecee1dc463a141e4d883b3093527c8d337957fb96213f83
4
- data.tar.gz: 4eac933ba32a712436c606301fef44e7654416c7f28454015299d40a7f98d764
3
+ metadata.gz: bb0e2743e67949830150199bee6a44cca5bd46f25c421c7450a0ccac41b917a8
4
+ data.tar.gz: cb7b585f8d325459843071dc4347d27792c13d1a24c374d7397a4d676c906b67
5
5
  SHA512:
6
- metadata.gz: 2bfe963ce1eee1bafdc623812914a696cbdb668c3e818de0915a0b7f2997b42414305900b924354dc73cec99484d8ec80b991d60a0a3768ead8329664c170da4
7
- data.tar.gz: e4c04d4320758d3aedd6b9724a748776aa0d8dca4e226fcc4396c6293f57601c2a0c7f6829256a8322fa2a8b998e744496b3626c63df00f66901b9e176af0909
6
+ metadata.gz: 8ad0e16ad00225065342b99935904eb2d1f90880ddf3d4cdd8d43e601a496f3e568ecd6a3deb0801e88e2edf7eaf99a873b3cc1c35f9e4036bae8916221ba170
7
+ data.tar.gz: 5d6dfdb041df43fbff18815ed2a44be6d7522bc4b31e54f69b052e734c57603a7e1707cc43274e4f7350b541c3fc86cae427985fd995642118a353eb7ff68fbf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.52.0 (2023-06-04)
4
+
5
+ * Regenerated from discovery document revision 20230519
6
+
3
7
  ### v0.51.0 (2023-05-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20230515
@@ -260,6 +260,56 @@ module Google
260
260
  end
261
261
  end
262
262
 
263
+ # AutopilotCompatibilityIssue contains information about a specific
264
+ # compatibility issue with Autopilot mode.
265
+ class AutopilotCompatibilityIssue
266
+ include Google::Apis::Core::Hashable
267
+
268
+ # The constraint type of the issue.
269
+ # Corresponds to the JSON property `constraintType`
270
+ # @return [String]
271
+ attr_accessor :constraint_type
272
+
273
+ # The description of the issue.
274
+ # Corresponds to the JSON property `description`
275
+ # @return [String]
276
+ attr_accessor :description
277
+
278
+ # A URL to a public documnetation, which addresses resolving this issue.
279
+ # Corresponds to the JSON property `documentationUrl`
280
+ # @return [String]
281
+ attr_accessor :documentation_url
282
+
283
+ # The incompatibility type of this issue.
284
+ # Corresponds to the JSON property `incompatibilityType`
285
+ # @return [String]
286
+ attr_accessor :incompatibility_type
287
+
288
+ # The last time when this issue was observed.
289
+ # Corresponds to the JSON property `lastObservation`
290
+ # @return [String]
291
+ attr_accessor :last_observation
292
+
293
+ # The name of the resources which are subject to this issue.
294
+ # Corresponds to the JSON property `subjects`
295
+ # @return [Array<String>]
296
+ attr_accessor :subjects
297
+
298
+ def initialize(**args)
299
+ update!(**args)
300
+ end
301
+
302
+ # Update properties of this object
303
+ def update!(**args)
304
+ @constraint_type = args[:constraint_type] if args.key?(:constraint_type)
305
+ @description = args[:description] if args.key?(:description)
306
+ @documentation_url = args[:documentation_url] if args.key?(:documentation_url)
307
+ @incompatibility_type = args[:incompatibility_type] if args.key?(:incompatibility_type)
308
+ @last_observation = args[:last_observation] if args.key?(:last_observation)
309
+ @subjects = args[:subjects] if args.key?(:subjects)
310
+ end
311
+ end
312
+
263
313
  # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
264
314
  # NAP.
265
315
  class AutoprovisioningNodePoolDefaults
@@ -380,6 +430,36 @@ module Google
380
430
  end
381
431
  end
382
432
 
433
+ # Best effort provisioning.
434
+ class BestEffortProvisioning
435
+ include Google::Apis::Core::Hashable
436
+
437
+ # When this is enabled, cluster/node pool creations will ignore non-fatal errors
438
+ # like stockout to best provision as many nodes as possible right now and
439
+ # eventually bring up all target number of nodes
440
+ # Corresponds to the JSON property `enabled`
441
+ # @return [Boolean]
442
+ attr_accessor :enabled
443
+ alias_method :enabled?, :enabled
444
+
445
+ # Minimum number of nodes to be provisioned to be considered as succeeded, and
446
+ # the rest of nodes will be provisioned gradually and eventually when stockout
447
+ # issue has been resolved.
448
+ # Corresponds to the JSON property `minProvisionNodes`
449
+ # @return [Fixnum]
450
+ attr_accessor :min_provision_nodes
451
+
452
+ def initialize(**args)
453
+ update!(**args)
454
+ end
455
+
456
+ # Update properties of this object
457
+ def update!(**args)
458
+ @enabled = args[:enabled] if args.key?(:enabled)
459
+ @min_provision_nodes = args[:min_provision_nodes] if args.key?(:min_provision_nodes)
460
+ end
461
+ end
462
+
383
463
  # Parameters for using BigQuery as the destination of resource usage export.
384
464
  class BigQueryDestination
385
465
  include Google::Apis::Core::Hashable
@@ -543,6 +623,31 @@ module Google
543
623
  end
544
624
  end
545
625
 
626
+ # CheckAutopilotCompatibilityResponse has a list of compatibility issues.
627
+ class CheckAutopilotCompatibilityResponse
628
+ include Google::Apis::Core::Hashable
629
+
630
+ # The list of issues for the given operation.
631
+ # Corresponds to the JSON property `issues`
632
+ # @return [Array<Google::Apis::ContainerV1::AutopilotCompatibilityIssue>]
633
+ attr_accessor :issues
634
+
635
+ # The summary of the autopilot compatibility response.
636
+ # Corresponds to the JSON property `summary`
637
+ # @return [String]
638
+ attr_accessor :summary
639
+
640
+ def initialize(**args)
641
+ update!(**args)
642
+ end
643
+
644
+ # Update properties of this object
645
+ def update!(**args)
646
+ @issues = args[:issues] if args.key?(:issues)
647
+ @summary = args[:summary] if args.key?(:summary)
648
+ end
649
+ end
650
+
546
651
  # CidrBlock contains an optional name and one CIDR block.
547
652
  class CidrBlock
548
653
  include Google::Apis::Core::Hashable
@@ -711,6 +816,11 @@ module Google
711
816
  # @return [String]
712
817
  attr_accessor :description
713
818
 
819
+ # K8sBetaAPIConfig , configuration for beta APIs
820
+ # Corresponds to the JSON property `enableK8sBetaApis`
821
+ # @return [Google::Apis::ContainerV1::K8sBetaApiConfig]
822
+ attr_accessor :enable_k8s_beta_apis
823
+
714
824
  # Kubernetes alpha features are enabled on this cluster. This includes alpha API
715
825
  # groups (e.g. v1alpha1) and features that may not be production ready in the
716
826
  # kubernetes version of the master and nodes. The cluster has no SLA for uptime
@@ -1055,6 +1165,7 @@ module Google
1055
1165
  @database_encryption = args[:database_encryption] if args.key?(:database_encryption)
1056
1166
  @default_max_pods_constraint = args[:default_max_pods_constraint] if args.key?(:default_max_pods_constraint)
1057
1167
  @description = args[:description] if args.key?(:description)
1168
+ @enable_k8s_beta_apis = args[:enable_k8s_beta_apis] if args.key?(:enable_k8s_beta_apis)
1058
1169
  @enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
1059
1170
  @enable_tpu = args[:enable_tpu] if args.key?(:enable_tpu)
1060
1171
  @endpoint = args[:endpoint] if args.key?(:endpoint)
@@ -1215,6 +1326,12 @@ module Google
1215
1326
  # @return [Google::Apis::ContainerV1::DnsConfig]
1216
1327
  attr_accessor :desired_dns_config
1217
1328
 
1329
+ # Enable/Disable FQDN Network Policy for the cluster.
1330
+ # Corresponds to the JSON property `desiredEnableFqdnNetworkPolicy`
1331
+ # @return [Boolean]
1332
+ attr_accessor :desired_enable_fqdn_network_policy
1333
+ alias_method :desired_enable_fqdn_network_policy?, :desired_enable_fqdn_network_policy
1334
+
1218
1335
  # Enable/Disable private endpoint for the cluster's master.
1219
1336
  # Corresponds to the JSON property `desiredEnablePrivateEndpoint`
1220
1337
  # @return [Boolean]
@@ -1255,6 +1372,11 @@ module Google
1255
1372
  # @return [Google::Apis::ContainerV1::IntraNodeVisibilityConfig]
1256
1373
  attr_accessor :desired_intra_node_visibility_config
1257
1374
 
1375
+ # K8sBetaAPIConfig , configuration for beta APIs
1376
+ # Corresponds to the JSON property `desiredK8sBetaApis`
1377
+ # @return [Google::Apis::ContainerV1::K8sBetaApiConfig]
1378
+ attr_accessor :desired_k8s_beta_apis
1379
+
1258
1380
  # ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
1259
1381
  # subsetting on this cluster.
1260
1382
  # Corresponds to the JSON property `desiredL4ilbSubsettingConfig`
@@ -1418,6 +1540,11 @@ module Google
1418
1540
  # @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
1419
1541
  attr_accessor :desired_workload_identity_config
1420
1542
 
1543
+ # K8sBetaAPIConfig , configuration for beta APIs
1544
+ # Corresponds to the JSON property `enableK8sBetaApis`
1545
+ # @return [Google::Apis::ContainerV1::K8sBetaApiConfig]
1546
+ attr_accessor :enable_k8s_beta_apis
1547
+
1421
1548
  # The current etag of the cluster. If an etag is provided and does not match the
1422
1549
  # current etag of the cluster, update will be blocked and an ABORTED error will
1423
1550
  # be returned.
@@ -1447,6 +1574,7 @@ module Google
1447
1574
  @desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
1448
1575
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1449
1576
  @desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
1577
+ @desired_enable_fqdn_network_policy = args[:desired_enable_fqdn_network_policy] if args.key?(:desired_enable_fqdn_network_policy)
1450
1578
  @desired_enable_private_endpoint = args[:desired_enable_private_endpoint] if args.key?(:desired_enable_private_endpoint)
1451
1579
  @desired_fleet = args[:desired_fleet] if args.key?(:desired_fleet)
1452
1580
  @desired_gateway_api_config = args[:desired_gateway_api_config] if args.key?(:desired_gateway_api_config)
@@ -1454,6 +1582,7 @@ module Google
1454
1582
  @desired_identity_service_config = args[:desired_identity_service_config] if args.key?(:desired_identity_service_config)
1455
1583
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1456
1584
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1585
+ @desired_k8s_beta_apis = args[:desired_k8s_beta_apis] if args.key?(:desired_k8s_beta_apis)
1457
1586
  @desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
1458
1587
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
1459
1588
  @desired_logging_config = args[:desired_logging_config] if args.key?(:desired_logging_config)
@@ -1478,6 +1607,7 @@ module Google
1478
1607
  @desired_stack_type = args[:desired_stack_type] if args.key?(:desired_stack_type)
1479
1608
  @desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
1480
1609
  @desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
1610
+ @enable_k8s_beta_apis = args[:enable_k8s_beta_apis] if args.key?(:enable_k8s_beta_apis)
1481
1611
  @etag = args[:etag] if args.key?(:etag)
1482
1612
  @removed_additional_pod_ranges_config = args[:removed_additional_pod_ranges_config] if args.key?(:removed_additional_pod_ranges_config)
1483
1613
  end
@@ -2554,6 +2684,25 @@ module Google
2554
2684
  end
2555
2685
  end
2556
2686
 
2687
+ # K8sBetaAPIConfig , configuration for beta APIs
2688
+ class K8sBetaApiConfig
2689
+ include Google::Apis::Core::Hashable
2690
+
2691
+ # Enabled k8s beta APIs.
2692
+ # Corresponds to the JSON property `enabledApis`
2693
+ # @return [Array<String>]
2694
+ attr_accessor :enabled_apis
2695
+
2696
+ def initialize(**args)
2697
+ update!(**args)
2698
+ end
2699
+
2700
+ # Update properties of this object
2701
+ def update!(**args)
2702
+ @enabled_apis = args[:enabled_apis] if args.key?(:enabled_apis)
2703
+ end
2704
+ end
2705
+
2557
2706
  # Configuration for the Kubernetes Dashboard.
2558
2707
  class KubernetesDashboard
2559
2708
  include Google::Apis::Core::Hashable
@@ -3156,6 +3305,12 @@ module Google
3156
3305
  # @return [Google::Apis::ContainerV1::DnsConfig]
3157
3306
  attr_accessor :dns_config
3158
3307
 
3308
+ # Whether FQDN Network Policy is enabled on this cluster.
3309
+ # Corresponds to the JSON property `enableFqdnNetworkPolicy`
3310
+ # @return [Boolean]
3311
+ attr_accessor :enable_fqdn_network_policy
3312
+ alias_method :enable_fqdn_network_policy?, :enable_fqdn_network_policy
3313
+
3159
3314
  # Whether Intra-node visibility is enabled for this cluster. This makes same
3160
3315
  # node pod to pod traffic visible for VPC network.
3161
3316
  # Corresponds to the JSON property `enableIntraNodeVisibility`
@@ -3208,6 +3363,7 @@ module Google
3208
3363
  @datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
3209
3364
  @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
3210
3365
  @dns_config = args[:dns_config] if args.key?(:dns_config)
3366
+ @enable_fqdn_network_policy = args[:enable_fqdn_network_policy] if args.key?(:enable_fqdn_network_policy)
3211
3367
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
3212
3368
  @enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
3213
3369
  @gateway_api_config = args[:gateway_api_config] if args.key?(:gateway_api_config)
@@ -3853,6 +4009,11 @@ module Google
3853
4009
  # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
3854
4010
  attr_accessor :autoscaling
3855
4011
 
4012
+ # Best effort provisioning.
4013
+ # Corresponds to the JSON property `bestEffortProvisioning`
4014
+ # @return [Google::Apis::ContainerV1::BestEffortProvisioning]
4015
+ attr_accessor :best_effort_provisioning
4016
+
3856
4017
  # Which conditions caused the current node pool state.
3857
4018
  # Corresponds to the JSON property `conditions`
3858
4019
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
@@ -4000,6 +4161,7 @@ module Google
4000
4161
  # Update properties of this object
4001
4162
  def update!(**args)
4002
4163
  @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
4164
+ @best_effort_provisioning = args[:best_effort_provisioning] if args.key?(:best_effort_provisioning)
4003
4165
  @conditions = args[:conditions] if args.key?(:conditions)
4004
4166
  @config = args[:config] if args.key?(:config)
4005
4167
  @etag = args[:etag] if args.key?(:etag)
@@ -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.51.0"
19
+ GEM_VERSION = "0.52.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 = "20230515"
25
+ REVISION = "20230519"
26
26
  end
27
27
  end
28
28
  end
@@ -64,12 +64,24 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class AutopilotCompatibilityIssue
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class AutoprovisioningNodePoolDefaults
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class BestEffortProvisioning
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class BigQueryDestination
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -100,6 +112,12 @@ module Google
100
112
  include Google::Apis::Core::JsonObjectSupport
101
113
  end
102
114
 
115
+ class CheckAutopilotCompatibilityResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
103
121
  class CidrBlock
104
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
123
 
@@ -340,6 +358,12 @@ module Google
340
358
  include Google::Apis::Core::JsonObjectSupport
341
359
  end
342
360
 
361
+ class K8sBetaApiConfig
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
343
367
  class KubernetesDashboard
344
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
369
 
@@ -984,6 +1008,18 @@ module Google
984
1008
  end
985
1009
  end
986
1010
 
1011
+ class AutopilotCompatibilityIssue
1012
+ # @private
1013
+ class Representation < Google::Apis::Core::JsonRepresentation
1014
+ property :constraint_type, as: 'constraintType'
1015
+ property :description, as: 'description'
1016
+ property :documentation_url, as: 'documentationUrl'
1017
+ property :incompatibility_type, as: 'incompatibilityType'
1018
+ property :last_observation, as: 'lastObservation'
1019
+ collection :subjects, as: 'subjects'
1020
+ end
1021
+ end
1022
+
987
1023
  class AutoprovisioningNodePoolDefaults
988
1024
  # @private
989
1025
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1003,6 +1039,14 @@ module Google
1003
1039
  end
1004
1040
  end
1005
1041
 
1042
+ class BestEffortProvisioning
1043
+ # @private
1044
+ class Representation < Google::Apis::Core::JsonRepresentation
1045
+ property :enabled, as: 'enabled'
1046
+ property :min_provision_nodes, as: 'minProvisionNodes'
1047
+ end
1048
+ end
1049
+
1006
1050
  class BigQueryDestination
1007
1051
  # @private
1008
1052
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1048,6 +1092,15 @@ module Google
1048
1092
  end
1049
1093
  end
1050
1094
 
1095
+ class CheckAutopilotCompatibilityResponse
1096
+ # @private
1097
+ class Representation < Google::Apis::Core::JsonRepresentation
1098
+ collection :issues, as: 'issues', class: Google::Apis::ContainerV1::AutopilotCompatibilityIssue, decorator: Google::Apis::ContainerV1::AutopilotCompatibilityIssue::Representation
1099
+
1100
+ property :summary, as: 'summary'
1101
+ end
1102
+ end
1103
+
1051
1104
  class CidrBlock
1052
1105
  # @private
1053
1106
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1100,6 +1153,8 @@ module Google
1100
1153
  property :default_max_pods_constraint, as: 'defaultMaxPodsConstraint', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation
1101
1154
 
1102
1155
  property :description, as: 'description'
1156
+ property :enable_k8s_beta_apis, as: 'enableK8sBetaApis', class: Google::Apis::ContainerV1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1::K8sBetaApiConfig::Representation
1157
+
1103
1158
  property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
1104
1159
  property :enable_tpu, as: 'enableTpu'
1105
1160
  property :endpoint, as: 'endpoint'
@@ -1209,6 +1264,7 @@ module Google
1209
1264
 
1210
1265
  property :desired_dns_config, as: 'desiredDnsConfig', class: Google::Apis::ContainerV1::DnsConfig, decorator: Google::Apis::ContainerV1::DnsConfig::Representation
1211
1266
 
1267
+ property :desired_enable_fqdn_network_policy, as: 'desiredEnableFqdnNetworkPolicy'
1212
1268
  property :desired_enable_private_endpoint, as: 'desiredEnablePrivateEndpoint'
1213
1269
  property :desired_fleet, as: 'desiredFleet', class: Google::Apis::ContainerV1::Fleet, decorator: Google::Apis::ContainerV1::Fleet::Representation
1214
1270
 
@@ -1221,6 +1277,8 @@ module Google
1221
1277
  property :desired_image_type, as: 'desiredImageType'
1222
1278
  property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1::IntraNodeVisibilityConfig::Representation
1223
1279
 
1280
+ property :desired_k8s_beta_apis, as: 'desiredK8sBetaApis', class: Google::Apis::ContainerV1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1::K8sBetaApiConfig::Representation
1281
+
1224
1282
  property :desired_l4ilb_subsetting_config, as: 'desiredL4ilbSubsettingConfig', class: Google::Apis::ContainerV1::IlbSubsettingConfig, decorator: Google::Apis::ContainerV1::IlbSubsettingConfig::Representation
1225
1283
 
1226
1284
  collection :desired_locations, as: 'desiredLocations'
@@ -1261,6 +1319,8 @@ module Google
1261
1319
 
1262
1320
  property :desired_workload_identity_config, as: 'desiredWorkloadIdentityConfig', class: Google::Apis::ContainerV1::WorkloadIdentityConfig, decorator: Google::Apis::ContainerV1::WorkloadIdentityConfig::Representation
1263
1321
 
1322
+ property :enable_k8s_beta_apis, as: 'enableK8sBetaApis', class: Google::Apis::ContainerV1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1::K8sBetaApiConfig::Representation
1323
+
1264
1324
  property :etag, as: 'etag'
1265
1325
  property :removed_additional_pod_ranges_config, as: 'removedAdditionalPodRangesConfig', class: Google::Apis::ContainerV1::AdditionalPodRangesConfig, decorator: Google::Apis::ContainerV1::AdditionalPodRangesConfig::Representation
1266
1326
 
@@ -1563,6 +1623,13 @@ module Google
1563
1623
  end
1564
1624
  end
1565
1625
 
1626
+ class K8sBetaApiConfig
1627
+ # @private
1628
+ class Representation < Google::Apis::Core::JsonRepresentation
1629
+ collection :enabled_apis, as: 'enabledApis'
1630
+ end
1631
+ end
1632
+
1566
1633
  class KubernetesDashboard
1567
1634
  # @private
1568
1635
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1756,6 +1823,7 @@ module Google
1756
1823
 
1757
1824
  property :dns_config, as: 'dnsConfig', class: Google::Apis::ContainerV1::DnsConfig, decorator: Google::Apis::ContainerV1::DnsConfig::Representation
1758
1825
 
1826
+ property :enable_fqdn_network_policy, as: 'enableFqdnNetworkPolicy'
1759
1827
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
1760
1828
  property :enable_l4ilb_subsetting, as: 'enableL4ilbSubsetting'
1761
1829
  property :gateway_api_config, as: 'gatewayApiConfig', class: Google::Apis::ContainerV1::GatewayApiConfig, decorator: Google::Apis::ContainerV1::GatewayApiConfig::Representation
@@ -1920,6 +1988,8 @@ module Google
1920
1988
  class Representation < Google::Apis::Core::JsonRepresentation
1921
1989
  property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
1922
1990
 
1991
+ property :best_effort_provisioning, as: 'bestEffortProvisioning', class: Google::Apis::ContainerV1::BestEffortProvisioning, decorator: Google::Apis::ContainerV1::BestEffortProvisioning::Representation
1992
+
1923
1993
  collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
1924
1994
 
1925
1995
  property :config, as: 'config', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation
@@ -138,6 +138,38 @@ module Google
138
138
  execute_or_queue_command(command, &block)
139
139
  end
140
140
 
141
+ # Checks the cluster compatibility with Autopilot mode, and returns a list of
142
+ # compatibility issues.
143
+ # @param [String] name
144
+ # The name (project, location, cluster) of the cluster to retrieve. Specified in
145
+ # the format `projects/*/locations/*/clusters/*`.
146
+ # @param [String] fields
147
+ # Selector specifying which fields to include in a partial response.
148
+ # @param [String] quota_user
149
+ # Available to use for quota purposes for server-side applications. Can be any
150
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
151
+ # @param [Google::Apis::RequestOptions] options
152
+ # Request-specific options
153
+ #
154
+ # @yield [result, err] Result & error if block supplied
155
+ # @yieldparam result [Google::Apis::ContainerV1::CheckAutopilotCompatibilityResponse] parsed result object
156
+ # @yieldparam err [StandardError] error object if request failed
157
+ #
158
+ # @return [Google::Apis::ContainerV1::CheckAutopilotCompatibilityResponse]
159
+ #
160
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
161
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
162
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
163
+ def check_project_location_cluster_autopilot_compatibility(name, fields: nil, quota_user: nil, options: nil, &block)
164
+ command = make_simple_command(:get, 'v1/{+name}:checkAutopilotCompatibility', options)
165
+ command.response_representation = Google::Apis::ContainerV1::CheckAutopilotCompatibilityResponse::Representation
166
+ command.response_class = Google::Apis::ContainerV1::CheckAutopilotCompatibilityResponse
167
+ command.params['name'] = name unless name.nil?
168
+ command.query['fields'] = fields unless fields.nil?
169
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
170
+ execute_or_queue_command(command, &block)
171
+ end
172
+
141
173
  # Completes master IP rotation.
142
174
  # @param [String] name
143
175
  # The name (project, location, cluster name) of the cluster to complete IP
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.51.0
4
+ version: 0.52.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-28 00:00:00.000000000 Z
11
+ date: 2023-06-04 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.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.52.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: []