google-apis-container_v1beta1 0.21.0 → 0.25.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: 980506ae9bb8799c0cb49367ddf26c74fc00668595be2aa5213007bf3f417552
4
- data.tar.gz: f78537060600905c37f8fa92ff3c6004108ad3f10554c306ca24e31f7024b179
3
+ metadata.gz: f53ea417f37754fe12154a2b699c9b69aec81103cf802baea5b67bd1212f2468
4
+ data.tar.gz: 11111d82e754af3ba996cbe426dd9392c519b65bf1ea513f66d00b1a54b89556
5
5
  SHA512:
6
- metadata.gz: bf509cb18069c27b807218ed4b11243c0767fdd3f407afd7dd636fabf3f21fe7b4f102abbee2d1ec634f7f946134c32ea9aa5a91557d8ef4298b3668e49cbc8a
7
- data.tar.gz: dbe4ba02d202d64d770729c770798f52713e500bc871db73956607918869e2241a842ad89d0f1c2cb0f59028506a7967b63e38465a3fd5aa34bc73b8685d5558
6
+ metadata.gz: e7ecb96da9a69650eefb1a8930380d810955d7c15762bd2c40c37da27ed1b2fd4f430f56d4ee1fce0bc6f24f127cb3741d22ce0a6a50a3d946e18cf47691a768
7
+ data.tar.gz: 3191564ce53239d489db886d20b40a2345ed7a95d1a89d45ee6846db864c4fde7b8490adbbe7e71191d2796f9c19ffe2fb79adca56751f3d9184d4b075136758
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.25.0 (2022-02-01)
4
+
5
+ * Regenerated from discovery document revision 20220114
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.24.0 (2022-01-05)
9
+
10
+ * Regenerated from discovery document revision 20211208
11
+
12
+ ### v0.23.0 (2021-11-16)
13
+
14
+ * Regenerated from discovery document revision 20211104
15
+
16
+ ### v0.22.0 (2021-10-28)
17
+
18
+ * Regenerated from discovery document revision 20211014
19
+
3
20
  ### v0.21.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_v1beta1"
51
51
  client = Google::Apis::ContainerV1beta1::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.
@@ -86,6 +86,11 @@ module Google
86
86
  # @return [Google::Apis::ContainerV1beta1::GcpFilestoreCsiDriverConfig]
87
87
  attr_accessor :gcp_filestore_csi_driver_config
88
88
 
89
+ # Configuration for the Backup for GKE Agent.
90
+ # Corresponds to the JSON property `gkeBackupAgentConfig`
91
+ # @return [Google::Apis::ContainerV1beta1::GkeBackupAgentConfig]
92
+ attr_accessor :gke_backup_agent_config
93
+
89
94
  # Configuration options for the horizontal pod autoscaling feature, which
90
95
  # increases or decreases the number of replica pods a replication controller has
91
96
  # based on the resource usage of the existing pods.
@@ -132,6 +137,7 @@ module Google
132
137
  @dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
133
138
  @gce_persistent_disk_csi_driver_config = args[:gce_persistent_disk_csi_driver_config] if args.key?(:gce_persistent_disk_csi_driver_config)
134
139
  @gcp_filestore_csi_driver_config = args[:gcp_filestore_csi_driver_config] if args.key?(:gcp_filestore_csi_driver_config)
140
+ @gke_backup_agent_config = args[:gke_backup_agent_config] if args.key?(:gke_backup_agent_config)
135
141
  @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
136
142
  @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
137
143
  @istio_config = args[:istio_config] if args.key?(:istio_config)
@@ -141,6 +147,27 @@ module Google
141
147
  end
142
148
  end
143
149
 
150
+ # Specifies options for controlling advanced machine features.
151
+ class AdvancedMachineFeatures
152
+ include Google::Apis::Core::Hashable
153
+
154
+ # The number of threads per physical core. To disable simultaneous
155
+ # multithreading (SMT) set this to 1. If unset, the maximum number of threads
156
+ # supported per core by the underlying processor is assumed.
157
+ # Corresponds to the JSON property `threadsPerCore`
158
+ # @return [Fixnum]
159
+ attr_accessor :threads_per_core
160
+
161
+ def initialize(**args)
162
+ update!(**args)
163
+ end
164
+
165
+ # Update properties of this object
166
+ def update!(**args)
167
+ @threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
168
+ end
169
+ end
170
+
144
171
  # Configuration for returning group information from authenticators.
145
172
  class AuthenticatorGroupsConfig
146
173
  include Google::Apis::Core::Hashable
@@ -1377,7 +1404,7 @@ module Google
1377
1404
  # @return [String]
1378
1405
  attr_accessor :cluster_id
1379
1406
 
1380
- # The name (project, location, cluster id) of the cluster to complete IP
1407
+ # The name (project, location, cluster name) of the cluster to complete IP
1381
1408
  # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
1382
1409
  # Corresponds to the JSON property `name`
1383
1410
  # @return [String]
@@ -1415,7 +1442,7 @@ module Google
1415
1442
  class ConfidentialNodes
