google-cloud-container-v1beta1 0.14.0 → 0.16.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: b33b8aa59e88f8e3c098f6ac61d28da6310e8f2934610a71eead145e438d8d23
4
- data.tar.gz: ab2a03f595a19d7ae7b957d6007231b6a0e5af481d127222e5cd79695819c82d
3
+ metadata.gz: 930af6c764f95b8c654c9910dd91d9d35ee434d41b7cda8a2308acd0889c41bf
4
+ data.tar.gz: ad573cb545d9e6569a1b7b2ab0a031a7c522e7aff118835cbd253236bbeecc07
5
5
  SHA512:
6
- metadata.gz: 291cf8c1b4dc35fadb544dd91ee2950b14ab1b48bb5745f90c728e96f67459e21b994674fa52115640cdd77f3b3200fa6a7a59462855d92a02a4d297a93996cd
7
- data.tar.gz: efd942c28fe7289f77e6331089a8718cf5893669f7de319f8734f19a967ebf07514eb2a1806b7d218ebe2acbaf891f3b284f88293c148db579c5a3e673d53ec6
6
+ metadata.gz: 3b5bc5b9e5911c14a6ffd3ca3e8ef0ac07f96eaeaeb2508b121c7114a78d53a27041d98f0e56eb10858a5d6948158077b94852edf89d420d8c1a49143f951fd2
7
+ data.tar.gz: de05f4081544af55b3853290adfb9442bd2a04ad6a077e2c183aaefc74140ccc8b2ca56e0b88362c6cb869a833f0b2dff299e105d249554bfccaa9532b891f8f
@@ -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, fast_socket: nil, logging_config: nil, resource_labels: 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, etag: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_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,10 @@ 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 etag [::String]
737
+ # The current etag of the node pool.
738
+ # If an etag is provided and does not match the current etag of the node
739
+ # pool, update will be blocked and an ABORTED error will be returned.
736
740
  # @param fast_socket [::Google::Cloud::Container::V1beta1::FastSocket, ::Hash]
737
741
  # Enable or disable NCCL fast socket for the node pool.
738
742
  # @param logging_config [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig, ::Hash]
@@ -740,6 +744,8 @@ module Google
740
744
  # @param resource_labels [::Google::Cloud::Container::V1beta1::ResourceLabels, ::Hash]
741
745
  # The resource labels for the node pool to use to annotate any related
742
746
  # Google Compute Engine resources.
747
+ # @param windows_node_config [::Google::Cloud::Container::V1beta1::WindowsNodeConfig, ::Hash]
748
+ # Parameters that can be configured on Windows nodes.
743
749
  #
744
750
  # @yield [response, operation] Access the result along with the RPC operation
745
751
  # @yieldparam response [::Google::Cloud::Container::V1beta1::Operation]
@@ -33,7 +33,7 @@ module Google
33
33
  ##
34
34
  # Google Kubernetes Engine Cluster Manager v1beta1
35
35
  #
36
- # To load this service and instantiate a client:
36
+ # @example Load this service and instantiate a gRPC client
37
37
  #
38
38
  # require "google/cloud/container/v1beta1/cluster_manager"
39
39
  # client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1beta1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.16.0"
25
25
  end
26
26
  end
27
27
  end
@@ -23,9 +23,9 @@ module Google
23
23
  module Cloud
24
24
  module Container
25
25
  ##
26
- # To load this package, including all its services, and instantiate a client:
26
+ # API client module.
27
27
  #
28
- # @example
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
29
  #
30
30
  # require "google/cloud/container/v1beta1"
31
31
  # client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new
@@ -26,6 +26,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
26
26
  value :CGROUP_MODE_V1, 1
27
27
  value :CGROUP_MODE_V2, 2
28
28
  end
29
+ add_message "google.container.v1beta1.WindowsNodeConfig" do
30
+ optional :os_version, :enum, 1, "google.container.v1beta1.WindowsNodeConfig.OSVersion"
31
+ end
32
+ add_enum "google.container.v1beta1.WindowsNodeConfig.OSVersion" do
33
+ value :OS_VERSION_UNSPECIFIED, 0
34
+ value :OS_VERSION_LTSC2019, 1
35
+ value :OS_VERSION_LTSC2022, 2
36
+ end
29
37
  add_message "google.container.v1beta1.NodeKubeletConfig" do
30
38
  optional :cpu_manager_policy, :string, 1
31
39
  optional :cpu_cfs_quota, :message, 2, "google.protobuf.BoolValue"
