google-cloud-talent-v4beta1 0.1.0 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +5 -1
- data/lib/google/cloud/talent/v4beta1.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/application_service.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/application_service/client.rb +133 -128
- data/lib/google/cloud/talent/v4beta1/application_service/credentials.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +17 -17
- data/lib/google/cloud/talent/v4beta1/company_service.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/company_service/client.rb +135 -130
- data/lib/google/cloud/talent/v4beta1/company_service/credentials.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/company_service/paths.rb +8 -8
- data/lib/google/cloud/talent/v4beta1/completion.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/completion/client.rb +69 -64
- data/lib/google/cloud/talent/v4beta1/completion/credentials.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/completion/paths.rb +8 -8
- data/lib/google/cloud/talent/v4beta1/event_service.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/event_service/client.rb +62 -57
- data/lib/google/cloud/talent/v4beta1/event_service/credentials.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/event_service/paths.rb +3 -3
- data/lib/google/cloud/talent/v4beta1/job_service.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/job_service/client.rb +329 -324
- data/lib/google/cloud/talent/v4beta1/job_service/credentials.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +109 -103
- data/lib/google/cloud/talent/v4beta1/job_service/paths.rb +13 -13
- data/lib/google/cloud/talent/v4beta1/profile_service.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +185 -180
- data/lib/google/cloud/talent/v4beta1/profile_service/credentials.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/profile_service/paths.rb +5 -5
- data/lib/google/cloud/talent/v4beta1/tenant_service.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +133 -128
- data/lib/google/cloud/talent/v4beta1/tenant_service/credentials.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/tenant_service/paths.rb +3 -3
- data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/talent/v4beta1/application.rb +18 -18
- data/proto_docs/google/cloud/talent/v4beta1/application_service.rb +27 -27
- data/proto_docs/google/cloud/talent/v4beta1/common.rb +167 -167
- data/proto_docs/google/cloud/talent/v4beta1/company.rb +21 -21
- data/proto_docs/google/cloud/talent/v4beta1/company_service.rb +29 -29
- data/proto_docs/google/cloud/talent/v4beta1/completion_service.rb +28 -28
- data/proto_docs/google/cloud/talent/v4beta1/event.rb +30 -30
- data/proto_docs/google/cloud/talent/v4beta1/event_service.rb +4 -4
- data/proto_docs/google/cloud/talent/v4beta1/filters.rb +198 -198
- data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +14 -14
- data/proto_docs/google/cloud/talent/v4beta1/job.rb +83 -83
- data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +163 -163
- data/proto_docs/google/cloud/talent/v4beta1/profile.rb +202 -202
- data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +82 -82
- data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +8 -8
- data/proto_docs/google/cloud/talent/v4beta1/tenant_service.rb +27 -27
- data/proto_docs/google/longrunning/operations.rb +30 -30
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/duration.rb +4 -4
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/protobuf/wrappers.rb +27 -27
- data/proto_docs/google/rpc/status.rb +6 -6
- data/proto_docs/google/type/date.rb +6 -6
- data/proto_docs/google/type/latlng.rb +4 -4
- data/proto_docs/google/type/money.rb +5 -5
- data/proto_docs/google/type/postal_address.rb +13 -13
- data/proto_docs/google/type/timeofday.rb +7 -7
- metadata +33 -6
- data/lib/google/cloud/common_resources_pb.rb +0 -15
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# entity that owns job postings, that is, the hiring entity responsible for
|
26
26
|
# employing applicants for the job position.
|
27
27
|
# @!attribute [rw] name
|
28
|
-
# @return [String]
|
28
|
+
# @return [::String]
|
29
29
|
# Required during company update.
|
30
30
|
#
|
31
31
|
# The resource name for a company. This is generated by the service when a
|
@@ -38,77 +38,77 @@ module Google
|
|
38
38
|
# If tenant id is unspecified, the default tenant is used. For
|
39
39
|
# example, "projects/foo/companies/bar".
|
40
40
|
# @!attribute [rw] display_name
|
41
|
-
# @return [String]
|
41
|
+
# @return [::String]
|
42
42
|
# Required. The display name of the company, for example, "Google LLC".
|
43
43
|
# @!attribute [rw] external_id
|
44
|
-
# @return [String]
|
44
|
+
# @return [::String]
|
45
45
|
# Required. Client side company identifier, used to uniquely identify the
|
46
46
|
# company.
|
47
47
|
#
|
48
48
|
# The maximum number of allowed characters is 255.
|
49
49
|
# @!attribute [rw] size
|
50
|
-
# @return [Google::Cloud::Talent::V4beta1::CompanySize]
|
50
|
+
# @return [::Google::Cloud::Talent::V4beta1::CompanySize]
|
51
51
|
# The employer's company size.
|
52
52
|
# @!attribute [rw] headquarters_address
|
53
|
-
# @return [String]
|
53
|
+
# @return [::String]
|
54
54
|
# The street address of the company's main headquarters, which may be
|
55
55
|
# different from the job location. The service attempts
|
56
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}.
|
57
|
+
# location wherever possible in {::Google::Cloud::Talent::V4beta1::Company::DerivedInfo#headquarters_location DerivedInfo.headquarters_location}.
|
58
58
|
# @!attribute [rw] hiring_agency
|
59
|
-
# @return [Boolean]
|
59
|
+
# @return [::Boolean]
|
60
60
|
# Set to true if it is the hiring agency that post jobs for other
|
61
61
|
# employers.
|
62
62
|
#
|
63
63
|
# Defaults to false if not provided.
|
64
64
|
# @!attribute [rw] eeo_text
|
65
|
-
# @return [String]
|
65
|
+
# @return [::String]
|
66
66
|
# Equal Employment Opportunity legal disclaimer text to be
|
67
67
|
# associated with all jobs, and typically to be displayed in all
|
68
68
|
# roles.
|
69
69
|
#
|
70
70
|
# The maximum number of allowed characters is 500.
|
71
71
|
# @!attribute [rw] website_uri
|
72
|
-
# @return [String]
|
72
|
+
# @return [::String]
|
73
73
|
# The URI representing the company's primary web site or home page,
|
74
74
|
# for example, "https://www.google.com".
|
75
75
|
#
|
76
76
|
# The maximum number of allowed characters is 255.
|
77
77
|
# @!attribute [rw] career_site_uri
|
78
|
-
# @return [String]
|
78
|
+
# @return [::String]
|
79
79
|
# The URI to employer's career site or careers page on the employer's web
|
80
80
|
# site, for example, "https://careers.google.com".
|
81
81
|
# @!attribute [rw] image_uri
|
82
|
-
# @return [String]
|
82
|
+
# @return [::String]
|
83
83
|
# A URI that hosts the employer's company logo.
|
84
84
|
# @!attribute [rw] keyword_searchable_job_custom_attributes
|
85
|
-
# @return [Array
|
86
|
-
# A list of keys of filterable {Google::Cloud::Talent::V4beta1::Job#custom_attributes Job.custom_attributes}, whose
|
85
|
+
# @return [::Array<::String>]
|
86
|
+
# A list of keys of filterable {::Google::Cloud::Talent::V4beta1::Job#custom_attributes Job.custom_attributes}, whose
|
87
87
|
# corresponding `string_values` are used in keyword searches. Jobs with
|
88
88
|
# `string_values` under these specified field keys are returned if any
|
89
89
|
# of the values match the search keyword. Custom field values with
|
90
90
|
# parenthesis, brackets and special symbols are not searchable as-is,
|
91
91
|
# and those keyword queries must be surrounded by quotes.
|
92
92
|
# @!attribute [r] derived_info
|
93
|
-
# @return [Google::Cloud::Talent::V4beta1::Company::DerivedInfo]
|
93
|
+
# @return [::Google::Cloud::Talent::V4beta1::Company::DerivedInfo]
|
94
94
|
# Output only. Derived details about the company.
|
95
95
|
# @!attribute [r] suspended
|
96
|
-
# @return [Boolean]
|
96
|
+
# @return [::Boolean]
|
97
97
|
# Output only. Indicates whether a company is flagged to be suspended from
|
98
98
|
# public availability by the service when job content appears suspicious,
|
99
99
|
# abusive, or spammy.
|
100
100
|
class Company
|
101
|
-
include Google::Protobuf::MessageExts
|
102
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
101
|
+
include ::Google::Protobuf::MessageExts
|
102
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
103
103
|
|
104
104
|
# Derived details about the company.
|
105
105
|
# @!attribute [rw] headquarters_location
|
106
|
-
# @return [Google::Cloud::Talent::V4beta1::Location]
|
106
|
+
# @return [::Google::Cloud::Talent::V4beta1::Location]
|
107
107
|
# A structured headquarters location of the company, resolved from
|
108
|
-
# {Google::Cloud::Talent::V4beta1::Company#headquarters_address Company.headquarters_address} if provided.
|
108
|
+
# {::Google::Cloud::Talent::V4beta1::Company#headquarters_address Company.headquarters_address} if provided.
|
109
109
|
class DerivedInfo
|
110
|
-
include Google::Protobuf::MessageExts
|
111
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
110
|
+
include ::Google::Protobuf::MessageExts
|
111
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
112
112
|
end
|
113
113
|
end
|
114
114
|
end
|
@@ -23,23 +23,23 @@ module Google
|
|
23
23
|
module V4beta1
|
24
24
|
# The Request of the CreateCompany method.
|
25
25
|
# @!attribute [rw] parent
|
26
|
-
# @return [String]
|
26
|
+
# @return [::String]
|
27
27
|
# Required. Resource name of the tenant under which the company is created.
|
28
28
|
#
|
29
29
|
# The format is "projects/\\{project_id}/tenants/\\{tenant_id}", for example,
|
30
30
|
# "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
|
31
31
|
# is created, for example, "projects/foo".
|
32
32
|
# @!attribute [rw] company
|
33
|
-
# @return [Google::Cloud::Talent::V4beta1::Company]
|
33
|
+
# @return [::Google::Cloud::Talent::V4beta1::Company]
|
34
34
|
# Required. The company to be created.
|
35
35
|
class CreateCompanyRequest
|
36
|
-
include Google::Protobuf::MessageExts
|
37
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
36
|
+
include ::Google::Protobuf::MessageExts
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
38
38
|
end
|
39
39
|
|
40
40
|
# Request for getting a company by name.
|
41
41
|
# @!attribute [rw] name
|
42
|
-
# @return [String]
|
42
|
+
# @return [::String]
|
43
43
|
# Required. The resource name of the company to be retrieved.
|
44
44
|
#
|
45
45
|
# The format is
|
@@ -49,31 +49,31 @@ module Google
|
|
49
49
|
# If tenant id is unspecified, the default tenant is used, for
|
50
50
|
# example, "projects/api-test-project/companies/bar".
|
51
51
|
class GetCompanyRequest
|
52
|
-
include Google::Protobuf::MessageExts
|
53
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
52
|
+
include ::Google::Protobuf::MessageExts
|
53
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
54
54
|
end
|
55
55
|
|
56
56
|
# Request for updating a specified company.
|
57
57
|
# @!attribute [rw] company
|
58
|
-
# @return [Google::Cloud::Talent::V4beta1::Company]
|
58
|
+
# @return [::Google::Cloud::Talent::V4beta1::Company]
|
59
59
|
# Required. The company resource to replace the current resource in the system.
|
60
60
|
# @!attribute [rw] update_mask
|
61
|
-
# @return [Google::Protobuf::FieldMask]
|
61
|
+
# @return [::Google::Protobuf::FieldMask]
|
62
62
|
# Strongly recommended for the best service experience.
|
63
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.
|
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
66
|
#
|
67
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.
|
68
|
+
# top level fields of {::Google::Cloud::Talent::V4beta1::Company Company} are supported.
|
69
69
|
class UpdateCompanyRequest
|
70
|
-
include Google::Protobuf::MessageExts
|
71
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
70
|
+
include ::Google::Protobuf::MessageExts
|
71
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
72
72
|
end
|
73
73
|
|
74
74
|
# Request to delete a company.
|
75
75
|
# @!attribute [rw] name
|
76
|
-
# @return [String]
|
76
|
+
# @return [::String]
|
77
77
|
# Required. The resource name of the company to be deleted.
|
78
78
|
#
|
79
79
|
# The format is
|
@@ -83,13 +83,13 @@ module Google
|
|
83
83
|
# If tenant id is unspecified, the default tenant is used, for
|
84
84
|
# example, "projects/foo/companies/bar".
|
85
85
|
class DeleteCompanyRequest
|
86
|
-
include Google::Protobuf::MessageExts
|
87
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
86
|
+
include ::Google::Protobuf::MessageExts
|
87
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
88
88
|
end
|
89
89
|
|
90
90
|
# List companies for which the client has ACL visibility.
|
91
91
|
# @!attribute [rw] parent
|
92
|
-
# @return [String]
|
92
|
+
# @return [::String]
|
93
93
|
# Required. Resource name of the tenant under which the company is created.
|
94
94
|
#
|
95
95
|
# The format is "projects/\\{project_id}/tenants/\\{tenant_id}", for example,
|
@@ -98,39 +98,39 @@ module Google
|
|
98
98
|
# If tenant id is unspecified, the default tenant will be used, for
|
99
99
|
# example, "projects/foo".
|
100
100
|
# @!attribute [rw] page_token
|
101
|
-
# @return [String]
|
101
|
+
# @return [::String]
|
102
102
|
# The starting indicator from which to return results.
|
103
103
|
# @!attribute [rw] page_size
|
104
|
-
# @return [Integer]
|
104
|
+
# @return [::Integer]
|
105
105
|
# The maximum number of companies to be returned, at most 100.
|
106
106
|
# Default is 100 if a non-positive number is provided.
|
107
107
|
# @!attribute [rw] require_open_jobs
|
108
|
-
# @return [Boolean]
|
108
|
+
# @return [::Boolean]
|
109
109
|
# Set to true if the companies requested must have open jobs.
|
110
110
|
#
|
111
111
|
# Defaults to false.
|
112
112
|
#
|
113
|
-
# If true, at most {Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size page_size} of companies are fetched, among which
|
113
|
+
# If true, at most {::Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size page_size} of companies are fetched, among which
|
114
114
|
# only those with open jobs are returned.
|
115
115
|
class ListCompaniesRequest
|
116
|
-
include Google::Protobuf::MessageExts
|
117
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
116
|
+
include ::Google::Protobuf::MessageExts
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
118
118
|
end
|
119
119
|
|
120
120
|
# The List companies response object.
|
121
121
|
# @!attribute [rw] companies
|
122
|
-
# @return [Array
|
122
|
+
# @return [::Array<::Google::Cloud::Talent::V4beta1::Company>]
|
123
123
|
# Companies for the current client.
|
124
124
|
# @!attribute [rw] next_page_token
|
125
|
-
# @return [String]
|
125
|
+
# @return [::String]
|
126
126
|
# A token to retrieve the next page of results.
|
127
127
|
# @!attribute [rw] metadata
|
128
|
-
# @return [Google::Cloud::Talent::V4beta1::ResponseMetadata]
|
128
|
+
# @return [::Google::Cloud::Talent::V4beta1::ResponseMetadata]
|
129
129
|
# Additional information for the API invocation, such as the request
|
130
130
|
# tracking id.
|
131
131
|
class ListCompaniesResponse
|
132
|
-
include Google::Protobuf::MessageExts
|
133
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
132
|
+
include ::Google::Protobuf::MessageExts
|
133
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
134
134
|
end
|
135
135
|
end
|
136
136
|
end
|
@@ -23,7 +23,7 @@ module Google
|
|
23
23
|
module V4beta1
|
24
24
|
# Auto-complete parameters.
|
25
25
|
# @!attribute [rw] parent
|
26
|
-
# @return [String]
|
26
|
+
# @return [::String]
|
27
27
|
# Required. Resource name of tenant the completion is performed within.
|
28
28
|
#
|
29
29
|
# The format is "projects/\\{project_id}/tenants/\\{tenant_id}", for example,
|
@@ -32,12 +32,12 @@ module Google
|
|
32
32
|
# If tenant id is unspecified, the default tenant is used, for
|
33
33
|
# example, "projects/foo".
|
34
34
|
# @!attribute [rw] query
|
35
|
-
# @return [String]
|
35
|
+
# @return [::String]
|
36
36
|
# Required. The query used to generate suggestions.
|
37
37
|
#
|
38
38
|
# The maximum number of allowed characters is 255.
|
39
39
|
# @!attribute [rw] language_codes
|
40
|
-
# @return [Array
|
40
|
+
# @return [::Array<::String>]
|
41
41
|
# The list of languages of the query. This is
|
42
42
|
# the BCP-47 language code, such as "en-US" or "sr-Latn".
|
43
43
|
# For more information, see
|
@@ -45,12 +45,12 @@ module Google
|
|
45
45
|
#
|
46
46
|
# The maximum number of allowed characters is 255.
|
47
47
|
# @!attribute [rw] page_size
|
48
|
-
# @return [Integer]
|
48
|
+
# @return [::Integer]
|
49
49
|
# Required. Completion result count.
|
50
50
|
#
|
51
51
|
# The maximum allowed page size is 10.
|
52
52
|
# @!attribute [rw] company
|
53
|
-
# @return [String]
|
53
|
+
# @return [::String]
|
54
54
|
# If provided, restricts completion to specified company.
|
55
55
|
#
|
56
56
|
# The format is
|
@@ -60,14 +60,14 @@ module Google
|
|
60
60
|
# If tenant id is unspecified, the default tenant is used, for
|
61
61
|
# example, "projects/foo".
|
62
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}.
|
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
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}.
|
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
68
|
class CompleteQueryRequest
|
69
|
-
include Google::Protobuf::MessageExts
|
70
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
69
|
+
include ::Google::Protobuf::MessageExts
|
70
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
71
71
|
|
72
72
|
# Enum to specify the scope of completion.
|
73
73
|
module CompletionScope
|
@@ -89,52 +89,52 @@ module Google
|
|
89
89
|
|
90
90
|
# Suggest job titles for jobs autocomplete.
|
91
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.
|
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
94
|
JOB_TITLE = 1
|
95
95
|
|
96
96
|
# Suggest company names for jobs autocomplete.
|
97
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
|
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
100
|
# returned.
|
101
101
|
COMPANY_NAME = 2
|
102
102
|
|
103
103
|
# Suggest both job titles and company names for jobs autocomplete.
|
104
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.
|
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
108
|
COMBINED = 3
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
112
|
# Response of auto-complete query.
|
113
113
|
# @!attribute [rw] completion_results
|
114
|
-
# @return [Array
|
114
|
+
# @return [::Array<::Google::Cloud::Talent::V4beta1::CompleteQueryResponse::CompletionResult>]
|
115
115
|
# Results of the matching job/company candidates.
|
116
116
|
# @!attribute [rw] metadata
|
117
|
-
# @return [Google::Cloud::Talent::V4beta1::ResponseMetadata]
|
117
|
+
# @return [::Google::Cloud::Talent::V4beta1::ResponseMetadata]
|
118
118
|
# Additional information for the API invocation, such as the request
|
119
119
|
# tracking id.
|
120
120
|
class CompleteQueryResponse
|
121
|
-
include Google::Protobuf::MessageExts
|
122
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
121
|
+
include ::Google::Protobuf::MessageExts
|
122
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
123
123
|
|
124
124
|
# Resource that represents completion results.
|
125
125
|
# @!attribute [rw] suggestion
|
126
|
-
# @return [String]
|
126
|
+
# @return [::String]
|
127
127
|
# The suggestion for the query.
|
128
128
|
# @!attribute [rw] type
|
129
|
-
# @return [Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType]
|
129
|
+
# @return [::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType]
|
130
130
|
# The completion topic.
|
131
131
|
# @!attribute [rw] image_uri
|
132
|
-
# @return [String]
|
132
|
+
# @return [::String]
|
133
133
|
# The URI of the company image for
|
134
|
-
# {Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMPANY_NAME COMPANY_NAME}.
|
134
|
+
# {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMPANY_NAME COMPANY_NAME}.
|
135
135
|
class CompletionResult
|
136
|
-
include Google::Protobuf::MessageExts
|
137
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
136
|
+
include ::Google::Protobuf::MessageExts
|
137
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
138
138
|
end
|
139
139
|
end
|
140
140
|
end
|
@@ -27,60 +27,60 @@ module Google
|
|
27
27
|
# service to perform optimally. The number of events sent must be consistent
|
28
28
|
# with other calls, such as job searches, issued to the service by the client.
|
29
29
|
# @!attribute [rw] request_id
|
30
|
-
# @return [String]
|
30
|
+
# @return [::String]
|
31
31
|
# Strongly recommended for the best service experience.
|
32
32
|
#
|
33
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}.
|
34
|
+
# {::Google::Cloud::Talent::V4beta1::ResponseMetadata#request_id ResponseMetadata.request_id}.
|
35
35
|
# @!attribute [rw] event_id
|
36
|
-
# @return [String]
|
36
|
+
# @return [::String]
|
37
37
|
# Required. A unique identifier, generated by the client application.
|
38
38
|
# @!attribute [rw] create_time
|
39
|
-
# @return [Google::Protobuf::Timestamp]
|
39
|
+
# @return [::Google::Protobuf::Timestamp]
|
40
40
|
# Required. The timestamp of the event.
|
41
41
|
# @!attribute [rw] job_event
|
42
|
-
# @return [Google::Cloud::Talent::V4beta1::JobEvent]
|
42
|
+
# @return [::Google::Cloud::Talent::V4beta1::JobEvent]
|
43
43
|
# An event issued when a job seeker interacts with the application that
|
44
44
|
# implements Cloud Talent Solution.
|
45
45
|
# @!attribute [rw] profile_event
|
46
|
-
# @return [Google::Cloud::Talent::V4beta1::ProfileEvent]
|
46
|
+
# @return [::Google::Cloud::Talent::V4beta1::ProfileEvent]
|
47
47
|
# An event issued when a profile searcher interacts with the application
|
48
48
|
# that implements Cloud Talent Solution.
|
49
49
|
# @!attribute [rw] event_notes
|
50
|
-
# @return [String]
|
50
|
+
# @return [::String]
|
51
51
|
# Notes about the event provided by recruiters or other users, for example,
|
52
52
|
# feedback on why a profile was bookmarked.
|
53
53
|
class ClientEvent
|
54
|
-
include Google::Protobuf::MessageExts
|
55
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
54
|
+
include ::Google::Protobuf::MessageExts
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
56
|
end
|
57
57
|
|
58
58
|
# An event issued when a job seeker interacts with the application that
|
59
59
|
# implements Cloud Talent Solution.
|
60
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}).
|
61
|
+
# @return [::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType]
|
62
|
+
# Required. The type of the event (see {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType JobEventType}).
|
63
63
|
# @!attribute [rw] jobs
|
64
|
-
# @return [Array
|
64
|
+
# @return [::Array<::String>]
|
65
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,
|
66
|
+
# For example, if this is an {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::IMPRESSION impression} event,
|
67
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
|
68
|
+
# If this was a {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::VIEW view} event, this field contains the
|
69
69
|
# identifier of the viewed job.
|
70
70
|
#
|
71
71
|
# The format is
|
72
72
|
# "projects/\\{project_id}/tenants/\\{tenant_id}/jobs/\\{job_id}", for
|
73
73
|
# example, "projects/foo/tenants/bar/jobs/baz".
|
74
74
|
# @!attribute [rw] profile
|
75
|
-
# @return [String]
|
76
|
-
# The {Google::Cloud::Talent::V4beta1::Profile#name profile name} associated with this client event.
|
75
|
+
# @return [::String]
|
76
|
+
# The {::Google::Cloud::Talent::V4beta1::Profile#name profile name} associated with this client event.
|
77
77
|
#
|
78
78
|
# The format is
|
79
79
|
# "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}",
|
80
80
|
# for example, "projects/foo/tenants/bar/profiles/baz".
|
81
81
|
class JobEvent
|
82
|
-
include Google::Protobuf::MessageExts
|
83
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
82
|
+
include ::Google::Protobuf::MessageExts
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
84
84
|
|
85
85
|
# An enumeration of an event attributed to the behavior of the end user,
|
86
86
|
# such as a job seeker.
|
@@ -98,7 +98,7 @@ module Google
|
|
98
98
|
# viewed the details of a job, including the full description. This
|
99
99
|
# event doesn't apply to the viewing a snippet of a job appearing as a
|
100
100
|
# part of the job search results. Viewing a snippet is associated with an
|
101
|
-
# {Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::IMPRESSION impression}).
|
101
|
+
# {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::IMPRESSION impression}).
|
102
102
|
VIEW = 2
|
103
103
|
|
104
104
|
# The job seeker or other entity interacting with the service
|
@@ -118,7 +118,7 @@ module Google
|
|
118
118
|
# submitted an application for a job with a single click without
|
119
119
|
# entering information. If a job seeker performs this action, send only
|
120
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}
|
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
122
|
# events.
|
123
123
|
APPLICATION_QUICK_SUBMISSION = 6
|
124
124
|
|
@@ -138,8 +138,8 @@ module Google
|
|
138
138
|
# (without viewing the details of the job posting), and is redirected
|
139
139
|
# to a different website to complete the application. If a candidate
|
140
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.
|
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
143
|
APPLICATION_REDIRECT_FROM_SEARCH = 9
|
144
144
|
|
145
145
|
# This event should be used when a company submits an application
|
@@ -180,17 +180,17 @@ module Google
|
|
180
180
|
# An event issued when a profile searcher interacts with the application
|
181
181
|
# that implements Cloud Talent Solution.
|
182
182
|
# @!attribute [rw] type
|
183
|
-
# @return [Google::Cloud::Talent::V4beta1::ProfileEvent::ProfileEventType]
|
183
|
+
# @return [::Google::Cloud::Talent::V4beta1::ProfileEvent::ProfileEventType]
|
184
184
|
# Required. Type of event.
|
185
185
|
# @!attribute [rw] profiles
|
186
|
-
# @return [Array
|
186
|
+
# @return [::Array<::String>]
|
187
187
|
# Required. The [profile name(s)][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
|
188
188
|
#
|
189
189
|
# The format is
|
190
190
|
# "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}",
|
191
191
|
# for example, "projects/foo/tenants/bar/profiles/baz".
|
192
192
|
# @!attribute [rw] jobs
|
193
|
-
# @return [Array
|
193
|
+
# @return [::Array<::String>]
|
194
194
|
# The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this client event. Leave it
|
195
195
|
# empty if the event isn't associated with a job.
|
196
196
|
#
|
@@ -198,15 +198,15 @@ module Google
|
|
198
198
|
# "projects/\\{project_id}/tenants/\\{tenant_id}/jobs/\\{job_id}", for
|
199
199
|
# example, "projects/foo/tenants/bar/jobs/baz".
|
200
200
|
class ProfileEvent
|
201
|
-
include Google::Protobuf::MessageExts
|
202
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
201
|
+
include ::Google::Protobuf::MessageExts
|
202
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
203
203
|
|
204
204
|
# The enum represents types of client events for a candidate profile.
|
205
205
|
module ProfileEventType
|
206
206
|
# Default value.
|
207
207
|
PROFILE_EVENT_TYPE_UNSPECIFIED = 0
|
208
208
|
|
209
|
-
# Send this event when a {Google::Cloud::Talent::V4beta1::ProfileEvent#profiles ProfileEvent.profiles} was sent as a part of
|
209
|
+
# Send this event when a {::Google::Cloud::Talent::V4beta1::ProfileEvent#profiles ProfileEvent.profiles} was sent as a part of
|
210
210
|
# a result set for a CTS API call and was rendered in the end user's UI
|
211
211
|
# (that is, the [ProfileEvent.recruiter][google.cloud.talent.v4beta1.ProfileEvent.recruiter]).
|
212
212
|
IMPRESSION = 1
|
@@ -220,8 +220,8 @@ module Google
|
|
220
220
|
# making a request).
|
221
221
|
#
|
222
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
|
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
225
|
# not be populated.
|
226
226
|
#
|
227
227
|
# This event requires a valid recruiter and one valid ID in profiles.
|