1416
1443
  include Google::Apis::Core::Hashable
1417
1444
 
1418
- # Whether Confidential Nodes feature is enabled for all nodes in this cluster.
1445
+ # Whether Confidential Nodes feature is enabled.
1419
1446
  # Corresponds to the JSON property `enabled`
1420
1447
  # @return [Boolean]
1421
1448
  attr_accessor :enabled
@@ -1547,8 +1574,8 @@ module Google
1547
1574
  # @return [Google::Apis::ContainerV1beta1::NodePool]
1548
1575
  attr_accessor :node_pool
1549
1576
 
1550
- # The parent (project, location, cluster id) where the node pool will be created.
1551
- # Specified in the format `projects/*/locations/*/clusters/*`.
1577
+ # The parent (project, location, cluster name) where the node pool will be
1578
+ # created. Specified in the format `projects/*/locations/*/clusters/*`.
1552
1579
  # Corresponds to the JSON property `parent`
1553
1580
  # @return [String]
1554
1581
  attr_accessor :parent
@@ -1786,6 +1813,28 @@ module Google
1786
1813
  end
1787
1814
  end
1788
1815
 
1816
+ # Allows filtering to one or more specific event types. If event types are
1817
+ # present, those and only those event types will be transmitted to the cluster.
1818
+ # Other types will be skipped. If no filter is specified, or no event types are
1819
+ # present, all event types will be sent
1820
+ class Filter
1821
+ include Google::Apis::Core::Hashable
1822
+
1823
+ # Event types to allowlist.
1824
+ # Corresponds to the JSON property `eventType`
1825
+ # @return [Array<String>]
1826
+ attr_accessor :event_type
1827
+
1828
+ def initialize(**args)
1829
+ update!(**args)
1830
+ end
1831
+
1832
+ # Update properties of this object
1833
+ def update!(**args)
1834
+ @event_type = args[:event_type] if args.key?(:event_type)
1835
+ end
1836
+ end
1837
+
1789
1838
  # Configuration for the Compute Engine PD CSI driver.
1790
1839
  class GcePersistentDiskCsiDriverConfig
1791
1840
  include Google::Apis::Core::Hashable
@@ -1933,6 +1982,26 @@ module Google
1933
1982
  end
1934
1983
  end
1935
1984
 
1985
+ # Configuration for the Backup for GKE Agent.
1986
+ class GkeBackupAgentConfig
1987
+ include Google::Apis::Core::Hashable
1988
+
1989
+ # Whether the Backup for GKE agent is enabled for this cluster.
1990
+ # Corresponds to the JSON property `enabled`
1991
+ # @return [Boolean]
1992
+ attr_accessor :enabled
1993
+ alias_method :enabled?, :enabled
1994
+
1995
+ def initialize(**args)
1996
+ update!(**args)
1997
+ end
1998
+
1999
+ # Update properties of this object
2000
+ def update!(**args)
2001
+ @enabled = args[:enabled] if args.key?(:enabled)
2002
+ end
2003
+ end
2004
+
1936
2005
  # Configuration options for the horizontal pod autoscaling feature, which
1937
2006
  # increases or decreases the number of replica pods a replication controller has
1938
2007
  # based on the resource usage of the existing pods.
@@ -2601,6 +2670,25 @@ module Google
2601
2670
  end
2602
2671
  end
2603
2672
 
2673
+ # Represents the Maintenance exclusion option.
2674
+ class MaintenanceExclusionOptions
2675
+ include Google::Apis::Core::Hashable
2676
+
2677
+ # Scope specifies the upgrade scope which upgrades are blocked by the exclusion.
2678
+ # Corresponds to the JSON property `scope`
2679
+ # @return [String]
2680
+ attr_accessor :scope
2681
+
2682
+ def initialize(**args)
2683
+ update!(**args)
2684
+ end
2685
+
2686
+ # Update properties of this object
2687
+ def update!(**args)
2688
+ @scope = args[:scope] if args.key?(:scope)
2689
+ end
2690
+ end
2691
+
2604
2692
  # MaintenancePolicy defines the maintenance policy to be used for the cluster.
2605
2693
  class MaintenancePolicy
2606
2694
  include Google::Apis::Core::Hashable
@@ -2662,6 +2750,27 @@ module Google
2662
2750
  end
2663
2751
  end
2664
2752
 
2753
+ # ManagedPrometheusConfig defines the configuration for Google Cloud Managed
2754
+ # Service for Prometheus.
2755
+ class ManagedPrometheusConfig
2756
+ include Google::Apis::Core::Hashable
2757
+
2758
+ # Enable Managed Collection.
2759
+ # Corresponds to the JSON property `enabled`
2760
+ # @return [Boolean]
2761
+ attr_accessor :enabled
2762
+ alias_method :enabled?, :enabled
2763
+
2764
+ def initialize(**args)
2765
+ update!(**args)
2766
+ end
2767
+
2768
+ # Update properties of this object
2769
+ def update!(**args)
2770
+ @enabled = args[:enabled] if args.key?(:enabled)
2771
+ end
2772
+ end
2773
+
2665
2774
  # Master is the configuration for components on master.
