generated/google/apis/jobs_v2/service.rb in google-api-client-0.29.1 vs generated/google/apis/jobs_v2/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 create_company(company_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/companies', options) + command = make_simple_command(:post, 'v2/companies', options) command.request_representation = Google::Apis::JobsV2::Company::Representation command.request_object = company_object command.response_representation = Google::Apis::JobsV2::Company::Representation command.response_class = Google::Apis::JobsV2::Company command.query['fields'] = fields unless fields.nil? @@ -99,11 +99,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_company(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/{+name}', options) + command = make_simple_command(:delete, 'v2/{+name}', options) command.response_representation = Google::Apis::JobsV2::Empty::Representation command.response_class = Google::Apis::JobsV2::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -131,11 +131,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_company(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+name}', options) + command = make_simple_command(:get, 'v2/{+name}', options) command.response_representation = Google::Apis::JobsV2::Company::Representation command.response_class = Google::Apis::JobsV2::Company command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -172,11 +172,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_companies(must_have_open_jobs: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/companies', options) + command = make_simple_command(:get, 'v2/companies', options) command.response_representation = Google::Apis::JobsV2::ListCompaniesResponse::Representation command.response_class = Google::Apis::JobsV2::ListCompaniesResponse command.query['mustHaveOpenJobs'] = must_have_open_jobs unless must_have_open_jobs.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -229,11 +229,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 patch_company(name, company_object = nil, update_company_fields: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v2/{+name}', options) + command = make_simple_command(:patch, 'v2/{+name}', options) command.request_representation = Google::Apis::JobsV2::Company::Representation command.request_object = company_object command.response_representation = Google::Apis::JobsV2::Company::Representation command.response_class = Google::Apis::JobsV2::Company command.params['name'] = name unless name.nil? @@ -291,11 +291,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_company_jobs(company_name, ids_only: nil, include_jobs_count: nil, job_requisition_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+companyName}/jobs', options) + command = make_simple_command(:get, 'v2/{+companyName}/jobs', options) command.response_representation = Google::Apis::JobsV2::ListCompanyJobsResponse::Representation command.response_class = Google::Apis::JobsV2::ListCompanyJobsResponse command.params['companyName'] = company_name unless company_name.nil? command.query['idsOnly'] = ids_only unless ids_only.nil? command.query['includeJobsCount'] = include_jobs_count unless include_jobs_count.nil? @@ -325,11 +325,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 batch_delete_jobs(batch_delete_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/jobs:batchDelete', options) + command = make_simple_command(:post, 'v2/jobs:batchDelete', options) command.request_representation = Google::Apis::JobsV2::BatchDeleteJobsRequest::Representation command.request_object = batch_delete_jobs_request_object command.response_representation = Google::Apis::JobsV2::Empty::Representation command.response_class = Google::Apis::JobsV2::Empty command.query['fields'] = fields unless fields.nil? @@ -357,11 +357,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_job(create_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/jobs', options) + command = make_simple_command(:post, 'v2/jobs', options) command.request_representation = Google::Apis::JobsV2::CreateJobRequest::Representation command.request_object = create_job_request_object command.response_representation = Google::Apis::JobsV2::Job::Representation command.response_class = Google::Apis::JobsV2::Job command.query['fields'] = fields unless fields.nil? @@ -397,11 +397,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_job(name, disable_fast_process: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/{+name}', options) + command = make_simple_command(:delete, 'v2/{+name}', options) command.response_representation = Google::Apis::JobsV2::Empty::Representation command.response_class = Google::Apis::JobsV2::Empty command.params['name'] = name unless name.nil? command.query['disableFastProcess'] = disable_fast_process unless disable_fast_process.nil? command.query['fields'] = fields unless fields.nil? @@ -430,11 +430,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_job_by_filter(delete_jobs_by_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/jobs:deleteByFilter', options) + command = make_simple_command(:post, 'v2/jobs:deleteByFilter', options) command.request_representation = Google::Apis::JobsV2::DeleteJobsByFilterRequest::Representation command.request_object = delete_jobs_by_filter_request_object command.response_representation = Google::Apis::JobsV2::Empty::Representation command.response_class = Google::Apis::JobsV2::Empty command.query['fields'] = fields unless fields.nil? @@ -463,11 +463,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_job(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+name}', options) + command = make_simple_command(:get, 'v2/{+name}', options) command.response_representation = Google::Apis::JobsV2::Job::Representation command.response_class = Google::Apis::JobsV2::Job command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -502,11 +502,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 histogram_job(get_histogram_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/jobs:histogram', options) + command = make_simple_command(:post, 'v2/jobs:histogram', options) command.request_representation = Google::Apis::JobsV2::GetHistogramRequest::Representation command.request_object = get_histogram_request_object command.response_representation = Google::Apis::JobsV2::GetHistogramResponse::Representation command.response_class = Google::Apis::JobsV2::GetHistogramResponse command.query['fields'] = fields unless fields.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_jobs(filter: nil, ids_only: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/jobs', options) + command = make_simple_command(:get, 'v2/jobs', options) command.response_representation = Google::Apis::JobsV2::ListJobsResponse::Representation command.response_class = Google::Apis::JobsV2::ListJobsResponse command.query['filter'] = filter unless filter.nil? command.query['idsOnly'] = ids_only unless ids_only.nil? command.query['pageSize'] = page_size unless page_size.nil? @@ -595,11 +595,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 patch_job(name, update_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v2/{+name}', options) + command = make_simple_command(:patch, 'v2/{+name}', options) command.request_representation = Google::Apis::JobsV2::UpdateJobRequest::Representation command.request_object = update_job_request_object command.response_representation = Google::Apis::JobsV2::Job::Representation command.response_class = Google::Apis::JobsV2::Job command.params['name'] = name unless name.nil? @@ -629,11 +629,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 search_jobs(search_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/jobs:search', options) + command = make_simple_command(:post, 'v2/jobs:search', options) command.request_representation = Google::Apis::JobsV2::SearchJobsRequest::Representation command.request_object = search_jobs_request_object command.response_representation = Google::Apis::JobsV2::SearchJobsResponse::Representation command.response_class = Google::Apis::JobsV2::SearchJobsResponse command.query['fields'] = fields unless fields.nil? @@ -666,11 +666,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 search_job_for_alert(search_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/jobs:searchForAlert', options) + command = make_simple_command(:post, 'v2/jobs:searchForAlert', options) command.request_representation = Google::Apis::JobsV2::SearchJobsRequest::Representation command.request_object = search_jobs_request_object command.response_representation = Google::Apis::JobsV2::SearchJobsResponse::Representation command.response_class = Google::Apis::JobsV2::SearchJobsResponse command.query['fields'] = fields unless fields.nil? @@ -726,10 +726,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 complete(company_name: nil, language_code: nil, page_size: nil, query: nil, scope: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2:complete', options) + command = make_simple_command(:get, 'v2:complete', options) command.response_representation = Google::Apis::JobsV2::CompleteQueryResponse::Representation command.response_class = Google::Apis::JobsV2::CompleteQueryResponse command.query['companyName'] = company_name unless company_name.nil? command.query['languageCode'] = language_code unless language_code.nil? command.query['pageSize'] = page_size unless page_size.nil?