google-cloud-container-v1 0.13.0 → 0.15.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: 8a8e1dfa894f159b41ddfdcc35533d2f43748f1b28f92b156c85e4c8f89acbd8
4
- data.tar.gz: 8a0595406eef4bb4bd2e8322990acf8490d7c20d24afddc0d8278277fdd087c0
3
+ metadata.gz: 3e661227b003af15dc5da1bd9b8d2e8595375cff44cb7aef0b3d9ea779e4c6ff
4
+ data.tar.gz: '0811df68b296b54f05989f8c510c3b0174d46eeb0b5c2e19ea9569ef8aaf28dc'
5
5
  SHA512:
6
- metadata.gz: cd058bf190e9850fff92d7802b89078c360b34fec237acdb66de0ba9c64bc60dbba1ad8faa73187b3f802babdc34302bbac5030a7dce7a7bfcfbf7029fe74aef
7
- data.tar.gz: 86588e96fd50b8afca0ceb4305c57c0eb7dfc45c59ad88ef8698bcf55ad094404d5351820f5a461ef9090c7c8f0478a553262a5b368c92f9d21b6029d4d3d733
6
+ metadata.gz: e44a21e04bed876798c9453bcd05fdebc6fe2e3a5c3e210f73f90f09dfab3e061abea15e783ca96fb14f0180f0e43cf57bbf62ac49ffa85fc5f313c9a9b51a2c
7
+ data.tar.gz: 3c3017b05f59b13bbe0e78f2d34e5e88c8cd7cfb6179e91d91ba689c924a9927bfe7e4de15a917a50aa06a054596f75e22c6219eb5d4f18b2392320a7f264e91
@@ -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, fast_socket: nil, logging_config: nil, resource_labels: 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, etag: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_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,10 @@ 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 etag [::String]
727
+ # The current etag of the node pool.
728
+ # If an etag is provided and does not match the current etag of the node
729
+ # pool, update will be blocked and an ABORTED error will be returned.
726
730
  # @param fast_socket [::Google::Cloud::Container::V1::FastSocket, ::Hash]
727
731
  # Enable or disable NCCL fast socket for the node pool.
728
732
  # @param logging_config [::Google::Cloud::Container::V1::NodePoolLoggingConfig, ::Hash]
@@ -730,6 +734,8 @@ module Google
730
734
  # @param resource_labels [::Google::Cloud::Container::V1::ResourceLabels, ::Hash]
731
735
  # The resource labels for the node pool to use to annotate any related
732
736
  # Google Compute Engine resources.
737
+ # @param windows_node_config [::Google::Cloud::Container::V1::WindowsNodeConfig, ::Hash]
738
+ # Parameters that can be configured on Windows nodes.
733
739
  #
734
740
  # @yield [response, operation] Access the result along with the RPC operation
735
741
  # @yieldparam response [::Google::Cloud::Container::V1::Operation]
@@ -33,7 +33,7 @@ module Google
33
33
  ##
34
34
  # Google Kubernetes Engine Cluster Manager v1
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/v1/cluster_manager"
39
39
  # client = ::Google::Cloud::Container::V1::ClusterManager::Client.new
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "0.13.0"
24
+ VERSION = "0.15.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/v1"
31
31
  # client = ::Google::Cloud::Container::V1::ClusterManager::Client.new
@@ -25,6 +25,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
25
25
  value :CGROUP_MODE_V1, 1
26
26
  value :CGROUP_MODE_V2, 2
27
27
  end
28
+ add_message "google.container.v1.WindowsNodeConfig" do
29
+ optional :os_version, :enum, 1, "google.container.v1.WindowsNodeConfig.OSVersion"
30
+ end
31
+ add_enum "google.container.v1.WindowsNodeConfig.OSVersion" do
32
+ value :OS_VERSION_UNSPECIFIED, 0
33
+ value :OS_VERSION_LTSC2019, 1
34
+ value :OS_VERSION_LTSC2022, 2
35
+ end
28
36
  add_message "google.container.v1.NodeKubeletConfig" do
29
37
  optional :cpu_manager_policy, :string, 1
30
38
  optional :cpu_cfs_quota, :message, 2, "google.protobuf.BoolValue"
@@ -62,6 +70,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
62
70
  proto3_optional :fast_socket, :message, 36, "google.container.v1.FastSocket"