2666
2775
  class Master
2667
2776
  include Google::Apis::Core::Hashable
@@ -2878,6 +2987,12 @@ module Google
2878
2987
  # @return [Google::Apis::ContainerV1beta1::MonitoringComponentConfig]
2879
2988
  attr_accessor :component_config
2880
2989
 
2990
+ # ManagedPrometheusConfig defines the configuration for Google Cloud Managed
2991
+ # Service for Prometheus.
2992
+ # Corresponds to the JSON property `managedPrometheusConfig`
2993
+ # @return [Google::Apis::ContainerV1beta1::ManagedPrometheusConfig]
2994
+ attr_accessor :managed_prometheus_config
2995
+
2881
2996
  def initialize(**args)
2882
2997
  update!(**args)
2883
2998
  end
@@ -2885,6 +3000,7 @@ module Google
2885
3000
  # Update properties of this object
2886
3001
  def update!(**args)
2887
3002
  @component_config = args[:component_config] if args.key?(:component_config)
3003
+ @managed_prometheus_config = args[:managed_prometheus_config] if args.key?(:managed_prometheus_config)
2888
3004
  end
2889
3005
  end
2890
3006
 
@@ -3045,6 +3161,11 @@ module Google
3045
3161
  # @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
3046
3162
  attr_accessor :accelerators
3047
3163
 
3164
+ # Specifies options for controlling advanced machine features.
3165
+ # Corresponds to the JSON property `advancedMachineFeatures`
3166
+ # @return [Google::Apis::ContainerV1beta1::AdvancedMachineFeatures]
3167
+ attr_accessor :advanced_machine_features
3168
+
3048
3169
  # The Customer Managed Encryption Key used to encrypt the boot disk attached to
3049
3170
  # each node in the node pool. This should be of the form projects/[
3050
3171
  # KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
@@ -3239,6 +3360,7 @@ module Google
3239
3360
  # Update properties of this object
3240
3361
  def update!(**args)
3241
3362
  @accelerators = args[:accelerators] if args.key?(:accelerators)
3363
+ @advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
3242
3364
  @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
3243
3365
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
3244
3366
  @disk_type = args[:disk_type] if args.key?(:disk_type)
@@ -3312,8 +3434,8 @@ module Google
3312
3434
 
3313
3435
  # Control the CPU management policy on the node. See https://kubernetes.io/docs/
3314
3436
  # tasks/administer-cluster/cpu-management-policies/ The following values are
3315
- # allowed. - "none": the default, which represents the existing scheduling
3316
- # behavior. - "static": allows pods with certain resource characteristics to be
3437
+ # allowed. * "none": the default, which represents the existing scheduling
3438
+ # behavior. * "static": allows pods with certain resource characteristics to be
3317
3439
  # granted increased CPU affinity and exclusivity on the node. The default value
3318
3440
  # is 'none' if unspecified.
3319
3441
  # Corresponds to the JSON property `cpuManagerPolicy`
@@ -3518,6 +3640,11 @@ module Google
3518
3640
  # @return [Google::Apis::ContainerV1beta1::NodeNetworkConfig]
3519
3641
  attr_accessor :network_config
3520
3642
 
3643
+ # PlacementPolicy defines the placement policy used by the node pool.
3644
+ # Corresponds to the JSON property `placementPolicy`
3645
+ # @return [Google::Apis::ContainerV1beta1::PlacementPolicy]
3646
+ attr_accessor :placement_policy
3647
+
3521
3648
  # [Output only] The pod CIDR block size per node in this node pool.
3522
3649
  # Corresponds to the JSON property `podIpv4CidrSize`
3523
3650
  # @return [Fixnum]
@@ -3565,6 +3692,7 @@ module Google
3565
3692
  @max_pods_constraint = args[:max_pods_constraint] if args.key?(:max_pods_constraint)
3566
3693
  @name = args[:name] if args.key?(:name)
3567
3694
  @network_config = args[:network_config] if args.key?(:network_config)
3695
+ @placement_policy = args[:placement_policy] if args.key?(:placement_policy)
3568
3696
  @pod_ipv4_cidr_size = args[:pod_ipv4_cidr_size] if args.key?(:pod_ipv4_cidr_size)
3569
3697
  @self_link = args[:self_link] if args.key?(:self_link)
3570
3698
  @status = args[:status] if args.key?(:status)
@@ -3867,6 +3995,25 @@ module Google
3867
3995
  end
3868
3996
  end
3869
3997
 
3998
+ # PlacementPolicy defines the placement policy used by the node pool.
3999
+ class PlacementPolicy
4000
+ include Google::Apis::Core::Hashable
4001
+
4002
+ # The type of placement.
4003
+ # Corresponds to the JSON property `type`
4004
+ # @return [String]
4005
+ attr_accessor :type
4006
+
4007
+ def initialize(**args)
4008
+ update!(**args)
4009
+ end
4010
+
4011
+ # Update properties of this object
4012
+ def update!(**args)
4013
+ @type = args[:type] if args.key?(:type)
4014
+ end
4015
+ end
4016
+
3870
4017
  # Configuration for the PodSecurityPolicy feature.
