google-apis-container_v1 0.18.0 → 0.22.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: 82096434803c2026cd50a63c809f669ae325c5326dbd082e20e82ec5b7f95f98
4
- data.tar.gz: 6308268b94e51c58484307b5127b7111dc36891e6174d02dbc6df3cd89ed206b
3
+ metadata.gz: 67abcaa77ef5d9c7be7cbb67e84cdea5a32f411b4b2eef3cd468c66f5dfa60f9
4
+ data.tar.gz: de82a99c7c061db633c8b3d902311315bab235fcd0140c1b2a2d998cb1c57b20
5
5
  SHA512:
6
- metadata.gz: 2dc7ef6a8ed3632f7c1f1aa5c950066dfbc9cfd1d1ba98103c48f8d4640d5bc039b5cb0de279bd7ceab33711e3e732f08356ce54ab828863075d4dc4c65f5408
7
- data.tar.gz: e54c95a28465dc003173b2e81fdfa8dca7396a9adf3d65b71ba82c63a5b8b985a7d23d7226ba70d2672694e712fc30fad0c6741c78e277a035453d2212534458
6
+ metadata.gz: d9cc537aa5142e28a5393f47db8fa80551d971781f81e22d2b3569d8a26bf955ff7e1bf62cf060e9ba51f5b24cbf36cef2e605764596161bf53350c2b2a8b52a
7
+ data.tar.gz: a7be5983c459368aa15c55e4135b8a06c246952042a7b90688a68fcf3958194c82aa4eabd97373e9183d0b76854806471d9ead4a931a5f9a3d16f54a6305a9f6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.22.0 (2022-02-01)
4
+
5
+ * Regenerated from discovery document revision 20220114
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.21.0 (2021-12-16)
9
+
10
+ * Regenerated from discovery document revision 20211203
11
+
12
+ ### v0.20.0 (2021-10-28)
13
+
14
+ * Regenerated from discovery document revision 20211014
15
+
16
+ ### v0.19.0 (2021-10-26)
17
+
18
+ * Regenerated from discovery document revision 20211008
19
+ * Unspecified changes
20
+
3
21
  ### v0.18.0 (2021-10-02)
4
22
 
5
23
  * Regenerated from discovery document revision 20210914
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/container_v1"
51
51
  client = Google::Apis::ContainerV1::ContainerService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Container service in particular.)
67
67
 
@@ -129,6 +129,27 @@ module Google
129
129
  end
130
130
  end
131
131
 
132
+ # Specifies options for controlling advanced machine features.
133
+ class AdvancedMachineFeatures
134
+ include Google::Apis::Core::Hashable
135
+
136
+ # The number of threads per physical core. To disable simultaneous
137
+ # multithreading (SMT) set this to 1. If unset, the maximum number of threads
138
+ # supported per core by the underlying processor is assumed.
139
+ # Corresponds to the JSON property `threadsPerCore`
140
+ # @return [Fixnum]
141
+ attr_accessor :threads_per_core
142
+
143
+ def initialize(**args)
144
+ update!(**args)
145
+ end
146
+
147
+ # Update properties of this object
148
+ def update!(**args)
149
+ @threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
150
+ end
151
+ end
152
+
132
153
  # Configuration for returning group information from authenticators.
133
154
  class AuthenticatorGroupsConfig
134
155
  include Google::Apis::Core::Hashable
@@ -747,6 +768,11 @@ module Google
747
768
  # @return [Fixnum]
748
769
  attr_accessor :node_ipv4_cidr_size
749
770
 
771
+ # Subset of Nodepool message that has defaults.
772
+ # Corresponds to the JSON property `nodePoolDefaults`
773
+ # @return [Google::Apis::ContainerV1::NodePoolDefaults]
774
+ attr_accessor :node_pool_defaults
775
+
750
776
  # The node pools associated with this cluster. This field should not be set if "
751
777
  # node_config" or "initial_node_count" are specified.
752
778
  # Corresponds to the JSON property `nodePools`
@@ -891,6 +917,7 @@ module Google
891
917
  @network_policy = args[:network_policy] if args.key?(:network_policy)
892
918
  @node_config = args[:node_config] if args.key?(:node_config)
893
919
  @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
920
+ @node_pool_defaults = args[:node_pool_defaults] if args.key?(:node_pool_defaults)
894
921
  @node_pools = args[:node_pools] if args.key?(:node_pools)
895
922
  @notification_config = args[:notification_config] if args.key?(:notification_config)
896
923
  @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
@@ -975,11 +1002,6 @@ module Google
975
1002
  # @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
976
1003
  attr_accessor :desired_authenticator_groups_config
977
1004
 
978
- # Autopilot is the configuration for Autopilot settings on the cluster.
979
- # Corresponds to the JSON property `desiredAutopilot`
980
- # @return [Google::Apis::ContainerV1::Autopilot]
981
- attr_accessor :desired_autopilot
982
-
983
1005
  # Configuration for Binary Authorization.
984
1006
  # Corresponds to the JSON property `desiredBinaryAuthorization`
985
1007
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
@@ -1008,6 +1030,17 @@ module Google
1008
1030
  # @return [Google::Apis::ContainerV1::DefaultSnatStatus]
1009
1031
  attr_accessor :desired_default_snat_status
1010
1032
 
1033
+ # DNSConfig contains the desired set of options for configuring clusterDNS.
1034
+ # Corresponds to the JSON property `desiredDnsConfig`
1035
+ # @return [Google::Apis::ContainerV1::DnsConfig]
1036
+ attr_accessor :desired_dns_config
1037
+
1038
+ # GcfsConfig contains configurations of Google Container File System (image
1039
+ # streaming).
1040
+ # Corresponds to the JSON property `desiredGcfsConfig`
1041
+ # @return [Google::Apis::ContainerV1::GcfsConfig]
1042
+ attr_accessor :desired_gcfs_config
1043
+
1011
1044
  # The desired image type for the node pool. NOTE: Set the "desired_node_pool"
1012
1045
  # field as well.
1013
1046
  # Corresponds to the JSON property `desiredImageType`
@@ -1143,6 +1176,11 @@ module Google
1143
1176
  # @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
1144
1177
  attr_accessor :desired_resource_usage_export_config
1145
1178
 
1179
+ # Config to block services with externalIPs field.
1180
+ # Corresponds to the JSON property `desiredServiceExternalIpsConfig`
1181
+ # @return [Google::Apis::ContainerV1::ServiceExternalIPsConfig]
1182
+ attr_accessor :desired_service_external_ips_config
1183
+
1146
1184
  # Configuration of Shielded Nodes feature.
