google-apis-container_v1 0.52.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
@@ -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,7 @@ 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)
|
260
274
|
end
|
261
275
|
end
|
262
276
|
|
@@ -1082,6 +1096,12 @@ module Google
|
|
1082
1096
|
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
|
1083
1097
|
attr_accessor :resource_usage_export_config
|
1084
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
|
+
|
1085
1105
|
# [Output only] Server-defined URL for the resource.
|
1086
1106
|
# Corresponds to the JSON property `selfLink`
|
1087
1107
|
# @return [String]
|
@@ -1204,6 +1224,7 @@ module Google
|
|
1204
1224
|
@release_channel = args[:release_channel] if args.key?(:release_channel)
|
1205
1225
|
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
1206
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)
|
1207
1228
|
@self_link = args[:self_link] if args.key?(:self_link)
|
1208
1229
|
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
|
1209
1230
|
@shielded_nodes = args[:shielded_nodes] if args.key?(:shielded_nodes)
|
@@ -1288,6 +1309,12 @@ module Google
|
|
1288
1309
|
# @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
|
1289
1310
|
attr_accessor :desired_authenticator_groups_config
|
1290
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
|
+
|
1291
1318
|
# Configuration for Binary Authorization.
|
1292
1319
|
# Corresponds to the JSON property `desiredBinaryAuthorization`
|
1293
1320
|
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
@@ -1511,6 +1538,12 @@ module Google
|
|
1511
1538
|
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
|
1512
1539
|
attr_accessor :desired_resource_usage_export_config
|
1513
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
|
+
|
1514
1547
|
# Config to block services with externalIPs field.
|
1515
1548
|
# Corresponds to the JSON property `desiredServiceExternalIpsConfig`
|
1516
1549
|
# @return [Google::Apis::ContainerV1::ServiceExternalIPsConfig]
|
@@ -1567,6 +1600,7 @@ module Google
|
|
1567
1600
|
@additional_pod_ranges_config = args[:additional_pod_ranges_config] if args.key?(:additional_pod_ranges_config)
|
1568
1601
|
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
|
1569
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)
|
1570
1604
|
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
1571
1605
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
1572
1606
|
@desired_cost_management_config = args[:desired_cost_management_config] if args.key?(:desired_cost_management_config)
|
@@ -1602,6 +1636,7 @@ module Google
|
|
1602
1636
|
@desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
|
1603
1637
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
1604
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)
|
1605
1640
|
@desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
|
1606
1641
|
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
|
1607
1642
|
@desired_stack_type = args[:desired_stack_type] if args.key?(:desired_stack_type)
|
@@ -2093,6 +2128,26 @@ module Google
|
|
2093
2128
|
end
|
2094
2129
|
end
|
2095
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
|
+
|
2096
2151
|
# GPUSharingConfig represents the GPU sharing configuration for Hardware
|
2097
2152
|
# Accelerators.
|
2098
2153
|
class GpuSharingConfig
|
@@ -5086,6 +5141,32 @@ module Google
|
|
5086
5141
|
end
|
5087
5142
|
end
|
5088
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
|
+
|
5089
5170
|
# Kubernetes Engine service configuration.
|
5090
5171
|
class ServerConfig
|
5091
5172
|
include Google::Apis::Core::Hashable
|
@@ -6753,6 +6834,27 @@ module Google
|
|
6753
6834
|
@mode = args[:mode] if args.key?(:mode)
|
6754
6835
|
end
|
6755
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
|
6756
6858
|
end
|
6757
6859
|
end
|
6758
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
|
@@ -262,6 +262,12 @@ module Google
|
|
262
262
|
include Google::Apis::Core::JsonObjectSupport
|
263
263
|
end
|
264
264
|
|
265
|
+
class GpuDriverInstallationConfig
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
265
271
|
class GpuSharingConfig
|
266
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
273
|
|
@@ -718,6 +724,12 @@ module Google
|
|
718
724
|
include Google::Apis::Core::JsonObjectSupport
|
719
725
|
end
|
720
726
|
|
727
|
+
class SecurityPostureConfig
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
729
|
+
|
730
|
+
include Google::Apis::Core::JsonObjectSupport
|
731
|
+
end
|
732
|
+
|
721
733
|
class ServerConfig
|
722
734
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
735
|
|
@@ -934,11 +946,19 @@ module Google
|
|
934
946
|
include Google::Apis::Core::JsonObjectSupport
|
935
947
|
end
|
936
948
|
|
949
|
+
class WorkloadPolicyConfig
|
950
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
951
|
+
|
952
|
+
include Google::Apis::Core::JsonObjectSupport
|
953
|
+
end
|
954
|
+
|
937
955
|
class AcceleratorConfig
|
938
956
|
# @private
|
939
957
|
class Representation < Google::Apis::Core::JsonRepresentation
|
940
958
|
property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
|
941
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
|
+
|
942
962
|
property :gpu_partition_size, as: 'gpuPartitionSize'
|
943
963
|
property :gpu_sharing_config, as: 'gpuSharingConfig', class: Google::Apis::ContainerV1::GpuSharingConfig, decorator: Google::Apis::ContainerV1::GpuSharingConfig::Representation
|
944
964
|
|
@@ -1005,6 +1025,8 @@ module Google
|
|
1005
1025
|
# @private
|
1006
1026
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1007
1027
|
property :enabled, as: 'enabled'
|
1028
|
+
property :workload_policy_config, as: 'workloadPolicyConfig', class: Google::Apis::ContainerV1::WorkloadPolicyConfig, decorator: Google::Apis::ContainerV1::WorkloadPolicyConfig::Representation
|
1029
|
+
|
1008
1030
|
end
|
1009
1031
|
end
|
1010
1032
|
|
@@ -1213,6 +1235,8 @@ module Google
|
|
1213
1235
|
hash :resource_labels, as: 'resourceLabels'
|
1214
1236
|
property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
|
1215
1237
|
|
1238
|
+
property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::ContainerV1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1::SecurityPostureConfig::Representation
|
1239
|
+
|
1216
1240
|
property :self_link, as: 'selfLink'
|
1217
1241
|
property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
|
1218
1242
|
property :shielded_nodes, as: 'shieldedNodes', class: Google::Apis::ContainerV1::ShieldedNodes, decorator: Google::Apis::ContainerV1::ShieldedNodes::Representation
|
@@ -1251,6 +1275,8 @@ module Google
|
|
1251
1275
|
|
1252
1276
|
property :desired_authenticator_groups_config, as: 'desiredAuthenticatorGroupsConfig', class: Google::Apis::ContainerV1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1::AuthenticatorGroupsConfig::Representation
|
1253
1277
|
|
1278
|
+
property :desired_autopilot_workload_policy_config, as: 'desiredAutopilotWorkloadPolicyConfig', class: Google::Apis::ContainerV1::WorkloadPolicyConfig, decorator: Google::Apis::ContainerV1::WorkloadPolicyConfig::Representation
|
1279
|
+
|
1254
1280
|
property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
|
1255
1281
|
|
1256
1282
|
property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
|
@@ -1310,6 +1336,8 @@ module Google
|
|
1310
1336
|
|
1311
1337
|
property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
|
1312
1338
|
|
1339
|
+
property :desired_security_posture_config, as: 'desiredSecurityPostureConfig', class: Google::Apis::ContainerV1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1::SecurityPostureConfig::Representation
|
1340
|
+
|
1313
1341
|
property :desired_service_external_ips_config, as: 'desiredServiceExternalIpsConfig', class: Google::Apis::ContainerV1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1::ServiceExternalIPsConfig::Representation
|
1314
1342
|
|
1315
1343
|
property :desired_shielded_nodes, as: 'desiredShieldedNodes', class: Google::Apis::ContainerV1::ShieldedNodes, decorator: Google::Apis::ContainerV1::ShieldedNodes::Representation
|
@@ -1469,6 +1497,13 @@ module Google
|
|
1469
1497
|
end
|
1470
1498
|
end
|
1471
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
|
+
|
1472
1507
|
class GpuSharingConfig
|
1473
1508
|
# @private
|
1474
1509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2260,6 +2295,14 @@ module Google
|
|
2260
2295
|
end
|
2261
2296
|
end
|
2262
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
|
+
|
2263
2306
|
class ServerConfig
|
2264
2307
|
# @private
|
2265
2308
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2659,6 +2702,13 @@ module Google
|
|
2659
2702
|
property :mode, as: 'mode'
|
2660
2703
|
end
|
2661
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
|
2662
2712
|
end
|
2663
2713
|
end
|
2664
2714
|
end
|
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-06-
|
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: []
|