3871
4018
  class PodSecurityPolicyConfig
3872
4019
  include Google::Apis::Core::Hashable
@@ -3980,6 +4127,14 @@ module Google
3980
4127
  attr_accessor :enabled
3981
4128
  alias_method :enabled?, :enabled
3982
4129
 
4130
+ # Allows filtering to one or more specific event types. If event types are
4131
+ # present, those and only those event types will be transmitted to the cluster.
4132
+ # Other types will be skipped. If no filter is specified, or no event types are
4133
+ # present, all event types will be sent
4134
+ # Corresponds to the JSON property `filter`
4135
+ # @return [Google::Apis::ContainerV1beta1::Filter]
4136
+ attr_accessor :filter
4137
+
3983
4138
  # The desired Pub/Sub topic to which notifications will be sent by GKE. Format
3984
4139
  # is `projects/`project`/topics/`topic``.
3985
4140
  # Corresponds to the JSON property `topic`
@@ -3993,6 +4148,7 @@ module Google
3993
4148
  # Update properties of this object
3994
4149
  def update!(**args)
3995
4150
  @enabled = args[:enabled] if args.key?(:enabled)
4151
+ @filter = args[:filter] if args.key?(:filter)
3996
4152
  @topic = args[:topic] if args.key?(:topic)
3997
4153
  end
3998
4154
  end
@@ -4274,6 +4430,89 @@ module Google
4274
4430
  end
4275
4431
  end
4276
4432
 
4433
+ # SecurityBulletinEvent is a notification sent to customers when a security
4434
+ # bulletin has been posted that they are vulnerable to.
4435
+ class SecurityBulletinEvent
4436
+ include Google::Apis::Core::Hashable
4437
+
4438
+ # The GKE minor versions affected by this vulnerability.
4439
+ # Corresponds to the JSON property `affectedSupportedMinors`
4440
+ # @return [Array<String>]
4441
+ attr_accessor :affected_supported_minors
4442
+
4443
+ # A brief description of the bulletin. See the bulletin pointed to by the
4444
+ # bulletin_uri field for an expanded description.
4445
+ # Corresponds to the JSON property `briefDescription`
4446
+ # @return [String]
4447
+ attr_accessor :brief_description
4448
+
4449
+ # The ID of the bulletin corresponding to the vulnerability.
4450
+ # Corresponds to the JSON property `bulletinId`
4451
+ # @return [String]
4452
+ attr_accessor :bulletin_id
4453
+
4454
+ # The URI link to the bulletin on the website for more information.
4455
+ # Corresponds to the JSON property `bulletinUri`
4456
+ # @return [String]
4457
+ attr_accessor :bulletin_uri
4458
+
4459
+ # The CVEs associated with this bulletin.
4460
+ # Corresponds to the JSON property `cveIds`
4461
+ # @return [Array<String>]
4462
+ attr_accessor :cve_ids
4463
+
4464
+ # If this field is specified, it means there are manual steps that the user must
4465
+ # take to make their clusters safe.
4466
+ # Corresponds to the JSON property `manualStepsRequired`
4467
+ # @return [Boolean]
4468
+ attr_accessor :manual_steps_required
4469
+ alias_method :manual_steps_required?, :manual_steps_required
4470
+
4471
+ # The GKE versions where this vulnerability is patched.
4472
+ # Corresponds to the JSON property `patchedVersions`
4473
+ # @return [Array<String>]
4474
+ attr_accessor :patched_versions
4475
+
4476
+ # The resource type (node/control plane) that has the vulnerability. Multiple
4477
+ # notifications (1 notification per resource type) will be sent for a
4478
+ # vulnerability that affects > 1 resource type.
4479
+ # Corresponds to the JSON property `resourceTypeAffected`
4480
+ # @return [String]
4481
+ attr_accessor :resource_type_affected
4482
+
4483
+ # The severity of this bulletin as it relates to GKE.
4484
+ # Corresponds to the JSON property `severity`
4485
+ # @return [String]
4486
+ attr_accessor :severity
4487
+
4488
+ # This represents a version selected from the patched_versions field that the
4489
+ # cluster receiving this notification should most likely want to upgrade to
4490
+ # based on its current version. Note that if this notification is being received
4491
+ # by a given cluster, it means that this version is currently available as an
4492
+ # upgrade target in that cluster's location.
4493
+ # Corresponds to the JSON property `suggestedUpgradeTarget`
4494
+ # @return [String]
4495
+ attr_accessor :suggested_upgrade_target
4496
+
4497
+ def initialize(**args)
4498
+ update!(**args)
4499
+ end
4500
+
4501
+ # Update properties of this object
4502
+ def update!(**args)
4503
+ @affected_supported_minors = args[:affected_supported_minors] if args.key?(:affected_supported_minors)
4504
+ @brief_description = args[:brief_description] if args.key?(:brief_description)
4505
+ @bulletin_id = args[:bulletin_id] if args.key?(:bulletin_id)
4506
+ @bulletin_uri = args[:bulletin_uri] if args.key?(:bulletin_uri)
4507
+ @cve_ids = args[:cve_ids] if args.key?(:cve_ids)
4508
+ @manual_steps_required = args[:manual_steps_required] if args.key?(:manual_steps_required)
4509
+ @patched_versions = args[:patched_versions] if args.key?(:patched_versions)
4510
+ @resource_type_affected = args[:resource_type_affected] if args.key?(:resource_type_affected)
4511
+ @severity = args[:severity] if args.key?(:severity)
4512
+ @suggested_upgrade_target = args[:suggested_upgrade_target] if args.key?(:suggested_upgrade_target)
4513
+ end
4514
+ end
4515
+
4277
4516
  # Kubernetes Engine service configuration.
