google-cloud-container-v1beta1 0.10.1 → 0.12.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: aac0ee752b987372c2be7c3bac5dd04645783957d20bb9b4d87cebfd76e32fbd
4
- data.tar.gz: 77d5357f4ce2be69e760ad116cab5a919e3291130a9e65c9bd1124b618c2d12d
3
+ metadata.gz: 0b7691b51553803f079d8557921dbc808cd5fc03c0fa1a1495ef54c64df0e147
4
+ data.tar.gz: 330a2896be99f7a65a9e493d363af414bac8e7a06c9ba53e773728514681dd07
5
5
  SHA512:
6
- metadata.gz: f45074cad67a99ff90326ebd541acf0f2c61b12cb147331132e58d3993811e667622d760ff93db45410a44800e7beeba23a82d7bfad80f4f5fede9d434af423e
7
- data.tar.gz: e8f74c81d539122141f22ab206eccb172940eaaa75f9088f56344bf35e1ed4abec98d65bf5f4a67aa23b88cd049187c0677d24675e6b2aa276cd901059fe52aa
6
+ metadata.gz: 268edb4b3bb7ffde42a767a26a33f0f202a7e376ccb4be67c3e73dc2c3184a66f9343cc31255fcc0995b9fdca91633657297ac0484f86a821eaf2be5b553b4fe
7
+ data.tar.gz: 4dfbffd664b74e4dcdfdccf606fedf3d871260338daf7ce00a18d7f684f48344a08ae60febdb1e283d1d958bbaf6d935f964a83207ec74b8b446dd2fd2265b26
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
@@ -660,7 +660,7 @@ module Google
660
660
  # @param options [::Gapic::CallOptions, ::Hash]
661
661
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
662
662
  #
663
- # @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, locations: nil, workload_metadata_config: nil, name: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, node_network_config: nil, gcfs_config: nil, confidential_nodes: nil, gvnic: nil)
663
+ # @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, locations: nil, workload_metadata_config: nil, name: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, node_network_config: nil, gcfs_config: nil, confidential_nodes: nil, gvnic: nil, logging_config: nil)
664
664
  # Pass arguments to `update_node_pool` via keyword arguments. Note that at
665
665
  # least one keyword argument is required. To specify no parameters, or to keep all
666
666
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -733,6 +733,8 @@ module Google
733
733
  # All the nodes in the node pool will be Confidential VM once enabled.
734
734
  # @param gvnic [::Google::Cloud::Container::V1beta1::VirtualNIC, ::Hash]
735
735
  # Enable or disable gvnic on the node pool.
736
+ # @param logging_config [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig, ::Hash]
737
+ # Logging configuration.
736
738
  #
737
739
  # @yield [response, operation] Access the result along with the RPC operation
738
740
  # @yieldparam response [::Google::Cloud::Container::V1beta1::Operation]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1beta1
24
- VERSION = "0.10.1"
24
+ VERSION = "0.12.0"
25
25
  end
26
26
  end
27
27
  end
@@ -61,6 +61,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
61
61
  optional :gvnic, :message, 29, "google.container.v1beta1.VirtualNIC"
62
62
  optional :spot, :bool, 32
63
63
  optional :confidential_nodes, :message, 35, "google.container.v1beta1.ConfidentialNodes"
64
+ optional :logging_config, :message, 38, "google.container.v1beta1.NodePoolLoggingConfig"
64
65
  end
65
66
  add_message "google.container.v1beta1.AdvancedMachineFeatures" do
66
67
  proto3_optional :threads_per_core, :int64, 1
@@ -380,12 +381,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
380
381
  end
381
382
  add_message "google.container.v1beta1.ProtectConfig" do
382
383
  proto3_optional :workload_config, :message, 1, "google.container.v1beta1.WorkloadConfig"
384
+ proto3_optional :workload_vulnerability_mode, :enum, 2, "google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode"
385
+ end
386
+ add_enum "google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode" do
387
+ value :WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED, 0
388
+ value :DISABLED, 1
389
+ value :BASIC, 2
383
390
  end
384
391
  add_message "google.container.v1beta1.NodePoolDefaults" do
385
392
  optional :node_config_defaults, :message, 1, "google.container.v1beta1.NodeConfigDefaults"
386
393
  end
387
394
  add_message "google.container.v1beta1.NodeConfigDefaults" do
388
395
  optional :gcfs_config, :message, 1, "google.container.v1beta1.GcfsConfig"
396
+ optional :logging_config, :message, 3, "google.container.v1beta1.NodePoolLoggingConfig"
389
397
  end
390
398
  add_message "google.container.v1beta1.NodePoolAutoConfig" do
391
399
  optional :network_tags, :message, 1, "google.container.v1beta1.NetworkTags"
@@ -433,6 +441,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
433
441
  optional :desired_identity_service_config, :message, 66, "google.container.v1beta1.IdentityServiceConfig"
434
442
  optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1beta1.NetworkTags"
435
443
  proto3_optional :desired_protect_config, :message, 112, "google.container.v1beta1.ProtectConfig"
