google-cloud-talent 0.10.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -1
  3. data/AUTHENTICATION.md +51 -59
  4. data/LICENSE.md +203 -0
  5. data/MIGRATING.md +347 -0
  6. data/README.md +35 -25
  7. data/lib/{google/cloud/talent/v4beta1/doc/google/protobuf/empty.rb → google-cloud-talent.rb} +4 -14
  8. data/lib/google/cloud/talent.rb +253 -441
  9. data/lib/google/cloud/talent/version.rb +6 -2
  10. metadata +62 -111
  11. data/LICENSE +0 -201
  12. data/lib/google/cloud/talent/v4beta1.rb +0 -543
  13. data/lib/google/cloud/talent/v4beta1/application_pb.rb +0 -63
  14. data/lib/google/cloud/talent/v4beta1/application_service_client.rb +0 -527
  15. data/lib/google/cloud/talent/v4beta1/application_service_client_config.json +0 -51
  16. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +0 -55
  17. data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +0 -55
  18. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -18
  19. data/lib/google/cloud/talent/v4beta1/common_pb.rb +0 -341
  20. data/lib/google/cloud/talent/v4beta1/company_pb.rb +0 -41
  21. data/lib/google/cloud/talent/v4beta1/company_service_client.rb +0 -536
  22. data/lib/google/cloud/talent/v4beta1/company_service_client_config.json +0 -51
  23. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +0 -56
  24. data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +0 -55
  25. data/lib/google/cloud/talent/v4beta1/completion_client.rb +0 -344
  26. data/lib/google/cloud/talent/v4beta1/completion_client_config.json +0 -31
  27. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +0 -56
  28. data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +0 -47
  29. data/lib/google/cloud/talent/v4beta1/credentials.rb +0 -42
  30. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application.rb +0 -162
  31. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application_service.rb +0 -100
  32. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +0 -1057
  33. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +0 -107
  34. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +0 -116
  35. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +0 -130
  36. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +0 -224
  37. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +0 -36
  38. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +0 -763
  39. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +0 -50
  40. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +0 -331
  41. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +0 -694
  42. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +0 -750
  43. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +0 -361
  44. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +0 -70
  45. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +0 -96
  46. data/lib/google/cloud/talent/v4beta1/doc/google/longrunning/operations.rb +0 -51
  47. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/any.rb +0 -131
  48. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/duration.rb +0 -91
  49. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/field_mask.rb +0 -222
  50. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/timestamp.rb +0 -113
  51. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/wrappers.rb +0 -34
  52. data/lib/google/cloud/talent/v4beta1/doc/google/rpc/status.rb +0 -39
  53. data/lib/google/cloud/talent/v4beta1/doc/google/type/date.rb +0 -43
  54. data/lib/google/cloud/talent/v4beta1/doc/google/type/latlng.rb +0 -31
  55. data/lib/google/cloud/talent/v4beta1/doc/google/type/money.rb +0 -36
  56. data/lib/google/cloud/talent/v4beta1/doc/google/type/postal_address.rb +0 -128
  57. data/lib/google/cloud/talent/v4beta1/doc/google/type/timeofday.rb +0 -37
  58. data/lib/google/cloud/talent/v4beta1/event_pb.rb +0 -69
  59. data/lib/google/cloud/talent/v4beta1/event_service_client.rb +0 -271
  60. data/lib/google/cloud/talent/v4beta1/event_service_client_config.json +0 -31
  61. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +0 -27
  62. data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +0 -52
  63. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +0 -187
  64. data/lib/google/cloud/talent/v4beta1/helpers.rb +0 -179
  65. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +0 -27
  66. data/lib/google/cloud/talent/v4beta1/job_pb.rb +0 -72
  67. data/lib/google/cloud/talent/v4beta1/job_service_client.rb +0 -1521
  68. data/lib/google/cloud/talent/v4beta1/job_service_client_config.json +0 -76
  69. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +0 -166
  70. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +0 -87
  71. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +0 -213
  72. data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +0 -765
  73. data/lib/google/cloud/talent/v4beta1/profile_service_client_config.json +0 -56
  74. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +0 -91
  75. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +0 -64
  76. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +0 -34
  77. data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +0 -474
  78. data/lib/google/cloud/talent/v4beta1/tenant_service_client_config.json +0 -51
  79. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +0 -55
  80. data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +0 -54