4278
4517
  class ServerConfig
4279
4518
  include Google::Apis::Core::Hashable
@@ -4420,7 +4659,7 @@ module Google
4420
4659
  # @return [String]
4421
4660
  attr_accessor :label_fingerprint
4422
4661
 
4423
- # The name (project, location, cluster id) of the cluster to set labels.
4662
+ # The name (project, location, cluster name) of the cluster to set labels.
4424
4663
  # Specified in the format `projects/*/locations/*/clusters/*`.
4425
4664
  # Corresponds to the JSON property `name`
4426
4665
  # @return [String]
@@ -4477,7 +4716,7 @@ module Google
4477
4716
  attr_accessor :enabled
4478
4717
  alias_method :enabled?, :enabled
4479
4718
 
4480
- # The name (project, location, cluster id) of the cluster to set legacy abac.
4719
+ # The name (project, location, cluster name) of the cluster to set legacy abac.
4481
4720
  # Specified in the format `projects/*/locations/*/clusters/*`.
4482
4721
  # Corresponds to the JSON property `name`
4483
4722
  # @return [String]
@@ -4634,7 +4873,7 @@ module Google
4634
4873
  # @return [Google::Apis::ContainerV1beta1::MaintenancePolicy]
4635
4874
  attr_accessor :maintenance_policy
4636
4875
 
4637
- # The name (project, location, cluster id) of the cluster to set maintenance
4876
+ # The name (project, location, cluster name) of the cluster to set maintenance
4638
4877
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
4639
4878
  # Corresponds to the JSON property `name`
4640
4879
  # @return [String]
@@ -4787,7 +5026,7 @@ module Google
4787
5026
  # @return [String]
4788
5027
  attr_accessor :cluster_id
4789
5028
 
4790
- # The name (project, location, cluster id) of the cluster to set networking
5029
+ # The name (project, location, cluster name) of the cluster to set networking
4791
5030
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
4792
5031
  # Corresponds to the JSON property `name`
4793
5032
  # @return [String]
@@ -5065,7 +5304,7 @@ module Google
5065
5304
  # @return [String]
5066
5305
  attr_accessor :cluster_id
5067
5306
 
5068
- # The name (project, location, cluster id) of the cluster to start IP rotation.
5307
+ # The name (project, location, cluster name) of the cluster to start IP rotation.
5069
5308
  # Specified in the format `projects/*/locations/*/clusters/*`.
5070
5309
  # Corresponds to the JSON property `name`
5071
5310
  # @return [String]
@@ -5187,6 +5426,11 @@ module Google
5187
5426
  # @return [String]
5188
5427
  attr_accessor :end_time
5189
5428
 
5429
+ # Represents the Maintenance exclusion option.
5430
+ # Corresponds to the JSON property `maintenanceExclusionOptions`
5431
+ # @return [Google::Apis::ContainerV1beta1::MaintenanceExclusionOptions]
5432
+ attr_accessor :maintenance_exclusion_options
5433
+
5190
5434
  # The time that the window first starts.
5191
5435
  # Corresponds to the JSON property `startTime`
5192
5436
  # @return [String]
@@ -5199,6 +5443,7 @@ module Google
5199
5443
  # Update properties of this object
5200
5444
  def update!(**args)
5201
5445
  @end_time = args[:end_time] if args.key?(:end_time)
5446
+ @maintenance_exclusion_options = args[:maintenance_exclusion_options] if args.key?(:maintenance_exclusion_options)
5202
5447
  @start_time = args[:start_time] if args.key?(:start_time)
5203
5448
  end
5204
5449
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1beta1
18
18
  # Version of the google-apis-container_v1beta1 gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.25.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 = "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
 
@@ -208,6 +214,12 @@ module Google
208
214
  include Google::Apis::Core::JsonObjectSupport
209
215
  end
210
216
 
217
+ class Filter
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
211
223
  class GcePersistentDiskCsiDriverConfig
212
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
225
 
@@ -238,6 +250,12 @@ module Google
238
250
  include Google::Apis::Core::JsonObjectSupport
239
251
  end
240
252
 
253
+ class GkeBackupAgentConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
241
259
  class HorizontalPodAutoscaling
242
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
261
 
