google-cloud-talent 0.10.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -1
  3. data/AUTHENTICATION.md +51 -59
  4. data/LICENSE.md +203 -0
  5. data/MIGRATING.md +347 -0
  6. data/README.md +35 -25
  7. data/lib/{google/cloud/talent/v4beta1/doc/google/protobuf/empty.rb → google-cloud-talent.rb} +4 -14
  8. data/lib/google/cloud/talent.rb +253 -441
  9. data/lib/google/cloud/talent/version.rb +6 -2
  10. metadata +62 -111
  11. data/LICENSE +0 -201
  12. data/lib/google/cloud/talent/v4beta1.rb +0 -543
  13. data/lib/google/cloud/talent/v4beta1/application_pb.rb +0 -63
  14. data/lib/google/cloud/talent/v4beta1/application_service_client.rb +0 -527
  15. data/lib/google/cloud/talent/v4beta1/application_service_client_config.json +0 -51
  16. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +0 -55
  17. data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +0 -55
  18. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -18
  19. data/lib/google/cloud/talent/v4beta1/common_pb.rb +0 -341
  20. data/lib/google/cloud/talent/v4beta1/company_pb.rb +0 -41
  21. data/lib/google/cloud/talent/v4beta1/company_service_client.rb +0 -536
  22. data/lib/google/cloud/talent/v4beta1/company_service_client_config.json +0 -51
  23. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +0 -56
  24. data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +0 -55
  25. data/lib/google/cloud/talent/v4beta1/completion_client.rb +0 -344
  26. data/lib/google/cloud/talent/v4beta1/completion_client_config.json +0 -31
  27. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +0 -56
  28. data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +0 -47
  29. data/lib/google/cloud/talent/v4beta1/credentials.rb +0 -42
  30. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application.rb +0 -162
  31. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application_service.rb +0 -100
  32. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +0 -1057
  33. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +0 -107
  34. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +0 -116
  35. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +0 -130
  36. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +0 -224
  37. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +0 -36
  38. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +0 -763
  39. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +0 -50
  40. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +0 -331
  41. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +0 -694
  42. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +0 -750
  43. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +0 -361
  44. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +0 -70
  45. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +0 -96
  46. data/lib/google/cloud/talent/v4beta1/doc/google/longrunning/operations.rb +0 -51
  47. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/any.rb +0 -131
  48. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/duration.rb +0 -91
  49. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/field_mask.rb +0 -222
  50. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/timestamp.rb +0 -113
  51. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/wrappers.rb +0 -34
  52. data/lib/google/cloud/talent/v4beta1/doc/google/rpc/status.rb +0 -39
  53. data/lib/google/cloud/talent/v4beta1/doc/google/type/date.rb +0 -43
  54. data/lib/google/cloud/talent/v4beta1/doc/google/type/latlng.rb +0 -31
  55. data/lib/google/cloud/talent/v4beta1/doc/google/type/money.rb +0 -36
  56. data/lib/google/cloud/talent/v4beta1/doc/google/type/postal_address.rb +0 -128
  57. data/lib/google/cloud/talent/v4beta1/doc/google/type/timeofday.rb +0 -37
  58. data/lib/google/cloud/talent/v4beta1/event_pb.rb +0 -69
  59. data/lib/google/cloud/talent/v4beta1/event_service_client.rb +0 -271
  60. data/lib/google/cloud/talent/v4beta1/event_service_client_config.json +0 -31
  61. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +0 -27
  62. data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +0 -52
  63. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +0 -187
  64. data/lib/google/cloud/talent/v4beta1/helpers.rb +0 -179
  65. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +0 -27
  66. data/lib/google/cloud/talent/v4beta1/job_pb.rb +0 -72
  67. data/lib/google/cloud/talent/v4beta1/job_service_client.rb +0 -1521
  68. data/lib/google/cloud/talent/v4beta1/job_service_client_config.json +0 -76
  69. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +0 -166
  70. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +0 -87
  71. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +0 -213
  72. data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +0 -765
  73. data/lib/google/cloud/talent/v4beta1/profile_service_client_config.json +0 -56
  74. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +0 -91
  75. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +0 -64
  76. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +0 -34
  77. data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +0 -474
  78. data/lib/google/cloud/talent/v4beta1/tenant_service_client_config.json +0 -51
  79. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +0 -55
  80. data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +0 -54
