google-apis-container_v1 0.50.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: bfb8cf5c351461269c876090ad86ef4db9ebe4863fa845c13bf41d4fc9b01e22
4
- data.tar.gz: 8e72b0681c1ae6ceaef1db2c6b970fa590675f30bf70fee56d5a9200ebd4960f
3
+ metadata.gz: bb0e2743e67949830150199bee6a44cca5bd46f25c421c7450a0ccac41b917a8
4
+ data.tar.gz: cb7b585f8d325459843071dc4347d27792c13d1a24c374d7397a4d676c906b67
5
5
  SHA512:
6
- metadata.gz: 6e72fec85248d70cad8ba3e884ed6be3566e149aa506f99b335518e9b38a614f727c49f5bd98b5383622027f7dba5ca0b47939b6d8b06e0f288529800f359bc4
7
- data.tar.gz: f2d7da0740b6387e5d6314522b920c1f6fd6203fa3db14e3b7867f23597486756bda4773151c707e91d616f651da0a00fa02b66e6a93298722c6d3a8c2e3d5b8
6
+ metadata.gz: 8ad0e16ad00225065342b99935904eb2d1f90880ddf3d4cdd8d43e601a496f3e568ecd6a3deb0801e88e2edf7eaf99a873b3cc1c35f9e4036bae8916221ba170
7
+ data.tar.gz: 5d6dfdb041df43fbff18815ed2a44be6d7522bc4b31e54f69b052e734c57603a7e1707cc43274e4f7350b541c3fc86cae427985fd995642118a353eb7ff68fbf
data/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
- ### v0.50.0 (2023-05-07)
3
+ ### v0.52.0 (2023-06-04)
4
4
 
5
- * Regenerated from discovery document revision 20230420
5
+ * Regenerated from discovery document revision 20230519
6
+
7
+ ### v0.51.0 (2023-05-28)
8
+
9
+ * Regenerated from discovery document revision 20230515
10
+
11
+ ### v0.50.0 (2023-05-14)
12
+
13
+ * Regenerated from discovery document revision 20230501
6
14
 
7
15
  ### v0.49.0 (2023-04-23)
8
16
 
@@ -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)
@@ -3306,6 +3462,39 @@ module Google
3306
3462
  end
3307
3463
  end
3308
3464
 
3465
+ # Specifies the NodeAffinity key, values, and affinity operator according to [
3466
+ # shared sole tenant node group affinities](https://cloud.google.com/compute/
3467
+ # docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).
3468
+ class NodeAffinity
3469
+ include Google::Apis::Core::Hashable
3470
+
3471
+ # Key for NodeAffinity.
3472
+ # Corresponds to the JSON property `key`
3473
+ # @return [String]
3474
+ attr_accessor :key
3475
+
3476
+ # Operator for NodeAffinity.
3477
+ # Corresponds to the JSON property `operator`
3478
+ # @return [String]
3479
+ attr_accessor :operator
3480
+
3481
+ # Values for NodeAffinity.
3482
+ # Corresponds to the JSON property `values`
3483
+ # @return [Array<String>]
3484
+ attr_accessor :values
3485
+
3486
+ def initialize(**args)
3487
+ update!(**args)
3488
+ end
3489
+
3490
+ # Update properties of this object
3491
+ def update!(**args)
3492
+ @key = args[:key] if args.key?(:key)
3493
+ @operator = args[:operator] if args.key?(:operator)
3494
+ @values = args[:values] if args.key?(:values)
3495
+ end
3496
+ end
3497
+
3309
3498
  # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
3310
3499
  # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
3311
3500
  # instead.
@@ -3512,6 +3701,12 @@ module Google
3512
3701
  # @return [Google::Apis::ContainerV1::ShieldedInstanceConfig]
3513
3702
  attr_accessor :shielded_instance_config
3514
3703
 
3704
+ # SoleTenantConfig contains the NodeAffinities to specify what shared sole
3705
+ # tenant node groups should back the node pool.
3706
+ # Corresponds to the JSON property `soleTenantConfig`
3707
+ # @return [Google::Apis::ContainerV1::SoleTenantConfig]
3708
+ attr_accessor :sole_tenant_config
3709
+
3515
3710
  # Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible
3516
3711
  # flag.
3517
3712
  # Corresponds to the JSON property `spot`
@@ -3581,6 +3776,7 @@ module Google
3581
3776
  @sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
3582
3777
  @service_account = args[:service_account] if args.key?(:service_account)
3583
3778
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
3779
+ @sole_tenant_config = args[:sole_tenant_config] if args.key?(:sole_tenant_config)
3584
3780
  @spot = args[:spot] if args.key?(:spot)
3585
3781
  @tags = args[:tags] if args.key?(:tags)
3586
3782
  @taints = args[:taints] if args.key?(:taints)
@@ -3813,6 +4009,11 @@ module Google
3813
4009
  # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
3814
4010
  attr_accessor :autoscaling
3815
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
+
3816
4017
  # Which conditions caused the current node pool state.