1147
1185
  # Corresponds to the JSON property `desiredShieldedNodes`
1148
1186
  # @return [Google::Apis::ContainerV1::ShieldedNodes]
@@ -1168,12 +1206,13 @@ module Google
1168
1206
  def update!(**args)
1169
1207
  @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
1170
1208
  @desired_authenticator_groups_config = args[:desired_authenticator_groups_config] if args.key?(:desired_authenticator_groups_config)
1171
- @desired_autopilot = args[:desired_autopilot] if args.key?(:desired_autopilot)
1172
1209
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
1173
1210
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1174
1211
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
1175
1212
  @desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
1176
1213
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1214
+ @desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
1215
+ @desired_gcfs_config = args[:desired_gcfs_config] if args.key?(:desired_gcfs_config)
1177
1216
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1178
1217
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1179
1218
  @desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
@@ -1193,6 +1232,7 @@ module Google
1193
1232
  @desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
1194
1233
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
1195
1234
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
1235
+ @desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
1196
1236
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
1197
1237
  @desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
1198
1238
  @desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
@@ -1209,7 +1249,7 @@ module Google
1209
1249
  # @return [String]
1210
1250
  attr_accessor :cluster_id
1211
1251
 
1212
- # The name (project, location, cluster id) of the cluster to complete IP
1252
+ # The name (project, location, cluster name) of the cluster to complete IP
1213
1253
  # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
1214
1254
  # Corresponds to the JSON property `name`
1215
1255
  # @return [String]
@@ -1247,7 +1287,7 @@ module Google
1247
1287
  class ConfidentialNodes
1248
1288
  include Google::Apis::Core::Hashable
1249
1289
 
1250
- # Whether Confidential Nodes feature is enabled for all nodes in this cluster.
1290
+ # Whether Confidential Nodes feature is enabled.
1251
1291
  # Corresponds to the JSON property `enabled`
1252
1292
  # @return [Boolean]
1253
1293
  attr_accessor :enabled
@@ -1366,8 +1406,8 @@ module Google
1366
1406
  # @return [Google::Apis::ContainerV1::NodePool]
1367
1407
  attr_accessor :node_pool
1368
1408
 
1369
- # The parent (project, location, cluster id) where the node pool will be created.
1370
- # Specified in the format `projects/*/locations/*/clusters/*`.
1409
+ # The parent (project, location, cluster name) where the node pool will be
1410
+ # created. Specified in the format `projects/*/locations/*/clusters/*`.
1371
1411
  # Corresponds to the JSON property `parent`
1372
1412
  # @return [String]
1373
1413
  attr_accessor :parent
@@ -1400,6 +1440,37 @@ module Google
1400
1440
  end
1401
1441
  end
1402
1442
 
1443
+ # DNSConfig contains the desired set of options for configuring clusterDNS.
1444
+ class DnsConfig
1445
+ include Google::Apis::Core::Hashable
1446
+
1447
+ # cluster_dns indicates which in-cluster DNS provider should be used.
1448
+ # Corresponds to the JSON property `clusterDns`
1449
+ # @return [String]
1450
+ attr_accessor :cluster_dns
1451
+
1452
+ # cluster_dns_domain is the suffix used for all cluster service records.
1453
+ # Corresponds to the JSON property `clusterDnsDomain`
1454
+ # @return [String]
1455
+ attr_accessor :cluster_dns_domain
1456
+
1457
+ # cluster_dns_scope indicates the scope of access to cluster DNS records.
1458
+ # Corresponds to the JSON property `clusterDnsScope`
1459
+ # @return [String]
1460
+ attr_accessor :cluster_dns_scope
1461
+
1462
+ def initialize(**args)
1463
+ update!(**args)
1464
+ end
1465
+
1466
+ # Update properties of this object
1467
+ def update!(**args)
1468
+ @cluster_dns = args[:cluster_dns] if args.key?(:cluster_dns)
1469
+ @cluster_dns_domain = args[:cluster_dns_domain] if args.key?(:cluster_dns_domain)
1470
+ @cluster_dns_scope = args[:cluster_dns_scope] if args.key?(:cluster_dns_scope)
1471
+ end
1472
+ end
1473
+
1403
1474
  # Time window specified for daily maintenance operations.
1404
1475
  class DailyMaintenanceWindow
1405
1476
  include Google::Apis::Core::Hashable
@@ -1513,6 +1584,28 @@ module Google
1513
1584
  end
1514
1585
  end
1515
1586
 
1587
+ # Allows filtering to one or more specific event types. If event types are
1588
+ # present, those and only those event types will be transmitted to the cluster.
1589
+ # Other types will be skipped. If no filter is specified, or no event types are
1590
+ # present, all event types will be sent
1591
+ class Filter
1592
+ include Google::Apis::Core::Hashable
1593
+
1594
+ # Event types to allowlist.
1595
+ # Corresponds to the JSON property `eventType`
1596
+ # @return [Array<String>]
1597
+ attr_accessor :event_type
1598
+
1599
+ def initialize(**args)
1600
+ update!(**args)
1601
+ end
1602
+
1603
+ # Update properties of this object
1604
+ def update!(**args)
1605
+ @event_type = args[:event_type] if args.key?(:event_type)
1606
+ end
1607
+ end
1608
+
1516
1609
  # Configuration for the Compute Engine PD CSI driver.
1517
1610
  class GcePersistentDiskCsiDriverConfig
1518
1611
  include Google::Apis::Core::Hashable
@@ -1533,6 +1626,27 @@ module Google
1533
1626
  end
1534
1627
  end
1535
1628
 
1629
+ # GcfsConfig contains configurations of Google Container File System (image
1630
+ # streaming).
1631
+ class GcfsConfig
1632
+ include Google::Apis::Core::Hashable
1633
+
1634
+ # Whether to use GCFS.
1635
+ # Corresponds to the JSON property `enabled`
1636
+ # @return [Boolean]
1637
+ attr_accessor :enabled
1638
+ alias_method :enabled?, :enabled
1639
+
1640
+ def initialize(**args)
1641
+ update!(**args)
1642
+ end
1643
+
1644
+ # Update properties of this object
1645
+ def update!(**args)
1646
+ @enabled = args[:enabled] if args.key?(:enabled)
1647
+ end
1648
+ end
1649
+
1536
1650
  # Configuration for the GCP Filestore CSI driver.
1537
1651
  class GcpFilestoreCsiDriverConfig
1538
1652
  include Google::Apis::Core::Hashable
