google-apis-container_v1 0.19.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43950a87c679f347db47f4bceaff32ea85a1adcc7b01a872d40b689146b22786
4
- data.tar.gz: 88c02b303fe11d54d889ab448ff65372802246138882ab7ec380fd105e1fd8e3
3
+ metadata.gz: 034a718c55ed4a20de45e1b14c45685978492eae182d158de2a82dc4abffb113
4
+ data.tar.gz: 602a905d66d669b76b9cfdbb6e9f4974bff512c1aebd84cd5547b7557f5ef55e
5
5
  SHA512:
6
- metadata.gz: 3b112cb5bc82d639e96b88f1a5e9d995abd2bf806a1157d99f5f02b231dbc9db4cba4b7450edb6b2e6d679c5c53974fa02fc91e2eb3f66571d2c71a9a24f491c
7
- data.tar.gz: 6d44d2c2dced8d7a8be2652b8fa23fc3b55f148212e638d6f1a25b7fd020763203ecf76b125147958ef0f52b31b2b4dab8c76ee576e410e3a9487eda1f6b8b45
6
+ metadata.gz: 6f9a0b067dc51c8f0bb371f93348834cde1e58ed75b6276a64c410a27eaa9517a3ebf49d85e347f1c58bcefba2acc103381ae4bb2c6473cab706c618c01a84db
7
+ data.tar.gz: e1bcc190ef52eaa3364705660a4f28fdf43357d4746d3f0cfadea61a8a10f614ea1d03f75e315a6bd7e0039e3786d25d4c709a1435571136d71990c0b92fa62c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.23.0 (2022-02-08)
4
+
5
+ * Regenerated from discovery document revision 20220116
6
+
7
+ ### v0.22.0 (2022-02-01)
8
+
9
+ * Regenerated from discovery document revision 20220114
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.21.0 (2021-12-16)
13
+
14
+ * Regenerated from discovery document revision 20211203
15
+
16
+ ### v0.20.0 (2021-10-28)
17
+
18
+ * Regenerated from discovery document revision 20211014
19
+
3
20
  ### v0.19.0 (2021-10-26)
4
21
 
5
22
  * Regenerated from discovery document revision 20211008
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.
@@ -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
@@ -587,6 +608,12 @@ module Google
587
608
  # @return [String]
588
609
  attr_accessor :id
589
610
 
611
+ # IdentityServiceConfig is configuration for Identity Service which allows
612
+ # customers to use external identity providers with the K8S API
613
+ # Corresponds to the JSON property `identityServiceConfig`
614
+ # @return [Google::Apis::ContainerV1::IdentityServiceConfig]
615
+ attr_accessor :identity_service_config
616
+
590
617
  # The initial Kubernetes version for this cluster. Valid versions are those
591
618
  # found in validMasterVersions returned by getServerConfig. The version can be
592
619
  # upgraded over time; such upgrades are reflected in currentMasterVersion and
@@ -874,6 +901,7 @@ module Google
874
901
  @endpoint = args[:endpoint] if args.key?(:endpoint)
875
902
  @expire_time = args[:expire_time] if args.key?(:expire_time)
876
903
  @id = args[:id] if args.key?(:id)
904
+ @identity_service_config = args[:identity_service_config] if args.key?(:identity_service_config)
877
905
  @initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
878
906
  @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
879
907
  @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
@@ -1020,6 +1048,12 @@ module Google
1020
1048
  # @return [Google::Apis::ContainerV1::GcfsConfig]
1021
1049
  attr_accessor :desired_gcfs_config
1022
1050
 
1051
+ # IdentityServiceConfig is configuration for Identity Service which allows
1052
+ # customers to use external identity providers with the K8S API
1053
+ # Corresponds to the JSON property `desiredIdentityServiceConfig`
1054
+ # @return [Google::Apis::ContainerV1::IdentityServiceConfig]
1055
+ attr_accessor :desired_identity_service_config
1056
+
1023
1057
  # The desired image type for the node pool. NOTE: Set the "desired_node_pool"
1024
1058
  # field as well.
1025
1059
  # Corresponds to the JSON property `desiredImageType`
@@ -1155,6 +1189,11 @@ module Google
1155
1189
  # @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
