google-cloud-container-v1 0.9.0 → 0.10.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: ce8291611b4d69ed13c9005e293beb293bbcbc249beab006129dcf37938ae0fa
4
- data.tar.gz: 1a4855fe3efa20fa428c8421beaa17276973d1fc6b9b0c1ca2614c539d223832
3
+ metadata.gz: d5062e182955d3f0155e3385dcf40af2e8c3dd0d611e382aecd391ceca2b935e
4
+ data.tar.gz: 7e95a540b90af0633cb39ac7ddca0c082ec3151539fe1629723a05743a453278
5
5
  SHA512:
6
- metadata.gz: e58231afc4b58d00897a830281572476e2142b4b9901c5581f885555ac9a9e1e8eb62b33f019e8ef46a89cfdf07d62e1b0d2d933eb2cbef3719ff5080a3f00df
7
- data.tar.gz: 16f3289fb1362c2244d2d1afae49ca4ce1d708c22bdd14b033f637b5e0a95ddc961317483b1c36adab8f5d5fc5788a87999da8380892503e34d0e6a8d97c8030
6
+ metadata.gz: 1ff9fcd5f7b51e816fad222a4fc626fd31bd7f10818a533082bc71b01c3d971a89e5ed46c5fa439f0addabbb9be245f82535ad925f0f8014ac82827067f92c49
7
+ data.tar.gz: 564fd682a6da1ca5aecced447215b196ff0fce061dca7c5ca086b30faed6ad6cdac31e4feba22638088617713a2d9cdc585b6a606ea5f5581513b2594171bf0d
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
@@ -650,7 +650,7 @@ module Google
650
650
  # @param options [::Gapic::CallOptions, ::Hash]
651
651
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
652
652
  #
653
- # @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, name: nil, locations: nil, workload_metadata_config: 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)
653
+ # @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, name: nil, locations: nil, workload_metadata_config: 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)
654
654
  # Pass arguments to `update_node_pool` via keyword arguments. Note that at
655
655
  # least one keyword argument is required. To specify no parameters, or to keep all
656
656
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -723,6 +723,8 @@ module Google
723
723
  # All the nodes in the node pool will be Confidential VM once enabled.
724
724
  # @param gvnic [::Google::Cloud::Container::V1::VirtualNIC, ::Hash]
725
725
  # Enable or disable gvnic on the node pool.
726
+ # @param logging_config [::Google::Cloud::Container::V1::NodePoolLoggingConfig, ::Hash]
727
+ # Logging configuration.
726
728
  #
727
729
  # @yield [response, operation] Access the result along with the RPC operation
728
730
  # @yieldparam response [::Google::Cloud::Container::V1::Operation]
@@ -2544,7 +2546,7 @@ module Google
2544
2546
  # @param name [::String]
2545
2547
  # The name (project, location, cluster, node pool id) of the node pool to
2546
2548
  # complete upgrade.
2547
- # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
2549
+ # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
2548
2550
  #
2549
2551
  # @yield [response, operation] Access the result along with the RPC operation
2550
2552
  # @yieldparam response [::Google::Protobuf::Empty]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "0.9.0"
24
+ VERSION = "0.10.0"
25
25
  end
26
26
  end
27
27
  end
@@ -53,6 +53,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
53
53
  optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
54
54
  optional :spot, :bool, 32
55
55
  optional :confidential_nodes, :message, 35, "google.container.v1.ConfidentialNodes"
56
+ optional :logging_config, :message, 38, "google.container.v1.NodePoolLoggingConfig"
56
57
  end
57
58
  add_message "google.container.v1.AdvancedMachineFeatures" do
58
59
  proto3_optional :threads_per_core, :int64, 1
@@ -309,6 +310,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
309
310
  end
310
311
  add_message "google.container.v1.NodeConfigDefaults" do
311
312
  optional :gcfs_config, :message, 1, "google.container.v1.GcfsConfig"
313
+ optional :logging_config, :message, 3, "google.container.v1.NodePoolLoggingConfig"
312
314
  end
313
315
  add_message "google.container.v1.ClusterUpdate" do
314
316
  optional :desired_node_version, :string, 4
@@ -345,6 +347,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
345
347
  optional :desired_master_version, :string, 100
346
348
  optional :desired_gcfs_config, :message, 109, "google.container.v1.GcfsConfig"
347
349
  optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1.NetworkTags"
350
+ optional :desired_node_pool_logging_config, :message, 116, "google.container.v1.NodePoolLoggingConfig"
348
351
  end
