google-api-client 0.50.0 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +3 -1
- data/CHANGELOG.md +127 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1beta.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +24 -8
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +93 -28
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +5 -5
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +7 -7
- data/generated/google/apis/apigee_v1/service.rb +8 -7
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +49 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +27 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +6 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +8 -4
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +7 -2
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +691 -544
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -4
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +175 -4
- data/generated/google/apis/content_v2_1/representations.rb +78 -0
- data/generated/google/apis/content_v2_1/service.rb +179 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +0 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +78 -6
- data/generated/google/apis/dataproc_v1/representations.rb +22 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +13 -650
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2beta1/service.rb +496 -32
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v3beta1/service.rb +10 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +97 -3
- data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
- data/generated/google/apis/displayvideo_v1/service.rb +103 -39
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +6 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2/service.rb +24 -56
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -1
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +0 -6
- data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +67 -14
- data/generated/google/apis/games_v1/representations.rb +31 -2
- data/generated/google/apis/games_v1/service.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +18 -17
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -17
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +101 -0
- data/generated/google/apis/iam_v1/representations.rb +33 -0
- data/generated/google/apis/iam_v1/service.rb +62 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +32 -29
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +16 -11
- data/generated/google/apis/managedidentities_v1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +18 -12
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +4 -7
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +0 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -6
- data/generated/google/apis/ml_v1/representations.rb +0 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/notebooks_v1.rb +1 -1
- data/generated/google/apis/notebooks_v1/classes.rb +0 -6
- data/generated/google/apis/notebooks_v1/representations.rb +0 -1
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +6 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +0 -6
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +56 -3
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +36 -3
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +309 -0
- data/generated/google/apis/sheets_v4/representations.rb +99 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +9 -6
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +90 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -16
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -11
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -0,0 +1,903 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module JobsV4
|
23
|
+
# Cloud Talent Solution API
|
24
|
+
#
|
25
|
+
# Cloud Talent Solution provides the capability to create, read, update, and
|
26
|
+
# delete job postings, as well as search jobs based on keywords and filters.
|
27
|
+
#
|
28
|
+
# @example
|
29
|
+
# require 'google/apis/jobs_v4'
|
30
|
+
#
|
31
|
+
# Jobs = Google::Apis::JobsV4 # Alias the module
|
32
|
+
# service = Jobs::CloudTalentSolutionService.new
|
33
|
+
#
|
34
|
+
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
35
|
+
class CloudTalentSolutionService < Google::Apis::Core::BaseService
|
36
|
+
# @return [String]
|
37
|
+
# API key. Your API key identifies your project and provides you with API access,
|
38
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
|
+
attr_accessor :key
|
40
|
+
|
41
|
+
# @return [String]
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
|
+
attr_accessor :quota_user
|
45
|
+
|
46
|
+
def initialize
|
47
|
+
super('https://jobs.googleapis.com/', '')
|
48
|
+
@batch_path = 'batch'
|
49
|
+
end
|
50
|
+
|
51
|
+
# Completes the specified prefix with keyword suggestions. Intended for use by a
|
52
|
+
# job search auto-complete search box.
|
53
|
+
# @param [String] tenant
|
54
|
+
# Required. Resource name of tenant the completion is performed within. The
|
55
|
+
# format is "projects/`project_id`/tenants/`tenant_id`", for example, "projects/
|
56
|
+
# foo/tenants/bar".
|
57
|
+
# @param [String] company
|
58
|
+
# If provided, restricts completion to specified company. The format is "
|
59
|
+
# projects/`project_id`/tenants/`tenant_id`/companies/`company_id`", for example,
|
60
|
+
# "projects/foo/tenants/bar/companies/baz".
|
61
|
+
# @param [Array<String>, String] language_codes
|
62
|
+
# The list of languages of the query. This is the BCP-47 language code, such as "
|
63
|
+
# en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages]
|
64
|
+
# (https://tools.ietf.org/html/bcp47). The maximum number of allowed characters
|
65
|
+
# is 255.
|
66
|
+
# @param [Fixnum] page_size
|
67
|
+
# Required. Completion result count. The maximum allowed page size is 10.
|
68
|
+
# @param [String] query
|
69
|
+
# Required. The query used to generate suggestions. The maximum number of
|
70
|
+
# allowed characters is 255.
|
71
|
+
# @param [String] scope
|
72
|
+
# The scope of the completion. The defaults is CompletionScope.PUBLIC.
|
73
|
+
# @param [String] type
|
74
|
+
# The completion topic. The default is CompletionType.COMBINED.
|
75
|
+
# @param [String] fields
|
76
|
+
# Selector specifying which fields to include in a partial response.
|
77
|
+
# @param [String] quota_user
|
78
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
79
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
80
|
+
# @param [Google::Apis::RequestOptions] options
|
81
|
+
# Request-specific options
|
82
|
+
#
|
83
|
+
# @yield [result, err] Result & error if block supplied
|
84
|
+
# @yieldparam result [Google::Apis::JobsV4::CompleteQueryResponse] parsed result object
|
85
|
+
# @yieldparam err [StandardError] error object if request failed
|
86
|
+
#
|
87
|
+
# @return [Google::Apis::JobsV4::CompleteQueryResponse]
|
88
|
+
#
|
89
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
90
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
91
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
92
|
+
def complete_project_tenant_query(tenant, company: nil, language_codes: nil, page_size: nil, query: nil, scope: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
93
|
+
command = make_simple_command(:get, 'v4/{+tenant}:completeQuery', options)
|
94
|
+
command.response_representation = Google::Apis::JobsV4::CompleteQueryResponse::Representation
|
95
|
+
command.response_class = Google::Apis::JobsV4::CompleteQueryResponse
|
96
|
+
command.params['tenant'] = tenant unless tenant.nil?
|
97
|
+
command.query['company'] = company unless company.nil?
|
98
|
+
command.query['languageCodes'] = language_codes unless language_codes.nil?
|
99
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
100
|
+
command.query['query'] = query unless query.nil?
|
101
|
+
command.query['scope'] = scope unless scope.nil?
|
102
|
+
command.query['type'] = type unless type.nil?
|
103
|
+
command.query['fields'] = fields unless fields.nil?
|
104
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
105
|
+
execute_or_queue_command(command, &block)
|
106
|
+
end
|
107
|
+
|
108
|
+
# Creates a new tenant entity.
|
109
|
+
# @param [String] parent
|
110
|
+
# Required. Resource name of the project under which the tenant is created. The
|
111
|
+
# format is "projects/`project_id`", for example, "projects/foo".
|
112
|
+
# @param [Google::Apis::JobsV4::Tenant] tenant_object
|
113
|
+
# @param [String] fields
|
114
|
+
# Selector specifying which fields to include in a partial response.
|
115
|
+
# @param [String] quota_user
|
116
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
117
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
118
|
+
# @param [Google::Apis::RequestOptions] options
|
119
|
+
# Request-specific options
|
120
|
+
#
|
121
|
+
# @yield [result, err] Result & error if block supplied
|
122
|
+
# @yieldparam result [Google::Apis::JobsV4::Tenant] parsed result object
|
123
|
+
# @yieldparam err [StandardError] error object if request failed
|
124
|
+
#
|
125
|
+
# @return [Google::Apis::JobsV4::Tenant]
|
126
|
+
#
|
127
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
128
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
129
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
130
|
+
def create_project_tenant(parent, tenant_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
131
|
+
command = make_simple_command(:post, 'v4/{+parent}/tenants', options)
|
132
|
+
command.request_representation = Google::Apis::JobsV4::Tenant::Representation
|
133
|
+
command.request_object = tenant_object
|
134
|
+
command.response_representation = Google::Apis::JobsV4::Tenant::Representation
|
135
|
+
command.response_class = Google::Apis::JobsV4::Tenant
|
136
|
+
command.params['parent'] = parent unless parent.nil?
|
137
|
+
command.query['fields'] = fields unless fields.nil?
|
138
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
139
|
+
execute_or_queue_command(command, &block)
|
140
|
+
end
|
141
|
+
|
142
|
+
# Deletes specified tenant.
|
143
|
+
# @param [String] name
|
144
|
+
# Required. The resource name of the tenant to be deleted. The format is "
|
145
|
+
# projects/`project_id`/tenants/`tenant_id`", for example, "projects/foo/tenants/
|
146
|
+
# bar".
|
147
|
+
# @param [String] fields
|
148
|
+
# Selector specifying which fields to include in a partial response.
|
149
|
+
# @param [String] quota_user
|
150
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
151
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
152
|
+
# @param [Google::Apis::RequestOptions] options
|
153
|
+
# Request-specific options
|
154
|
+
#
|
155
|
+
# @yield [result, err] Result & error if block supplied
|
156
|
+
# @yieldparam result [Google::Apis::JobsV4::Empty] parsed result object
|
157
|
+
# @yieldparam err [StandardError] error object if request failed
|
158
|
+
#
|
159
|
+
# @return [Google::Apis::JobsV4::Empty]
|
160
|
+
#
|
161
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
162
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
163
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
164
|
+
def delete_project_tenant(name, fields: nil, quota_user: nil, options: nil, &block)
|
165
|
+
command = make_simple_command(:delete, 'v4/{+name}', options)
|
166
|
+
command.response_representation = Google::Apis::JobsV4::Empty::Representation
|
167
|
+
command.response_class = Google::Apis::JobsV4::Empty
|
168
|
+
command.params['name'] = name unless name.nil?
|
169
|
+
command.query['fields'] = fields unless fields.nil?
|
170
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
171
|
+
execute_or_queue_command(command, &block)
|
172
|
+
end
|
173
|
+
|
174
|
+
# Retrieves specified tenant.
|
175
|
+
# @param [String] name
|
176
|
+
# Required. The resource name of the tenant to be retrieved. The format is "
|
177
|
+
# projects/`project_id`/tenants/`tenant_id`", for example, "projects/foo/tenants/
|
178
|
+
# bar".
|
179
|
+
# @param [String] fields
|
180
|
+
# Selector specifying which fields to include in a partial response.
|
181
|
+
# @param [String] quota_user
|
182
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
183
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
184
|
+
# @param [Google::Apis::RequestOptions] options
|
185
|
+
# Request-specific options
|
186
|
+
#
|
187
|
+
# @yield [result, err] Result & error if block supplied
|
188
|
+
# @yieldparam result [Google::Apis::JobsV4::Tenant] parsed result object
|
189
|
+
# @yieldparam err [StandardError] error object if request failed
|
190
|
+
#
|
191
|
+
# @return [Google::Apis::JobsV4::Tenant]
|
192
|
+
#
|
193
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
194
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
195
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
196
|
+
def get_project_tenant(name, fields: nil, quota_user: nil, options: nil, &block)
|
197
|
+
command = make_simple_command(:get, 'v4/{+name}', options)
|
198
|
+
command.response_representation = Google::Apis::JobsV4::Tenant::Representation
|
199
|
+
command.response_class = Google::Apis::JobsV4::Tenant
|
200
|
+
command.params['name'] = name unless name.nil?
|
201
|
+
command.query['fields'] = fields unless fields.nil?
|
202
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
203
|
+
execute_or_queue_command(command, &block)
|
204
|
+
end
|
205
|
+
|
206
|
+
# Lists all tenants associated with the project.
|
207
|
+
# @param [String] parent
|
208
|
+
# Required. Resource name of the project under which the tenant is created. The
|
209
|
+
# format is "projects/`project_id`", for example, "projects/foo".
|
210
|
+
# @param [Fixnum] page_size
|
211
|
+
# The maximum number of tenants to be returned, at most 100. Default is 100 if a
|
212
|
+
# non-positive number is provided.
|
213
|
+
# @param [String] page_token
|
214
|
+
# The starting indicator from which to return results.
|
215
|
+
# @param [String] fields
|
216
|
+
# Selector specifying which fields to include in a partial response.
|
217
|
+
# @param [String] quota_user
|
218
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
219
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
220
|
+
# @param [Google::Apis::RequestOptions] options
|
221
|
+
# Request-specific options
|
222
|
+
#
|
223
|
+
# @yield [result, err] Result & error if block supplied
|
224
|
+
# @yieldparam result [Google::Apis::JobsV4::ListTenantsResponse] parsed result object
|
225
|
+
# @yieldparam err [StandardError] error object if request failed
|
226
|
+
#
|
227
|
+
# @return [Google::Apis::JobsV4::ListTenantsResponse]
|
228
|
+
#
|
229
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
230
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
231
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
232
|
+
def list_project_tenants(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
233
|
+
command = make_simple_command(:get, 'v4/{+parent}/tenants', options)
|
234
|
+
command.response_representation = Google::Apis::JobsV4::ListTenantsResponse::Representation
|
235
|
+
command.response_class = Google::Apis::JobsV4::ListTenantsResponse
|
236
|
+
command.params['parent'] = parent unless parent.nil?
|
237
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
238
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
239
|
+
command.query['fields'] = fields unless fields.nil?
|
240
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
241
|
+
execute_or_queue_command(command, &block)
|
242
|
+
end
|
243
|
+
|
244
|
+
# Updates specified tenant.
|
245
|
+
# @param [String] name
|
246
|
+
# Required during tenant update. The resource name for a tenant. This is
|
247
|
+
# generated by the service when a tenant is created. The format is "projects/`
|
248
|
+
# project_id`/tenants/`tenant_id`", for example, "projects/foo/tenants/bar".
|
249
|
+
# @param [Google::Apis::JobsV4::Tenant] tenant_object
|
250
|
+
# @param [String] update_mask
|
251
|
+
# Strongly recommended for the best service experience. If update_mask is
|
252
|
+
# provided, only the specified fields in tenant are updated. Otherwise all the
|
253
|
+
# fields are updated. A field mask to specify the tenant fields to be updated.
|
254
|
+
# Only top level fields of Tenant are supported.
|
255
|
+
# @param [String] fields
|
256
|
+
# Selector specifying which fields to include in a partial response.
|
257
|
+
# @param [String] quota_user
|
258
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
259
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
260
|
+
# @param [Google::Apis::RequestOptions] options
|
261
|
+
# Request-specific options
|
262
|
+
#
|
263
|
+
# @yield [result, err] Result & error if block supplied
|
264
|
+
# @yieldparam result [Google::Apis::JobsV4::Tenant] parsed result object
|
265
|
+
# @yieldparam err [StandardError] error object if request failed
|
266
|
+
#
|
267
|
+
# @return [Google::Apis::JobsV4::Tenant]
|
268
|
+
#
|
269
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
270
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
271
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
272
|
+
def patch_project_tenant(name, tenant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
273
|
+
command = make_simple_command(:patch, 'v4/{+name}', options)
|
274
|
+
command.request_representation = Google::Apis::JobsV4::Tenant::Representation
|
275
|
+
command.request_object = tenant_object
|
276
|
+
command.response_representation = Google::Apis::JobsV4::Tenant::Representation
|
277
|
+
command.response_class = Google::Apis::JobsV4::Tenant
|
278
|
+
command.params['name'] = name unless name.nil?
|
279
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
280
|
+
command.query['fields'] = fields unless fields.nil?
|
281
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
282
|
+
execute_or_queue_command(command, &block)
|
283
|
+
end
|
284
|
+
|
285
|
+
# Report events issued when end user interacts with customer's application that
|
286
|
+
# uses Cloud Talent Solution. You may inspect the created events in [self
|
287
|
+
# service tools](https://console.cloud.google.com/talent-solution/overview). [
|
288
|
+
# Learn more](https://cloud.google.com/talent-solution/docs/management-tools)
|
289
|
+
# about self service tools.
|
290
|
+
# @param [String] parent
|
291
|
+
# Required. Resource name of the tenant under which the event is created. The
|
292
|
+
# format is "projects/`project_id`/tenants/`tenant_id`", for example, "projects/
|
293
|
+
# foo/tenants/bar".
|
294
|
+
# @param [Google::Apis::JobsV4::ClientEvent] client_event_object
|
295
|
+
# @param [String] fields
|
296
|
+
# Selector specifying which fields to include in a partial response.
|
297
|
+
# @param [String] quota_user
|
298
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
299
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
300
|
+
# @param [Google::Apis::RequestOptions] options
|
301
|
+
# Request-specific options
|
302
|
+
#
|
303
|
+
# @yield [result, err] Result & error if block supplied
|
304
|
+
# @yieldparam result [Google::Apis::JobsV4::ClientEvent] parsed result object
|
305
|
+
# @yieldparam err [StandardError] error object if request failed
|
306
|
+
#
|
307
|
+
# @return [Google::Apis::JobsV4::ClientEvent]
|
308
|
+
#
|
309
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
310
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
311
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
312
|
+
def create_project_tenant_client_event(parent, client_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
313
|
+
command = make_simple_command(:post, 'v4/{+parent}/clientEvents', options)
|
314
|
+
command.request_representation = Google::Apis::JobsV4::ClientEvent::Representation
|
315
|
+
command.request_object = client_event_object
|
316
|
+
command.response_representation = Google::Apis::JobsV4::ClientEvent::Representation
|
317
|
+
command.response_class = Google::Apis::JobsV4::ClientEvent
|
318
|
+
command.params['parent'] = parent unless parent.nil?
|
319
|
+
command.query['fields'] = fields unless fields.nil?
|
320
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
321
|
+
execute_or_queue_command(command, &block)
|
322
|
+
end
|
323
|
+
|
324
|
+
# Creates a new company entity.
|
325
|
+
# @param [String] parent
|
326
|
+
# Required. Resource name of the tenant under which the company is created. The
|
327
|
+
# format is "projects/`project_id`/tenants/`tenant_id`", for example, "projects/
|
328
|
+
# foo/tenants/bar".
|
329
|
+
# @param [Google::Apis::JobsV4::Company] company_object
|
330
|
+
# @param [String] fields
|
331
|
+
# Selector specifying which fields to include in a partial response.
|
332
|
+
# @param [String] quota_user
|
333
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
334
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
335
|
+
# @param [Google::Apis::RequestOptions] options
|
336
|
+
# Request-specific options
|
337
|
+
#
|
338
|
+
# @yield [result, err] Result & error if block supplied
|
339
|
+
# @yieldparam result [Google::Apis::JobsV4::Company] parsed result object
|
340
|
+
# @yieldparam err [StandardError] error object if request failed
|
341
|
+
#
|
342
|
+
# @return [Google::Apis::JobsV4::Company]
|
343
|
+
#
|
344
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
345
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
346
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
347
|
+
def create_project_tenant_company(parent, company_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
348
|
+
command = make_simple_command(:post, 'v4/{+parent}/companies', options)
|
349
|
+
command.request_representation = Google::Apis::JobsV4::Company::Representation
|
350
|
+
command.request_object = company_object
|
351
|
+
command.response_representation = Google::Apis::JobsV4::Company::Representation
|
352
|
+
command.response_class = Google::Apis::JobsV4::Company
|
353
|
+
command.params['parent'] = parent unless parent.nil?
|
354
|
+
command.query['fields'] = fields unless fields.nil?
|
355
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
356
|
+
execute_or_queue_command(command, &block)
|
357
|
+
end
|
358
|
+
|
359
|
+
# Deletes specified company. Prerequisite: The company has no jobs associated
|
360
|
+
# with it.
|
361
|
+
# @param [String] name
|
362
|
+
# Required. The resource name of the company to be deleted. The format is "
|
363
|
+
# projects/`project_id`/tenants/`tenant_id`/companies/`company_id`", for example,
|
364
|
+
# "projects/foo/tenants/bar/companies/baz".
|
365
|
+
# @param [String] fields
|
366
|
+
# Selector specifying which fields to include in a partial response.
|
367
|
+
# @param [String] quota_user
|
368
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
369
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
370
|
+
# @param [Google::Apis::RequestOptions] options
|
371
|
+
# Request-specific options
|
372
|
+
#
|
373
|
+
# @yield [result, err] Result & error if block supplied
|
374
|
+
# @yieldparam result [Google::Apis::JobsV4::Empty] parsed result object
|
375
|
+
# @yieldparam err [StandardError] error object if request failed
|
376
|
+
#
|
377
|
+
# @return [Google::Apis::JobsV4::Empty]
|
378
|
+
#
|
379
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
380
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
381
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
382
|
+
def delete_project_tenant_company(name, fields: nil, quota_user: nil, options: nil, &block)
|
383
|
+
command = make_simple_command(:delete, 'v4/{+name}', options)
|
384
|
+
command.response_representation = Google::Apis::JobsV4::Empty::Representation
|
385
|
+
command.response_class = Google::Apis::JobsV4::Empty
|
386
|
+
command.params['name'] = name unless name.nil?
|
387
|
+
command.query['fields'] = fields unless fields.nil?
|
388
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
389
|
+
execute_or_queue_command(command, &block)
|
390
|
+
end
|
391
|
+
|
392
|
+
# Retrieves specified company.
|
393
|
+
# @param [String] name
|
394
|
+
# Required. The resource name of the company to be retrieved. The format is "
|
395
|
+
# projects/`project_id`/tenants/`tenant_id`/companies/`company_id`", for example,
|
396
|
+
# "projects/api-test-project/tenants/foo/companies/bar".
|
397
|
+
# @param [String] fields
|
398
|
+
# Selector specifying which fields to include in a partial response.
|
399
|
+
# @param [String] quota_user
|
400
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
401
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
402
|
+
# @param [Google::Apis::RequestOptions] options
|
403
|
+
# Request-specific options
|
404
|
+
#
|
405
|
+
# @yield [result, err] Result & error if block supplied
|
406
|
+
# @yieldparam result [Google::Apis::JobsV4::Company] parsed result object
|
407
|
+
# @yieldparam err [StandardError] error object if request failed
|
408
|
+
#
|
409
|
+
# @return [Google::Apis::JobsV4::Company]
|
410
|
+
#
|
411
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
412
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
413
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
414
|
+
def get_project_tenant_company(name, fields: nil, quota_user: nil, options: nil, &block)
|
415
|
+
command = make_simple_command(:get, 'v4/{+name}', options)
|
416
|
+
command.response_representation = Google::Apis::JobsV4::Company::Representation
|
417
|
+
command.response_class = Google::Apis::JobsV4::Company
|
418
|
+
command.params['name'] = name unless name.nil?
|
419
|
+
command.query['fields'] = fields unless fields.nil?
|
420
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
421
|
+
execute_or_queue_command(command, &block)
|
422
|
+
end
|
423
|
+
|
424
|
+
# Lists all companies associated with the project.
|
425
|
+
# @param [String] parent
|
426
|
+
# Required. Resource name of the tenant under which the company is created. The
|
427
|
+
# format is "projects/`project_id`/tenants/`tenant_id`", for example, "projects/
|
428
|
+
# foo/tenants/bar".
|
429
|
+
# @param [Fixnum] page_size
|
430
|
+
# The maximum number of companies to be returned, at most 100. Default is 100 if
|
431
|
+
# a non-positive number is provided.
|
432
|
+
# @param [String] page_token
|
433
|
+
# The starting indicator from which to return results.
|
434
|
+
# @param [Boolean] require_open_jobs
|
435
|
+
# Set to true if the companies requested must have open jobs. Defaults to false.
|
436
|
+
# If true, at most page_size of companies are fetched, among which only those
|
437
|
+
# with open jobs are returned.
|
438
|
+
# @param [String] fields
|
439
|
+
# Selector specifying which fields to include in a partial response.
|
440
|
+
# @param [String] quota_user
|
441
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
442
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
443
|
+
# @param [Google::Apis::RequestOptions] options
|
444
|
+
# Request-specific options
|
445
|
+
#
|
446
|
+
# @yield [result, err] Result & error if block supplied
|
447
|
+
# @yieldparam result [Google::Apis::JobsV4::ListCompaniesResponse] parsed result object
|
448
|
+
# @yieldparam err [StandardError] error object if request failed
|
449
|
+
#
|
450
|
+
# @return [Google::Apis::JobsV4::ListCompaniesResponse]
|
451
|
+
#
|
452
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
453
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
454
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
455
|
+
def list_project_tenant_companies(parent, page_size: nil, page_token: nil, require_open_jobs: nil, fields: nil, quota_user: nil, options: nil, &block)
|
456
|
+
command = make_simple_command(:get, 'v4/{+parent}/companies', options)
|
457
|
+
command.response_representation = Google::Apis::JobsV4::ListCompaniesResponse::Representation
|
458
|
+
command.response_class = Google::Apis::JobsV4::ListCompaniesResponse
|
459
|
+
command.params['parent'] = parent unless parent.nil?
|
460
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
461
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
462
|
+
command.query['requireOpenJobs'] = require_open_jobs unless require_open_jobs.nil?
|
463
|
+
command.query['fields'] = fields unless fields.nil?
|
464
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
465
|
+
execute_or_queue_command(command, &block)
|
466
|
+
end
|
467
|
+
|
468
|
+
# Updates specified company.
|
469
|
+
# @param [String] name
|
470
|
+
# Required during company update. The resource name for a company. This is
|
471
|
+
# generated by the service when a company is created. The format is "projects/`
|
472
|
+
# project_id`/tenants/`tenant_id`/companies/`company_id`", for example, "
|
473
|
+
# projects/foo/tenants/bar/companies/baz".
|
474
|
+
# @param [Google::Apis::JobsV4::Company] company_object
|
475
|
+
# @param [String] update_mask
|
476
|
+
# Strongly recommended for the best service experience. If update_mask is
|
477
|
+
# provided, only the specified fields in company are updated. Otherwise all the
|
478
|
+
# fields are updated. A field mask to specify the company fields to be updated.
|
479
|
+
# Only top level fields of Company are supported.
|
480
|
+
# @param [String] fields
|
481
|
+
# Selector specifying which fields to include in a partial response.
|
482
|
+
# @param [String] quota_user
|
483
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
484
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
485
|
+
# @param [Google::Apis::RequestOptions] options
|
486
|
+
# Request-specific options
|
487
|
+
#
|
488
|
+
# @yield [result, err] Result & error if block supplied
|
489
|
+
# @yieldparam result [Google::Apis::JobsV4::Company] parsed result object
|
490
|
+
# @yieldparam err [StandardError] error object if request failed
|
491
|
+
#
|
492
|
+
# @return [Google::Apis::JobsV4::Company]
|
493
|
+
#
|
494
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
495
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
496
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
497
|
+
def patch_project_tenant_company(name, company_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
498
|
+
command = make_simple_command(:patch, 'v4/{+name}', options)
|
499
|
+
command.request_representation = Google::Apis::JobsV4::Company::Representation
|
500
|
+
command.request_object = company_object
|
501
|
+
command.response_representation = Google::Apis::JobsV4::Company::Representation
|
502
|
+
command.response_class = Google::Apis::JobsV4::Company
|
503
|
+
command.params['name'] = name unless name.nil?
|
504
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
505
|
+
command.query['fields'] = fields unless fields.nil?
|
506
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
507
|
+
execute_or_queue_command(command, &block)
|
508
|
+
end
|
509
|
+
|
510
|
+
# Begins executing a batch create jobs operation.
|
511
|
+
# @param [String] parent
|
512
|
+
# Required. The resource name of the tenant under which the job is created. The
|
513
|
+
# format is "projects/`project_id`/tenants/`tenant_id`". For example, "projects/
|
514
|
+
# foo/tenants/bar".
|
515
|
+
# @param [Google::Apis::JobsV4::BatchCreateJobsRequest] batch_create_jobs_request_object
|
516
|
+
# @param [String] fields
|
517
|
+
# Selector specifying which fields to include in a partial response.
|
518
|
+
# @param [String] quota_user
|
519
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
520
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
521
|
+
# @param [Google::Apis::RequestOptions] options
|
522
|
+
# Request-specific options
|
523
|
+
#
|
524
|
+
# @yield [result, err] Result & error if block supplied
|
525
|
+
# @yieldparam result [Google::Apis::JobsV4::Operation] parsed result object
|
526
|
+
# @yieldparam err [StandardError] error object if request failed
|
527
|
+
#
|
528
|
+
# @return [Google::Apis::JobsV4::Operation]
|
529
|
+
#
|
530
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
531
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
532
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
533
|
+
def batch_project_tenant_job_create(parent, batch_create_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
534
|
+
command = make_simple_command(:post, 'v4/{+parent}/jobs:batchCreate', options)
|
535
|
+
command.request_representation = Google::Apis::JobsV4::BatchCreateJobsRequest::Representation
|
536
|
+
command.request_object = batch_create_jobs_request_object
|
537
|
+
command.response_representation = Google::Apis::JobsV4::Operation::Representation
|
538
|
+
command.response_class = Google::Apis::JobsV4::Operation
|
539
|
+
command.params['parent'] = parent unless parent.nil?
|
540
|
+
command.query['fields'] = fields unless fields.nil?
|
541
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
542
|
+
execute_or_queue_command(command, &block)
|
543
|
+
end
|
544
|
+
|
545
|
+
# Begins executing a batch delete jobs operation.
|
546
|
+
# @param [String] parent
|
547
|
+
# Required. The resource name of the tenant under which the job is created. The
|
548
|
+
# format is "projects/`project_id`/tenants/`tenant_id`". For example, "projects/
|
549
|
+
# foo/tenants/bar". The parent of all of the jobs specified in `names` must
|
550
|
+
# match this field.
|
551
|
+
# @param [Google::Apis::JobsV4::BatchDeleteJobsRequest] batch_delete_jobs_request_object
|
552
|
+
# @param [String] fields
|
553
|
+
# Selector specifying which fields to include in a partial response.
|
554
|
+
# @param [String] quota_user
|
555
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
556
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
557
|
+
# @param [Google::Apis::RequestOptions] options
|
558
|
+
# Request-specific options
|
559
|
+
#
|
560
|
+
# @yield [result, err] Result & error if block supplied
|
561
|
+
# @yieldparam result [Google::Apis::JobsV4::Operation] parsed result object
|
562
|
+
# @yieldparam err [StandardError] error object if request failed
|
563
|
+
#
|
564
|
+
# @return [Google::Apis::JobsV4::Operation]
|
565
|
+
#
|
566
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
567
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
568
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
569
|
+
def batch_project_tenant_job_delete(parent, batch_delete_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
570
|
+
command = make_simple_command(:post, 'v4/{+parent}/jobs:batchDelete', options)
|
571
|
+
command.request_representation = Google::Apis::JobsV4::BatchDeleteJobsRequest::Representation
|
572
|
+
command.request_object = batch_delete_jobs_request_object
|
573
|
+
command.response_representation = Google::Apis::JobsV4::Operation::Representation
|
574
|
+
command.response_class = Google::Apis::JobsV4::Operation
|
575
|
+
command.params['parent'] = parent unless parent.nil?
|
576
|
+
command.query['fields'] = fields unless fields.nil?
|
577
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
578
|
+
execute_or_queue_command(command, &block)
|
579
|
+
end
|
580
|
+
|
581
|
+
# Begins executing a batch update jobs operation.
|
582
|
+
# @param [String] parent
|
583
|
+
# Required. The resource name of the tenant under which the job is created. The
|
584
|
+
# format is "projects/`project_id`/tenants/`tenant_id`". For example, "projects/
|
585
|
+
# foo/tenants/bar".
|
586
|
+
# @param [Google::Apis::JobsV4::BatchUpdateJobsRequest] batch_update_jobs_request_object
|
587
|
+
# @param [String] fields
|
588
|
+
# Selector specifying which fields to include in a partial response.
|
589
|
+
# @param [String] quota_user
|
590
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
591
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
592
|
+
# @param [Google::Apis::RequestOptions] options
|
593
|
+
# Request-specific options
|
594
|
+
#
|
595
|
+
# @yield [result, err] Result & error if block supplied
|
596
|
+
# @yieldparam result [Google::Apis::JobsV4::Operation] parsed result object
|
597
|
+
# @yieldparam err [StandardError] error object if request failed
|
598
|
+
#
|
599
|
+
# @return [Google::Apis::JobsV4::Operation]
|
600
|
+
#
|
601
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
602
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
603
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
604
|
+
def batch_project_tenant_job_update(parent, batch_update_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
605
|
+
command = make_simple_command(:post, 'v4/{+parent}/jobs:batchUpdate', options)
|
606
|
+
command.request_representation = Google::Apis::JobsV4::BatchUpdateJobsRequest::Representation
|
607
|
+
command.request_object = batch_update_jobs_request_object
|
608
|
+
command.response_representation = Google::Apis::JobsV4::Operation::Representation
|
609
|
+
command.response_class = Google::Apis::JobsV4::Operation
|
610
|
+
command.params['parent'] = parent unless parent.nil?
|
611
|
+
command.query['fields'] = fields unless fields.nil?
|
612
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
613
|
+
execute_or_queue_command(command, &block)
|
614
|
+
end
|
615
|
+
|
616
|
+
# Creates a new job. Typically, the job becomes searchable within 10 seconds,
|
617
|
+
# but it may take up to 5 minutes.
|
618
|
+
# @param [String] parent
|
619
|
+
# Required. The resource name of the tenant under which the job is created. The
|
620
|
+
# format is "projects/`project_id`/tenants/`tenant_id`". For example, "projects/
|
621
|
+
# foo/tenants/bar".
|
622
|
+
# @param [Google::Apis::JobsV4::Job] job_object
|
623
|
+
# @param [String] fields
|
624
|
+
# Selector specifying which fields to include in a partial response.
|
625
|
+
# @param [String] quota_user
|
626
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
627
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
628
|
+
# @param [Google::Apis::RequestOptions] options
|
629
|
+
# Request-specific options
|
630
|
+
#
|
631
|
+
# @yield [result, err] Result & error if block supplied
|
632
|
+
# @yieldparam result [Google::Apis::JobsV4::Job] parsed result object
|
633
|
+
# @yieldparam err [StandardError] error object if request failed
|
634
|
+
#
|
635
|
+
# @return [Google::Apis::JobsV4::Job]
|
636
|
+
#
|
637
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
638
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
639
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
640
|
+
def create_project_tenant_job(parent, job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
641
|
+
command = make_simple_command(:post, 'v4/{+parent}/jobs', options)
|
642
|
+
command.request_representation = Google::Apis::JobsV4::Job::Representation
|
643
|
+
command.request_object = job_object
|
644
|
+
command.response_representation = Google::Apis::JobsV4::Job::Representation
|
645
|
+
command.response_class = Google::Apis::JobsV4::Job
|
646
|
+
command.params['parent'] = parent unless parent.nil?
|
647
|
+
command.query['fields'] = fields unless fields.nil?
|
648
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
649
|
+
execute_or_queue_command(command, &block)
|
650
|
+
end
|
651
|
+
|
652
|
+
# Deletes the specified job. Typically, the job becomes unsearchable within 10
|
653
|
+
# seconds, but it may take up to 5 minutes.
|
654
|
+
# @param [String] name
|
655
|
+
# Required. The resource name of the job to be deleted. The format is "projects/`
|
656
|
+
# project_id`/tenants/`tenant_id`/jobs/`job_id`". For example, "projects/foo/
|
657
|
+
# tenants/bar/jobs/baz".
|
658
|
+
# @param [String] fields
|
659
|
+
# Selector specifying which fields to include in a partial response.
|
660
|
+
# @param [String] quota_user
|
661
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
662
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
663
|
+
# @param [Google::Apis::RequestOptions] options
|
664
|
+
# Request-specific options
|
665
|
+
#
|
666
|
+
# @yield [result, err] Result & error if block supplied
|
667
|
+
# @yieldparam result [Google::Apis::JobsV4::Empty] parsed result object
|
668
|
+
# @yieldparam err [StandardError] error object if request failed
|
669
|
+
#
|
670
|
+
# @return [Google::Apis::JobsV4::Empty]
|
671
|
+
#
|
672
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
673
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
674
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
675
|
+
def delete_project_tenant_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
676
|
+
command = make_simple_command(:delete, 'v4/{+name}', options)
|
677
|
+
command.response_representation = Google::Apis::JobsV4::Empty::Representation
|
678
|
+
command.response_class = Google::Apis::JobsV4::Empty
|
679
|
+
command.params['name'] = name unless name.nil?
|
680
|
+
command.query['fields'] = fields unless fields.nil?
|
681
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
682
|
+
execute_or_queue_command(command, &block)
|
683
|
+
end
|
684
|
+
|
685
|
+
# Retrieves the specified job, whose status is OPEN or recently EXPIRED within
|
686
|
+
# the last 90 days.
|
687
|
+
# @param [String] name
|
688
|
+
# Required. The resource name of the job to retrieve. The format is "projects/`
|
689
|
+
# project_id`/tenants/`tenant_id`/jobs/`job_id`". For example, "projects/foo/
|
690
|
+
# tenants/bar/jobs/baz".
|
691
|
+
# @param [String] fields
|
692
|
+
# Selector specifying which fields to include in a partial response.
|
693
|
+
# @param [String] quota_user
|
694
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
695
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
696
|
+
# @param [Google::Apis::RequestOptions] options
|
697
|
+
# Request-specific options
|
698
|
+
#
|
699
|
+
# @yield [result, err] Result & error if block supplied
|
700
|
+
# @yieldparam result [Google::Apis::JobsV4::Job] parsed result object
|
701
|
+
# @yieldparam err [StandardError] error object if request failed
|
702
|
+
#
|
703
|
+
# @return [Google::Apis::JobsV4::Job]
|
704
|
+
#
|
705
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
706
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
707
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
708
|
+
def get_project_tenant_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
709
|
+
command = make_simple_command(:get, 'v4/{+name}', options)
|
710
|
+
command.response_representation = Google::Apis::JobsV4::Job::Representation
|
711
|
+
command.response_class = Google::Apis::JobsV4::Job
|
712
|
+
command.params['name'] = name unless name.nil?
|
713
|
+
command.query['fields'] = fields unless fields.nil?
|
714
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
715
|
+
execute_or_queue_command(command, &block)
|
716
|
+
end
|
717
|
+
|
718
|
+
# Lists jobs by filter.
|
719
|
+
# @param [String] parent
|
720
|
+
# Required. The resource name of the tenant under which the job is created. The
|
721
|
+
# format is "projects/`project_id`/tenants/`tenant_id`". For example, "projects/
|
722
|
+
# foo/tenants/bar".
|
723
|
+
# @param [String] filter
|
724
|
+
# Required. The filter string specifies the jobs to be enumerated. Supported
|
725
|
+
# operator: =, AND The fields eligible for filtering are: * `companyName` (
|
726
|
+
# Required) * `requisitionId` * `status` Available values: OPEN, EXPIRED, ALL.
|
727
|
+
# Defaults to OPEN if no value is specified. Sample Query: * companyName = "
|
728
|
+
# projects/foo/tenants/bar/companies/baz" * companyName = "projects/foo/tenants/
|
729
|
+
# bar/companies/baz" AND requisitionId = "req-1" * companyName = "projects/foo/
|
730
|
+
# tenants/bar/companies/baz" AND status = "EXPIRED"
|
731
|
+
# @param [String] job_view
|
732
|
+
# The desired job attributes returned for jobs in the search response. Defaults
|
733
|
+
# to JobView.JOB_VIEW_FULL if no value is specified.
|
734
|
+
# @param [Fixnum] page_size
|
735
|
+
# The maximum number of jobs to be returned per page of results. If job_view is
|
736
|
+
# set to JobView.JOB_VIEW_ID_ONLY, the maximum allowed page size is 1000.
|
737
|
+
# Otherwise, the maximum allowed page size is 100. Default is 100 if empty or a
|
738
|
+
# number < 1 is specified.
|
739
|
+
# @param [String] page_token
|
740
|
+
# The starting point of a query result.
|
741
|
+
# @param [String] fields
|
742
|
+
# Selector specifying which fields to include in a partial response.
|
743
|
+
# @param [String] quota_user
|
744
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
745
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
746
|
+
# @param [Google::Apis::RequestOptions] options
|
747
|
+
# Request-specific options
|
748
|
+
#
|
749
|
+
# @yield [result, err] Result & error if block supplied
|
750
|
+
# @yieldparam result [Google::Apis::JobsV4::ListJobsResponse] parsed result object
|
751
|
+
# @yieldparam err [StandardError] error object if request failed
|
752
|
+
#
|
753
|
+
# @return [Google::Apis::JobsV4::ListJobsResponse]
|
754
|
+
#
|
755
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
756
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
757
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
758
|
+
def list_project_tenant_jobs(parent, filter: nil, job_view: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
759
|
+
command = make_simple_command(:get, 'v4/{+parent}/jobs', options)
|
760
|
+
command.response_representation = Google::Apis::JobsV4::ListJobsResponse::Representation
|
761
|
+
command.response_class = Google::Apis::JobsV4::ListJobsResponse
|
762
|
+
command.params['parent'] = parent unless parent.nil?
|
763
|
+
command.query['filter'] = filter unless filter.nil?
|
764
|
+
command.query['jobView'] = job_view unless job_view.nil?
|
765
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
766
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
767
|
+
command.query['fields'] = fields unless fields.nil?
|
768
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
769
|
+
execute_or_queue_command(command, &block)
|
770
|
+
end
|
771
|
+
|
772
|
+
# Updates specified job. Typically, updated contents become visible in search
|
773
|
+
# results within 10 seconds, but it may take up to 5 minutes.
|
774
|
+
# @param [String] name
|
775
|
+
# Required during job update. The resource name for the job. This is generated
|
776
|
+
# by the service when a job is created. The format is "projects/`project_id`/
|
777
|
+
# tenants/`tenant_id`/jobs/`job_id`". For example, "projects/foo/tenants/bar/
|
778
|
+
# jobs/baz". Use of this field in job queries and API calls is preferred over
|
779
|
+
# the use of requisition_id since this value is unique.
|
780
|
+
# @param [Google::Apis::JobsV4::Job] job_object
|
781
|
+
# @param [String] update_mask
|
782
|
+
# Strongly recommended for the best service experience. If update_mask is
|
783
|
+
# provided, only the specified fields in job are updated. Otherwise all the
|
784
|
+
# fields are updated. A field mask to restrict the fields that are updated. Only
|
785
|
+
# top level fields of Job are supported.
|
786
|
+
# @param [String] fields
|
787
|
+
# Selector specifying which fields to include in a partial response.
|
788
|
+
# @param [String] quota_user
|
789
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
790
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
791
|
+
# @param [Google::Apis::RequestOptions] options
|
792
|
+
# Request-specific options
|
793
|
+
#
|
794
|
+
# @yield [result, err] Result & error if block supplied
|
795
|
+
# @yieldparam result [Google::Apis::JobsV4::Job] parsed result object
|
796
|
+
# @yieldparam err [StandardError] error object if request failed
|
797
|
+
#
|
798
|
+
# @return [Google::Apis::JobsV4::Job]
|
799
|
+
#
|
800
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
801
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
802
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
803
|
+
def patch_project_tenant_job(name, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
804
|
+
command = make_simple_command(:patch, 'v4/{+name}', options)
|
805
|
+
command.request_representation = Google::Apis::JobsV4::Job::Representation
|
806
|
+
command.request_object = job_object
|
807
|
+
command.response_representation = Google::Apis::JobsV4::Job::Representation
|
808
|
+
command.response_class = Google::Apis::JobsV4::Job
|
809
|
+
command.params['name'] = name unless name.nil?
|
810
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
811
|
+
command.query['fields'] = fields unless fields.nil?
|
812
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
813
|
+
execute_or_queue_command(command, &block)
|
814
|
+
end
|
815
|
+
|
816
|
+
# Searches for jobs using the provided SearchJobsRequest. This call constrains
|
817
|
+
# the visibility of jobs present in the database, and only returns jobs that the
|
818
|
+
# caller has permission to search against.
|
819
|
+
# @param [String] parent
|
820
|
+
# Required. The resource name of the tenant to search within. The format is "
|
821
|
+
# projects/`project_id`/tenants/`tenant_id`". For example, "projects/foo/tenants/
|
822
|
+
# bar".
|
823
|
+
# @param [Google::Apis::JobsV4::SearchJobsRequest] search_jobs_request_object
|
824
|
+
# @param [String] fields
|
825
|
+
# Selector specifying which fields to include in a partial response.
|
826
|
+
# @param [String] quota_user
|
827
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
828
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
829
|
+
# @param [Google::Apis::RequestOptions] options
|
830
|
+
# Request-specific options
|
831
|
+
#
|
832
|
+
# @yield [result, err] Result & error if block supplied
|
833
|
+
# @yieldparam result [Google::Apis::JobsV4::SearchJobsResponse] parsed result object
|
834
|
+
# @yieldparam err [StandardError] error object if request failed
|
835
|
+
#
|
836
|
+
# @return [Google::Apis::JobsV4::SearchJobsResponse]
|
837
|
+
#
|
838
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
839
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
840
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
841
|
+
def search_project_tenant_jobs(parent, search_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
842
|
+
command = make_simple_command(:post, 'v4/{+parent}/jobs:search', options)
|
843
|
+
command.request_representation = Google::Apis::JobsV4::SearchJobsRequest::Representation
|
844
|
+
command.request_object = search_jobs_request_object
|
845
|
+
command.response_representation = Google::Apis::JobsV4::SearchJobsResponse::Representation
|
846
|
+
command.response_class = Google::Apis::JobsV4::SearchJobsResponse
|
847
|
+
command.params['parent'] = parent unless parent.nil?
|
848
|
+
command.query['fields'] = fields unless fields.nil?
|
849
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
850
|
+
execute_or_queue_command(command, &block)
|
851
|
+
end
|
852
|
+
|
853
|
+
# Searches for jobs using the provided SearchJobsRequest. This API call is
|
854
|
+
# intended for the use case of targeting passive job seekers (for example, job
|
855
|
+
# seekers who have signed up to receive email alerts about potential job
|
856
|
+
# opportunities), it has different algorithmic adjustments that are designed to
|
857
|
+
# specifically target passive job seekers. This call constrains the visibility
|
858
|
+
# of jobs present in the database, and only returns jobs the caller has
|
859
|
+
# permission to search against.
|
860
|
+
# @param [String] parent
|
861
|
+
# Required. The resource name of the tenant to search within. The format is "
|
862
|
+
# projects/`project_id`/tenants/`tenant_id`". For example, "projects/foo/tenants/
|
863
|
+
# bar".
|
864
|
+
# @param [Google::Apis::JobsV4::SearchJobsRequest] search_jobs_request_object
|
865
|
+
# @param [String] fields
|
866
|
+
# Selector specifying which fields to include in a partial response.
|
867
|
+
# @param [String] quota_user
|
868
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
869
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
870
|
+
# @param [Google::Apis::RequestOptions] options
|
871
|
+
# Request-specific options
|
872
|
+
#
|
873
|
+
# @yield [result, err] Result & error if block supplied
|
874
|
+
# @yieldparam result [Google::Apis::JobsV4::SearchJobsResponse] parsed result object
|
875
|
+
# @yieldparam err [StandardError] error object if request failed
|
876
|
+
#
|
877
|
+
# @return [Google::Apis::JobsV4::SearchJobsResponse]
|
878
|
+
#
|
879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
882
|
+
def search_project_tenant_job_for_alert(parent, search_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
883
|
+
command = make_simple_command(:post, 'v4/{+parent}/jobs:searchForAlert', options)
|
884
|
+
command.request_representation = Google::Apis::JobsV4::SearchJobsRequest::Representation
|
885
|
+
command.request_object = search_jobs_request_object
|
886
|
+
command.response_representation = Google::Apis::JobsV4::SearchJobsResponse::Representation
|
887
|
+
command.response_class = Google::Apis::JobsV4::SearchJobsResponse
|
888
|
+
command.params['parent'] = parent unless parent.nil?
|
889
|
+
command.query['fields'] = fields unless fields.nil?
|
890
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
891
|
+
execute_or_queue_command(command, &block)
|
892
|
+
end
|
893
|
+
|
894
|
+
protected
|
895
|
+
|
896
|
+
def apply_command_defaults(command)
|
897
|
+
command.query['key'] = key unless key.nil?
|
898
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
899
|
+
end
|
900
|
+
end
|
901
|
+
end
|
902
|
+
end
|
903
|
+
end
|