@@ -364,6 +382,12 @@ module Google
364
382
  include Google::Apis::Core::JsonObjectSupport
365
383
  end
366
384
 
385
+ class MaintenanceExclusionOptions
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
367
391
  class MaintenancePolicy
368
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
393
 
@@ -376,6 +400,12 @@ module Google
376
400
  include Google::Apis::Core::JsonObjectSupport
377
401
  end
378
402
 
403
+ class ManagedPrometheusConfig
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
379
409
  class Master
380
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
411
 
@@ -532,6 +562,12 @@ module Google
532
562
  include Google::Apis::Core::JsonObjectSupport
533
563
  end
534
564
 
565
+ class PlacementPolicy
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
535
571
  class PodSecurityPolicyConfig
536
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
573
 
@@ -604,6 +640,12 @@ module Google
604
640
  include Google::Apis::Core::JsonObjectSupport
605
641
  end
606
642
 
643
+ class SecurityBulletinEvent
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
607
649
  class ServerConfig
608
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
651
 
@@ -842,6 +884,8 @@ module Google
842
884
 
843
885
  property :gcp_filestore_csi_driver_config, as: 'gcpFilestoreCsiDriverConfig', class: Google::Apis::ContainerV1beta1::GcpFilestoreCsiDriverConfig, decorator: Google::Apis::ContainerV1beta1::GcpFilestoreCsiDriverConfig::Representation
844
886
 
887
+ property :gke_backup_agent_config, as: 'gkeBackupAgentConfig', class: Google::Apis::ContainerV1beta1::GkeBackupAgentConfig, decorator: Google::Apis::ContainerV1beta1::GkeBackupAgentConfig::Representation
888
+
845
889
  property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling::Representation
846
890
 
847
891
  property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1beta1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1beta1::HttpLoadBalancing::Representation
@@ -857,6 +901,13 @@ module Google
857
901
  end
858
902
  end
859
903
 
904
+ class AdvancedMachineFeatures
905
+ # @private
906
+ class Representation < Google::Apis::Core::JsonRepresentation
907
+ property :threads_per_core, :numeric_string => true, as: 'threadsPerCore'
908
+ end
909
+ end
910
+
860
911
  class AuthenticatorGroupsConfig
861
912
  # @private
862
913
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1270,6 +1321,13 @@ module Google
1270
1321
  end
1271
1322
  end
1272
1323
 
1324
+ class Filter
1325
+ # @private
1326
+ class Representation < Google::Apis::Core::JsonRepresentation
1327
+ collection :event_type, as: 'eventType'
1328
+ end
1329
+ end
1330
+
1273
1331
  class GcePersistentDiskCsiDriverConfig
1274
1332
  # @private
1275
1333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1316,6 +1374,13 @@ module Google
1316
1374
  end
1317
1375
  end
1318
1376
 
1377
+ class GkeBackupAgentConfig
1378
+ # @private
1379
+ class Representation < Google::Apis::Core::JsonRepresentation
1380
+ property :enabled, as: 'enabled'
1381
+ end
1382
+ end
1383
+
1319
1384
  class HorizontalPodAutoscaling
1320
1385
  # @private
1321
1386
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1499,6 +1564,13 @@ module Google
1499
1564
  end
1500
1565
  end
1501
1566
 
1567
+ class MaintenanceExclusionOptions
1568
+ # @private
1569
+ class Representation < Google::Apis::Core::JsonRepresentation
1570
+ property :scope, as: 'scope'
1571
+ end
1572
+ end
1573
+
1502
1574
  class MaintenancePolicy
1503
1575
  # @private
1504
1576
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1520,6 +1592,13 @@ module Google
1520
1592
  end
1521
1593
  end
1522
1594
 
1595
+ class ManagedPrometheusConfig
1596
+ # @private
1597
+ class Representation < Google::Apis::Core::JsonRepresentation
1598
+ property :enabled, as: 'enabled'
1599
+ end
1600
+ end
1601
+
1523
1602
  class Master
1524
1603
  # @private
1525
1604
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1584,6 +1663,8 @@ module Google
1584
1663
  class Representation < Google::Apis::Core::JsonRepresentation
1585
1664
  property :component_config, as: 'componentConfig', class: Google::Apis::ContainerV1beta1::MonitoringComponentConfig, decorator: Google::Apis::ContainerV1beta1::MonitoringComponentConfig::Representation
1586
1665
 
1666
+ property :managed_prometheus_config, as: 'managedPrometheusConfig', class: Google::Apis::ContainerV1beta1::ManagedPrometheusConfig, decorator: Google::Apis::ContainerV1beta1::ManagedPrometheusConfig::Representation
1667
+
1587
1668
  end
1588
1669
  end
1589
1670
 
@@ -1632,6 +1713,8 @@ module Google
1632
1713
  class Representation < Google::Apis::Core::JsonRepresentation
1633
1714
  collection :accelerators, as: 'accelerators', class: Google::Apis::ContainerV1beta1::AcceleratorConfig, decorator: Google::Apis::ContainerV1beta1::AcceleratorConfig::Representation