@@ -64,6 +72,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
64
72
  proto3_optional :fast_socket, :message, 36, "google.container.v1beta1.FastSocket"
65
73
  map :resource_labels, :string, :string, 37
66
74
  optional :logging_config, :message, 38, "google.container.v1beta1.NodePoolLoggingConfig"
75
+ optional :windows_node_config, :message, 39, "google.container.v1beta1.WindowsNodeConfig"
76
+ optional :local_nvme_ssd_block_config, :message, 40, "google.container.v1beta1.LocalNvmeSsdBlockConfig"
77
+ optional :ephemeral_storage_local_ssd_config, :message, 41, "google.container.v1beta1.EphemeralStorageLocalSsdConfig"
67
78
  end
68
79
  add_message "google.container.v1beta1.AdvancedMachineFeatures" do
69
80
  proto3_optional :threads_per_core, :int64, 1
@@ -98,6 +109,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
98
109
  add_message "google.container.v1beta1.EphemeralStorageConfig" do
99
110
  optional :local_ssd_count, :int32, 1
100
111
  end
112
+ add_message "google.container.v1beta1.LocalNvmeSsdBlockConfig" do
113
+ optional :local_ssd_count, :int32, 1
114
+ end
115
+ add_message "google.container.v1beta1.EphemeralStorageLocalSsdConfig" do
116
+ optional :local_ssd_count, :int32, 1
117
+ end
101
118
  add_message "google.container.v1beta1.GcfsConfig" do
102
119
  optional :enabled, :bool, 1
103
120
  end
@@ -367,6 +384,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
367
384
  optional :monitoring_config, :message, 133, "google.container.v1beta1.MonitoringConfig"
368
385
  optional :node_pool_auto_config, :message, 136, "google.container.v1beta1.NodePoolAutoConfig"
369
386
  proto3_optional :protect_config, :message, 137, "google.container.v1beta1.ProtectConfig"
387
+ optional :etag, :string, 139
370
388
  end
371
389
  add_enum "google.container.v1beta1.Cluster.Status" do
372
390
  value :STATUS_UNSPECIFIED, 0
@@ -451,7 +469,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
451
469
  optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1beta1.NetworkTags"
452
470
  proto3_optional :desired_protect_config, :message, 112, "google.container.v1beta1.ProtectConfig"
453
471
  optional :desired_gateway_api_config, :message, 114, "google.container.v1beta1.GatewayAPIConfig"
472
+ optional :etag, :string, 115
454
473
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1beta1.NodePoolLoggingConfig"
474
+ optional :desired_stack_type, :enum, 119, "google.container.v1beta1.StackType"
455
475
  end
456
476
  add_message "google.container.v1beta1.Operation" do
457
477
  optional :name, :string, 1
@@ -549,9 +569,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
549
569
  optional :gcfs_config, :message, 22, "google.container.v1beta1.GcfsConfig"
550
570
  optional :confidential_nodes, :message, 23, "google.container.v1beta1.ConfidentialNodes"
551
571
  optional :gvnic, :message, 29, "google.container.v1beta1.VirtualNIC"
572
+ optional :etag, :string, 30
552
573
  optional :fast_socket, :message, 31, "google.container.v1beta1.FastSocket"
553
574
  optional :logging_config, :message, 32, "google.container.v1beta1.NodePoolLoggingConfig"
554
575
  optional :resource_labels, :message, 33, "google.container.v1beta1.ResourceLabels"
576
+ optional :windows_node_config, :message, 34, "google.container.v1beta1.WindowsNodeConfig"
555
577
  end
556
578
  add_message "google.container.v1beta1.SetNodePoolAutoscalingRequest" do
557
579
  optional :project_id, :string, 1
@@ -737,6 +759,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
737
759
  optional :upgrade_settings, :message, 107, "google.container.v1beta1.NodePool.UpgradeSettings"
738
760
  optional :placement_policy, :message, 108, "google.container.v1beta1.NodePool.PlacementPolicy"
739
761
  optional :update_info, :message, 109, "google.container.v1beta1.NodePool.UpdateInfo"
762
+ optional :etag, :string, 110
740
763
  end
741
764
  add_message "google.container.v1beta1.NodePool.UpgradeSettings" do
742
765
  optional :max_surge, :int32, 1
@@ -1290,6 +1313,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1290
1313
  value :LEGACY_DATAPATH, 1
1291
1314
  value :ADVANCED_DATAPATH, 2
1292
1315
  end
1316
+ add_enum "google.container.v1beta1.StackType" do
1317
+ value :STACK_TYPE_UNSPECIFIED, 0
1318
+ value :IPV4, 1
1319
+ value :IPV4_IPV6, 2
1320
+ end
1293
1321
  end