1156
1190
  attr_accessor :desired_resource_usage_export_config
1157
1191
 
1192
+ # Config to block services with externalIPs field.
1193
+ # Corresponds to the JSON property `desiredServiceExternalIpsConfig`
1194
+ # @return [Google::Apis::ContainerV1::ServiceExternalIPsConfig]
1195
+ attr_accessor :desired_service_external_ips_config
1196
+
1158
1197
  # Configuration of Shielded Nodes feature.
1159
1198
  # Corresponds to the JSON property `desiredShieldedNodes`
1160
1199
  # @return [Google::Apis::ContainerV1::ShieldedNodes]
@@ -1187,6 +1226,7 @@ module Google
1187
1226
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1188
1227
  @desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
1189
1228
  @desired_gcfs_config = args[:desired_gcfs_config] if args.key?(:desired_gcfs_config)
1229
+ @desired_identity_service_config = args[:desired_identity_service_config] if args.key?(:desired_identity_service_config)
1190
1230
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1191
1231
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1192
1232
  @desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
@@ -1206,6 +1246,7 @@ module Google
1206
1246
  @desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
1207
1247
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
1208
1248
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
1249
+ @desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
1209
1250
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
1210
1251
  @desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
1211
1252
  @desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
@@ -1222,7 +1263,7 @@ module Google
1222
1263
  # @return [String]
1223
1264
  attr_accessor :cluster_id
1224
1265
 
1225
- # The name (project, location, cluster id) of the cluster to complete IP
1266
+ # The name (project, location, cluster name) of the cluster to complete IP
1226
1267
  # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
1227
1268
  # Corresponds to the JSON property `name`
1228
1269
  # @return [String]
@@ -1260,7 +1301,7 @@ module Google
1260
1301
  class ConfidentialNodes
1261
1302
  include Google::Apis::Core::Hashable
1262
1303
 
1263
- # Whether Confidential Nodes feature is enabled for all nodes in this cluster.
1304
+ # Whether Confidential Nodes feature is enabled.
1264
1305
  # Corresponds to the JSON property `enabled`
1265
1306
  # @return [Boolean]
1266
1307
  attr_accessor :enabled
@@ -1379,8 +1420,8 @@ module Google
1379
1420
  # @return [Google::Apis::ContainerV1::NodePool]
1380
1421
  attr_accessor :node_pool
1381
1422
 
1382
- # The parent (project, location, cluster id) where the node pool will be created.
1383
- # Specified in the format `projects/*/locations/*/clusters/*`.
1423
+ # The parent (project, location, cluster name) where the node pool will be
1424
+ # created. Specified in the format `projects/*/locations/*/clusters/*`.
1384
1425
  # Corresponds to the JSON property `parent`
1385
1426
  # @return [String]
1386
1427
  attr_accessor :parent
@@ -1557,6 +1598,28 @@ module Google
1557
1598
  end
1558
1599
  end
1559
1600
 
1601
+ # Allows filtering to one or more specific event types. If event types are
1602
+ # present, those and only those event types will be transmitted to the cluster.
1603
+ # Other types will be skipped. If no filter is specified, or no event types are
1604
+ # present, all event types will be sent
1605
+ class Filter
1606
+ include Google::Apis::Core::Hashable
1607
+
1608
+ # Event types to allowlist.
1609
+ # Corresponds to the JSON property `eventType`
1610
+ # @return [Array<String>]
1611
+ attr_accessor :event_type
1612
+
1613
+ def initialize(**args)
1614
+ update!(**args)
1615
+ end
1616
+
1617
+ # Update properties of this object
1618
+ def update!(**args)
1619
+ @event_type = args[:event_type] if args.key?(:event_type)
1620
+ end
1621
+ end
1622
+
1560
1623
  # Configuration for the Compute Engine PD CSI driver.
1561
1624
  class GcePersistentDiskCsiDriverConfig
1562
1625
  include Google::Apis::Core::Hashable
@@ -1937,6 +2000,27 @@ module Google
1937
2000
  end
1938
2001
  end
1939
2002
 
