generated/google/apis/tpu_v1/service.rb in google-api-client-0.29.1 vs generated/google/apis/tpu_v1/service.rb in google-api-client-0.29.2
- old
+ new
@@ -66,11 +66,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+name}', options)
+ command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::TpuV1::Location::Representation
command.response_class = Google::Apis::TpuV1::Location
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -102,11 +102,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+name}/locations', options)
+ command = make_simple_command(:get, 'v1/{+name}/locations', options)
command.response_representation = Google::Apis::TpuV1::ListLocationsResponse::Representation
command.response_class = Google::Apis::TpuV1::ListLocationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
@@ -135,11 +135,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_accelerator_type(name, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+name}', options)
+ command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::TpuV1::AcceleratorType::Representation
command.response_class = Google::Apis::TpuV1::AcceleratorType
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -173,11 +173,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_accelerator_types(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+parent}/acceleratorTypes', options)
+ command = make_simple_command(:get, 'v1/{+parent}/acceleratorTypes', options)
command.response_representation = Google::Apis::TpuV1::ListAcceleratorTypesResponse::Representation
command.response_class = Google::Apis::TpuV1::ListAcceleratorTypesResponse
command.params['parent'] = parent unless parent.nil?
command.query['filter'] = filter unless filter.nil?
command.query['orderBy'] = order_by unless order_by.nil?
@@ -210,11 +210,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_location_node(parent, node_object = nil, node_id: nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:post, 'v1/{+parent}/nodes', options)
+ command = make_simple_command(:post, 'v1/{+parent}/nodes', options)
command.request_representation = Google::Apis::TpuV1::Node::Representation
command.request_object = node_object
command.response_representation = Google::Apis::TpuV1::Operation::Representation
command.response_class = Google::Apis::TpuV1::Operation
command.params['parent'] = parent unless parent.nil?
@@ -243,11 +243,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_location_node(name, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:delete, 'v1/{+name}', options)
+ command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::TpuV1::Operation::Representation
command.response_class = Google::Apis::TpuV1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -273,11 +273,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_node(name, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+name}', options)
+ command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::TpuV1::Node::Representation
command.response_class = Google::Apis::TpuV1::Node
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -307,11 +307,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+parent}/nodes', options)
+ command = make_simple_command(:get, 'v1/{+parent}/nodes', options)
command.response_representation = Google::Apis::TpuV1::ListNodesResponse::Representation
command.response_class = Google::Apis::TpuV1::ListNodesResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
@@ -340,11 +340,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def reimage_node(name, reimage_node_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:post, 'v1/{+name}:reimage', options)
+ command = make_simple_command(:post, 'v1/{+name}:reimage', options)
command.request_representation = Google::Apis::TpuV1::ReimageNodeRequest::Representation
command.request_object = reimage_node_request_object
command.response_representation = Google::Apis::TpuV1::Operation::Representation
command.response_class = Google::Apis::TpuV1::Operation
command.params['name'] = name unless name.nil?
@@ -373,11 +373,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def start_node(name, start_node_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:post, 'v1/{+name}:start', options)
+ command = make_simple_command(:post, 'v1/{+name}:start', options)
command.request_representation = Google::Apis::TpuV1::StartNodeRequest::Representation
command.request_object = start_node_request_object
command.response_representation = Google::Apis::TpuV1::Operation::Representation
command.response_class = Google::Apis::TpuV1::Operation
command.params['name'] = name unless name.nil?
@@ -406,11 +406,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def stop_node(name, stop_node_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:post, 'v1/{+name}:stop', options)
+ command = make_simple_command(:post, 'v1/{+name}:stop', options)
command.request_representation = Google::Apis::TpuV1::StopNodeRequest::Representation
command.request_object = stop_node_request_object
command.response_representation = Google::Apis::TpuV1::Operation::Representation
command.response_class = Google::Apis::TpuV1::Operation
command.params['name'] = name unless name.nil?
@@ -447,11 +447,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
command.response_representation = Google::Apis::TpuV1::Empty::Representation
command.response_class = Google::Apis::TpuV1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -480,11 +480,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:delete, 'v1/{+name}', options)
+ command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::TpuV1::Empty::Representation
command.response_class = Google::Apis::TpuV1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -512,11 +512,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+name}', options)
+ command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::TpuV1::Operation::Representation
command.response_class = Google::Apis::TpuV1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -556,11 +556,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+name}/operations', options)
+ command = make_simple_command(:get, 'v1/{+name}/operations', options)
command.response_representation = Google::Apis::TpuV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::TpuV1::ListOperationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
@@ -589,11 +589,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_tensorflow_version(name, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+name}', options)
+ command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::TpuV1::TensorFlowVersion::Representation
command.response_class = Google::Apis::TpuV1::TensorFlowVersion
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -627,10 +627,10 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_tensorflow_versions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+parent}/tensorflowVersions', options)
+ command = make_simple_command(:get, 'v1/{+parent}/tensorflowVersions', options)
command.response_representation = Google::Apis::TpuV1::ListTensorFlowVersionsResponse::Representation
command.response_class = Google::Apis::TpuV1::ListTensorFlowVersionsResponse
command.params['parent'] = parent unless parent.nil?
command.query['filter'] = filter unless filter.nil?
command.query['orderBy'] = order_by unless order_by.nil?