google-cloud-container-v1beta1 0.33.0 → 0.34.1

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: aa3833250716852be11115a682bf18863ff9d5ef7604d2fb228832889e2dff32
4
- data.tar.gz: 1998e49490df05f0b0629f0058ecf3dee14c3165aca40487270429ecc9d6c276
3
+ metadata.gz: ef08b4e4b686468249bf6571d9340f7bdf6089e23012f579136fc1d2a1eb8b9d
4
+ data.tar.gz: 4a211fa5c17542690506ddb068d47448fd2068208020b270c35f3c685ce56dce
5
5
  SHA512:
6
- metadata.gz: 2eb41d4fcff062ac3e2f5dcb1e5bbed271f0527a28cfad491746a2e073e1b5f37b828d9c5ad2631604ad29b9836877481ff3334b106cbb916f43eaffc3d228c4
7
- data.tar.gz: 37bd83105852cb1065498eb194768fd5c7dce5fb82fe15c78bf0d77b0e73ec03d6d5b0c83e9c28af5cdb9d8a51928566828475b1cc3c709f4c20dbd47d38b123
6
+ metadata.gz: 48aa743c2411dae46506948a0dccdff31b974d8f50db3944fd7b6cefe88b12e151527a9452c4e62ccfff8c89f29becd3026beede4710007473bb772fe546394f
7
+ data.tar.gz: a650f194f20e3f65127c5879a468080d6a3f16186d5df3c2ddfe79f9a82e80c6ebff48e699c496f48b746f6fffd06a2f05733102f061db41d310b636be66a24a
data/AUTHENTICATION.md CHANGED
@@ -1,151 +1,122 @@
1
1
  # Authentication
2
2
 