349
352
  add_message "google.container.v1.Operation" do
350
353
  optional :name, :string, 1
@@ -442,6 +445,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
442
445
  optional :gcfs_config, :message, 22, "google.container.v1.GcfsConfig"
443
446
  optional :confidential_nodes, :message, 23, "google.container.v1.ConfidentialNodes"
444
447
  optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
448
+ optional :logging_config, :message, 32, "google.container.v1.NodePoolLoggingConfig"
445
449
  end
446
450
  add_message "google.container.v1.SetNodePoolAutoscalingRequest" do
447
451
  optional :project_id, :string, 1
@@ -1051,6 +1055,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1051
1055
  optional :component_config, :message, 1, "google.container.v1.MonitoringComponentConfig"
1052
1056
  optional :managed_prometheus_config, :message, 2, "google.container.v1.ManagedPrometheusConfig"
1053
1057
  end
1058
+ add_message "google.container.v1.NodePoolLoggingConfig" do
1059
+ optional :variant_config, :message, 1, "google.container.v1.LoggingVariantConfig"
1060
+ end
1061
+ add_message "google.container.v1.LoggingVariantConfig" do
1062
+ optional :variant, :enum, 1, "google.container.v1.LoggingVariantConfig.Variant"
1063
+ end
1064
+ add_enum "google.container.v1.LoggingVariantConfig.Variant" do
1065
+ value :VARIANT_UNSPECIFIED, 0
1066
+ value :DEFAULT, 1
1067
+ value :MAX_THROUGHPUT, 2
1068
+ end
1054
1069
  add_message "google.container.v1.MonitoringComponentConfig" do
1055
1070
  repeated :enable_components, :enum, 1, "google.container.v1.MonitoringComponentConfig.Component"
1056
1071
  end
@@ -1257,6 +1272,9 @@ module Google
1257
1272
  LoggingComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingComponentConfig").msgclass
1258
1273
  LoggingComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingComponentConfig.Component").enummodule
1259
1274
  MonitoringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringConfig").msgclass
1275
+ NodePoolLoggingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePoolLoggingConfig").msgclass
1276
+ LoggingVariantConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingVariantConfig").msgclass
1277
+ LoggingVariantConfig::Variant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingVariantConfig.Variant").enummodule
1260
1278
  MonitoringComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig").msgclass
1261
1279
  MonitoringComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig.Component").enummodule
1262
1280
  ManagedPrometheusConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ManagedPrometheusConfig").msgclass
@@ -284,6 +284,9 @@ module Google
284
284
  # @return [::Google::Cloud::Container::V1::ConfidentialNodes]
285
285
  # Confidential nodes config.
286
286
  # All the nodes in the node pool will be Confidential VM once enabled.
287
+ # @!attribute [rw] logging_config
288
+ # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
289
+ # Logging configuration.
287
290
  class NodeConfig
288
291
  include ::Google::Protobuf::MessageExts
289
292
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -444,8 +447,9 @@ module Google
444
447
  # @!attribute [rw] key
445
448
  # @return [::String]
446
449
  # Corresponds to the label key of a reservation resource. To target a
447
- # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
448
- # the key and specify the name of your reservation as its value.
450
+ # SPECIFIC_RESERVATION by name, specify
451
+ # "compute.googleapis.com/reservation-name" as the key and specify the name
452
+ # of your reservation as its value.
449
453
  # @!attribute [rw] values
450
454
  # @return [::Array<::String>]
451
455
  # Corresponds to the label value(s) of reservation resource(s).
@@ -870,8 +874,9 @@ module Google
870
874
  # Configuration for Binary Authorization.
871
875
  # @!attribute [rw] enabled
872
876
  # @return [::Boolean]
873
- # Enable Binary Authorization for this cluster. If enabled, all container
874
- # images will be validated by Binary Authorization.
877
+ # This field is deprecated. Leave this unset and instead configure
878
+ # BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
879
+ # anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
875
880
  # @!attribute [rw] evaluation_mode
876
881
  # @return [::Google::Cloud::Container::V1::BinaryAuthorization::EvaluationMode]
877
882
  # Mode of operation for binauthz policy evaluation. Currently the only
@@ -1394,7 +1399,10 @@ module Google
1394
1399
  # Subset of NodeConfig message that has defaults.
1395
1400
  # @!attribute [rw] gcfs_config
1396
1401
  # @return [::Google::Cloud::Container::V1::GcfsConfig]
