generated/google/apis/speech_v1p1beta1/service.rb in google-api-client-0.29.1 vs generated/google/apis/speech_v1p1beta1/service.rb in google-api-client-0.29.2
- old
+ new
@@ -68,11 +68,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_operation(name, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1p1beta1/operations/{+name}', options)
+ command = make_simple_command(:get, 'v1p1beta1/operations/{+name}', options)
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
command.response_class = Google::Apis::SpeechV1p1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -112,11 +112,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_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1p1beta1/operations', options)
+ command = make_simple_command(:get, 'v1p1beta1/operations', options)
command.response_representation = Google::Apis::SpeechV1p1beta1::ListOperationsResponse::Representation
command.response_class = Google::Apis::SpeechV1p1beta1::ListOperationsResponse
command.query['filter'] = filter unless filter.nil?
command.query['name'] = name unless name.nil?
command.query['pageSize'] = page_size unless page_size.nil?
@@ -147,11 +147,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, 'v1p1beta1/{+name}', options)
+ command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
command.response_class = Google::Apis::SpeechV1p1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -191,11 +191,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, 'v1p1beta1/{+name}/operations', options)
+ command = make_simple_command(:get, 'v1p1beta1/{+name}/operations', options)
command.response_representation = Google::Apis::SpeechV1p1beta1::ListOperationsResponse::Representation
command.response_class = Google::Apis::SpeechV1p1beta1::ListOperationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
@@ -226,11 +226,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_operation_manual_recognition_task(name, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
+ command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
command.response_class = Google::Apis::SpeechV1p1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -260,11 +260,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 longrunningrecognize_speech(long_running_recognize_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:post, 'v1p1beta1/speech:longrunningrecognize', options)
+ command = make_simple_command(:post, 'v1p1beta1/speech:longrunningrecognize', options)
command.request_representation = Google::Apis::SpeechV1p1beta1::LongRunningRecognizeRequest::Representation
command.request_object = long_running_recognize_request_object
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
command.response_class = Google::Apis::SpeechV1p1beta1::Operation
command.query['fields'] = fields unless fields.nil?
@@ -291,10 +291,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 recognize_speech(recognize_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:post, 'v1p1beta1/speech:recognize', options)
+ command = make_simple_command(:post, 'v1p1beta1/speech:recognize', options)
command.request_representation = Google::Apis::SpeechV1p1beta1::RecognizeRequest::Representation
command.request_object = recognize_request_object
command.response_representation = Google::Apis::SpeechV1p1beta1::RecognizeResponse::Representation
command.response_class = Google::Apis::SpeechV1p1beta1::RecognizeResponse
command.query['fields'] = fields unless fields.nil?