google-cloud-talent-v4beta1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +203 -0
  5. data/README.md +71 -0
  6. data/lib/google-cloud-talent-v4beta1.rb +21 -0
  7. data/lib/google/cloud/common_resources_pb.rb +15 -0
  8. data/lib/google/cloud/talent/v4beta1.rb +41 -0
  9. data/lib/google/cloud/talent/v4beta1/application_pb.rb +64 -0
  10. data/lib/google/cloud/talent/v4beta1/application_service.rb +50 -0
  11. data/lib/google/cloud/talent/v4beta1/application_service/client.rb +717 -0
  12. data/lib/google/cloud/talent/v4beta1/application_service/credentials.rb +52 -0
  13. data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +155 -0
  14. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +56 -0
  15. data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +54 -0
  16. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +19 -0
  17. data/lib/google/cloud/talent/v4beta1/common_pb.rb +342 -0
  18. data/lib/google/cloud/talent/v4beta1/company_pb.rb +42 -0
  19. data/lib/google/cloud/talent/v4beta1/company_service.rb +49 -0
  20. data/lib/google/cloud/talent/v4beta1/company_service/client.rb +732 -0
  21. data/lib/google/cloud/talent/v4beta1/company_service/credentials.rb +52 -0
  22. data/lib/google/cloud/talent/v4beta1/company_service/paths.rb +105 -0
  23. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +57 -0
  24. data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +54 -0
  25. data/lib/google/cloud/talent/v4beta1/completion.rb +49 -0
  26. data/lib/google/cloud/talent/v4beta1/completion/client.rb +407 -0
  27. data/lib/google/cloud/talent/v4beta1/completion/credentials.rb +52 -0
  28. data/lib/google/cloud/talent/v4beta1/completion/paths.rb +105 -0
  29. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +57 -0
  30. data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +46 -0
  31. data/lib/google/cloud/talent/v4beta1/event_pb.rb +70 -0
  32. data/lib/google/cloud/talent/v4beta1/event_service.rb +49 -0
  33. data/lib/google/cloud/talent/v4beta1/event_service/client.rb +379 -0
  34. data/lib/google/cloud/talent/v4beta1/event_service/credentials.rb +52 -0
  35. data/lib/google/cloud/talent/v4beta1/event_service/paths.rb +64 -0
  36. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +28 -0
  37. data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +51 -0
  38. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +188 -0
  39. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +28 -0
  40. data/lib/google/cloud/talent/v4beta1/job_pb.rb +73 -0
  41. data/lib/google/cloud/talent/v4beta1/job_service.rb +50 -0
  42. data/lib/google/cloud/talent/v4beta1/job_service/client.rb +1660 -0
  43. data/lib/google/cloud/talent/v4beta1/job_service/credentials.rb +52 -0
  44. data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +564 -0
  45. data/lib/google/cloud/talent/v4beta1/job_service/paths.rb +146 -0
  46. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +167 -0
  47. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +86 -0
  48. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +214 -0
  49. data/lib/google/cloud/talent/v4beta1/profile_service.rb +50 -0
  50. data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +992 -0
  51. data/lib/google/cloud/talent/v4beta1/profile_service/credentials.rb +52 -0
  52. data/lib/google/cloud/talent/v4beta1/profile_service/paths.rb +69 -0
  53. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +92 -0
  54. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +63 -0
  55. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +35 -0
  56. data/lib/google/cloud/talent/v4beta1/tenant_service.rb +49 -0
  57. data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +712 -0
  58. data/lib/google/cloud/talent/v4beta1/tenant_service/credentials.rb +52 -0
  59. data/lib/google/cloud/talent/v4beta1/tenant_service/paths.rb +64 -0
  60. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +56 -0
  61. data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +53 -0
  62. data/lib/google/cloud/talent/v4beta1/version.rb +28 -0
  63. data/proto_docs/README.md +4 -0
  64. data/proto_docs/google/api/field_behavior.rb +59 -0
  65. data/proto_docs/google/api/resource.rb +247 -0
  66. data/proto_docs/google/cloud/talent/v4beta1/application.rb +169 -0
  67. data/proto_docs/google/cloud/talent/v4beta1/application_service.rb +122 -0
  68. data/proto_docs/google/cloud/talent/v4beta1/common.rb +1106 -0
  69. data/proto_docs/google/cloud/talent/v4beta1/company.rb +117 -0
  70. data/proto_docs/google/cloud/talent/v4beta1/company_service.rb +138 -0
  71. data/proto_docs/google/cloud/talent/v4beta1/completion_service.rb +143 -0
  72. data/proto_docs/google/cloud/talent/v4beta1/event.rb +237 -0
  73. data/proto_docs/google/cloud/talent/v4beta1/event_service.rb +43 -0
  74. data/proto_docs/google/cloud/talent/v4beta1/filters.rb +818 -0
  75. data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +69 -0
  76. data/proto_docs/google/cloud/talent/v4beta1/job.rb +356 -0
  77. data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +746 -0
  78. data/proto_docs/google/cloud/talent/v4beta1/profile.rb +811 -0
  79. data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +392 -0
  80. data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +77 -0
  81. data/proto_docs/google/cloud/talent/v4beta1/tenant_service.rb +118 -0
  82. data/proto_docs/google/longrunning/operations.rb +150 -0
  83. data/proto_docs/google/protobuf/any.rb +138 -0
  84. data/proto_docs/google/protobuf/duration.rb +98 -0
  85. data/proto_docs/google/protobuf/empty.rb +36 -0
  86. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  87. data/proto_docs/google/protobuf/timestamp.rb +120 -0
  88. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  89. data/proto_docs/google/rpc/status.rb +46 -0
  90. data/proto_docs/google/type/date.rb +50 -0
  91. data/proto_docs/google/type/latlng.rb +38 -0
  92. data/proto_docs/google/type/money.rb +43 -0
  93. data/proto_docs/google/type/postal_address.rb +135 -0
  94. data/proto_docs/google/type/timeofday.rb +44 -0
  95. metadata +251 -0