3817
4018
  # Corresponds to the JSON property `conditions`
3818
4019
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
@@ -3960,6 +4161,7 @@ module Google
3960
4161
  # Update properties of this object
3961
4162
  def update!(**args)
3962
4163
  @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
4164
+ @best_effort_provisioning = args[:best_effort_provisioning] if args.key?(:best_effort_provisioning)
3963
4165
  @conditions = args[:conditions] if args.key?(:conditions)
3964
4166
  @config = args[:config] if args.key?(:config)
3965
4167
  @etag = args[:etag] if args.key?(:etag)
@@ -4265,10 +4467,10 @@ module Google
4265
4467
  # Server-defined URI for the target of the operation. The format of this is a
4266
4468
  # URI to the resource being modified (such as a cluster, node pool, or node).
4267
4469
  # 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` - `https://container.
4470
+ # one will be the target. Examples: - ## `https://container.googleapis.com/v1/
4471
+ # projects/123/locations/us-central1/clusters/my-cluster` ## `https://container.
4270
4472
  # googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/
4271
- # nodePools/my-np` - `https://container.googleapis.com/v1/projects/123/zones/us-
4473
+ # nodePools/my-np` `https://container.googleapis.com/v1/projects/123/zones/us-
4272
4474
  # central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
4273
4475
  # Corresponds to the JSON property `targetLink`
4274
4476
  # @return [String]
@@ -5658,6 +5860,26 @@ module Google
5658
5860
  end
5659
5861
  end
5660
5862
 
5863
+ # SoleTenantConfig contains the NodeAffinities to specify what shared sole
5864
+ # tenant node groups should back the node pool.
5865
+ class SoleTenantConfig
5866
+ include Google::Apis::Core::Hashable
5867
+
5868
+ # NodeAffinities used to match to a shared sole tenant node group.
5869
+ # Corresponds to the JSON property `nodeAffinities`
5870
+ # @return [Array<Google::Apis::ContainerV1::NodeAffinity>]
5871
+ attr_accessor :node_affinities
5872
+
5873
+ def initialize(**args)
5874
+ update!(**args)
5875
+ end
5876
+
5877
+ # Update properties of this object
5878
+ def update!(**args)
5879
+ @node_affinities = args[:node_affinities] if args.key?(:node_affinities)
5880
+ end
5881
+ end
5882
+
5661
5883
  # Standard rollout policy is the default policy for blue-green.
5662
5884
  class StandardRolloutPolicy
5663
5885
  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.50.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 = "20230420"
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
 
@@ -502,6 +526,12 @@ module Google
502
526
  include Google::Apis::Core::JsonObjectSupport
503
527
  end
504
528
 
529
+ class NodeAffinity
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
505
535
  class NodeConfig
506
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
537
 
@@ -784,6 +814,12 @@ module Google
784
814
  include Google::Apis::Core::JsonObjectSupport
785
815
  end
786
816
 
817
+ class SoleTenantConfig
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
787
823
  class StandardRolloutPolicy
788
824
  class Representation < Google::Apis::Core::JsonRepresentation; end
789
825
 
@@ -972,6 +1008,18 @@ module Google
972
1008
  end
973
1009
  end
974
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
+
975
1023
  class AutoprovisioningNodePoolDefaults
976
1024
  # @private
977
1025
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -991,6 +1039,14 @@ module Google
991
1039
  end
992
1040
  end
993
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
+
994
1050
  class BigQueryDestination
995
1051
  # @private
996
1052
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1036,6 +1092,15 @@ module Google
1036
1092
  end
1037
1093
  end
1038
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
+
1039
1104
  class CidrBlock
1040
1105
  # @private
1041
1106
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1088,6 +1153,8 @@ module Google
1088
1153
  property :default_max_pods_constraint, as: 'defaultMaxPodsConstraint', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation
1089
1154
 
1090
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
+
1091
1158
  property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
1092
1159
  property :enable_tpu, as: 'enableTpu'
1093
1160
  property :endpoint, as: 'endpoint'
@@ -1197,6 +1264,7 @@ module Google
1197
1264
 
1198
1265
  property :desired_dns_config, as: 'desiredDnsConfig', class: Google::Apis::ContainerV1::DnsConfig, decorator: Google::Apis::ContainerV1::DnsConfig::Representation
1199
1266
 
1267
+ property :desired_enable_fqdn_network_policy, as: 'desiredEnableFqdnNetworkPolicy'
1200
1268
  property :desired_enable_private_endpoint, as: 'desiredEnablePrivateEndpoint'
1201
1269
  property :desired_fleet, as: 'desiredFleet', class: Google::Apis::ContainerV1::Fleet, decorator: Google::Apis::ContainerV1::Fleet::Representation
1202
1270
 
@@ -1209,6 +1277,8 @@ module Google
1209
1277
  property :desired_image_type, as: 'desiredImageType'
1210
1278
  property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1::IntraNodeVisibilityConfig::Representation
1211
1279
 
