google-cloud-container-v1 0.19.0 → 0.20.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: 005c1232b76c6cdebac74e1a317ab36d5d60ad063e190ca7dd6552dd3e446dbe
4
- data.tar.gz: 33bc0fe4d40bbf92aebe676abdf5fe38033f03b1442486ac8669a50cd3d69428
3
+ metadata.gz: 9090e69070ad22dcdd7c1cf0898914fee7b38722525c7cb8b3f7cb916859ce74
4
+ data.tar.gz: 584d66c13d1f252ed7c670b3249556782e1199042b2f01cb3524e593baa1bebb
5
5
  SHA512:
6
- metadata.gz: 1f716b5ddc26c4c972b3d09fc3ff71569b9e81723ef63030fab9c796da273eb3c78e2a1246875b0fb690ed7b39ef1f3667e74961c4b0909206b65b6ef3fcd504
7
- data.tar.gz: b1acb73e8b991cb505a552aecc3efdb6a611249c41c24c4f50a777f72f208c99b28355a4f93821ad2291793425e19e9e4cdccf6990436c42fc3a0aaef5a7c80b
6
+ metadata.gz: 05e4c7df4898f057ce790d8b479e28ce85d179d506aab48202647664c876bde2fa28cf03bb6775281893113323ba48883b9e9770051229e80a74da58b67f7543
7
+ data.tar.gz: 58759ea58a202c27d81581535dae06a3b2e3f734eb656e34c369af2e683a89783a455625819299b7d009f56cdd5b1ea55c6fdbbdec7a816419a856d0bcbbea7f
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "0.19.0"
24
+ VERSION = "0.20.0"
25
25
  end
26
26
  end
27
27
  end
@@ -443,6 +443,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
443
443
  value :SET_NODE_POOL_SIZE, 14
444
444
  value :SET_NETWORK_POLICY, 15
445
445
  value :SET_MAINTENANCE_POLICY, 16
446
+ value :RESIZE_CLUSTER, 18
446
447
  end
447
448
  add_message "google.container.v1.OperationProgress" do
448
449
  optional :name, :string, 1
@@ -1010,8 +1011,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1010
1011
  optional :enable_certificates, :message, 1, "google.protobuf.BoolValue"
1011
1012
  end
1012
1013
  add_message "google.container.v1.DatabaseEncryption" do
1013
- optional :state, :enum, 2, "google.container.v1.DatabaseEncryption.State"
1014
1014
  optional :key_name, :string, 1
1015
+ optional :state, :enum, 2, "google.container.v1.DatabaseEncryption.State"
1015
1016
  end
1016
1017
  add_enum "google.container.v1.DatabaseEncryption.State" do
1017
1018
  value :UNKNOWN, 0
@@ -1820,10 +1820,23 @@ module Google
1820
1820
  # Deprecated. Use the field error instead.
1821
1821
  # @!attribute [rw] self_link
1822
1822
  # @return [::String]
1823
- # Server-defined URL for the resource.
1823
+ # Server-defined URI for the operation. Example:
1824
+ # `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.
1824
1825
  # @!attribute [rw] target_link
1825
1826
  # @return [::String]
1826
- # Server-defined URL for the target of the operation.
1827
+ # Server-defined URI for the target of the operation. The format of this is a
1828
+ # URI to the resource being modified (such as a cluster, node pool, or node).
1829
+ # For node pool repairs, there may be multiple nodes being repaired, but only
1830
+ # one will be the target.
1831
+ #
1832
+ # Examples:
1833
+ #
1834
+ # -
1835
+ # `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
1836
+ # -
1837
+ # `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
1838
+ # -
1839
+ # `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
1827
1840
  # @!attribute [rw] location
1828
1841
  # @return [::String]
1829
1842
  # [Output only] The name of the Google Compute Engine
@@ -1875,58 +1888,125 @@ module Google
1875
1888
  ABORTING = 4
1876
1889
  end