1294
1322
  end
1295
1323
 
@@ -1299,6 +1327,8 @@ module Google
1299
1327
  module V1beta1
1300
1328
  LinuxNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LinuxNodeConfig").msgclass
1301
1329
  LinuxNodeConfig::CgroupMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LinuxNodeConfig.CgroupMode").enummodule
1330
+ WindowsNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.WindowsNodeConfig").msgclass
1331
+ WindowsNodeConfig::OSVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.WindowsNodeConfig.OSVersion").enummodule
1302
1332
  NodeKubeletConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeKubeletConfig").msgclass
1303
1333
  NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeConfig").msgclass
1304
1334
  AdvancedMachineFeatures = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.AdvancedMachineFeatures").msgclass
@@ -1309,6 +1339,8 @@ module Google
1309
1339
  SandboxConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.SandboxConfig").msgclass
1310
1340
  SandboxConfig::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.SandboxConfig.Type").enummodule
1311
1341
  EphemeralStorageConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.EphemeralStorageConfig").msgclass
1342
+ LocalNvmeSsdBlockConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LocalNvmeSsdBlockConfig").msgclass
1343
+ EphemeralStorageLocalSsdConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.EphemeralStorageLocalSsdConfig").msgclass
1312
1344
  GcfsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GcfsConfig").msgclass
1313
1345
  ReservationAffinity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ReservationAffinity").msgclass
1314
1346
  ReservationAffinity::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ReservationAffinity.Type").enummodule
@@ -1506,6 +1538,7 @@ module Google
1506
1538
  UpgradeResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.UpgradeResourceType").enummodule
1507
1539
  NodePoolUpdateStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodePoolUpdateStrategy").enummodule
1508
1540
  DatapathProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.DatapathProvider").enummodule
1541
+ StackType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.StackType").enummodule
1509
1542
  end
1510
1543
  end
1511
1544
  end
@@ -72,6 +72,29 @@ module Google
72
72
  end
73
73
  end
74
74
 
75
+ # Parameters that can be configured on Windows nodes.
76
+ # Windows Node Config that define the parameters that will be used to
77
+ # configure the Windows node pool settings
78
+ # @!attribute [rw] os_version
79
+ # @return [::Google::Cloud::Container::V1beta1::WindowsNodeConfig::OSVersion]
80
+ # OSVersion specifies the Windows node config to be used on the node
81
+ class WindowsNodeConfig
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+
85
+ # Possible OS version that can be used.
86
+ module OSVersion
87
+ # When OSVersion is not specified
88
+ OS_VERSION_UNSPECIFIED = 0
89
+
90
+ # LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image
91
+ OS_VERSION_LTSC2019 = 1
92
+
93
+ # LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image
94
+ OS_VERSION_LTSC2022 = 2
95
+ end
96
+ end
97
+
75
98
  # Node kubelet configs.
76
99
  # @!attribute [rw] cpu_manager_policy
77
100
  # @return [::String]
@@ -317,6 +340,17 @@ module Google
317
340
  # @!attribute [rw] logging_config
318
341
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
319
342
  # Logging configuration.
343
+ # @!attribute [rw] windows_node_config
344
+ # @return [::Google::Cloud::Container::V1beta1::WindowsNodeConfig]
345
+ # Parameters that can be configured on Windows nodes.
346
+ # @!attribute [rw] local_nvme_ssd_block_config
347
+ # @return [::Google::Cloud::Container::V1beta1::LocalNvmeSsdBlockConfig]
348
+ # Parameters for using raw-block Local NVMe SSDs.
349
+ # @!attribute [rw] ephemeral_storage_local_ssd_config
350
+ # @return [::Google::Cloud::Container::V1beta1::EphemeralStorageLocalSsdConfig]
351
+ # Parameters for the node ephemeral storage using Local SSDs.
352
+ # If unspecified, ephemeral storage is backed by the boot disk.
353
+ # This field is functionally equivalent to the ephemeral_storage_config
320
354
  class NodeConfig
321
355
  include ::Google::Protobuf::MessageExts
322
356
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -491,6 +525,38 @@ module Google
491
525
  extend ::Google::Protobuf::MessageExts::ClassMethods
492
526
  end
493
527
 