@@ -0,0 +1,52 @@
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 ApplicationService
26
+ # Credentials for the ApplicationService 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
@@ -0,0 +1,155 @@
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 ApplicationService
25
+ # Path helper methods for the ApplicationService API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Application resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/tenants/{tenant}/profiles/{profile}/applications/{application}`
33
+ #
34
+ # @param project [String]
35
+ # @param tenant [String]
36
+ # @param profile [String]
37
+ # @param application [String]
38
+ #
39
+ # @return [String]
40
+ def application_path project:, tenant:, profile:, application:
41
+ raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
42
+ raise ArgumentError, "tenant cannot contain /" if tenant.to_s.include? "/"
43
+ raise ArgumentError, "profile cannot contain /" if profile.to_s.include? "/"
44
+
45
+ "projects/#{project}/tenants/#{tenant}/profiles/#{profile}/applications/#{application}"
46
+ end
47
+
48
+ ##
49
+ # Create a fully-qualified Company resource string.
50
+ #
51
+ # @overload company_path(project:, tenant:, company:)
52
+ # The resource will be in the following format:
53
+ #
54
+ # `projects/{project}/tenants/{tenant}/companies/{company}`
55
+ #
56
+ # @param project [String]
57
+ # @param tenant [String]
58
+ # @param company [String]
59
+ #
60
+ # @overload company_path(project:, company:)
61
+ # The resource will be in the following format:
62
+ #
63
+ # `projects/{project}/companies/{company}`
64
+ #
65
+ # @param project [String]
66
+ # @param company [String]
67
+ #
68
+ # @return [String]
69
+ def company_path **args
70
+ resources = {
71
+ "company:project:tenant" => (proc do |project:, tenant:, company:|
72
+ raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
73
+ raise ArgumentError, "tenant cannot contain /" if tenant.to_s.include? "/"
74
+
75
+ "projects/#{project}/tenants/#{tenant}/companies/#{company}"
76
+ end),
77
+ "company:project" => (proc do |project:, company:|
78
+ raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
79
+
80
+ "projects/#{project}/companies/#{company}"
81
+ end)
82
+ }
83
+
84
+ resource = resources[args.keys.sort.join(":")]
85
+ raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
86
+ resource.call(**args)
87
+ end
88
+
89
+ ##
90
+ # Create a fully-qualified Job resource string.
91
+ #
92
+ # @overload job_path(project:, tenant:, job:)
93
+ # The resource will be in the following format:
94
+ #
95
+ # `projects/{project}/tenants/{tenant}/jobs/{job}`
96
+ #
97
+ # @param project [String]
98
+ # @param tenant [String]
99
+ # @param job [String]
100
+ #
101
+ # @overload job_path(project:, job:)
102
+ # The resource will be in the following format:
103
+ #
104
+ # `projects/{project}/jobs/{job}`
105
+ #
106
+ # @param project [String]
107
+ # @param job [String]
108
+ #
109
+ # @return [String]
110
+ def job_path **args
111
+ resources = {
112
+ "job:project:tenant" => (proc do |project:, tenant:, job:|
113
+ raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
114
+ raise ArgumentError, "tenant cannot contain /" if tenant.to_s.include? "/"
115
+
116
+ "projects/#{project}/tenants/#{tenant}/jobs/#{job}"
117
+ end),
118
+ "job:project" => (proc do |project:, job:|
119
+ raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
120
+
121
+ "projects/#{project}/jobs/#{job}"
122
+ end)
123
+ }
124
+
125
+ resource = resources[args.keys.sort.join(":")]
126
+ raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
127
+ resource.call(**args)
128
+ end
129
+
130
+ ##
131
+ # Create a fully-qualified Profile resource string.
132
+ #
133
+ # The resource will be in the following format:
134
+ #
135
+ # `projects/{project}/tenants/{tenant}/profiles/{profile}`
136
+ #
137
+ # @param project [String]
138
+ # @param tenant [String]
139
+ # @param profile [String]
140
+ #
141
+ # @return [String]
142
+ def profile_path project:, tenant:, profile:
143
+ raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
144
+ raise ArgumentError, "tenant cannot contain /" if tenant.to_s.include? "/"
145
+
146
+ "projects/#{project}/tenants/#{tenant}/profiles/#{profile}"
147
+ end
148
+
149
+ extend self
150
+ end
151
+ end
152
+ end
153
+ end
154
+ end
155
+ end
@@ -0,0 +1,56 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/talent/v4beta1/application_service.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
8
+ require 'google/api/field_behavior_pb'
9
+ require 'google/api/resource_pb'
10
+ require 'google/cloud/talent/v4beta1/application_pb'
11
+ require 'google/cloud/talent/v4beta1/common_pb'
12
+ require 'google/protobuf/empty_pb'
13
+ require 'google/protobuf/field_mask_pb'
14
+ Google::Protobuf::DescriptorPool.generated_pool.build do
15
+ add_file("google/cloud/talent/v4beta1/application_service.proto", :syntax => :proto3) do
16
+ add_message "google.cloud.talent.v4beta1.CreateApplicationRequest" do
17
+ optional :parent, :string, 1
18
+ optional :application, :message, 2, "google.cloud.talent.v4beta1.Application"
19
+ end
20
+ add_message "google.cloud.talent.v4beta1.GetApplicationRequest" do
21
+ optional :name, :string, 1
22
+ end
23
+ add_message "google.cloud.talent.v4beta1.UpdateApplicationRequest" do
24
+ optional :application, :message, 1, "google.cloud.talent.v4beta1.Application"
25
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
26
+ end
27
+ add_message "google.cloud.talent.v4beta1.DeleteApplicationRequest" do
28
+ optional :name, :string, 1
29
+ end
30
+ add_message "google.cloud.talent.v4beta1.ListApplicationsRequest" do
31
+ optional :parent, :string, 1
32
+ optional :page_token, :string, 2
33
+ optional :page_size, :int32, 3
34
+ end
35
+ add_message "google.cloud.talent.v4beta1.ListApplicationsResponse" do
36
+ repeated :applications, :message, 1, "google.cloud.talent.v4beta1.Application"
37
+ optional :next_page_token, :string, 2
38
+ optional :metadata, :message, 3, "google.cloud.talent.v4beta1.ResponseMetadata"
39
+ end
40
+ end
41
+ end
42
+
43
+ module Google
44
+ module Cloud
45
+ module Talent
46
+ module V4beta1
47
+ CreateApplicationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CreateApplicationRequest").msgclass
48
+ GetApplicationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.GetApplicationRequest").msgclass
49
+ UpdateApplicationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.UpdateApplicationRequest").msgclass
50
+ DeleteApplicationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.DeleteApplicationRequest").msgclass
51
+ ListApplicationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ListApplicationsRequest").msgclass
52
+ ListApplicationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ListApplicationsResponse").msgclass
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,54 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/talent/v4beta1/application_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/application_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module Talent
25
+ module V4beta1
26
+ module ApplicationService
27
+ # A service that handles application management, including CRUD and
28
+ # enumeration.
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.ApplicationService'
36
+
37
+ # Creates a new application entity.
38
+ rpc :CreateApplication, CreateApplicationRequest, Application
39
+ # Retrieves specified application.
40
+ rpc :GetApplication, GetApplicationRequest, Application
41
+ # Updates specified application.
42
+ rpc :UpdateApplication, UpdateApplicationRequest, Application
43
+ # Deletes specified application.
44
+ rpc :DeleteApplication, DeleteApplicationRequest, Google::Protobuf::Empty
45
+ # Lists all applications associated with the profile.
46
+ rpc :ListApplications, ListApplicationsRequest, ListApplicationsResponse
47
+ end
48
+
49
+ Stub = Service.rpc_stub_class
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,19 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/talent/v4beta1/batch.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_file("google/cloud/talent/v4beta1/batch.proto", :syntax => :proto3) do
9
+ end
10
+ end
11
+
12
+ module Google
13
+ module Cloud
14
+ module Talent
15
+ module V4beta1
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,342 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/talent/v4beta1/common.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+ require 'google/protobuf/wrappers_pb'
9
+ require 'google/type/date_pb'
10
+ require 'google/type/latlng_pb'
11
+ require 'google/type/money_pb'
12
+ require 'google/type/postal_address_pb'
13
+ require 'google/type/timeofday_pb'
14
+ require 'google/api/annotations_pb'
15
+ Google::Protobuf::DescriptorPool.generated_pool.build do
16
+ add_file("google/cloud/talent/v4beta1/common.proto", :syntax => :proto3) do
17
+ add_message "google.cloud.talent.v4beta1.TimestampRange" do
18
+ optional :start_time, :message, 1, "google.protobuf.Timestamp"
19
+ optional :end_time, :message, 2, "google.protobuf.Timestamp"
20
+ end
21
+ add_message "google.cloud.talent.v4beta1.Location" do
22
+ optional :location_type, :enum, 1, "google.cloud.talent.v4beta1.Location.LocationType"
23
+ optional :postal_address, :message, 2, "google.type.PostalAddress"
24
+ optional :lat_lng, :message, 3, "google.type.LatLng"
25
+ optional :radius_miles, :double, 4
26
+ end
27
+ add_enum "google.cloud.talent.v4beta1.Location.LocationType" do
28
+ value :LOCATION_TYPE_UNSPECIFIED, 0
29
+ value :COUNTRY, 1
30
+ value :ADMINISTRATIVE_AREA, 2
31
+ value :SUB_ADMINISTRATIVE_AREA, 3
32
+ value :LOCALITY, 4
33
+ value :POSTAL_CODE, 5
34
+ value :SUB_LOCALITY, 6
35
+ value :SUB_LOCALITY_1, 7
36
+ value :SUB_LOCALITY_2, 8
37
+ value :NEIGHBORHOOD, 9
38
+ value :STREET_ADDRESS, 10
39
+ end
40
+ add_message "google.cloud.talent.v4beta1.RequestMetadata" do
41
+ optional :domain, :string, 1
42
+ optional :session_id, :string, 2
43
+ optional :user_id, :string, 3
44
+ optional :allow_missing_ids, :bool, 4
45
+ optional :device_info, :message, 5, "google.cloud.talent.v4beta1.DeviceInfo"
46
+ end
47
+ add_message "google.cloud.talent.v4beta1.ResponseMetadata" do
48
+ optional :request_id, :string, 1
49
+ end
50
+ add_message "google.cloud.talent.v4beta1.DeviceInfo" do
51
+ optional :device_type, :enum, 1, "google.cloud.talent.v4beta1.DeviceInfo.DeviceType"
52
+ optional :id, :string, 2
53
+ end
54
+ add_enum "google.cloud.talent.v4beta1.DeviceInfo.DeviceType" do
55
+ value :DEVICE_TYPE_UNSPECIFIED, 0
56
+ value :WEB, 1
57
+ value :MOBILE_WEB, 2
58
+ value :ANDROID, 3
59
+ value :IOS, 4
60
+ value :BOT, 5
61
+ value :OTHER, 6
62
+ end
63
+ add_message "google.cloud.talent.v4beta1.CustomAttribute" do
64
+ repeated :string_values, :string, 1
65
+ repeated :long_values, :int64, 2
66
+ optional :filterable, :bool, 3
67
+ end
68
+ add_message "google.cloud.talent.v4beta1.SpellingCorrection" do
69
+ optional :corrected, :bool, 1
70
+ optional :corrected_text, :string, 2
71
+ optional :corrected_html, :string, 3
72
+ end
73
+ add_message "google.cloud.talent.v4beta1.CompensationInfo" do
74
+ repeated :entries, :message, 1, "google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry"
75
+ optional :annualized_base_compensation_range, :message, 2, "google.cloud.talent.v4beta1.CompensationInfo.CompensationRange"
76
+ optional :annualized_total_compensation_range, :message, 3, "google.cloud.talent.v4beta1.CompensationInfo.CompensationRange"
77
+ end
78
+ add_message "google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry" do
79
+ optional :type, :enum, 1, "google.cloud.talent.v4beta1.CompensationInfo.CompensationType"
80
+ optional :unit, :enum, 2, "google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit"
81
+ optional :description, :string, 5
82
+ optional :expected_units_per_year, :message, 6, "google.protobuf.DoubleValue"
83
+ oneof :compensation_amount do
84
+ optional :amount, :message, 3, "google.type.Money"
85
+ optional :range, :message, 4, "google.cloud.talent.v4beta1.CompensationInfo.CompensationRange"
86
+ end
87
+ end
88
+ add_message "google.cloud.talent.v4beta1.CompensationInfo.CompensationRange" do
89
+ optional :max_compensation, :message, 2, "google.type.Money"
90
+ optional :min_compensation, :message, 1, "google.type.Money"
91
+ end
92
+ add_enum "google.cloud.talent.v4beta1.CompensationInfo.CompensationType" do
93
+ value :COMPENSATION_TYPE_UNSPECIFIED, 0
94
+ value :BASE, 1
95
+ value :BONUS, 2
96
+ value :SIGNING_BONUS, 3
97
+ value :EQUITY, 4
98
+ value :PROFIT_SHARING, 5
99
+ value :COMMISSIONS, 6
100
+ value :TIPS, 7
101
+ value :OTHER_COMPENSATION_TYPE, 8
102
+ end
103
+ add_enum "google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit" do
104
+ value :COMPENSATION_UNIT_UNSPECIFIED, 0
105
+ value :HOURLY, 1
106
+ value :DAILY, 2
107
+ value :WEEKLY, 3
108
+ value :MONTHLY, 4
109
+ value :YEARLY, 5
110
+ value :ONE_TIME, 6
111
+ value :OTHER_COMPENSATION_UNIT, 7
112
+ end
113
+ add_message "google.cloud.talent.v4beta1.Certification" do
114
+ optional :display_name, :string, 1
115
+ optional :acquire_date, :message, 2, "google.type.Date"
116
+ optional :expire_date, :message, 3, "google.type.Date"
117
+ optional :authority, :string, 4
118
+ optional :description, :string, 5
119
+ end
120
+ add_message "google.cloud.talent.v4beta1.Skill" do
121
+ optional :display_name, :string, 1
122
+ optional :last_used_date, :message, 2, "google.type.Date"
123
+ optional :level, :enum, 3, "google.cloud.talent.v4beta1.SkillProficiencyLevel"
124
+ optional :context, :string, 4
125
+ optional :skill_name_snippet, :string, 5
126
+ end
127
+ add_message "google.cloud.talent.v4beta1.Interview" do
128
+ optional :rating, :message, 6, "google.cloud.talent.v4beta1.Rating"
129
+ optional :outcome, :enum, 7, "google.cloud.talent.v4beta1.Outcome"
130
+ end
131
+ add_message "google.cloud.talent.v4beta1.Rating" do
132
+ optional :overall, :double, 1
133
+ optional :min, :double, 2
134
+ optional :max, :double, 3
135
+ optional :interval, :double, 4
136
+ end
137
+ add_message "google.cloud.talent.v4beta1.BatchOperationMetadata" do
138
+ optional :state, :enum, 1, "google.cloud.talent.v4beta1.BatchOperationMetadata.State"
139
+ optional :state_description, :string, 2
140
+ optional :success_count, :int32, 3
141
+ optional :failure_count, :int32, 4
142
+ optional :total_count, :int32, 5
143
+ optional :create_time, :message, 6, "google.protobuf.Timestamp"
144
+ optional :update_time, :message, 7, "google.protobuf.Timestamp"
145
+ optional :end_time, :message, 8, "google.protobuf.Timestamp"
146
+ end
147
+ add_enum "google.cloud.talent.v4beta1.BatchOperationMetadata.State" do
148
+ value :STATE_UNSPECIFIED, 0
149
+ value :INITIALIZING, 1
150
+ value :PROCESSING, 2
151
+ value :SUCCEEDED, 3
152
+ value :FAILED, 4
153
+ value :CANCELLING, 5
154
+ value :CANCELLED, 6
155
+ end
156
+ add_enum "google.cloud.talent.v4beta1.CompanySize" do
157
+ value :COMPANY_SIZE_UNSPECIFIED, 0
158
+ value :MINI, 1
159
+ value :SMALL, 2
160
+ value :SMEDIUM, 3
161
+ value :MEDIUM, 4
162
+ value :BIG, 5
163
+ value :BIGGER, 6
164
+ value :GIANT, 7
165
+ end
166
+ add_enum "google.cloud.talent.v4beta1.JobBenefit" do
167
+ value :JOB_BENEFIT_UNSPECIFIED, 0
168
+ value :CHILD_CARE, 1
169
+ value :DENTAL, 2
170
+ value :DOMESTIC_PARTNER, 3
171
+ value :FLEXIBLE_HOURS, 4
172
+ value :MEDICAL, 5
173
+ value :LIFE_INSURANCE, 6
174
+ value :PARENTAL_LEAVE, 7
175
+ value :RETIREMENT_PLAN, 8
176
+ value :SICK_DAYS, 9
177
+ value :VACATION, 10
178
+ value :VISION, 11
179
+ end
180
+ add_enum "google.cloud.talent.v4beta1.DegreeType" do
181
+ value :DEGREE_TYPE_UNSPECIFIED, 0
182
+ value :PRIMARY_EDUCATION, 1
183
+ value :LOWER_SECONDARY_EDUCATION, 2
184
+ value :UPPER_SECONDARY_EDUCATION, 3
185
+ value :ADULT_REMEDIAL_EDUCATION, 4
186
+ value :ASSOCIATES_OR_EQUIVALENT, 5
187
+ value :BACHELORS_OR_EQUIVALENT, 6
188
+ value :MASTERS_OR_EQUIVALENT, 7
189
+ value :DOCTORAL_OR_EQUIVALENT, 8
190
+ end
191
+ add_enum "google.cloud.talent.v4beta1.EmploymentType" do
192
+ value :EMPLOYMENT_TYPE_UNSPECIFIED, 0
193
+ value :FULL_TIME, 1
194
+ value :PART_TIME, 2
195
+ value :CONTRACTOR, 3
196
+ value :CONTRACT_TO_HIRE, 4
197
+ value :TEMPORARY, 5
198
+ value :INTERN, 6
199
+ value :VOLUNTEER, 7
200
+ value :PER_DIEM, 8
201
+ value :FLY_IN_FLY_OUT, 9
202
+ value :OTHER_EMPLOYMENT_TYPE, 10
203
+ end
204
+ add_enum "google.cloud.talent.v4beta1.JobLevel" do
205
+ value :JOB_LEVEL_UNSPECIFIED, 0
206
+ value :ENTRY_LEVEL, 1
207
+ value :EXPERIENCED, 2
208
+ value :MANAGER, 3
209
+ value :DIRECTOR, 4
210
+ value :EXECUTIVE, 5
211
+ end
212
+ add_enum "google.cloud.talent.v4beta1.JobCategory" do
213
+ value :JOB_CATEGORY_UNSPECIFIED, 0
214
+ value :ACCOUNTING_AND_FINANCE, 1
215
+ value :ADMINISTRATIVE_AND_OFFICE, 2
216
+ value :ADVERTISING_AND_MARKETING, 3
217
+ value :ANIMAL_CARE, 4
218
+ value :ART_FASHION_AND_DESIGN, 5
219
+ value :BUSINESS_OPERATIONS, 6
220
+ value :CLEANING_AND_FACILITIES, 7
221
+ value :COMPUTER_AND_IT, 8
222
+ value :CONSTRUCTION, 9
223
+ value :CUSTOMER_SERVICE, 10
224
+ value :EDUCATION, 11
225
+ value :ENTERTAINMENT_AND_TRAVEL, 12
226
+ value :FARMING_AND_OUTDOORS, 13
227
+ value :HEALTHCARE, 14
228
+ value :HUMAN_RESOURCES, 15
229
+ value :INSTALLATION_MAINTENANCE_AND_REPAIR, 16
230
+ value :LEGAL, 17
231
+ value :MANAGEMENT, 18
232
+ value :MANUFACTURING_AND_WAREHOUSE, 19
233
+ value :MEDIA_COMMUNICATIONS_AND_WRITING, 20
234
+ value :OIL_GAS_AND_MINING, 21
235
+ value :PERSONAL_CARE_AND_SERVICES, 22
236
+ value :PROTECTIVE_SERVICES, 23
237
+ value :REAL_ESTATE, 24
238
+ value :RESTAURANT_AND_HOSPITALITY, 25
239
+ value :SALES_AND_RETAIL, 26
240
+ value :SCIENCE_AND_ENGINEERING, 27
241
+ value :SOCIAL_SERVICES_AND_NON_PROFIT, 28
242
+ value :SPORTS_FITNESS_AND_RECREATION, 29
243
+ value :TRANSPORTATION_AND_LOGISTICS, 30
244
+ end
245
+ add_enum "google.cloud.talent.v4beta1.PostingRegion" do
246
+ value :POSTING_REGION_UNSPECIFIED, 0
247
+ value :ADMINISTRATIVE_AREA, 1
248
+ value :NATION, 2
249
+ value :TELECOMMUTE, 3
250
+ end
251
+ add_enum "google.cloud.talent.v4beta1.Visibility" do
252
+ value :VISIBILITY_UNSPECIFIED, 0
253
+ value :ACCOUNT_ONLY, 1
254
+ value :SHARED_WITH_GOOGLE, 2
255
+ value :SHARED_WITH_PUBLIC, 3
256
+ end
257
+ add_enum "google.cloud.talent.v4beta1.ContactInfoUsage" do
258
+ value :CONTACT_INFO_USAGE_UNSPECIFIED, 0
259
+ value :PERSONAL, 1
260
+ value :WORK, 2
261
+ value :SCHOOL, 3
262
+ end
263
+ add_enum "google.cloud.talent.v4beta1.HtmlSanitization" do
264
+ value :HTML_SANITIZATION_UNSPECIFIED, 0
265
+ value :HTML_SANITIZATION_DISABLED, 1
266
+ value :SIMPLE_FORMATTING_ONLY, 2
267
+ end
268
+ add_enum "google.cloud.talent.v4beta1.CommuteMethod" do
269
+ value :COMMUTE_METHOD_UNSPECIFIED, 0
270
+ value :DRIVING, 1
271
+ value :TRANSIT, 2
272
+ value :WALKING, 3
273
+ value :CYCLING, 4
274
+ end
275
+ add_enum "google.cloud.talent.v4beta1.SkillProficiencyLevel" do
276
+ value :SKILL_PROFICIENCY_LEVEL_UNSPECIFIED, 0
277
+ value :UNSKILLED, 6
278
+ value :FUNDAMENTAL_AWARENESS, 1
279
+ value :NOVICE, 2
280
+ value :INTERMEDIATE, 3
281
+ value :ADVANCED, 4
282
+ value :EXPERT, 5
283
+ end
284
+ add_enum "google.cloud.talent.v4beta1.Outcome" do
285
+ value :OUTCOME_UNSPECIFIED, 0
286
+ value :POSITIVE, 1
287
+ value :NEUTRAL, 2
288
+ value :NEGATIVE, 3
289
+ value :OUTCOME_NOT_AVAILABLE, 4
290
+ end
291
+ add_enum "google.cloud.talent.v4beta1.AvailabilitySignalType" do
292
+ value :AVAILABILITY_SIGNAL_TYPE_UNSPECIFIED, 0
293
+ value :JOB_APPLICATION, 1
294
+ value :RESUME_UPDATE, 2
295
+ value :CANDIDATE_UPDATE, 3
296
+ value :CLIENT_SUBMISSION, 4
297
+ end
298
+ end
299
+ end
300
+
301
+ module Google
302
+ module Cloud
303
+ module Talent
304
+ module V4beta1
305
+ TimestampRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.TimestampRange").msgclass
306
+ Location = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Location").msgclass
307
+ Location::LocationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Location.LocationType").enummodule
308
+ RequestMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.RequestMetadata").msgclass
309
+ ResponseMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ResponseMetadata").msgclass
310
+ DeviceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.DeviceInfo").msgclass
311
+ DeviceInfo::DeviceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.DeviceInfo.DeviceType").enummodule
312
+ CustomAttribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CustomAttribute").msgclass
313
+ SpellingCorrection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SpellingCorrection").msgclass
314
+ CompensationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompensationInfo").msgclass
315
+ CompensationInfo::CompensationEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry").msgclass
316
+ CompensationInfo::CompensationRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompensationInfo.CompensationRange").msgclass
317
+ CompensationInfo::CompensationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompensationInfo.CompensationType").enummodule
318
+ CompensationInfo::CompensationUnit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit").enummodule
319
+ Certification = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Certification").msgclass
320
+ Skill = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Skill").msgclass
321
+ Interview = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Interview").msgclass
322
+ Rating = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Rating").msgclass
323
+ BatchOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchOperationMetadata").msgclass
324
+ BatchOperationMetadata::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchOperationMetadata.State").enummodule
325
+ CompanySize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompanySize").enummodule
326
+ JobBenefit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobBenefit").enummodule
327
+ DegreeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.DegreeType").enummodule
328
+ EmploymentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.EmploymentType").enummodule
329
+ JobLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobLevel").enummodule
330
+ JobCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobCategory").enummodule
331
+ PostingRegion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PostingRegion").enummodule
332
+ Visibility = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Visibility").enummodule
333
+ ContactInfoUsage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ContactInfoUsage").enummodule
334
+ HtmlSanitization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.HtmlSanitization").enummodule
335
+ CommuteMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CommuteMethod").enummodule
336
+ SkillProficiencyLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SkillProficiencyLevel").enummodule
337
+ Outcome = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Outcome").enummodule
338
+ AvailabilitySignalType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.AvailabilitySignalType").enummodule
339
+ end
340
+ end
341
+ end
342
+ end