@@ -2162,6 +2276,25 @@ module Google
2162
2276
  end
2163
2277
  end
2164
2278
 
2279
+ # Represents the Maintenance exclusion option.
2280
+ class MaintenanceExclusionOptions
2281
+ include Google::Apis::Core::Hashable
2282
+
2283
+ # Scope specifies the upgrade scope which upgrades are blocked by the exclusion.
2284
+ # Corresponds to the JSON property `scope`
2285
+ # @return [String]
2286
+ attr_accessor :scope
2287
+
2288
+ def initialize(**args)
2289
+ update!(**args)
2290
+ end
2291
+
2292
+ # Update properties of this object
2293
+ def update!(**args)
2294
+ @scope = args[:scope] if args.key?(:scope)
2295
+ end
2296
+ end
2297
+
2165
2298
  # MaintenancePolicy defines the maintenance policy to be used for the cluster.
2166
2299
  class MaintenancePolicy
2167
2300
  include Google::Apis::Core::Hashable
@@ -2341,12 +2474,23 @@ module Google
2341
2474
  class MeshCertificates
2342
2475
  include Google::Apis::Core::Hashable
2343
2476
 
2477
+ # enable_certificates controls issuance of workload mTLS certificates. If set,
2478
+ # the GKE Workload Identity Certificates controller and node agent will be
2479
+ # deployed in the cluster, which can then be configured by creating a
2480
+ # WorkloadCertificateConfig Custom Resource. Requires Workload Identity (
2481
+ # workload_pool must be non-empty).
2482
+ # Corresponds to the JSON property `enableCertificates`
2483
+ # @return [Boolean]
2484
+ attr_accessor :enable_certificates
2485
+ alias_method :enable_certificates?, :enable_certificates
2486
+
2344
2487
  def initialize(**args)
2345
2488
  update!(**args)
2346
2489
  end
2347
2490
 
2348
2491
  # Update properties of this object
2349
2492
  def update!(**args)
2493
+ @enable_certificates = args[:enable_certificates] if args.key?(:enable_certificates)
2350
2494
  end
2351
2495
  end
2352
2496
 
@@ -2442,6 +2586,11 @@ module Google
2442
2586
  # @return [Google::Apis::ContainerV1::DefaultSnatStatus]
2443
2587
  attr_accessor :default_snat_status
2444
2588
 
2589
+ # DNSConfig contains the desired set of options for configuring clusterDNS.
2590
+ # Corresponds to the JSON property `dnsConfig`
2591
+ # @return [Google::Apis::ContainerV1::DnsConfig]
2592
+ attr_accessor :dns_config
2593
+
2445
2594
  # Whether Intra-node visibility is enabled for this cluster. This makes same
2446
2595
  # node pod to pod traffic visible for VPC network.
2447
2596
  # Corresponds to the JSON property `enableIntraNodeVisibility`
@@ -2468,6 +2617,11 @@ module Google
2468
2617
  # @return [String]
2469
2618
  attr_accessor :private_ipv6_google_access
2470
2619
 
2620
+ # Config to block services with externalIPs field.
2621
+ # Corresponds to the JSON property `serviceExternalIpsConfig`
2622
+ # @return [Google::Apis::ContainerV1::ServiceExternalIPsConfig]
2623
+ attr_accessor :service_external_ips_config
2624
+
2471
2625
  # Output only. The relative name of the Google Compute Engine [subnetwork](https:
2472
2626
  # //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
2473
2627
  # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
@@ -2483,10 +2637,12 @@ module Google
2483
2637
  def update!(**args)
2484
2638
  @datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
2485
2639
  @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
2640
+ @dns_config = args[:dns_config] if args.key?(:dns_config)
2486
2641
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
2487
2642
  @enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
2488
2643
  @network = args[:network] if args.key?(:network)
2489
2644
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
2645
+ @service_external_ips_config = args[:service_external_ips_config] if args.key?(:service_external_ips_config)
2490
2646
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
2491
2647
  end
2492
2648
  end
@@ -2550,6 +2706,11 @@ module Google
2550
2706
  # @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
2551
2707
  attr_accessor :accelerators
2552
2708
 
2709
+ # Specifies options for controlling advanced machine features.
2710
+ # Corresponds to the JSON property `advancedMachineFeatures`
2711
+ # @return [Google::Apis::ContainerV1::AdvancedMachineFeatures]
2712
+ attr_accessor :advanced_machine_features
2713
+
2553
2714
  # The Customer Managed Encryption Key used to encrypt the boot disk attached to
2554
2715
  # each node in the node pool. This should be of the form projects/[
2555
2716
  # KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
@@ -2571,6 +2732,12 @@ module Google
2571
2732
  # @return [String]
2572
2733
  attr_accessor :disk_type
2573
2734
 
2735
+ # GcfsConfig contains configurations of Google Container File System (image
2736
+ # streaming).
2737
+ # Corresponds to the JSON property `gcfsConfig`
2738
+ # @return [Google::Apis::ContainerV1::GcfsConfig]
2739
+ attr_accessor :gcfs_config
2740
+
2574
2741
  # Configuration of gVNIC feature.
2575
2742
  # Corresponds to the JSON property `gvnic`
2576
2743
  # @return [Google::Apis::ContainerV1::VirtualNic]
@@ -2726,9 +2893,11 @@ module Google
2726
2893
  # Update properties of this object
2727
2894
  def update!(**args)
2728
2895
  @accelerators = args[:accelerators] if args.key?(:accelerators)
2896
+ @advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
2729
2897
  @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
2730
2898
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2731
2899
  @disk_type = args[:disk_type] if args.key?(:disk_type)
2900
+ @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
2732
2901
  @gvnic = args[:gvnic] if args.key?(:gvnic)
2733
2902
  @image_type = args[:image_type] if args.key?(:image_type)
2734
2903
  @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
@@ -2751,6 +2920,26 @@ module Google
2751
2920
  end
2752
2921
  end
2753
2922
 
2923
+ # Subset of NodeConfig message that has defaults.
2924
+ class NodeConfigDefaults
2925
+ include Google::Apis::Core::Hashable
2926
+
2927
+ # GcfsConfig contains configurations of Google Container File System (image
2928
+ # streaming).
2929
+ # Corresponds to the JSON property `gcfsConfig`
2930
+ # @return [Google::Apis::ContainerV1::GcfsConfig]
2931
+ attr_accessor :gcfs_config
2932
+
2933
+ def initialize(**args)
2934
+ update!(**args)
2935
+ end
2936
+
2937
+ # Update properties of this object
2938
+ def update!(**args)
2939
+ @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
2940
+ end
2941
+ end
2942
+
2754
2943
  # Node kubelet configs.
