google-cloud-container-v1 0.32.0 → 0.33.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: 812af2fe4c30691c81b2c4126256b246a9a978b903e9e67e2dab870540523834
4
- data.tar.gz: 315257ed08772279252e3b522acdb185612e74f04bc619b28e24deede31e6d38
3
+ metadata.gz: c62881bb561e3304b9eded0bbf957c4577264b313aefca1f387cd1f59eccf72b
4
+ data.tar.gz: 5e81e9a9952a8b45201b2f02d52b16affe361e91f17f360ed2f4ef7d797f99a9
5
5
  SHA512:
6
- metadata.gz: bacaffc58358f7cff9ddc02db62e2603d8076a92a50299388fbf793058ccc89143b47621dd1f7cfe6d65a267e57d8cb8d09a60033a4cbd88a808e04eaa7d18ec
7
- data.tar.gz: ec212d20a9b482c5085f0938d902e4526bbe06d93f2e34c170648511971154d22075c8d3b3802357e2d39ffc14bf221e48537ccc6908d5054d4ae8d37ac5453c
6
+ metadata.gz: adbc2401153d980611cc9b34ecf8ca585f23d958bff026c41740109f89360e027c3e508f404d19efcd35e6896a21c02bbf0697ec25f5dd48f66f578b060cb6e4
7
+ data.tar.gz: af1641f38e9a423c73fcce5d28a4380eda04e5a5ddc3c8c94c65c4372fb8b57db6d9aebeb3718925b05c990bab2027ffc6173615e9cf2de251c4362081d4c55d
data/AUTHENTICATION.md CHANGED
@@ -1,151 +1,122 @@
1
1
  # Authentication
2
2
 
3
- In general, the google-cloud-container-v1 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-v1 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/v1"
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::V1::ClusterManager::Client.new
18
+ ```sh
19
+ gcloud auth application-default login
31
20
  ```
32
21
 