2003
+ # IdentityServiceConfig is configuration for Identity Service which allows
2004
+ # customers to use external identity providers with the K8S API
2005
+ class IdentityServiceConfig
2006
+ include Google::Apis::Core::Hashable
2007
+
2008
+ # Whether to enable the Identity Service component
2009
+ # Corresponds to the JSON property `enabled`
2010
+ # @return [Boolean]
2011
+ attr_accessor :enabled
2012
+ alias_method :enabled?, :enabled
2013
+
2014
+ def initialize(**args)
2015
+ update!(**args)
2016
+ end
2017
+
2018
+ # Update properties of this object
2019
+ def update!(**args)
2020
+ @enabled = args[:enabled] if args.key?(:enabled)
2021
+ end
2022
+ end
2023
+
1940
2024
  # IntraNodeVisibilityConfig contains the desired config of the intra-node
1941
2025
  # visibility on this cluster.
1942
2026
  class IntraNodeVisibilityConfig
@@ -2227,6 +2311,25 @@ module Google
2227
2311
  end
2228
2312
  end
2229
2313
 
2314
+ # Represents the Maintenance exclusion option.
2315
+ class MaintenanceExclusionOptions
2316
+ include Google::Apis::Core::Hashable
2317
+
2318
+ # Scope specifies the upgrade scope which upgrades are blocked by the exclusion.
2319
+ # Corresponds to the JSON property `scope`
2320
+ # @return [String]
2321
+ attr_accessor :scope
2322
+
2323
+ def initialize(**args)
2324
+ update!(**args)
2325
+ end
2326
+
2327
+ # Update properties of this object
2328
+ def update!(**args)
2329
+ @scope = args[:scope] if args.key?(:scope)
2330
+ end
2331
+ end
2332
+
2230
2333
  # MaintenancePolicy defines the maintenance policy to be used for the cluster.
2231
2334
  class MaintenancePolicy
2232
2335
  include Google::Apis::Core::Hashable
@@ -2406,12 +2509,23 @@ module Google
2406
2509
  class MeshCertificates
2407
2510
  include Google::Apis::Core::Hashable
2408
2511
 
2512
+ # enable_certificates controls issuance of workload mTLS certificates. If set,
2513
+ # the GKE Workload Identity Certificates controller and node agent will be
2514
+ # deployed in the cluster, which can then be configured by creating a
2515
+ # WorkloadCertificateConfig Custom Resource. Requires Workload Identity (
2516
+ # workload_pool must be non-empty).
2517
+ # Corresponds to the JSON property `enableCertificates`
2518
+ # @return [Boolean]
2519
+ attr_accessor :enable_certificates
2520
+ alias_method :enable_certificates?, :enable_certificates
2521
+
2409
2522
  def initialize(**args)
2410
2523
  update!(**args)
2411
2524
  end
2412
2525
 
2413
2526
  # Update properties of this object
2414
2527
  def update!(**args)
2528
+ @enable_certificates = args[:enable_certificates] if args.key?(:enable_certificates)
2415
2529
  end
2416
2530
  end
2417
2531
 
@@ -2538,6 +2652,11 @@ module Google
2538
2652
  # @return [String]
2539
2653
  attr_accessor :private_ipv6_google_access
2540
2654
 
2655
+ # Config to block services with externalIPs field.
2656
+ # Corresponds to the JSON property `serviceExternalIpsConfig`
2657
+ # @return [Google::Apis::ContainerV1::ServiceExternalIPsConfig]
2658
+ attr_accessor :service_external_ips_config
2659
+
2541
2660
  # Output only. The relative name of the Google Compute Engine [subnetwork](https:
2542
2661
  # //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
2543
2662
  # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
@@ -2558,6 +2677,7 @@ module Google
2558
2677
  @enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
2559
2678
  @network = args[:network] if args.key?(:network)
2560
2679
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
2680
+ @service_external_ips_config = args[:service_external_ips_config] if args.key?(:service_external_ips_config)
2561
2681
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
2562
2682
  end
2563
2683
  end
@@ -2621,6 +2741,11 @@ module Google
2621
2741
  # @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
2622
2742
  attr_accessor :accelerators
2623
2743
 
2744
+ # Specifies options for controlling advanced machine features.
2745
+ # Corresponds to the JSON property `advancedMachineFeatures`
2746
+ # @return [Google::Apis::ContainerV1::AdvancedMachineFeatures]
2747
+ attr_accessor :advanced_machine_features
2748
+
2624
2749
  # The Customer Managed Encryption Key used to encrypt the boot disk attached to