2755
2944
  class NodeKubeletConfig
2756
2945
  include Google::Apis::Core::Hashable
@@ -2777,8 +2966,8 @@ module Google
2777
2966
 
2778
2967
  # Control the CPU management policy on the node. See https://kubernetes.io/docs/
2779
2968
  # tasks/administer-cluster/cpu-management-policies/ The following values are
2780
- # allowed. - "none": the default, which represents the existing scheduling
2781
- # behavior. - "static": allows pods with certain resource characteristics to be
2969
+ # allowed. * "none": the default, which represents the existing scheduling
2970
+ # behavior. * "static": allows pods with certain resource characteristics to be
2782
2971
  # granted increased CPU affinity and exclusivity on the node. The default value
2783
2972
  # is 'none' if unspecified.
2784
2973
  # Corresponds to the JSON property `cpuManagerPolicy`
@@ -3066,6 +3255,25 @@ module Google
3066
3255
  end
3067
3256
  end
3068
3257
 
3258
+ # Subset of Nodepool message that has defaults.
3259
+ class NodePoolDefaults
3260
+ include Google::Apis::Core::Hashable
3261
+
3262
+ # Subset of NodeConfig message that has defaults.
3263
+ # Corresponds to the JSON property `nodeConfigDefaults`
3264
+ # @return [Google::Apis::ContainerV1::NodeConfigDefaults]
3265
+ attr_accessor :node_config_defaults
3266
+
3267
+ def initialize(**args)
3268
+ update!(**args)
3269
+ end
3270
+
3271
+ # Update properties of this object
3272
+ def update!(**args)
3273
+ @node_config_defaults = args[:node_config_defaults] if args.key?(:node_config_defaults)
3274
+ end
3275
+ end
3276
+
3069
3277
  # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
3070
3278
  # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
3071
3279
  # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
@@ -3370,6 +3578,14 @@ module Google
3370
3578
  attr_accessor :enabled
3371
3579
  alias_method :enabled?, :enabled
3372
3580
 
3581
+ # Allows filtering to one or more specific event types. If event types are
3582
+ # present, those and only those event types will be transmitted to the cluster.
3583
+ # Other types will be skipped. If no filter is specified, or no event types are
3584
+ # present, all event types will be sent
3585
+ # Corresponds to the JSON property `filter`
3586
+ # @return [Google::Apis::ContainerV1::Filter]
3587
+ attr_accessor :filter
3588
+
3373
3589
  # The desired Pub/Sub topic to which notifications will be sent by GKE. Format
3374
3590
  # is `projects/`project`/topics/`topic``.
3375
3591
  # Corresponds to the JSON property `topic`
@@ -3383,6 +3599,7 @@ module Google
3383
3599
  # Update properties of this object
3384
3600
  def update!(**args)
3385
3601
  @enabled = args[:enabled] if args.key?(:enabled)
3602
+ @filter = args[:filter] if args.key?(:filter)
3386
3603
  @topic = args[:topic] if args.key?(:topic)
3387
3604
  end
3388
3605
  end
@@ -3651,6 +3868,89 @@ module Google
3651
3868
  end
3652
3869
  end
3653
3870
 
3871
+ # SecurityBulletinEvent is a notification sent to customers when a security
3872
+ # bulletin has been posted that they are vulnerable to.
3873
+ class SecurityBulletinEvent
3874
+ include Google::Apis::Core::Hashable
3875
+
3876
+ # The GKE minor versions affected by this vulnerability.
3877
+ # Corresponds to the JSON property `affectedSupportedMinors`
3878
+ # @return [Array<String>]
3879
+ attr_accessor :affected_supported_minors
3880
+
3881
+ # A brief description of the bulletin. See the bulletin pointed to by the
3882
+ # bulletin_uri field for an expanded description.
3883
+ # Corresponds to the JSON property `briefDescription`
3884
+ # @return [String]
3885
+ attr_accessor :brief_description
3886
+
3887
+ # The ID of the bulletin corresponding to the vulnerability.
3888
+ # Corresponds to the JSON property `bulletinId`
3889
+ # @return [String]
3890
+ attr_accessor :bulletin_id
3891
+
3892
+ # The URI link to the bulletin on the website for more information.
3893
+ # Corresponds to the JSON property `bulletinUri`
3894
+ # @return [String]
3895
+ attr_accessor :bulletin_uri
3896
+
3897
+ # The CVEs associated with this bulletin.
3898
+ # Corresponds to the JSON property `cveIds`
3899
+ # @return [Array<String>]
3900
+ attr_accessor :cve_ids
3901
+
3902
+ # If this field is specified, it means there are manual steps that the user must
3903
+ # take to make their clusters safe.
3904
+ # Corresponds to the JSON property `manualStepsRequired`
3905
+ # @return [Boolean]
3906
+ attr_accessor :manual_steps_required
3907
+ alias_method :manual_steps_required?, :manual_steps_required
3908
+
3909
+ # The GKE versions where this vulnerability is patched.
3910
+ # Corresponds to the JSON property `patchedVersions`
3911
+ # @return [Array<String>]
3912
+ attr_accessor :patched_versions
3913
+
3914
+ # The resource type (node/control plane) that has the vulnerability. Multiple
3915
+ # notifications (1 notification per resource type) will be sent for a
3916
+ # vulnerability that affects > 1 resource type.
3917
+ # Corresponds to the JSON property `resourceTypeAffected`
3918
+ # @return [String]
3919
+ attr_accessor :resource_type_affected
3920
+
3921
+ # The severity of this bulletin as it relates to GKE.
3922
+ # Corresponds to the JSON property `severity`
3923
+ # @return [String]
3924
+ attr_accessor :severity
3925
+
3926
+ # This represents a version selected from the patched_versions field that the
3927
+ # cluster receiving this notification should most likely want to upgrade to
3928
+ # based on its current version. Note that if this notification is being received
3929
+ # by a given cluster, it means that this version is currently available as an
3930
+ # upgrade target in that cluster's location.
3931
+ # Corresponds to the JSON property `suggestedUpgradeTarget`
3932
+ # @return [String]
3933
+ attr_accessor :suggested_upgrade_target
3934
+
3935
+ def initialize(**args)
3936
+ update!(**args)
3937
+ end
3938
+
3939
+ # Update properties of this object
3940
+ def update!(**args)
3941
+ @affected_supported_minors = args[:affected_supported_minors] if args.key?(:affected_supported_minors)
3942
+ @brief_description = args[:brief_description] if args.key?(:brief_description)
3943
+ @bulletin_id = args[:bulletin_id] if args.key?(:bulletin_id)
3944
+ @bulletin_uri = args[:bulletin_uri] if args.key?(:bulletin_uri)
3945
+ @cve_ids = args[:cve_ids] if args.key?(:cve_ids)
3946
+ @manual_steps_required = args[:manual_steps_required] if args.key?(:manual_steps_required)
3947
+ @patched_versions = args[:patched_versions] if args.key?(:patched_versions)
3948
+ @resource_type_affected = args[:resource_type_affected] if args.key?(:resource_type_affected)
3949
+ @severity = args[:severity] if args.key?(:severity)
3950
+ @suggested_upgrade_target = args[:suggested_upgrade_target] if args.key?(:suggested_upgrade_target)
3951
+ end
3952
+ end
3953
+
3654
3954
  # Kubernetes Engine service configuration.
