google-apis-container_v1 0.51.0 → 0.53.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: ea4fee55fc59334b9c8eb18e9ba1d97571b9c985d4e3bcbc5380a559e7fbc07c
|
4
|
+
data.tar.gz: 7ba2b6f93fcb2c0c0d65235a4e57ea80bc1503ac69a57fb585cf854cd02e66df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90ef20ac365cdc12d593598dedba9c292c2021ef60d8802ba3fc7da26e5ea9fadfef7c09671279a5e7f88cfdb7d351e21dde83ead78d8e49bd0610695cac38dc
|
7
|
+
data.tar.gz: 30e491f731353fff13e4eab3c39b0402c209e06f9fd9b20a15456837f464a9ab3cd2193256689ffe9b8de969ed773c03653d1fab1151d85e34b1160f7dac16f5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-container_v1
|
2
2
|
|
3
|
+
### v0.53.0 (2023-06-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230522
|
6
|
+
|
7
|
+
### v0.52.0 (2023-06-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230519
|
10
|
+
|
3
11
|
### v0.51.0 (2023-05-28)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230515
|
@@ -37,6 +37,12 @@ module Google
|
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :accelerator_type
|
39
39
|
|
40
|
+
# GPUDriverInstallationConfig specifies the version of GPU driver to be auto
|
41
|
+
# installed.
|
42
|
+
# Corresponds to the JSON property `gpuDriverInstallationConfig`
|
43
|
+
# @return [Google::Apis::ContainerV1::GpuDriverInstallationConfig]
|
44
|
+
attr_accessor :gpu_driver_installation_config
|
45
|
+
|
40
46
|
# Size of partitions to create on the GPU. Valid values are described in the
|
41
47
|
# NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-
|
42
48
|
# guide/#partitioning).
|
@@ -58,6 +64,7 @@ module Google
|
|
58
64
|
def update!(**args)
|
59
65
|
@accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
|
60
66
|
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
67
|
+
@gpu_driver_installation_config = args[:gpu_driver_installation_config] if args.key?(:gpu_driver_installation_config)
|
61
68
|
@gpu_partition_size = args[:gpu_partition_size] if args.key?(:gpu_partition_size)
|
62
69
|
@gpu_sharing_config = args[:gpu_sharing_config] if args.key?(:gpu_sharing_config)
|
63
70
|
end
|
@@ -250,6 +257,12 @@ module Google
|
|
250
257
|
attr_accessor :enabled
|
251
258
|
alias_method :enabled?, :enabled
|
252
259
|
|
260
|
+
# WorkloadPolicyConfig is the configuration of workload policy for autopilot
|
261
|
+
# clusters.
|
262
|
+
# Corresponds to the JSON property `workloadPolicyConfig`
|
263
|
+
# @return [Google::Apis::ContainerV1::WorkloadPolicyConfig]
|
264
|
+
attr_accessor :workload_policy_config
|
265
|
+
|
253
266
|
def initialize(**args)
|
254
267
|
update!(**args)
|
255
268
|
end
|
@@ -257,6 +270,57 @@ module Google
|
|
257
270
|
# Update properties of this object
|
258
271
|
def update!(**args)
|
259
272
|
@enabled = args[:enabled] if args.key?(:enabled)
|
273
|
+
@workload_policy_config = args[:workload_policy_config] if args.key?(:workload_policy_config)
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
# AutopilotCompatibilityIssue contains information about a specific
|
278
|
+
# compatibility issue with Autopilot mode.
|
279
|
+
class AutopilotCompatibilityIssue
|
280
|
+
include Google::Apis::Core::Hashable
|
281
|
+
|
282
|
+
# The constraint type of the issue.
|
283
|
+
# Corresponds to the JSON property `constraintType`
|
284
|
+
# @return [String]
|
285
|
+
attr_accessor :constraint_type
|
286
|
+
|
287
|
+
# The description of the issue.
|
288
|
+
# Corresponds to the JSON property `description`
|
289
|
+
# @return [String]
|
290
|
+
attr_accessor :description
|
291
|
+
|
292
|
+
# A URL to a public documnetation, which addresses resolving this issue.
|
293
|
+
# Corresponds to the JSON property `documentationUrl`
|
294
|
+
# @return [String]
|
295
|
+
attr_accessor :documentation_url
|
296
|
+
|
297
|
+
# The incompatibility type of this issue.
|
298
|
+
# Corresponds to the JSON property `incompatibilityType`
|
299
|
+
# @return [String]
|
300
|
+
attr_accessor :incompatibility_type
|
301
|
+
|
302
|
+
# The last time when this issue was observed.
|
303
|
+
# Corresponds to the JSON property `lastObservation`
|
304
|
+
# @return [String]
|
305
|
+
attr_accessor :last_observation
|
306
|
+
|
307
|
+
# The name of the resources which are subject to this issue.
|
308
|
+
# Corresponds to the JSON property `subjects`
|
309
|
+
# @return [Array<String>]
|
310
|
+
attr_accessor :subjects
|
311
|
+
|
312
|
+
def initialize(**args)
|
313
|
+
update!(**args)
|
314
|
+
end
|
315
|
+
|
316
|
+
# Update properties of this object
|
317
|
+
def update!(**args)
|
318
|
+
@constraint_type = args[:constraint_type] if args.key?(:constraint_type)
|
319
|
+
@description = args[:description] if args.key?(:description)
|
320
|
+
@documentation_url = args[:documentation_url] if args.key?(:documentation_url)
|
321
|
+
@incompatibility_type = args[:incompatibility_type] if args.key?(:incompatibility_type)
|
322
|
+
@last_observation = args[:last_observation] if args.key?(:last_observation)
|
323
|
+
@subjects = args[:subjects] if args.key?(:subjects)
|
260
324
|
end
|
261
325
|
end
|
262
326
|
|
@@ -380,6 +444,36 @@ module Google
|
|
380
444
|
end
|
381
445
|
end
|
382
446
|
|
447
|
+
# Best effort provisioning.
|
448
|
+
class BestEffortProvisioning
|
449
|
+
include Google::Apis::Core::Hashable
|
450
|
+
|
451
|
+
# When this is enabled, cluster/node pool creations will ignore non-fatal errors
|
452
|
+
# like stockout to best provision as many nodes as possible right now and
|
453
|
+
# eventually bring up all target number of nodes
|
454
|
+
# Corresponds to the JSON property `enabled`
|
455
|
+
# @return [Boolean]
|
456
|
+
attr_accessor :enabled
|
457
|
+
alias_method :enabled?, :enabled
|
458
|
+
|
459
|
+
# Minimum number of nodes to be provisioned to be considered as succeeded, and
|
460
|
+
# the rest of nodes will be provisioned gradually and eventually when stockout
|
461
|
+
# issue has been resolved.
|
462
|
+
# Corresponds to the JSON property `minProvisionNodes`
|
463
|
+
# @return [Fixnum]
|
464
|
+
attr_accessor :min_provision_nodes
|
465
|
+
|
466
|
+
def initialize(**args)
|
467
|
+
update!(**args)
|
468
|
+
end
|
469
|
+
|
470
|
+
# Update properties of this object
|
471
|
+
def update!(**args)
|
472
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
473
|
+
@min_provision_nodes = args[:min_provision_nodes] if args.key?(:min_provision_nodes)
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
383
477
|
# Parameters for using BigQuery as the destination of resource usage export.
|
384
478
|
class BigQueryDestination
|
385
479
|
include Google::Apis::Core::Hashable
|
@@ -543,6 +637,31 @@ module Google
|
|
543
637
|
end
|
544
638
|
end
|
545
639
|
|
640
|
+
# CheckAutopilotCompatibilityResponse has a list of compatibility issues.
|
641
|
+
class CheckAutopilotCompatibilityResponse
|
642
|
+
include Google::Apis::Core::Hashable
|
643
|
+
|
644
|
+
# The list of issues for the given operation.
|
645
|
+
# Corresponds to the JSON property `issues`
|
646
|
+
# @return [Array<Google::Apis::ContainerV1::AutopilotCompatibilityIssue>]
|
647
|
+
attr_accessor :issues
|
648
|
+
|
649
|
+
# The summary of the autopilot compatibility response.
|
650
|
+
# Corresponds to the JSON property `summary`
|
651
|
+
# @return [String]
|
652
|
+
attr_accessor :summary
|
653
|
+
|
654
|
+
def initialize(**args)
|
655
|
+
update!(**args)
|
656
|
+
end
|
657
|
+
|
658
|
+
# Update properties of this object
|
659
|
+
def update!(**args)
|
660
|
+
@issues = args[:issues] if args.key?(:issues)
|
661
|
+
@summary = args[:summary] if args.key?(:summary)
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
546
665
|
# CidrBlock contains an optional name and one CIDR block.
|
547
666
|
class CidrBlock
|
548
667
|
include Google::Apis::Core::Hashable
|
@@ -711,6 +830,11 @@ module Google
|
|
711
830
|
# @return [String]
|
712
831
|
attr_accessor :description
|
713
832
|
|
833
|
+
# K8sBetaAPIConfig , configuration for beta APIs
|
834
|
+
# Corresponds to the JSON property `enableK8sBetaApis`
|
835
|
+
# @return [Google::Apis::ContainerV1::K8sBetaApiConfig]
|
836
|
+
attr_accessor :enable_k8s_beta_apis
|
837
|
+
|
714
838
|
# Kubernetes alpha features are enabled on this cluster. This includes alpha API
|
715
839
|
# groups (e.g. v1alpha1) and features that may not be production ready in the
|
716
840
|
# kubernetes version of the master and nodes. The cluster has no SLA for uptime
|
@@ -972,6 +1096,12 @@ module Google
|
|
972
1096
|
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
|
973
1097
|
attr_accessor :resource_usage_export_config
|
974
1098
|
|
1099
|
+
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
1100
|
+
# the Security Posture API.
|
1101
|
+
# Corresponds to the JSON property `securityPostureConfig`
|
1102
|
+
# @return [Google::Apis::ContainerV1::SecurityPostureConfig]
|
1103
|
+
attr_accessor :security_posture_config
|
1104
|
+
|
975
1105
|
# [Output only] Server-defined URL for the resource.
|
976
1106
|
# Corresponds to the JSON property `selfLink`
|
977
1107
|
# @return [String]
|
@@ -1055,6 +1185,7 @@ module Google
|
|
1055
1185
|
@database_encryption = args[:database_encryption] if args.key?(:database_encryption)
|
1056
1186
|
@default_max_pods_constraint = args[:default_max_pods_constraint] if args.key?(:default_max_pods_constraint)
|
1057
1187
|
@description = args[:description] if args.key?(:description)
|
1188
|
+
@enable_k8s_beta_apis = args[:enable_k8s_beta_apis] if args.key?(:enable_k8s_beta_apis)
|
1058
1189
|
@enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
|
1059
1190
|
@enable_tpu = args[:enable_tpu] if args.key?(:enable_tpu)
|
1060
1191
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
@@ -1093,6 +1224,7 @@ module Google
|
|
1093
1224
|
@release_channel = args[:release_channel] if args.key?(:release_channel)
|
1094
1225
|
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
1095
1226
|
@resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
|
1227
|
+
@security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
|
1096
1228
|
@self_link = args[:self_link] if args.key?(:self_link)
|
1097
1229
|
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
|
1098
1230
|
@shielded_nodes = args[:shielded_nodes] if args.key?(:shielded_nodes)
|
@@ -1177,6 +1309,12 @@ module Google
|
|
1177
1309
|
# @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
|
1178
1310
|
attr_accessor :desired_authenticator_groups_config
|
1179
1311
|
|
1312
|
+
# WorkloadPolicyConfig is the configuration of workload policy for autopilot
|
1313
|
+
# clusters.
|
1314
|
+
# Corresponds to the JSON property `desiredAutopilotWorkloadPolicyConfig`
|
1315
|
+
# @return [Google::Apis::ContainerV1::WorkloadPolicyConfig]
|
1316
|
+
attr_accessor :desired_autopilot_workload_policy_config
|
1317
|
+
|
1180
1318
|
# Configuration for Binary Authorization.
|
1181
1319
|
# Corresponds to the JSON property `desiredBinaryAuthorization`
|
1182
1320
|
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
@@ -1215,6 +1353,12 @@ module Google
|
|
1215
1353
|
# @return [Google::Apis::ContainerV1::DnsConfig]
|
1216
1354
|
attr_accessor :desired_dns_config
|
1217
1355
|
|
1356
|
+
# Enable/Disable FQDN Network Policy for the cluster.
|
1357
|
+
# Corresponds to the JSON property `desiredEnableFqdnNetworkPolicy`
|
1358
|
+
# @return [Boolean]
|
1359
|
+
attr_accessor :desired_enable_fqdn_network_policy
|
1360
|
+
alias_method :desired_enable_fqdn_network_policy?, :desired_enable_fqdn_network_policy
|
1361
|
+
|
1218
1362
|
# Enable/Disable private endpoint for the cluster's master.
|
1219
1363
|
# Corresponds to the JSON property `desiredEnablePrivateEndpoint`
|
1220
1364
|
# @return [Boolean]
|
@@ -1255,6 +1399,11 @@ module Google
|
|
1255
1399
|
# @return [Google::Apis::ContainerV1::IntraNodeVisibilityConfig]
|
1256
1400
|
attr_accessor :desired_intra_node_visibility_config
|
1257
1401
|
|
1402
|
+
# K8sBetaAPIConfig , configuration for beta APIs
|
1403
|
+
# Corresponds to the JSON property `desiredK8sBetaApis`
|
1404
|
+
# @return [Google::Apis::ContainerV1::K8sBetaApiConfig]
|
1405
|
+
attr_accessor :desired_k8s_beta_apis
|
1406
|
+
|
1258
1407
|
# ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
|
1259
1408
|
# subsetting on this cluster.
|
1260
1409
|
# Corresponds to the JSON property `desiredL4ilbSubsettingConfig`
|
@@ -1389,6 +1538,12 @@ module Google
|
|
1389
1538
|
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
|
1390
1539
|
attr_accessor :desired_resource_usage_export_config
|
1391
1540
|
|
1541
|
+
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
1542
|
+
# the Security Posture API.
|
1543
|
+
# Corresponds to the JSON property `desiredSecurityPostureConfig`
|
1544
|
+
# @return [Google::Apis::ContainerV1::SecurityPostureConfig]
|
1545
|
+
attr_accessor :desired_security_posture_config
|
1546
|
+
|
1392
1547
|
# Config to block services with externalIPs field.
|
1393
1548
|
# Corresponds to the JSON property `desiredServiceExternalIpsConfig`
|
1394
1549
|
# @return [Google::Apis::ContainerV1::ServiceExternalIPsConfig]
|
@@ -1418,6 +1573,11 @@ module Google
|
|
1418
1573
|
# @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
|
1419
1574
|
attr_accessor :desired_workload_identity_config
|
1420
1575
|
|
1576
|
+
# K8sBetaAPIConfig , configuration for beta APIs
|
1577
|
+
# Corresponds to the JSON property `enableK8sBetaApis`
|
1578
|
+
# @return [Google::Apis::ContainerV1::K8sBetaApiConfig]
|
1579
|
+
attr_accessor :enable_k8s_beta_apis
|
1580
|
+
|
1421
1581
|
# The current etag of the cluster. If an etag is provided and does not match the
|
1422
1582
|
# current etag of the cluster, update will be blocked and an ABORTED error will
|
1423
1583
|
# be returned.
|
@@ -1440,6 +1600,7 @@ module Google
|
|
1440
1600
|
@additional_pod_ranges_config = args[:additional_pod_ranges_config] if args.key?(:additional_pod_ranges_config)
|
1441
1601
|
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
|
1442
1602
|
@desired_authenticator_groups_config = args[:desired_authenticator_groups_config] if args.key?(:desired_authenticator_groups_config)
|
1603
|
+
@desired_autopilot_workload_policy_config = args[:desired_autopilot_workload_policy_config] if args.key?(:desired_autopilot_workload_policy_config)
|
1443
1604
|
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
1444
1605
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
1445
1606
|
@desired_cost_management_config = args[:desired_cost_management_config] if args.key?(:desired_cost_management_config)
|
@@ -1447,6 +1608,7 @@ module Google
|
|
1447
1608
|
@desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
|
1448
1609
|
@desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
|
1449
1610
|
@desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
|
1611
|
+
@desired_enable_fqdn_network_policy = args[:desired_enable_fqdn_network_policy] if args.key?(:desired_enable_fqdn_network_policy)
|
1450
1612
|
@desired_enable_private_endpoint = args[:desired_enable_private_endpoint] if args.key?(:desired_enable_private_endpoint)
|
1451
1613
|
@desired_fleet = args[:desired_fleet] if args.key?(:desired_fleet)
|
1452
1614
|
@desired_gateway_api_config = args[:desired_gateway_api_config] if args.key?(:desired_gateway_api_config)
|
@@ -1454,6 +1616,7 @@ module Google
|
|
1454
1616
|
@desired_identity_service_config = args[:desired_identity_service_config] if args.key?(:desired_identity_service_config)
|
1455
1617
|
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
1456
1618
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
1619
|
+
@desired_k8s_beta_apis = args[:desired_k8s_beta_apis] if args.key?(:desired_k8s_beta_apis)
|
1457
1620
|
@desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
|
1458
1621
|
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
|
1459
1622
|
@desired_logging_config = args[:desired_logging_config] if args.key?(:desired_logging_config)
|
@@ -1473,11 +1636,13 @@ module Google
|
|
1473
1636
|
@desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
|
1474
1637
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
1475
1638
|
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
1639
|
+
@desired_security_posture_config = args[:desired_security_posture_config] if args.key?(:desired_security_posture_config)
|
1476
1640
|
@desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
|
1477
1641
|
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
|
1478
1642
|
@desired_stack_type = args[:desired_stack_type] if args.key?(:desired_stack_type)
|
1479
1643
|
@desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
|
1480
1644
|
@desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
|
1645
|
+
@enable_k8s_beta_apis = args[:enable_k8s_beta_apis] if args.key?(:enable_k8s_beta_apis)
|
1481
1646
|
@etag = args[:etag] if args.key?(:etag)
|
1482
1647
|
@removed_additional_pod_ranges_config = args[:removed_additional_pod_ranges_config] if args.key?(:removed_additional_pod_ranges_config)
|
1483
1648
|
end
|
@@ -1963,6 +2128,26 @@ module Google
|
|
1963
2128
|
end
|
1964
2129
|
end
|
1965
2130
|
|
2131
|
+
# GPUDriverInstallationConfig specifies the version of GPU driver to be auto
|
2132
|
+
# installed.
|
2133
|
+
class GpuDriverInstallationConfig
|
2134
|
+
include Google::Apis::Core::Hashable
|
2135
|
+
|
2136
|
+
# Mode for how the GPU driver is installed.
|
2137
|
+
# Corresponds to the JSON property `gpuDriverVersion`
|
2138
|
+
# @return [String]
|
2139
|
+
attr_accessor :gpu_driver_version
|
2140
|
+
|
2141
|
+
def initialize(**args)
|
2142
|
+
update!(**args)
|
2143
|
+
end
|
2144
|
+
|
2145
|
+
# Update properties of this object
|
2146
|
+
def update!(**args)
|
2147
|
+
@gpu_driver_version = args[:gpu_driver_version] if args.key?(:gpu_driver_version)
|
2148
|
+
end
|
2149
|
+
end
|
2150
|
+
|
1966
2151
|
# GPUSharingConfig represents the GPU sharing configuration for Hardware
|
1967
2152
|
# Accelerators.
|
1968
2153
|
class GpuSharingConfig
|
@@ -2554,6 +2739,25 @@ module Google
|
|
2554
2739
|
end
|
2555
2740
|
end
|
2556
2741
|
|
2742
|
+
# K8sBetaAPIConfig , configuration for beta APIs
|
2743
|
+
class K8sBetaApiConfig
|
2744
|
+
include Google::Apis::Core::Hashable
|
2745
|
+
|
2746
|
+
# Enabled k8s beta APIs.
|
2747
|
+
# Corresponds to the JSON property `enabledApis`
|
2748
|
+
# @return [Array<String>]
|
2749
|
+
attr_accessor :enabled_apis
|
2750
|
+
|
2751
|
+
def initialize(**args)
|
2752
|
+
update!(**args)
|
2753
|
+
end
|
2754
|
+
|
2755
|
+
# Update properties of this object
|
2756
|
+
def update!(**args)
|
2757
|
+
@enabled_apis = args[:enabled_apis] if args.key?(:enabled_apis)
|
2758
|
+
end
|
2759
|
+
end
|
2760
|
+
|
2557
2761
|
# Configuration for the Kubernetes Dashboard.
|
2558
2762
|
class KubernetesDashboard
|
2559
2763
|
include Google::Apis::Core::Hashable
|
@@ -3156,6 +3360,12 @@ module Google
|
|
3156
3360
|
# @return [Google::Apis::ContainerV1::DnsConfig]
|
3157
3361
|
attr_accessor :dns_config
|
3158
3362
|
|
3363
|
+
# Whether FQDN Network Policy is enabled on this cluster.
|
3364
|
+
# Corresponds to the JSON property `enableFqdnNetworkPolicy`
|
3365
|
+
# @return [Boolean]
|
3366
|
+
attr_accessor :enable_fqdn_network_policy
|
3367
|
+
alias_method :enable_fqdn_network_policy?, :enable_fqdn_network_policy
|
3368
|
+
|
3159
3369
|
# Whether Intra-node visibility is enabled for this cluster. This makes same
|
3160
3370
|
# node pod to pod traffic visible for VPC network.
|
3161
3371
|
# Corresponds to the JSON property `enableIntraNodeVisibility`
|
@@ -3208,6 +3418,7 @@ module Google
|
|
3208
3418
|
@datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
|
3209
3419
|
@default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
|
3210
3420
|
@dns_config = args[:dns_config] if args.key?(:dns_config)
|
3421
|
+
@enable_fqdn_network_policy = args[:enable_fqdn_network_policy] if args.key?(:enable_fqdn_network_policy)
|
3211
3422
|
@enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
|
3212
3423
|
@enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
|
3213
3424
|
@gateway_api_config = args[:gateway_api_config] if args.key?(:gateway_api_config)
|
@@ -3853,6 +4064,11 @@ module Google
|
|
3853
4064
|
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
|
3854
4065
|
attr_accessor :autoscaling
|
3855
4066
|
|
4067
|
+
# Best effort provisioning.
|
4068
|
+
# Corresponds to the JSON property `bestEffortProvisioning`
|
4069
|
+
# @return [Google::Apis::ContainerV1::BestEffortProvisioning]
|
4070
|
+
attr_accessor :best_effort_provisioning
|
4071
|
+
|
3856
4072
|
# Which conditions caused the current node pool state.
|
3857
4073
|
# Corresponds to the JSON property `conditions`
|
3858
4074
|
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
@@ -4000,6 +4216,7 @@ module Google
|
|
4000
4216
|
# Update properties of this object
|
4001
4217
|
def update!(**args)
|
4002
4218
|
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
|
4219
|
+
@best_effort_provisioning = args[:best_effort_provisioning] if args.key?(:best_effort_provisioning)
|
4003
4220
|
@conditions = args[:conditions] if args.key?(:conditions)
|
4004
4221
|
@config = args[:config] if args.key?(:config)
|
4005
4222
|
@etag = args[:etag] if args.key?(:etag)
|
@@ -4924,6 +5141,32 @@ module Google
|
|
4924
5141
|
end
|
4925
5142
|
end
|
4926
5143
|
|
5144
|
+
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
5145
|
+
# the Security Posture API.
|
5146
|
+
class SecurityPostureConfig
|
5147
|
+
include Google::Apis::Core::Hashable
|
5148
|
+
|
5149
|
+
# Sets which mode to use for Security Posture features.
|
5150
|
+
# Corresponds to the JSON property `mode`
|
5151
|
+
# @return [String]
|
5152
|
+
attr_accessor :mode
|
5153
|
+
|
5154
|
+
# Sets which mode to use for vulnerability scanning.
|
5155
|
+
# Corresponds to the JSON property `vulnerabilityMode`
|
5156
|
+
# @return [String]
|
5157
|
+
attr_accessor :vulnerability_mode
|
5158
|
+
|
5159
|
+
def initialize(**args)
|
5160
|
+
update!(**args)
|
5161
|
+
end
|
5162
|
+
|
5163
|
+
# Update properties of this object
|
5164
|
+
def update!(**args)
|
5165
|
+
@mode = args[:mode] if args.key?(:mode)
|
5166
|
+
@vulnerability_mode = args[:vulnerability_mode] if args.key?(:vulnerability_mode)
|
5167
|
+
end
|
5168
|
+
end
|
5169
|
+
|
4927
5170
|
# Kubernetes Engine service configuration.
|
4928
5171
|
class ServerConfig
|
4929
5172
|
include Google::Apis::Core::Hashable
|
@@ -6591,6 +6834,27 @@ module Google
|
|
6591
6834
|
@mode = args[:mode] if args.key?(:mode)
|
6592
6835
|
end
|
6593
6836
|
end
|
6837
|
+
|
6838
|
+
# WorkloadPolicyConfig is the configuration of workload policy for autopilot
|
6839
|
+
# clusters.
|
6840
|
+
class WorkloadPolicyConfig
|
6841
|
+
include Google::Apis::Core::Hashable
|
6842
|
+
|
6843
|
+
# If true, workloads can use NET_ADMIN capability.
|
6844
|
+
# Corresponds to the JSON property `allowNetAdmin`
|
6845
|
+
# @return [Boolean]
|
6846
|
+
attr_accessor :allow_net_admin
|
6847
|
+
alias_method :allow_net_admin?, :allow_net_admin
|
6848
|
+
|
6849
|
+
def initialize(**args)
|
6850
|
+
update!(**args)
|
6851
|
+
end
|
6852
|
+
|
6853
|
+
# Update properties of this object
|
6854
|
+
def update!(**args)
|
6855
|
+
@allow_net_admin = args[:allow_net_admin] if args.key?(:allow_net_admin)
|
6856
|
+
end
|
6857
|
+
end
|
6594
6858
|
end
|
6595
6859
|
end
|
6596
6860
|
end
|
@@ -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.53.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 = "20230522"
|
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
|
|
@@ -244,6 +262,12 @@ module Google
|
|
244
262
|
include Google::Apis::Core::JsonObjectSupport
|
245
263
|
end
|
246
264
|
|
265
|
+
class GpuDriverInstallationConfig
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
247
271
|
class GpuSharingConfig
|
248
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
273
|
|
@@ -340,6 +364,12 @@ module Google
|
|
340
364
|
include Google::Apis::Core::JsonObjectSupport
|
341
365
|
end
|
342
366
|
|
367
|
+
class K8sBetaApiConfig
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
343
373
|
class KubernetesDashboard
|
344
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
375
|
|
@@ -694,6 +724,12 @@ module Google
|
|
694
724
|
include Google::Apis::Core::JsonObjectSupport
|
695
725
|
end
|
696
726
|
|
727
|
+
class SecurityPostureConfig
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
729
|
+
|
730
|
+
include Google::Apis::Core::JsonObjectSupport
|
731
|
+
end
|
732
|
+
|
697
733
|
class ServerConfig
|
698
734
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
735
|
|
@@ -910,11 +946,19 @@ module Google
|
|
910
946
|
include Google::Apis::Core::JsonObjectSupport
|
911
947
|
end
|
912
948
|
|
949
|
+
class WorkloadPolicyConfig
|
950
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
951
|
+
|
952
|
+
include Google::Apis::Core::JsonObjectSupport
|
953
|
+
end
|
954
|
+
|
913
955
|
class AcceleratorConfig
|
914
956
|
# @private
|
915
957
|
class Representation < Google::Apis::Core::JsonRepresentation
|
916
958
|
property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
|
917
959
|
property :accelerator_type, as: 'acceleratorType'
|
960
|
+
property :gpu_driver_installation_config, as: 'gpuDriverInstallationConfig', class: Google::Apis::ContainerV1::GpuDriverInstallationConfig, decorator: Google::Apis::ContainerV1::GpuDriverInstallationConfig::Representation
|
961
|
+
|
918
962
|
property :gpu_partition_size, as: 'gpuPartitionSize'
|
919
963
|
property :gpu_sharing_config, as: 'gpuSharingConfig', class: Google::Apis::ContainerV1::GpuSharingConfig, decorator: Google::Apis::ContainerV1::GpuSharingConfig::Representation
|
920
964
|
|
@@ -981,6 +1025,20 @@ module Google
|
|
981
1025
|
# @private
|
982
1026
|
class Representation < Google::Apis::Core::JsonRepresentation
|
983
1027
|
property :enabled, as: 'enabled'
|
1028
|
+
property :workload_policy_config, as: 'workloadPolicyConfig', class: Google::Apis::ContainerV1::WorkloadPolicyConfig, decorator: Google::Apis::ContainerV1::WorkloadPolicyConfig::Representation
|
1029
|
+
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
class AutopilotCompatibilityIssue
|
1034
|
+
# @private
|
1035
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1036
|
+
property :constraint_type, as: 'constraintType'
|
1037
|
+
property :description, as: 'description'
|
1038
|
+
property :documentation_url, as: 'documentationUrl'
|
1039
|
+
property :incompatibility_type, as: 'incompatibilityType'
|
1040
|
+
property :last_observation, as: 'lastObservation'
|
1041
|
+
collection :subjects, as: 'subjects'
|
984
1042
|
end
|
985
1043
|
end
|
986
1044
|
|
@@ -1003,6 +1061,14 @@ module Google
|
|
1003
1061
|
end
|
1004
1062
|
end
|
1005
1063
|
|
1064
|
+
class BestEffortProvisioning
|
1065
|
+
# @private
|
1066
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1067
|
+
property :enabled, as: 'enabled'
|
1068
|
+
property :min_provision_nodes, as: 'minProvisionNodes'
|
1069
|
+
end
|
1070
|
+
end
|
1071
|
+
|
1006
1072
|
class BigQueryDestination
|
1007
1073
|
# @private
|
1008
1074
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1048,6 +1114,15 @@ module Google
|
|
1048
1114
|
end
|
1049
1115
|
end
|
1050
1116
|
|
1117
|
+
class CheckAutopilotCompatibilityResponse
|
1118
|
+
# @private
|
1119
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1120
|
+
collection :issues, as: 'issues', class: Google::Apis::ContainerV1::AutopilotCompatibilityIssue, decorator: Google::Apis::ContainerV1::AutopilotCompatibilityIssue::Representation
|
1121
|
+
|
1122
|
+
property :summary, as: 'summary'
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
|
1051
1126
|
class CidrBlock
|
1052
1127
|
# @private
|
1053
1128
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1100,6 +1175,8 @@ module Google
|
|
1100
1175
|
property :default_max_pods_constraint, as: 'defaultMaxPodsConstraint', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation
|
1101
1176
|
|
1102
1177
|
property :description, as: 'description'
|
1178
|
+
property :enable_k8s_beta_apis, as: 'enableK8sBetaApis', class: Google::Apis::ContainerV1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1::K8sBetaApiConfig::Representation
|
1179
|
+
|
1103
1180
|
property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
|
1104
1181
|
property :enable_tpu, as: 'enableTpu'
|
1105
1182
|
property :endpoint, as: 'endpoint'
|
@@ -1158,6 +1235,8 @@ module Google
|
|
1158
1235
|
hash :resource_labels, as: 'resourceLabels'
|
1159
1236
|
property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
|
1160
1237
|
|
1238
|
+
property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::ContainerV1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1::SecurityPostureConfig::Representation
|
1239
|
+
|
1161
1240
|
property :self_link, as: 'selfLink'
|
1162
1241
|
property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
|
1163
1242
|
property :shielded_nodes, as: 'shieldedNodes', class: Google::Apis::ContainerV1::ShieldedNodes, decorator: Google::Apis::ContainerV1::ShieldedNodes::Representation
|
@@ -1196,6 +1275,8 @@ module Google
|
|
1196
1275
|
|
1197
1276
|
property :desired_authenticator_groups_config, as: 'desiredAuthenticatorGroupsConfig', class: Google::Apis::ContainerV1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1::AuthenticatorGroupsConfig::Representation
|
1198
1277
|
|
1278
|
+
property :desired_autopilot_workload_policy_config, as: 'desiredAutopilotWorkloadPolicyConfig', class: Google::Apis::ContainerV1::WorkloadPolicyConfig, decorator: Google::Apis::ContainerV1::WorkloadPolicyConfig::Representation
|
1279
|
+
|
1199
1280
|
property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
|
1200
1281
|
|
1201
1282
|
property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
|
@@ -1209,6 +1290,7 @@ module Google
|
|
1209
1290
|
|
1210
1291
|
property :desired_dns_config, as: 'desiredDnsConfig', class: Google::Apis::ContainerV1::DnsConfig, decorator: Google::Apis::ContainerV1::DnsConfig::Representation
|
1211
1292
|
|
1293
|
+
property :desired_enable_fqdn_network_policy, as: 'desiredEnableFqdnNetworkPolicy'
|
1212
1294
|
property :desired_enable_private_endpoint, as: 'desiredEnablePrivateEndpoint'
|
1213
1295
|
property :desired_fleet, as: 'desiredFleet', class: Google::Apis::ContainerV1::Fleet, decorator: Google::Apis::ContainerV1::Fleet::Representation
|
1214
1296
|
|
@@ -1221,6 +1303,8 @@ module Google
|
|
1221
1303
|
property :desired_image_type, as: 'desiredImageType'
|
1222
1304
|
property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1::IntraNodeVisibilityConfig::Representation
|
1223
1305
|
|
1306
|
+
property :desired_k8s_beta_apis, as: 'desiredK8sBetaApis', class: Google::Apis::ContainerV1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1::K8sBetaApiConfig::Representation
|
1307
|
+
|
1224
1308
|
property :desired_l4ilb_subsetting_config, as: 'desiredL4ilbSubsettingConfig', class: Google::Apis::ContainerV1::IlbSubsettingConfig, decorator: Google::Apis::ContainerV1::IlbSubsettingConfig::Representation
|
1225
1309
|
|
1226
1310
|
collection :desired_locations, as: 'desiredLocations'
|
@@ -1252,6 +1336,8 @@ module Google
|
|
1252
1336
|
|
1253
1337
|
property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
|
1254
1338
|
|
1339
|
+
property :desired_security_posture_config, as: 'desiredSecurityPostureConfig', class: Google::Apis::ContainerV1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1::SecurityPostureConfig::Representation
|
1340
|
+
|
1255
1341
|
property :desired_service_external_ips_config, as: 'desiredServiceExternalIpsConfig', class: Google::Apis::ContainerV1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1::ServiceExternalIPsConfig::Representation
|
1256
1342
|
|
1257
1343
|
property :desired_shielded_nodes, as: 'desiredShieldedNodes', class: Google::Apis::ContainerV1::ShieldedNodes, decorator: Google::Apis::ContainerV1::ShieldedNodes::Representation
|
@@ -1261,6 +1347,8 @@ module Google
|
|
1261
1347
|
|
1262
1348
|
property :desired_workload_identity_config, as: 'desiredWorkloadIdentityConfig', class: Google::Apis::ContainerV1::WorkloadIdentityConfig, decorator: Google::Apis::ContainerV1::WorkloadIdentityConfig::Representation
|
1263
1349
|
|
1350
|
+
property :enable_k8s_beta_apis, as: 'enableK8sBetaApis', class: Google::Apis::ContainerV1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1::K8sBetaApiConfig::Representation
|
1351
|
+
|
1264
1352
|
property :etag, as: 'etag'
|
1265
1353
|
property :removed_additional_pod_ranges_config, as: 'removedAdditionalPodRangesConfig', class: Google::Apis::ContainerV1::AdditionalPodRangesConfig, decorator: Google::Apis::ContainerV1::AdditionalPodRangesConfig::Representation
|
1266
1354
|
|
@@ -1409,6 +1497,13 @@ module Google
|
|
1409
1497
|
end
|
1410
1498
|
end
|
1411
1499
|
|
1500
|
+
class GpuDriverInstallationConfig
|
1501
|
+
# @private
|
1502
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1503
|
+
property :gpu_driver_version, as: 'gpuDriverVersion'
|
1504
|
+
end
|
1505
|
+
end
|
1506
|
+
|
1412
1507
|
class GpuSharingConfig
|
1413
1508
|
# @private
|
1414
1509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1563,6 +1658,13 @@ module Google
|
|
1563
1658
|
end
|
1564
1659
|
end
|
1565
1660
|
|
1661
|
+
class K8sBetaApiConfig
|
1662
|
+
# @private
|
1663
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1664
|
+
collection :enabled_apis, as: 'enabledApis'
|
1665
|
+
end
|
1666
|
+
end
|
1667
|
+
|
1566
1668
|
class KubernetesDashboard
|
1567
1669
|
# @private
|
1568
1670
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1756,6 +1858,7 @@ module Google
|
|
1756
1858
|
|
1757
1859
|
property :dns_config, as: 'dnsConfig', class: Google::Apis::ContainerV1::DnsConfig, decorator: Google::Apis::ContainerV1::DnsConfig::Representation
|
1758
1860
|
|
1861
|
+
property :enable_fqdn_network_policy, as: 'enableFqdnNetworkPolicy'
|
1759
1862
|
property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
|
1760
1863
|
property :enable_l4ilb_subsetting, as: 'enableL4ilbSubsetting'
|
1761
1864
|
property :gateway_api_config, as: 'gatewayApiConfig', class: Google::Apis::ContainerV1::GatewayApiConfig, decorator: Google::Apis::ContainerV1::GatewayApiConfig::Representation
|
@@ -1920,6 +2023,8 @@ module Google
|
|
1920
2023
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1921
2024
|
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
|
1922
2025
|
|
2026
|
+
property :best_effort_provisioning, as: 'bestEffortProvisioning', class: Google::Apis::ContainerV1::BestEffortProvisioning, decorator: Google::Apis::ContainerV1::BestEffortProvisioning::Representation
|
2027
|
+
|
1923
2028
|
collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
|
1924
2029
|
|
1925
2030
|
property :config, as: 'config', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation
|
@@ -2190,6 +2295,14 @@ module Google
|
|
2190
2295
|
end
|
2191
2296
|
end
|
2192
2297
|
|
2298
|
+
class SecurityPostureConfig
|
2299
|
+
# @private
|
2300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2301
|
+
property :mode, as: 'mode'
|
2302
|
+
property :vulnerability_mode, as: 'vulnerabilityMode'
|
2303
|
+
end
|
2304
|
+
end
|
2305
|
+
|
2193
2306
|
class ServerConfig
|
2194
2307
|
# @private
|
2195
2308
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2589,6 +2702,13 @@ module Google
|
|
2589
2702
|
property :mode, as: 'mode'
|
2590
2703
|
end
|
2591
2704
|
end
|
2705
|
+
|
2706
|
+
class WorkloadPolicyConfig
|
2707
|
+
# @private
|
2708
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2709
|
+
property :allow_net_admin, as: 'allowNetAdmin'
|
2710
|
+
end
|
2711
|
+
end
|
2592
2712
|
end
|
2593
2713
|
end
|
2594
2714
|
end
|
@@ -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.
|
4
|
+
version: 0.53.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-
|
11
|
+
date: 2023-06-11 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.53.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: []
|