1877
1890
 
1878
- # Operation type.
1891
+ # Operation type categorizes the operation.
1879
1892
  module Type
1880
1893
  # Not set.
1881
1894
  TYPE_UNSPECIFIED = 0
1882
1895
 
1883
- # Cluster create.
1896
+ # The cluster is being created. The cluster should be assumed to be
1897
+ # unusable until the operation finishes.
1898
+ #
1899
+ # In the event of the operation failing, the cluster will enter the [ERROR
1900
+ # state][Cluster.Status.ERROR] and eventually be deleted.
1884
1901
  CREATE_CLUSTER = 1
1885
1902
 
1886
- # Cluster delete.
1903
+ # The cluster is being deleted. The cluster should be assumed to be
1904
+ # unusable as soon as this operation starts.
1905
+ #
1906
+ # In the event of the operation failing, the cluster will enter the [ERROR
1907
+ # state][Cluster.Status.ERROR] and the deletion will be automatically
1908
+ # retried until completed.
1887
1909
  DELETE_CLUSTER = 2
1888
1910
 
1889
- # A master upgrade.
1911
+ # The [cluster
1912
+ # version][google.container.v1.ClusterUpdate.desired_master_version] is
1913
+ # being updated. Note that this includes "upgrades" to the same version,
1914
+ # which are simply a recreation. This also includes
1915
+ # [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically).
1916
+ # For more details, see [documentation on cluster
1917
+ # upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades).
1890
1918
  UPGRADE_MASTER = 3
1891
1919
 
1892
- # A node upgrade.
1920
+ # A node pool is being updated. Despite calling this an "upgrade", this
1921
+ # includes most forms of updates to node pools. This also includes
1922
+ # [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades).
1923
+ #
1924
+ # This operation sets the
1925
+ # {::Google::Cloud::Container::V1::Operation#progress progress} field and may be
1926
+ # {::Google::Cloud::Container::V1::ClusterManager::Client#cancel_operation canceled}.
1927
+ #
1928
+ # The upgrade strategy depends on [node pool
1929
+ # configuration](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies).
1930
+ # The nodes are generally still usable during this operation.
1893
1931
  UPGRADE_NODES = 4
1894
1932
 
1895
- # Cluster repair.
1933
+ # A problem has been detected with the control plane and is being repaired.
1934
+ # This operation type is initiated by GKE. For more details, see
1935
+ # [documentation on
1936
+ # repairs](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).
1896
1937
  REPAIR_CLUSTER = 5
1897
1938
 
1898
- # Cluster update.
1939
+ # The cluster is being updated. This is a broad category of operations and
1940
+ # includes operations that only change metadata as well as those that must
1941
+ # recreate the entire cluster. If the control plane must be recreated, this
1942
+ # will cause temporary downtime for zonal clusters.
1943
+ #
1944
+ # Some features require recreating the nodes as well. Those will be
1945
+ # recreated as separate operations and the update may not be completely
1946
+ # functional until the node pools recreations finish. Node recreations will
1947
+ # generally follow [maintenance
1948
+ # policies](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions).
1949
+ #
1950
+ # Some GKE-initiated operations use this type. This includes certain types
1951
+ # of auto-upgrades and incident mitigations.
1899
1952
  UPDATE_CLUSTER = 6
1900
1953
 
1901
- # Node pool create.
1954
+ # A node pool is being created. The node pool should be assumed to be
1955
+ # unusable until this operation finishes. In the event of an error, the
1956
+ # node pool may be partially created.
1957
+ #
1958
+ # If enabled, [node
1959
+ # autoprovisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning)
1960
+ # may have automatically initiated such operations.
1902
1961
  CREATE_NODE_POOL = 7
1903
1962
 
1904
- # Node pool delete.
1963
+ # The node pool is being deleted. The node pool should be assumed to be
1964
+ # unusable as soon as this operation starts.
1905
1965
  DELETE_NODE_POOL = 8