3655
3955
  class ServerConfig
3656
3956
  include Google::Apis::Core::Hashable
@@ -3700,6 +4000,26 @@ module Google
3700
4000
  end
3701
4001
  end
3702
4002
 
4003
+ # Config to block services with externalIPs field.
4004
+ class ServiceExternalIPsConfig
4005
+ include Google::Apis::Core::Hashable
4006
+
4007
+ # Whether Services with ExternalIPs field are allowed or not.
4008
+ # Corresponds to the JSON property `enabled`
4009
+ # @return [Boolean]
4010
+ attr_accessor :enabled
4011
+ alias_method :enabled?, :enabled
4012
+
4013
+ def initialize(**args)
4014
+ update!(**args)
4015
+ end
4016
+
4017
+ # Update properties of this object
4018
+ def update!(**args)
4019
+ @enabled = args[:enabled] if args.key?(:enabled)
4020
+ end
4021
+ end
4022
+
3703
4023
  # SetAddonsConfigRequest sets the addons associated with the cluster.
3704
4024
  class SetAddonsConfigRequest
3705
4025
  include Google::Apis::Core::Hashable
@@ -3771,7 +4091,7 @@ module Google
3771
4091
  # @return [String]
3772
4092
  attr_accessor :label_fingerprint
3773
4093
 
3774
- # The name (project, location, cluster id) of the cluster to set labels.
4094
+ # The name (project, location, cluster name) of the cluster to set labels.
3775
4095
  # Specified in the format `projects/*/locations/*/clusters/*`.
3776
4096
  # Corresponds to the JSON property `name`
3777
4097
  # @return [String]
@@ -3828,7 +4148,7 @@ module Google
3828
4148
  attr_accessor :enabled
3829
4149
  alias_method :enabled?, :enabled
3830
4150
 
3831
- # The name (project, location, cluster id) of the cluster to set legacy abac.
4151
+ # The name (project, location, cluster name) of the cluster to set legacy abac.
3832
4152
  # Specified in the format `projects/*/locations/*/clusters/*`.
3833
4153
  # Corresponds to the JSON property `name`
3834
4154
  # @return [String]
@@ -3985,7 +4305,7 @@ module Google
3985
4305
  # @return [Google::Apis::ContainerV1::MaintenancePolicy]
3986
4306
  attr_accessor :maintenance_policy
3987
4307
 
3988
- # The name (project, location, cluster id) of the cluster to set maintenance
4308
+ # The name (project, location, cluster name) of the cluster to set maintenance
3989
4309
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
3990
4310
  # Corresponds to the JSON property `name`
3991
4311
  # @return [String]
@@ -4138,7 +4458,7 @@ module Google
4138
4458
  # @return [String]
4139
4459
  attr_accessor :cluster_id
4140
4460
 
4141
- # The name (project, location, cluster id) of the cluster to set networking
4461
+ # The name (project, location, cluster name) of the cluster to set networking
4142
4462
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
4143
4463
  # Corresponds to the JSON property `name`
4144
4464
  # @return [String]
@@ -4416,7 +4736,7 @@ module Google
4416
4736
  # @return [String]
4417
4737
  attr_accessor :cluster_id
4418
4738
 
4419
- # The name (project, location, cluster id) of the cluster to start IP rotation.
4739
+ # The name (project, location, cluster name) of the cluster to start IP rotation.
4420
4740
  # Specified in the format `projects/*/locations/*/clusters/*`.
4421
4741
  # Corresponds to the JSON property `name`
4422
4742
  # @return [String]
@@ -4538,6 +4858,11 @@ module Google
4538
4858
  # @return [String]
4539
4859
  attr_accessor :end_time
4540
4860
 
4861
+ # Represents the Maintenance exclusion option.
4862
+ # Corresponds to the JSON property `maintenanceExclusionOptions`
4863
+ # @return [Google::Apis::ContainerV1::MaintenanceExclusionOptions]
4864
+ attr_accessor :maintenance_exclusion_options
4865
+
4541
4866
  # The time that the window first starts.
4542
4867
  # Corresponds to the JSON property `startTime`
4543
4868
  # @return [String]
@@ -4550,6 +4875,7 @@ module Google
4550
4875
  # Update properties of this object
4551
4876
  def update!(**args)
4552
4877
  @end_time = args[:end_time] if args.key?(:end_time)
4878
+ @maintenance_exclusion_options = args[:maintenance_exclusion_options] if args.key?(:maintenance_exclusion_options)
4553
4879
  @start_time = args[:start_time] if args.key?(:start_time)
4554
4880
  end
4555
4881
  end
@@ -4669,6 +4995,12 @@ module Google
4669
4995
  # @return [String]
4670
4996
  attr_accessor :cluster_id
4671
4997
 
4998
+ # GcfsConfig contains configurations of Google Container File System (image
4999
+ # streaming).
5000
+ # Corresponds to the JSON property `gcfsConfig`
5001
+ # @return [Google::Apis::ContainerV1::GcfsConfig]
5002
+ attr_accessor :gcfs_config
5003
+
4672
5004
  # Configuration of gVNIC feature.
4673
5005
  # Corresponds to the JSON property `gvnic`
4674
5006
  # @return [Google::Apis::ContainerV1::VirtualNic]
@@ -4766,6 +5098,7 @@ module Google
4766
5098
  # Update properties of this object
4767
5099
  def update!(**args)
4768
5100
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
5101
+ @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
4769
5102
  @gvnic = args[:gvnic] if args.key?(:gvnic)
4770
5103
  @image_type = args[:image_type] if args.key?(:image_type)
4771
5104
  @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