444
+ optional :desired_node_pool_logging_config, :message, 116, "google.container.v1beta1.NodePoolLoggingConfig"
436
445
  end
437
446
  add_message "google.container.v1beta1.Operation" do
438
447
  optional :name, :string, 1
@@ -530,6 +539,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
530
539
  optional :gcfs_config, :message, 22, "google.container.v1beta1.GcfsConfig"
531
540
  optional :confidential_nodes, :message, 23, "google.container.v1beta1.ConfidentialNodes"
532
541
  optional :gvnic, :message, 29, "google.container.v1beta1.VirtualNIC"
542
+ optional :logging_config, :message, 32, "google.container.v1beta1.NodePoolLoggingConfig"
533
543
  end
534
544
  add_message "google.container.v1beta1.SetNodePoolAutoscalingRequest" do
535
545
  optional :project_id, :string, 1
@@ -1209,6 +1219,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1209
1219
  optional :component_config, :message, 1, "google.container.v1beta1.MonitoringComponentConfig"
1210
1220
  optional :managed_prometheus_config, :message, 2, "google.container.v1beta1.ManagedPrometheusConfig"
1211
1221
  end
1222
+ add_message "google.container.v1beta1.NodePoolLoggingConfig" do
1223
+ optional :variant_config, :message, 1, "google.container.v1beta1.LoggingVariantConfig"
1224
+ end
1225
+ add_message "google.container.v1beta1.LoggingVariantConfig" do
1226
+ optional :variant, :enum, 1, "google.container.v1beta1.LoggingVariantConfig.Variant"
1227
+ end
1228
+ add_enum "google.container.v1beta1.LoggingVariantConfig.Variant" do
1229
+ value :VARIANT_UNSPECIFIED, 0
1230
+ value :DEFAULT, 1
1231
+ value :MAX_THROUGHPUT, 2
1232
+ end
1212
1233
  add_message "google.container.v1beta1.MonitoringComponentConfig" do
1213
1234
  repeated :enable_components, :enum, 1, "google.container.v1beta1.MonitoringComponentConfig.Component"
1214
1235
  end
@@ -1306,6 +1327,7 @@ module Google
1306
1327
  WorkloadConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.WorkloadConfig").msgclass
1307
1328
  WorkloadConfig::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.WorkloadConfig.Mode").enummodule
1308
1329
  ProtectConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ProtectConfig").msgclass
1330
+ ProtectConfig::WorkloadVulnerabilityMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode").enummodule
1309
1331
  NodePoolDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodePoolDefaults").msgclass
1310
1332
  NodeConfigDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeConfigDefaults").msgclass
1311
1333
  NodePoolAutoConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodePoolAutoConfig").msgclass
@@ -1443,6 +1465,9 @@ module Google
1443
1465
  LoggingComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LoggingComponentConfig").msgclass
1444
1466
  LoggingComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LoggingComponentConfig.Component").enummodule
1445
1467
  MonitoringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.MonitoringConfig").msgclass
1468
+ NodePoolLoggingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodePoolLoggingConfig").msgclass
1469
+ LoggingVariantConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LoggingVariantConfig").msgclass
1470
+ LoggingVariantConfig::Variant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LoggingVariantConfig.Variant").enummodule
1446
1471
  MonitoringComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.MonitoringComponentConfig").msgclass
1447
1472
  MonitoringComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.MonitoringComponentConfig.Component").enummodule
1448
1473
  PrivateIPv6GoogleAccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.PrivateIPv6GoogleAccess").enummodule
@@ -259,7 +259,7 @@ module Google
259
259
  # `minCpuPlatform: "Intel Haswell"` or
260
260
  # `minCpuPlatform: "Intel Sandy Bridge"`. For more
261
261
  # information, read [how to specify min CPU
262
- # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
262
+ # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
263
263
  # @!attribute [rw] workload_metadata_config
264
264
  # @return [::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig]
265
265
  # The workload metadata configuration for this node.
@@ -307,6 +307,9 @@ module Google
307
307
  # @return [::Google::Cloud::Container::V1beta1::ConfidentialNodes]
308
308
  # Confidential nodes config.
309
309
  # All the nodes in the node pool will be Confidential VM once enabled.
310
+ # @!attribute [rw] logging_config
311
+ # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
312
+ # Logging configuration.
310
313
  class NodeConfig
311
314
  include ::Google::Protobuf::MessageExts
312
315
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -485,8 +488,9 @@ module Google
485
488
  # @!attribute [rw] key
486
489
  # @return [::String]
487
490
  # Corresponds to the label key of a reservation resource. To target a
488
- # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
489
- # the key and specify the name of your reservation as its value.
491
+ # SPECIFIC_RESERVATION by name, specify
492
+ # "compute.googleapis.com/reservation-name" as the key and specify the name
493
+ # of your reservation as its value.
490
494
  # @!attribute [rw] values
491
495
  # @return [::Array<::String>]
492
496
  # Corresponds to the label value(s) of reservation resource(s).
@@ -1625,9 +1629,24 @@ module Google
1625
1629
  # @return [::Google::Cloud::Container::V1beta1::WorkloadConfig]
