google-cloud-talent-v4beta1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +71 -0
- data/lib/google-cloud-talent-v4beta1.rb +21 -0
- data/lib/google/cloud/common_resources_pb.rb +15 -0
- data/lib/google/cloud/talent/v4beta1.rb +41 -0
- data/lib/google/cloud/talent/v4beta1/application_pb.rb +64 -0
- data/lib/google/cloud/talent/v4beta1/application_service.rb +50 -0
- data/lib/google/cloud/talent/v4beta1/application_service/client.rb +717 -0
- data/lib/google/cloud/talent/v4beta1/application_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +155 -0
- data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +56 -0
- data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +54 -0
- data/lib/google/cloud/talent/v4beta1/batch_pb.rb +19 -0
- data/lib/google/cloud/talent/v4beta1/common_pb.rb +342 -0
- data/lib/google/cloud/talent/v4beta1/company_pb.rb +42 -0
- data/lib/google/cloud/talent/v4beta1/company_service.rb +49 -0
- data/lib/google/cloud/talent/v4beta1/company_service/client.rb +732 -0
- data/lib/google/cloud/talent/v4beta1/company_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/company_service/paths.rb +105 -0
- data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +57 -0
- data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +54 -0
- data/lib/google/cloud/talent/v4beta1/completion.rb +49 -0
- data/lib/google/cloud/talent/v4beta1/completion/client.rb +407 -0
- data/lib/google/cloud/talent/v4beta1/completion/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/completion/paths.rb +105 -0
- data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +57 -0
- data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +46 -0
- data/lib/google/cloud/talent/v4beta1/event_pb.rb +70 -0
- data/lib/google/cloud/talent/v4beta1/event_service.rb +49 -0
- data/lib/google/cloud/talent/v4beta1/event_service/client.rb +379 -0
- data/lib/google/cloud/talent/v4beta1/event_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/event_service/paths.rb +64 -0
- data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +28 -0
- data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +51 -0
- data/lib/google/cloud/talent/v4beta1/filters_pb.rb +188 -0
- data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +28 -0
- data/lib/google/cloud/talent/v4beta1/job_pb.rb +73 -0
- data/lib/google/cloud/talent/v4beta1/job_service.rb +50 -0
- data/lib/google/cloud/talent/v4beta1/job_service/client.rb +1660 -0
- data/lib/google/cloud/talent/v4beta1/job_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +564 -0
- data/lib/google/cloud/talent/v4beta1/job_service/paths.rb +146 -0
- data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +167 -0
- data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +86 -0
- data/lib/google/cloud/talent/v4beta1/profile_pb.rb +214 -0
- data/lib/google/cloud/talent/v4beta1/profile_service.rb +50 -0
- data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +992 -0
- data/lib/google/cloud/talent/v4beta1/profile_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/profile_service/paths.rb +69 -0
- data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +92 -0
- data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +63 -0
- data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +35 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service.rb +49 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +712 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service/paths.rb +64 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +56 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +53 -0
- data/lib/google/cloud/talent/v4beta1/version.rb +28 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/cloud/talent/v4beta1/application.rb +169 -0
- data/proto_docs/google/cloud/talent/v4beta1/application_service.rb +122 -0
- data/proto_docs/google/cloud/talent/v4beta1/common.rb +1106 -0
- data/proto_docs/google/cloud/talent/v4beta1/company.rb +117 -0
- data/proto_docs/google/cloud/talent/v4beta1/company_service.rb +138 -0
- data/proto_docs/google/cloud/talent/v4beta1/completion_service.rb +143 -0
- data/proto_docs/google/cloud/talent/v4beta1/event.rb +237 -0
- data/proto_docs/google/cloud/talent/v4beta1/event_service.rb +43 -0
- data/proto_docs/google/cloud/talent/v4beta1/filters.rb +818 -0
- data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +69 -0
- data/proto_docs/google/cloud/talent/v4beta1/job.rb +356 -0
- data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +746 -0
- data/proto_docs/google/cloud/talent/v4beta1/profile.rb +811 -0
- data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +392 -0
- data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +77 -0
- data/proto_docs/google/cloud/talent/v4beta1/tenant_service.rb +118 -0
- data/proto_docs/google/longrunning/operations.rb +150 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/date.rb +50 -0
- data/proto_docs/google/type/latlng.rb +38 -0
- data/proto_docs/google/type/money.rb +43 -0
- data/proto_docs/google/type/postal_address.rb +135 -0
- data/proto_docs/google/type/timeofday.rb +44 -0
- metadata +251 -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 V4beta1
|
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
|
+
#
|
38
|
+
# If tenant id is unspecified, the default tenant is used. For
|
39
|
+
# example, "projects/foo/companies/bar".
|
40
|
+
# @!attribute [rw] display_name
|
41
|
+
# @return [String]
|
42
|
+
# Required. The display name of the company, for example, "Google LLC".
|
43
|
+
# @!attribute [rw] external_id
|
44
|
+
# @return [String]
|
45
|
+
# Required. Client side company identifier, used to uniquely identify the
|
46
|
+
# company.
|
47
|
+
#
|
48
|
+
# The maximum number of allowed characters is 255.
|
49
|
+
# @!attribute [rw] size
|
50
|
+
# @return [Google::Cloud::Talent::V4beta1::CompanySize]
|
51
|
+
# The employer's company size.
|
52
|
+
# @!attribute [rw] headquarters_address
|
53
|
+
# @return [String]
|
54
|
+
# The street address of the company's main headquarters, which may be
|
55
|
+
# different from the job location. The service attempts
|
56
|
+
# to geolocate the provided address, and populates a more specific
|
57
|
+
# location wherever possible in {Google::Cloud::Talent::V4beta1::Company::DerivedInfo#headquarters_location DerivedInfo.headquarters_location}.
|
58
|
+
# @!attribute [rw] hiring_agency
|
59
|
+
# @return [Boolean]
|
60
|
+
# Set to true if it is the hiring agency that post jobs for other
|
61
|
+
# employers.
|
62
|
+
#
|
63
|
+
# Defaults to false if not provided.
|
64
|
+
# @!attribute [rw] eeo_text
|
65
|
+
# @return [String]
|
66
|
+
# Equal Employment Opportunity legal disclaimer text to be
|
67
|
+
# associated with all jobs, and typically to be displayed in all
|
68
|
+
# roles.
|
69
|
+
#
|
70
|
+
# The maximum number of allowed characters is 500.
|
71
|
+
# @!attribute [rw] website_uri
|
72
|
+
# @return [String]
|
73
|
+
# The URI representing the company's primary web site or home page,
|
74
|
+
# for example, "https://www.google.com".
|
75
|
+
#
|
76
|
+
# The maximum number of allowed characters is 255.
|
77
|
+
# @!attribute [rw] career_site_uri
|
78
|
+
# @return [String]
|
79
|
+
# The URI to employer's career site or careers page on the employer's web
|
80
|
+
# site, for example, "https://careers.google.com".
|
81
|
+
# @!attribute [rw] image_uri
|
82
|
+
# @return [String]
|
83
|
+
# A URI that hosts the employer's company logo.
|
84
|
+
# @!attribute [rw] keyword_searchable_job_custom_attributes
|
85
|
+
# @return [Array<String>]
|
86
|
+
# A list of keys of filterable {Google::Cloud::Talent::V4beta1::Job#custom_attributes Job.custom_attributes}, whose
|
87
|
+
# corresponding `string_values` are used in keyword searches. Jobs with
|
88
|
+
# `string_values` under these specified field keys are returned if any
|
89
|
+
# of the values match the search keyword. Custom field values with
|
90
|
+
# parenthesis, brackets and special symbols are not searchable as-is,
|
91
|
+
# and those keyword queries must be surrounded by quotes.
|
92
|
+
# @!attribute [r] derived_info
|
93
|
+
# @return [Google::Cloud::Talent::V4beta1::Company::DerivedInfo]
|
94
|
+
# Output only. Derived details about the company.
|
95
|
+
# @!attribute [r] suspended
|
96
|
+
# @return [Boolean]
|
97
|
+
# Output only. Indicates whether a company is flagged to be suspended from
|
98
|
+
# public availability by the service when job content appears suspicious,
|
99
|
+
# abusive, or spammy.
|
100
|
+
class Company
|
101
|
+
include Google::Protobuf::MessageExts
|
102
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
103
|
+
|
104
|
+
# Derived details about the company.
|
105
|
+
# @!attribute [rw] headquarters_location
|
106
|
+
# @return [Google::Cloud::Talent::V4beta1::Location]
|
107
|
+
# A structured headquarters location of the company, resolved from
|
108
|
+
# {Google::Cloud::Talent::V4beta1::Company#headquarters_address Company.headquarters_address} 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,138 @@
|
|
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 V4beta1
|
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/tenant/bar". If tenant id is unspecified, a default tenant
|
31
|
+
# is created, for example, "projects/foo".
|
32
|
+
# @!attribute [rw] company
|
33
|
+
# @return [Google::Cloud::Talent::V4beta1::Company]
|
34
|
+
# Required. The company to be created.
|
35
|
+
class CreateCompanyRequest
|
36
|
+
include Google::Protobuf::MessageExts
|
37
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
end
|
39
|
+
|
40
|
+
# Request for getting a company by name.
|
41
|
+
# @!attribute [rw] name
|
42
|
+
# @return [String]
|
43
|
+
# Required. The resource name of the company to be retrieved.
|
44
|
+
#
|
45
|
+
# The format is
|
46
|
+
# "projects/\\{project_id}/tenants/\\{tenant_id}/companies/\\{company_id}", for
|
47
|
+
# example, "projects/api-test-project/tenants/foo/companies/bar".
|
48
|
+
#
|
49
|
+
# If tenant id is unspecified, the default tenant is used, for
|
50
|
+
# example, "projects/api-test-project/companies/bar".
|
51
|
+
class GetCompanyRequest
|
52
|
+
include Google::Protobuf::MessageExts
|
53
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
54
|
+
end
|
55
|
+
|
56
|
+
# Request for updating a specified company.
|
57
|
+
# @!attribute [rw] company
|
58
|
+
# @return [Google::Cloud::Talent::V4beta1::Company]
|
59
|
+
# Required. The company resource to replace the current resource in the system.
|
60
|
+
# @!attribute [rw] update_mask
|
61
|
+
# @return [Google::Protobuf::FieldMask]
|
62
|
+
# Strongly recommended for the best service experience.
|
63
|
+
#
|
64
|
+
# If {Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#update_mask update_mask} is provided, only the specified fields in
|
65
|
+
# {Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#company company} are updated. Otherwise all the fields are updated.
|
66
|
+
#
|
67
|
+
# A field mask to specify the company fields to be updated. Only
|
68
|
+
# top level fields of {Google::Cloud::Talent::V4beta1::Company Company} are 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
|
+
#
|
83
|
+
# If tenant id is unspecified, the default tenant is used, for
|
84
|
+
# example, "projects/foo/companies/bar".
|
85
|
+
class DeleteCompanyRequest
|
86
|
+
include Google::Protobuf::MessageExts
|
87
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
88
|
+
end
|
89
|
+
|
90
|
+
# List companies for which the client has ACL visibility.
|
91
|
+
# @!attribute [rw] parent
|
92
|
+
# @return [String]
|
93
|
+
# Required. Resource name of the tenant under which the company is created.
|
94
|
+
#
|
95
|
+
# The format is "projects/\\{project_id}/tenants/\\{tenant_id}", for example,
|
96
|
+
# "projects/foo/tenant/bar".
|
97
|
+
#
|
98
|
+
# If tenant id is unspecified, the default tenant will be used, for
|
99
|
+
# example, "projects/foo".
|
100
|
+
# @!attribute [rw] page_token
|
101
|
+
# @return [String]
|
102
|
+
# The starting indicator from which to return results.
|
103
|
+
# @!attribute [rw] page_size
|
104
|
+
# @return [Integer]
|
105
|
+
# The maximum number of companies to be returned, at most 100.
|
106
|
+
# Default is 100 if a non-positive number is provided.
|
107
|
+
# @!attribute [rw] require_open_jobs
|
108
|
+
# @return [Boolean]
|
109
|
+
# Set to true if the companies requested must have open jobs.
|
110
|
+
#
|
111
|
+
# Defaults to false.
|
112
|
+
#
|
113
|
+
# If true, at most {Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size page_size} of companies are fetched, among which
|
114
|
+
# only those with open jobs are returned.
|
115
|
+
class ListCompaniesRequest
|
116
|
+
include Google::Protobuf::MessageExts
|
117
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
118
|
+
end
|
119
|
+
|
120
|
+
# The List companies response object.
|
121
|
+
# @!attribute [rw] companies
|
122
|
+
# @return [Array<Google::Cloud::Talent::V4beta1::Company>]
|
123
|
+
# Companies for the current client.
|
124
|
+
# @!attribute [rw] next_page_token
|
125
|
+
# @return [String]
|
126
|
+
# A token to retrieve the next page of results.
|
127
|
+
# @!attribute [rw] metadata
|
128
|
+
# @return [Google::Cloud::Talent::V4beta1::ResponseMetadata]
|
129
|
+
# Additional information for the API invocation, such as the request
|
130
|
+
# tracking id.
|
131
|
+
class ListCompaniesResponse
|
132
|
+
include Google::Protobuf::MessageExts
|
133
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
@@ -0,0 +1,143 @@
|
|
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 V4beta1
|
24
|
+
# Auto-complete parameters.
|
25
|
+
# @!attribute [rw] parent
|
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/tenant/bar".
|
31
|
+
#
|
32
|
+
# If tenant id is unspecified, the default tenant is used, for
|
33
|
+
# example, "projects/foo".
|
34
|
+
# @!attribute [rw] query
|
35
|
+
# @return [String]
|
36
|
+
# Required. The query used to generate suggestions.
|
37
|
+
#
|
38
|
+
# The maximum number of allowed characters is 255.
|
39
|
+
# @!attribute [rw] language_codes
|
40
|
+
# @return [Array<String>]
|
41
|
+
# The list of languages of the query. This is
|
42
|
+
# the BCP-47 language code, such as "en-US" or "sr-Latn".
|
43
|
+
# For more information, see
|
44
|
+
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
|
45
|
+
#
|
46
|
+
# The maximum number of allowed characters is 255.
|
47
|
+
# @!attribute [rw] page_size
|
48
|
+
# @return [Integer]
|
49
|
+
# Required. Completion result count.
|
50
|
+
#
|
51
|
+
# The maximum allowed page size is 10.
|
52
|
+
# @!attribute [rw] company
|
53
|
+
# @return [String]
|
54
|
+
# If provided, restricts completion to specified company.
|
55
|
+
#
|
56
|
+
# The format is
|
57
|
+
# "projects/\\{project_id}/tenants/\\{tenant_id}/companies/\\{company_id}", for
|
58
|
+
# example, "projects/foo/tenants/bar/companies/baz".
|
59
|
+
#
|
60
|
+
# If tenant id is unspecified, the default tenant is used, for
|
61
|
+
# example, "projects/foo".
|
62
|
+
# @!attribute [rw] scope
|
63
|
+
# @return [Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionScope]
|
64
|
+
# The scope of the completion. The defaults is {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionScope::PUBLIC CompletionScope.PUBLIC}.
|
65
|
+
# @!attribute [rw] type
|
66
|
+
# @return [Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType]
|
67
|
+
# The completion topic. The default is {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType.COMBINED}.
|
68
|
+
class CompleteQueryRequest
|
69
|
+
include Google::Protobuf::MessageExts
|
70
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
71
|
+
|
72
|
+
# Enum to specify the scope of completion.
|
73
|
+
module CompletionScope
|
74
|
+
# Default value.
|
75
|
+
COMPLETION_SCOPE_UNSPECIFIED = 0
|
76
|
+
|
77
|
+
# Suggestions are based only on the data provided by the client.
|
78
|
+
TENANT = 1
|
79
|
+
|
80
|
+
# Suggestions are based on all jobs data in the system that's visible to
|
81
|
+
# the client
|
82
|
+
PUBLIC = 2
|
83
|
+
end
|
84
|
+
|
85
|
+
# Enum to specify auto-completion topics.
|
86
|
+
module CompletionType
|
87
|
+
# Default value.
|
88
|
+
COMPLETION_TYPE_UNSPECIFIED = 0
|
89
|
+
|
90
|
+
# Suggest job titles for jobs autocomplete.
|
91
|
+
#
|
92
|
+
# For {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::JOB_TITLE CompletionType.JOB_TITLE} type, only open jobs with the same
|
93
|
+
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} are returned.
|
94
|
+
JOB_TITLE = 1
|
95
|
+
|
96
|
+
# Suggest company names for jobs autocomplete.
|
97
|
+
#
|
98
|
+
# For {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMPANY_NAME CompletionType.COMPANY_NAME} type,
|
99
|
+
# only companies having open jobs with the same {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} are
|
100
|
+
# returned.
|
101
|
+
COMPANY_NAME = 2
|
102
|
+
|
103
|
+
# Suggest both job titles and company names for jobs autocomplete.
|
104
|
+
#
|
105
|
+
# For {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType.COMBINED} type, only open jobs with the same
|
106
|
+
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} or companies having open jobs with the same
|
107
|
+
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} are returned.
|
108
|
+
COMBINED = 3
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
# Response of auto-complete query.
|
113
|
+
# @!attribute [rw] completion_results
|
114
|
+
# @return [Array<Google::Cloud::Talent::V4beta1::CompleteQueryResponse::CompletionResult>]
|
115
|
+
# Results of the matching job/company candidates.
|
116
|
+
# @!attribute [rw] metadata
|
117
|
+
# @return [Google::Cloud::Talent::V4beta1::ResponseMetadata]
|
118
|
+
# Additional information for the API invocation, such as the request
|
119
|
+
# tracking id.
|
120
|
+
class CompleteQueryResponse
|
121
|
+
include Google::Protobuf::MessageExts
|
122
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
123
|
+
|
124
|
+
# Resource that represents completion results.
|
125
|
+
# @!attribute [rw] suggestion
|
126
|
+
# @return [String]
|
127
|
+
# The suggestion for the query.
|
128
|
+
# @!attribute [rw] type
|
129
|
+
# @return [Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType]
|
130
|
+
# The completion topic.
|
131
|
+
# @!attribute [rw] image_uri
|
132
|
+
# @return [String]
|
133
|
+
# The URI of the company image for
|
134
|
+
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMPANY_NAME COMPANY_NAME}.
|
135
|
+
class CompletionResult
|
136
|
+
include Google::Protobuf::MessageExts
|
137
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
@@ -0,0 +1,237 @@
|
|
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 V4beta1
|
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::V4beta1::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::V4beta1::JobEvent]
|
43
|
+
# An event issued when a job seeker interacts with the application that
|
44
|
+
# implements Cloud Talent Solution.
|
45
|
+
# @!attribute [rw] profile_event
|
46
|
+
# @return [Google::Cloud::Talent::V4beta1::ProfileEvent]
|
47
|
+
# An event issued when a profile searcher interacts with the application
|
48
|
+
# that implements Cloud Talent Solution.
|
49
|
+
# @!attribute [rw] event_notes
|
50
|
+
# @return [String]
|
51
|
+
# Notes about the event provided by recruiters or other users, for example,
|
52
|
+
# feedback on why a profile was bookmarked.
|
53
|
+
class ClientEvent
|
54
|
+
include Google::Protobuf::MessageExts
|
55
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
56
|
+
end
|
57
|
+
|
58
|
+
# An event issued when a job seeker interacts with the application that
|
59
|
+
# implements Cloud Talent Solution.
|
60
|
+
# @!attribute [rw] type
|
61
|
+
# @return [Google::Cloud::Talent::V4beta1::JobEvent::JobEventType]
|
62
|
+
# Required. The type of the event (see {Google::Cloud::Talent::V4beta1::JobEvent::JobEventType JobEventType}).
|
63
|
+
# @!attribute [rw] jobs
|
64
|
+
# @return [Array<String>]
|
65
|
+
# Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
|
66
|
+
# For example, if this is an {Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::IMPRESSION impression} event,
|
67
|
+
# this field contains the identifiers of all jobs shown to the job seeker.
|
68
|
+
# If this was a {Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::VIEW view} event, this field contains the
|
69
|
+
# identifier of the viewed job.
|
70
|
+
#
|
71
|
+
# The format is
|
72
|
+
# "projects/\\{project_id}/tenants/\\{tenant_id}/jobs/\\{job_id}", for
|
73
|
+
# example, "projects/foo/tenants/bar/jobs/baz".
|
74
|
+
# @!attribute [rw] profile
|
75
|
+
# @return [String]
|
76
|
+
# The {Google::Cloud::Talent::V4beta1::Profile#name profile name} associated with this client event.
|
77
|
+
#
|
78
|
+
# The format is
|
79
|
+
# "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}",
|
80
|
+
# for example, "projects/foo/tenants/bar/profiles/baz".
|
81
|
+
class JobEvent
|
82
|
+
include Google::Protobuf::MessageExts
|
83
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
84
|
+
|
85
|
+
# An enumeration of an event attributed to the behavior of the end user,
|
86
|
+
# such as a job seeker.
|
87
|
+
module JobEventType
|
88
|
+
# The event is unspecified by other provided values.
|
89
|
+
JOB_EVENT_TYPE_UNSPECIFIED = 0
|
90
|
+
|
91
|
+
# The job seeker or other entity interacting with the service has
|
92
|
+
# had a job rendered in their view, such as in a list of search results in
|
93
|
+
# a compressed or clipped format. This event is typically associated with
|
94
|
+
# the viewing of a jobs list on a single page by a job seeker.
|
95
|
+
IMPRESSION = 1
|
96
|
+
|
97
|
+
# The job seeker, or other entity interacting with the service, has
|
98
|
+
# viewed the details of a job, including the full description. This
|
99
|
+
# event doesn't apply to the viewing a snippet of a job appearing as a
|
100
|
+
# part of the job search results. Viewing a snippet is associated with an
|
101
|
+
# {Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::IMPRESSION impression}).
|
102
|
+
VIEW = 2
|
103
|
+
|
104
|
+
# The job seeker or other entity interacting with the service
|
105
|
+
# performed an action to view a job and was redirected to a different
|
106
|
+
# website for job.
|
107
|
+
VIEW_REDIRECT = 3
|
108
|
+
|
109
|
+
# The job seeker or other entity interacting with the service
|
110
|
+
# began the process or demonstrated the intention of applying for a job.
|
111
|
+
APPLICATION_START = 4
|
112
|
+
|
113
|
+
# The job seeker or other entity interacting with the service
|
114
|
+
# submitted an application for a job.
|
115
|
+
APPLICATION_FINISH = 5
|
116
|
+
|
117
|
+
# The job seeker or other entity interacting with the service
|
118
|
+
# submitted an application for a job with a single click without
|
119
|
+
# entering information. If a job seeker performs this action, send only
|
120
|
+
# this event to the service. Do not also send
|
121
|
+
# {Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::APPLICATION_START JobEventType.APPLICATION_START} or {Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::APPLICATION_FINISH JobEventType.APPLICATION_FINISH}
|
122
|
+
# events.
|
123
|
+
APPLICATION_QUICK_SUBMISSION = 6
|
124
|
+
|
125
|
+
# The job seeker or other entity interacting with the service
|
126
|
+
# performed an action to apply to a job and was redirected to a different
|
127
|
+
# website to complete the application.
|
128
|
+
APPLICATION_REDIRECT = 7
|
129
|
+
|
130
|
+
# The job seeker or other entity interacting with the service began the
|
131
|
+
# process or demonstrated the intention of applying for a job from the
|
132
|
+
# search results page without viewing the details of the job posting.
|
133
|
+
# If sending this event, JobEventType.VIEW event shouldn't be sent.
|
134
|
+
APPLICATION_START_FROM_SEARCH = 8
|
135
|
+
|
136
|
+
# The job seeker, or other entity interacting with the service, performs an
|
137
|
+
# action with a single click from the search results page to apply to a job
|
138
|
+
# (without viewing the details of the job posting), and is redirected
|
139
|
+
# to a different website to complete the application. If a candidate
|
140
|
+
# performs this action, send only this event to the service. Do not also
|
141
|
+
# send {Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::APPLICATION_START JobEventType.APPLICATION_START},
|
142
|
+
# {Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::APPLICATION_FINISH JobEventType.APPLICATION_FINISH} or {Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::VIEW JobEventType.VIEW} events.
|
143
|
+
APPLICATION_REDIRECT_FROM_SEARCH = 9
|
144
|
+
|
145
|
+
# This event should be used when a company submits an application
|
146
|
+
# on behalf of a job seeker. This event is intended for use by staffing
|
147
|
+
# agencies attempting to place candidates.
|
148
|
+
APPLICATION_COMPANY_SUBMIT = 10
|
149
|
+
|
150
|
+
# The job seeker or other entity interacting with the service demonstrated
|
151
|
+
# an interest in a job by bookmarking or saving it.
|
152
|
+
BOOKMARK = 11
|
153
|
+
|
154
|
+
# The job seeker or other entity interacting with the service was
|
155
|
+
# sent a notification, such as an email alert or device notification,
|
156
|
+
# containing one or more jobs listings generated by the service.
|
157
|
+
NOTIFICATION = 12
|
158
|
+
|
159
|
+
# The job seeker or other entity interacting with the service was
|
160
|
+
# employed by the hiring entity (employer). Send this event
|
161
|
+
# only if the job seeker was hired through an application that was
|
162
|
+
# initiated by a search conducted through the Cloud Talent Solution
|
163
|
+
# service.
|
164
|
+
HIRED = 13
|
165
|
+
|
166
|
+
# A recruiter or staffing agency submitted an application on behalf of the
|
167
|
+
# candidate after interacting with the service to identify a suitable job
|
168
|
+
# posting.
|
169
|
+
SENT_CV = 14
|
170
|
+
|
171
|
+
# The entity interacting with the service (for example, the job seeker),
|
172
|
+
# was granted an initial interview by the hiring entity (employer). This
|
173
|
+
# event should only be sent if the job seeker was granted an interview as
|
174
|
+
# part of an application that was initiated by a search conducted through /
|
175
|
+
# recommendation provided by the Cloud Talent Solution service.
|
176
|
+
INTERVIEW_GRANTED = 15
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
# An event issued when a profile searcher interacts with the application
|
181
|
+
# that implements Cloud Talent Solution.
|
182
|
+
# @!attribute [rw] type
|
183
|
+
# @return [Google::Cloud::Talent::V4beta1::ProfileEvent::ProfileEventType]
|
184
|
+
# Required. Type of event.
|
185
|
+
# @!attribute [rw] profiles
|
186
|
+
# @return [Array<String>]
|
187
|
+
# Required. The [profile name(s)][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
|
188
|
+
#
|
189
|
+
# The format is
|
190
|
+
# "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}",
|
191
|
+
# for example, "projects/foo/tenants/bar/profiles/baz".
|
192
|
+
# @!attribute [rw] jobs
|
193
|
+
# @return [Array<String>]
|
194
|
+
# The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this client event. Leave it
|
195
|
+
# empty if the event isn't associated with a job.
|
196
|
+
#
|
197
|
+
# The format is
|
198
|
+
# "projects/\\{project_id}/tenants/\\{tenant_id}/jobs/\\{job_id}", for
|
199
|
+
# example, "projects/foo/tenants/bar/jobs/baz".
|
200
|
+
class ProfileEvent
|
201
|
+
include Google::Protobuf::MessageExts
|
202
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
203
|
+
|
204
|
+
# The enum represents types of client events for a candidate profile.
|
205
|
+
module ProfileEventType
|
206
|
+
# Default value.
|
207
|
+
PROFILE_EVENT_TYPE_UNSPECIFIED = 0
|
208
|
+
|
209
|
+
# Send this event when a {Google::Cloud::Talent::V4beta1::ProfileEvent#profiles ProfileEvent.profiles} was sent as a part of
|
210
|
+
# a result set for a CTS API call and was rendered in the end user's UI
|
211
|
+
# (that is, the [ProfileEvent.recruiter][google.cloud.talent.v4beta1.ProfileEvent.recruiter]).
|
212
|
+
IMPRESSION = 1
|
213
|
+
|
214
|
+
# The VIEW event records the action of a candidate's profile being
|
215
|
+
# viewed by an end user. This is critical to tracking product metrics and
|
216
|
+
# should be sent for every profile VIEW that happens in your system,
|
217
|
+
# whether the event is associated with an API call (for example, a
|
218
|
+
# recruiter making a request for a result set and clicking on a profile)
|
219
|
+
# or not (a recruiter using the system to view profile details without
|
220
|
+
# making a request).
|
221
|
+
#
|
222
|
+
# For a VIEW events associated with API calls, the
|
223
|
+
# {Google::Cloud::Talent::V4beta1::ClientEvent#request_id ClientEvent.request_id} should be populated. If the VIEW is not
|
224
|
+
# associated with an API call, {Google::Cloud::Talent::V4beta1::ClientEvent#request_id request_id} should
|
225
|
+
# not be populated.
|
226
|
+
#
|
227
|
+
# This event requires a valid recruiter and one valid ID in profiles.
|
228
|
+
VIEW = 2
|
229
|
+
|
230
|
+
# The profile is bookmarked.
|
231
|
+
BOOKMARK = 3
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
235
|
+
end
|
236
|
+
end
|
237
|
+
end
|