1397
- # GCFS (Google Container File System, a.k.a. Riptide) options.
1402
+ # GCFS (Google Container File System, also known as Riptide) options.
1403
+ # @!attribute [rw] logging_config
1404
+ # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1405
+ # Logging configuration for node pools.
1398
1406
  class NodeConfigDefaults
1399
1407
  include ::Google::Protobuf::MessageExts
1400
1408
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1561,6 +1569,9 @@ module Google
1561
1569
  # @return [::Google::Cloud::Container::V1::NetworkTags]
1562
1570
  # The desired network tags that apply to all auto-provisioned node pools
1563
1571
  # in autopilot clusters and node auto-provisioning enabled clusters.
1572
+ # @!attribute [rw] desired_node_pool_logging_config
1573
+ # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1574
+ # The desired node pool logging configuration defaults for the cluster.
1564
1575
  class ClusterUpdate
1565
1576
  include ::Google::Protobuf::MessageExts
1566
1577
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1910,6 +1921,9 @@ module Google
1910
1921
  # @!attribute [rw] gvnic
1911
1922
  # @return [::Google::Cloud::Container::V1::VirtualNIC]
1912
1923
  # Enable or disable gvnic on the node pool.
1924
+ # @!attribute [rw] logging_config
1925
+ # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1926
+ # Logging configuration.
1913
1927
  class UpdateNodePoolRequest
1914
1928
  include ::Google::Protobuf::MessageExts
1915
1929
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3023,7 +3037,7 @@ module Google
3023
3037
  # @return [::String]
3024
3038
  # The name (project, location, cluster, node pool id) of the node pool to
3025
3039
  # complete upgrade.
3026
- # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
3040
+ # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3027
3041
  class CompleteNodePoolUpgradeRequest
3028
3042
  include ::Google::Protobuf::MessageExts
3029
3043
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3136,9 +3150,10 @@ module Google
3136
3150
  # minCpuPlatform: Intel Haswell or
3137
3151
  # minCpuPlatform: Intel Sandy Bridge. For more
3138
3152
  # information, read [how to specify min CPU
3139
- # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
3153
+ # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
3140
3154
  # This field is deprecated, min_cpu_platform should be specified using
3141
- # cloud.google.com/requested-min-cpu-platform label selector on the pod.
3155
+ # https://cloud.google.com/requested-min-cpu-platform label selector on the
3156
+ # pod.
3142
3157
  # To unset the min cpu platform field pass "automatic"
3143
3158
  # as field value.
3144
3159
  # @!attribute [rw] disk_size_gb
@@ -4246,6 +4261,36 @@ module Google
4246
4261
  extend ::Google::Protobuf::MessageExts::ClassMethods
4247
4262
  end
4248
4263
 
4264
+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
4265
+ # @!attribute [rw] variant_config
4266
+ # @return [::Google::Cloud::Container::V1::LoggingVariantConfig]
4267
+ # Logging variant configuration.
4268
+ class NodePoolLoggingConfig
4269
+ include ::Google::Protobuf::MessageExts
4270
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4271
+ end
4272
+
4273
+ # LoggingVariantConfig specifies the behaviour of the logging component.
4274
+ # @!attribute [rw] variant
4275
+ # @return [::Google::Cloud::Container::V1::LoggingVariantConfig::Variant]
4276
+ # Logging variant deployed on nodes.
4277
+ class LoggingVariantConfig
4278
+ include ::Google::Protobuf::MessageExts
4279
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4280
+
4281
+ # Logging component variants.
4282
+ module Variant
4283
+ # Default value. This shouldn't be used.
4284
+ VARIANT_UNSPECIFIED = 0
4285
+
4286
+ # default logging variant.
4287
+ DEFAULT = 1
4288
+
4289
+ # maximum logging throughput variant.
4290
+ MAX_THROUGHPUT = 2
4291
+ end
4292
+ end
4293
+
4249
4294
  # MonitoringComponentConfig is cluster monitoring component configuration.
4250
4295
  # @!attribute [rw] enable_components
4251
4296
  # @return [::Array<::Google::Cloud::Container::V1::MonitoringComponentConfig::Component>]
@@ -26,8 +26,6 @@ module Google
26
26
  # service Foo {
27
27
  # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
28
28
  # }
29
- #
30
- # The JSON representation for `Empty` is empty JSON object `{}`.
31
29
  class Empty
32
30
  include ::Google::Protobuf::MessageExts
33
31
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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-07-02 00:00:00.000000000 Z
11
+ date: 2022-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common