@@ -1,69 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/talent/v4beta1/event.proto
3
-
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/api/field_behavior_pb'
8
- require 'google/protobuf/timestamp_pb'
9
- require 'google/api/annotations_pb'
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_message "google.cloud.talent.v4beta1.ClientEvent" do
12
- optional :request_id, :string, 1
13
- optional :event_id, :string, 2
14
- optional :create_time, :message, 4, "google.protobuf.Timestamp"
15
- optional :event_notes, :string, 9
16
- oneof :event do
17
- optional :job_event, :message, 5, "google.cloud.talent.v4beta1.JobEvent"
18
- optional :profile_event, :message, 6, "google.cloud.talent.v4beta1.ProfileEvent"
19
- end
20
- end
21
- add_message "google.cloud.talent.v4beta1.JobEvent" do
22
- optional :type, :enum, 1, "google.cloud.talent.v4beta1.JobEvent.JobEventType"
23
- repeated :jobs, :string, 2
24
- optional :profile, :string, 3
25
- end
26
- add_enum "google.cloud.talent.v4beta1.JobEvent.JobEventType" do
27
- value :JOB_EVENT_TYPE_UNSPECIFIED, 0
28
- value :IMPRESSION, 1
29
- value :VIEW, 2
30
- value :VIEW_REDIRECT, 3
31
- value :APPLICATION_START, 4
32
- value :APPLICATION_FINISH, 5
33
- value :APPLICATION_QUICK_SUBMISSION, 6
34
- value :APPLICATION_REDIRECT, 7
35
- value :APPLICATION_START_FROM_SEARCH, 8
36
- value :APPLICATION_REDIRECT_FROM_SEARCH, 9
37
- value :APPLICATION_COMPANY_SUBMIT, 10
38
- value :BOOKMARK, 11
39
- value :NOTIFICATION, 12
40
- value :HIRED, 13
41
- value :SENT_CV, 14
42
- value :INTERVIEW_GRANTED, 15
43
- end
44
- add_message "google.cloud.talent.v4beta1.ProfileEvent" do
45
- optional :type, :enum, 1, "google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType"
46
- repeated :profiles, :string, 2
47
- repeated :jobs, :string, 6
48
- end
49
- add_enum "google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType" do
50
- value :PROFILE_EVENT_TYPE_UNSPECIFIED, 0
51
- value :IMPRESSION, 1
52
- value :VIEW, 2
53
- value :BOOKMARK, 3
54
- end
55
- end
56
-
57
- module Google
58
- module Cloud
59
- module Talent
60
- module V4beta1
61
- ClientEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ClientEvent").msgclass
62
- JobEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobEvent").msgclass
63
- JobEvent::JobEventType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobEvent.JobEventType").enummodule
64
- ProfileEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ProfileEvent").msgclass
65
- ProfileEvent::ProfileEventType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType").enummodule
66
- end
67
- end
68
- end
69
- end
@@ -1,271 +0,0 @@
1
- # Copyright 2020 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
- #
15
- # EDITING INSTRUCTIONS
16
- # This file was generated from the file
17
- # https://github.com/googleapis/googleapis/blob/master/google/cloud/talent/v4beta1/event_service.proto,
18
- # and updates to that file get reflected here through a refresh process.
19
- # For the short term, the refresh process will only be runnable by Google
20
- # engineers.
21
-
22
-
23
- require "json"
24
- require "pathname"
25
-
26
- require "google/gax"
27
-
28
- require "google/cloud/talent/v4beta1/event_service_pb"
29
- require "google/cloud/talent/v4beta1/credentials"
30
- require "google/cloud/talent/version"
31
-
32
- module Google
33
- module Cloud
34
- module Talent
35
- module V4beta1
36
- # A service handles client event report.
37
- #
38
- # @!attribute [r] event_service_stub
39
- # @return [Google::Cloud::Talent::V4beta1::EventService::Stub]
40
- class EventServiceClient
41
- # @private
42
- attr_reader :event_service_stub
43
-
44
- # The default address of the service.
45
- SERVICE_ADDRESS = "jobs.googleapis.com".freeze
46
-
47
- # The default port of the service.
48
- DEFAULT_SERVICE_PORT = 443
49
-
50
- # The default set of gRPC interceptors.
51
- GRPC_INTERCEPTORS = []
52
-
53
- DEFAULT_TIMEOUT = 30
54
-
55
- # The scopes needed to make gRPC calls to all of the methods defined in
56
- # this service.
57
- ALL_SCOPES = [
58
- "https://www.googleapis.com/auth/cloud-platform",
59
- "https://www.googleapis.com/auth/jobs"
60
- ].freeze
61
-
62
-
63
- PROJECT_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
64
- "projects/{project}"
65
- )
66
-
67
- private_constant :PROJECT_PATH_TEMPLATE
68
-
69
- TENANT_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
70
- "projects/{project}/tenants/{tenant}"
71
- )
72
-
73
- private_constant :TENANT_PATH_TEMPLATE
74
-
75
- # Returns a fully-qualified project resource name string.
76
- # @param project [String]
77
- # @return [String]
78
- def self.project_path project
79
- PROJECT_PATH_TEMPLATE.render(
80
- :"project" => project
81
- )
82
- end
83
-
84
- # Returns a fully-qualified tenant resource name string.
85
- # @param project [String]
86
- # @param tenant [String]
87
- # @return [String]
88
- def self.tenant_path project, tenant
89
- TENANT_PATH_TEMPLATE.render(
90
- :"project" => project,
91
- :"tenant" => tenant
92
- )
93
- end
94
-
95
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
96
- # Provides the means for authenticating requests made by the client. This parameter can
97
- # be many types.
98
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
99
- # authenticating requests made by this client.
100
- # A `String` will be treated as the path to the keyfile to be used for the construction of
101
- # credentials for this client.
102
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
103
- # credentials for this client.
104
- # A `GRPC::Core::Channel` will be used to make calls through.
105
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
106
- # should already be composed with a `GRPC::Core::CallCredentials` object.
107
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
108
- # metadata for requests, generally, to give OAuth credentials.
109
- # @param scopes [Array<String>]
110
- # The OAuth scopes for this service. This parameter is ignored if
111
- # an updater_proc is supplied.
112
- # @param client_config [Hash]
113
- # A Hash for call options for each method. See
114
- # Google::Gax#construct_settings for the structure of
115
- # this data. Falls back to the default config if not specified
116
- # or the specified config is missing data points.
117
- # @param timeout [Numeric]
118
- # The default timeout, in seconds, for calls made through this client.
119
- # @param metadata [Hash]
120
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
121
- # @param service_address [String]
122
- # Override for the service hostname, or `nil` to leave as the default.
123
- # @param service_port [Integer]
124
- # Override for the service port, or `nil` to leave as the default.
125
- # @param exception_transformer [Proc]
126
- # An optional proc that intercepts any exceptions raised during an API call to inject
127
- # custom error handling.
128
- def initialize \
129
- credentials: nil,
130
- scopes: ALL_SCOPES,
131
- client_config: {},
132
- timeout: DEFAULT_TIMEOUT,
133
- metadata: nil,
134
- service_address: nil,
135
- service_port: nil,
136
- exception_transformer: nil,
137
- lib_name: nil,
138
- lib_version: ""
139
- # These require statements are intentionally placed here to initialize
140
- # the gRPC module only when it's required.
141
- # See https://github.com/googleapis/toolkit/issues/446
142
- require "google/gax/grpc"
143
- require "google/cloud/talent/v4beta1/event_service_services_pb"
144
-
145
- credentials ||= Google::Cloud::Talent::V4beta1::Credentials.default
146
-
147
- if credentials.is_a?(String) || credentials.is_a?(Hash)
148
- updater_proc = Google::Cloud::Talent::V4beta1::Credentials.new(credentials).updater_proc
149
- end
150
- if credentials.is_a?(GRPC::Core::Channel)
151
- channel = credentials
152
- end
153
- if credentials.is_a?(GRPC::Core::ChannelCredentials)
154
- chan_creds = credentials
155
- end
156
- if credentials.is_a?(Proc)
157
- updater_proc = credentials
158
- end
159
- if credentials.is_a?(Google::Auth::Credentials)
160
- updater_proc = credentials.updater_proc
161
- end
162
-
163
- package_version = Google::Cloud::Talent::VERSION
164
-
165
- google_api_client = "gl-ruby/#{RUBY_VERSION}"
166
- google_api_client << " #{lib_name}/#{lib_version}" if lib_name
167
- google_api_client << " gapic/#{package_version} gax/#{Google::Gax::VERSION}"
168
- google_api_client << " grpc/#{GRPC::VERSION}"
169
- google_api_client.freeze
170
-
171
- headers = { :"x-goog-api-client" => google_api_client }
172
- if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
173
- headers[:"x-goog-user-project"] = credentials.quota_project_id
174
- end
175
- headers.merge!(metadata) unless metadata.nil?
176
- client_config_file = Pathname.new(__dir__).join(
177
- "event_service_client_config.json"
178
- )
179
- defaults = client_config_file.open do |f|
180
- Google::Gax.construct_settings(
181
- "google.cloud.talent.v4beta1.EventService",
182
- JSON.parse(f.read),
183
- client_config,
184
- Google::Gax::Grpc::STATUS_CODE_NAMES,
185
- timeout,
186
- errors: Google::Gax::Grpc::API_ERRORS,
187
- metadata: headers
188
- )
189
- end
190
-
191
- # Allow overriding the service path/port in subclasses.
192
- service_path = service_address || self.class::SERVICE_ADDRESS
193
- port = service_port || self.class::DEFAULT_SERVICE_PORT
194
- interceptors = self.class::GRPC_INTERCEPTORS
195
- @event_service_stub = Google::Gax::Grpc.create_stub(
196
- service_path,
197
- port,
198
- chan_creds: chan_creds,
199
- channel: channel,
200
- updater_proc: updater_proc,
201
- scopes: scopes,
202
- interceptors: interceptors,
203
- &Google::Cloud::Talent::V4beta1::EventService::Stub.method(:new)
204
- )
205
-
206
- @create_client_event = Google::Gax.create_api_call(
207
- @event_service_stub.method(:create_client_event),
208
- defaults["create_client_event"],
209
- exception_transformer: exception_transformer,
210
- params_extractor: proc do |request|
211
- {'parent' => request.parent}
212
- end
213
- )
214
- end
215
-
216
- # Service calls
217
-
218
- # Report events issued when end user interacts with customer's application
219
- # that uses Cloud Talent Solution. You may inspect the created events in
220
- # [self service
221
- # tools](https://console.cloud.google.com/talent-solution/overview).
222
- # [Learn
223
- # more](https://cloud.google.com/talent-solution/docs/management-tools)
224
- # about self service tools.
225
- #
226
- # @param parent [String]
227
- # Required. Resource name of the tenant under which the event is created.
228
- #
229
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
230
- # "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
231
- # is created, for example, "projects/foo".
232
- # @param client_event [Google::Cloud::Talent::V4beta1::ClientEvent | Hash]
233
- # Required. Events issued when end user interacts with customer's application that
234
- # uses Cloud Talent Solution.
235
- # A hash of the same form as `Google::Cloud::Talent::V4beta1::ClientEvent`
236
- # can also be provided.
237
- # @param options [Google::Gax::CallOptions]
238
- # Overrides the default settings for this call, e.g, timeout,
239
- # retries, etc.
240
- # @yield [result, operation] Access the result along with the RPC operation
241
- # @yieldparam result [Google::Cloud::Talent::V4beta1::ClientEvent]
242
- # @yieldparam operation [GRPC::ActiveCall::Operation]
243
- # @return [Google::Cloud::Talent::V4beta1::ClientEvent]
244
- # @raise [Google::Gax::GaxError] if the RPC is aborted.
245
- # @example
246
- # require "google/cloud/talent"
247
- #
248
- # event_client = Google::Cloud::Talent::Event.new(version: :v4beta1)
249
- # formatted_parent = Google::Cloud::Talent::V4beta1::EventServiceClient.project_path("[PROJECT]")
250
- #
251
- # # TODO: Initialize `client_event`:
252
- # client_event = {}
253
- # response = event_client.create_client_event(formatted_parent, client_event)
254
-
255
- def create_client_event \
256
- parent,
257
- client_event,
258
- options: nil,
259
- &block
260
- req = {
261
- parent: parent,
262
- client_event: client_event
263
- }.delete_if { |_, v| v.nil? }
264
- req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::CreateClientEventRequest)
265
- @create_client_event.call(req, options, &block)
266
- end
267
- end
268
- end
269
- end
270
- end
271
- end
@@ -1,31 +0,0 @@
1
- {
2
- "interfaces": {
3
- "google.cloud.talent.v4beta1.EventService": {
4
- "retry_codes": {
5
- "idempotent": [
6
- "DEADLINE_EXCEEDED",
7
- "UNAVAILABLE"
8
- ],
9
- "non_idempotent": []
10
- },
11
- "retry_params": {
12
- "default": {
13
- "initial_retry_delay_millis": 100,
14
- "retry_delay_multiplier": 1.3,
15
- "max_retry_delay_millis": 60000,
16
- "initial_rpc_timeout_millis": 20000,
17
- "rpc_timeout_multiplier": 1.0,
18
- "max_rpc_timeout_millis": 20000,
19
- "total_timeout_millis": 600000
20
- }
21
- },
22
- "methods": {
23
- "CreateClientEvent": {
24
- "timeout_millis": 30000,
25
- "retry_codes_name": "non_idempotent",
26
- "retry_params_name": "default"
27
- }
28
- }
29
- }
30
- }
31
- }
@@ -1,27 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/talent/v4beta1/event_service.proto
3
-
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/api/annotations_pb'
8
- require 'google/api/client_pb'
9
- require 'google/api/field_behavior_pb'
10
- require 'google/api/resource_pb'
11
- require 'google/cloud/talent/v4beta1/event_pb'
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_message "google.cloud.talent.v4beta1.CreateClientEventRequest" do
14
- optional :parent, :string, 1
15
- optional :client_event, :message, 2, "google.cloud.talent.v4beta1.ClientEvent"
16
- end
17
- end
18
-
19
- module Google
20
- module Cloud
21
- module Talent
22
- module V4beta1
23
- CreateClientEventRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CreateClientEventRequest").msgclass
24
- end
25
- end
26
- end
27
- end
@@ -1,52 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/talent/v4beta1/event_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
-
20
- require 'grpc'
21
- require 'google/cloud/talent/v4beta1/event_service_pb'
22
-
23
- module Google
24
- module Cloud
25
- module Talent
26
- module V4beta1
27
- module EventService
28
- # A service handles client event report.
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.EventService'
36
-
37
- # Report events issued when end user interacts with customer's application
38
- # that uses Cloud Talent Solution. You may inspect the created events in
39
- # [self service
40
- # tools](https://console.cloud.google.com/talent-solution/overview).
41
- # [Learn
42
- # more](https://cloud.google.com/talent-solution/docs/management-tools)
43
- # about self service tools.
44
- rpc :CreateClientEvent, CreateClientEventRequest, ClientEvent
45
- end
46
-
47
- Stub = Service.rpc_stub_class
48
- end
49
- end
50
- end
51
- end
52
- end