@@ -1,31 +0,0 @@
1
- {
2
- "interfaces": {
3
- "google.cloud.talent.v4beta1.Completion": {
4
- "retry_codes": {
5
- "idempotent": [
6
- "DEADLINE_EXCEEDED",
7
- "UNAVAILABLE"
8
- ],
9
- "non_idempotent": []
10
- },
11
- "retry_params": {
12
- "default": {
13
- "initial_retry_delay_millis": 100,
14
- "retry_delay_multiplier": 1.3,
15
- "max_retry_delay_millis": 60000,
16
- "initial_rpc_timeout_millis": 20000,
17
- "rpc_timeout_multiplier": 1.0,
18
- "max_rpc_timeout_millis": 20000,
19
- "total_timeout_millis": 600000
20
- }
21
- },
22
- "methods": {
23
- "CompleteQuery": {
24
- "timeout_millis": 30000,
25
- "retry_codes_name": "idempotent",
26
- "retry_params_name": "default"
27
- }
28
- }
29
- }
30
- }
31
- }
@@ -1,56 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/talent/v4beta1/completion_service.proto
3
-
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/api/annotations_pb'
8
- require 'google/api/field_behavior_pb'
9
- require 'google/api/resource_pb'
10
- require 'google/cloud/talent/v4beta1/common_pb'
11
- require 'google/api/client_pb'
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_message "google.cloud.talent.v4beta1.CompleteQueryRequest" do
14
- optional :parent, :string, 1
15
- optional :query, :string, 2
16
- repeated :language_codes, :string, 3
17
- optional :page_size, :int32, 4
18
- optional :company, :string, 5
19
- optional :scope, :enum, 6, "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope"
20
- optional :type, :enum, 7, "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType"
21
- end
22
- add_enum "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope" do
23
- value :COMPLETION_SCOPE_UNSPECIFIED, 0
24
- value :TENANT, 1
25
- value :PUBLIC, 2
26
- end
27
- add_enum "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType" do
28
- value :COMPLETION_TYPE_UNSPECIFIED, 0
29
- value :JOB_TITLE, 1
30
- value :COMPANY_NAME, 2
31
- value :COMBINED, 3
32
- end
33
- add_message "google.cloud.talent.v4beta1.CompleteQueryResponse" do
34
- repeated :completion_results, :message, 1, "google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult"
35
- optional :metadata, :message, 2, "google.cloud.talent.v4beta1.ResponseMetadata"
36
- end
37
- add_message "google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult" do
38
- optional :suggestion, :string, 1
39
- optional :type, :enum, 2, "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType"
40
- optional :image_uri, :string, 3
41
- end
42
- end
43
-
44
- module Google
45
- module Cloud
46
- module Talent
47
- module V4beta1
48
- CompleteQueryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompleteQueryRequest").msgclass
49
- CompleteQueryRequest::CompletionScope = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope").enummodule
50
- CompleteQueryRequest::CompletionType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType").enummodule
51
- CompleteQueryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompleteQueryResponse").msgclass
52
- CompleteQueryResponse::CompletionResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult").msgclass
53
- end
54
- end
55
- end
56
- end
@@ -1,47 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/talent/v4beta1/completion_service.proto for package 'google.cloud.talent.v4beta1'
3
- # Original file comments:
4
- # Copyright 2020 Google LLC
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
-
20
- require 'grpc'
21
- require 'google/cloud/talent/v4beta1/completion_service_pb'
22
-
23
- module Google
24
- module Cloud
25
- module Talent
26
- module V4beta1
27
- module Completion
28
- # A service handles auto completion.
29
- class Service
30
-
31
- include GRPC::GenericService
32
-
33
- self.marshal_class_method = :encode
34
- self.unmarshal_class_method = :decode
35
- self.service_name = 'google.cloud.talent.v4beta1.Completion'
36
-
37
- # Completes the specified prefix with keyword suggestions.
38
- # Intended for use by a job search auto-complete search box.
39
- rpc :CompleteQuery, CompleteQueryRequest, CompleteQueryResponse
40
- end
41
-
42
- Stub = Service.rpc_stub_class
43
- end
44
- end
45
- end
46
- end
47
- end
@@ -1,42 +0,0 @@
1
- # Copyright 2020 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
- require "googleauth"
17
-
18
- module Google
19
- module Cloud
20
- module Talent
21
- module V4beta1
22
- class Credentials < Google::Auth::Credentials
23
- SCOPE = [
24
- "https://www.googleapis.com/auth/cloud-platform",
25
- "https://www.googleapis.com/auth/jobs"
26
- ].freeze
27
- PATH_ENV_VARS = %w(TALENT_CREDENTIALS
28
- TALENT_KEYFILE
29
- GOOGLE_CLOUD_CREDENTIALS
30
- GOOGLE_CLOUD_KEYFILE
31
- GCLOUD_KEYFILE)
32
- JSON_ENV_VARS = %w(TALENT_CREDENTIALS_JSON
33
- TALENT_KEYFILE_JSON
34
- GOOGLE_CLOUD_CREDENTIALS_JSON
35
- GOOGLE_CLOUD_KEYFILE_JSON
36
- GCLOUD_KEYFILE_JSON)
37
- DEFAULT_PATHS = ["~/.config/gcloud/application_default_credentials.json"]
38
- end
39
- end
40
- end
41
- end
42
- end
@@ -1,162 +0,0 @@
1
- # Copyright 2020 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, "projects/foo/tenants/bar/profiles/baz/applications/qux".
30
- # @!attribute [rw] external_id
31
- # @return [String]
32
- # Required. Client side application identifier, used to uniquely identify the
33
- # application.
34
- #
35
- # The maximum number of allowed characters is 255.
36
- # @!attribute [rw] profile
37
- # @return [String]
38
- # Output only. Resource name of the candidate of this application.
39
- #
40
- # The format is
41
- # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}".
42
- # For example, "projects/foo/tenants/bar/profiles/baz".
43
- # @!attribute [rw] job
44
- # @return [String]
45
- # Required. Resource name of the job which the candidate applied for.
46
- #
47
- # The format is
48
- # "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example,
49
- # "projects/foo/tenants/bar/jobs/baz".
50
- # @!attribute [rw] company
51
- # @return [String]
52
- # Resource name of the company which the candidate applied for.
53
- #
54
- # The format is
55
- # "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}".
56
- # For example, "projects/foo/tenants/bar/companies/baz".
57
- # @!attribute [rw] application_date
58
- # @return [Google::Type::Date]
59
- # The application date.
60
- # @!attribute [rw] stage
61
- # @return [Google::Cloud::Talent::V4beta1::Application::ApplicationStage]
62
- # Required. What is the most recent stage of the application (that is, new,
63
- # screen, send cv, hired, finished work)? This field is intentionally not
64
- # comprehensive of every possible status, but instead, represents statuses
65
- # that would be used to indicate to the ML models good / bad matches.
66
- # @!attribute [rw] state
67
- # @return [Google::Cloud::Talent::V4beta1::Application::ApplicationState]
68
- # The application state.
69
- # @!attribute [rw] interviews
70
- # @return [Array<Google::Cloud::Talent::V4beta1::Interview>]
71
- # All interviews (screen, onsite, and so on) conducted as part of this
72
- # application (includes details such as user conducting the interview,
73
- # timestamp, feedback, and so on).
74
- # @!attribute [rw] referral
75
- # @return [Google::Protobuf::BoolValue]
76
- # If the candidate is referred by a employee.
77
- # @!attribute [rw] create_time
78
- # @return [Google::Protobuf::Timestamp]
79
- # Required. Reflects the time that the application was created.
80
- # @!attribute [rw] update_time
81
- # @return [Google::Protobuf::Timestamp]
82
- # The last update timestamp.
83
- # @!attribute [rw] outcome_notes
84
- # @return [String]
85
- # Free text reason behind the recruitement outcome (for example, reason for
86
- # withdraw / reject, reason for an unsuccessful finish, and so on).
87
- #
88
- # Number of characters allowed is 100.
89
- # @!attribute [rw] outcome
90
- # @return [Google::Cloud::Talent::V4beta1::Outcome]
91
- # Outcome positiveness shows how positive the outcome is.
92
- # @!attribute [rw] is_match
93
- # @return [Google::Protobuf::BoolValue]
94
- # Output only. Indicates whether this job application is a match to
95
- # application related filters. This value is only applicable in profile
96
- # search response.
97
- # @!attribute [rw] job_title_snippet
98
- # @return [String]
99
- # Output only. Job title snippet shows how the job title is related to a
100
- # search query. It's empty if the job title isn't related to the search
101
- # query.
102
- class Application
103
- # The stage of the application.
104
- module ApplicationStage
105
- # Default value.
106
- APPLICATION_STAGE_UNSPECIFIED = 0
107
-
108
- # Candidate has applied or a recruiter put candidate into consideration but
109
- # candidate is not yet screened / no decision has been made to move or not
110
- # move the candidate to the next stage.
111
- NEW = 1
112
-
113
- # A recruiter decided to screen the candidate for this role.
114
- SCREEN = 2
115
-
116
- # Candidate is being / was sent to the customer / hiring manager for
117
- # detailed review.
118
- HIRING_MANAGER_REVIEW = 3
119
-
120
- # Candidate was approved by the client / hiring manager and is being / was
121
- # interviewed for the role.
122
- INTERVIEW = 4
123
-
124
- # Candidate will be / has been given an offer of employment.
125
- OFFER_EXTENDED = 5
126
-
127
- # Candidate has accepted their offer of employment.
128
- OFFER_ACCEPTED = 6
129
-
130
- # Candidate has begun (or completed) their employment or assignment with
131
- # the employer.
132
- STARTED = 7
133
- end
134
-
135
- # Enum that represents the application status.
136
- module ApplicationState
137
- # Default value.
138
- APPLICATION_STATE_UNSPECIFIED = 0
139
-
140
- # The current stage is in progress or pending, for example, interviews in
141
- # progress.
142
- IN_PROGRESS = 1
143
-
144
- # The current stage was terminated by a candidate decision.
145
- CANDIDATE_WITHDREW = 2
146
-
147
- # The current stage was terminated by an employer or agency decision.
148
- EMPLOYER_WITHDREW = 3
149
-
150
- # The current stage is successfully completed, but the next stage (if
151
- # applicable) has not begun.
152
- COMPLETED = 4
153
-
154
- # The current stage was closed without an exception, or terminated for
155
- # reasons unrealated to the candidate.
156
- CLOSED = 5
157
- end
158
- end
159
- end
160
- end
161
- end
162
- end
@@ -1,100 +0,0 @@
1
- # Copyright 2020 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. Resource name of the profile under which the application is created.
24
- #
25
- # The format is
26
- # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}".
27
- # For example, "projects/foo/tenants/bar/profiles/baz".
28
- # @!attribute [rw] application
29
- # @return [Google::Cloud::Talent::V4beta1::Application]
30
- # Required. The application to be created.
31
- class CreateApplicationRequest; end
32
-
33
- # Request for getting a application by name.
34
- # @!attribute [rw] name
35
- # @return [String]
36
- # Required. The resource name of the application to be retrieved.
37
- #
38
- # The format is
39
- # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}".
40
- # For example, "projects/foo/tenants/bar/profiles/baz/applications/qux".
41
- class GetApplicationRequest; end
42
-
43
- # Request for updating a specified application.
44
- # @!attribute [rw] application
45
- # @return [Google::Cloud::Talent::V4beta1::Application]
46
- # Required. The application resource to replace the current resource in the system.
47
- # @!attribute [rw] update_mask
48
- # @return [Google::Protobuf::FieldMask]
49
- # Strongly recommended for the best service experience.
50
- #
51
- # If {Google::Cloud::Talent::V4beta1::UpdateApplicationRequest#update_mask update_mask} is provided, only the specified fields in
52
- # {Google::Cloud::Talent::V4beta1::UpdateApplicationRequest#application application} are updated. Otherwise all the fields are updated.
53
- #
54
- # A field mask to specify the application fields to be updated. Only
55
- # top level fields of {Google::Cloud::Talent::V4beta1::Application Application} are supported.
56
- class UpdateApplicationRequest; end
57
-
58
- # Request to delete a application.
59
- # @!attribute [rw] name
60
- # @return [String]
61
- # Required. The resource name of the application to be deleted.
62
- #
63
- # The format is
64
- # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}".
65
- # For example, "projects/foo/tenants/bar/profiles/baz/applications/qux".
66
- class DeleteApplicationRequest; end
67
-
68
- # List applications for which the client has ACL visibility.
69
- # @!attribute [rw] parent
70
- # @return [String]
71
- # Required. Resource name of the profile under which the application is created.
72
- #
73
- # The format is
74
- # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for
75
- # example, "projects/foo/tenants/bar/profiles/baz".
76
- # @!attribute [rw] page_token
77
- # @return [String]
78
- # The starting indicator from which to return results.
79
- # @!attribute [rw] page_size
80
- # @return [Integer]
81
- # The maximum number of applications to be returned, at most 100.
82
- # Default is 100 if a non-positive number is provided.
83
- class ListApplicationsRequest; end
84
-
85
- # The List applications response object.
86
- # @!attribute [rw] applications
87
- # @return [Array<Google::Cloud::Talent::V4beta1::Application>]
88
- # Applications for the current client.
89
- # @!attribute [rw] next_page_token
90
- # @return [String]
91
- # A token to retrieve the next page of results.
92
- # @!attribute [rw] metadata
93
- # @return [Google::Cloud::Talent::V4beta1::ResponseMetadata]
94
- # Additional information for the API invocation, such as the request
95
- # tracking id.
96
- class ListApplicationsResponse; end
97
- end
98
- end
99
- end
100
- end
@@ -1,1057 +0,0 @@
1
- # Copyright 2020 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
- # Message representing a period of time between two timestamps.
21
- # @!attribute [rw] start_time
22
- # @return [Google::Protobuf::Timestamp]
23
- # Begin of the period (inclusive).
24
- # @!attribute [rw] end_time
25
- # @return [Google::Protobuf::Timestamp]
26
- # End of the period (exclusive).
27
- class TimestampRange; end
28
-
29
- # A resource that represents a location with full geographic information.
30
- # @!attribute [rw] location_type
31
- # @return [Google::Cloud::Talent::V4beta1::Location::LocationType]
32
- # The type of a location, which corresponds to the address lines field of
33
- # {Google::Type::PostalAddress}. For example, "Downtown, Atlanta, GA, USA"
34
- # has a type of {Google::Cloud::Talent::V4beta1::Location::LocationType::NEIGHBORHOOD LocationType::NEIGHBORHOOD}, and "Kansas City, KS, USA"
35
- # has a type of {Google::Cloud::Talent::V4beta1::Location::LocationType::LOCALITY LocationType::LOCALITY}.
36
- # @!attribute [rw] postal_address
37
- # @return [Google::Type::PostalAddress]
38
- # Postal address of the location that includes human readable information,
39
- # such as postal delivery and payments addresses. Given a postal address,
40
- # a postal service can deliver items to a premises, P.O. Box, or other
41
- # delivery location.
42
- # @!attribute [rw] lat_lng
43
- # @return [Google::Type::LatLng]
44
- # An object representing a latitude/longitude pair.
45
- # @!attribute [rw] radius_miles
46
- # @return [Float]
47
- # Radius in miles of the job location. This value is derived from the
48
- # location bounding box in which a circle with the specified radius
49
- # centered from {Google::Type::LatLng} covers the area associated with the
50
- # job location.
51
- # For example, currently, "Mountain View, CA, USA" has a radius of
52
- # 6.17 miles.
53
- class Location
54
- # An enum which represents the type of a location.
55
- module LocationType
56
- # Default value if the type isn't specified.
57
- LOCATION_TYPE_UNSPECIFIED = 0
58
-
59
- # A country level location.
60
- COUNTRY = 1
61
-
62
- # A state or equivalent level location.
63
- ADMINISTRATIVE_AREA = 2
64
-
65
- # A county or equivalent level location.
66
- SUB_ADMINISTRATIVE_AREA = 3
67
-
68
- # A city or equivalent level location.
69
- LOCALITY = 4
70
-
71
- # A postal code level location.
72
- POSTAL_CODE = 5
73
-
74
- # A sublocality is a subdivision of a locality, for example a city borough,
75
- # ward, or arrondissement. Sublocalities are usually recognized by a local
76
- # political authority. For example, Manhattan and Brooklyn are recognized
77
- # as boroughs by the City of New York, and are therefore modeled as
78
- # sublocalities.
79
- SUB_LOCALITY = 6
80
-
81
- # A district or equivalent level location.
82
- SUB_LOCALITY_1 = 7
83
-
84
- # A smaller district or equivalent level display.
85
- SUB_LOCALITY_2 = 8
86
-
87
- # A neighborhood level location.
88
- NEIGHBORHOOD = 9
89
-
90
- # A street address level location.
91
- STREET_ADDRESS = 10
92
- end
93
- end
94
-
95
- # Meta information related to the job searcher or entity
96
- # conducting the job search. This information is used to improve the
97
- # performance of the service.
98
- # @!attribute [rw] domain
99
- # @return [String]
100
- # Required if {Google::Cloud::Talent::V4beta1::RequestMetadata#allow_missing_ids allow_missing_ids} is unset or `false`.
101
- #
102
- # The client-defined scope or source of the service call, which typically
103
- # is the domain on
104
- # which the service has been implemented and is currently being run.
105
- #
106
- # For example, if the service is being run by client <em>Foo, Inc.</em>, on
107
- # job board www.foo.com and career site www.bar.com, then this field is
108
- # set to "foo.com" for use on the job board, and "bar.com" for use on the
109
- # career site.
110
- #
111
- # Note that any improvements to the model for a particular tenant site rely
112
- # on this field being set correctly to a unique domain.
113
- #
114
- # The maximum number of allowed characters is 255.
115
- # @!attribute [rw] session_id
116
- # @return [String]
117
- # Required if {Google::Cloud::Talent::V4beta1::RequestMetadata#allow_missing_ids allow_missing_ids} is unset or `false`.
118
- #
119
- # A unique session identification string. A session is defined as the
120
- # duration of an end user's interaction with the service over a certain
121
- # period.
122
- # Obfuscate this field for privacy concerns before
123
- # providing it to the service.
124
- #
125
- # Note that any improvements to the model for a particular tenant site rely
126
- # on this field being set correctly to a unique session ID.
127
- #
128
- # The maximum number of allowed characters is 255.
129
- # @!attribute [rw] user_id
130
- # @return [String]
131
- # Required if {Google::Cloud::Talent::V4beta1::RequestMetadata#allow_missing_ids allow_missing_ids} is unset or `false`.
132
- #
133
- # A unique user identification string, as determined by the client.
134
- # To have the strongest positive impact on search quality
135
- # make sure the client-level is unique.
136
- # Obfuscate this field for privacy concerns before
137
- # providing it to the service.
138
- #
139
- # Note that any improvements to the model for a particular tenant site rely
140
- # on this field being set correctly to a unique user ID.
141
- #
142
- # The maximum number of allowed characters is 255.
143
- # @!attribute [rw] allow_missing_ids
144
- # @return [true, false]
145
- # Only set when any of {Google::Cloud::Talent::V4beta1::RequestMetadata#domain domain}, {Google::Cloud::Talent::V4beta1::RequestMetadata#session_id session_id} and {Google::Cloud::Talent::V4beta1::RequestMetadata#user_id user_id} isn't
146
- # available for some reason. It is highly recommended not to set this field
147
- # and provide accurate {Google::Cloud::Talent::V4beta1::RequestMetadata#domain domain}, {Google::Cloud::Talent::V4beta1::RequestMetadata#session_id session_id} and {Google::Cloud::Talent::V4beta1::RequestMetadata#user_id user_id} for the
148
- # best service experience.
149
- # @!attribute [rw] device_info
150
- # @return [Google::Cloud::Talent::V4beta1::DeviceInfo]
151
- # The type of device used by the job seeker at the time of the call to the
152
- # service.
153
- class RequestMetadata; end
154
-
155
- # Additional information returned to client, such as debugging information.
156
- # @!attribute [rw] request_id
157
- # @return [String]
158
- # A unique id associated with this call.
159
- # This id is logged for tracking purposes.
160
- class ResponseMetadata; end
161
-
162
- # Device information collected from the job seeker, candidate, or
163
- # other entity conducting the job search. Providing this information improves
164
- # the quality of the search results across devices.
165
- # @!attribute [rw] device_type
166
- # @return [Google::Cloud::Talent::V4beta1::DeviceInfo::DeviceType]
167
- # Type of the device.
168
- # @!attribute [rw] id
169
- # @return [String]
170
- # A device-specific ID. The ID must be a unique identifier that
171
- # distinguishes the device from other devices.
172
- class DeviceInfo
173
- # An enumeration describing an API access portal and exposure mechanism.
174
- module DeviceType
175
- # The device type isn't specified.
176
- DEVICE_TYPE_UNSPECIFIED = 0
177
-
178
- # A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
179
- # Explorer)
180
- WEB = 1
181
-
182
- # A mobile device web browser, such as a phone or tablet with a Chrome
183
- # browser.
184
- MOBILE_WEB = 2
185
-
186
- # An Android device native application.
187
- ANDROID = 3
188
-
189
- # An iOS device native application.
190
- IOS = 4
191
-
192
- # A bot, as opposed to a device operated by human beings, such as a web
193
- # crawler.
194
- BOT = 5
195
-
196
- # Other devices types.
197
- OTHER = 6
198
- end
199
- end
200
-
201
- # Custom attribute values that are either filterable or non-filterable.
202
- # @!attribute [rw] string_values
203
- # @return [Array<String>]
204
- # Exactly one of {Google::Cloud::Talent::V4beta1::CustomAttribute#string_values string_values} or {Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values} must be specified.
205
- #
206
- # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
207
- # `CASE_INSENSITIVE_MATCH`) search.
208
- # For filterable `string_value`s, a maximum total number of 200 values
209
- # is allowed, with each `string_value` has a byte size of no more than
210
- # 500B. For unfilterable `string_values`, the maximum total byte size of
211
- # unfilterable `string_values` is 50KB.
212
- #
213
- # Empty string isn't allowed.
214
- # @!attribute [rw] long_values
215
- # @return [Array<Integer>]
216
- # Exactly one of {Google::Cloud::Talent::V4beta1::CustomAttribute#string_values string_values} or {Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values} must be specified.
217
- #
218
- # This field is used to perform number range search.
219
- # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
220
- #
221
- # Currently at most 1 {Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values} is supported.
222
- # @!attribute [rw] filterable
223
- # @return [true, false]
224
- # If the `filterable` flag is true, custom field values are searchable.
225
- # If false, values are not searchable.
226
- #
227
- # Default is false.
228
- class CustomAttribute; end
229
-
230
- # Spell check result.
231
- # @!attribute [rw] corrected
232
- # @return [true, false]
233
- # Indicates if the query was corrected by the spell checker.
234
- # @!attribute [rw] corrected_text
235
- # @return [String]
236
- # Correction output consisting of the corrected keyword string.
237
- # @!attribute [rw] corrected_html
238
- # @return [String]
239
- # Corrected output with html tags to highlight the corrected words.
240
- # Corrected words are called out with the "<b><i>...</i></b>" html tags.
241
- #
242
- # For example, the user input query is "software enginear", where the second
243
- # word, "enginear," is incorrect. It should be "engineer". When spelling
244
- # correction is enabled, this value is
245
- # "software <b><i>engineer</i></b>".
246
- class SpellingCorrection; end
247
-
248
- # Job compensation details.
249
- # @!attribute [rw] entries
250
- # @return [Array<Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry>]
251
- # Job compensation information.
252
- #
253
- # At most one entry can be of type
254
- # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationType::BASE CompensationInfo::CompensationType::BASE}, which is
255
- # referred as **base compensation entry** for the job.
256
- # @!attribute [rw] annualized_base_compensation_range
257
- # @return [Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationRange]
258
- # Output only. Annualized base compensation range. Computed as base compensation entry's
259
- # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry#amount} times
260
- # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year CompensationEntry#expected_units_per_year}.
261
- #
262
- # See {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry CompensationEntry} for explanation on compensation annualization.
263
- # @!attribute [rw] annualized_total_compensation_range
264
- # @return [Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationRange]
265
- # Output only. Annualized total compensation range. Computed as all compensation entries'
266
- # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry#amount} times
267
- # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year CompensationEntry#expected_units_per_year}.
268
- #
269
- # See {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry CompensationEntry} for explanation on compensation annualization.
270
- class CompensationInfo
271
- # A compensation entry that represents one component of compensation, such
272
- # as base pay, bonus, or other compensation type.
273
- #
274
- # Annualization: One compensation entry can be annualized if
275
- # * it contains valid {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount amount} or {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range range}.
276
- # * and its {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year expected_units_per_year} is set or can be derived.
277
- # Its annualized range is determined as ({Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount amount} or {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range range}) times
278
- # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year expected_units_per_year}.
279
- # @!attribute [rw] type
280
- # @return [Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationType]
281
- # Compensation type.
282
- #
283
- # Default is {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationType::COMPENSATION_TYPE_UNSPECIFIED CompensationType::COMPENSATION_TYPE_UNSPECIFIED}.
284
- # @!attribute [rw] unit
285
- # @return [Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationUnit]
286
- # Frequency of the specified amount.
287
- #
288
- # Default is {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationUnit::COMPENSATION_UNIT_UNSPECIFIED CompensationUnit::COMPENSATION_UNIT_UNSPECIFIED}.
289
- # @!attribute [rw] amount
290
- # @return [Google::Type::Money]
291
- # Compensation amount.
292
- # @!attribute [rw] range
293
- # @return [Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationRange]
294
- # Compensation range.
295
- # @!attribute [rw] description
296
- # @return [String]
297
- # Compensation description. For example, could
298
- # indicate equity terms or provide additional context to an estimated
299
- # bonus.
300
- # @!attribute [rw] expected_units_per_year
301
- # @return [Google::Protobuf::DoubleValue]
302
- # Expected number of units paid each year. If not specified, when
303
- # {Google::Cloud::Talent::V4beta1::Job#employment_types Job#employment_types} is FULLTIME, a default value is inferred
304
- # based on {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#unit unit}. Default values:
305
- # * HOURLY: 2080
306
- # * DAILY: 260
307
- # * WEEKLY: 52
308
- # * MONTHLY: 12
309
- # * ANNUAL: 1
310
- class CompensationEntry; end
311
-
312
- # Compensation range.
313
- # @!attribute [rw] max_compensation
314
- # @return [Google::Type::Money]
315
- # The maximum amount of compensation. If left empty, the value is set
316
- # to a maximal compensation value and the currency code is set to
317
- # match the {Google::Type::Money#currency_code currency code} of
318
- # min_compensation.
319
- # @!attribute [rw] min_compensation
320
- # @return [Google::Type::Money]
321
- # The minimum amount of compensation. If left empty, the value is set
322
- # to zero and the currency code is set to match the
323
- # {Google::Type::Money#currency_code currency code} of max_compensation.
324
- class CompensationRange; end
325
-
326
- # The type of compensation.
327
- #
328
- # For compensation amounts specified in non-monetary amounts,
329
- # describe the compensation scheme in the {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry#description}.
330
- #
331
- # For example, tipping format is described in
332
- # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry#description} (for example, "expect 15-20% tips based
333
- # on customer bill.") and an estimate of the tips provided in
334
- # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry#amount} or {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range CompensationEntry#range} ($10 per hour).
335
- #
336
- # For example, equity is described in {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry#description}
337
- # (for example, "1% - 2% equity vesting over 4 years, 1 year cliff") and
338
- # value estimated in {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry#amount} or
339
- # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range CompensationEntry#range}. If no value estimate is possible, units are
340
- # {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationUnit::COMPENSATION_UNIT_UNSPECIFIED CompensationUnit::COMPENSATION_UNIT_UNSPECIFIED} and then further
341
- # clarified in {Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry#description} field.
342
- module CompensationType
343
- # Default value.
344
- COMPENSATION_TYPE_UNSPECIFIED = 0
345
-
346
- # Base compensation: Refers to the fixed amount of money paid to an
347
- # employee by an employer in return for work performed. Base compensation
348
- # does not include benefits, bonuses or any other potential compensation
349
- # from an employer.
350
- BASE = 1
351
-
352
- # Bonus.
353
- BONUS = 2
354
-
355
- # Signing bonus.
356
- SIGNING_BONUS = 3
357
-
358
- # Equity.
359
- EQUITY = 4
360
-
361
- # Profit sharing.
362
- PROFIT_SHARING = 5
363
-
364
- # Commission.
365
- COMMISSIONS = 6
366
-
367
- # Tips.
368
- TIPS = 7
369
-
370
- # Other compensation type.
371
- OTHER_COMPENSATION_TYPE = 8
372
- end
373
-
374
- # Pay frequency.
375
- module CompensationUnit
376
- # Default value.
377
- COMPENSATION_UNIT_UNSPECIFIED = 0
378
-
379
- # Hourly.
380
- HOURLY = 1
381
-
382
- # Daily.
383
- DAILY = 2
384
-
385
- # Weekly
386
- WEEKLY = 3
387
-
388
- # Monthly.
389
- MONTHLY = 4
390
-
391
- # Yearly.
392
- YEARLY = 5
393
-
394
- # One time.
395
- ONE_TIME = 6
396
-
397
- # Other compensation units.
398
- OTHER_COMPENSATION_UNIT = 7
399
- end
400
- end
401
-
402
- # Resource that represents a license or certification.
403
- # @!attribute [rw] display_name
404
- # @return [String]
405
- # Name of license or certification.
406
- #
407
- # Number of characters allowed is 100.
408
- # @!attribute [rw] acquire_date
409
- # @return [Google::Type::Date]
410
- # Acquisition date or effective date of license or certification.
411
- # @!attribute [rw] expire_date
412
- # @return [Google::Type::Date]
413
- # Expiration date of license of certification.
414
- # @!attribute [rw] authority
415
- # @return [String]
416
- # Authority of license, such as government.
417
- #
418
- # Number of characters allowed is 100.
419
- # @!attribute [rw] description
420
- # @return [String]
421
- # Description of license or certification.
422
- #
423
- # Number of characters allowed is 100,000.
424
- class Certification; end
425
-
426
- # Resource that represents a skill of a candidate.
427
- # @!attribute [rw] display_name
428
- # @return [String]
429
- # Skill display name.
430
- #
431
- # For example, "Java", "Python".
432
- #
433
- # Number of characters allowed is 100.
434
- # @!attribute [rw] last_used_date
435
- # @return [Google::Type::Date]
436
- # The last time this skill was used.
437
- # @!attribute [rw] level
438
- # @return [Google::Cloud::Talent::V4beta1::SkillProficiencyLevel]
439
- # Skill proficiency level which indicates how proficient the candidate is at
440
- # this skill.
441
- # @!attribute [rw] context
442
- # @return [String]
443
- # A paragraph describes context of this skill.
444
- #
445
- # Number of characters allowed is 100,000.
446
- # @!attribute [rw] skill_name_snippet
447
- # @return [String]
448
- # Output only. Skill name snippet shows how the {Google::Cloud::Talent::V4beta1::Skill#display_name display_name} is related to a search
449
- # query. It's empty if the {Google::Cloud::Talent::V4beta1::Skill#display_name display_name} isn't related to the search
450
- # query.
451
- class Skill; end
452
-
453
- # Details of an interview.
454
- # @!attribute [rw] rating
455
- # @return [Google::Cloud::Talent::V4beta1::Rating]
456
- # The rating on this interview.
457
- # @!attribute [rw] outcome
458
- # @return [Google::Cloud::Talent::V4beta1::Outcome]
459
- # Required. The overall decision resulting from this interview (positive, negative,
460
- # nuetral).
461
- class Interview; end
462
-
463
- # The details of the score received for an assessment or interview.
464
- # @!attribute [rw] overall
465
- # @return [Float]
466
- # Overall score.
467
- # @!attribute [rw] min
468
- # @return [Float]
469
- # The minimum value for the score.
470
- # @!attribute [rw] max
471
- # @return [Float]
472
- # The maximum value for the score.
473
- # @!attribute [rw] interval
474
- # @return [Float]
475
- # The steps within the score (for example, interval = 1 max = 5
476
- # min = 1 indicates that the score can be 1, 2, 3, 4, or 5)
477
- class Rating; end
478
-
479
- # Metadata used for long running operations returned by CTS batch APIs.
480
- # It's used to replace {Google::Longrunning::Operation#metadata}.
481
- # @!attribute [rw] state
482
- # @return [Google::Cloud::Talent::V4beta1::BatchOperationMetadata::State]
483
- # The state of a long running operation.
484
- # @!attribute [rw] state_description
485
- # @return [String]
486
- # More detailed information about operation state.
487
- # @!attribute [rw] success_count
488
- # @return [Integer]
489
- # Count of successful item(s) inside an operation.
490
- # @!attribute [rw] failure_count
491
- # @return [Integer]
492
- # Count of failed item(s) inside an operation.
493
- # @!attribute [rw] total_count
494
- # @return [Integer]
495
- # Count of total item(s) inside an operation.
496
- # @!attribute [rw] create_time
497
- # @return [Google::Protobuf::Timestamp]
498
- # The time when the batch operation is created.
499
- # @!attribute [rw] update_time
500
- # @return [Google::Protobuf::Timestamp]
501
- # The time when the batch operation status is updated. The metadata and the
502
- # {Google::Cloud::Talent::V4beta1::BatchOperationMetadata#update_time update_time} is refreshed every minute otherwise cached data is
503
- # returned.
504
- # @!attribute [rw] end_time
505
- # @return [Google::Protobuf::Timestamp]
506
- # The time when the batch operation is finished and
507
- # {Google::Longrunning::Operation#done} is set to `true`.
508
- class BatchOperationMetadata
509
- module State
510
- # Default value.
511
- STATE_UNSPECIFIED = 0
512
-
513
- # The batch operation is being prepared for processing.
514
- INITIALIZING = 1
515
-
516
- # The batch operation is actively being processed.
517
- PROCESSING = 2
518
-
519
- # The batch operation is processed, and at least one item has been
520
- # successfully processed.
521
- SUCCEEDED = 3
522
-
523
- # The batch operation is done and no item has been successfully processed.
524
- FAILED = 4
525
-
526
- # The batch operation is in the process of cancelling after
527
- # {Google::Longrunning::Operations::CancelOperation} is called.
528
- CANCELLING = 5
529
-
530
- # The batch operation is done after
531
- # {Google::Longrunning::Operations::CancelOperation} is called. Any items
532
- # processed before cancelling are returned in the response.
533
- CANCELLED = 6
534
- end
535
- end
536
-
537
- # The type of candidate availability signal.
538
- module AvailabilitySignalType
539
- # Default value.
540
- AVAILABILITY_SIGNAL_TYPE_UNSPECIFIED = 0
541
-
542
- # Job application signal.
543
- #
544
- # In the context of {Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile#availability_signals}, this signal is related
545
- # to the candidate's most recent application.
546
- # {Google::Cloud::Talent::V4beta1::AvailabilitySignal#last_update_time last_update_time} is
547
- # calculated from max({Google::Cloud::Talent::V4beta1::Application#create_time Application#create_time}) from all {Google::Cloud::Talent::V4beta1::Application Application}
548
- # records where {Google::Cloud::Talent::V4beta1::Application#source Application#source} is any of the following:
549
- # {Google::Cloud::Talent::V4beta1::Application::ApplicationSource::APPLY_DIRECT_WEB APPLY_DIRECT_WEB}
550
- # {Google::Cloud::Talent::V4beta1::Application::ApplicationSource::APPLY_DIRECT_MOBILE_WEB APPLY_DIRECT_MOBILE_WEB}
551
- # {Google::Cloud::Talent::V4beta1::Application::ApplicationSource::APPLY_DIRECT_MOBILE_APP APPLY_DIRECT_MOBILE_APP}
552
- # {Google::Cloud::Talent::V4beta1::Application::ApplicationSource::APPLY_DIRECT_IN_PERSON APPLY_DIRECT_IN_PERSON}
553
- # {Google::Cloud::Talent::V4beta1::Application::ApplicationSource::APPLY_INDIRECT APPLY_INDIRECT}
554
- #
555
- # In the context of {Google::Cloud::Talent::V4beta1::AvailabilityFilter AvailabilityFilter}, the filter is applied on
556
- # {Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile#availability_signals} where
557
- # {Google::Cloud::Talent::V4beta1::AvailabilitySignal#type type} is JOB_APPLICATION.
558
- JOB_APPLICATION = 1
559
-
560
- # Resume update signal.
561
- #
562
- # In the context of {Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile#availability_signals}, this signal is related
563
- # to the candidate's most recent update to their resume.
564
- # For a {Google::Cloud::Talent::V4beta1::SummarizedProfile#summary SummarizedProfile#summary},
565
- # {Google::Cloud::Talent::V4beta1::AvailabilitySignal#last_update_time last_update_time} is
566
- # calculated from max({Google::Cloud::Talent::V4beta1::Profile#resume_update_time Profile#resume_update_time}) from all
567
- # {Google::Cloud::Talent::V4beta1::SummarizedProfile#profiles SummarizedProfile#profiles}.
568
- #
569
- # In the context of {Google::Cloud::Talent::V4beta1::AvailabilityFilter AvailabilityFilter}, the filter is applied on
570
- # {Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile#availability_signals} where
571
- # {Google::Cloud::Talent::V4beta1::AvailabilitySignal#type type} is RESUME_UPDATE.
572
- RESUME_UPDATE = 2
573
-
574
- # Candidate update signal.
575
- #
576
- # In the context of {Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile#availability_signals}, this signal is related
577
- # to the candidate's most recent update to their profile.
578
- # For a {Google::Cloud::Talent::V4beta1::SummarizedProfile#summary SummarizedProfile#summary},
579
- # {Google::Cloud::Talent::V4beta1::AvailabilitySignal#last_update_time last_update_time} is
580
- # calculated from max({Google::Cloud::Talent::V4beta1::Profile#candidate_update_time Profile#candidate_update_time}) from all
581
- # {Google::Cloud::Talent::V4beta1::SummarizedProfile#profiles SummarizedProfile#profiles}.
582
- #
583
- # In the context of {Google::Cloud::Talent::V4beta1::AvailabilityFilter AvailabilityFilter}, the filter is applied on
584
- # {Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile#availability_signals} where
585
- # {Google::Cloud::Talent::V4beta1::AvailabilitySignal#type type} is CANDIDATE_UPDATE.
586
- CANDIDATE_UPDATE = 3
587
-
588
- # Client submission signal.
589
- #
590
- # In the context of {Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile#availability_signals}, this signal is related
591
- # to the candidate's most recent submission.
592
- # {Google::Cloud::Talent::V4beta1::AvailabilitySignal#last_update_time last_update_time} is
593
- # calculated from max({Google::Cloud::Talent::V4beta1::Application#create_time Application#create_time}) from all {Google::Cloud::Talent::V4beta1::Application Application}
594
- # records where {Google::Cloud::Talent::V4beta1::Application#stage Application#stage} is any of the following:
595
- # {Google::Cloud::Talent::V4beta1::Application::ApplicationStage::HIRING_MANAGER_REVIEW HIRING_MANAGER_REVIEW}
596
- # {Google::Cloud::Talent::V4beta1::Application::ApplicationStage::INTERVIEW INTERVIEW}
597
- # {Google::Cloud::Talent::V4beta1::Application::ApplicationStage::OFFER_EXTENDED OFFER_EXTENDED}
598
- # {Google::Cloud::Talent::V4beta1::Application::ApplicationStage::OFFER_ACCEPTED OFFER_ACCEPTED}
599
- # {Google::Cloud::Talent::V4beta1::Application::ApplicationStage::STARTED STARTED}
600
- #
601
- # In the context of {Google::Cloud::Talent::V4beta1::AvailabilityFilter AvailabilityFilter}, the filter is applied on
602
- # {Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile#availability_signals} where
603
- # {Google::Cloud::Talent::V4beta1::AvailabilitySignal#type type} is CLIENT_SUBMISSION.
604
- CLIENT_SUBMISSION = 4
605
- end
606
-
607
- # Method for commute.
608
- module CommuteMethod
609
- # Commute method isn't specified.
610
- COMMUTE_METHOD_UNSPECIFIED = 0
611
-
612
- # Commute time is calculated based on driving time.
613
- DRIVING = 1
614
-
615
- # Commute time is calculated based on public transit including bus, metro,
616
- # subway, and so on.
617
- TRANSIT = 2
618
-
619
- # Commute time is calculated based on walking time.
620
- WALKING = 3
621
-
622
- # Commute time is calculated based on biking time.
623
- CYCLING = 4
624
- end
625
-
626
- # An enum that represents the size of the company.
627
- module CompanySize
628
- # Default value if the size isn't specified.
629
- COMPANY_SIZE_UNSPECIFIED = 0
630
-
631
- # The company has less than 50 employees.
632
- MINI = 1
633
-
634
- # The company has between 50 and 99 employees.
635
- SMALL = 2
636
-
637
- # The company has between 100 and 499 employees.
638
- SMEDIUM = 3
639
-
640
- # The company has between 500 and 999 employees.
641
- MEDIUM = 4
642
-
643
- # The company has between 1,000 and 4,999 employees.
644
- BIG = 5
645
-
646
- # The company has between 5,000 and 9,999 employees.
647
- BIGGER = 6
648
-
649
- # The company has 10,000 or more employees.
650
- GIANT = 7
651
- end
652
-
653
- # Enum that represents the usage of the contact information.
654
- module ContactInfoUsage
655
- # Default value.
656
- CONTACT_INFO_USAGE_UNSPECIFIED = 0
657
-
658
- # Personal use.
659
- PERSONAL = 1
660
-
661
- # Work use.
662
- WORK = 2
663
-
664
- # School use.
665
- SCHOOL = 3
666
- end
667
-
668
- # Educational degree level defined in International Standard Classification
669
- # of Education (ISCED).
670
- module DegreeType
671
- # Default value. Represents no degree, or early childhood education.
672
- # Maps to ISCED code 0.
673
- # Ex) Kindergarten
674
- DEGREE_TYPE_UNSPECIFIED = 0
675
-
676
- # Primary education which is typically the first stage of compulsory
677
- # education. ISCED code 1.
678
- # Ex) Elementary school
679
- PRIMARY_EDUCATION = 1
680
-
681
- # Lower secondary education; First stage of secondary education building on
682
- # primary education, typically with a more subject-oriented curriculum.
683
- # ISCED code 2.
684
- # Ex) Middle school
685
- LOWER_SECONDARY_EDUCATION = 2
686
-
687
- # Middle education; Second/final stage of secondary education preparing for
688
- # tertiary education and/or providing skills relevant to employment.
689
- # Usually with an increased range of subject options and streams. ISCED
690
- # code 3.
691
- # Ex) High school
692
- UPPER_SECONDARY_EDUCATION = 3
693
-
694
- # Adult Remedial Education; Programmes providing learning experiences that
695
- # build on secondary education and prepare for labour market entry and/or
696
- # tertiary education. The content is broader than secondary but not as
697
- # complex as tertiary education. ISCED code 4.
698
- ADULT_REMEDIAL_EDUCATION = 4
699
-
700
- # Associate's or equivalent; Short first tertiary programmes that are
701
- # typically practically-based, occupationally-specific and prepare for
702
- # labour market entry. These programmes may also provide a pathway to other
703
- # tertiary programmes. ISCED code 5.
704
- ASSOCIATES_OR_EQUIVALENT = 5
705
-
706
- # Bachelor's or equivalent; Programmes designed to provide intermediate
707
- # academic and/or professional knowledge, skills and competencies leading
708
- # to a first tertiary degree or equivalent qualification. ISCED code 6.
709
- BACHELORS_OR_EQUIVALENT = 6
710
-
711
- # Master's or equivalent; Programmes designed to provide advanced academic
712
- # and/or professional knowledge, skills and competencies leading to a
713
- # second tertiary degree or equivalent qualification. ISCED code 7.
714
- MASTERS_OR_EQUIVALENT = 7
715
-
716
- # Doctoral or equivalent; Programmes designed primarily to lead to an
717
- # advanced research qualification, usually concluding with the submission
718
- # and defense of a substantive dissertation of publishable quality based on
719
- # original research. ISCED code 8.
720
- DOCTORAL_OR_EQUIVALENT = 8
721
- end
722
-
723
- # An enum that represents the employment type of a job.
724
- module EmploymentType
725
- # The default value if the employment type isn't specified.
726
- EMPLOYMENT_TYPE_UNSPECIFIED = 0
727
-
728
- # The job requires working a number of hours that constitute full
729
- # time employment, typically 40 or more hours per week.
730
- FULL_TIME = 1
731
-
732
- # The job entails working fewer hours than a full time job,
733
- # typically less than 40 hours a week.
734
- PART_TIME = 2
735
-
736
- # The job is offered as a contracted, as opposed to a salaried employee,
737
- # position.
738
- CONTRACTOR = 3
739
-
740
- # The job is offered as a contracted position with the understanding
741
- # that it's converted into a full-time position at the end of the
742
- # contract. Jobs of this type are also returned by a search for
743
- # {Google::Cloud::Talent::V4beta1::EmploymentType::CONTRACTOR EmploymentType::CONTRACTOR} jobs.
744
- CONTRACT_TO_HIRE = 4
745
-
746
- # The job is offered as a temporary employment opportunity, usually
747
- # a short-term engagement.
748
- TEMPORARY = 5
749
-
750
- # The job is a fixed-term opportunity for students or entry-level job
751
- # seekers to obtain on-the-job training, typically offered as a summer
752
- # position.
753
- INTERN = 6
754
-
755
- # The is an opportunity for an individual to volunteer, where there's no
756
- # expectation of compensation for the provided services.
757
- VOLUNTEER = 7
758
-
759
- # The job requires an employee to work on an as-needed basis with a
760
- # flexible schedule.
761
- PER_DIEM = 8
762
-
763
- # The job involves employing people in remote areas and flying them
764
- # temporarily to the work site instead of relocating employees and their
765
- # families permanently.
766
- FLY_IN_FLY_OUT = 9
767
-
768
- # The job does not fit any of the other listed types.
769
- OTHER_EMPLOYMENT_TYPE = 10
770
- end
771
-
772
- # Option for HTML content sanitization on user input fields, for example, job
773
- # description. By setting this option, user can determine whether and how
774
- # sanitization is performed on these fields.
775
- module HtmlSanitization
776
- # Default value.
777
- HTML_SANITIZATION_UNSPECIFIED = 0
778
-
779
- # Disables sanitization on HTML input.
780
- HTML_SANITIZATION_DISABLED = 1
781
-
782
- # Sanitizes HTML input, only accepts bold, italic, ordered list, and
783
- # unordered list markup tags.
784
- SIMPLE_FORMATTING_ONLY = 2
785
- end
786
-
787
- # An enum that represents employee benefits included with the job.
788
- module JobBenefit
789
- # Default value if the type isn't specified.
790
- JOB_BENEFIT_UNSPECIFIED = 0
791
-
792
- # The job includes access to programs that support child care, such
793
- # as daycare.
794
- CHILD_CARE = 1
795
-
796
- # The job includes dental services covered by a dental
797
- # insurance plan.
798
- DENTAL = 2
799
-
800
- # The job offers specific benefits to domestic partners.
801
- DOMESTIC_PARTNER = 3
802
-
803
- # The job allows for a flexible work schedule.
804
- FLEXIBLE_HOURS = 4
805
-
806
- # The job includes health services covered by a medical insurance plan.
807
- MEDICAL = 5
808
-
809
- # The job includes a life insurance plan provided by the employer or
810
- # available for purchase by the employee.
811
- LIFE_INSURANCE = 6
812
-
813
- # The job allows for a leave of absence to a parent to care for a newborn
814
- # child.
815
- PARENTAL_LEAVE = 7
816
-
817
- # The job includes a workplace retirement plan provided by the
818
- # employer or available for purchase by the employee.
819
- RETIREMENT_PLAN = 8
820
-
821
- # The job allows for paid time off due to illness.
822
- SICK_DAYS = 9
823
-
824
- # The job includes paid time off for vacation.
825
- VACATION = 10
826
-
827
- # The job includes vision services covered by a vision
828
- # insurance plan.
829
- VISION = 11
830
- end
831
-
832
- # An enum that represents the categorization or primary focus of specific
833
- # role. This value is different than the "industry" associated with a role,
834
- # which is related to the categorization of the company listing the job.
835
- module JobCategory
836
- # The default value if the category isn't specified.
837
- JOB_CATEGORY_UNSPECIFIED = 0
838
-
839
- # An accounting and finance job, such as an Accountant.
840
- ACCOUNTING_AND_FINANCE = 1
841
-
842
- # An administrative and office job, such as an Administrative Assistant.
843
- ADMINISTRATIVE_AND_OFFICE = 2
844
-
845
- # An advertising and marketing job, such as Marketing Manager.
846
- ADVERTISING_AND_MARKETING = 3
847
-
848
- # An animal care job, such as Veterinarian.
849
- ANIMAL_CARE = 4
850
-
851
- # An art, fashion, or design job, such as Designer.
852
- ART_FASHION_AND_DESIGN = 5
853
-
854
- # A business operations job, such as Business Operations Manager.
855
- BUSINESS_OPERATIONS = 6
856
-
857
- # A cleaning and facilities job, such as Custodial Staff.
858
- CLEANING_AND_FACILITIES = 7
859
-
860
- # A computer and IT job, such as Systems Administrator.
861
- COMPUTER_AND_IT = 8
862
-
863
- # A construction job, such as General Laborer.
864
- CONSTRUCTION = 9
865
-
866
- # A customer service job, such s Cashier.
867
- CUSTOMER_SERVICE = 10
868
-
869
- # An education job, such as School Teacher.
870
- EDUCATION = 11
871
-
872
- # An entertainment and travel job, such as Flight Attendant.
873
- ENTERTAINMENT_AND_TRAVEL = 12
874
-
875
- # A farming or outdoor job, such as Park Ranger.
876
- FARMING_AND_OUTDOORS = 13
877
-
878
- # A healthcare job, such as Registered Nurse.
879
- HEALTHCARE = 14
880
-
881
- # A human resources job, such as Human Resources Director.
882
- HUMAN_RESOURCES = 15
883
-
884
- # An installation, maintenance, or repair job, such as Electrician.
885
- INSTALLATION_MAINTENANCE_AND_REPAIR = 16
886
-
887
- # A legal job, such as Law Clerk.
888
- LEGAL = 17
889
-
890
- # A management job, often used in conjunction with another category,
891
- # such as Store Manager.
892
- MANAGEMENT = 18
893
-
894
- # A manufacturing or warehouse job, such as Assembly Technician.
895
- MANUFACTURING_AND_WAREHOUSE = 19
896
-
897
- # A media, communications, or writing job, such as Media Relations.
898
- MEDIA_COMMUNICATIONS_AND_WRITING = 20
899
-
900
- # An oil, gas or mining job, such as Offshore Driller.
901
- OIL_GAS_AND_MINING = 21
902
-
903
- # A personal care and services job, such as Hair Stylist.
904
- PERSONAL_CARE_AND_SERVICES = 22
905
-
906
- # A protective services job, such as Security Guard.
907
- PROTECTIVE_SERVICES = 23
908
-
909
- # A real estate job, such as Buyer's Agent.
910
- REAL_ESTATE = 24
911
-
912
- # A restaurant and hospitality job, such as Restaurant Server.
913
- RESTAURANT_AND_HOSPITALITY = 25
914
-
915
- # A sales and/or retail job, such Sales Associate.
916
- SALES_AND_RETAIL = 26
917
-
918
- # A science and engineering job, such as Lab Technician.
919
- SCIENCE_AND_ENGINEERING = 27
920
-
921
- # A social services or non-profit job, such as Case Worker.
922
- SOCIAL_SERVICES_AND_NON_PROFIT = 28
923
-
924
- # A sports, fitness, or recreation job, such as Personal Trainer.
925
- SPORTS_FITNESS_AND_RECREATION = 29
926
-
927
- # A transportation or logistics job, such as Truck Driver.
928
- TRANSPORTATION_AND_LOGISTICS = 30
929
- end
930
-
931
- # An enum that represents the required experience level required for the job.
932
- module JobLevel
933
- # The default value if the level isn't specified.
934
- JOB_LEVEL_UNSPECIFIED = 0
935
-
936
- # Entry-level individual contributors, typically with less than 2 years of
937
- # experience in a similar role. Includes interns.
938
- ENTRY_LEVEL = 1
939
-
940
- # Experienced individual contributors, typically with 2+ years of
941
- # experience in a similar role.
942
- EXPERIENCED = 2
943
-
944
- # Entry- to mid-level managers responsible for managing a team of people.
945
- MANAGER = 3
946
-
947
- # Senior-level managers responsible for managing teams of managers.
948
- DIRECTOR = 4
949
-
950
- # Executive-level managers and above, including C-level positions.
951
- EXECUTIVE = 5
952
- end
953
-
954
- # The overall outcome /decision / result indicator.
955
- module Outcome
956
- # Default value.
957
- OUTCOME_UNSPECIFIED = 0
958
-
959
- # A positive outcome / passing indicator (for example, candidate was
960
- # recommended for hiring or to be moved forward in the hiring process,
961
- # candidate passed a test).
962
- POSITIVE = 1
963
-
964
- # A neutral outcome / no clear indicator (for example, no strong
965
- # reccommendation either to move forward / not move forward, neutral score).
966
- NEUTRAL = 2
967
-
968
- # A negative outcome / failing indicator (for example, candidate was
969
- # recommended to NOT move forward in the hiring process, failed a test).
970
- NEGATIVE = 3
971
-
972
- # The assessment outcome is not available or otherwise unknown (for example,
973
- # candidate did not complete assessment).
974
- OUTCOME_NOT_AVAILABLE = 4
975
- end
976
-
977
- # An enum that represents the job posting region. In most cases, job postings
978
- # don't need to specify a region. If a region is given, jobs are
979
- # eligible for searches in the specified region.
980
- module PostingRegion
981
- # If the region is unspecified, the job is only returned if it
982
- # matches the {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter}.
983
- POSTING_REGION_UNSPECIFIED = 0
984
-
985
- # In addition to exact location matching, job posting is returned when the
986
- # {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} in the search query is in the same administrative area
987
- # as the returned job posting. For example, if a `ADMINISTRATIVE_AREA` job
988
- # is posted in "CA, USA", it's returned if {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} has
989
- # "Mountain View".
990
- #
991
- # Administrative area refers to top-level administrative subdivision of this
992
- # country. For example, US state, IT region, UK constituent nation and
993
- # JP prefecture.
994
- ADMINISTRATIVE_AREA = 1
995
-
996
- # In addition to exact location matching, job is returned when
997
- # {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} in search query is in the same country as this job.
998
- # For example, if a `NATION_WIDE` job is posted in "USA", it's
999
- # returned if {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} has 'Mountain View'.
1000
- NATION = 2
1001
-
1002
- # Job allows employees to work remotely (telecommute).
1003
- # If locations are provided with this value, the job is
1004
- # considered as having a location, but telecommuting is allowed.
1005
- TELECOMMUTE = 3
1006
- end
1007
-
1008
- # Enum that represents the skill proficiency level.
1009
- module SkillProficiencyLevel
1010
- # Default value.
1011
- SKILL_PROFICIENCY_LEVEL_UNSPECIFIED = 0
1012
-
1013
- # Lacks any proficiency in this skill.
1014
- UNSKILLED = 6
1015
-
1016
- # Have a common knowledge or an understanding of basic techniques and
1017
- # concepts.
1018
- FUNDAMENTAL_AWARENESS = 1
1019
-
1020
- # Have the level of experience gained in a classroom and/or experimental
1021
- # scenarios or as a trainee on-the-job.
1022
- NOVICE = 2
1023
-
1024
- # Be able to successfully complete tasks in this skill as requested. Help
1025
- # from an expert may be required from time to time, but can usually perform
1026
- # skill independently.
1027
- INTERMEDIATE = 3
1028
-
1029
- # Can perform the actions associated with this skill without assistance.
1030
- ADVANCED = 4
1031
-
1032
- # Known as an expert in this area.
1033
- EXPERT = 5
1034
- end
1035
-
1036
- # Deprecated. All resources are only visible to the owner.
1037
- #
1038
- # An enum that represents who has view access to the resource.
1039
- module Visibility
1040
- # Default value.
1041
- VISIBILITY_UNSPECIFIED = 0
1042
-
1043
- # The resource is only visible to the GCP account who owns it.
1044
- ACCOUNT_ONLY = 1
1045
-
1046
- # The resource is visible to the owner and may be visible to other
1047
- # applications and processes at Google.
1048
- SHARED_WITH_GOOGLE = 2
1049
-
1050
- # The resource is visible to the owner and may be visible to all other API
1051
- # clients.
1052
- SHARED_WITH_PUBLIC = 3
1053
- end
1054
- end
1055
- end
1056
- end
1057
- end