google-cloud-talent-v4 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +203 -0
  5. data/README.md +75 -0
  6. data/lib/google-cloud-talent-v4.rb +21 -0
  7. data/lib/google/cloud/talent/v4.rb +39 -0
  8. data/lib/google/cloud/talent/v4/common_pb.rb +280 -0
  9. data/lib/google/cloud/talent/v4/company_pb.rb +42 -0
  10. data/lib/google/cloud/talent/v4/company_service.rb +49 -0
  11. data/lib/google/cloud/talent/v4/company_service/client.rb +732 -0
  12. data/lib/google/cloud/talent/v4/company_service/credentials.rb +52 -0
  13. data/lib/google/cloud/talent/v4/company_service/paths.rb +69 -0
  14. data/lib/google/cloud/talent/v4/company_service_pb.rb +57 -0
  15. data/lib/google/cloud/talent/v4/company_service_services_pb.rb +54 -0
  16. data/lib/google/cloud/talent/v4/completion.rb +49 -0
  17. data/lib/google/cloud/talent/v4/completion/client.rb +408 -0
  18. data/lib/google/cloud/talent/v4/completion/credentials.rb +52 -0
  19. data/lib/google/cloud/talent/v4/completion/paths.rb +69 -0
  20. data/lib/google/cloud/talent/v4/completion_service_pb.rb +57 -0
  21. data/lib/google/cloud/talent/v4/completion_service_services_pb.rb +46 -0
  22. data/lib/google/cloud/talent/v4/event_pb.rb +55 -0
  23. data/lib/google/cloud/talent/v4/event_service.rb +49 -0
  24. data/lib/google/cloud/talent/v4/event_service/client.rb +383 -0
  25. data/lib/google/cloud/talent/v4/event_service/credentials.rb +52 -0
  26. data/lib/google/cloud/talent/v4/event_service/paths.rb +50 -0
  27. data/lib/google/cloud/talent/v4/event_service_pb.rb +28 -0
  28. data/lib/google/cloud/talent/v4/event_service_services_pb.rb +51 -0
  29. data/lib/google/cloud/talent/v4/filters_pb.rb +87 -0
  30. data/lib/google/cloud/talent/v4/histogram_pb.rb +28 -0
  31. data/lib/google/cloud/talent/v4/job_pb.rb +72 -0
  32. data/lib/google/cloud/talent/v4/job_service.rb +50 -0
  33. data/lib/google/cloud/talent/v4/job_service/client.rb +1632 -0
  34. data/lib/google/cloud/talent/v4/job_service/credentials.rb +52 -0
  35. data/lib/google/cloud/talent/v4/job_service/operations.rb +570 -0
  36. data/lib/google/cloud/talent/v4/job_service/paths.rb +88 -0
  37. data/lib/google/cloud/talent/v4/job_service_pb.rb +173 -0
  38. data/lib/google/cloud/talent/v4/job_service_services_pb.rb +86 -0
  39. data/lib/google/cloud/talent/v4/tenant_pb.rb +26 -0
  40. data/lib/google/cloud/talent/v4/tenant_service.rb +49 -0
  41. data/lib/google/cloud/talent/v4/tenant_service/client.rb +720 -0
  42. data/lib/google/cloud/talent/v4/tenant_service/credentials.rb +52 -0
  43. data/lib/google/cloud/talent/v4/tenant_service/paths.rb +64 -0
  44. data/lib/google/cloud/talent/v4/tenant_service_pb.rb +56 -0
  45. data/lib/google/cloud/talent/v4/tenant_service_services_pb.rb +53 -0
  46. data/lib/google/cloud/talent/v4/version.rb +28 -0
  47. data/proto_docs/README.md +4 -0
  48. data/proto_docs/google/api/field_behavior.rb +59 -0
  49. data/proto_docs/google/api/resource.rb +283 -0
  50. data/proto_docs/google/cloud/talent/v4/common.rb +949 -0
  51. data/proto_docs/google/cloud/talent/v4/company.rb +117 -0
  52. data/proto_docs/google/cloud/talent/v4/company_service.rb +133 -0
  53. data/proto_docs/google/cloud/talent/v4/completion_service.rb +148 -0
  54. data/proto_docs/google/cloud/talent/v4/event.rb +179 -0
  55. data/proto_docs/google/cloud/talent/v4/event_service.rb +42 -0
  56. data/proto_docs/google/cloud/talent/v4/filters.rb +360 -0
  57. data/proto_docs/google/cloud/talent/v4/histogram.rb +72 -0
  58. data/proto_docs/google/cloud/talent/v4/job.rb +378 -0
  59. data/proto_docs/google/cloud/talent/v4/job_service.rb +737 -0
  60. data/proto_docs/google/cloud/talent/v4/tenant.rb +50 -0
  61. data/proto_docs/google/cloud/talent/v4/tenant_service.rb +121 -0
  62. data/proto_docs/google/longrunning/operations.rb +150 -0
  63. data/proto_docs/google/protobuf/any.rb +138 -0
  64. data/proto_docs/google/protobuf/duration.rb +98 -0
  65. data/proto_docs/google/protobuf/empty.rb +36 -0
  66. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  67. data/proto_docs/google/protobuf/timestamp.rb +120 -0
  68. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  69. data/proto_docs/google/rpc/status.rb +46 -0
  70. data/proto_docs/google/type/latlng.rb +38 -0
  71. data/proto_docs/google/type/money.rb +43 -0
  72. data/proto_docs/google/type/postal_address.rb +135 -0
  73. data/proto_docs/google/type/timeofday.rb +44 -0
  74. metadata +258 -0