2625
2750
  # each node in the node pool. This should be of the form projects/[
2626
2751
  # KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
@@ -2803,6 +2928,7 @@ module Google
2803
2928
  # Update properties of this object
2804
2929
  def update!(**args)
2805
2930
  @accelerators = args[:accelerators] if args.key?(:accelerators)
2931
+ @advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
2806
2932
  @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
2807
2933
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2808
2934
  @disk_type = args[:disk_type] if args.key?(:disk_type)
@@ -2875,8 +3001,8 @@ module Google
2875
3001
 
2876
3002
  # Control the CPU management policy on the node. See https://kubernetes.io/docs/
2877
3003
  # tasks/administer-cluster/cpu-management-policies/ The following values are
2878
- # allowed. - "none": the default, which represents the existing scheduling
2879
- # behavior. - "static": allows pods with certain resource characteristics to be
3004
+ # allowed. * "none": the default, which represents the existing scheduling
3005
+ # behavior. * "static": allows pods with certain resource characteristics to be
2880
3006
  # granted increased CPU affinity and exclusivity on the node. The default value
2881
3007
  # is 'none' if unspecified.
2882
3008
  # Corresponds to the JSON property `cpuManagerPolicy`
@@ -3487,6 +3613,14 @@ module Google
3487
3613
  attr_accessor :enabled
3488
3614
  alias_method :enabled?, :enabled
3489
3615
 
3616
+ # Allows filtering to one or more specific event types. If event types are
3617
+ # present, those and only those event types will be transmitted to the cluster.
3618
+ # Other types will be skipped. If no filter is specified, or no event types are
3619
+ # present, all event types will be sent
3620
+ # Corresponds to the JSON property `filter`
3621
+ # @return [Google::Apis::ContainerV1::Filter]
3622
+ attr_accessor :filter
3623
+
3490
3624
  # The desired Pub/Sub topic to which notifications will be sent by GKE. Format
3491
3625
  # is `projects/`project`/topics/`topic``.
3492
3626
  # Corresponds to the JSON property `topic`
@@ -3500,6 +3634,7 @@ module Google
3500
3634
  # Update properties of this object
3501
3635
  def update!(**args)
3502
3636
  @enabled = args[:enabled] if args.key?(:enabled)
3637
+ @filter = args[:filter] if args.key?(:filter)
3503
3638
  @topic = args[:topic] if args.key?(:topic)
3504
3639
  end
3505
3640
  end
@@ -3768,6 +3903,89 @@ module Google
3768
3903
  end
3769
3904
  end
3770
3905
 