3
- In general, the google-cloud-container-v1beta1 library uses
4
- [Service Account](https://cloud.google.com/iam/docs/creating-managing-service-accounts)
5
- credentials to connect to Google Cloud services. When running within
6
- [Google Cloud Platform environments](#google-cloud-platform-environments) the
7
- credentials will be discovered automatically. When running on other
8
- environments, the Service Account credentials can be specified by providing the
9
- path to the
10
- [JSON keyfile](https://cloud.google.com/iam/docs/managing-service-account-keys)
11
- for the account (or the JSON itself) in
12
- [environment variables](#environment-variables). Additionally, Cloud SDK
13
- credentials can also be discovered automatically, but this is only recommended
14
- during development.
3
+ The recommended way to authenticate to the google-cloud-container-v1beta1 library is to use
4
+ [Application Default Credentials (ADC)](https://cloud.google.com/docs/authentication/application-default-credentials).
5
+ To review all of your authentication options, see [Credentials lookup](#credential-lookup).
15
6
 
16
7
  ## Quickstart
17
8
 
18
- 1. [Create a service account and credentials](#creating-a-service-account).
19
- 2. Set the [environment variable](#environment-variables).
9
+ The following example shows how to set up authentication for a local development
10
+ environment with your user credentials.
20
11
 
21
- ```sh
22
- export CONTAINER_CREDENTIALS=path/to/keyfile.json
23
- ```
24
-
25
- 3. Initialize the client.
12
+ **NOTE:** This method is _not_ recommended for running in production. User credentials
13
+ should be used only during development.
26
14
 
27
- ```ruby
28
- require "google/cloud/container/v1beta1"
15
+ 1. [Download and install the Google Cloud CLI](https://cloud.google.com/sdk).
16
+ 2. Set up a local ADC file with your user credentials:
29
17
 
30
- client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new
18
+ ```sh
19
+ gcloud auth application-default login
31
20
  ```
32
21
 
33
- ## Credential Lookup
34
-
35
- The google-cloud-container-v1beta1 library aims to make authentication
36
- as simple as possible, and provides several mechanisms to configure your system
37
- without requiring **Service Account Credentials** directly in code.
38
-
39
- **Credentials** are discovered in the following order:
40
-
41
- 1. Specify credentials in method arguments
42
- 2. Specify credentials in configuration
43
- 3. Discover credentials path in environment variables
44
- 4. Discover credentials JSON in environment variables
45
- 5. Discover credentials file in the Cloud SDK's path
46
- 6. Discover GCP credentials
47
-
48
- ### Google Cloud Platform environments
22
+ 3. Write code as if already authenticated.
49
23
 
50
- When running on Google Cloud Platform (GCP), including Google Compute Engine
51
- (GCE), Google Kubernetes Engine (GKE), Google App Engine (GAE), Google Cloud
52
- Functions (GCF) and Cloud Run, **Credentials** are discovered automatically.
53
- Code should be written as if already authenticated.
24
+ For more information about setting up authentication for a local development environment, see
25
+ [Set up Application Default Credentials](https://cloud.google.com/docs/authentication/provide-credentials-adc#local-dev).
54
26
 
55
- ### Environment Variables
27
+ ## Credential Lookup
56
28
 
57
- The **Credentials JSON** can be placed in environment variables instead of
58
- declaring them directly in code. Each service has its own environment variable,
59
- allowing for different service accounts to be used for different services. (See
60
- the READMEs for the individual service gems for details.) The path to the
61
- **Credentials JSON** file can be stored in the environment variable, or the
62
- **Credentials JSON** itself can be stored for environments such as Docker
63
- containers where writing files is difficult or not encouraged.
29
+ The google-cloud-container-v1beta1 library provides several mechanisms to configure your system.
30
+ Generally, using Application Default Credentials to facilitate automatic
31
+ credentials discovery is the easist method. But if you need to explicitly specify
32
+ credentials, there are several methods available to you.
64
33
 
65
- The environment variables that google-cloud-container-v1beta1
66
- checks for credentials are configured on the service Credentials class (such as
67
- {::Google::Cloud::Container::V1beta1::ClusterManager::Credentials}):
34
+ Credentials are accepted in the following ways, in the following order or precedence:
68
35
 
69
- * `CONTAINER_CREDENTIALS` - Path to JSON file, or JSON contents
70
- * `CONTAINER_KEYFILE` - Path to JSON file, or JSON contents
71
- * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
36
+ 1. Credentials specified in method arguments
37
+ 2. Credentials specified in configuration
38
+ 3. Credentials pointed to or included in environment variables
39
+ 4. Credentials found in local ADC file
40
+ 5. Credentials returned by the metadata server for the attached service account (GCP)
74
41
 
75
- ```ruby
76
- require "google/cloud/container/v1beta1"
77
-
78
- ENV["CONTAINER_CREDENTIALS"] = "path/to/keyfile.json"
42
+ ### Configuration
79
43
 
80
- client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new
81
- ```
44
+ You can configure a path to a JSON credentials file, either for an individual client object or
45
+ globally, for all client objects. The JSON file can contain credentials created for
46
+ [workload identity federation](https://cloud.google.com/iam/docs/workload-identity-federation),
47
+ [workforce identity federation](https://cloud.google.com/iam/docs/workforce-identity-federation), or a
48
+ [service account key](https://cloud.google.com/docs/authentication/provide-credentials-adc#local-key).
82
49
 
83
- ### Configuration
50
+ Note: Service account keys are a security risk if not managed correctly. You should
51
+ [choose a more secure alternative to service account keys](https://cloud.google.com/docs/authentication#auth-decision-tree)
52
+ whenever possible.
84
53
 
85
- The path to the **Credentials JSON** file can be configured instead of storing
86
- it in an environment variable. Either on an individual client initialization:
54
+ To configure a credentials file for an individual client initialization:
87
55
 
88
56
  ```ruby
89
57
  require "google/cloud/container/v1beta1"
90
58
 
91
59
  client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new do |config|
92
- config.credentials = "path/to/keyfile.json"
60
+ config.credentials = "path/to/credentialfile.json"
93
61
  end
94
62
  ```
95
63
 
96
- Or globally for all clients:
64
+ To configure a credentials file globally for all clients:
97
65
 
98
66
  ```ruby
99
67
  require "google/cloud/container/v1beta1"
100
68
 
101
69
  ::Google::Cloud::Container::V1beta1::ClusterManager::Client.configure do |config|
102
- config.credentials = "path/to/keyfile.json"
70
+ config.credentials = "path/to/credentialfile.json"
103
71
  end
104
72
 
105
73
  client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new
106
74
  ```
107
75
 
108
- ### Cloud SDK
76
+ ### Environment Variables
109
77
 
110
- This option allows for an easy way to authenticate during development. If
111
- credentials are not provided in code or in environment variables, then Cloud SDK
112
- credentials are discovered.
78
+ You can also use an environment variable to provide a JSON credentials file.
79
+ The environment variable can contain a path to the credentials file or, for
80
+ environments such as Docker containers where writing files is not encouraged,
81
+ you can include the credentials file itself.
113
82
 
114
- To configure your system for this, simply:
83
+ The JSON file can contain credentials created for
84
+ [workload identity federation](https://cloud.google.com/iam/docs/workload-identity-federation),
85
+ [workforce identity federation](https://cloud.google.com/iam/docs/workforce-identity-federation), or a
86
+ [service account key](https://cloud.google.com/docs/authentication/provide-credentials-adc#local-key).
115
87
 
116
- 1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
- 3. Write code as if already authenticated.
88
+ Note: Service account keys are a security risk if not managed correctly. You should
89
+ [choose a more secure alternative to service account keys](https://cloud.google.com/docs/authentication#auth-decision-tree)
90
+ whenever possible.
91
+
92
+ The environment variables that google-cloud-container-v1beta1
93
+ checks for credentials are:
119
94
 
120
- **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
121
- *should* only be used during development.
95
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
96
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
122
97
 
123
- ## Creating a Service Account
98
+ ```ruby
99
+ require "google/cloud/container/v1beta1"
124
100
 
125
- Google Cloud requires **Service Account Credentials** to
126
- connect to the APIs. You will use the **JSON key file** to
127
- connect to most services with google-cloud-container-v1beta1.
101
+ ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
128
102
 
129
- If you are not running this client within
130
- [Google Cloud Platform environments](#google-cloud-platform-environments), you
131
- need a Google Developers service account.
103
+ client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new
104
+ ```
132
105
 
133
- 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
134
- 2. Create a new project or click on an existing project.
135
- 3. Activate the menu in the upper left and select **APIs & Services**. From
136
- here, you will enable the APIs that your application requires.
106
+ ### Local ADC file
137
107
 
138
- *Note: You may need to enable billing in order to use these services.*
108
+ You can set up a local ADC file with your user credentials for authentication during
109
+ development. If credentials are not provided in code or in environment variables,
110
+ then the local ADC credentials are discovered.
139
111
 
140
- 4. Select **Credentials** from the side navigation.
112
+ Follow the steps in [Quickstart](#quickstart) to set up a local ADC file.
141
113
 
142
- Find the "Create credentials" drop down near the top of the page, and select
143
- "Service account" to be guided through downloading a new JSON key file.
114
+ ### Google Cloud Platform environments
144
115
 
145
- If you want to re-use an existing service account, you can easily generate a
146
- new key file. Just select the account you wish to re-use, click the pencil
147
- tool on the right side to edit the service account, select the **Keys** tab,
148
- and then select **Add Key**.
116
+ When running on Google Cloud Platform (GCP), including Google Compute Engine
117
+ (GCE), Google Kubernetes Engine (GKE), Google App Engine (GAE), Google Cloud
118
+ Functions (GCF) and Cloud Run, credentials are retrieved from the attached
119
+ service account automatically. Code should be written as if already authenticated.
149
120
 
150
- The key file you download will be used by this library to authenticate API
151
- requests and should be stored in a secure location.
121
+ For more information, see
122
+ [Set up ADC for Google Cloud services](https://cloud.google.com/docs/authentication/provide-credentials-adc#attached-sa).
@@ -30,6 +30,9 @@ module Google
30
30
  # Google Kubernetes Engine Cluster Manager v1beta1
31
31
  #
32
32
  class Client
33
+ # @private
34
+ DEFAULT_ENDPOINT_TEMPLATE = "container.$UNIVERSE_DOMAIN$"
35
+
33
36
  include Paths
34
37
 
35
38
  # @private
@@ -187,6 +190,15 @@ module Google
187
190
  @config
188
191
  end
189
192
 
193
+ ##
194
+ # The effective universe domain
195
+ #
196
+ # @return [String]
197
+ #
198
+ def universe_domain
199
+ @cluster_manager_stub.universe_domain
200
+ end
201
+
190
202
  ##
191
203
  # Create a new ClusterManager client object.
192
204
  #
@@ -220,8 +232,9 @@ module Google
220
232
  credentials = @config.credentials
221
233
  # Use self-signed JWT if the endpoint is unchanged from default,
222
234
  # but only if the default endpoint does not have a region prefix.
223
- enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
224
- !@config.endpoint.split(".").first.include?("-")
235
+ enable_self_signed_jwt = @config.endpoint.nil? ||
236
+ (@config.endpoint == Configuration::DEFAULT_ENDPOINT &&
237
+ !@config.endpoint.split(".").first.include?("-"))
225
238
  credentials ||= Credentials.default scope: @config.scope,
226
239
  enable_self_signed_jwt: enable_self_signed_jwt
227
240
  if credentials.is_a?(::String) || credentials.is_a?(::Hash)
@@ -232,8 +245,10 @@ module Google
232
245
 
233
246
  @cluster_manager_stub = ::Gapic::ServiceStub.new(
234
247
  ::Google::Cloud::Container::V1beta1::ClusterManager::Stub,
235
- credentials: credentials,
236
- endpoint: @config.endpoint,
248
+ credentials: credentials,
249
+ endpoint: @config.endpoint,
250
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
251
+ universe_domain: @config.universe_domain,
237
252
  channel_args: @config.channel_args,
238
253
  interceptors: @config.interceptors,
239
254
  channel_pool_config: @config.channel_pool
@@ -3879,9 +3894,9 @@ module Google
3879
3894
  # end
3880
3895
  #
3881
3896
  # @!attribute [rw] endpoint
3882
- # The hostname or hostname:port of the service endpoint.
3883
- # Defaults to `"container.googleapis.com"`.
3884
- # @return [::String]
3897
+ # A custom service endpoint, as a hostname or hostname:port. The default is
3898
+ # nil, indicating to use the default endpoint in the current universe domain.
3899
+ # @return [::String,nil]
3885
3900
  # @!attribute [rw] credentials
3886
3901
  # Credentials to send with calls. You may provide any of the following types:
3887
3902
  # * (`String`) The path to a service account key file in JSON format
@@ -3927,13 +3942,20 @@ module Google
3927
3942
  # @!attribute [rw] quota_project
3928
3943
  # A separate project against which to charge quota.
3929
3944
  # @return [::String]
3945
+ # @!attribute [rw] universe_domain
3946
+ # The universe domain within which to make requests. This determines the
3947
+ # default endpoint URL. The default value of nil uses the environment
3948
+ # universe (usually the default "googleapis.com" universe).
3949
+ # @return [::String,nil]
3930
3950
  #
3931
3951
  class Configuration
3932
3952
  extend ::Gapic::Config
3933
3953
 
3954
+ # @private
3955
+ # The endpoint specific to the default "googleapis.com" universe. Deprecated.
3934
3956
  DEFAULT_ENDPOINT = "container.googleapis.com"
3935
3957
 
3936
- config_attr :endpoint, DEFAULT_ENDPOINT, ::String
3958
+ config_attr :endpoint, nil, ::String, nil
3937
3959
  config_attr :credentials, nil do |value|
3938
3960
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3939
3961
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -3948,6 +3970,7 @@ module Google
3948
3970
  config_attr :metadata, nil, ::Hash, nil
3949
3971
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
3950
3972
  config_attr :quota_project, nil, ::String, nil
3973
+ config_attr :universe_domain, nil, ::String, nil
3951
3974
 
3952
3975
  # @private
3953
3976
  def initialize parent_config = nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1beta1
24
- VERSION = "0.33.0"
24
+ VERSION = "0.34.1"
25
25
  end
26
26
  end
27
27
  end
@@ -21,6 +21,7 @@ module Google
21
21
  module Api
22
22
  # Required information for every language.
23
23
  # @!attribute [rw] reference_docs_uri
24
+ # @deprecated This field is deprecated and may be removed in the next major version update.
24
25
  # @return [::String]
25
26
  # Link to automatically generated reference documentation. Example:
26
27
  # https://cloud.google.com/nodejs/docs/reference/asset/latest
@@ -571,6 +571,7 @@ module Google
571
571
 
572
572
  # SandboxConfig contains configurations of the sandbox to use for the node.
573
573
  # @!attribute [rw] sandbox_type
574
+ # @deprecated This field is deprecated and may be removed in the next major version update.
574
575
  # @return [::String]
575
576
  # Type of the sandbox to use for the node (e.g. 'gvisor')
576
577
  # @!attribute [rw] type
@@ -906,6 +907,7 @@ module Google
906
907
  # Authentication can be done using HTTP basic auth or using client
907
908
  # certificates.
908
909
  # @!attribute [rw] username
910
+ # @deprecated This field is deprecated and may be removed in the next major version update.
909
911
  # @return [::String]
910
912
  # The username to use for HTTP basic authentication to the master endpoint.
911
913
  # For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -916,6 +918,7 @@ module Google
916
918
  # authentication methods, see:
917
919
  # https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
918
920
  # @!attribute [rw] password
921
+ # @deprecated This field is deprecated and may be removed in the next major version update.
919
922
  # @return [::String]
920
923
  # The password to use for HTTP basic authentication to the master endpoint.
921
924
  # Because the master endpoint is open to the Internet, you should create a
@@ -967,6 +970,7 @@ module Google
967
970
  # increases or decreases the number of replica pods a replication controller
968
971
  # has based on the resource usage of the existing pods.
969
972
  # @!attribute [rw] kubernetes_dashboard
973
+ # @deprecated This field is deprecated and may be removed in the next major version update.
970
974
  # @return [::Google::Cloud::Container::V1beta1::KubernetesDashboard]
971
975
  # Configuration for the Kubernetes Dashboard.
972
976
  # This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -979,6 +983,7 @@ module Google
979
983
  # is enabled or not on the Master, it does not track whether network policy
980
984
  # is enabled for the nodes.
981
985
  # @!attribute [rw] istio_config
986
+ # @deprecated This field is deprecated and may be removed in the next major version update.
982
987
  # @return [::Google::Cloud::Container::V1beta1::IstioConfig]
983
988
  # Configuration for Istio, an open platform to connect, manage, and secure
984
989
  # microservices.
@@ -998,6 +1003,7 @@ module Google
998
1003
  # @return [::Google::Cloud::Container::V1beta1::GcePersistentDiskCsiDriverConfig]
999
1004
  # Configuration for the Compute Engine Persistent Disk CSI driver.
1000
1005
  # @!attribute [rw] kalm_config
1006
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1001
1007
  # @return [::Google::Cloud::Container::V1beta1::KalmConfig]
1002
1008
  # Configuration for the KALM addon, which manages the lifecycle of k8s
1003
1009
  # applications.
@@ -1071,6 +1077,7 @@ module Google
1071
1077
 
1072
1078
  # Configuration options for the KALM addon.
1073
1079
  # @!attribute [rw] enabled
1080
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1074
1081
  # @return [::Boolean]
1075
1082
  # Whether KALM is enabled for this cluster.
1076
1083
  class KalmConfig
@@ -1170,9 +1177,11 @@ module Google
1170
1177
 
1171
1178
  # Configuration options for Istio addon.
1172
1179
  # @!attribute [rw] disabled
1180
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1173
1181
  # @return [::Boolean]
1174
1182
  # Whether Istio is enabled for this cluster.
1175
1183
  # @!attribute [rw] auth
1184
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1176
1185
  # @return [::Google::Cloud::Container::V1beta1::IstioConfig::IstioAuthMode]
1177
1186
  # The specified Istio auth mode, either none, or mutual TLS.
1178
1187
  class IstioConfig
@@ -1308,12 +1317,15 @@ module Google
1308
1317
  # this field is empty, then an automatic name will be chosen for the new
1309
1318
  # subnetwork.
1310
1319
  # @!attribute [rw] cluster_ipv4_cidr
1320
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1311
1321
  # @return [::String]
1312
1322
  # This field is deprecated, use cluster_ipv4_cidr_block.
1313
1323
  # @!attribute [rw] node_ipv4_cidr
1324
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1314
1325
  # @return [::String]
1315
1326
  # This field is deprecated, use node_ipv4_cidr_block.
1316
1327
  # @!attribute [rw] services_ipv4_cidr
1328
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1317
1329
  # @return [::String]
1318
1330
  # This field is deprecated, use services_ipv4_cidr_block.
1319
1331
  # @!attribute [rw] cluster_secondary_range_name
@@ -1491,6 +1503,7 @@ module Google
1491
1503
 
1492
1504
  # Configuration for Binary Authorization.
1493
1505
  # @!attribute [rw] enabled
1506
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1494
1507
  # @return [::Boolean]
1495
1508
  # This field is deprecated. Leave this unset and instead configure
1496
1509
  # BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -1603,6 +1616,7 @@ module Google
1603
1616
  # @return [::String]
1604
1617
  # An optional description of this cluster.
1605
1618
  # @!attribute [rw] initial_node_count
1619
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1606
1620
  # @return [::Integer]
1607
1621
  # The number of nodes to create in this cluster. You must ensure that your
1608
1622
  # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -1615,6 +1629,7 @@ module Google
1615
1629
  #
1616
1630
  # This field is deprecated, use node_pool.initial_node_count instead.
1617
1631
  # @!attribute [rw] node_config
1632
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1618
1633
  # @return [::Google::Cloud::Container::V1beta1::NodeConfig]
1619
1634
  # Parameters used in creating the cluster's nodes.
1620
1635
  # For requests, this field should only be used in lieu of a
@@ -1746,6 +1761,7 @@ module Google
1746
1761
  # @return [::Google::Cloud::Container::V1beta1::NetworkConfig]
1747
1762
  # Configuration for cluster networking.
1748
1763
  # @!attribute [rw] private_cluster
1764
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1749
1765
  # @return [::Boolean]
1750
1766
  # If this is a private cluster setup. Private clusters are clusters that, by
1751
1767
  # default have no external IP addresses on the nodes and where nodes and the
@@ -1753,6 +1769,7 @@ module Google
1753
1769
  # This field is deprecated, use private_cluster_config.enable_private_nodes
1754
1770
  # instead.
1755
1771
  # @!attribute [rw] master_ipv4_cidr_block
1772
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1756
1773
  # @return [::String]
1757
1774
  # The IP prefix in CIDR notation to use for the hosted master network.
1758
1775
  # This prefix will be used for assigning private IP addresses to the
@@ -1826,6 +1843,7 @@ module Google
1826
1843
  # @return [::String]
1827
1844
  # [Output only] Server-defined URL for the resource.
1828
1845
  # @!attribute [rw] zone
1846
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1829
1847
  # @return [::String]
1830
1848
  # [Output only] The name of the Google Compute Engine
1831
1849
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1857,6 +1875,7 @@ module Google
1857
1875
  # @return [::String]
1858
1876
  # [Output only] The current software version of the master endpoint.
1859
1877
  # @!attribute [rw] current_node_version
1878
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1860
1879
  # @return [::String]
1861
1880
  # [Output only] Deprecated, use
1862
1881
  # [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -1871,6 +1890,7 @@ module Google
1871
1890
  # @return [::Google::Cloud::Container::V1beta1::Cluster::Status]
1872
1891
  # [Output only] The current status of this cluster.
1873
1892
  # @!attribute [rw] status_message
1893
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1874
1894
  # @return [::String]
1875
1895
  # [Output only] Deprecated. Use conditions instead.
1876
1896
  # Additional information about the current status of this
@@ -1889,9 +1909,11 @@ module Google
1889
1909
  # notation (e.g. `1.2.3.4/29`). Service addresses are
1890
1910
  # typically put in the last `/16` from the container CIDR.
1891
1911
  # @!attribute [rw] instance_group_urls
1912
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1892
1913
  # @return [::Array<::String>]
1893
1914
  # Deprecated. Use node_pools.instance_group_urls.
1894
1915
  # @!attribute [rw] current_node_count
1916
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1895
1917
  # @return [::Integer]
1896
1918
  # [Output only] The number of nodes currently in the cluster. Deprecated.
1897
1919
  # Call Kubernetes API directly to retrieve node information.
@@ -1945,6 +1967,7 @@ module Google
1945
1967
  # Node pool configs that apply to all auto-provisioned node pools
1946
1968
  # in autopilot clusters and node auto-provisioning enabled clusters.
1947
1969
  # @!attribute [rw] protect_config
1970
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1948
1971
  # @return [::Google::Cloud::Container::V1beta1::ProtectConfig]
1949
1972
  # Deprecated: Use SecurityPostureConfig instead.
1950
1973
  # Enable/Disable Protect API features for the cluster.
@@ -2343,6 +2366,7 @@ module Google
2343
2366
  # The desired network tags that apply to all auto-provisioned node pools
2344
2367
  # in autopilot clusters and node auto-provisioning enabled clusters.
2345
2368
  # @!attribute [rw] desired_protect_config
2369
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2346
2370
  # @return [::Google::Cloud::Container::V1beta1::ProtectConfig]
2347
2371
  # Deprecated: Use DesiredSecurityPostureConfig instead.
2348
2372
  # Enable/Disable Protect API features for the cluster.
@@ -2439,6 +2463,7 @@ module Google
2439
2463
  # @return [::String]
2440
2464
  # The server-assigned ID for the operation.
2441
2465
  # @!attribute [rw] zone
2466
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2442
2467
  # @return [::String]
2443
2468
  # The name of the Google Compute Engine
2444
2469
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2453,6 +2478,7 @@ module Google
2453
2478
  # @return [::String]
2454
2479
  # Detailed operation progress, if available.
2455
2480
  # @!attribute [r] status_message
2481
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2456
2482
  # @return [::String]
2457
2483
  # Output only. If an error has occurred, a textual description of the error.
2458
2484
  # Deprecated. Use field error instead.
@@ -2496,10 +2522,12 @@ module Google
2496
2522
  # @return [::Google::Cloud::Container::V1beta1::OperationProgress]
2497
2523
  # Output only. [Output only] Progress information for an operation.
2498
2524
  # @!attribute [rw] cluster_conditions
2525
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2499
2526
  # @return [::Array<::Google::Cloud::Container::V1beta1::StatusCondition>]
2500
2527
  # Which conditions caused the current cluster state.
2501
2528
  # Deprecated. Use field error instead.
2502
2529
  # @!attribute [rw] nodepool_conditions
2530
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2503
2531
  # @return [::Array<::Google::Cloud::Container::V1beta1::StatusCondition>]
2504
2532
  # Which conditions caused the current node pool state.
2505
2533
  # Deprecated. Use field error instead.
@@ -2700,11 +2728,13 @@ module Google
2700
2728
 
2701
2729
  # CreateClusterRequest creates a cluster.
2702
2730
  # @!attribute [rw] project_id
2731
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2703
2732
  # @return [::String]
2704
2733
  # Required. Deprecated. The Google Developers Console [project ID or project
2705
2734
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2706
2735
  # This field has been deprecated and replaced by the parent field.
2707
2736
  # @!attribute [rw] zone
2737
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2708
2738
  # @return [::String]
2709
2739
  # Required. Deprecated. The name of the Google Compute Engine
2710
2740
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2725,17 +2755,20 @@ module Google
2725
2755
 
2726
2756
  # GetClusterRequest gets the settings of a cluster.
2727
2757
  # @!attribute [rw] project_id
2758
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2728
2759
  # @return [::String]
2729
2760
  # Required. Deprecated. The Google Developers Console [project ID or project
2730
2761
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2731
2762
  # This field has been deprecated and replaced by the name field.
2732
2763
  # @!attribute [rw] zone
2764
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2733
2765
  # @return [::String]
2734
2766
  # Required. Deprecated. The name of the Google Compute Engine
2735
2767
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2736
2768
  # cluster resides. This field has been deprecated and replaced by the name
2737
2769
  # field.
2738
2770
  # @!attribute [rw] cluster_id
2771
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2739
2772
  # @return [::String]
2740
2773
  # Required. Deprecated. The name of the cluster to retrieve.
2741
2774
  # This field has been deprecated and replaced by the name field.
@@ -2750,17 +2783,20 @@ module Google
2750
2783
 
2751
2784
  # UpdateClusterRequest updates the settings of a cluster.
2752
2785
  # @!attribute [rw] project_id
2786
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2753
2787
  # @return [::String]
2754
2788
  # Required. Deprecated. The Google Developers Console [project ID or project
2755
2789
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2756
2790
  # This field has been deprecated and replaced by the name field.
2757
2791
  # @!attribute [rw] zone
2792
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2758
2793
  # @return [::String]
2759
2794
  # Required. Deprecated. The name of the Google Compute Engine
2760
2795
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2761
2796
  # cluster resides. This field has been deprecated and replaced by the name
2762
2797
  # field.
2763
2798
  # @!attribute [rw] cluster_id
2799
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2764
2800
  # @return [::String]
2765
2801
  # Required. Deprecated. The name of the cluster to upgrade.
2766
2802
  # This field has been deprecated and replaced by the name field.
@@ -2778,21 +2814,25 @@ module Google
2778
2814
 
2779
2815
  # SetNodePoolVersionRequest updates the version of a node pool.
2780
2816
  # @!attribute [rw] project_id
2817
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2781
2818
  # @return [::String]
2782
2819
  # Required. Deprecated. The Google Developers Console [project ID or project
2783
2820
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2784
2821
  # This field has been deprecated and replaced by the name field.
2785
2822
  # @!attribute [rw] zone
2823
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2786
2824
  # @return [::String]
2787
2825
  # Required. Deprecated. The name of the Google Compute Engine
2788
2826
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2789
2827
  # cluster resides. This field has been deprecated and replaced by the name
2790
2828
  # field.
2791
2829
  # @!attribute [rw] cluster_id
2830
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2792
2831
  # @return [::String]
2793
2832
  # Required. Deprecated. The name of the cluster to upgrade.
2794
2833
  # This field has been deprecated and replaced by the name field.
2795
2834
  # @!attribute [rw] node_pool_id
2835
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2796
2836
  # @return [::String]
2797
2837
  # Required. Deprecated. The name of the node pool to upgrade.
2798
2838
  # This field has been deprecated and replaced by the name field.
@@ -2911,21 +2951,25 @@ module Google
2911
2951
 
2912
2952
  # SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
2913
2953
  # @!attribute [rw] project_id
2954
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2914
2955
  # @return [::String]
2915
2956
  # Required. Deprecated. The Google Developers Console [project ID or project
2916
2957
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2917
2958
  # This field has been deprecated and replaced by the name field.
2918
2959
  # @!attribute [rw] zone
2960
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2919
2961
  # @return [::String]
2920
2962
  # Required. Deprecated. The name of the Google Compute Engine
2921
2963
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2922
2964
  # cluster resides. This field has been deprecated and replaced by the name
2923
2965
  # field.
2924
2966
  # @!attribute [rw] cluster_id
2967
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2925
2968
  # @return [::String]
2926
2969
  # Required. Deprecated. The name of the cluster to upgrade.
2927
2970
  # This field has been deprecated and replaced by the name field.
2928
2971
  # @!attribute [rw] node_pool_id
2972
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2929
2973
  # @return [::String]
2930
2974
  # Required. Deprecated. The name of the node pool to upgrade.
2931
2975
  # This field has been deprecated and replaced by the name field.
@@ -2944,17 +2988,20 @@ module Google
2944
2988
 
2945
2989
  # SetLoggingServiceRequest sets the logging service of a cluster.
2946
2990
  # @!attribute [rw] project_id
2991
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2947
2992
  # @return [::String]
2948
2993
  # Required. Deprecated. The Google Developers Console [project ID or project
2949
2994
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2950
2995
  # This field has been deprecated and replaced by the name field.
2951
2996
  # @!attribute [rw] zone
2997
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2952
2998
  # @return [::String]
2953
2999
  # Required. Deprecated. The name of the Google Compute Engine
2954
3000
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2955
3001
  # cluster resides. This field has been deprecated and replaced by the name
2956
3002
  # field.
2957
3003
  # @!attribute [rw] cluster_id
3004
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2958
3005
  # @return [::String]
2959
3006
  # Required. Deprecated. The name of the cluster to upgrade.
2960
3007
  # This field has been deprecated and replaced by the name field.
@@ -2982,17 +3029,20 @@ module Google
2982
3029
 
2983
3030
  # SetMonitoringServiceRequest sets the monitoring service of a cluster.
2984
3031
  # @!attribute [rw] project_id
3032
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2985
3033
  # @return [::String]
2986
3034
  # Required. Deprecated. The Google Developers Console [project ID or project
2987
3035
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2988
3036
  # This field has been deprecated and replaced by the name field.
2989
3037
  # @!attribute [rw] zone
3038
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2990
3039
  # @return [::String]
2991
3040
  # Required. Deprecated. The name of the Google Compute Engine
2992
3041
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2993
3042
  # cluster resides. This field has been deprecated and replaced by the name
2994
3043
  # field.
2995
3044
  # @!attribute [rw] cluster_id
3045
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2996
3046
  # @return [::String]
2997
3047
  # Required. Deprecated. The name of the cluster to upgrade.
2998
3048
  # This field has been deprecated and replaced by the name field.
@@ -3020,17 +3070,20 @@ module Google
3020
3070
 
3021
3071
  # SetAddonsRequest sets the addons associated with the cluster.
3022
3072
  # @!attribute [rw] project_id
3073
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3023
3074
  # @return [::String]
3024
3075
  # Required. Deprecated. The Google Developers Console [project ID or project
3025
3076
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3026
3077
  # This field has been deprecated and replaced by the name field.
3027
3078
  # @!attribute [rw] zone
3079
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3028
3080
  # @return [::String]
3029
3081
  # Required. Deprecated. The name of the Google Compute Engine
3030
3082
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3031
3083
  # cluster resides. This field has been deprecated and replaced by the name
3032
3084
  # field.
3033
3085
  # @!attribute [rw] cluster_id
3086
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3034
3087
  # @return [::String]
3035
3088
  # Required. Deprecated. The name of the cluster to upgrade.
3036
3089
  # This field has been deprecated and replaced by the name field.
@@ -3049,17 +3102,20 @@ module Google
3049
3102
 
3050
3103
  # SetLocationsRequest sets the locations of the cluster.
3051
3104
  # @!attribute [rw] project_id
3105
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3052
3106
  # @return [::String]
3053
3107
  # Required. Deprecated. The Google Developers Console [project ID or project
3054
3108
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3055
3109
  # This field has been deprecated and replaced by the name field.
3056
3110
  # @!attribute [rw] zone
3111
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3057
3112
  # @return [::String]
3058
3113
  # Required. Deprecated. The name of the Google Compute Engine
3059
3114
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3060
3115
  # cluster resides. This field has been deprecated and replaced by the name
3061
3116
  # field.
3062
3117
  # @!attribute [rw] cluster_id
3118
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3063
3119
  # @return [::String]
3064
3120
  # Required. Deprecated. The name of the cluster to upgrade.
3065
3121
  # This field has been deprecated and replaced by the name field.
@@ -3083,17 +3139,20 @@ module Google
3083
3139
 
3084
3140
  # UpdateMasterRequest updates the master of the cluster.
3085
3141
  # @!attribute [rw] project_id
3142
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3086
3143
  # @return [::String]
3087
3144
  # Required. Deprecated. The Google Developers Console [project ID or project
3088
3145
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3089
3146
  # This field has been deprecated and replaced by the name field.
3090
3147
  # @!attribute [rw] zone
3148
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3091
3149
  # @return [::String]
3092
3150
  # Required. Deprecated. The name of the Google Compute Engine
3093
3151
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3094
3152
  # cluster resides. This field has been deprecated and replaced by the name
3095
3153
  # field.
3096
3154
  # @!attribute [rw] cluster_id
3155
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3097
3156
  # @return [::String]
3098
3157
  # Required. Deprecated. The name of the cluster to upgrade.
3099
3158
  # This field has been deprecated and replaced by the name field.
@@ -3120,17 +3179,20 @@ module Google
3120
3179
 
3121
3180
  # SetMasterAuthRequest updates the admin password of a cluster.
3122
3181
  # @!attribute [rw] project_id
3182
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3123
3183
  # @return [::String]
3124
3184
  # Required. Deprecated. The Google Developers Console [project ID or project
3125
3185
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3126
3186
  # This field has been deprecated and replaced by the name field.
3127
3187
  # @!attribute [rw] zone
3188
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3128
3189
  # @return [::String]
3129
3190
  # Required. Deprecated. The name of the Google Compute Engine
3130
3191
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3131
3192
  # cluster resides. This field has been deprecated and replaced by the name
3132
3193
  # field.
3133
3194
  # @!attribute [rw] cluster_id
3195
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3134
3196
  # @return [::String]
3135
3197
  # Required. Deprecated. The name of the cluster to upgrade.
3136
3198
  # This field has been deprecated and replaced by the name field.
@@ -3169,17 +3231,20 @@ module Google
3169
3231
 
3170
3232
  # DeleteClusterRequest deletes a cluster.
3171
3233
  # @!attribute [rw] project_id
3234
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3172
3235
  # @return [::String]
3173
3236
  # Required. Deprecated. The Google Developers Console [project ID or project
3174
3237
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3175
3238
  # This field has been deprecated and replaced by the name field.
3176
3239
  # @!attribute [rw] zone
3240
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3177
3241
  # @return [::String]
3178
3242
  # Required. Deprecated. The name of the Google Compute Engine
3179
3243
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3180
3244
  # cluster resides. This field has been deprecated and replaced by the name
3181
3245
  # field.
3182
3246
  # @!attribute [rw] cluster_id
3247
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3183
3248
  # @return [::String]
3184
3249
  # Required. Deprecated. The name of the cluster to delete.
3185
3250
  # This field has been deprecated and replaced by the name field.
@@ -3194,11 +3259,13 @@ module Google
3194
3259
 
3195
3260
  # ListClustersRequest lists clusters.
3196
3261
  # @!attribute [rw] project_id
3262
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3197
3263
  # @return [::String]
3198
3264
  # Required. Deprecated. The Google Developers Console [project ID or project
3199
3265
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3200
3266
  # This field has been deprecated and replaced by the parent field.
3201
3267
  # @!attribute [rw] zone
3268
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3202
3269
  # @return [::String]
3203
3270
  # Required. Deprecated. The name of the Google Compute Engine
3204
3271
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3230,17 +3297,20 @@ module Google
3230
3297
 
3231
3298
  # GetOperationRequest gets a single operation.
3232
3299
  # @!attribute [rw] project_id
3300
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3233
3301
  # @return [::String]
3234
3302
  # Required. Deprecated. The Google Developers Console [project ID or project
3235
3303
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3236
3304
  # This field has been deprecated and replaced by the name field.
3237
3305
  # @!attribute [rw] zone
3306
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3238
3307
  # @return [::String]
3239
3308
  # Required. Deprecated. The name of the Google Compute Engine
3240
3309
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3241
3310
  # cluster resides. This field has been deprecated and replaced by the name
3242
3311
  # field.
3243
3312
  # @!attribute [rw] operation_id
3313
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3244
3314
  # @return [::String]
3245
3315
  # Required. Deprecated. The server-assigned `name` of the operation.
3246
3316
  # This field has been deprecated and replaced by the name field.
@@ -3255,11 +3325,13 @@ module Google
3255
3325
 
3256
3326
  # ListOperationsRequest lists operations.
3257
3327
  # @!attribute [rw] project_id
3328
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3258
3329
  # @return [::String]
3259
3330
  # Required. Deprecated. The Google Developers Console [project ID or project
3260
3331
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3261
3332
  # This field has been deprecated and replaced by the parent field.
3262
3333
  # @!attribute [rw] zone
3334
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3263
3335
  # @return [::String]
3264
3336
  # Required. Deprecated. The name of the Google Compute Engine
3265
3337
  # [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -3277,17 +3349,20 @@ module Google
3277
3349
 
3278
3350
  # CancelOperationRequest cancels a single operation.
3279
3351
  # @!attribute [rw] project_id
3352
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3280
3353
  # @return [::String]
3281
3354
  # Required. Deprecated. The Google Developers Console [project ID or project
3282
3355
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3283
3356
  # This field has been deprecated and replaced by the name field.
3284
3357
  # @!attribute [rw] zone
3358
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3285
3359
  # @return [::String]
3286
3360
  # Required. Deprecated. The name of the Google Compute Engine
3287
3361
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3288
3362
  # operation resides. This field has been deprecated and replaced by the name
3289
3363
  # field.
3290
3364
  # @!attribute [rw] operation_id
3365
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3291
3366
  # @return [::String]
3292
3367
  # Required. Deprecated. The server-assigned `name` of the operation.
3293
3368
  # This field has been deprecated and replaced by the name field.
@@ -3315,11 +3390,13 @@ module Google
3315
3390
 
3316
3391
  # Gets the current Kubernetes Engine service configuration.
3317
3392
  # @!attribute [rw] project_id
3393
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3318
3394
  # @return [::String]
3319
3395
  # Required. Deprecated. The Google Developers Console [project ID or project
3320
3396
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3321
3397
  # This field has been deprecated and replaced by the name field.
3322
3398
  # @!attribute [rw] zone
3399
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3323
3400
  # @return [::String]
3324
3401
  # Required. Deprecated. The name of the Google Compute Engine
3325
3402
  # [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -3368,6 +3445,7 @@ module Google
3368
3445
  # @return [::String]
3369
3446
  # The default version for newly created clusters on the channel.
3370
3447
  # @!attribute [rw] available_versions
3448
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3371
3449
  # @return [::Array<::Google::Cloud::Container::V1beta1::ServerConfig::ReleaseChannelConfig::AvailableVersion>]
3372
3450
  # Deprecated.
3373
3451
  # This field has been deprecated and replaced with the valid_versions
@@ -3380,6 +3458,7 @@ module Google
3380
3458
  extend ::Google::Protobuf::MessageExts::ClassMethods
3381
3459
 
3382
3460
  # Deprecated.
3461
+ # @deprecated This message is deprecated and may be removed in the next major version update.
3383
3462
  # @!attribute [rw] version
3384
3463
  # @return [::String]
3385
3464
  # Kubernetes version.
@@ -3444,17 +3523,20 @@ module Google
3444
3523
 
3445
3524
  # CreateNodePoolRequest creates a node pool for a cluster.
3446
3525
  # @!attribute [rw] project_id
3526
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3447
3527
  # @return [::String]
3448
3528
  # Required. Deprecated. The Google Developers Console [project ID or project
3449
3529
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3450
3530
  # This field has been deprecated and replaced by the parent field.
3451
3531
  # @!attribute [rw] zone
3532
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3452
3533
  # @return [::String]
3453
3534
  # Required. Deprecated. The name of the Google Compute Engine
3454
3535
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3455
3536
  # cluster resides. This field has been deprecated and replaced by the parent
3456
3537
  # field.
3457
3538
  # @!attribute [rw] cluster_id
3539
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3458
3540
  # @return [::String]
3459
3541
  # Required. Deprecated. The name of the cluster.
3460
3542
  # This field has been deprecated and replaced by the parent field.
@@ -3473,21 +3555,25 @@ module Google
3473
3555
 
3474
3556
  # DeleteNodePoolRequest deletes a node pool for a cluster.
3475
3557
  # @!attribute [rw] project_id
3558
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3476
3559
  # @return [::String]
3477
3560
  # Required. Deprecated. The Google Developers Console [project ID or project
3478
3561
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3479
3562
  # This field has been deprecated and replaced by the name field.
3480
3563
  # @!attribute [rw] zone
3564
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3481
3565
  # @return [::String]
3482
3566
  # Required. Deprecated. The name of the Google Compute Engine
3483
3567
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3484
3568
  # cluster resides. This field has been deprecated and replaced by the name
3485
3569
  # field.
3486
3570
  # @!attribute [rw] cluster_id
3571
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3487
3572
  # @return [::String]
3488
3573
  # Required. Deprecated. The name of the cluster.
3489
3574
  # This field has been deprecated and replaced by the name field.
3490
3575
  # @!attribute [rw] node_pool_id
3576
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3491
3577
  # @return [::String]
3492
3578
  # Required. Deprecated. The name of the node pool to delete.
3493
3579
  # This field has been deprecated and replaced by the name field.
@@ -3503,17 +3589,20 @@ module Google
3503
3589
 
3504
3590
  # ListNodePoolsRequest lists the node pool(s) for a cluster.
3505
3591
  # @!attribute [rw] project_id
3592
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3506
3593
  # @return [::String]
3507
3594
  # Required. Deprecated. The Google Developers Console [project ID or project
3508
3595
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3509
3596
  # This field has been deprecated and replaced by the parent field.
3510
3597
  # @!attribute [rw] zone
3598
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3511
3599
  # @return [::String]
3512
3600
  # Required. Deprecated. The name of the Google Compute Engine
3513
3601
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3514
3602
  # cluster resides. This field has been deprecated and replaced by the parent
3515
3603
  # field.
3516
3604
  # @!attribute [rw] cluster_id
3605
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3517
3606
  # @return [::String]
3518
3607
  # Required. Deprecated. The name of the cluster.
3519
3608
  # This field has been deprecated and replaced by the parent field.
@@ -3528,21 +3617,25 @@ module Google
3528
3617
 
3529
3618
  # GetNodePoolRequest retrieves a node pool for a cluster.
3530
3619
  # @!attribute [rw] project_id
3620
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3531
3621
  # @return [::String]
3532
3622
  # Required. Deprecated. The Google Developers Console [project ID or project
3533
3623
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3534
3624
  # This field has been deprecated and replaced by the name field.
3535
3625
  # @!attribute [rw] zone
3626
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3536
3627
  # @return [::String]
3537
3628
  # Required. Deprecated. The name of the Google Compute Engine
3538
3629
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3539
3630
  # cluster resides. This field has been deprecated and replaced by the name
3540
3631
  # field.
3541
3632
  # @!attribute [rw] cluster_id
3633
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3542
3634
  # @return [::String]
3543
3635
  # Required. Deprecated. The name of the cluster.
3544
3636
  # This field has been deprecated and replaced by the name field.
3545
3637
  # @!attribute [rw] node_pool_id
3638
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3546
3639
  # @return [::String]
3547
3640
  # Required. Deprecated. The name of the node pool.
3548
3641
  # This field has been deprecated and replaced by the name field.
@@ -3648,6 +3741,7 @@ module Google
3648
3741
  # @return [::Google::Cloud::Container::V1beta1::NodePool::Status]
3649
3742
  # [Output only] The status of the nodes in this pool instance.
3650
3743
  # @!attribute [rw] status_message
3744
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3651
3745
  # @return [::String]
3652
3746
  # [Output only] Deprecated. Use conditions instead.
3653
3747
  # Additional information about the current status of this
@@ -4077,21 +4171,25 @@ module Google
4077
4171
  # SetNodePoolManagementRequest sets the node management properties of a node
4078
4172
  # pool.
4079
4173
  # @!attribute [rw] project_id
4174
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4080
4175
  # @return [::String]
4081
4176
  # Required. Deprecated. The Google Developers Console [project ID or project
4082
4177
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4083
4178
  # This field has been deprecated and replaced by the name field.
4084
4179
  # @!attribute [rw] zone
4180
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4085
4181
  # @return [::String]
4086
4182
  # Required. Deprecated. The name of the Google Compute Engine
4087
4183
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4088
4184
  # cluster resides. This field has been deprecated and replaced by the name
4089
4185
  # field.
4090
4186
  # @!attribute [rw] cluster_id
4187
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4091
4188
  # @return [::String]
4092
4189
  # Required. Deprecated. The name of the cluster to update.
4093
4190
  # This field has been deprecated and replaced by the name field.
4094
4191
  # @!attribute [rw] node_pool_id
4192
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4095
4193
  # @return [::String]
4096
4194
  # Required. Deprecated. The name of the node pool to update.
4097
4195
  # This field has been deprecated and replaced by the name field.
@@ -4110,21 +4208,25 @@ module Google
4110
4208
 
4111
4209
  # SetNodePoolSizeRequest sets the size of a node pool.
4112
4210
  # @!attribute [rw] project_id
4211
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4113
4212
  # @return [::String]
4114
4213
  # Required. Deprecated. The Google Developers Console [project ID or project
4115
4214
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4116
4215
  # This field has been deprecated and replaced by the name field.
4117
4216
  # @!attribute [rw] zone
4217
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4118
4218
  # @return [::String]
4119
4219
  # Required. Deprecated. The name of the Google Compute Engine
4120
4220
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4121
4221
  # cluster resides. This field has been deprecated and replaced by the name
4122
4222
  # field.
4123
4223
  # @!attribute [rw] cluster_id
4224
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4124
4225
  # @return [::String]
4125
4226
  # Required. Deprecated. The name of the cluster to update.
4126
4227
  # This field has been deprecated and replaced by the name field.
4127
4228
  # @!attribute [rw] node_pool_id
4229
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4128
4230
  # @return [::String]
4129
4231
  # Required. Deprecated. The name of the node pool to update.
4130
4232
  # This field has been deprecated and replaced by the name field.
@@ -4157,21 +4259,25 @@ module Google
4157
4259
  # NodePool upgrade. This will be an no-op if the last upgrade successfully
4158
4260
  # completed.
4159
4261
  # @!attribute [rw] project_id
4262
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4160
4263
  # @return [::String]
4161
4264
  # Required. Deprecated. The Google Developers Console [project ID or project
4162
4265
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4163
4266
  # This field has been deprecated and replaced by the name field.
4164
4267
  # @!attribute [rw] zone
4268
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4165
4269
  # @return [::String]
4166
4270
  # Required. Deprecated. The name of the Google Compute Engine
4167
4271
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4168
4272
  # cluster resides. This field has been deprecated and replaced by the name
4169
4273
  # field.
4170
4274
  # @!attribute [rw] cluster_id
4275
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4171
4276
  # @return [::String]
4172
4277
  # Required. Deprecated. The name of the cluster to rollback.
4173
4278
  # This field has been deprecated and replaced by the name field.
4174
4279
  # @!attribute [rw] node_pool_id
4280
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4175
4281
  # @return [::String]
4176
4282
  # Required. Deprecated. The name of the node pool to rollback.
4177
4283
  # This field has been deprecated and replaced by the name field.
@@ -4269,6 +4375,7 @@ module Google
4269
4375
  # @return [::Google::Cloud::Container::V1beta1::NodeManagement]
4270
4376
  # NodeManagement configuration for this NodePool.
4271
4377
  # @!attribute [rw] min_cpu_platform
4378
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4272
4379
  # @return [::String]
4273
4380
  # Deprecated. Minimum CPU platform to be used for NAP created node pools.
4274
4381
  # The instance may be scheduled on the specified or newer CPU platform.
@@ -4387,17 +4494,20 @@ module Google
4387
4494
  # Engine cluster, which will in turn set them for Google Compute Engine
4388
4495
  # resources used by that cluster
4389
4496
  # @!attribute [rw] project_id
4497
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4390
4498
  # @return [::String]
4391
4499
  # Required. Deprecated. The Google Developers Console [project ID or project
4392
4500
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4393
4501
  # This field has been deprecated and replaced by the name field.
4394
4502
  # @!attribute [rw] zone
4503
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4395
4504
  # @return [::String]
4396
4505
  # Required. Deprecated. The name of the Google Compute Engine
4397
4506
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4398
4507
  # cluster resides. This field has been deprecated and replaced by the name
4399
4508
  # field.
4400
4509
  # @!attribute [rw] cluster_id
4510
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4401
4511
  # @return [::String]
4402
4512
  # Required. Deprecated. The name of the cluster.
4403
4513
  # This field has been deprecated and replaced by the name field.
@@ -4433,17 +4543,20 @@ module Google
4433
4543
  # SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
4434
4544
  # a cluster.
4435
4545
  # @!attribute [rw] project_id
4546
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4436
4547
  # @return [::String]
4437
4548
  # Required. Deprecated. The Google Developers Console [project ID or project
4438
4549
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4439
4550
  # This field has been deprecated and replaced by the name field.
4440
4551
  # @!attribute [rw] zone
4552
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4441
4553
  # @return [::String]
4442
4554
  # Required. Deprecated. The name of the Google Compute Engine
4443
4555
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4444
4556
  # cluster resides. This field has been deprecated and replaced by the name
4445
4557
  # field.
4446
4558
  # @!attribute [rw] cluster_id
4559
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4447
4560
  # @return [::String]
4448
4561
  # Required. Deprecated. The name of the cluster to update.
4449
4562
  # This field has been deprecated and replaced by the name field.
@@ -4462,17 +4575,20 @@ module Google
4462
4575
  # StartIPRotationRequest creates a new IP for the cluster and then performs
4463
4576
  # a node upgrade on each node pool to point to the new IP.
4464
4577
  # @!attribute [rw] project_id
4578
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4465
4579
  # @return [::String]
4466
4580
  # Required. Deprecated. The Google Developers Console [project ID or project
4467
4581
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4468
4582
  # This field has been deprecated and replaced by the name field.
4469
4583
  # @!attribute [rw] zone
4584
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4470
4585
  # @return [::String]
4471
4586
  # Required. Deprecated. The name of the Google Compute Engine
4472
4587
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4473
4588
  # cluster resides. This field has been deprecated and replaced by the name
4474
4589
  # field.
4475
4590
  # @!attribute [rw] cluster_id
4591
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4476
4592
  # @return [::String]
4477
4593
  # Required. Deprecated. The name of the cluster.
4478
4594
  # This field has been deprecated and replaced by the name field.
@@ -4490,17 +4606,20 @@ module Google
4490
4606
 
4491
4607
  # CompleteIPRotationRequest moves the cluster master back into single-IP mode.
4492
4608
  # @!attribute [rw] project_id
4609
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4493
4610
  # @return [::String]
4494
4611
  # Required. Deprecated. The Google Developers Console [project ID or project
4495
4612
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4496
4613
  # This field has been deprecated and replaced by the name field.
4497
4614
  # @!attribute [rw] zone
4615
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4498
4616
  # @return [::String]
4499
4617
  # Required. Deprecated. The name of the Google Compute Engine
4500
4618
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4501
4619
  # cluster resides. This field has been deprecated and replaced by the name
4502
4620
  # field.
4503
4621
  # @!attribute [rw] cluster_id
4622
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4504
4623
  # @return [::String]
4505
4624
  # Required. Deprecated. The name of the cluster.
4506
4625
  # This field has been deprecated and replaced by the name field.
@@ -4527,6 +4646,7 @@ module Google
4527
4646
  # NVIDIA [mig user
4528
4647
  # guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
4529
4648
  # @!attribute [rw] max_time_shared_clients_per_gpu
4649
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4530
4650
  # @return [::Integer]
4531
4651
  # The number of time-shared GPU resources to expose for each physical GPU.
4532
4652
  # @!attribute [rw] gpu_sharing_config
@@ -4600,6 +4720,7 @@ module Google
4600
4720
  # WorkloadMetadataConfig defines the metadata configuration to expose to
4601
4721
  # workloads on the node pool.
4602
4722
  # @!attribute [rw] node_metadata
4723
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4603
4724
  # @return [::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig::NodeMetadata]
4604
4725
  # NodeMetadata is the configuration for how to expose metadata to the
4605
4726
  # workloads running on the node.
@@ -4658,17 +4779,20 @@ module Google
4658
4779
 
4659
4780
  # SetNetworkPolicyRequest enables/disables network policy for a cluster.
4660
4781
  # @!attribute [rw] project_id
4782
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4661
4783
  # @return [::String]
4662
4784
  # Required. Deprecated. The Google Developers Console [project ID or project
4663
4785
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4664
4786
  # This field has been deprecated and replaced by the name field.
4665
4787
  # @!attribute [rw] zone
4788
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4666
4789
  # @return [::String]
4667
4790
  # Required. Deprecated. The name of the Google Compute Engine
4668
4791
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4669
4792
  # cluster resides. This field has been deprecated and replaced by the name
4670
4793
  # field.
4671
4794
  # @!attribute [rw] cluster_id
4795
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4672
4796
  # @return [::String]
4673
4797
  # Required. Deprecated. The name of the cluster.
4674
4798
  # This field has been deprecated and replaced by the name field.
@@ -4770,6 +4894,7 @@ module Google
4770
4894
  # StatusCondition describes why a cluster or a node pool has a certain status
4771
4895
  # (e.g., ERROR or DEGRADED).
4772
4896
  # @!attribute [rw] code
4897
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4773
4898
  # @return [::Google::Cloud::Container::V1beta1::StatusCondition::Code]
4774
4899
  # Machine-friendly representation of the condition
4775
4900
  # Deprecated. Use canonical_code instead.
@@ -4784,6 +4909,7 @@ module Google
4784
4909
  extend ::Google::Protobuf::MessageExts::ClassMethods
4785
4910
 
4786
4911
  # Code for each condition
4912
+ # @deprecated This enum is deprecated and may be removed in the next major version update.
4787
4913
  module Code
4788
4914
  # UNKNOWN indicates a generic condition.
4789
4915
  UNKNOWN = 0
@@ -5130,6 +5256,7 @@ module Google
5130
5256
  # Configuration for the use of Kubernetes Service Accounts in GCP IAM
5131
5257
  # policies.
5132
5258
  # @!attribute [rw] identity_namespace
5259
+ # @deprecated This field is deprecated and may be removed in the next major version update.
5133
5260
  # @return [::String]
5134
5261
  # IAM Identity Namespace to attach all Kubernetes Service Accounts to.
5135
5262
  # @!attribute [rw] workload_pool
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.33.0
4
+ version: 0.34.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-03 00:00:00.000000000 Z
11
+ date: 2024-01-12 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.20.0
19
+ version: 0.21.1
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.20.0
29
+ version: 0.21.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a