1634
1715
 
1716
+ property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::ContainerV1beta1::AdvancedMachineFeatures, decorator: Google::Apis::ContainerV1beta1::AdvancedMachineFeatures::Representation
1717
+
1635
1718
  property :boot_disk_kms_key, as: 'bootDiskKmsKey'
1636
1719
  property :disk_size_gb, as: 'diskSizeGb'
1637
1720
  property :disk_type, as: 'diskType'
@@ -1732,6 +1815,8 @@ module Google
1732
1815
  property :name, as: 'name'
1733
1816
  property :network_config, as: 'networkConfig', class: Google::Apis::ContainerV1beta1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1beta1::NodeNetworkConfig::Representation
1734
1817
 
1818
+ property :placement_policy, as: 'placementPolicy', class: Google::Apis::ContainerV1beta1::PlacementPolicy, decorator: Google::Apis::ContainerV1beta1::PlacementPolicy::Representation
1819
+
1735
1820
  property :pod_ipv4_cidr_size, as: 'podIpv4CidrSize'
1736
1821
  property :self_link, as: 'selfLink'
1737
1822
  property :status, as: 'status'
@@ -1822,6 +1907,13 @@ module Google
1822
1907
  end
1823
1908
  end
1824
1909
 
1910
+ class PlacementPolicy
1911
+ # @private
1912
+ class Representation < Google::Apis::Core::JsonRepresentation
1913
+ property :type, as: 'type'
1914
+ end
1915
+ end
1916
+
1825
1917
  class PodSecurityPolicyConfig
1826
1918
  # @private
1827
1919
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1854,6 +1946,8 @@ module Google
1854
1946
  # @private
1855
1947
  class Representation < Google::Apis::Core::JsonRepresentation
1856
1948
  property :enabled, as: 'enabled'
1949
+ property :filter, as: 'filter', class: Google::Apis::ContainerV1beta1::Filter, decorator: Google::Apis::ContainerV1beta1::Filter::Representation
1950
+
1857
1951
  property :topic, as: 'topic'
1858
1952
  end
1859
1953
  end
@@ -1933,6 +2027,22 @@ module Google
1933
2027
  end
1934
2028
  end
1935
2029
 
2030
+ class SecurityBulletinEvent
2031
+ # @private
2032
+ class Representation < Google::Apis::Core::JsonRepresentation
2033
+ collection :affected_supported_minors, as: 'affectedSupportedMinors'
2034
+ property :brief_description, as: 'briefDescription'
2035
+ property :bulletin_id, as: 'bulletinId'
2036
+ property :bulletin_uri, as: 'bulletinUri'
2037
+ collection :cve_ids, as: 'cveIds'
2038
+ property :manual_steps_required, as: 'manualStepsRequired'
2039
+ collection :patched_versions, as: 'patchedVersions'
2040
+ property :resource_type_affected, as: 'resourceTypeAffected'
2041
+ property :severity, as: 'severity'
2042
+ property :suggested_upgrade_target, as: 'suggestedUpgradeTarget'
2043
+ end
2044
+ end
2045
+
1936
2046
  class ServerConfig
1937
2047
  # @private
1938
2048
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2146,6 +2256,8 @@ module Google
2146
2256
  # @private
2147
2257
  class Representation < Google::Apis::Core::JsonRepresentation
2148
2258
  property :end_time, as: 'endTime'
2259
+ property :maintenance_exclusion_options, as: 'maintenanceExclusionOptions', class: Google::Apis::ContainerV1beta1::MaintenanceExclusionOptions, decorator: Google::Apis::ContainerV1beta1::MaintenanceExclusionOptions::Representation
2260
+
2149
2261
  property :start_time, as: 'startTime'
2150
2262
  end
2151
2263
  end
@@ -171,7 +171,7 @@ module Google
171
171
 
172
172
  # Completes master IP rotation.
173
173
  # @param [String] name
174
- # The name (project, location, cluster id) of the cluster to complete IP
174
+ # The name (project, location, cluster name) of the cluster to complete IP
175
175
  # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
176
176
  # @param [Google::Apis::ContainerV1beta1::CompleteIpRotationRequest] complete_ip_rotation_request_object
177
177
  # @param [String] fields
@@ -342,8 +342,8 @@ module Google
342
342
  # This API is not yet intended for general use, and is not available for all
343
343
  # clusters.
344
344
  # @param [String] parent
345
- # The cluster (project, location, cluster id) to get keys for. Specified in the
346
- # format `projects/*/locations/*/clusters/*`.
345
+ # The cluster (project, location, cluster name) to get keys for. Specified in
346
+ # the format `projects/*/locations/*/clusters/*`.
347
347
  # @param [String] fields
348
348
  # Selector specifying which fields to include in a partial response.
349
349
  # @param [String] quota_user
@@ -451,7 +451,7 @@ module Google
451
451
 
452
452
  # Enables or disables the ABAC authorization mechanism on a cluster.
453
453
  # @param [String] name