3906
+ # SecurityBulletinEvent is a notification sent to customers when a security
3907
+ # bulletin has been posted that they are vulnerable to.
3908
+ class SecurityBulletinEvent
3909
+ include Google::Apis::Core::Hashable
3910
+
3911
+ # The GKE minor versions affected by this vulnerability.
3912
+ # Corresponds to the JSON property `affectedSupportedMinors`
3913
+ # @return [Array<String>]
3914
+ attr_accessor :affected_supported_minors
3915
+
3916
+ # A brief description of the bulletin. See the bulletin pointed to by the
3917
+ # bulletin_uri field for an expanded description.
3918
+ # Corresponds to the JSON property `briefDescription`
3919
+ # @return [String]
3920
+ attr_accessor :brief_description
3921
+
3922
+ # The ID of the bulletin corresponding to the vulnerability.
3923
+ # Corresponds to the JSON property `bulletinId`
3924
+ # @return [String]
3925
+ attr_accessor :bulletin_id
3926
+
3927
+ # The URI link to the bulletin on the website for more information.
3928
+ # Corresponds to the JSON property `bulletinUri`
3929
+ # @return [String]
3930
+ attr_accessor :bulletin_uri
3931
+
3932
+ # The CVEs associated with this bulletin.
3933
+ # Corresponds to the JSON property `cveIds`
3934
+ # @return [Array<String>]
3935
+ attr_accessor :cve_ids
3936
+
3937
+ # If this field is specified, it means there are manual steps that the user must
3938
+ # take to make their clusters safe.
3939
+ # Corresponds to the JSON property `manualStepsRequired`
3940
+ # @return [Boolean]
3941
+ attr_accessor :manual_steps_required
3942
+ alias_method :manual_steps_required?, :manual_steps_required
3943
+
3944
+ # The GKE versions where this vulnerability is patched.
3945
+ # Corresponds to the JSON property `patchedVersions`
3946
+ # @return [Array<String>]
3947
+ attr_accessor :patched_versions
3948
+
3949
+ # The resource type (node/control plane) that has the vulnerability. Multiple
3950
+ # notifications (1 notification per resource type) will be sent for a
3951
+ # vulnerability that affects > 1 resource type.
3952
+ # Corresponds to the JSON property `resourceTypeAffected`
3953
+ # @return [String]
3954
+ attr_accessor :resource_type_affected
3955
+
3956
+ # The severity of this bulletin as it relates to GKE.
3957
+ # Corresponds to the JSON property `severity`
3958
+ # @return [String]
3959
+ attr_accessor :severity
3960
+
3961
+ # This represents a version selected from the patched_versions field that the
3962
+ # cluster receiving this notification should most likely want to upgrade to
3963
+ # based on its current version. Note that if this notification is being received
3964
+ # by a given cluster, it means that this version is currently available as an
3965
+ # upgrade target in that cluster's location.
3966
+ # Corresponds to the JSON property `suggestedUpgradeTarget`
3967
+ # @return [String]
3968
+ attr_accessor :suggested_upgrade_target
3969
+
3970
+ def initialize(**args)
3971
+ update!(**args)
3972
+ end
3973
+
3974
+ # Update properties of this object
3975
+ def update!(**args)
3976
+ @affected_supported_minors = args[:affected_supported_minors] if args.key?(:affected_supported_minors)
3977
+ @brief_description = args[:brief_description] if args.key?(:brief_description)
3978
+ @bulletin_id = args[:bulletin_id] if args.key?(:bulletin_id)
3979
+ @bulletin_uri = args[:bulletin_uri] if args.key?(:bulletin_uri)
3980
+ @cve_ids = args[:cve_ids] if args.key?(:cve_ids)
3981
+ @manual_steps_required = args[:manual_steps_required] if args.key?(:manual_steps_required)
3982
+ @patched_versions = args[:patched_versions] if args.key?(:patched_versions)
3983
+ @resource_type_affected = args[:resource_type_affected] if args.key?(:resource_type_affected)
3984
+ @severity = args[:severity] if args.key?(:severity)
3985
+ @suggested_upgrade_target = args[:suggested_upgrade_target] if args.key?(:suggested_upgrade_target)
3986
+ end
3987
+ end
3988
+
3771
3989
  # Kubernetes Engine service configuration.
3772
3990
  class ServerConfig
3773
3991
  include Google::Apis::Core::Hashable
@@ -3817,6 +4035,26 @@ module Google
3817
4035
  end
3818
4036
  end
3819
4037
 
4038
+ # Config to block services with externalIPs field.
4039
+ class ServiceExternalIPsConfig
4040
+ include Google::Apis::Core::Hashable
4041
+
4042
+ # Whether Services with ExternalIPs field are allowed or not.
4043
+ # Corresponds to the JSON property `enabled`
4044
+ # @return [Boolean]
4045
+ attr_accessor :enabled
4046
+ alias_method :enabled?, :enabled
4047
+
4048
+ def initialize(**args)
4049
+ update!(**args)
4050
+ end
4051
+
4052
+ # Update properties of this object
4053
+ def update!(**args)
4054
+ @enabled = args[:enabled] if args.key?(:enabled)
4055
+ end
4056
+ end
4057
+
3820
4058
  # SetAddonsConfigRequest sets the addons associated with the cluster.
3821
4059
  class SetAddonsConfigRequest
3822
4060
  include Google::Apis::Core::Hashable
@@ -3888,7 +4126,7 @@ module Google
3888
4126
  # @return [String]
3889
4127
  attr_accessor :label_fingerprint
3890
4128
 