@@ -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.18.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210914"
25
+ REVISION = "20220114"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class AdvancedMachineFeatures
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class AuthenticatorGroupsConfig
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -148,6 +154,12 @@ module Google
148
154
  include Google::Apis::Core::JsonObjectSupport
149
155
  end
150
156
 
157
+ class DnsConfig
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
151
163
  class DailyMaintenanceWindow
152
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
165
 
@@ -178,12 +190,24 @@ module Google
178
190
  include Google::Apis::Core::JsonObjectSupport
179
191
  end
180
192
 
193
+ class Filter
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
181
199
  class GcePersistentDiskCsiDriverConfig
182
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
201
 
184
202
  include Google::Apis::Core::JsonObjectSupport
185
203
  end
186
204
 
205
+ class GcfsConfig
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
187
211
  class GcpFilestoreCsiDriverConfig
188
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
213
 
@@ -298,6 +322,12 @@ module Google
298
322
  include Google::Apis::Core::JsonObjectSupport
299
323
  end
300
324
 
325
+ class MaintenanceExclusionOptions
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
301
331
  class MaintenancePolicy
302
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
333
 
@@ -376,6 +406,12 @@ module Google
376
406
  include Google::Apis::Core::JsonObjectSupport
377
407
  end
378
408
 
409
+ class NodeConfigDefaults
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
379
415
  class NodeKubeletConfig
380
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
417
 
@@ -406,6 +442,12 @@ module Google
406
442
  include Google::Apis::Core::JsonObjectSupport
407
443
  end
408
444
 
445
+ class NodePoolDefaults
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
409
451
  class NodeTaint
410
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
453
 
@@ -496,12 +538,24 @@ module Google
496
538
  include Google::Apis::Core::JsonObjectSupport
497
539
  end
498
540
 
541
+ class SecurityBulletinEvent
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
499
547
  class ServerConfig
500
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
549
 
502
550
  include Google::Apis::Core::JsonObjectSupport
503
551
  end
504
552
 
553
+ class ServiceExternalIPsConfig
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
505
559
  class SetAddonsConfigRequest
506
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
561
 
@@ -715,6 +769,13 @@ module Google
715
769
  end
716
770
  end
717
771
 
772
+ class AdvancedMachineFeatures
773
+ # @private
774
+ class Representation < Google::Apis::Core::JsonRepresentation
775
+ property :threads_per_core, :numeric_string => true, as: 'threadsPerCore'
776
+ end
777
+ end
778
+
718
779
  class AuthenticatorGroupsConfig
719
780
  # @private
720
781
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -869,6 +930,8 @@ module Google
869
930
  property :node_config, as: 'nodeConfig', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation
870
931
 
871
932
  property :node_ipv4_cidr_size, as: 'nodeIpv4CidrSize'
933
+ property :node_pool_defaults, as: 'nodePoolDefaults', class: Google::Apis::ContainerV1::NodePoolDefaults, decorator: Google::Apis::ContainerV1::NodePoolDefaults::Representation
934
+
872
935
  collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
873
936
 
874
937
  property :notification_config, as: 'notificationConfig', class: Google::Apis::ContainerV1::NotificationConfig, decorator: Google::Apis::ContainerV1::NotificationConfig::Representation
@@ -916,8 +979,6 @@ module Google
916
979
 
917
980
  property :desired_authenticator_groups_config, as: 'desiredAuthenticatorGroupsConfig', class: Google::Apis::ContainerV1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1::AuthenticatorGroupsConfig::Representation
918
981
 
919
- property :desired_autopilot, as: 'desiredAutopilot', class: Google::Apis::ContainerV1::Autopilot, decorator: Google::Apis::ContainerV1::Autopilot::Representation
920
-
921
982
  property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
922
983
 
923
984
  property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
@@ -927,6 +988,10 @@ module Google
927
988
  property :desired_datapath_provider, as: 'desiredDatapathProvider'
928
989
  property :desired_default_snat_status, as: 'desiredDefaultSnatStatus', class: Google::Apis::ContainerV1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1::DefaultSnatStatus::Representation
929
990
 
991
+ property :desired_dns_config, as: 'desiredDnsConfig', class: Google::Apis::ContainerV1::DnsConfig, decorator: Google::Apis::ContainerV1::DnsConfig::Representation
992
+
993
+ property :desired_gcfs_config, as: 'desiredGcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
994
+
930
995
  property :desired_image_type, as: 'desiredImageType'
931
996
  property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1::IntraNodeVisibilityConfig::Representation
932
997
 
@@ -957,6 +1022,8 @@ module Google
957
1022
 
958
1023
  property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
959
1024
 
1025
+ property :desired_service_external_ips_config, as: 'desiredServiceExternalIpsConfig', class: Google::Apis::ContainerV1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1::ServiceExternalIPsConfig::Representation
1026
+
960
1027
  property :desired_shielded_nodes, as: 'desiredShieldedNodes', class: Google::Apis::ContainerV1::ShieldedNodes, decorator: Google::Apis::ContainerV1::ShieldedNodes::Representation
961
1028
 
962
1029
  property :desired_vertical_pod_autoscaling, as: 'desiredVerticalPodAutoscaling', class: Google::Apis::ContainerV1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1::VerticalPodAutoscaling::Representation
@@ -1020,6 +1087,15 @@ module Google
1020
1087
  end
1021
1088
  end
1022
1089
 
1090
+ class DnsConfig
1091
+ # @private
1092
+ class Representation < Google::Apis::Core::JsonRepresentation
1093
+ property :cluster_dns, as: 'clusterDns'
1094
+ property :cluster_dns_domain, as: 'clusterDnsDomain'
1095
+ property :cluster_dns_scope, as: 'clusterDnsScope'
1096
+ end
1097
+ end
1098
+
1023
1099
  class DailyMaintenanceWindow
1024
1100
  # @private
1025
1101
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1056,6 +1132,13 @@ module Google
1056
1132
  end
1057
1133
  end
1058
1134
 
1135
+ class Filter
1136
+ # @private
1137
+ class Representation < Google::Apis::Core::JsonRepresentation
1138
+ collection :event_type, as: 'eventType'
1139
+ end
1140
+ end
1141
+
1059
1142
  class GcePersistentDiskCsiDriverConfig
1060
1143
  # @private
1061
1144
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1063,6 +1146,13 @@ module Google
1063
1146
  end
1064
1147
  end
1065
1148
 
1149
+ class GcfsConfig
1150
+ # @private
1151
+ class Representation < Google::Apis::Core::JsonRepresentation
1152
+ property :enabled, as: 'enabled'
1153
+ end
1154
+ end
1155
+
1066
1156
  class GcpFilestoreCsiDriverConfig