33
- ## Credential Lookup
34
-
35
- The google-cloud-container-v1 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-v1 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-v1
66
- checks for credentials are configured on the service Credentials class (such as
67
- {::Google::Cloud::Container::V1::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/v1"
77
-
78
- ENV["CONTAINER_CREDENTIALS"] = "path/to/keyfile.json"
42
+ ### Configuration
79
43
 
80
- client = ::Google::Cloud::Container::V1::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/v1"
90
58
 
91
59
  client = ::Google::Cloud::Container::V1::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/v1"
100
68
 
101
69
  ::Google::Cloud::Container::V1::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::V1::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-v1
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/v1"
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-v1.
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::V1::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 v1
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
@@ -177,6 +180,15 @@ module Google
177
180
  @config
178
181
  end
179
182
 
183
+ ##
184
+ # The effective universe domain
185
+ #
186
+ # @return [String]
187
+ #
188
+ def universe_domain
189
+ @cluster_manager_stub.universe_domain
190
+ end
191
+
180
192
  ##
181
193
  # Create a new ClusterManager client object.
182
194
  #
@@ -210,8 +222,9 @@ module Google
210
222
  credentials = @config.credentials
211
223
  # Use self-signed JWT if the endpoint is unchanged from default,
212
224
  # but only if the default endpoint does not have a region prefix.
213
- enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
214
- !@config.endpoint.split(".").first.include?("-")
225
+ enable_self_signed_jwt = @config.endpoint.nil? ||
226
+ (@config.endpoint == Configuration::DEFAULT_ENDPOINT &&
227
+ !@config.endpoint.split(".").first.include?("-"))
215
228
  credentials ||= Credentials.default scope: @config.scope,
216
229
  enable_self_signed_jwt: enable_self_signed_jwt
217
230
  if credentials.is_a?(::String) || credentials.is_a?(::Hash)
@@ -222,8 +235,10 @@ module Google
222
235
 
223
236
  @cluster_manager_stub = ::Gapic::ServiceStub.new(
224
237
  ::Google::Cloud::Container::V1::ClusterManager::Stub,
225
- credentials: credentials,
226
- endpoint: @config.endpoint,
238
+ credentials: credentials,
239
+ endpoint: @config.endpoint,
240
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
241
+ universe_domain: @config.universe_domain,
227
242
  channel_args: @config.channel_args,
228
243
  interceptors: @config.interceptors,
229
244
  channel_pool_config: @config.channel_pool
@@ -3786,9 +3801,9 @@ module Google
3786
3801
  # end
3787
3802
  #
3788
3803
  # @!attribute [rw] endpoint
3789
- # The hostname or hostname:port of the service endpoint.
3790
- # Defaults to `"container.googleapis.com"`.
3791
- # @return [::String]
3804
+ # A custom service endpoint, as a hostname or hostname:port. The default is
3805
+ # nil, indicating to use the default endpoint in the current universe domain.
3806
+ # @return [::String,nil]
3792
3807
  # @!attribute [rw] credentials
3793
3808
  # Credentials to send with calls. You may provide any of the following types:
3794
3809
  # * (`String`) The path to a service account key file in JSON format
@@ -3834,13 +3849,20 @@ module Google
3834
3849
  # @!attribute [rw] quota_project
3835
3850
  # A separate project against which to charge quota.
3836
3851
  # @return [::String]
3852
+ # @!attribute [rw] universe_domain
3853
+ # The universe domain within which to make requests. This determines the
3854
+ # default endpoint URL. The default value of nil uses the environment
3855
+ # universe (usually the default "googleapis.com" universe).
3856
+ # @return [::String,nil]
3837
3857
  #
3838
3858
  class Configuration
3839
3859
  extend ::Gapic::Config
3840
3860
 
3861
+ # @private
3862
+ # The endpoint specific to the default "googleapis.com" universe. Deprecated.
3841
3863
  DEFAULT_ENDPOINT = "container.googleapis.com"
3842
3864
 
3843
- config_attr :endpoint, DEFAULT_ENDPOINT, ::String
3865
+ config_attr :endpoint, nil, ::String, nil
3844
3866
  config_attr :credentials, nil do |value|
3845
3867
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3846
3868
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -3855,6 +3877,7 @@ module Google
3855
3877
  config_attr :metadata, nil, ::Hash, nil
3856
3878
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
3857
3879
  config_attr :quota_project, nil, ::String, nil
3880
+ config_attr :universe_domain, nil, ::String, nil
3858
3881
 
3859
3882
  # @private
3860
3883
  def initialize parent_config = nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "0.32.0"
24
+ VERSION = "0.33.0"
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
@@ -751,6 +751,7 @@ module Google
751
751
  # Authentication can be done using HTTP basic auth or using client
752
752
  # certificates.
753
753
  # @!attribute [rw] username
754
+ # @deprecated This field is deprecated and may be removed in the next major version update.
754
755
  # @return [::String]
755
756
  # The username to use for HTTP basic authentication to the master endpoint.
756
757
  # For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -761,6 +762,7 @@ module Google
761
762
  # authentication methods, see:
762
763
  # https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
763
764
  # @!attribute [rw] password
765
+ # @deprecated This field is deprecated and may be removed in the next major version update.
764
766
  # @return [::String]
765
767
  # The password to use for HTTP basic authentication to the master endpoint.
766
768
  # Because the master endpoint is open to the Internet, you should create a
@@ -814,6 +816,7 @@ module Google
814
816
  # increases or decreases the number of replica pods a replication controller
815
817
  # has based on the resource usage of the existing pods.
816
818
  # @!attribute [rw] kubernetes_dashboard
819
+ # @deprecated This field is deprecated and may be removed in the next major version update.
817
820
  # @return [::Google::Cloud::Container::V1::KubernetesDashboard]
818
821
  # Configuration for the Kubernetes Dashboard.
819
822
  # This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1103,6 +1106,7 @@ module Google
1103
1106
 
1104
1107
  # Configuration for Binary Authorization.
1105
1108
  # @!attribute [rw] enabled
1109
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1106
1110
  # @return [::Boolean]
1107
1111
  # This field is deprecated. Leave this unset and instead configure
1108
1112
  # BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -1159,12 +1163,15 @@ module Google
1159
1163
  # this field is empty, then an automatic name will be chosen for the new
1160
1164
  # subnetwork.
1161
1165
  # @!attribute [rw] cluster_ipv4_cidr
1166
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1162
1167
  # @return [::String]
1163
1168
  # This field is deprecated, use cluster_ipv4_cidr_block.
1164
1169
  # @!attribute [rw] node_ipv4_cidr
1170
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1165
1171
  # @return [::String]
1166
1172
  # This field is deprecated, use node_ipv4_cidr_block.
1167
1173
  # @!attribute [rw] services_ipv4_cidr
1174
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1168
1175
  # @return [::String]
1169
1176
  # This field is deprecated, use services_ipv4_cidr_block.
1170
1177
  # @!attribute [rw] cluster_secondary_range_name
@@ -1315,6 +1322,7 @@ module Google
1315
1322
  # @return [::String]
1316
1323
  # An optional description of this cluster.
1317
1324
  # @!attribute [rw] initial_node_count
1325
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1318
1326
  # @return [::Integer]
1319
1327
  # The number of nodes to create in this cluster. You must ensure that your
1320
1328
  # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -1327,6 +1335,7 @@ module Google
1327
1335
  #
1328
1336
  # This field is deprecated, use node_pool.initial_node_count instead.
1329
1337
  # @!attribute [rw] node_config
1338
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1330
1339
  # @return [::Google::Cloud::Container::V1::NodeConfig]
1331
1340
  # Parameters used in creating the cluster's nodes.
1332
1341
  # For requests, this field should only be used in lieu of a
@@ -1506,6 +1515,7 @@ module Google
1506
1515
  # @return [::String]
1507
1516
  # [Output only] Server-defined URL for the resource.
1508
1517
  # @!attribute [rw] zone
1518
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1509
1519
  # @return [::String]
1510
1520
  # [Output only] The name of the Google Compute Engine
1511
1521
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1537,6 +1547,7 @@ module Google
1537
1547
  # @return [::String]
1538
1548
  # [Output only] The current software version of the master endpoint.
1539
1549
  # @!attribute [rw] current_node_version
1550
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1540
1551
  # @return [::String]
1541
1552
  # [Output only] Deprecated, use
1542
1553
  # [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -1551,6 +1562,7 @@ module Google
1551
1562
  # @return [::Google::Cloud::Container::V1::Cluster::Status]
1552
1563
  # [Output only] The current status of this cluster.
1553
1564
  # @!attribute [rw] status_message
1565
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1554
1566
  # @return [::String]
1555
1567
  # [Output only] Deprecated. Use conditions instead.
1556
1568
  # Additional information about the current status of this
@@ -1569,9 +1581,11 @@ module Google
1569
1581
  # notation (e.g. `1.2.3.4/29`). Service addresses are
1570
1582
  # typically put in the last `/16` from the container CIDR.
1571
1583
  # @!attribute [rw] instance_group_urls
1584
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1572
1585
  # @return [::Array<::String>]
1573
1586
  # Deprecated. Use node_pools.instance_group_urls.
1574
1587
  # @!attribute [rw] current_node_count
1588
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1575
1589
  # @return [::Integer]
1576
1590
  # [Output only] The number of nodes currently in the cluster. Deprecated.
1577
1591
  # Call Kubernetes API directly to retrieve node information.
@@ -2018,6 +2032,7 @@ module Google
2018
2032
  # @return [::String]
2019
2033
  # The server-assigned ID for the operation.
2020
2034
  # @!attribute [rw] zone
2035
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2021
2036
  # @return [::String]
2022
2037
  # The name of the Google Compute Engine
2023
2038
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2032,6 +2047,7 @@ module Google
2032
2047
  # @return [::String]
2033
2048
  # Detailed operation progress, if available.
2034
2049
  # @!attribute [r] status_message
2050
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2035
2051
  # @return [::String]
2036
2052
  # Output only. If an error has occurred, a textual description of the error.
2037
2053
  # Deprecated. Use the field error instead.
@@ -2075,10 +2091,12 @@ module Google
2075
2091
  # @return [::Google::Cloud::Container::V1::OperationProgress]
2076
2092
  # Output only. [Output only] Progress information for an operation.
2077
2093
  # @!attribute [rw] cluster_conditions
2094
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2078
2095
  # @return [::Array<::Google::Cloud::Container::V1::StatusCondition>]
2079
2096
  # Which conditions caused the current cluster state.
2080
2097
  # Deprecated. Use field error instead.
2081
2098
  # @!attribute [rw] nodepool_conditions
2099
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2082
2100
  # @return [::Array<::Google::Cloud::Container::V1::StatusCondition>]
2083
2101
  # Which conditions caused the current node pool state.
2084
2102
  # Deprecated. Use field error instead.
@@ -2278,11 +2296,13 @@ module Google
2278
2296
 
2279
2297
  # CreateClusterRequest creates a cluster.
2280
2298
  # @!attribute [rw] project_id
2299
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2281
2300
  # @return [::String]
2282
2301
  # Deprecated. The Google Developers Console [project ID or project
2283
2302
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2284
2303
  # This field has been deprecated and replaced by the parent field.
2285
2304
  # @!attribute [rw] zone
2305
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2286
2306
  # @return [::String]
2287
2307
  # Deprecated. The name of the Google Compute Engine
2288
2308
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2303,17 +2323,20 @@ module Google
2303
2323
 
2304
2324
  # GetClusterRequest gets the settings of a cluster.
2305
2325
  # @!attribute [rw] project_id
2326
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2306
2327
  # @return [::String]
2307
2328
  # Deprecated. The Google Developers Console [project ID or project
2308
2329
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2309
2330
  # This field has been deprecated and replaced by the name field.
2310
2331
  # @!attribute [rw] zone
2332
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2311
2333
  # @return [::String]
2312
2334
  # Deprecated. The name of the Google Compute Engine
2313
2335
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2314
2336
  # cluster resides. This field has been deprecated and replaced by the name
2315
2337
  # field.
2316
2338
  # @!attribute [rw] cluster_id
2339
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2317
2340
  # @return [::String]
2318
2341
  # Deprecated. The name of the cluster to retrieve.
2319
2342
  # This field has been deprecated and replaced by the name field.
@@ -2328,17 +2351,20 @@ module Google
2328
2351
 
2329
2352
  # UpdateClusterRequest updates the settings of a cluster.
2330
2353
  # @!attribute [rw] project_id
2354
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2331
2355
  # @return [::String]
2332
2356
  # Deprecated. The Google Developers Console [project ID or project
2333
2357
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2334
2358
  # This field has been deprecated and replaced by the name field.
2335
2359
  # @!attribute [rw] zone
2360
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2336
2361
  # @return [::String]
2337
2362
  # Deprecated. The name of the Google Compute Engine
2338
2363
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2339
2364
  # cluster resides. This field has been deprecated and replaced by the name
2340
2365
  # field.
2341
2366
  # @!attribute [rw] cluster_id
2367
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2342
2368
  # @return [::String]
2343
2369
  # Deprecated. The name of the cluster to upgrade.
2344
2370
  # This field has been deprecated and replaced by the name field.
@@ -2356,21 +2382,25 @@ module Google
2356
2382
 
2357
2383
  # UpdateNodePoolRequests update a node pool's image and/or version.
2358
2384
  # @!attribute [rw] project_id
2385
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2359
2386
  # @return [::String]
2360
2387
  # Deprecated. The Google Developers Console [project ID or project
2361
2388
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2362
2389
  # This field has been deprecated and replaced by the name field.
2363
2390
  # @!attribute [rw] zone
2391
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2364
2392
  # @return [::String]
2365
2393
  # Deprecated. The name of the Google Compute Engine
2366
2394
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2367
2395
  # cluster resides. This field has been deprecated and replaced by the name
2368
2396
  # field.
2369
2397
  # @!attribute [rw] cluster_id
2398
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2370
2399
  # @return [::String]
2371
2400
  # Deprecated. The name of the cluster to upgrade.
2372
2401
  # This field has been deprecated and replaced by the name field.
2373
2402
  # @!attribute [rw] node_pool_id
2403
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2374
2404
  # @return [::String]
2375
2405
  # Deprecated. The name of the node pool to upgrade.
2376
2406
  # This field has been deprecated and replaced by the name field.
@@ -2492,21 +2522,25 @@ module Google
2492
2522
 
2493
2523
  # SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
2494
2524
  # @!attribute [rw] project_id
2525
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2495
2526
  # @return [::String]
2496
2527
  # Deprecated. The Google Developers Console [project ID or project
2497
2528
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2498
2529
  # This field has been deprecated and replaced by the name field.
2499
2530
  # @!attribute [rw] zone
2531
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2500
2532
  # @return [::String]
2501
2533
  # Deprecated. The name of the Google Compute Engine
2502
2534
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2503
2535
  # cluster resides. This field has been deprecated and replaced by the name
2504
2536
  # field.
2505
2537
  # @!attribute [rw] cluster_id
2538
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2506
2539
  # @return [::String]
2507
2540
  # Deprecated. The name of the cluster to upgrade.
2508
2541
  # This field has been deprecated and replaced by the name field.
2509
2542
  # @!attribute [rw] node_pool_id
2543
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2510
2544
  # @return [::String]
2511
2545
  # Deprecated. The name of the node pool to upgrade.
2512
2546
  # This field has been deprecated and replaced by the name field.
@@ -2525,17 +2559,20 @@ module Google
2525
2559
 
2526
2560
  # SetLoggingServiceRequest sets the logging service of a cluster.
2527
2561
  # @!attribute [rw] project_id
2562
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2528
2563
  # @return [::String]
2529
2564
  # Deprecated. The Google Developers Console [project ID or project
2530
2565
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2531
2566
  # This field has been deprecated and replaced by the name field.
2532
2567
  # @!attribute [rw] zone
2568
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2533
2569
  # @return [::String]
2534
2570
  # Deprecated. The name of the Google Compute Engine
2535
2571
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2536
2572
  # cluster resides. This field has been deprecated and replaced by the name
2537
2573
  # field.
2538
2574
  # @!attribute [rw] cluster_id
2575
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2539
2576
  # @return [::String]
2540
2577
  # Deprecated. The name of the cluster to upgrade.
2541
2578
  # This field has been deprecated and replaced by the name field.
@@ -2563,17 +2600,20 @@ module Google
2563
2600
 
2564
2601
  # SetMonitoringServiceRequest sets the monitoring service of a cluster.
2565
2602
  # @!attribute [rw] project_id
2603
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2566
2604
  # @return [::String]
2567
2605
  # Deprecated. The Google Developers Console [project ID or project
2568
2606
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2569
2607
  # This field has been deprecated and replaced by the name field.
2570
2608
  # @!attribute [rw] zone
2609
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2571
2610
  # @return [::String]
2572
2611
  # Deprecated. The name of the Google Compute Engine
2573
2612
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2574
2613
  # cluster resides. This field has been deprecated and replaced by the name
2575
2614
  # field.
2576
2615
  # @!attribute [rw] cluster_id
2616
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2577
2617
  # @return [::String]
2578
2618
  # Deprecated. The name of the cluster to upgrade.
2579
2619
  # This field has been deprecated and replaced by the name field.
@@ -2601,17 +2641,20 @@ module Google
2601
2641
 
2602
2642
  # SetAddonsConfigRequest sets the addons associated with the cluster.
2603
2643
  # @!attribute [rw] project_id
2644
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2604
2645
  # @return [::String]
2605
2646
  # Deprecated. The Google Developers Console [project ID or project
2606
2647
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2607
2648
  # This field has been deprecated and replaced by the name field.
2608
2649
  # @!attribute [rw] zone
2650
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2609
2651
  # @return [::String]
2610
2652
  # Deprecated. The name of the Google Compute Engine
2611
2653
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2612
2654
  # cluster resides. This field has been deprecated and replaced by the name
2613
2655
  # field.
2614
2656
  # @!attribute [rw] cluster_id
2657
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2615
2658
  # @return [::String]
2616
2659
  # Deprecated. The name of the cluster to upgrade.
2617
2660
  # This field has been deprecated and replaced by the name field.
@@ -2630,17 +2673,20 @@ module Google
2630
2673
 
2631
2674
  # SetLocationsRequest sets the locations of the cluster.
2632
2675
  # @!attribute [rw] project_id
2676
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2633
2677
  # @return [::String]
2634
2678
  # Deprecated. The Google Developers Console [project ID or project
2635
2679
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2636
2680
  # This field has been deprecated and replaced by the name field.
2637
2681
  # @!attribute [rw] zone
2682
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2638
2683
  # @return [::String]
2639
2684
  # Deprecated. The name of the Google Compute Engine
2640
2685
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2641
2686
  # cluster resides. This field has been deprecated and replaced by the name
2642
2687
  # field.
2643
2688
  # @!attribute [rw] cluster_id
2689
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2644
2690
  # @return [::String]
2645
2691
  # Deprecated. The name of the cluster to upgrade.
2646
2692
  # This field has been deprecated and replaced by the name field.
@@ -2664,17 +2710,20 @@ module Google
2664
2710
 
2665
2711
  # UpdateMasterRequest updates the master of the cluster.
2666
2712
  # @!attribute [rw] project_id
2713
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2667
2714
  # @return [::String]
2668
2715
  # Deprecated. The Google Developers Console [project ID or project
2669
2716
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2670
2717
  # This field has been deprecated and replaced by the name field.
2671
2718
  # @!attribute [rw] zone
2719
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2672
2720
  # @return [::String]
2673
2721
  # Deprecated. The name of the Google Compute Engine
2674
2722
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2675
2723
  # cluster resides. This field has been deprecated and replaced by the name
2676
2724
  # field.
2677
2725
  # @!attribute [rw] cluster_id
2726
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2678
2727
  # @return [::String]
2679
2728
  # Deprecated. The name of the cluster to upgrade.
2680
2729
  # This field has been deprecated and replaced by the name field.
@@ -2701,17 +2750,20 @@ module Google
2701
2750
 
2702
2751
  # SetMasterAuthRequest updates the admin password of a cluster.
2703
2752
  # @!attribute [rw] project_id
2753
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2704
2754
  # @return [::String]
2705
2755
  # Deprecated. The Google Developers Console [project ID or project
2706
2756
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2707
2757
  # This field has been deprecated and replaced by the name field.
2708
2758
  # @!attribute [rw] zone
2759
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2709
2760
  # @return [::String]
2710
2761
  # Deprecated. The name of the Google Compute Engine
2711
2762
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2712
2763
  # cluster resides. This field has been deprecated and replaced by the name
2713
2764
  # field.
2714
2765
  # @!attribute [rw] cluster_id
2766
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2715
2767
  # @return [::String]
2716
2768
  # Deprecated. The name of the cluster to upgrade.
2717
2769
  # This field has been deprecated and replaced by the name field.
@@ -2750,17 +2802,20 @@ module Google
2750
2802
 
2751
2803
  # DeleteClusterRequest deletes a cluster.
2752
2804
  # @!attribute [rw] project_id
2805
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2753
2806
  # @return [::String]
2754
2807
  # Deprecated. The Google Developers Console [project ID or project
2755
2808
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2756
2809
  # This field has been deprecated and replaced by the name field.
2757
2810
  # @!attribute [rw] zone
2811
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2758
2812
  # @return [::String]
2759
2813
  # Deprecated. The name of the Google Compute Engine
2760
2814
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2761
2815
  # cluster resides. This field has been deprecated and replaced by the name
2762
2816
  # field.
2763
2817
  # @!attribute [rw] cluster_id
2818
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2764
2819
  # @return [::String]
2765
2820
  # Deprecated. The name of the cluster to delete.
2766
2821
  # This field has been deprecated and replaced by the name field.
@@ -2775,11 +2830,13 @@ module Google
2775
2830
 
2776
2831
  # ListClustersRequest lists clusters.
2777
2832
  # @!attribute [rw] project_id
2833
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2778
2834
  # @return [::String]
2779
2835
  # Deprecated. The Google Developers Console [project ID or project
2780
2836
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2781
2837
  # This field has been deprecated and replaced by the parent field.
2782
2838
  # @!attribute [rw] zone
2839
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2783
2840
  # @return [::String]
2784
2841
  # Deprecated. The name of the Google Compute Engine
2785
2842
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2811,17 +2868,20 @@ module Google
2811
2868
 
2812
2869
  # GetOperationRequest gets a single operation.
2813
2870
  # @!attribute [rw] project_id
2871
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2814
2872
  # @return [::String]
2815
2873
  # Deprecated. The Google Developers Console [project ID or project
2816
2874
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2817
2875
  # This field has been deprecated and replaced by the name field.
2818
2876
  # @!attribute [rw] zone
2877
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2819
2878
  # @return [::String]
2820
2879
  # Deprecated. The name of the Google Compute Engine
2821
2880
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2822
2881
  # cluster resides. This field has been deprecated and replaced by the name
2823
2882
  # field.
2824
2883
  # @!attribute [rw] operation_id
2884
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2825
2885
  # @return [::String]
2826
2886
  # Deprecated. The server-assigned `name` of the operation.
2827
2887
  # This field has been deprecated and replaced by the name field.
@@ -2836,11 +2896,13 @@ module Google
2836
2896
 
2837
2897
  # ListOperationsRequest lists operations.
2838
2898
  # @!attribute [rw] project_id
2899
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2839
2900
  # @return [::String]
2840
2901
  # Deprecated. The Google Developers Console [project ID or project
2841
2902
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2842
2903
  # This field has been deprecated and replaced by the parent field.
2843
2904
  # @!attribute [rw] zone
2905
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2844
2906
  # @return [::String]
2845
2907
  # Deprecated. The name of the Google Compute Engine
2846
2908
  # [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -2858,17 +2920,20 @@ module Google
2858
2920
 
2859
2921
  # CancelOperationRequest cancels a single operation.
2860
2922
  # @!attribute [rw] project_id
2923
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2861
2924
  # @return [::String]
2862
2925
  # Deprecated. The Google Developers Console [project ID or project
2863
2926
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2864
2927
  # This field has been deprecated and replaced by the name field.
2865
2928
  # @!attribute [rw] zone
2929
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2866
2930
  # @return [::String]
2867
2931
  # Deprecated. The name of the Google Compute Engine
2868
2932
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2869
2933
  # operation resides. This field has been deprecated and replaced by the name
2870
2934
  # field.
2871
2935
  # @!attribute [rw] operation_id
2936
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2872
2937
  # @return [::String]
2873
2938
  # Deprecated. The server-assigned `name` of the operation.
2874
2939
  # This field has been deprecated and replaced by the name field.
@@ -2896,11 +2961,13 @@ module Google
2896
2961
 
2897
2962
  # Gets the current Kubernetes Engine service configuration.
2898
2963
  # @!attribute [rw] project_id
2964
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2899
2965
  # @return [::String]
2900
2966
  # Deprecated. The Google Developers Console [project ID or project
2901
2967
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2902
2968
  # This field has been deprecated and replaced by the name field.
2903
2969
  # @!attribute [rw] zone
2970
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2904
2971
  # @return [::String]
2905
2972
  # Deprecated. The name of the Google Compute Engine
2906
2973
  # [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -2956,17 +3023,20 @@ module Google
2956
3023
 
2957
3024
  # CreateNodePoolRequest creates a node pool for a cluster.
2958
3025
  # @!attribute [rw] project_id
3026
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2959
3027
  # @return [::String]
2960
3028
  # Deprecated. The Google Developers Console [project ID or project
2961
3029
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2962
3030
  # This field has been deprecated and replaced by the parent field.
2963
3031
  # @!attribute [rw] zone
3032
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2964
3033
  # @return [::String]
2965
3034
  # Deprecated. The name of the Google Compute Engine
2966
3035
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2967
3036
  # cluster resides. This field has been deprecated and replaced by the parent
2968
3037
  # field.
2969
3038
  # @!attribute [rw] cluster_id
3039
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2970
3040
  # @return [::String]
2971
3041
  # Deprecated. The name of the cluster.
2972
3042
  # This field has been deprecated and replaced by the parent field.
@@ -2985,21 +3055,25 @@ module Google
2985
3055
 
2986
3056
  # DeleteNodePoolRequest deletes a node pool for a cluster.
2987
3057
  # @!attribute [rw] project_id
3058
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2988
3059
  # @return [::String]
2989
3060
  # Deprecated. The Google Developers Console [project ID or project
2990
3061
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2991
3062
  # This field has been deprecated and replaced by the name field.
2992
3063
  # @!attribute [rw] zone
3064
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2993
3065
  # @return [::String]
2994
3066
  # Deprecated. The name of the Google Compute Engine
2995
3067
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2996
3068
  # cluster resides. This field has been deprecated and replaced by the name
2997
3069
  # field.
2998
3070
  # @!attribute [rw] cluster_id
3071
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2999
3072
  # @return [::String]
3000
3073
  # Deprecated. The name of the cluster.
3001
3074
  # This field has been deprecated and replaced by the name field.
3002
3075
  # @!attribute [rw] node_pool_id
3076
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3003
3077
  # @return [::String]
3004
3078
  # Deprecated. The name of the node pool to delete.
3005
3079
  # This field has been deprecated and replaced by the name field.
@@ -3015,17 +3089,20 @@ module Google
3015
3089
 
3016
3090
  # ListNodePoolsRequest lists the node pool(s) for a cluster.
3017
3091
  # @!attribute [rw] project_id
3092
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3018
3093
  # @return [::String]
3019
3094
  # Deprecated. The Google Developers Console [project ID or project
3020
3095
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3021
3096
  # This field has been deprecated and replaced by the parent field.
3022
3097
  # @!attribute [rw] zone
3098
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3023
3099
  # @return [::String]
3024
3100
  # Deprecated. The name of the Google Compute Engine
3025
3101
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3026
3102
  # cluster resides. This field has been deprecated and replaced by the parent
3027
3103
  # field.
3028
3104
  # @!attribute [rw] cluster_id
3105
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3029
3106
  # @return [::String]
3030
3107
  # Deprecated. The name of the cluster.
3031
3108
  # This field has been deprecated and replaced by the parent field.
@@ -3040,21 +3117,25 @@ module Google
3040
3117
 
3041
3118
  # GetNodePoolRequest retrieves a node pool for a cluster.
3042
3119
  # @!attribute [rw] project_id
3120
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3043
3121
  # @return [::String]
3044
3122
  # Deprecated. The Google Developers Console [project ID or project
3045
3123
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3046
3124
  # This field has been deprecated and replaced by the name field.
3047
3125
  # @!attribute [rw] zone
3126
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3048
3127
  # @return [::String]
3049
3128
  # Deprecated. The name of the Google Compute Engine
3050
3129
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3051
3130
  # cluster resides. This field has been deprecated and replaced by the name
3052
3131
  # field.
3053
3132
  # @!attribute [rw] cluster_id
3133
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3054
3134
  # @return [::String]
3055
3135
  # Deprecated. The name of the cluster.
3056
3136
  # This field has been deprecated and replaced by the name field.
3057
3137
  # @!attribute [rw] node_pool_id
3138
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3058
3139
  # @return [::String]
3059
3140
  # Deprecated. The name of the node pool.
3060
3141
  # This field has been deprecated and replaced by the name field.
@@ -3150,6 +3231,7 @@ module Google
3150
3231
  # @return [::Google::Cloud::Container::V1::NodePool::Status]
3151
3232
  # [Output only] The status of the nodes in this pool instance.
3152
3233
  # @!attribute [rw] status_message
3234
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3153
3235
  # @return [::String]
3154
3236
  # [Output only] Deprecated. Use conditions instead.
3155
3237
  # Additional information about the current status of this
@@ -3600,21 +3682,25 @@ module Google
3600
3682
  # SetNodePoolManagementRequest sets the node management properties of a node
3601
3683
  # pool.
3602
3684
  # @!attribute [rw] project_id
3685
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3603
3686
  # @return [::String]
3604
3687
  # Deprecated. The Google Developers Console [project ID or project
3605
3688
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3606
3689
  # This field has been deprecated and replaced by the name field.
3607
3690
  # @!attribute [rw] zone
3691
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3608
3692
  # @return [::String]
3609
3693
  # Deprecated. The name of the Google Compute Engine
3610
3694
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3611
3695
  # cluster resides. This field has been deprecated and replaced by the name
3612
3696
  # field.
3613
3697
  # @!attribute [rw] cluster_id
3698
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3614
3699
  # @return [::String]
3615
3700
  # Deprecated. The name of the cluster to update.
3616
3701
  # This field has been deprecated and replaced by the name field.
3617
3702
  # @!attribute [rw] node_pool_id
3703
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3618
3704
  # @return [::String]
3619
3705
  # Deprecated. The name of the node pool to update.
3620
3706
  # This field has been deprecated and replaced by the name field.
@@ -3633,21 +3719,25 @@ module Google
3633
3719
 
3634
3720
  # SetNodePoolSizeRequest sets the size of a node pool.
3635
3721
  # @!attribute [rw] project_id
3722
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3636
3723
  # @return [::String]
3637
3724
  # Deprecated. The Google Developers Console [project ID or project
3638
3725
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3639
3726
  # This field has been deprecated and replaced by the name field.
3640
3727
  # @!attribute [rw] zone
3728
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3641
3729
  # @return [::String]
3642
3730
  # Deprecated. The name of the Google Compute Engine
3643
3731
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3644
3732
  # cluster resides. This field has been deprecated and replaced by the name
3645
3733
  # field.
3646
3734
  # @!attribute [rw] cluster_id
3735
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3647
3736
  # @return [::String]
3648
3737
  # Deprecated. The name of the cluster to update.
3649
3738
  # This field has been deprecated and replaced by the name field.
3650
3739
  # @!attribute [rw] node_pool_id
3740
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3651
3741
  # @return [::String]
3652
3742
  # Deprecated. The name of the node pool to update.
3653
3743
  # This field has been deprecated and replaced by the name field.
@@ -3680,21 +3770,25 @@ module Google
3680
3770
  # NodePool upgrade. This will be an no-op if the last upgrade successfully
3681
3771
  # completed.
3682
3772
  # @!attribute [rw] project_id
3773
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3683
3774
  # @return [::String]
3684
3775
  # Deprecated. The Google Developers Console [project ID or project
3685
3776
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3686
3777
  # This field has been deprecated and replaced by the name field.
3687
3778
  # @!attribute [rw] zone
3779
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3688
3780
  # @return [::String]
3689
3781
  # Deprecated. The name of the Google Compute Engine
3690
3782
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3691
3783
  # cluster resides. This field has been deprecated and replaced by the name
3692
3784
  # field.
3693
3785
  # @!attribute [rw] cluster_id
3786
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3694
3787
  # @return [::String]
3695
3788
  # Deprecated. The name of the cluster to rollback.
3696
3789
  # This field has been deprecated and replaced by the name field.
3697
3790
  # @!attribute [rw] node_pool_id
3791
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3698
3792
  # @return [::String]
3699
3793
  # Deprecated. The name of the node pool to rollback.
3700
3794
  # This field has been deprecated and replaced by the name field.
@@ -3776,6 +3870,7 @@ module Google
3776
3870
  # @return [::Google::Cloud::Container::V1::NodeManagement]
3777
3871
  # Specifies the node management options for NAP created node-pools.
3778
3872
  # @!attribute [rw] min_cpu_platform
3873
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3779
3874
  # @return [::String]
3780
3875
  # Deprecated. Minimum CPU platform to be used for NAP created node pools.
3781
3876
  # The instance may be scheduled on the specified or newer CPU platform.
@@ -3894,17 +3989,20 @@ module Google
3894
3989
  # Engine cluster, which will in turn set them for Google Compute Engine
3895
3990
  # resources used by that cluster
3896
3991
  # @!attribute [rw] project_id
3992
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3897
3993
  # @return [::String]
3898
3994
  # Deprecated. The Google Developers Console [project ID or project
3899
3995
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3900
3996
  # This field has been deprecated and replaced by the name field.
3901
3997
  # @!attribute [rw] zone
3998
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3902
3999
  # @return [::String]
3903
4000
  # Deprecated. The name of the Google Compute Engine
3904
4001
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3905
4002
  # cluster resides. This field has been deprecated and replaced by the name
3906
4003
  # field.
3907
4004
  # @!attribute [rw] cluster_id
4005
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3908
4006
  # @return [::String]
3909
4007
  # Deprecated. The name of the cluster.
3910
4008
  # This field has been deprecated and replaced by the name field.
@@ -3940,17 +4038,20 @@ module Google
3940
4038
  # SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
3941
4039
  # a cluster.
3942
4040
  # @!attribute [rw] project_id
4041
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3943
4042
  # @return [::String]
3944
4043
  # Deprecated. The Google Developers Console [project ID or project
3945
4044
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3946
4045
  # This field has been deprecated and replaced by the name field.
3947
4046
  # @!attribute [rw] zone
4047
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3948
4048
  # @return [::String]
3949
4049
  # Deprecated. The name of the Google Compute Engine
3950
4050
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3951
4051
  # cluster resides. This field has been deprecated and replaced by the name
3952
4052
  # field.
3953
4053
  # @!attribute [rw] cluster_id
4054
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3954
4055
  # @return [::String]
3955
4056
  # Deprecated. The name of the cluster to update.
3956
4057
  # This field has been deprecated and replaced by the name field.
@@ -3969,17 +4070,20 @@ module Google
3969
4070
  # StartIPRotationRequest creates a new IP for the cluster and then performs
3970
4071
  # a node upgrade on each node pool to point to the new IP.
3971
4072
  # @!attribute [rw] project_id
4073
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3972
4074
  # @return [::String]
3973
4075
  # Deprecated. The Google Developers Console [project ID or project
3974
4076
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3975
4077
  # This field has been deprecated and replaced by the name field.
3976
4078
  # @!attribute [rw] zone
4079
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3977
4080
  # @return [::String]
3978
4081
  # Deprecated. The name of the Google Compute Engine
3979
4082
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3980
4083
  # cluster resides. This field has been deprecated and replaced by the name
3981
4084
  # field.
3982
4085
  # @!attribute [rw] cluster_id
4086
+ # @deprecated This field is deprecated and may be removed in the next major version update.
3983
4087
  # @return [::String]
3984
4088
  # Deprecated. The name of the cluster.
3985
4089
  # This field has been deprecated and replaced by the name field.
@@ -3997,17 +4101,20 @@ module Google
3997
4101
 
3998
4102
  # CompleteIPRotationRequest moves the cluster master back into single-IP mode.
3999
4103
  # @!attribute [rw] project_id
4104
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4000
4105
  # @return [::String]
4001
4106
  # Deprecated. The Google Developers Console [project ID or project
4002
4107
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4003
4108
  # This field has been deprecated and replaced by the name field.
4004
4109
  # @!attribute [rw] zone
4110
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4005
4111
  # @return [::String]
4006
4112
  # Deprecated. The name of the Google Compute Engine
4007
4113
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4008
4114
  # cluster resides. This field has been deprecated and replaced by the name
4009
4115
  # field.
4010
4116
  # @!attribute [rw] cluster_id
4117
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4011
4118
  # @return [::String]
4012
4119
  # Deprecated. The name of the cluster.
4013
4120
  # This field has been deprecated and replaced by the name field.
@@ -4121,17 +4228,20 @@ module Google
4121
4228
 
4122
4229
  # SetNetworkPolicyRequest enables/disables network policy for a cluster.
4123
4230
  # @!attribute [rw] project_id
4231
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4124
4232
  # @return [::String]
4125
4233
  # Deprecated. The Google Developers Console [project ID or project
4126
4234
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4127
4235
  # This field has been deprecated and replaced by the name field.
4128
4236
  # @!attribute [rw] zone
4237
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4129
4238
  # @return [::String]
4130
4239
  # Deprecated. The name of the Google Compute Engine
4131
4240
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4132
4241
  # cluster resides. This field has been deprecated and replaced by the name
4133
4242
  # field.
4134
4243
  # @!attribute [rw] cluster_id
4244
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4135
4245
  # @return [::String]
4136
4246
  # Deprecated. The name of the cluster.
4137
4247
  # This field has been deprecated and replaced by the name field.
@@ -4177,6 +4287,7 @@ module Google
4177
4287
  # StatusCondition describes why a cluster or a node pool has a certain status
4178
4288
  # (e.g., ERROR or DEGRADED).
4179
4289
  # @!attribute [rw] code
4290
+ # @deprecated This field is deprecated and may be removed in the next major version update.
4180
4291
  # @return [::Google::Cloud::Container::V1::StatusCondition::Code]
4181
4292
  # Machine-friendly representation of the condition
4182
4293
  # Deprecated. Use canonical_code instead.
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.32.0
4
+ version: 0.33.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-12-04 00:00:00.000000000 Z
11
+ date: 2024-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.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
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  - !ruby/object:Gem::Version
211
211
  version: '0'
212
212
  requirements: []
213
- rubygems_version: 3.4.19
213
+ rubygems_version: 3.5.3
214
214
  signing_key:
215
215
  specification_version: 4
216
216
  summary: Builds and manages container-based applications, powered by the open source