63
71
  map :resource_labels, :string, :string, 37
64
72
  optional :logging_config, :message, 38, "google.container.v1.NodePoolLoggingConfig"
73
+ optional :windows_node_config, :message, 39, "google.container.v1.WindowsNodeConfig"
74
+ optional :local_nvme_ssd_block_config, :message, 40, "google.container.v1.LocalNvmeSsdBlockConfig"
75
+ optional :ephemeral_storage_local_ssd_config, :message, 41, "google.container.v1.EphemeralStorageLocalSsdConfig"
65
76
  end
66
77
  add_message "google.container.v1.AdvancedMachineFeatures" do
67
78
  proto3_optional :threads_per_core, :int64, 1
@@ -313,6 +324,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
313
324
  optional :logging_config, :message, 132, "google.container.v1.LoggingConfig"
314
325
  optional :monitoring_config, :message, 133, "google.container.v1.MonitoringConfig"
315
326
  optional :node_pool_auto_config, :message, 136, "google.container.v1.NodePoolAutoConfig"
327
+ optional :etag, :string, 139
316
328
  end
317
329
  add_enum "google.container.v1.Cluster.Status" do
318
330
  value :STATUS_UNSPECIFIED, 0
@@ -371,7 +383,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
371
383
  optional :desired_gcfs_config, :message, 109, "google.container.v1.GcfsConfig"
372
384
  optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1.NetworkTags"
373
385
  optional :desired_gateway_api_config, :message, 114, "google.container.v1.GatewayAPIConfig"
386
+ optional :etag, :string, 115
374
387
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1.NodePoolLoggingConfig"
388
+ optional :desired_stack_type, :enum, 119, "google.container.v1.StackType"
375
389
  end
376
390
  add_message "google.container.v1.Operation" do
377
391
  optional :name, :string, 1
@@ -469,9 +483,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
469
483
  optional :gcfs_config, :message, 22, "google.container.v1.GcfsConfig"
470
484
  optional :confidential_nodes, :message, 23, "google.container.v1.ConfidentialNodes"
471
485
  optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
486
+ optional :etag, :string, 30
472
487
  optional :fast_socket, :message, 31, "google.container.v1.FastSocket"
473
488
  optional :logging_config, :message, 32, "google.container.v1.NodePoolLoggingConfig"
474
489
  optional :resource_labels, :message, 33, "google.container.v1.ResourceLabels"
490
+ optional :windows_node_config, :message, 34, "google.container.v1.WindowsNodeConfig"
475
491
  end
476
492
  add_message "google.container.v1.SetNodePoolAutoscalingRequest" do
477
493
  optional :project_id, :string, 1
@@ -643,6 +659,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
643
659
  optional :upgrade_settings, :message, 107, "google.container.v1.NodePool.UpgradeSettings"
644
660
  optional :placement_policy, :message, 108, "google.container.v1.NodePool.PlacementPolicy"
645
661
  optional :update_info, :message, 109, "google.container.v1.NodePool.UpdateInfo"
662
+ optional :etag, :string, 110
646
663
  end
647
664
  add_message "google.container.v1.NodePool.UpgradeSettings" do
648
665
  optional :max_surge, :int32, 1
@@ -963,6 +980,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
963
980
  end
964
981
  add_enum "google.container.v1.DNSConfig.DNSScope" do
965
982
  value :DNS_SCOPE_UNSPECIFIED, 0
983
+ value :CLUSTER_SCOPE, 1
966
984
  value :VPC_SCOPE, 2
967
985
  end
968
986
  add_message "google.container.v1.MaxPodsConstraint" do
@@ -1132,6 +1150,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1132
1150
  add_message "google.container.v1.ManagedPrometheusConfig" do
1133
1151
  optional :enabled, :bool, 1
1134
1152
  end
1153
+ add_message "google.container.v1.LocalNvmeSsdBlockConfig" do
1154
+ optional :local_ssd_count, :int32, 1
1155
+ end
1156
+ add_message "google.container.v1.EphemeralStorageLocalSsdConfig" do
1157
+ optional :local_ssd_count, :int32, 1
1158
+ end
1135
1159
  add_enum "google.container.v1.PrivateIPv6GoogleAccess" do
1136
1160
  value :PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, 0
1137
1161
  value :PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED, 1
