google-cloud-talent-v4beta1 0.4.6 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +9 -4
- data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -1
- data/lib/google/cloud/talent/v4beta1/common_pb.rb +3 -65
- data/lib/google/cloud/talent/v4beta1/company_pb.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +2 -1
- data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +3 -2
- data/lib/google/cloud/talent/v4beta1/event_pb.rb +2 -16
- data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +2 -1
- data/lib/google/cloud/talent/v4beta1/filters_pb.rb +3 -102
- data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +0 -1
- data/lib/google/cloud/talent/v4beta1/job_pb.rb +2 -3
- data/lib/google/cloud/talent/v4beta1/job_service/client.rb +48 -23
- data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +10 -2
- data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +2 -3
- data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +2 -1
- data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
- data/lib/google/cloud/talent/v4beta1.rb +3 -3
- data/proto_docs/google/cloud/talent/v4beta1/common.rb +10 -227
- data/proto_docs/google/cloud/talent/v4beta1/event.rb +1 -60
- data/proto_docs/google/cloud/talent/v4beta1/filters.rb +40 -482
- data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +1 -1
- data/proto_docs/google/cloud/talent/v4beta1/job.rb +1 -1
- data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +64 -16
- data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/type/timeofday.rb +1 -1
- metadata +3 -22
- data/lib/google/cloud/talent/v4beta1/application_pb.rb +0 -64
- data/lib/google/cloud/talent/v4beta1/application_service/client.rb +0 -813
- data/lib/google/cloud/talent/v4beta1/application_service/credentials.rb +0 -52
- data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +0 -155
- data/lib/google/cloud/talent/v4beta1/application_service.rb +0 -50
- data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +0 -56
- data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +0 -54
- data/lib/google/cloud/talent/v4beta1/profile_pb.rb +0 -214
- data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +0 -1107
- data/lib/google/cloud/talent/v4beta1/profile_service/credentials.rb +0 -52
- data/lib/google/cloud/talent/v4beta1/profile_service/paths.rb +0 -69
- data/lib/google/cloud/talent/v4beta1/profile_service.rb +0 -50
- data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +0 -92
- data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +0 -63
- data/proto_docs/google/cloud/talent/v4beta1/application.rb +0 -169
- data/proto_docs/google/cloud/talent/v4beta1/application_service.rb +0 -122
- data/proto_docs/google/cloud/talent/v4beta1/profile.rb +0 -811
- data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +0 -392
- data/proto_docs/google/type/date.rb +0 -53
@@ -1,52 +0,0 @@
|
|
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
|
-
require "googleauth"
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Cloud
|
23
|
-
module Talent
|
24
|
-
module V4beta1
|
25
|
-
module ProfileService
|
26
|
-
# Credentials for the ProfileService API.
|
27
|
-
class Credentials < ::Google::Auth::Credentials
|
28
|
-
self.scope = [
|
29
|
-
"https://www.googleapis.com/auth/cloud-platform",
|
30
|
-
"https://www.googleapis.com/auth/jobs"
|
31
|
-
]
|
32
|
-
self.env_vars = [
|
33
|
-
"TALENT_CREDENTIALS",
|
34
|
-
"TALENT_KEYFILE",
|
35
|
-
"GOOGLE_CLOUD_CREDENTIALS",
|
36
|
-
"GOOGLE_CLOUD_KEYFILE",
|
37
|
-
"GCLOUD_KEYFILE",
|
38
|
-
"TALENT_CREDENTIALS_JSON",
|
39
|
-
"TALENT_KEYFILE_JSON",
|
40
|
-
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
41
|
-
"GOOGLE_CLOUD_KEYFILE_JSON",
|
42
|
-
"GCLOUD_KEYFILE_JSON"
|
43
|
-
]
|
44
|
-
self.paths = [
|
45
|
-
"~/.config/google_cloud/application_default_credentials.json"
|
46
|
-
]
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
@@ -1,69 +0,0 @@
|
|
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
|
-
module ProfileService
|
25
|
-
# Path helper methods for the ProfileService API.
|
26
|
-
module Paths
|
27
|
-
##
|
28
|
-
# Create a fully-qualified Profile resource string.
|
29
|
-
#
|
30
|
-
# The resource will be in the following format:
|
31
|
-
#
|
32
|
-
# `projects/{project}/tenants/{tenant}/profiles/{profile}`
|
33
|
-
#
|
34
|
-
# @param project [String]
|
35
|
-
# @param tenant [String]
|
36
|
-
# @param profile [String]
|
37
|
-
#
|
38
|
-
# @return [::String]
|
39
|
-
def profile_path project:, tenant:, profile:
|
40
|
-
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
41
|
-
raise ::ArgumentError, "tenant cannot contain /" if tenant.to_s.include? "/"
|
42
|
-
|
43
|
-
"projects/#{project}/tenants/#{tenant}/profiles/#{profile}"
|
44
|
-
end
|
45
|
-
|
46
|
-
##
|
47
|
-
# Create a fully-qualified Tenant resource string.
|
48
|
-
#
|
49
|
-
# The resource will be in the following format:
|
50
|
-
#
|
51
|
-
# `projects/{project}/tenants/{tenant}`
|
52
|
-
#
|
53
|
-
# @param project [String]
|
54
|
-
# @param tenant [String]
|
55
|
-
#
|
56
|
-
# @return [::String]
|
57
|
-
def tenant_path project:, tenant:
|
58
|
-
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
59
|
-
|
60
|
-
"projects/#{project}/tenants/#{tenant}"
|
61
|
-
end
|
62
|
-
|
63
|
-
extend self
|
64
|
-
end
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|
68
|
-
end
|
69
|
-
end
|
@@ -1,50 +0,0 @@
|
|
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
|
-
require "gapic/common"
|
20
|
-
require "gapic/config"
|
21
|
-
require "gapic/config/method"
|
22
|
-
|
23
|
-
require "google/cloud/talent/v4beta1/version"
|
24
|
-
|
25
|
-
require "google/cloud/talent/v4beta1/profile_service/credentials"
|
26
|
-
require "google/cloud/talent/v4beta1/profile_service/paths"
|
27
|
-
require "google/cloud/talent/v4beta1/profile_service/client"
|
28
|
-
|
29
|
-
module Google
|
30
|
-
module Cloud
|
31
|
-
module Talent
|
32
|
-
module V4beta1
|
33
|
-
##
|
34
|
-
# A service that handles profile management, including profile CRUD,
|
35
|
-
# enumeration and search.
|
36
|
-
#
|
37
|
-
# To load this service and instantiate a client:
|
38
|
-
#
|
39
|
-
# require "google/cloud/talent/v4beta1/profile_service"
|
40
|
-
# client = ::Google::Cloud::Talent::V4beta1::ProfileService::Client.new
|
41
|
-
#
|
42
|
-
module ProfileService
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
helper_path = ::File.join __dir__, "profile_service", "helpers.rb"
|
50
|
-
require "google/cloud/talent/v4beta1/profile_service/helpers" if ::File.file? helper_path
|
@@ -1,92 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/cloud/talent/v4beta1/profile_service.proto
|
3
|
-
|
4
|
-
require 'google/api/annotations_pb'
|
5
|
-
require 'google/api/client_pb'
|
6
|
-
require 'google/api/field_behavior_pb'
|
7
|
-
require 'google/api/resource_pb'
|
8
|
-
require 'google/cloud/talent/v4beta1/common_pb'
|
9
|
-
require 'google/cloud/talent/v4beta1/filters_pb'
|
10
|
-
require 'google/cloud/talent/v4beta1/histogram_pb'
|
11
|
-
require 'google/cloud/talent/v4beta1/profile_pb'
|
12
|
-
require 'google/longrunning/operations_pb'
|
13
|
-
require 'google/protobuf/any_pb'
|
14
|
-
require 'google/protobuf/empty_pb'
|
15
|
-
require 'google/protobuf/field_mask_pb'
|
16
|
-
require 'google/rpc/status_pb'
|
17
|
-
require 'google/protobuf'
|
18
|
-
|
19
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
20
|
-
add_file("google/cloud/talent/v4beta1/profile_service.proto", :syntax => :proto3) do
|
21
|
-
add_message "google.cloud.talent.v4beta1.ListProfilesRequest" do
|
22
|
-
optional :parent, :string, 1
|
23
|
-
optional :filter, :string, 5
|
24
|
-
optional :page_token, :string, 2
|
25
|
-
optional :page_size, :int32, 3
|
26
|
-
optional :read_mask, :message, 4, "google.protobuf.FieldMask"
|
27
|
-
end
|
28
|
-
add_message "google.cloud.talent.v4beta1.ListProfilesResponse" do
|
29
|
-
repeated :profiles, :message, 1, "google.cloud.talent.v4beta1.Profile"
|
30
|
-
optional :next_page_token, :string, 2
|
31
|
-
end
|
32
|
-
add_message "google.cloud.talent.v4beta1.CreateProfileRequest" do
|
33
|
-
optional :parent, :string, 1
|
34
|
-
optional :profile, :message, 2, "google.cloud.talent.v4beta1.Profile"
|
35
|
-
end
|
36
|
-
add_message "google.cloud.talent.v4beta1.GetProfileRequest" do
|
37
|
-
optional :name, :string, 1
|
38
|
-
end
|
39
|
-
add_message "google.cloud.talent.v4beta1.UpdateProfileRequest" do
|
40
|
-
optional :profile, :message, 1, "google.cloud.talent.v4beta1.Profile"
|
41
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
42
|
-
end
|
43
|
-
add_message "google.cloud.talent.v4beta1.DeleteProfileRequest" do
|
44
|
-
optional :name, :string, 1
|
45
|
-
end
|
46
|
-
add_message "google.cloud.talent.v4beta1.SearchProfilesRequest" do
|
47
|
-
optional :parent, :string, 1
|
48
|
-
optional :request_metadata, :message, 2, "google.cloud.talent.v4beta1.RequestMetadata"
|
49
|
-
optional :profile_query, :message, 3, "google.cloud.talent.v4beta1.ProfileQuery"
|
50
|
-
optional :page_size, :int32, 4
|
51
|
-
optional :page_token, :string, 5
|
52
|
-
optional :offset, :int32, 6
|
53
|
-
optional :disable_spell_check, :bool, 7
|
54
|
-
optional :order_by, :string, 8
|
55
|
-
optional :case_sensitive_sort, :bool, 9
|
56
|
-
repeated :histogram_queries, :message, 10, "google.cloud.talent.v4beta1.HistogramQuery"
|
57
|
-
optional :result_set_id, :string, 12
|
58
|
-
optional :strict_keywords_search, :bool, 13
|
59
|
-
end
|
60
|
-
add_message "google.cloud.talent.v4beta1.SearchProfilesResponse" do
|
61
|
-
optional :estimated_total_size, :int64, 1
|
62
|
-
optional :spell_correction, :message, 2, "google.cloud.talent.v4beta1.SpellingCorrection"
|
63
|
-
optional :metadata, :message, 3, "google.cloud.talent.v4beta1.ResponseMetadata"
|
64
|
-
optional :next_page_token, :string, 4
|
65
|
-
repeated :histogram_query_results, :message, 5, "google.cloud.talent.v4beta1.HistogramQueryResult"
|
66
|
-
repeated :summarized_profiles, :message, 6, "google.cloud.talent.v4beta1.SummarizedProfile"
|
67
|
-
optional :result_set_id, :string, 7
|
68
|
-
end
|
69
|
-
add_message "google.cloud.talent.v4beta1.SummarizedProfile" do
|
70
|
-
repeated :profiles, :message, 1, "google.cloud.talent.v4beta1.Profile"
|
71
|
-
optional :summary, :message, 2, "google.cloud.talent.v4beta1.Profile"
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
75
|
-
|
76
|
-
module Google
|
77
|
-
module Cloud
|
78
|
-
module Talent
|
79
|
-
module V4beta1
|
80
|
-
ListProfilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ListProfilesRequest").msgclass
|
81
|
-
ListProfilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ListProfilesResponse").msgclass
|
82
|
-
CreateProfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CreateProfileRequest").msgclass
|
83
|
-
GetProfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.GetProfileRequest").msgclass
|
84
|
-
UpdateProfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.UpdateProfileRequest").msgclass
|
85
|
-
DeleteProfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.DeleteProfileRequest").msgclass
|
86
|
-
SearchProfilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchProfilesRequest").msgclass
|
87
|
-
SearchProfilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchProfilesResponse").msgclass
|
88
|
-
SummarizedProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SummarizedProfile").msgclass
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
@@ -1,63 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/cloud/talent/v4beta1/profile_service.proto for package 'google.cloud.talent.v4beta1'
|
3
|
-
# Original file comments:
|
4
|
-
# Copyright 2020 Google LLC
|
5
|
-
#
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
# See the License for the specific language governing permissions and
|
16
|
-
# limitations under the License.
|
17
|
-
#
|
18
|
-
|
19
|
-
require 'grpc'
|
20
|
-
require 'google/cloud/talent/v4beta1/profile_service_pb'
|
21
|
-
|
22
|
-
module Google
|
23
|
-
module Cloud
|
24
|
-
module Talent
|
25
|
-
module V4beta1
|
26
|
-
module ProfileService
|
27
|
-
# A service that handles profile management, including profile CRUD,
|
28
|
-
# enumeration and search.
|
29
|
-
class Service
|
30
|
-
|
31
|
-
include ::GRPC::GenericService
|
32
|
-
|
33
|
-
self.marshal_class_method = :encode
|
34
|
-
self.unmarshal_class_method = :decode
|
35
|
-
self.service_name = 'google.cloud.talent.v4beta1.ProfileService'
|
36
|
-
|
37
|
-
# Lists profiles by filter. The order is unspecified.
|
38
|
-
rpc :ListProfiles, ::Google::Cloud::Talent::V4beta1::ListProfilesRequest, ::Google::Cloud::Talent::V4beta1::ListProfilesResponse
|
39
|
-
# Creates and returns a new profile.
|
40
|
-
rpc :CreateProfile, ::Google::Cloud::Talent::V4beta1::CreateProfileRequest, ::Google::Cloud::Talent::V4beta1::Profile
|
41
|
-
# Gets the specified profile.
|
42
|
-
rpc :GetProfile, ::Google::Cloud::Talent::V4beta1::GetProfileRequest, ::Google::Cloud::Talent::V4beta1::Profile
|
43
|
-
# Updates the specified profile and returns the updated result.
|
44
|
-
rpc :UpdateProfile, ::Google::Cloud::Talent::V4beta1::UpdateProfileRequest, ::Google::Cloud::Talent::V4beta1::Profile
|
45
|
-
# Deletes the specified profile.
|
46
|
-
# Prerequisite: The profile has no associated applications or assignments
|
47
|
-
# associated.
|
48
|
-
rpc :DeleteProfile, ::Google::Cloud::Talent::V4beta1::DeleteProfileRequest, ::Google::Protobuf::Empty
|
49
|
-
# Searches for profiles within a tenant.
|
50
|
-
#
|
51
|
-
# For example, search by raw queries "software engineer in Mountain View" or
|
52
|
-
# search by structured filters (location filter, education filter, etc.).
|
53
|
-
#
|
54
|
-
# See [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest] for more information.
|
55
|
-
rpc :SearchProfiles, ::Google::Cloud::Talent::V4beta1::SearchProfilesRequest, ::Google::Cloud::Talent::V4beta1::SearchProfilesResponse
|
56
|
-
end
|
57
|
-
|
58
|
-
Stub = Service.rpc_stub_class
|
59
|
-
end
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
@@ -1,169 +0,0 @@
|
|
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
|
-
# Resource that represents a job application record of a candidate.
|
25
|
-
# @!attribute [rw] name
|
26
|
-
# @return [::String]
|
27
|
-
# Required during application update.
|
28
|
-
#
|
29
|
-
# Resource name assigned to an application by the API.
|
30
|
-
#
|
31
|
-
# The format is
|
32
|
-
# "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}/applications/\\{application_id}".
|
33
|
-
# For example, "projects/foo/tenants/bar/profiles/baz/applications/qux".
|
34
|
-
# @!attribute [rw] external_id
|
35
|
-
# @return [::String]
|
36
|
-
# Required. Client side application identifier, used to uniquely identify the
|
37
|
-
# application.
|
38
|
-
#
|
39
|
-
# The maximum number of allowed characters is 255.
|
40
|
-
# @!attribute [r] profile
|
41
|
-
# @return [::String]
|
42
|
-
# Output only. Resource name of the candidate of this application.
|
43
|
-
#
|
44
|
-
# The format is
|
45
|
-
# "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}".
|
46
|
-
# For example, "projects/foo/tenants/bar/profiles/baz".
|
47
|
-
# @!attribute [rw] job
|
48
|
-
# @return [::String]
|
49
|
-
# Required. Resource name of the job which the candidate applied for.
|
50
|
-
#
|
51
|
-
# The format is
|
52
|
-
# "projects/\\{project_id}/tenants/\\{tenant_id}/jobs/\\{job_id}". For example,
|
53
|
-
# "projects/foo/tenants/bar/jobs/baz".
|
54
|
-
# @!attribute [rw] company
|
55
|
-
# @return [::String]
|
56
|
-
# Resource name of the company which the candidate applied for.
|
57
|
-
#
|
58
|
-
# The format is
|
59
|
-
# "projects/\\{project_id}/tenants/\\{tenant_id}/companies/\\{company_id}".
|
60
|
-
# For example, "projects/foo/tenants/bar/companies/baz".
|
61
|
-
# @!attribute [rw] application_date
|
62
|
-
# @return [::Google::Type::Date]
|
63
|
-
# The application date.
|
64
|
-
# @!attribute [rw] stage
|
65
|
-
# @return [::Google::Cloud::Talent::V4beta1::Application::ApplicationStage]
|
66
|
-
# Required. What is the most recent stage of the application (that is, new,
|
67
|
-
# screen, send cv, hired, finished work)? This field is intentionally not
|
68
|
-
# comprehensive of every possible status, but instead, represents statuses
|
69
|
-
# that would be used to indicate to the ML models good / bad matches.
|
70
|
-
# @!attribute [rw] state
|
71
|
-
# @return [::Google::Cloud::Talent::V4beta1::Application::ApplicationState]
|
72
|
-
# The application state.
|
73
|
-
# @!attribute [rw] interviews
|
74
|
-
# @return [::Array<::Google::Cloud::Talent::V4beta1::Interview>]
|
75
|
-
# All interviews (screen, onsite, and so on) conducted as part of this
|
76
|
-
# application (includes details such as user conducting the interview,
|
77
|
-
# timestamp, feedback, and so on).
|
78
|
-
# @!attribute [rw] referral
|
79
|
-
# @return [::Google::Protobuf::BoolValue]
|
80
|
-
# If the candidate is referred by a employee.
|
81
|
-
# @!attribute [rw] create_time
|
82
|
-
# @return [::Google::Protobuf::Timestamp]
|
83
|
-
# Required. Reflects the time that the application was created.
|
84
|
-
# @!attribute [rw] update_time
|
85
|
-
# @return [::Google::Protobuf::Timestamp]
|
86
|
-
# The last update timestamp.
|
87
|
-
# @!attribute [rw] outcome_notes
|
88
|
-
# @return [::String]
|
89
|
-
# Free text reason behind the recruitement outcome (for example, reason for
|
90
|
-
# withdraw / reject, reason for an unsuccessful finish, and so on).
|
91
|
-
#
|
92
|
-
# Number of characters allowed is 100.
|
93
|
-
# @!attribute [rw] outcome
|
94
|
-
# @return [::Google::Cloud::Talent::V4beta1::Outcome]
|
95
|
-
# Outcome positiveness shows how positive the outcome is.
|
96
|
-
# @!attribute [r] is_match
|
97
|
-
# @return [::Google::Protobuf::BoolValue]
|
98
|
-
# Output only. Indicates whether this job application is a match to
|
99
|
-
# application related filters. This value is only applicable in profile
|
100
|
-
# search response.
|
101
|
-
# @!attribute [r] job_title_snippet
|
102
|
-
# @return [::String]
|
103
|
-
# Output only. Job title snippet shows how the job title is related to a
|
104
|
-
# search query. It's empty if the job title isn't related to the search
|
105
|
-
# query.
|
106
|
-
class Application
|
107
|
-
include ::Google::Protobuf::MessageExts
|
108
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
109
|
-
|
110
|
-
# Enum that represents the application status.
|
111
|
-
module ApplicationState
|
112
|
-
# Default value.
|
113
|
-
APPLICATION_STATE_UNSPECIFIED = 0
|
114
|
-
|
115
|
-
# The current stage is in progress or pending, for example, interviews in
|
116
|
-
# progress.
|
117
|
-
IN_PROGRESS = 1
|
118
|
-
|
119
|
-
# The current stage was terminated by a candidate decision.
|
120
|
-
CANDIDATE_WITHDREW = 2
|
121
|
-
|
122
|
-
# The current stage was terminated by an employer or agency decision.
|
123
|
-
EMPLOYER_WITHDREW = 3
|
124
|
-
|
125
|
-
# The current stage is successfully completed, but the next stage (if
|
126
|
-
# applicable) has not begun.
|
127
|
-
COMPLETED = 4
|
128
|
-
|
129
|
-
# The current stage was closed without an exception, or terminated for
|
130
|
-
# reasons unrealated to the candidate.
|
131
|
-
CLOSED = 5
|
132
|
-
end
|
133
|
-
|
134
|
-
# The stage of the application.
|
135
|
-
module ApplicationStage
|
136
|
-
# Default value.
|
137
|
-
APPLICATION_STAGE_UNSPECIFIED = 0
|
138
|
-
|
139
|
-
# Candidate has applied or a recruiter put candidate into consideration but
|
140
|
-
# candidate is not yet screened / no decision has been made to move or not
|
141
|
-
# move the candidate to the next stage.
|
142
|
-
NEW = 1
|
143
|
-
|
144
|
-
# A recruiter decided to screen the candidate for this role.
|
145
|
-
SCREEN = 2
|
146
|
-
|
147
|
-
# Candidate is being / was sent to the customer / hiring manager for
|
148
|
-
# detailed review.
|
149
|
-
HIRING_MANAGER_REVIEW = 3
|
150
|
-
|
151
|
-
# Candidate was approved by the client / hiring manager and is being / was
|
152
|
-
# interviewed for the role.
|
153
|
-
INTERVIEW = 4
|
154
|
-
|
155
|
-
# Candidate will be / has been given an offer of employment.
|
156
|
-
OFFER_EXTENDED = 5
|
157
|
-
|
158
|
-
# Candidate has accepted their offer of employment.
|
159
|
-
OFFER_ACCEPTED = 6
|
160
|
-
|
161
|
-
# Candidate has begun (or completed) their employment or assignment with
|
162
|
-
# the employer.
|
163
|
-
STARTED = 7
|
164
|
-
end
|
165
|
-
end
|
166
|
-
end
|
167
|
-
end
|
168
|
-
end
|
169
|
-
end
|
@@ -1,122 +0,0 @@
|
|
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 CreateApplication method.
|
25
|
-
# @!attribute [rw] parent
|
26
|
-
# @return [::String]
|
27
|
-
# Required. Resource name of the profile under which the application is created.
|
28
|
-
#
|
29
|
-
# The format is
|
30
|
-
# "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}".
|
31
|
-
# For example, "projects/foo/tenants/bar/profiles/baz".
|
32
|
-
# @!attribute [rw] application
|
33
|
-
# @return [::Google::Cloud::Talent::V4beta1::Application]
|
34
|
-
# Required. The application to be created.
|
35
|
-
class CreateApplicationRequest
|
36
|
-
include ::Google::Protobuf::MessageExts
|
37
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
38
|
-
end
|
39
|
-
|
40
|
-
# Request for getting a application by name.
|
41
|
-
# @!attribute [rw] name
|
42
|
-
# @return [::String]
|
43
|
-
# Required. The resource name of the application to be retrieved.
|
44
|
-
#
|
45
|
-
# The format is
|
46
|
-
# "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}/applications/\\{application_id}".
|
47
|
-
# For example, "projects/foo/tenants/bar/profiles/baz/applications/qux".
|
48
|
-
class GetApplicationRequest
|
49
|
-
include ::Google::Protobuf::MessageExts
|
50
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
51
|
-
end
|
52
|
-
|
53
|
-
# Request for updating a specified application.
|
54
|
-
# @!attribute [rw] application
|
55
|
-
# @return [::Google::Cloud::Talent::V4beta1::Application]
|
56
|
-
# Required. The application resource to replace the current resource in the 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::V4beta1::UpdateApplicationRequest#update_mask update_mask} is provided, only the specified fields in
|
62
|
-
# {::Google::Cloud::Talent::V4beta1::UpdateApplicationRequest#application application} are updated. Otherwise all the fields are updated.
|
63
|
-
#
|
64
|
-
# A field mask to specify the application fields to be updated. Only
|
65
|
-
# top level fields of {::Google::Cloud::Talent::V4beta1::Application Application} are supported.
|
66
|
-
class UpdateApplicationRequest
|
67
|
-
include ::Google::Protobuf::MessageExts
|
68
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
69
|
-
end
|
70
|
-
|
71
|
-
# Request to delete a application.
|
72
|
-
# @!attribute [rw] name
|
73
|
-
# @return [::String]
|
74
|
-
# Required. The resource name of the application to be deleted.
|
75
|
-
#
|
76
|
-
# The format is
|
77
|
-
# "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}/applications/\\{application_id}".
|
78
|
-
# For example, "projects/foo/tenants/bar/profiles/baz/applications/qux".
|
79
|
-
class DeleteApplicationRequest
|
80
|
-
include ::Google::Protobuf::MessageExts
|
81
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
82
|
-
end
|
83
|
-
|
84
|
-
# List applications for which the client has ACL visibility.
|
85
|
-
# @!attribute [rw] parent
|
86
|
-
# @return [::String]
|
87
|
-
# Required. Resource name of the profile under which the application is created.
|
88
|
-
#
|
89
|
-
# The format is
|
90
|
-
# "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}", for
|
91
|
-
# example, "projects/foo/tenants/bar/profiles/baz".
|
92
|
-
# @!attribute [rw] page_token
|
93
|
-
# @return [::String]
|
94
|
-
# The starting indicator from which to return results.
|
95
|
-
# @!attribute [rw] page_size
|
96
|
-
# @return [::Integer]
|
97
|
-
# The maximum number of applications to be returned, at most 100.
|
98
|
-
# Default is 100 if a non-positive number is provided.
|
99
|
-
class ListApplicationsRequest
|
100
|
-
include ::Google::Protobuf::MessageExts
|
101
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
102
|
-
end
|
103
|
-
|
104
|
-
# The List applications response object.
|
105
|
-
# @!attribute [rw] applications
|
106
|
-
# @return [::Array<::Google::Cloud::Talent::V4beta1::Application>]
|
107
|
-
# Applications for the current client.
|
108
|
-
# @!attribute [rw] next_page_token
|
109
|
-
# @return [::String]
|
110
|
-
# A token to retrieve the next page of results.
|
111
|
-
# @!attribute [rw] metadata
|
112
|
-
# @return [::Google::Cloud::Talent::V4beta1::ResponseMetadata]
|
113
|
-
# Additional information for the API invocation, such as the request
|
114
|
-
# tracking id.
|
115
|
-
class ListApplicationsResponse
|
116
|
-
include ::Google::Protobuf::MessageExts
|
117
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
118
|
-
end
|
119
|
-
end
|
120
|
-
end
|
121
|
-
end
|
122
|
-
end
|