1067
1157
  # @private
1068
1158
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1237,6 +1327,13 @@ module Google
1237
1327
  end
1238
1328
  end
1239
1329
 
1330
+ class MaintenanceExclusionOptions
1331
+ # @private
1332
+ class Representation < Google::Apis::Core::JsonRepresentation
1333
+ property :scope, as: 'scope'
1334
+ end
1335
+ end
1336
+
1240
1337
  class MaintenancePolicy
1241
1338
  # @private
1242
1339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1290,6 +1387,7 @@ module Google
1290
1387
  class MeshCertificates
1291
1388
  # @private
1292
1389
  class Representation < Google::Apis::Core::JsonRepresentation
1390
+ property :enable_certificates, as: 'enableCertificates'
1293
1391
  end
1294
1392
  end
1295
1393
 
@@ -1324,10 +1422,14 @@ module Google
1324
1422
  property :datapath_provider, as: 'datapathProvider'
1325
1423
  property :default_snat_status, as: 'defaultSnatStatus', class: Google::Apis::ContainerV1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1::DefaultSnatStatus::Representation
1326
1424
 
1425
+ property :dns_config, as: 'dnsConfig', class: Google::Apis::ContainerV1::DnsConfig, decorator: Google::Apis::ContainerV1::DnsConfig::Representation
1426
+
1327
1427
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
1328
1428
  property :enable_l4ilb_subsetting, as: 'enableL4ilbSubsetting'
1329
1429
  property :network, as: 'network'
1330
1430
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
1431
+ property :service_external_ips_config, as: 'serviceExternalIpsConfig', class: Google::Apis::ContainerV1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1::ServiceExternalIPsConfig::Representation
1432
+
1331
1433
  property :subnetwork, as: 'subnetwork'
1332
1434
  end
1333
1435
  end
@@ -1352,9 +1454,13 @@ module Google
1352
1454
  class Representation < Google::Apis::Core::JsonRepresentation
1353
1455
  collection :accelerators, as: 'accelerators', class: Google::Apis::ContainerV1::AcceleratorConfig, decorator: Google::Apis::ContainerV1::AcceleratorConfig::Representation
1354
1456
 
1457
+ property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::ContainerV1::AdvancedMachineFeatures, decorator: Google::Apis::ContainerV1::AdvancedMachineFeatures::Representation
1458
+
1355
1459
  property :boot_disk_kms_key, as: 'bootDiskKmsKey'
1356
1460
  property :disk_size_gb, as: 'diskSizeGb'
1357
1461
  property :disk_type, as: 'diskType'
1462
+ property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
1463
+
1358
1464
  property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
1359
1465
 
1360
1466
  property :image_type, as: 'imageType'
@@ -1385,6 +1491,14 @@ module Google
1385
1491
  end
1386
1492
  end
1387
1493
 
1494
+ class NodeConfigDefaults
1495
+ # @private
1496
+ class Representation < Google::Apis::Core::JsonRepresentation
1497
+ property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
1498
+
1499
+ end
1500
+ end
1501
+
1388
1502
  class NodeKubeletConfig
1389
1503
  # @private
1390
1504
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1452,6 +1566,14 @@ module Google
1452
1566
  end
1453
1567
  end
1454
1568
 
1569
+ class NodePoolDefaults
1570
+ # @private
1571
+ class Representation < Google::Apis::Core::JsonRepresentation
1572
+ property :node_config_defaults, as: 'nodeConfigDefaults', class: Google::Apis::ContainerV1::NodeConfigDefaults, decorator: Google::Apis::ContainerV1::NodeConfigDefaults::Representation
1573
+
1574
+ end
1575
+ end
1576
+
1455
1577
  class NodeTaint
1456
1578
  # @private
1457
1579
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1531,6 +1653,8 @@ module Google
1531
1653
  # @private
1532
1654
  class Representation < Google::Apis::Core::JsonRepresentation
1533
1655
  property :enabled, as: 'enabled'
1656
+ property :filter, as: 'filter', class: Google::Apis::ContainerV1::Filter, decorator: Google::Apis::ContainerV1::Filter::Representation
1657
+
1534
1658
  property :topic, as: 'topic'
1535
1659
  end
1536
1660
  end
@@ -1607,6 +1731,22 @@ module Google
1607
1731
  end
1608
1732
  end
1609
1733
 
1734
+ class SecurityBulletinEvent
1735
+ # @private
1736
+ class Representation < Google::Apis::Core::JsonRepresentation
1737
+ collection :affected_supported_minors, as: 'affectedSupportedMinors'
1738
+ property :brief_description, as: 'briefDescription'
1739
+ property :bulletin_id, as: 'bulletinId'
1740
+ property :bulletin_uri, as: 'bulletinUri'
1741
+ collection :cve_ids, as: 'cveIds'
1742
+ property :manual_steps_required, as: 'manualStepsRequired'
1743
+ collection :patched_versions, as: 'patchedVersions'
1744
+ property :resource_type_affected, as: 'resourceTypeAffected'
1745
+ property :severity, as: 'severity'
1746
+ property :suggested_upgrade_target, as: 'suggestedUpgradeTarget'
1747
+ end
1748
+ end
1749
+
1610
1750
  class ServerConfig
1611
1751
  # @private
1612
1752
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1620,6 +1760,13 @@ module Google
1620
1760
  end
1621
1761
  end
1622
1762
 
1763
+ class ServiceExternalIPsConfig
1764
+ # @private
1765
+ class Representation < Google::Apis::Core::JsonRepresentation
1766
+ property :enabled, as: 'enabled'
1767
+ end
1768
+ end
1769
+
1623
1770
  class SetAddonsConfigRequest
1624
1771
  # @private
1625
1772
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1811,6 +1958,8 @@ module Google
1811
1958
  # @private
1812
1959
  class Representation < Google::Apis::Core::JsonRepresentation
1813
1960
  property :end_time, as: 'endTime'
1961
+ property :maintenance_exclusion_options, as: 'maintenanceExclusionOptions', class: Google::Apis::ContainerV1::MaintenanceExclusionOptions, decorator: Google::Apis::ContainerV1::MaintenanceExclusionOptions::Representation
1962
+
1814
1963
  property :start_time, as: 'startTime'
1815
1964
  end
1816
1965
  end
@@ -1842,6 +1991,8 @@ module Google
1842
1991
  # @private
1843
1992
  class Representation < Google::Apis::Core::JsonRepresentation
