@@ -31,7 +31,7 @@ module ContainerV1beta1
3131 # Container = Google::Apis::ContainerV1beta1 # Alias the module
3232 # service = Container::ContainerService.new
3333 #
34- # @see https://cloud.google.com/container -engine/
34+ # @see https://cloud.google.com/kubernetes -engine/docs /
3535 class ContainerService < Google ::Apis ::Core ::BaseService
3636 DEFAULT_ENDPOINT_TEMPLATE = "https://container.$UNIVERSE_DOMAIN$/"
3737
@@ -327,6 +327,41 @@ def delete_project_location_cluster(name, cluster_id: nil, project_id: nil, zone
327327 execute_or_queue_command ( command , &block )
328328 end
329329
330+ # Fetch upgrade information of a specific cluster.
331+ # @param [String] name
332+ # Required. The name (project, location, cluster) of the cluster to get.
333+ # Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/
334+ # zones/*/clusters/*`.
335+ # @param [String] version
336+ # API request version that initiates this operation.
337+ # @param [String] fields
338+ # Selector specifying which fields to include in a partial response.
339+ # @param [String] quota_user
340+ # Available to use for quota purposes for server-side applications. Can be any
341+ # arbitrary string assigned to a user, but should not exceed 40 characters.
342+ # @param [Google::Apis::RequestOptions] options
343+ # Request-specific options
344+ #
345+ # @yield [result, err] Result & error if block supplied
346+ # @yieldparam result [Google::Apis::ContainerV1beta1::ClusterUpgradeInfo] parsed result object
347+ # @yieldparam err [StandardError] error object if request failed
348+ #
349+ # @return [Google::Apis::ContainerV1beta1::ClusterUpgradeInfo]
350+ #
351+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
352+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
353+ # @raise [Google::Apis::AuthorizationError] Authorization is required
354+ def fetch_project_location_cluster_cluster_upgrade_info ( name , version : nil , fields : nil , quota_user : nil , options : nil , &block )
355+ command = make_simple_command ( :get , 'v1beta1/{+name}:fetchClusterUpgradeInfo' , options )
356+ command . response_representation = Google ::Apis ::ContainerV1beta1 ::ClusterUpgradeInfo ::Representation
357+ command . response_class = Google ::Apis ::ContainerV1beta1 ::ClusterUpgradeInfo
358+ command . params [ 'name' ] = name unless name . nil?
359+ command . query [ 'version' ] = version unless version . nil?
360+ command . query [ 'fields' ] = fields unless fields . nil?
361+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
362+ execute_or_queue_command ( command , &block )
363+ end
364+
330365 # Gets the details for a specific cluster.
331366 # @param [String] name
332367 # The name (project, location, cluster) of the cluster to retrieve. Specified in
@@ -977,6 +1012,41 @@ def delete_project_location_cluster_node_pool(name, cluster_id: nil, node_pool_i
9771012 execute_or_queue_command ( command , &block )
9781013 end
9791014
1015+ # Fetch upgrade information of a specific nodepool.
1016+ # @param [String] name
1017+ # Required. The name (project, location, cluster, nodepool) of the nodepool to
1018+ # get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`
1019+ # or `projects/*/zones/*/clusters/*/nodePools/*`.
1020+ # @param [String] version
1021+ # API request version that initiates this operation.
1022+ # @param [String] fields
1023+ # Selector specifying which fields to include in a partial response.
1024+ # @param [String] quota_user
1025+ # Available to use for quota purposes for server-side applications. Can be any
1026+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1027+ # @param [Google::Apis::RequestOptions] options
1028+ # Request-specific options
1029+ #
1030+ # @yield [result, err] Result & error if block supplied
1031+ # @yieldparam result [Google::Apis::ContainerV1beta1::NodePoolUpgradeInfo] parsed result object
1032+ # @yieldparam err [StandardError] error object if request failed
1033+ #
1034+ # @return [Google::Apis::ContainerV1beta1::NodePoolUpgradeInfo]
1035+ #
1036+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1037+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1038+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1039+ def fetch_project_location_cluster_node_pool_node_pool_upgrade_info ( name , version : nil , fields : nil , quota_user : nil , options : nil , &block )
1040+ command = make_simple_command ( :get , 'v1beta1/{+name}:fetchNodePoolUpgradeInfo' , options )
1041+ command . response_representation = Google ::Apis ::ContainerV1beta1 ::NodePoolUpgradeInfo ::Representation
1042+ command . response_class = Google ::Apis ::ContainerV1beta1 ::NodePoolUpgradeInfo
1043+ command . params [ 'name' ] = name unless name . nil?
1044+ command . query [ 'version' ] = version unless version . nil?
1045+ command . query [ 'fields' ] = fields unless fields . nil?
1046+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1047+ execute_or_queue_command ( command , &block )
1048+ end
1049+
9801050 # Retrieves the requested node pool.
9811051 # @param [String] name
9821052 # The name (project, location, cluster, node pool id) of the node pool to get.
@@ -1627,6 +1697,41 @@ def delete_zone_cluster(project_id, zone, cluster_id, name: nil, fields: nil, qu
16271697 execute_or_queue_command ( command , &block )
16281698 end
16291699
1700+ # Fetch upgrade information of a specific cluster.
1701+ # @param [String] name
1702+ # Required. The name (project, location, cluster) of the cluster to get.
1703+ # Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/
1704+ # zones/*/clusters/*`.
1705+ # @param [String] version
1706+ # API request version that initiates this operation.
1707+ # @param [String] fields
1708+ # Selector specifying which fields to include in a partial response.
1709+ # @param [String] quota_user
1710+ # Available to use for quota purposes for server-side applications. Can be any
1711+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1712+ # @param [Google::Apis::RequestOptions] options
1713+ # Request-specific options
1714+ #
1715+ # @yield [result, err] Result & error if block supplied
1716+ # @yieldparam result [Google::Apis::ContainerV1beta1::ClusterUpgradeInfo] parsed result object
1717+ # @yieldparam err [StandardError] error object if request failed
1718+ #
1719+ # @return [Google::Apis::ContainerV1beta1::ClusterUpgradeInfo]
1720+ #
1721+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1722+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1723+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1724+ def fetch_project_zone_cluster_cluster_upgrade_info ( name , version : nil , fields : nil , quota_user : nil , options : nil , &block )
1725+ command = make_simple_command ( :get , 'v1beta1/{+name}:fetchClusterUpgradeInfo' , options )
1726+ command . response_representation = Google ::Apis ::ContainerV1beta1 ::ClusterUpgradeInfo ::Representation
1727+ command . response_class = Google ::Apis ::ContainerV1beta1 ::ClusterUpgradeInfo
1728+ command . params [ 'name' ] = name unless name . nil?
1729+ command . query [ 'version' ] = version unless version . nil?
1730+ command . query [ 'fields' ] = fields unless fields . nil?
1731+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1732+ execute_or_queue_command ( command , &block )
1733+ end
1734+
16301735 # Gets the details for a specific cluster.
16311736 # @param [String] project_id
16321737 # Required. Deprecated. The Google Developers Console [project ID or project
@@ -2342,6 +2447,41 @@ def delete_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_poo
23422447 execute_or_queue_command ( command , &block )
23432448 end
23442449
2450+ # Fetch upgrade information of a specific nodepool.
2451+ # @param [String] name
2452+ # Required. The name (project, location, cluster, nodepool) of the nodepool to
2453+ # get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`
2454+ # or `projects/*/zones/*/clusters/*/nodePools/*`.
2455+ # @param [String] version
2456+ # API request version that initiates this operation.
2457+ # @param [String] fields
2458+ # Selector specifying which fields to include in a partial response.
2459+ # @param [String] quota_user
2460+ # Available to use for quota purposes for server-side applications. Can be any
2461+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2462+ # @param [Google::Apis::RequestOptions] options
2463+ # Request-specific options
2464+ #
2465+ # @yield [result, err] Result & error if block supplied
2466+ # @yieldparam result [Google::Apis::ContainerV1beta1::NodePoolUpgradeInfo] parsed result object
2467+ # @yieldparam err [StandardError] error object if request failed
2468+ #
2469+ # @return [Google::Apis::ContainerV1beta1::NodePoolUpgradeInfo]
2470+ #
2471+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2472+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2473+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2474+ def fetch_project_zone_cluster_node_pool_node_pool_upgrade_info ( name , version : nil , fields : nil , quota_user : nil , options : nil , &block )
2475+ command = make_simple_command ( :get , 'v1beta1/{+name}:fetchNodePoolUpgradeInfo' , options )
2476+ command . response_representation = Google ::Apis ::ContainerV1beta1 ::NodePoolUpgradeInfo ::Representation
2477+ command . response_class = Google ::Apis ::ContainerV1beta1 ::NodePoolUpgradeInfo
2478+ command . params [ 'name' ] = name unless name . nil?
2479+ command . query [ 'version' ] = version unless version . nil?
2480+ command . query [ 'fields' ] = fields unless fields . nil?
2481+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
2482+ execute_or_queue_command ( command , &block )
2483+ end
2484+
23452485 # Retrieves the requested node pool.
23462486 # @param [String] project_id
23472487 # Required. Deprecated. The Google Developers Console [project ID or project
0 commit comments