@@ -1172,6 +1196,8 @@ module Google
1172
1196
  module V1
1173
1197
  LinuxNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LinuxNodeConfig").msgclass
1174
1198
  LinuxNodeConfig::CgroupMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LinuxNodeConfig.CgroupMode").enummodule
1199
+ WindowsNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.WindowsNodeConfig").msgclass
1200
+ WindowsNodeConfig::OSVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.WindowsNodeConfig.OSVersion").enummodule
1175
1201
  NodeKubeletConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeKubeletConfig").msgclass
1176
1202
  NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeConfig").msgclass
1177
1203
  AdvancedMachineFeatures = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AdvancedMachineFeatures").msgclass
@@ -1350,6 +1376,8 @@ module Google
1350
1376
  MonitoringComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig").msgclass
1351
1377
  MonitoringComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig.Component").enummodule
1352
1378
  ManagedPrometheusConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ManagedPrometheusConfig").msgclass
1379
+ LocalNvmeSsdBlockConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LocalNvmeSsdBlockConfig").msgclass
1380
+ EphemeralStorageLocalSsdConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.EphemeralStorageLocalSsdConfig").msgclass
1353
1381
  PrivateIPv6GoogleAccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.PrivateIPv6GoogleAccess").enummodule
1354
1382
  UpgradeResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.UpgradeResourceType").enummodule
1355
1383
  DatapathProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DatapathProvider").enummodule
@@ -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::V1::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]
@@ -312,6 +335,16 @@ module Google
312
335
  # @!attribute [rw] logging_config
313
336
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
314
337
  # Logging configuration.
338
+ # @!attribute [rw] windows_node_config
339
+ # @return [::Google::Cloud::Container::V1::WindowsNodeConfig]
340
+ # Parameters that can be configured on Windows nodes.
341
+ # @!attribute [rw] local_nvme_ssd_block_config
342
+ # @return [::Google::Cloud::Container::V1::LocalNvmeSsdBlockConfig]
343
+ # Parameters for using raw-block Local NVMe SSDs.
344
+ # @!attribute [rw] ephemeral_storage_local_ssd_config
345
+ # @return [::Google::Cloud::Container::V1::EphemeralStorageLocalSsdConfig]
346
+ # Parameters for the node ephemeral storage using Local SSDs.
347
+ # If unspecified, ephemeral storage is backed by the boot disk.
315
348
  class NodeConfig
316
349
  include ::Google::Protobuf::MessageExts
317
350
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1416,6 +1449,11 @@ module Google
1416
1449
  # @return [::Google::Cloud::Container::V1::NodePoolAutoConfig]
1417
1450
  # Node pool configs that apply to all auto-provisioned node pools
1418
1451
  # in autopilot clusters and node auto-provisioning enabled clusters.
1452
+ # @!attribute [rw] etag
1453
+ # @return [::String]
1454
+ # This checksum is computed by the server based on the value of cluster
1455
+ # fields, and may be sent on update requests to ensure the client has an
1456
+ # up-to-date value before proceeding.
1419
1457
  class Cluster
1420
1458
  include ::Google::Protobuf::MessageExts
1421
1459
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1663,9 +1701,19 @@ module Google
1663
1701
  # @!attribute [rw] desired_gateway_api_config
1664
1702
  # @return [::Google::Cloud::Container::V1::GatewayAPIConfig]
1665
1703
  # The desired config of Gateway API on this cluster.
1704
+ # @!attribute [rw] etag
1705
+ # @return [::String]
1706
+ # The current etag of the cluster.
1707
+ # If an etag is provided and does not match the current etag of the cluster,
1708
+ # update will be blocked and an ABORTED error will be returned.
1666
1709
  # @!attribute [rw] desired_node_pool_logging_config
1667
1710
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1668
1711
  # The desired node pool logging configuration defaults for the cluster.
1712
+ # @!attribute [rw] desired_stack_type
1713
+ # @return [::Google::Cloud::Container::V1::StackType]
1714
+ # The desired stack type of the cluster.
1715
+ # If a stack type is provided and does not match the current stack type of
1716
+ # the cluster, update will attempt to change the stack type to the new type.
1669
1717
  class ClusterUpdate
1670
1718
  include ::Google::Protobuf::MessageExts
1671
1719
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2015,6 +2063,11 @@ module Google
2015
2063
  # @!attribute [rw] gvnic