1844
1993
  property :cluster_id, as: 'clusterId'
1994
+ property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
1995
+
1845
1996
  property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
1846
1997
 
1847
1998
  property :image_type, as: 'imageType'
@@ -140,7 +140,7 @@ module Google
140
140
 
141
141
  # Completes master IP rotation.
142
142
  # @param [String] name
143
- # The name (project, location, cluster id) of the cluster to complete IP
143
+ # The name (project, location, cluster name) of the cluster to complete IP
144
144
  # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
145
145
  # @param [Google::Apis::ContainerV1::CompleteIpRotationRequest] complete_ip_rotation_request_object
146
146
  # @param [String] fields
@@ -311,8 +311,8 @@ module Google
311
311
  # This API is not yet intended for general use, and is not available for all
312
312
  # clusters.
313
313
  # @param [String] parent
314
- # The cluster (project, location, cluster id) to get keys for. Specified in the
315
- # format `projects/*/locations/*/clusters/*`.
314
+ # The cluster (project, location, cluster name) to get keys for. Specified in
315
+ # the format `projects/*/locations/*/clusters/*`.
316
316
  # @param [String] fields
317
317
  # Selector specifying which fields to include in a partial response.
318
318
  # @param [String] quota_user
@@ -419,7 +419,7 @@ module Google
419
419
 
420
420
  # Enables or disables the ABAC authorization mechanism on a cluster.
421
421
  # @param [String] name
422
- # The name (project, location, cluster id) of the cluster to set legacy abac.
422
+ # The name (project, location, cluster name) of the cluster to set legacy abac.
423
423
  # Specified in the format `projects/*/locations/*/clusters/*`.
424
424
  # @param [Google::Apis::ContainerV1::SetLegacyAbacRequest] set_legacy_abac_request_object
425
425
  # @param [String] fields
@@ -523,7 +523,7 @@ module Google
523
523
 
524
524
  # Sets the maintenance policy for a cluster.
525
525
  # @param [String] name
526
- # The name (project, location, cluster id) of the cluster to set maintenance
526
+ # The name (project, location, cluster name) of the cluster to set maintenance
527
527
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
528
528
  # @param [Google::Apis::ContainerV1::SetMaintenancePolicyRequest] set_maintenance_policy_request_object
529
529
  # @param [String] fields
@@ -627,7 +627,7 @@ module Google
627
627
 
628
628
  # Enables or disables Network Policy for a cluster.
629
629
  # @param [String] name
630
- # The name (project, location, cluster id) of the cluster to set networking
630
+ # The name (project, location, cluster name) of the cluster to set networking
631
631
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
632
632
  # @param [Google::Apis::ContainerV1::SetNetworkPolicyRequest] set_network_policy_request_object
633
633
  # @param [String] fields
@@ -661,7 +661,7 @@ module Google
661
661
 
662
662
  # Sets labels on a cluster.
663
663
  # @param [String] name
664
- # The name (project, location, cluster id) of the cluster to set labels.
664
+ # The name (project, location, cluster name) of the cluster to set labels.
665
665
  # Specified in the format `projects/*/locations/*/clusters/*`.
666
666
  # @param [Google::Apis::ContainerV1::SetLabelsRequest] set_labels_request_object
667
667
  # @param [String] fields
@@ -695,7 +695,7 @@ module Google
695
695
 
696
696
  # Starts master IP rotation.
697
697
  # @param [String] name
698
- # The name (project, location, cluster id) of the cluster to start IP rotation.
698
+ # The name (project, location, cluster name) of the cluster to start IP rotation.
699
699
  # Specified in the format `projects/*/locations/*/clusters/*`.
700
700
  # @param [Google::Apis::ContainerV1::StartIpRotationRequest] start_ip_rotation_request_object
701
701
  # @param [String] fields
@@ -797,8 +797,8 @@ module Google
797
797
 
798
798
  # Creates a node pool for a cluster.
799
799
  # @param [String] parent
800
- # The parent (project, location, cluster id) where the node pool will be created.
801
- # Specified in the format `projects/*/locations/*/clusters/*`.
800
+ # The parent (project, location, cluster name) where the node pool will be
801
+ # created. Specified in the format `projects/*/locations/*/clusters/*`.
802
802
  # @param [Google::Apis::ContainerV1::CreateNodePoolRequest] create_node_pool_request_object
803
803
  # @param [String] fields
804
804
  # Selector specifying which fields to include in a partial response.
@@ -929,8 +929,8 @@ module Google
929
929
 
930
930
  # Lists the node pools for a cluster.
931
931
  # @param [String] parent
932
- # The parent (project, location, cluster id) where the node pools will be listed.
933
- # Specified in the format `projects/*/locations/*/clusters/*`.
932
+ # The parent (project, location, cluster name) where the node pools will be
933
+ # listed. Specified in the format `projects/*/locations/*/clusters/*`.
934
934
  # @param [String] cluster_id
935
935
  # Deprecated. The name of the cluster. This field has been deprecated and
936
936
  # replaced by the parent field.
@@ -1152,8 +1152,8 @@ module Google
1152
1152
  # 1_0.html) for details. This API is not yet intended for general use, and is
1153
1153
  # not available for all clusters.
1154
1154
  # @param [String] parent
1155
- # The cluster (project, location, cluster id) to get the discovery document for.
1156
- # Specified in the format `projects/*/locations/*/clusters/*`.
1155
+ # The cluster (project, location, cluster name) to get the discovery document
1156
+ # for. Specified in the format `projects/*/locations/*/clusters/*`.
1157
1157
  # @param [String] fields
1158
1158
  # Selector specifying which fields to include in a partial response.
1159
1159
  # @param [String] quota_user
@@ -2303,8 +2303,8 @@ module Google
2303
2303
  # Deprecated. The name of the cluster. This field has been deprecated and
2304
2304
  # replaced by the parent field.
2305
2305
  # @param [String] parent
2306
- # The parent (project, location, cluster id) where the node pools will be listed.
2307
- # Specified in the format `projects/*/locations/*/clusters/*`.
2306
+ # The parent (project, location, cluster name) where the node pools will be
2307
+ # listed. Specified in the format `projects/*/locations/*/clusters/*`.
2308
2308
  # @param [String] fields
2309
2309
  # Selector specifying which fields to include in a partial response.
2310
2310
  # @param [String] quota_user
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.18.0
4
+ version: 0.22.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: 2021-10-04 00:00:00.000000000 Z
11
+ date: 2022-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.18.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1
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.22.0
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: []
65
65
  require_paths:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Kubernetes Engine API V1