3891
- # The name (project, location, cluster id) of the cluster to set labels.
4129
+ # The name (project, location, cluster name) of the cluster to set labels.
3892
4130
  # Specified in the format `projects/*/locations/*/clusters/*`.
3893
4131
  # Corresponds to the JSON property `name`
3894
4132
  # @return [String]
@@ -3945,7 +4183,7 @@ module Google
3945
4183
  attr_accessor :enabled
3946
4184
  alias_method :enabled?, :enabled
3947
4185
 
3948
- # The name (project, location, cluster id) of the cluster to set legacy abac.
4186
+ # The name (project, location, cluster name) of the cluster to set legacy abac.
3949
4187
  # Specified in the format `projects/*/locations/*/clusters/*`.
3950
4188
  # Corresponds to the JSON property `name`
3951
4189
  # @return [String]
@@ -4102,7 +4340,7 @@ module Google
4102
4340
  # @return [Google::Apis::ContainerV1::MaintenancePolicy]
4103
4341
  attr_accessor :maintenance_policy
4104
4342
 
4105
- # The name (project, location, cluster id) of the cluster to set maintenance
4343
+ # The name (project, location, cluster name) of the cluster to set maintenance
4106
4344
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
4107
4345
  # Corresponds to the JSON property `name`
4108
4346
  # @return [String]
@@ -4255,7 +4493,7 @@ module Google
4255
4493
  # @return [String]
4256
4494
  attr_accessor :cluster_id
4257
4495
 
4258
- # The name (project, location, cluster id) of the cluster to set networking
4496
+ # The name (project, location, cluster name) of the cluster to set networking
4259
4497
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
4260
4498
  # Corresponds to the JSON property `name`
4261
4499
  # @return [String]
@@ -4533,7 +4771,7 @@ module Google
4533
4771
  # @return [String]
4534
4772
  attr_accessor :cluster_id
4535
4773
 
4536
- # The name (project, location, cluster id) of the cluster to start IP rotation.
4774
+ # The name (project, location, cluster name) of the cluster to start IP rotation.
4537
4775
  # Specified in the format `projects/*/locations/*/clusters/*`.
4538
4776
  # Corresponds to the JSON property `name`
4539
4777
  # @return [String]
@@ -4655,6 +4893,11 @@ module Google
4655
4893
  # @return [String]
4656
4894
  attr_accessor :end_time
4657
4895
 
4896
+ # Represents the Maintenance exclusion option.
4897
+ # Corresponds to the JSON property `maintenanceExclusionOptions`
4898
+ # @return [Google::Apis::ContainerV1::MaintenanceExclusionOptions]
4899
+ attr_accessor :maintenance_exclusion_options
4900
+
4658
4901
  # The time that the window first starts.
4659
4902
  # Corresponds to the JSON property `startTime`
4660
4903
  # @return [String]
@@ -4667,6 +4910,7 @@ module Google
4667
4910
  # Update properties of this object
4668
4911
  def update!(**args)
4669
4912
  @end_time = args[:end_time] if args.key?(:end_time)
4913
+ @maintenance_exclusion_options = args[:maintenance_exclusion_options] if args.key?(:maintenance_exclusion_options)
4670
4914
  @start_time = args[:start_time] if args.key?(:start_time)
4671
4915
  end
4672
4916
  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.0"
19
+ GEM_VERSION = "0.23.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 = "20211008"
25
+ REVISION = "20220116"
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
 
@@ -184,6 +190,12 @@ module Google
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
193
+ class Filter
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
187
199
  class GcePersistentDiskCsiDriverConfig
188
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
201
 
@@ -244,6 +256,12 @@ module Google
244
256
  include Google::Apis::Core::JsonObjectSupport
245
257
  end
246
258
 
259
+ class IdentityServiceConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
247
265
  class IntraNodeVisibilityConfig
248
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
267
 
@@ -310,6 +328,12 @@ module Google
310
328
  include Google::Apis::Core::JsonObjectSupport
311
329
  end
312
330
 
331
+ class MaintenanceExclusionOptions
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
313
337
  class MaintenancePolicy
314
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
339
 
@@ -520,12 +544,24 @@ module Google
520
544
  include Google::Apis::Core::JsonObjectSupport
521
545
  end
522
546
 