454
- # The name (project, location, cluster id) of the cluster to set legacy abac.
454
+ # The name (project, location, cluster name) of the cluster to set legacy abac.
455
455
  # Specified in the format `projects/*/locations/*/clusters/*`.
456
456
  # @param [Google::Apis::ContainerV1beta1::SetLegacyAbacRequest] set_legacy_abac_request_object
457
457
  # @param [String] fields
@@ -555,7 +555,7 @@ module Google
555
555
 
556
556
  # Sets the maintenance policy for a cluster.
557
557
  # @param [String] name
558
- # The name (project, location, cluster id) of the cluster to set maintenance
558
+ # The name (project, location, cluster name) of the cluster to set maintenance
559
559
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
560
560
  # @param [Google::Apis::ContainerV1beta1::SetMaintenancePolicyRequest] set_maintenance_policy_request_object
561
561
  # @param [String] fields
@@ -659,7 +659,7 @@ module Google
659
659
 
660
660
  # Enables or disables Network Policy for a cluster.
661
661
  # @param [String] name
662
- # The name (project, location, cluster id) of the cluster to set networking
662
+ # The name (project, location, cluster name) of the cluster to set networking
663
663
  # policy. Specified in the format `projects/*/locations/*/clusters/*`.
664
664
  # @param [Google::Apis::ContainerV1beta1::SetNetworkPolicyRequest] set_network_policy_request_object
665
665
  # @param [String] fields
@@ -693,7 +693,7 @@ module Google
693
693
 
694
694
  # Sets labels on a cluster.
695
695
  # @param [String] name
696
- # The name (project, location, cluster id) of the cluster to set labels.
696
+ # The name (project, location, cluster name) of the cluster to set labels.
697
697
  # Specified in the format `projects/*/locations/*/clusters/*`.
698
698
  # @param [Google::Apis::ContainerV1beta1::SetLabelsRequest] set_labels_request_object
699
699
  # @param [String] fields
@@ -727,7 +727,7 @@ module Google
727
727
 
728
728
  # Starts master IP rotation.
729
729
  # @param [String] name
730
- # The name (project, location, cluster id) of the cluster to start IP rotation.
730
+ # The name (project, location, cluster name) of the cluster to start IP rotation.
731
731
  # Specified in the format `projects/*/locations/*/clusters/*`.
732
732
  # @param [Google::Apis::ContainerV1beta1::StartIpRotationRequest] start_ip_rotation_request_object
733
733
  # @param [String] fields
@@ -829,8 +829,8 @@ module Google
829
829
 
830
830
  # Creates a node pool for a cluster.
831
831
  # @param [String] parent
832
- # The parent (project, location, cluster id) where the node pool will be created.
833
- # Specified in the format `projects/*/locations/*/clusters/*`.
832
+ # The parent (project, location, cluster name) where the node pool will be
833
+ # created. Specified in the format `projects/*/locations/*/clusters/*`.
834
834
  # @param [Google::Apis::ContainerV1beta1::CreateNodePoolRequest] create_node_pool_request_object
835
835
  # @param [String] fields
836
836
  # Selector specifying which fields to include in a partial response.
@@ -961,8 +961,8 @@ module Google
961
961
 
962
962
  # Lists the node pools for a cluster.
963
963
  # @param [String] parent
964
- # The parent (project, location, cluster id) where the node pools will be listed.
965
- # Specified in the format `projects/*/locations/*/clusters/*`.
964
+ # The parent (project, location, cluster name) where the node pools will be
965
+ # listed. Specified in the format `projects/*/locations/*/clusters/*`.
966
966
  # @param [String] cluster_id
967
967
  # Required. Deprecated. The name of the cluster. This field has been deprecated
968
968
  # and replaced by the parent field.
@@ -1185,8 +1185,8 @@ module Google
1185
1185
  # 1_0.html) for details. This API is not yet intended for general use, and is
1186
1186
  # not available for all clusters.
1187
1187
  # @param [String] parent
1188
- # The cluster (project, location, cluster id) to get the discovery document for.
1189
- # Specified in the format `projects/*/locations/*/clusters/*`.
1188
+ # The cluster (project, location, cluster name) to get the discovery document
1189
+ # for. Specified in the format `projects/*/locations/*/clusters/*`.
1190
1190
  # @param [String] fields
1191
1191
  # Selector specifying which fields to include in a partial response.
1192
1192
  # @param [String] quota_user
@@ -2338,8 +2338,8 @@ module Google
2338
2338
  # Required. Deprecated. The name of the cluster. This field has been deprecated
2339
2339
  # and replaced by the parent field.
2340
2340
  # @param [String] parent
2341
- # The parent (project, location, cluster id) where the node pools will be listed.
2342
- # Specified in the format `projects/*/locations/*/clusters/*`.
2341
+ # The parent (project, location, cluster name) where the node pools will be
2342
+ # listed. Specified in the format `projects/*/locations/*/clusters/*`.
2343
2343
  # @param [String] fields
2344
2344
  # Selector specifying which fields to include in a partial response.
2345
2345
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.25.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-07 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.25.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
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 V1beta1