1280
+ property :desired_k8s_beta_apis, as: 'desiredK8sBetaApis', class: Google::Apis::ContainerV1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1::K8sBetaApiConfig::Representation
1281
+
1212
1282
  property :desired_l4ilb_subsetting_config, as: 'desiredL4ilbSubsettingConfig', class: Google::Apis::ContainerV1::IlbSubsettingConfig, decorator: Google::Apis::ContainerV1::IlbSubsettingConfig::Representation
1213
1283
 
1214
1284
  collection :desired_locations, as: 'desiredLocations'
@@ -1249,6 +1319,8 @@ module Google
1249
1319
 
1250
1320
  property :desired_workload_identity_config, as: 'desiredWorkloadIdentityConfig', class: Google::Apis::ContainerV1::WorkloadIdentityConfig, decorator: Google::Apis::ContainerV1::WorkloadIdentityConfig::Representation
1251
1321
 
1322
+ property :enable_k8s_beta_apis, as: 'enableK8sBetaApis', class: Google::Apis::ContainerV1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1::K8sBetaApiConfig::Representation
1323
+
1252
1324
  property :etag, as: 'etag'
1253
1325
  property :removed_additional_pod_ranges_config, as: 'removedAdditionalPodRangesConfig', class: Google::Apis::ContainerV1::AdditionalPodRangesConfig, decorator: Google::Apis::ContainerV1::AdditionalPodRangesConfig::Representation
1254
1326
 
@@ -1551,6 +1623,13 @@ module Google
1551
1623
  end
1552
1624
  end
1553
1625
 
1626
+ class K8sBetaApiConfig
1627
+ # @private
1628
+ class Representation < Google::Apis::Core::JsonRepresentation
1629
+ collection :enabled_apis, as: 'enabledApis'
1630
+ end
1631
+ end
1632
+
1554
1633
  class KubernetesDashboard
1555
1634
  # @private
1556
1635
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1744,6 +1823,7 @@ module Google
1744
1823
 
1745
1824
  property :dns_config, as: 'dnsConfig', class: Google::Apis::ContainerV1::DnsConfig, decorator: Google::Apis::ContainerV1::DnsConfig::Representation
1746
1825
 
1826
+ property :enable_fqdn_network_policy, as: 'enableFqdnNetworkPolicy'
1747
1827
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
1748
1828
  property :enable_l4ilb_subsetting, as: 'enableL4ilbSubsetting'
1749
1829
  property :gateway_api_config, as: 'gatewayApiConfig', class: Google::Apis::ContainerV1::GatewayApiConfig, decorator: Google::Apis::ContainerV1::GatewayApiConfig::Representation
@@ -1785,6 +1865,15 @@ module Google
1785
1865
  end
1786
1866
  end
1787
1867
 
1868
+ class NodeAffinity
1869
+ # @private
1870
+ class Representation < Google::Apis::Core::JsonRepresentation
1871
+ property :key, as: 'key'
1872
+ property :operator, as: 'operator'
1873
+ collection :values, as: 'values'
1874
+ end
1875
+ end
1876
+
1788
1877
  class NodeConfig
1789
1878
  # @private
1790
1879
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1830,6 +1919,8 @@ module Google
1830
1919
  property :service_account, as: 'serviceAccount'
1831
1920
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ContainerV1::ShieldedInstanceConfig, decorator: Google::Apis::ContainerV1::ShieldedInstanceConfig::Representation
1832
1921
 
1922
+ property :sole_tenant_config, as: 'soleTenantConfig', class: Google::Apis::ContainerV1::SoleTenantConfig, decorator: Google::Apis::ContainerV1::SoleTenantConfig::Representation
1923
+
1833
1924
  property :spot, as: 'spot'
1834
1925
  collection :tags, as: 'tags'
1835
1926
  collection :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaint, decorator: Google::Apis::ContainerV1::NodeTaint::Representation
@@ -1897,6 +1988,8 @@ module Google
1897
1988
  class Representation < Google::Apis::Core::JsonRepresentation
1898
1989
  property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
1899
1990
 
1991
+ property :best_effort_provisioning, as: 'bestEffortProvisioning', class: Google::Apis::ContainerV1::BestEffortProvisioning, decorator: Google::Apis::ContainerV1::BestEffortProvisioning::Representation
1992
+
1900
1993
  collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
1901
1994
 
1902
1995
  property :config, as: 'config', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation
@@ -2345,6 +2438,14 @@ module Google
2345
2438
  end
2346
2439
  end
2347
2440
 
2441
+ class SoleTenantConfig
2442
+ # @private
2443
+ class Representation < Google::Apis::Core::JsonRepresentation
2444
+ collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ContainerV1::NodeAffinity, decorator: Google::Apis::ContainerV1::NodeAffinity::Representation
2445
+
2446
+ end
2447
+ end
2448
+
2348
2449
  class StandardRolloutPolicy
2349
2450
  # @private
2350
2451
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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.50.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-14 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.50.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: []