547
+ class SecurityBulletinEvent
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
523
553
  class ServerConfig
524
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
555
 
526
556
  include Google::Apis::Core::JsonObjectSupport
527
557
  end
528
558
 
559
+ class ServiceExternalIPsConfig
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
529
565
  class SetAddonsConfigRequest
530
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
531
567
 
@@ -739,6 +775,13 @@ module Google
739
775
  end
740
776
  end
741
777
 
778
+ class AdvancedMachineFeatures
779
+ # @private
780
+ class Representation < Google::Apis::Core::JsonRepresentation
781
+ property :threads_per_core, :numeric_string => true, as: 'threadsPerCore'
782
+ end
783
+ end
784
+
742
785
  class AuthenticatorGroupsConfig
743
786
  # @private
744
787
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -860,6 +903,8 @@ module Google
860
903
  property :endpoint, as: 'endpoint'
861
904
  property :expire_time, as: 'expireTime'
862
905
  property :id, as: 'id'
906
+ property :identity_service_config, as: 'identityServiceConfig', class: Google::Apis::ContainerV1::IdentityServiceConfig, decorator: Google::Apis::ContainerV1::IdentityServiceConfig::Representation
907
+
863
908
  property :initial_cluster_version, as: 'initialClusterVersion'
864
909
  property :initial_node_count, as: 'initialNodeCount'
865
910
  collection :instance_group_urls, as: 'instanceGroupUrls'
@@ -955,6 +1000,8 @@ module Google
955
1000
 
956
1001
  property :desired_gcfs_config, as: 'desiredGcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
957
1002
 
1003
+ property :desired_identity_service_config, as: 'desiredIdentityServiceConfig', class: Google::Apis::ContainerV1::IdentityServiceConfig, decorator: Google::Apis::ContainerV1::IdentityServiceConfig::Representation
1004
+
958
1005
  property :desired_image_type, as: 'desiredImageType'
959
1006
  property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1::IntraNodeVisibilityConfig::Representation
960
1007
 
@@ -985,6 +1032,8 @@ module Google
985
1032
 
986
1033
  property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
987
1034
 
1035
+ property :desired_service_external_ips_config, as: 'desiredServiceExternalIpsConfig', class: Google::Apis::ContainerV1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1::ServiceExternalIPsConfig::Representation
1036
+
988
1037
  property :desired_shielded_nodes, as: 'desiredShieldedNodes', class: Google::Apis::ContainerV1::ShieldedNodes, decorator: Google::Apis::ContainerV1::ShieldedNodes::Representation
989
1038
 
990
1039
  property :desired_vertical_pod_autoscaling, as: 'desiredVerticalPodAutoscaling', class: Google::Apis::ContainerV1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1::VerticalPodAutoscaling::Representation
@@ -1093,6 +1142,13 @@ module Google
1093
1142
  end
1094
1143
  end
1095
1144
 
1145
+ class Filter
1146
+ # @private
1147
+ class Representation < Google::Apis::Core::JsonRepresentation
1148
+ collection :event_type, as: 'eventType'
1149
+ end
1150
+ end
1151
+
1096
1152
  class GcePersistentDiskCsiDriverConfig
1097
1153
  # @private
1098
1154
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1188,6 +1244,13 @@ module Google
1188
1244
  end
1189
1245
  end
1190
1246
 
1247
+ class IdentityServiceConfig
1248
+ # @private
1249
+ class Representation < Google::Apis::Core::JsonRepresentation
1250
+ property :enabled, as: 'enabled'
1251
+ end
1252
+ end
1253
+
1191
1254
  class IntraNodeVisibilityConfig
1192
1255
  # @private
1193
1256
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1281,6 +1344,13 @@ module Google
1281
1344
  end
1282
1345
  end
1283
1346
 
1347
+ class MaintenanceExclusionOptions
1348
+ # @private
1349
+ class Representation < Google::Apis::Core::JsonRepresentation
1350
+ property :scope, as: 'scope'
1351
+ end
1352
+ end
1353
+
1284
1354
  class MaintenancePolicy
1285
1355
  # @private
1286
1356
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1334,6 +1404,7 @@ module Google
1334
1404
  class MeshCertificates
1335
1405
  # @private