528
+ # LocalNvmeSsdBlockConfig contains configuration for using raw-block local
529
+ # NVMe SSDs
530
+ # @!attribute [rw] local_ssd_count
531
+ # @return [::Integer]
532
+ # The number of raw-block local NVMe SSD disks to be attached to the node.
533
+ # Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe
534
+ # SSD disks to be attached to the node.
535
+ # The limit for this value is dependent upon the maximum number of
536
+ # disks available on a machine per zone. See:
537
+ # https://cloud.google.com/compute/docs/disks/local-ssd
538
+ # for more information.
539
+ class LocalNvmeSsdBlockConfig
540
+ include ::Google::Protobuf::MessageExts
541
+ extend ::Google::Protobuf::MessageExts::ClassMethods
542
+ end
543
+
544
+ # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
545
+ # storage using Local SSDs.
546
+ # @!attribute [rw] local_ssd_count
547
+ # @return [::Integer]
548
+ # Number of local SSDs to use to back ephemeral storage. Uses NVMe
549
+ # interfaces. Each local SSD is 375 GB in size.
550
+ # If zero, it means to disable using local SSDs as ephemeral storage.
551
+ # The limit for this value is dependent upon the maximum number of
552
+ # disks available on a machine per zone. See:
553
+ # https://cloud.google.com/compute/docs/disks/local-ssd
554
+ # for more information.
555
+ class EphemeralStorageLocalSsdConfig
556
+ include ::Google::Protobuf::MessageExts
557
+ extend ::Google::Protobuf::MessageExts::ClassMethods
558
+ end
559
+
494
560
  # GcfsConfig contains configurations of Google Container File System.
495
561
  # @!attribute [rw] enabled
496
562
  # @return [::Boolean]
@@ -1595,6 +1661,11 @@ module Google
1595
1661
  # @!attribute [rw] protect_config
1596
1662
  # @return [::Google::Cloud::Container::V1beta1::ProtectConfig]
1597
1663
  # Enable/Disable Protect API features for the cluster.
1664
+ # @!attribute [rw] etag
1665
+ # @return [::String]
1666
+ # This checksum is computed by the server based on the value of cluster
1667
+ # fields, and may be sent on update requests to ensure the client has an
1668
+ # up-to-date value before proceeding.
1598
1669
  class Cluster
1599
1670
  include ::Google::Protobuf::MessageExts
1600
1671
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1923,9 +1994,19 @@ module Google
1923
1994
  # @!attribute [rw] desired_gateway_api_config
1924
1995
  # @return [::Google::Cloud::Container::V1beta1::GatewayAPIConfig]
1925
1996
  # The desired config of Gateway API on this cluster.
1997
+ # @!attribute [rw] etag
1998
+ # @return [::String]
1999
+ # The current etag of the cluster.
2000
+ # If an etag is provided and does not match the current etag of the cluster,
2001
+ # update will be blocked and an ABORTED error will be returned.
1926
2002
  # @!attribute [rw] desired_node_pool_logging_config
1927
2003
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
1928
2004
  # The desired node pool logging configuration defaults for the cluster.
2005
+ # @!attribute [rw] desired_stack_type
2006
+ # @return [::Google::Cloud::Container::V1beta1::StackType]
2007
+ # The desired stack type of the cluster.
2008
+ # If a stack type is provided and does not match the current stack type of
2009
+ # the cluster, update will attempt to change the stack type to the new type.
1929
2010
  class ClusterUpdate
1930
2011
  include ::Google::Protobuf::MessageExts
1931
2012
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2275,6 +2356,11 @@ module Google
2275
2356
  # @!attribute [rw] gvnic
2276
2357
  # @return [::Google::Cloud::Container::V1beta1::VirtualNIC]
2277
2358
  # Enable or disable gvnic on the node pool.
2359
+ # @!attribute [rw] etag
2360
+ # @return [::String]
2361
+ # The current etag of the node pool.
2362
+ # If an etag is provided and does not match the current etag of the node
2363
+ # pool, update will be blocked and an ABORTED error will be returned.
2278
2364
  # @!attribute [rw] fast_socket
2279
2365
  # @return [::Google::Cloud::Container::V1beta1::FastSocket]
2280
2366
  # Enable or disable NCCL fast socket for the node pool.
@@ -2285,6 +2371,9 @@ module Google
2285
2371
  # @return [::Google::Cloud::Container::V1beta1::ResourceLabels]
2286
2372
  # The resource labels for the node pool to use to annotate any related
2287
2373
  # Google Compute Engine resources.
2374
+ # @!attribute [rw] windows_node_config
2375
+ # @return [::Google::Cloud::Container::V1beta1::WindowsNodeConfig]
2376
+ # Parameters that can be configured on Windows nodes.
2288
2377
  class UpdateNodePoolRequest