1626
1630
  # WorkloadConfig defines which actions are enabled for a cluster's workload
1627
1631
  # configurations.
1632
+ # @!attribute [rw] workload_vulnerability_mode
1633
+ # @return [::Google::Cloud::Container::V1beta1::ProtectConfig::WorkloadVulnerabilityMode]
1634
+ # Sets which mode to use for Protect workload vulnerability scanning feature.
1628
1635
  class ProtectConfig
1629
1636
  include ::Google::Protobuf::MessageExts
1630
1637
  extend ::Google::Protobuf::MessageExts::ClassMethods
1638
+
1639
+ # WorkloadVulnerabilityMode defines mode to perform vulnerability scanning.
1640
+ module WorkloadVulnerabilityMode
1641
+ # Default value not specified.
1642
+ WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED = 0
1643
+
1644
+ # Disables Workload Vulnerability Scanning feature on the cluster.
1645
+ DISABLED = 1
1646
+
1647
+ # Applies basic vulnerability scanning settings for cluster workloads.
1648
+ BASIC = 2
1649
+ end
1631
1650
  end
1632
1651
 
1633
1652
  # Subset of Nodepool message that has defaults.
@@ -1643,6 +1662,9 @@ module Google
1643
1662
  # @!attribute [rw] gcfs_config
1644
1663
  # @return [::Google::Cloud::Container::V1beta1::GcfsConfig]
1645
1664
  # GCFS (Google Container File System, also known as Riptide) options.
1665
+ # @!attribute [rw] logging_config
1666
+ # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
1667
+ # Logging configuration for node pools.
1646
1668
  class NodeConfigDefaults
1647
1669
  include ::Google::Protobuf::MessageExts
1648
1670
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1849,6 +1871,9 @@ module Google
1849
1871
  # @!attribute [rw] desired_protect_config
1850
1872
  # @return [::Google::Cloud::Container::V1beta1::ProtectConfig]
1851
1873
  # Enable/Disable Protect API features for the cluster.
1874
+ # @!attribute [rw] desired_node_pool_logging_config
1875
+ # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
1876
+ # The desired node pool logging configuration defaults for the cluster.
1852
1877
  class ClusterUpdate
1853
1878
  include ::Google::Protobuf::MessageExts
1854
1879
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2198,6 +2223,9 @@ module Google
2198
2223
  # @!attribute [rw] gvnic
2199
2224
  # @return [::Google::Cloud::Container::V1beta1::VirtualNIC]
2200
2225
  # Enable or disable gvnic on the node pool.
2226
+ # @!attribute [rw] logging_config
2227
+ # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
2228
+ # Logging configuration.
2201
2229
  class UpdateNodePoolRequest
2202
2230
  include ::Google::Protobuf::MessageExts
2203
2231
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3507,7 +3535,7 @@ module Google
3507
3535
  # minCpuPlatform: Intel Haswell or
3508
3536
  # minCpuPlatform: Intel Sandy Bridge. For more
3509
3537
  # information, read [how to specify min CPU
3510
- # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
3538
+ # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
3511
3539
  # This field is deprecated, min_cpu_platform should be specified using
3512
3540
  # https://cloud.google.com/requested-min-cpu-platform label selector on the
3513
3541
  # pod.
@@ -4792,6 +4820,36 @@ module Google
4792
4820
  extend ::Google::Protobuf::MessageExts::ClassMethods
4793
4821
  end
4794
4822
 
4823
+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
4824
+ # @!attribute [rw] variant_config
4825
+ # @return [::Google::Cloud::Container::V1beta1::LoggingVariantConfig]
4826
+ # Logging variant configuration.
4827
+ class NodePoolLoggingConfig
4828
+ include ::Google::Protobuf::MessageExts
4829
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4830
+ end
4831
+
4832
+ # LoggingVariantConfig specifies the behaviour of the logging component.
4833
+ # @!attribute [rw] variant
4834
+ # @return [::Google::Cloud::Container::V1beta1::LoggingVariantConfig::Variant]
4835
+ # Logging variant deployed on nodes.
4836
+ class LoggingVariantConfig
4837
+ include ::Google::Protobuf::MessageExts
4838
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4839
+
4840
+ # Logging component variants.
4841
+ module Variant
4842
+ # Default value. This shouldn't be used.
4843
+ VARIANT_UNSPECIFIED = 0
4844
+
4845
+ # default logging variant.
4846
+ DEFAULT = 1
4847
+
4848
+ # maximum logging throughput variant.
4849
+ MAX_THROUGHPUT = 2
4850
+ end
4851
+ end
4852
+
4795
4853
  # MonitoringComponentConfig is cluster monitoring component configuration.
4796
4854
  # @!attribute [rw] enable_components
4797
4855
  # @return [::Array<::Google::Cloud::Container::V1beta1::MonitoringComponentConfig::Component>]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.12.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: 2022-08-05 00:00:00.000000000 Z
11
+ date: 2022-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.10'
19
+ version: '0.12'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.10'
29
+ version: '0.12'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a