@@ -0,0 +1,117 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Talent
23
+ module V4
24
+ # A Company resource represents a company in the service. A company is the
25
+ # entity that owns job postings, that is, the hiring entity responsible for
26
+ # employing applicants for the job position.
27
+ # @!attribute [rw] name
28
+ # @return [::String]
29
+ # Required during company update.
30
+ #
31
+ # The resource name for a company. This is generated by the service when a
32
+ # company is created.
33
+ #
34
+ # The format is
35
+ # "projects/\\{project_id}/tenants/\\{tenant_id}/companies/\\{company_id}", for
36
+ # example, "projects/foo/tenants/bar/companies/baz".
37
+ # @!attribute [rw] display_name
38
+ # @return [::String]
39
+ # Required. The display name of the company, for example, "Google LLC".
40
+ # @!attribute [rw] external_id
41
+ # @return [::String]
42
+ # Required. Client side company identifier, used to uniquely identify the
43
+ # company.
44
+ #
45
+ # The maximum number of allowed characters is 255.
46
+ # @!attribute [rw] size
47
+ # @return [::Google::Cloud::Talent::V4::CompanySize]
48
+ # The employer's company size.
49
+ # @!attribute [rw] headquarters_address
50
+ # @return [::String]
51
+ # The street address of the company's main headquarters, which may be
52
+ # different from the job location. The service attempts
53
+ # to geolocate the provided address, and populates a more specific
54
+ # location wherever possible in
55
+ # {::Google::Cloud::Talent::V4::Company::DerivedInfo#headquarters_location DerivedInfo.headquarters_location}.
56
+ # @!attribute [rw] hiring_agency
57
+ # @return [::Boolean]
58
+ # Set to true if it is the hiring agency that post jobs for other
59
+ # employers.
60
+ #
61
+ # Defaults to false if not provided.
62
+ # @!attribute [rw] eeo_text
63
+ # @return [::String]
64
+ # Equal Employment Opportunity legal disclaimer text to be
65
+ # associated with all jobs, and typically to be displayed in all
66
+ # roles.
67
+ #
68
+ # The maximum number of allowed characters is 500.
69
+ # @!attribute [rw] website_uri
70
+ # @return [::String]
71
+ # The URI representing the company's primary web site or home page,
72
+ # for example, "https://www.google.com".
73
+ #
74
+ # The maximum number of allowed characters is 255.
75
+ # @!attribute [rw] career_site_uri
76
+ # @return [::String]
77
+ # The URI to employer's career site or careers page on the employer's web
78
+ # site, for example, "https://careers.google.com".
79
+ # @!attribute [rw] image_uri
80
+ # @return [::String]
81
+ # A URI that hosts the employer's company logo.
82
+ # @!attribute [rw] keyword_searchable_job_custom_attributes
83
+ # @return [::Array<::String>]
84
+ # A list of keys of filterable
85
+ # {::Google::Cloud::Talent::V4::Job#custom_attributes Job.custom_attributes},
86
+ # whose corresponding `string_values` are used in keyword searches. Jobs with
87
+ # `string_values` under these specified field keys are returned if any
88
+ # of the values match the search keyword. Custom field values with
89
+ # parenthesis, brackets and special symbols are not searchable as-is,
90
+ # and those keyword queries must be surrounded by quotes.
91
+ # @!attribute [r] derived_info
92
+ # @return [::Google::Cloud::Talent::V4::Company::DerivedInfo]
93
+ # Output only. Derived details about the company.
94
+ # @!attribute [r] suspended
95
+ # @return [::Boolean]
96
+ # Output only. Indicates whether a company is flagged to be suspended from
97
+ # public availability by the service when job content appears suspicious,
98
+ # abusive, or spammy.
99
+ class Company
100
+ include ::Google::Protobuf::MessageExts
101
+ extend ::Google::Protobuf::MessageExts::ClassMethods
102
+
103
+ # Derived details about the company.
104
+ # @!attribute [rw] headquarters_location
105
+ # @return [::Google::Cloud::Talent::V4::Location]
106
+ # A structured headquarters location of the company, resolved from
107
+ # {::Google::Cloud::Talent::V4::Company#headquarters_address Company.headquarters_address}
108
+ # if provided.
109
+ class DerivedInfo
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
+ end
113
+ end
114
+ end
115
+ end
116
+ end
117
+ end
@@ -0,0 +1,133 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Talent
23
+ module V4
24
+ # The Request of the CreateCompany method.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. Resource name of the tenant under which the company is created.
28
+ #
29
+ # The format is "projects/\\{project_id}/tenants/\\{tenant_id}", for example,
30
+ # "projects/foo/tenants/bar".
31
+ # @!attribute [rw] company
32
+ # @return [::Google::Cloud::Talent::V4::Company]
33
+ # Required. The company to be created.
34
+ class CreateCompanyRequest
35
+ include ::Google::Protobuf::MessageExts
36
+ extend ::Google::Protobuf::MessageExts::ClassMethods
37
+ end
38
+
39
+ # Request for getting a company by name.
40
+ # @!attribute [rw] name
41
+ # @return [::String]
42
+ # Required. The resource name of the company to be retrieved.
43
+ #
44
+ # The format is
45
+ # "projects/\\{project_id}/tenants/\\{tenant_id}/companies/\\{company_id}", for
46
+ # example, "projects/api-test-project/tenants/foo/companies/bar".
47
+ class GetCompanyRequest
48
+ include ::Google::Protobuf::MessageExts
49
+ extend ::Google::Protobuf::MessageExts::ClassMethods
50
+ end
51
+
52
+ # Request for updating a specified company.
53
+ # @!attribute [rw] company
54
+ # @return [::Google::Cloud::Talent::V4::Company]
55
+ # Required. The company resource to replace the current resource in the
56
+ # system.
57
+ # @!attribute [rw] update_mask
58
+ # @return [::Google::Protobuf::FieldMask]
59
+ # Strongly recommended for the best service experience.
60
+ #
61
+ # If {::Google::Cloud::Talent::V4::UpdateCompanyRequest#update_mask update_mask}
62
+ # is provided, only the specified fields in
63
+ # {::Google::Cloud::Talent::V4::UpdateCompanyRequest#company company} are updated.
64
+ # Otherwise all the fields are updated.
65
+ #
66
+ # A field mask to specify the company fields to be updated. Only
67
+ # top level fields of {::Google::Cloud::Talent::V4::Company Company} are
68
+ # supported.
69
+ class UpdateCompanyRequest
70
+ include ::Google::Protobuf::MessageExts
71
+ extend ::Google::Protobuf::MessageExts::ClassMethods
72
+ end
73
+
74
+ # Request to delete a company.
75
+ # @!attribute [rw] name
76
+ # @return [::String]
77
+ # Required. The resource name of the company to be deleted.
78
+ #
79
+ # The format is
80
+ # "projects/\\{project_id}/tenants/\\{tenant_id}/companies/\\{company_id}", for
81
+ # example, "projects/foo/tenants/bar/companies/baz".
82
+ class DeleteCompanyRequest
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+
87
+ # List companies for which the client has ACL visibility.
88
+ # @!attribute [rw] parent
89
+ # @return [::String]
90
+ # Required. Resource name of the tenant under which the company is created.
91
+ #
92
+ # The format is "projects/\\{project_id}/tenants/\\{tenant_id}", for example,
93
+ # "projects/foo/tenants/bar".
94
+ # @!attribute [rw] page_token
95
+ # @return [::String]
96
+ # The starting indicator from which to return results.
97
+ # @!attribute [rw] page_size
98
+ # @return [::Integer]
99
+ # The maximum number of companies to be returned, at most 100.
100
+ # Default is 100 if a non-positive number is provided.
101
+ # @!attribute [rw] require_open_jobs
102
+ # @return [::Boolean]
103
+ # Set to true if the companies requested must have open jobs.
104
+ #
105
+ # Defaults to false.
106
+ #
107
+ # If true, at most
108
+ # {::Google::Cloud::Talent::V4::ListCompaniesRequest#page_size page_size} of
109
+ # companies are fetched, among which only those with open jobs are returned.
110
+ class ListCompaniesRequest
111
+ include ::Google::Protobuf::MessageExts
112
+ extend ::Google::Protobuf::MessageExts::ClassMethods
113
+ end
114
+
115
+ # The List companies response object.
116
+ # @!attribute [rw] companies
117
+ # @return [::Array<::Google::Cloud::Talent::V4::Company>]
118
+ # Companies for the current client.
119
+ # @!attribute [rw] next_page_token
120
+ # @return [::String]
121
+ # A token to retrieve the next page of results.
122
+ # @!attribute [rw] metadata
123
+ # @return [::Google::Cloud::Talent::V4::ResponseMetadata]
124
+ # Additional information for the API invocation, such as the request
125
+ # tracking id.
126
+ class ListCompaniesResponse
127
+ include ::Google::Protobuf::MessageExts
128
+ extend ::Google::Protobuf::MessageExts::ClassMethods
129
+ end
130
+ end
131
+ end
132
+ end
133
+ end
@@ -0,0 +1,148 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Talent
23
+ module V4
24
+ # Auto-complete parameters.
25
+ # @!attribute [rw] tenant
26
+ # @return [::String]
27
+ # Required. Resource name of tenant the completion is performed within.
28
+ #
29
+ # The format is "projects/\\{project_id}/tenants/\\{tenant_id}", for example,
30
+ # "projects/foo/tenants/bar".
31
+ # @!attribute [rw] query
32
+ # @return [::String]
33
+ # Required. The query used to generate suggestions.
34
+ #
35
+ # The maximum number of allowed characters is 255.
36
+ # @!attribute [rw] language_codes
37
+ # @return [::Array<::String>]
38
+ # The list of languages of the query. This is
39
+ # the BCP-47 language code, such as "en-US" or "sr-Latn".
40
+ # For more information, see
41
+ # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
42
+ #
43
+ # The maximum number of allowed characters is 255.
44
+ # @!attribute [rw] page_size
45
+ # @return [::Integer]
46
+ # Required. Completion result count.
47
+ #
48
+ # The maximum allowed page size is 10.
49
+ # @!attribute [rw] company
50
+ # @return [::String]
51
+ # If provided, restricts completion to specified company.
52
+ #
53
+ # The format is
54
+ # "projects/\\{project_id}/tenants/\\{tenant_id}/companies/\\{company_id}", for
55
+ # example, "projects/foo/tenants/bar/companies/baz".
56
+ # @!attribute [rw] scope
57
+ # @return [::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionScope]
58
+ # The scope of the completion. The defaults is
59
+ # {::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionScope::PUBLIC CompletionScope.PUBLIC}.
60
+ # @!attribute [rw] type
61
+ # @return [::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionType]
62
+ # The completion topic. The default is
63
+ # {::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionType::COMBINED CompletionType.COMBINED}.
64
+ class CompleteQueryRequest
65
+ include ::Google::Protobuf::MessageExts
66
+ extend ::Google::Protobuf::MessageExts::ClassMethods
67
+
68
+ # Enum to specify the scope of completion.
69
+ module CompletionScope
70
+ # Default value.
71
+ COMPLETION_SCOPE_UNSPECIFIED = 0
72
+
73
+ # Suggestions are based only on the data provided by the client.
74
+ TENANT = 1
75
+
76
+ # Suggestions are based on all jobs data in the system that's visible to
77
+ # the client
78
+ PUBLIC = 2
79
+ end
80
+
81
+ # Enum to specify auto-completion topics.
82
+ module CompletionType
83
+ # Default value.
84
+ COMPLETION_TYPE_UNSPECIFIED = 0
85
+
86
+ # Suggest job titles for jobs autocomplete.
87
+ #
88
+ # For
89
+ # {::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionType::JOB_TITLE CompletionType.JOB_TITLE}
90
+ # type, only open jobs with the same
91
+ # {::Google::Cloud::Talent::V4::CompleteQueryRequest#language_codes language_codes}
92
+ # are returned.
93
+ JOB_TITLE = 1
94
+
95
+ # Suggest company names for jobs autocomplete.
96
+ #
97
+ # For
98
+ # {::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionType::COMPANY_NAME CompletionType.COMPANY_NAME}
99
+ # type, only companies having open jobs with the same
100
+ # {::Google::Cloud::Talent::V4::CompleteQueryRequest#language_codes language_codes}
101
+ # are returned.
102
+ COMPANY_NAME = 2
103
+
104
+ # Suggest both job titles and company names for jobs autocomplete.
105
+ #
106
+ # For
107
+ # {::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionType::COMBINED CompletionType.COMBINED}
108
+ # type, only open jobs with the same
109
+ # {::Google::Cloud::Talent::V4::CompleteQueryRequest#language_codes language_codes}
110
+ # or companies having open jobs with the same
111
+ # {::Google::Cloud::Talent::V4::CompleteQueryRequest#language_codes language_codes}
112
+ # are returned.
113
+ COMBINED = 3
114
+ end
115
+ end
116
+
117
+ # Response of auto-complete query.
118
+ # @!attribute [rw] completion_results
119
+ # @return [::Array<::Google::Cloud::Talent::V4::CompleteQueryResponse::CompletionResult>]
120
+ # Results of the matching job/company candidates.
121
+ # @!attribute [rw] metadata
122
+ # @return [::Google::Cloud::Talent::V4::ResponseMetadata]
123
+ # Additional information for the API invocation, such as the request
124
+ # tracking id.
125
+ class CompleteQueryResponse
126
+ include ::Google::Protobuf::MessageExts
127
+ extend ::Google::Protobuf::MessageExts::ClassMethods
128
+
129
+ # Resource that represents completion results.
130
+ # @!attribute [rw] suggestion
131
+ # @return [::String]
132
+ # The suggestion for the query.
133
+ # @!attribute [rw] type
134
+ # @return [::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionType]
135
+ # The completion topic.
136
+ # @!attribute [rw] image_uri
137
+ # @return [::String]
138
+ # The URI of the company image for
139
+ # {::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionType::COMPANY_NAME COMPANY_NAME}.
140
+ class CompletionResult
141
+ include ::Google::Protobuf::MessageExts
142
+ extend ::Google::Protobuf::MessageExts::ClassMethods
143
+ end
144
+ end
145
+ end
146
+ end
147
+ end
148
+ end
@@ -0,0 +1,179 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Talent
23
+ module V4
24
+ # An event issued when an end user interacts with the application that
25
+ # implements Cloud Talent Solution. Providing this information improves the
26
+ # quality of results for the API clients, enabling the
27
+ # service to perform optimally. The number of events sent must be consistent
28
+ # with other calls, such as job searches, issued to the service by the client.
29
+ # @!attribute [rw] request_id
30
+ # @return [::String]
31
+ # Strongly recommended for the best service experience.
32
+ #
33
+ # A unique ID generated in the API responses. It can be found in
34
+ # {::Google::Cloud::Talent::V4::ResponseMetadata#request_id ResponseMetadata.request_id}.
35
+ # @!attribute [rw] event_id
36
+ # @return [::String]
37
+ # Required. A unique identifier, generated by the client application.
38
+ # @!attribute [rw] create_time
39
+ # @return [::Google::Protobuf::Timestamp]
40
+ # Required. The timestamp of the event.
41
+ # @!attribute [rw] job_event
42
+ # @return [::Google::Cloud::Talent::V4::JobEvent]
43
+ # An event issued when a job seeker interacts with the application that
44
+ # implements Cloud Talent Solution.
45
+ # @!attribute [rw] event_notes
46
+ # @return [::String]
47
+ # Notes about the event provided by recruiters or other users, for example,
48
+ # feedback on why a job was bookmarked.
49
+ class ClientEvent
50
+ include ::Google::Protobuf::MessageExts
51
+ extend ::Google::Protobuf::MessageExts::ClassMethods
52
+ end
53
+
54
+ # An event issued when a job seeker interacts with the application that
55
+ # implements Cloud Talent Solution.
56
+ # @!attribute [rw] type
57
+ # @return [::Google::Cloud::Talent::V4::JobEvent::JobEventType]
58
+ # Required. The type of the event (see
59
+ # {::Google::Cloud::Talent::V4::JobEvent::JobEventType JobEventType}).
60
+ # @!attribute [rw] jobs
61
+ # @return [::Array<::String>]
62
+ # Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated
63
+ # with this event. For example, if this is an
64
+ # {::Google::Cloud::Talent::V4::JobEvent::JobEventType::IMPRESSION impression}
65
+ # event, this field contains the identifiers of all jobs shown to the job
66
+ # seeker. If this was a
67
+ # {::Google::Cloud::Talent::V4::JobEvent::JobEventType::VIEW view} event, this field
68
+ # contains the identifier of the viewed job.
69
+ #
70
+ # The format is
71
+ # "projects/\\{project_id}/tenants/\\{tenant_id}/jobs/\\{job_id}", for
72
+ # example, "projects/foo/tenants/bar/jobs/baz".
73
+ class JobEvent
74
+ include ::Google::Protobuf::MessageExts
75
+ extend ::Google::Protobuf::MessageExts::ClassMethods
76
+
77
+ # An enumeration of an event attributed to the behavior of the end user,
78
+ # such as a job seeker.
79
+ module JobEventType
80
+ # The event is unspecified by other provided values.
81
+ JOB_EVENT_TYPE_UNSPECIFIED = 0
82
+
83
+ # The job seeker or other entity interacting with the service has
84
+ # had a job rendered in their view, such as in a list of search results in
85
+ # a compressed or clipped format. This event is typically associated with
86
+ # the viewing of a jobs list on a single page by a job seeker.
87
+ IMPRESSION = 1
88
+
89
+ # The job seeker, or other entity interacting with the service, has
90
+ # viewed the details of a job, including the full description. This
91
+ # event doesn't apply to the viewing a snippet of a job appearing as a
92
+ # part of the job search results. Viewing a snippet is associated with an
93
+ # {::Google::Cloud::Talent::V4::JobEvent::JobEventType::IMPRESSION impression}).
94
+ VIEW = 2
95
+
96
+ # The job seeker or other entity interacting with the service
97
+ # performed an action to view a job and was redirected to a different
98
+ # website for job.
99
+ VIEW_REDIRECT = 3
100
+
101
+ # The job seeker or other entity interacting with the service
102
+ # began the process or demonstrated the intention of applying for a job.
103
+ APPLICATION_START = 4
104
+
105
+ # The job seeker or other entity interacting with the service
106
+ # submitted an application for a job.
107
+ APPLICATION_FINISH = 5
108
+
109
+ # The job seeker or other entity interacting with the service
110
+ # submitted an application for a job with a single click without
111
+ # entering information. If a job seeker performs this action, send only
112
+ # this event to the service. Do not also send
113
+ # {::Google::Cloud::Talent::V4::JobEvent::JobEventType::APPLICATION_START JobEventType.APPLICATION_START}
114
+ # or
115
+ # {::Google::Cloud::Talent::V4::JobEvent::JobEventType::APPLICATION_FINISH JobEventType.APPLICATION_FINISH}
116
+ # events.
117
+ APPLICATION_QUICK_SUBMISSION = 6
118
+
119
+ # The job seeker or other entity interacting with the service
120
+ # performed an action to apply to a job and was redirected to a different
121
+ # website to complete the application.
122
+ APPLICATION_REDIRECT = 7
123
+
124
+ # The job seeker or other entity interacting with the service began the
125
+ # process or demonstrated the intention of applying for a job from the
126
+ # search results page without viewing the details of the job posting.
127
+ # If sending this event, JobEventType.VIEW event shouldn't be sent.
128
+ APPLICATION_START_FROM_SEARCH = 8
129
+
130
+ # The job seeker, or other entity interacting with the service, performs an
131
+ # action with a single click from the search results page to apply to a job
132
+ # (without viewing the details of the job posting), and is redirected
133
+ # to a different website to complete the application. If a candidate
134
+ # performs this action, send only this event to the service. Do not also
135
+ # send
136
+ # {::Google::Cloud::Talent::V4::JobEvent::JobEventType::APPLICATION_START JobEventType.APPLICATION_START},
137
+ # {::Google::Cloud::Talent::V4::JobEvent::JobEventType::APPLICATION_FINISH JobEventType.APPLICATION_FINISH}
138
+ # or {::Google::Cloud::Talent::V4::JobEvent::JobEventType::VIEW JobEventType.VIEW}
139
+ # events.
140
+ APPLICATION_REDIRECT_FROM_SEARCH = 9
141
+
142
+ # This event should be used when a company submits an application
143
+ # on behalf of a job seeker. This event is intended for use by staffing
144
+ # agencies attempting to place candidates.
145
+ APPLICATION_COMPANY_SUBMIT = 10
146
+
147
+ # The job seeker or other entity interacting with the service demonstrated
148
+ # an interest in a job by bookmarking or saving it.
149
+ BOOKMARK = 11
150
+
151
+ # The job seeker or other entity interacting with the service was
152
+ # sent a notification, such as an email alert or device notification,
153
+ # containing one or more jobs listings generated by the service.
154
+ NOTIFICATION = 12
155
+
156
+ # The job seeker or other entity interacting with the service was
157
+ # employed by the hiring entity (employer). Send this event
158
+ # only if the job seeker was hired through an application that was
159
+ # initiated by a search conducted through the Cloud Talent Solution
160
+ # service.
161
+ HIRED = 13
162
+
163
+ # A recruiter or staffing agency submitted an application on behalf of the
164
+ # candidate after interacting with the service to identify a suitable job
165
+ # posting.
166
+ SENT_CV = 14
167
+
168
+ # The entity interacting with the service (for example, the job seeker),
169
+ # was granted an initial interview by the hiring entity (employer). This
170
+ # event should only be sent if the job seeker was granted an interview as
171
+ # part of an application that was initiated by a search conducted through /
172
+ # recommendation provided by the Cloud Talent Solution service.
173
+ INTERVIEW_GRANTED = 15
174
+ end
175
+ end
176
+ end
177
+ end
178
+ end
179
+ end