1906
1966
 
1907
- # Set node pool management.
1967
+ # The node pool's {::Google::Cloud::Container::V1::NodePool#management manamagent}
1968
+ # field is being updated. These operations only update metadata and may be
1969
+ # concurrent with most other operations.
1908
1970
  SET_NODE_POOL_MANAGEMENT = 9
1909
1971
 
1910
- # Automatic node pool repair.
1972
+ # A problem has been detected with nodes and [they are being
1973
+ # repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair).
1974
+ # This operation type is initiated by GKE, typically automatically. This
1975
+ # operation may be concurrent with other operations and there may be
1976
+ # multiple repairs occurring on the same node pool.
1911
1977
  AUTO_REPAIR_NODES = 10
1912
1978
 
1913
- # Automatic node upgrade.
1979
+ # Unused. Automatic node upgrade uses
1980
+ # {::Google::Cloud::Container::V1::Operation::Type::UPGRADE_NODES UPGRADE_NODES}.
1914
1981
  AUTO_UPGRADE_NODES = 11
1915
1982
 
1916
- # Set labels.
1983
+ # Unused. Updating labels uses
1984
+ # {::Google::Cloud::Container::V1::Operation::Type::UPDATE_CLUSTER UPDATE_CLUSTER}.
1917
1985
  SET_LABELS = 12
1918
1986
 
1919
- # Set/generate master auth materials
1987
+ # Unused. Updating master auth uses
1988
+ # {::Google::Cloud::Container::V1::Operation::Type::UPDATE_CLUSTER UPDATE_CLUSTER}.
1920
1989
  SET_MASTER_AUTH = 13
1921
1990
 
1922
- # Set node pool size.
1991
+ # The node pool is being resized. With the exception of resizing to or from
1992
+ # size zero, the node pool is generally usable during this operation.
1923
1993
  SET_NODE_POOL_SIZE = 14
1924
1994
 
1925
- # Updates network policy for a cluster.
1995
+ # Unused. Updating network policy uses
1996
+ # {::Google::Cloud::Container::V1::Operation::Type::UPDATE_CLUSTER UPDATE_CLUSTER}.
1926
1997
  SET_NETWORK_POLICY = 15
1927
1998
 
1928
- # Set the maintenance policy.
1999
+ # Unused. Updating maintenance policy uses
2000
+ # {::Google::Cloud::Container::V1::Operation::Type::UPDATE_CLUSTER UPDATE_CLUSTER}.
1929
2001
  SET_MAINTENANCE_POLICY = 16
2002
+
2003
+ # The control plane is being resized. This operation type is initiated by
2004
+ # GKE. These operations are often performed preemptively to ensure that the
2005
+ # control plane has sufficient resources and is not typically an indication
2006
+ # of issues. For more details, see
2007
+ # [documentation on
2008
+ # resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).
2009
+ RESIZE_CLUSTER = 18
1930
2010
  end
1931
2011
  end
1932
2012
 
@@ -4151,13 +4231,13 @@ module Google
4151
4231
  end
4152
4232
 
4153
4233
  # Configuration of etcd encryption.
4154
- # @!attribute [rw] state
4155
- # @return [::Google::Cloud::Container::V1::DatabaseEncryption::State]
4156
- # Denotes the state of etcd encryption.
4157
4234
  # @!attribute [rw] key_name
4158
4235
  # @return [::String]
4159
4236
  # Name of CloudKMS key to use for the encryption of secrets in etcd.
4160
4237
  # Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
4238
+ # @!attribute [rw] state
4239
+ # @return [::Google::Cloud::Container::V1::DatabaseEncryption::State]
4240
+ # The desired state of etcd encryption.
4161
4241
  class DatabaseEncryption
4162
4242
  include ::Google::Protobuf::MessageExts
4163
4243
  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.19.0
4
+ version: 0.20.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: 2023-04-21 00:00:00.000000000 Z
11
+ date: 2023-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common