2016
2064
  # @return [::Google::Cloud::Container::V1::VirtualNIC]
2017
2065
  # Enable or disable gvnic on the node pool.
2066
+ # @!attribute [rw] etag
2067
+ # @return [::String]
2068
+ # The current etag of the node pool.
2069
+ # If an etag is provided and does not match the current etag of the node
2070
+ # pool, update will be blocked and an ABORTED error will be returned.
2018
2071
  # @!attribute [rw] fast_socket
2019
2072
  # @return [::Google::Cloud::Container::V1::FastSocket]
2020
2073
  # Enable or disable NCCL fast socket for the node pool.
@@ -2025,6 +2078,9 @@ module Google
2025
2078
  # @return [::Google::Cloud::Container::V1::ResourceLabels]
2026
2079
  # The resource labels for the node pool to use to annotate any related
2027
2080
  # Google Compute Engine resources.
2081
+ # @!attribute [rw] windows_node_config
2082
+ # @return [::Google::Cloud::Container::V1::WindowsNodeConfig]
2083
+ # Parameters that can be configured on Windows nodes.
2028
2084
  class UpdateNodePoolRequest
2029
2085
  include ::Google::Protobuf::MessageExts
2030
2086
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2719,6 +2775,11 @@ module Google
2719
2775
  # @return [::Google::Cloud::Container::V1::NodePool::UpdateInfo]
2720
2776
  # Output only. [Output only] Update info contains relevant information during a node
2721
2777
  # pool update.
2778
+ # @!attribute [rw] etag
2779
+ # @return [::String]
2780
+ # This checksum is computed by the server based on the value of node pool
2781
+ # fields, and may be sent on update requests to ensure the client has an
2782
+ # up-to-date value before proceeding.
2722
2783
  class NodePool
2723
2784
  include ::Google::Protobuf::MessageExts
2724
2785
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3954,6 +4015,9 @@ module Google
3954
4015
  # Default value, will be inferred as cluster scope.
3955
4016
  DNS_SCOPE_UNSPECIFIED = 0
3956
4017
 
4018
+ # DNS records are accessible from within the cluster.
4019
+ CLUSTER_SCOPE = 1
4020
+
3957
4021
  # DNS records are accessible from within the VPC.
3958
4022
  VPC_SCOPE = 2
3959
4023
  end
@@ -4509,6 +4573,38 @@ module Google
4509
4573
  extend ::Google::Protobuf::MessageExts::ClassMethods
4510
4574
  end
4511
4575
 
4576
+ # LocalNvmeSsdBlockConfig contains configuration for using raw-block local
4577
+ # NVMe SSD.
4578
+ # @!attribute [rw] local_ssd_count
4579
+ # @return [::Integer]
4580
+ # The number of raw-block local NVMe SSD disks to be attached to the node.
4581
+ # Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe
4582
+ # SSD disks to be attached to the node.
4583
+ # The limit for this value is dependent upon the maximum number of
4584
+ # disks available on a machine per zone. See:
4585
+ # https://cloud.google.com/compute/docs/disks/local-ssd
4586
+ # for more information.
4587
+ class LocalNvmeSsdBlockConfig
4588
+ include ::Google::Protobuf::MessageExts
4589
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4590
+ end
4591
+
4592
+ # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
4593
+ # storage using Local SSD.
4594
+ # @!attribute [rw] local_ssd_count
4595
+ # @return [::Integer]
4596
+ # Number of local SSDs to use to back ephemeral storage. Uses NVMe
4597
+ # interfaces. Each local SSD is 375 GB in size.
4598
+ # If zero, it means to disable using local SSDs as ephemeral storage.
4599
+ # The limit for this value is dependent upon the maximum number of
4600
+ # disks available on a machine per zone. See:
4601
+ # https://cloud.google.com/compute/docs/disks/local-ssd
4602
+ # for more information.
4603
+ class EphemeralStorageLocalSsdConfig
4604
+ include ::Google::Protobuf::MessageExts
4605
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4606
+ end
4607
+
4512
4608
  # PrivateIPv6GoogleAccess controls whether and how the pods can communicate
4513
4609
  # with Google Services through gRPC over IPv6.
4514
4610
  module PrivateIPv6GoogleAccess
@@ -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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.15.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-06 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