google-cloud-talent 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +2 -0
- data/AUTHENTICATION.md +199 -0
- data/lib/google/cloud/talent.rb +20 -19
- data/lib/google/cloud/talent/v4beta1.rb +22 -21
- data/lib/google/cloud/talent/v4beta1/application_pb.rb +62 -0
- data/lib/google/cloud/talent/v4beta1/application_service_client.rb +492 -0
- data/lib/google/cloud/talent/v4beta1/application_service_client_config.json +51 -0
- data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +56 -0
- data/lib/google/cloud/talent/v4beta1/common_pb.rb +47 -1
- data/lib/google/cloud/talent/v4beta1/company_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/company_service_client.rb +83 -55
- data/lib/google/cloud/talent/v4beta1/completion_client.rb +62 -42
- data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application.rb +189 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application_service.rb +121 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +189 -94
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +12 -10
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +29 -20
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +26 -30
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +16 -55
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +9 -1
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +74 -164
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +2 -5
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +58 -86
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +109 -137
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +76 -375
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +21 -38
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +1 -3
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +3 -7
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/field_mask.rb +18 -26
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/timestamp.rb +15 -13
- data/lib/google/cloud/talent/v4beta1/doc/google/type/date.rb +14 -10
- data/lib/google/cloud/talent/v4beta1/doc/google/type/latlng.rb +0 -34
- data/lib/google/cloud/talent/v4beta1/doc/google/type/timeofday.rb +2 -3
- data/lib/google/cloud/talent/v4beta1/event_pb.rb +2 -9
- data/lib/google/cloud/talent/v4beta1/event_service_client.rb +26 -13
- data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/filters_pb.rb +8 -20
- data/lib/google/cloud/talent/v4beta1/helpers.rb +44 -10
- data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/job_pb.rb +3 -2
- data/lib/google/cloud/talent/v4beta1/job_service_client.rb +229 -204
- data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +0 -1
- data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +8 -12
- data/lib/google/cloud/talent/v4beta1/profile_pb.rb +6 -64
- data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +72 -68
- data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +3 -3
- data/lib/google/cloud/talent/v4beta1/resume_service_client.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +34 -23
- metadata +11 -4
@@ -59,18 +59,39 @@ module Google
|
|
59
59
|
].freeze
|
60
60
|
|
61
61
|
|
62
|
-
|
63
|
-
"projects/{project}"
|
62
|
+
COMPANY_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
63
|
+
"projects/{project}/tenants/{tenant}/companies/{company}"
|
64
64
|
)
|
65
65
|
|
66
|
-
private_constant :
|
66
|
+
private_constant :COMPANY_PATH_TEMPLATE
|
67
67
|
|
68
|
-
|
68
|
+
TENANT_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
69
|
+
"projects/{project}/tenants/{tenant}"
|
70
|
+
)
|
71
|
+
|
72
|
+
private_constant :TENANT_PATH_TEMPLATE
|
73
|
+
|
74
|
+
# Returns a fully-qualified company resource name string.
|
75
|
+
# @param project [String]
|
76
|
+
# @param tenant [String]
|
77
|
+
# @param company [String]
|
78
|
+
# @return [String]
|
79
|
+
def self.company_path project, tenant, company
|
80
|
+
COMPANY_PATH_TEMPLATE.render(
|
81
|
+
:"project" => project,
|
82
|
+
:"tenant" => tenant,
|
83
|
+
:"company" => company
|
84
|
+
)
|
85
|
+
end
|
86
|
+
|
87
|
+
# Returns a fully-qualified tenant resource name string.
|
69
88
|
# @param project [String]
|
89
|
+
# @param tenant [String]
|
70
90
|
# @return [String]
|
71
|
-
def self.
|
72
|
-
|
73
|
-
:"project" => project
|
91
|
+
def self.tenant_path project, tenant
|
92
|
+
TENANT_PATH_TEMPLATE.render(
|
93
|
+
:"project" => project,
|
94
|
+
:"tenant" => tenant
|
74
95
|
)
|
75
96
|
end
|
76
97
|
|
@@ -179,7 +200,10 @@ module Google
|
|
179
200
|
@complete_query = Google::Gax.create_api_call(
|
180
201
|
@completion_stub.method(:complete_query),
|
181
202
|
defaults["complete_query"],
|
182
|
-
exception_transformer: exception_transformer
|
203
|
+
exception_transformer: exception_transformer,
|
204
|
+
params_extractor: proc do |request|
|
205
|
+
{'parent' => request.parent}
|
206
|
+
end
|
183
207
|
)
|
184
208
|
end
|
185
209
|
|
@@ -188,13 +212,16 @@ module Google
|
|
188
212
|
# Completes the specified prefix with keyword suggestions.
|
189
213
|
# Intended for use by a job search auto-complete search box.
|
190
214
|
#
|
191
|
-
# @param
|
215
|
+
# @param parent [String]
|
192
216
|
# Required.
|
193
217
|
#
|
194
|
-
# Resource name of
|
218
|
+
# Resource name of tenant the completion is performed within.
|
195
219
|
#
|
196
|
-
# The format is "projects/{project_id}", for example,
|
197
|
-
# "projects/api-test-project".
|
220
|
+
# The format is "projects/{project_id}/tenants/{tenant_id}", for example,
|
221
|
+
# "projects/api-test-project/tenant/foo".
|
222
|
+
#
|
223
|
+
# Tenant id is optional and the default tenant is used if unspecified, for
|
224
|
+
# example, "projects/api-test-project".
|
198
225
|
# @param query [String]
|
199
226
|
# Required.
|
200
227
|
#
|
@@ -215,44 +242,37 @@ module Google
|
|
215
242
|
# For more information, see
|
216
243
|
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
|
217
244
|
#
|
218
|
-
# For
|
219
|
-
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest
|
220
|
-
# type, only open jobs with the same
|
221
|
-
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes}
|
222
|
-
# are returned.
|
245
|
+
# For {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::JOB_TITLE CompletionType::JOB_TITLE} type, only open jobs with the same
|
246
|
+
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} are returned.
|
223
247
|
#
|
224
|
-
# For
|
225
|
-
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest
|
226
|
-
#
|
227
|
-
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes}
|
228
|
-
# are returned.
|
248
|
+
# For {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMPANY_NAME CompletionType::COMPANY_NAME} type,
|
249
|
+
# only companies having open jobs with the same {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} are
|
250
|
+
# returned.
|
229
251
|
#
|
230
|
-
# For
|
231
|
-
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest
|
232
|
-
#
|
233
|
-
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes}
|
234
|
-
# or companies having open jobs with the same
|
235
|
-
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes}
|
236
|
-
# are returned.
|
252
|
+
# For {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType::COMBINED} type, only open jobs with the same
|
253
|
+
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} or companies having open jobs with the same
|
254
|
+
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} are returned.
|
237
255
|
#
|
238
256
|
# The maximum number of allowed characters is 255.
|
239
|
-
# @param
|
257
|
+
# @param company [String]
|
240
258
|
# Optional.
|
241
259
|
#
|
242
260
|
# If provided, restricts completion to specified company.
|
243
261
|
#
|
244
|
-
# The format is
|
245
|
-
# "projects/
|
262
|
+
# The format is
|
263
|
+
# "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
|
264
|
+
# example, "projects/api-test-project/tenants/foo/companies/bar".
|
265
|
+
#
|
266
|
+
# Tenant id is optional and the default tenant is used if unspecified, for
|
267
|
+
# example, "projects/api-test-project/companies/bar".
|
246
268
|
# @param scope [Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionScope]
|
247
269
|
# Optional.
|
248
270
|
#
|
249
|
-
# The scope of the completion. The defaults is
|
250
|
-
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionScope::PUBLIC CompletionScope::PUBLIC}.
|
271
|
+
# The scope of the completion. The defaults is {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionScope::PUBLIC CompletionScope::PUBLIC}.
|
251
272
|
# @param type [Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType]
|
252
273
|
# Optional.
|
253
274
|
#
|
254
|
-
# The completion topic. The default is
|
255
|
-
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType::COMBINED}.
|
275
|
+
# The completion topic. The default is {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType::COMBINED}.
|
256
276
|
# @param options [Google::Gax::CallOptions]
|
257
277
|
# Overrides the default settings for this call, e.g, timeout,
|
258
278
|
# retries, etc.
|
@@ -265,31 +285,31 @@ module Google
|
|
265
285
|
# require "google/cloud/talent"
|
266
286
|
#
|
267
287
|
# completion_client = Google::Cloud::Talent::Completion.new(version: :v4beta1)
|
268
|
-
#
|
288
|
+
# formatted_parent = Google::Cloud::Talent::V4beta1::CompletionClient.tenant_path("[PROJECT]", "[TENANT]")
|
269
289
|
#
|
270
290
|
# # TODO: Initialize `query`:
|
271
291
|
# query = ''
|
272
292
|
#
|
273
293
|
# # TODO: Initialize `page_size`:
|
274
294
|
# page_size = 0
|
275
|
-
# response = completion_client.complete_query(
|
295
|
+
# response = completion_client.complete_query(formatted_parent, query, page_size)
|
276
296
|
|
277
297
|
def complete_query \
|
278
|
-
|
298
|
+
parent,
|
279
299
|
query,
|
280
300
|
page_size,
|
281
301
|
language_codes: nil,
|
282
|
-
|
302
|
+
company: nil,
|
283
303
|
scope: nil,
|
284
304
|
type: nil,
|
285
305
|
options: nil,
|
286
306
|
&block
|
287
307
|
req = {
|
288
|
-
|
308
|
+
parent: parent,
|
289
309
|
query: query,
|
290
310
|
page_size: page_size,
|
291
311
|
language_codes: language_codes,
|
292
|
-
|
312
|
+
company: company,
|
293
313
|
scope: scope,
|
294
314
|
type: type
|
295
315
|
}.delete_if { |_, v| v.nil? }
|
@@ -8,11 +8,11 @@ require 'google/api/annotations_pb'
|
|
8
8
|
require 'google/cloud/talent/v4beta1/common_pb'
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_message "google.cloud.talent.v4beta1.CompleteQueryRequest" do
|
11
|
-
optional :
|
11
|
+
optional :parent, :string, 1
|
12
12
|
optional :query, :string, 2
|
13
13
|
repeated :language_codes, :string, 3
|
14
14
|
optional :page_size, :int32, 4
|
15
|
-
optional :
|
15
|
+
optional :company, :string, 5
|
16
16
|
optional :scope, :enum, 6, "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope"
|
17
17
|
optional :type, :enum, 7, "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType"
|
18
18
|
end
|
@@ -0,0 +1,189 @@
|
|
1
|
+
# Copyright 2019 Google LLC
|
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
|
+
# https://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
|
+
|
16
|
+
module Google
|
17
|
+
module Cloud
|
18
|
+
module Talent
|
19
|
+
module V4beta1
|
20
|
+
# Resource that represents a job application record of a candidate.
|
21
|
+
# @!attribute [rw] name
|
22
|
+
# @return [String]
|
23
|
+
# Required during application update.
|
24
|
+
#
|
25
|
+
# Resource name assigned to an application by the API.
|
26
|
+
#
|
27
|
+
# The format is
|
28
|
+
# "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}",
|
29
|
+
# for example,
|
30
|
+
# "projects/api-test-project/tenants/foo/profiles/bar/applications/baz".
|
31
|
+
# @!attribute [rw] external_id
|
32
|
+
# @return [String]
|
33
|
+
# Required.
|
34
|
+
#
|
35
|
+
# Client side application identifier, used to uniquely identify the
|
36
|
+
# recruiter.
|
37
|
+
#
|
38
|
+
# The maximum number of allowed characters is 255.
|
39
|
+
# @!attribute [rw] profile
|
40
|
+
# @return [String]
|
41
|
+
# Required.
|
42
|
+
#
|
43
|
+
# Resource name of the candidate of this application.
|
44
|
+
#
|
45
|
+
# The format is
|
46
|
+
# "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
|
47
|
+
# for example, "projects/api-test-project/tenants/foo/profiles/bar".
|
48
|
+
# @!attribute [rw] job
|
49
|
+
# @return [String]
|
50
|
+
# One of either a job or a company is required.
|
51
|
+
#
|
52
|
+
# Resource name of the job which the candidate applied for.
|
53
|
+
#
|
54
|
+
# The format is
|
55
|
+
# "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}",
|
56
|
+
# for example, "projects/api-test-project/tenants/foo/jobs/bar".
|
57
|
+
# @!attribute [rw] company
|
58
|
+
# @return [String]
|
59
|
+
# One of either a job or a company is required.
|
60
|
+
#
|
61
|
+
# Resource name of the company which the candidate applied for.
|
62
|
+
#
|
63
|
+
# The format is
|
64
|
+
# "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}",
|
65
|
+
# for example, "projects/api-test-project/tenants/foo/companies/bar".
|
66
|
+
# @!attribute [rw] application_date
|
67
|
+
# @return [Google::Type::Date]
|
68
|
+
# Optional.
|
69
|
+
#
|
70
|
+
# The application date.
|
71
|
+
# @!attribute [rw] stage
|
72
|
+
# @return [Google::Cloud::Talent::V4beta1::Application::ApplicationStage]
|
73
|
+
# Required.
|
74
|
+
#
|
75
|
+
# What is the most recent stage of the application (that is, new, screen,
|
76
|
+
# send cv, hired, finished work)? This field is intentionally not
|
77
|
+
# comprehensive of every possible status, but instead, represents statuses
|
78
|
+
# that would be used to indicate to the ML models good / bad matches.
|
79
|
+
# @!attribute [rw] state
|
80
|
+
# @return [Google::Cloud::Talent::V4beta1::Application::ApplicationState]
|
81
|
+
# Optional.
|
82
|
+
#
|
83
|
+
# The application state.
|
84
|
+
# @!attribute [rw] interviews
|
85
|
+
# @return [Array<Google::Cloud::Talent::V4beta1::Interview>]
|
86
|
+
# Optional.
|
87
|
+
#
|
88
|
+
# All interviews (screen, onsite, and so on) conducted as part of this
|
89
|
+
# application (includes details such as user conducting the interview,
|
90
|
+
# timestamp, feedback, and so on).
|
91
|
+
# @!attribute [rw] referral
|
92
|
+
# @return [Google::Protobuf::BoolValue]
|
93
|
+
# Optional.
|
94
|
+
#
|
95
|
+
# If the candidate is referred by a employee.
|
96
|
+
# @!attribute [rw] create_time
|
97
|
+
# @return [Google::Protobuf::Timestamp]
|
98
|
+
# Required.
|
99
|
+
#
|
100
|
+
# Reflects the time that the application was created.
|
101
|
+
# @!attribute [rw] update_time
|
102
|
+
# @return [Google::Protobuf::Timestamp]
|
103
|
+
# Optional.
|
104
|
+
#
|
105
|
+
# The last update timestamp.
|
106
|
+
# @!attribute [rw] outcome_notes
|
107
|
+
# @return [String]
|
108
|
+
# Optional.
|
109
|
+
#
|
110
|
+
# Free text reason behind the recruitement outcome (for example, reason for
|
111
|
+
# withdraw / reject, reason for an unsuccessful finish, and so on).
|
112
|
+
#
|
113
|
+
# Number of characters allowed is 100.
|
114
|
+
# @!attribute [rw] outcome
|
115
|
+
# @return [Google::Cloud::Talent::V4beta1::Outcome]
|
116
|
+
# Optional.
|
117
|
+
#
|
118
|
+
# Outcome positiveness shows how positive the outcome is.
|
119
|
+
# @!attribute [rw] is_match
|
120
|
+
# @return [Google::Protobuf::BoolValue]
|
121
|
+
# Output only. Indicates whether this job application is a match to
|
122
|
+
# application related filters. This value is only applicable in profile
|
123
|
+
# search response.
|
124
|
+
# @!attribute [rw] job_title_snippet
|
125
|
+
# @return [String]
|
126
|
+
# Output only. Job title snippet shows how the job title is related to a
|
127
|
+
# search query. It's empty if the job title isn't related to the search
|
128
|
+
# query.
|
129
|
+
class Application
|
130
|
+
# The stage of the application.
|
131
|
+
module ApplicationStage
|
132
|
+
# Default value.
|
133
|
+
APPLICATION_STAGE_UNSPECIFIED = 0
|
134
|
+
|
135
|
+
# Candidate has applied or a recruiter put candidate into consideration but
|
136
|
+
# candidate is not yet screened / no decision has been made to move or not
|
137
|
+
# move the candidate to the next stage.
|
138
|
+
NEW = 1
|
139
|
+
|
140
|
+
# A recruiter decided to screen the candidate for this role.
|
141
|
+
SCREEN = 2
|
142
|
+
|
143
|
+
# Candidate is being / was sent to the customer / hiring manager for
|
144
|
+
# detailed review.
|
145
|
+
HIRING_MANAGER_REVIEW = 3
|
146
|
+
|
147
|
+
# Candidate was approved by the client / hiring manager and is being / was
|
148
|
+
# interviewed for the role.
|
149
|
+
INTERVIEW = 4
|
150
|
+
|
151
|
+
# Candidate will be / has been given an offer of employment.
|
152
|
+
OFFER_EXTENDED = 5
|
153
|
+
|
154
|
+
# Candidate has accepted their offer of employment.
|
155
|
+
OFFER_ACCEPTED = 6
|
156
|
+
|
157
|
+
# Candidate has begun (or completed) their employment or assignment with
|
158
|
+
# the employer.
|
159
|
+
STARTED = 7
|
160
|
+
end
|
161
|
+
|
162
|
+
# Enum that represents the application status.
|
163
|
+
module ApplicationState
|
164
|
+
# Default value.
|
165
|
+
APPLICATION_STATE_UNSPECIFIED = 0
|
166
|
+
|
167
|
+
# The current stage is in progress or pending, for example, interviews in
|
168
|
+
# progress.
|
169
|
+
IN_PROGRESS = 1
|
170
|
+
|
171
|
+
# The current stage was terminated by a candidate decision.
|
172
|
+
CANDIDATE_WITHDREW = 2
|
173
|
+
|
174
|
+
# The current stage was terminated by an employer or agency decision.
|
175
|
+
EMPLOYER_WITHDREW = 3
|
176
|
+
|
177
|
+
# The current stage is successfully completed, but the next stage (if
|
178
|
+
# applicable) has not begun.
|
179
|
+
COMPLETED = 4
|
180
|
+
|
181
|
+
# The current stage was closed without an exception, or terminated for
|
182
|
+
# reasons unrealated to the candidate.
|
183
|
+
CLOSED = 5
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|
189
|
+
end
|
@@ -0,0 +1,121 @@
|
|
1
|
+
# Copyright 2019 Google LLC
|
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
|
+
# https://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
|
+
|
16
|
+
module Google
|
17
|
+
module Cloud
|
18
|
+
module Talent
|
19
|
+
module V4beta1
|
20
|
+
# The Request of the CreateApplication method.
|
21
|
+
# @!attribute [rw] parent
|
22
|
+
# @return [String]
|
23
|
+
# Required.
|
24
|
+
#
|
25
|
+
# Resource name of the profile under which the application is created.
|
26
|
+
#
|
27
|
+
# The format is
|
28
|
+
# "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for
|
29
|
+
# example, "projects/test-project/tenants/test-tenant/profiles/test-profile".
|
30
|
+
# @!attribute [rw] application
|
31
|
+
# @return [Google::Cloud::Talent::V4beta1::Application]
|
32
|
+
# Required.
|
33
|
+
#
|
34
|
+
# The application to be created.
|
35
|
+
class CreateApplicationRequest; end
|
36
|
+
|
37
|
+
# Request for getting a application by name.
|
38
|
+
# @!attribute [rw] name
|
39
|
+
# @return [String]
|
40
|
+
# Required.
|
41
|
+
#
|
42
|
+
# The resource name of the application to be retrieved.
|
43
|
+
#
|
44
|
+
# The format is
|
45
|
+
# "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}",
|
46
|
+
# for example,
|
47
|
+
# "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application".
|
48
|
+
class GetApplicationRequest; end
|
49
|
+
|
50
|
+
# Request for updating a specified application.
|
51
|
+
# @!attribute [rw] application
|
52
|
+
# @return [Google::Cloud::Talent::V4beta1::Application]
|
53
|
+
# Required.
|
54
|
+
#
|
55
|
+
# The application resource to replace the current resource in the system.
|
56
|
+
# @!attribute [rw] update_mask
|
57
|
+
# @return [Google::Protobuf::FieldMask]
|
58
|
+
# Optional but strongly recommended for the best service
|
59
|
+
# experience.
|
60
|
+
#
|
61
|
+
# If {Google::Cloud::Talent::V4beta1::UpdateApplicationRequest#update_mask update_mask} is provided, only the specified fields in
|
62
|
+
# {Google::Cloud::Talent::V4beta1::UpdateApplicationRequest#application application} are updated. Otherwise all the fields are updated.
|
63
|
+
#
|
64
|
+
# A field mask to specify the application fields to be updated. Only
|
65
|
+
# top level fields of {Google::Cloud::Talent::V4beta1::Application Application} are supported.
|
66
|
+
class UpdateApplicationRequest; end
|
67
|
+
|
68
|
+
# Request to delete a application.
|
69
|
+
# @!attribute [rw] name
|
70
|
+
# @return [String]
|
71
|
+
# Required.
|
72
|
+
#
|
73
|
+
# The resource name of the application to be deleted.
|
74
|
+
#
|
75
|
+
# The format is
|
76
|
+
# "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}",
|
77
|
+
# for example,
|
78
|
+
# "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application".
|
79
|
+
class DeleteApplicationRequest; end
|
80
|
+
|
81
|
+
# List applications for which the client has ACL visibility.
|
82
|
+
# @!attribute [rw] parent
|
83
|
+
# @return [String]
|
84
|
+
# Required.
|
85
|
+
#
|
86
|
+
# Resource name of the profile under which the application is created.
|
87
|
+
#
|
88
|
+
# The format is
|
89
|
+
# "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for
|
90
|
+
# example, "projects/test-project/tenants/test-tenant/profiles/test-profile".
|
91
|
+
# @!attribute [rw] page_token
|
92
|
+
# @return [String]
|
93
|
+
# Optional.
|
94
|
+
#
|
95
|
+
# The starting indicator from which to return results.
|
96
|
+
# @!attribute [rw] page_size
|
97
|
+
# @return [Integer]
|
98
|
+
# Optional.
|
99
|
+
#
|
100
|
+
# The maximum number of applications to be returned, at most 100.
|
101
|
+
# Default is 100 if a non-positive number is provided.
|
102
|
+
class ListApplicationsRequest; end
|
103
|
+
|
104
|
+
# Output only.
|
105
|
+
#
|
106
|
+
# The List applications response object.
|
107
|
+
# @!attribute [rw] applications
|
108
|
+
# @return [Array<Google::Cloud::Talent::V4beta1::Application>]
|
109
|
+
# Applications for the current client.
|
110
|
+
# @!attribute [rw] next_page_token
|
111
|
+
# @return [String]
|
112
|
+
# A token to retrieve the next page of results.
|
113
|
+
# @!attribute [rw] metadata
|
114
|
+
# @return [Google::Cloud::Talent::V4beta1::ResponseMetadata]
|
115
|
+
# Additional information for the API invocation, such as the request
|
116
|
+
# tracking id.
|
117
|
+
class ListApplicationsResponse; end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|