2289
2378
  include ::Google::Protobuf::MessageExts
2290
2379
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3055,6 +3144,11 @@ module Google
3055
3144
  # @return [::Google::Cloud::Container::V1beta1::NodePool::UpdateInfo]
3056
3145
  # Output only. [Output only] Update info contains relevant information during a node
3057
3146
  # pool update.
3147
+ # @!attribute [rw] etag
3148
+ # @return [::String]
3149
+ # This checksum is computed by the server based on the value of node pool
3150
+ # fields, and may be sent on update requests to ensure the client has an
3151
+ # up-to-date value before proceeding.
3058
3152
  class NodePool
3059
3153
  include ::Google::Protobuf::MessageExts
3060
3154
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -5044,6 +5138,18 @@ module Google
5044
5138
  # for more.
5045
5139
  ADVANCED_DATAPATH = 2
5046
5140
  end
5141
+
5142
+ # Possible values for IP stack type
5143
+ module StackType
5144
+ # By default, the clusters will be IPV4 only
5145
+ STACK_TYPE_UNSPECIFIED = 0
5146
+
5147
+ # The value used if the cluster is a IPV4 only
5148
+ IPV4 = 1
5149
+
5150
+ # The value used if the cluster is a dual stack cluster
5151
+ IPV4_IPV6 = 2
5152
+ end
5047
5153
  end
5048
5154
  end
5049
5155
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
28
28
  # Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
29
29
  module Code
30
- # Not an error; returned on success
30
+ # Not an error; returned on success.
31
31
  #
32
32
  # HTTP Mapping: 200 OK
33
33
  OK = 0
@@ -66,7 +66,7 @@ module Google
66
66
  # Some requested entity (e.g., file or directory) was not found.
67
67
  #
68
68
  # Note to server developers: if a request is denied for an entire class
69
- # of users, such as gradual feature rollout or undocumented whitelist,
69
+ # of users, such as gradual feature rollout or undocumented allowlist,
70
70
  # `NOT_FOUND` may be used. If a request is denied for some users within
71
71
  # a class of users, such as user-based access control, `PERMISSION_DENIED`
72
72
  # must be used.
@@ -112,11 +112,11 @@ module Google
112
112
  # Service implementors can use the following guidelines to decide
113
113
  # between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
114
114
  # (a) Use `UNAVAILABLE` if the client can retry just the failing call.
115
- # (b) Use `ABORTED` if the client should retry at a higher level
116
- # (e.g., when a client-specified test-and-set fails, indicating the
117
- # client should restart a read-modify-write sequence).
115
+ # (b) Use `ABORTED` if the client should retry at a higher level. For
116
+ # example, when a client-specified test-and-set fails, indicating the
117
+ # client should restart a read-modify-write sequence.
118
118
  # (c) Use `FAILED_PRECONDITION` if the client should not retry until
119
- # the system state has been explicitly fixed. E.g., if an "rmdir"
119
+ # the system state has been explicitly fixed. For example, if an "rmdir"
120
120
  # fails because the directory is non-empty, `FAILED_PRECONDITION`
121
121
  # should be returned since the client should not retry unless
122
122
  # the files are deleted from the directory.
@@ -28,12 +28,14 @@ module Google
28
28
  # [API Design Guide](https://cloud.google.com/apis/design/errors).
29
29
  # @!attribute [rw] code
30
30
  # @return [::Integer]
31
- # The status code, which should be an enum value of {::Google::Rpc::Code google.rpc.Code}.
31
+ # The status code, which should be an enum value of
32
+ # {::Google::Rpc::Code google.rpc.Code}.
32
33
  # @!attribute [rw] message
33
34
  # @return [::String]
34
35
  # A developer-facing error message, which should be in English. Any
35
36
  # user-facing error message should be localized and sent in the
36
- # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized by the client.
37
+ # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
38
+ # by the client.
37
39
  # @!attribute [rw] details
38
40
  # @return [::Array<::Google::Protobuf::Any>]
39
41
  # A list of messages that carry the error details. There is a common set of
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.14.0
4
+ version: 0.16.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-12-09 00:00:00.000000000 Z
11
+ date: 2023-01-11 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.12'
19
+ version: 0.16.0
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.12'
29
+ version: 0.16.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  - !ruby/object:Gem::Version
212
212
  version: '0'
213
213
  requirements: []
214
- rubygems_version: 3.3.14
214
+ rubygems_version: 3.4.2
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: API Client library for the Kubernetes Engine V1beta1 API