1336
1406
  class Representation < Google::Apis::Core::JsonRepresentation
1407
+ property :enable_certificates, as: 'enableCertificates'
1337
1408
  end
1338
1409
  end
1339
1410
 
@@ -1374,6 +1445,8 @@ module Google
1374
1445
  property :enable_l4ilb_subsetting, as: 'enableL4ilbSubsetting'
1375
1446
  property :network, as: 'network'
1376
1447
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
1448
+ property :service_external_ips_config, as: 'serviceExternalIpsConfig', class: Google::Apis::ContainerV1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1::ServiceExternalIPsConfig::Representation
1449
+
1377
1450
  property :subnetwork, as: 'subnetwork'
1378
1451
  end
1379
1452
  end
@@ -1398,6 +1471,8 @@ module Google
1398
1471
  class Representation < Google::Apis::Core::JsonRepresentation
1399
1472
  collection :accelerators, as: 'accelerators', class: Google::Apis::ContainerV1::AcceleratorConfig, decorator: Google::Apis::ContainerV1::AcceleratorConfig::Representation
1400
1473
 
1474
+ property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::ContainerV1::AdvancedMachineFeatures, decorator: Google::Apis::ContainerV1::AdvancedMachineFeatures::Representation
1475
+
1401
1476
  property :boot_disk_kms_key, as: 'bootDiskKmsKey'
1402
1477
  property :disk_size_gb, as: 'diskSizeGb'
1403
1478
  property :disk_type, as: 'diskType'
@@ -1595,6 +1670,8 @@ module Google
1595
1670
  # @private
1596
1671
  class Representation < Google::Apis::Core::JsonRepresentation
1597
1672
  property :enabled, as: 'enabled'
1673
+ property :filter, as: 'filter', class: Google::Apis::ContainerV1::Filter, decorator: Google::Apis::ContainerV1::Filter::Representation
1674
+
1598
1675
  property :topic, as: 'topic'
1599
1676
  end
1600
1677
  end
@@ -1671,6 +1748,22 @@ module Google
1671
1748
  end
1672
1749
  end
1673
1750
 
1751
+ class SecurityBulletinEvent
1752
+ # @private
1753
+ class Representation < Google::Apis::Core::JsonRepresentation
1754
+ collection :affected_supported_minors, as: 'affectedSupportedMinors'
1755
+ property :brief_description, as: 'briefDescription'
1756
+ property :bulletin_id, as: 'bulletinId'
1757
+ property :bulletin_uri, as: 'bulletinUri'
1758
+ collection :cve_ids, as: 'cveIds'
1759
+ property :manual_steps_required, as: 'manualStepsRequired'
1760
+ collection :patched_versions, as: 'patchedVersions'
1761
+ property :resource_type_affected, as: 'resourceTypeAffected'
1762
+ property :severity, as: 'severity'
1763
+ property :suggested_upgrade_target, as: 'suggestedUpgradeTarget'
1764
+ end
1765
+ end
1766
+
1674
1767
  class ServerConfig
1675
1768
  # @private
1676
1769
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1684,6 +1777,13 @@ module Google
1684
1777
  end
1685
1778
  end
1686
1779
 
1780
+ class ServiceExternalIPsConfig
1781
+ # @private
1782
+ class Representation < Google::Apis::Core::JsonRepresentation
1783
+ property :enabled, as: 'enabled'
1784
+ end
1785
+ end
1786
+
1687
1787
  class SetAddonsConfigRequest
1688
1788
  # @private
1689
1789
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1875,6 +1975,8 @@ module Google
1875
1975
  # @private
1876
1976
  class Representation < Google::Apis::Core::JsonRepresentation
1877
1977
  property :end_time, as: 'endTime'
1978
+ property :maintenance_exclusion_options, as: 'maintenanceExclusionOptions', class: Google::Apis::ContainerV1::MaintenanceExclusionOptions, decorator: Google::Apis::ContainerV1::MaintenanceExclusionOptions::Representation
1979
+
1878
1980
  property :start_time, as: 'startTime'
1879
1981
  end
1880
1982
  end
@@ -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.19.0
4
+ version: 0.23.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-27 00:00:00.000000000 Z
11
+ date: 2022-02-14 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.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.23.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: []
@@ -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