google-cloud-talent-v4beta1 0.4.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/AUTHENTICATION.md +13 -31
  4. data/README.md +9 -4
  5. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -1
  6. data/lib/google/cloud/talent/v4beta1/common_pb.rb +3 -65
  7. data/lib/google/cloud/talent/v4beta1/company_pb.rb +2 -2
  8. data/lib/google/cloud/talent/v4beta1/company_service/client.rb +81 -0
  9. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +2 -1
  10. data/lib/google/cloud/talent/v4beta1/completion/client.rb +15 -0
  11. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +3 -2
  12. data/lib/google/cloud/talent/v4beta1/event_pb.rb +2 -16
  13. data/lib/google/cloud/talent/v4beta1/event_service/client.rb +15 -0
  14. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +2 -1
  15. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +3 -102
  16. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +0 -1
  17. data/lib/google/cloud/talent/v4beta1/job_pb.rb +2 -3
  18. data/lib/google/cloud/talent/v4beta1/job_service/client.rb +219 -23
  19. data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +95 -0
  20. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +10 -2
  21. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +2 -3
  22. data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +81 -0
  23. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +2 -1
  24. data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
  25. data/lib/google/cloud/talent/v4beta1.rb +3 -3
  26. data/proto_docs/google/api/resource.rb +10 -71
  27. data/proto_docs/google/cloud/talent/v4beta1/common.rb +10 -227
  28. data/proto_docs/google/cloud/talent/v4beta1/event.rb +1 -60
  29. data/proto_docs/google/cloud/talent/v4beta1/filters.rb +40 -482
  30. data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +1 -1
  31. data/proto_docs/google/cloud/talent/v4beta1/job.rb +1 -1
  32. data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +64 -16
  33. data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +1 -1
  34. data/proto_docs/google/protobuf/any.rb +3 -3
  35. data/proto_docs/google/type/timeofday.rb +1 -1
  36. metadata +3 -22
  37. data/lib/google/cloud/talent/v4beta1/application_pb.rb +0 -64
  38. data/lib/google/cloud/talent/v4beta1/application_service/client.rb +0 -732
  39. data/lib/google/cloud/talent/v4beta1/application_service/credentials.rb +0 -52
  40. data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +0 -155
  41. data/lib/google/cloud/talent/v4beta1/application_service.rb +0 -50
  42. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +0 -56
  43. data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +0 -54
  44. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +0 -214
  45. data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +0 -1011
  46. data/lib/google/cloud/talent/v4beta1/profile_service/credentials.rb +0 -52
  47. data/lib/google/cloud/talent/v4beta1/profile_service/paths.rb +0 -69
  48. data/lib/google/cloud/talent/v4beta1/profile_service.rb +0 -50
  49. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +0 -92
  50. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +0 -63
  51. data/proto_docs/google/cloud/talent/v4beta1/application.rb +0 -169
  52. data/proto_docs/google/cloud/talent/v4beta1/application_service.rb +0 -122
  53. data/proto_docs/google/cloud/talent/v4beta1/profile.rb +0 -811
  54. data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +0 -392
  55. data/proto_docs/google/type/date.rb +0 -53
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf7958215e7f6d3770e3cad3799a2b474f2be4f197f14d46f038af840ae7abb0
4
- data.tar.gz: 83d4b02988851fa678302d5f8f059ca45e3db457e1da0b019257ceebd3812c6a
3
+ metadata.gz: 7fd8b60946c412f3db6f1f1caaa8d0977f309af66c995711e805cf81dfa9e2b6
4
+ data.tar.gz: e4e97c622771e0d07d23ced2262c400e82630d6ef57f88f6476924fa577076c2
5
5
  SHA512:
6
- metadata.gz: e58540f80cb5c5f05bca96cceeeba554d5b34b5e8b28d4e4ddb4f6e4f10e89feadeb13366a1af2a5d85e271523a3fd8598f94551319c728d79130180d7bd9b8d
7
- data.tar.gz: 93e4a7d52d712cfe2871e31b2a355a755da1ee1a982c96f23452174c38f3bf35079ea3f3fa0e5ba83367553ba82ff92115f87f55475a8f0e3eaa3c64714f7608
6
+ metadata.gz: f9deb9418e8c3d5cd28752e65e4bd93495962d338df09b0dbc49cd6a83782129b5c604006923ac4eee681cd496224ba92d6df5eeae7b0c98dfaf3e614d5e660d
7
+ data.tar.gz: b3123b615224d3239c00fdd0772deba3b66e8a1e6b380c90d989fb6cb767d73979aea6116d9979523ffb06cdb87e0211a61fe623c64c10e2fb3a61c42b4288fe
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Cloud Talent Solution V4beta1 API
2
+ --title="Cloud Talent Solution V4beta1 API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/AUTHENTICATION.md CHANGED
@@ -27,7 +27,7 @@ export TALENT_CREDENTIALS=path/to/keyfile.json
27
27
  ```ruby
28
28
  require "google/cloud/talent/v4beta1"
29
29
 
30
- client = ::Google::Cloud::Talent::V4beta1::ApplicationService::Client.new
30
+ client = ::Google::Cloud::Talent::V4beta1::CompanyService::Client.new
31
31
  ```
32
32
 
33
33
  ## Credential Lookup
@@ -64,7 +64,7 @@ containers where writing files is difficult or not encouraged.
64
64
 
65
65
  The environment variables that google-cloud-talent-v4beta1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- {::Google::Cloud::Talent::V4beta1::ApplicationService::Credentials}):
67
+ {::Google::Cloud::Talent::V4beta1::CompanyService::Credentials}):
68
68
 
69
69
  * `TALENT_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  * `TALENT_KEYFILE` - Path to JSON file, or JSON contents
@@ -77,7 +77,7 @@ require "google/cloud/talent/v4beta1"
77
77
 
78
78
  ENV["TALENT_CREDENTIALS"] = "path/to/keyfile.json"
79
79
 
80
- client = ::Google::Cloud::Talent::V4beta1::ApplicationService::Client.new
80
+ client = ::Google::Cloud::Talent::V4beta1::CompanyService::Client.new
81
81
  ```
82
82
 
83
83
  ### Configuration
@@ -88,7 +88,7 @@ it in an environment variable. Either on an individual client initialization:
88
88
  ```ruby
89
89
  require "google/cloud/talent/v4beta1"
90
90
 
91
- client = ::Google::Cloud::Talent::V4beta1::ApplicationService::Client.new do |config|
91
+ client = ::Google::Cloud::Talent::V4beta1::CompanyService::Client.new do |config|
92
92
  config.credentials = "path/to/keyfile.json"
93
93
  end
94
94
  ```
@@ -98,11 +98,11 @@ Or globally for all clients:
98
98
  ```ruby
99
99
  require "google/cloud/talent/v4beta1"
100
100
 
101
- ::Google::Cloud::Talent::V4beta1::ApplicationService::Client.configure do |config|
101
+ ::Google::Cloud::Talent::V4beta1::CompanyService::Client.configure do |config|
102
102
  config.credentials = "path/to/keyfile.json"
103
103
  end
104
104
 
105
- client = ::Google::Cloud::Talent::V4beta1::ApplicationService::Client.new
105
+ client = ::Google::Cloud::Talent::V4beta1::CompanyService::Client.new
106
106
  ```
107
107
 
108
108
  ### Cloud SDK
@@ -120,15 +120,6 @@ To configure your system for this, simply:
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
121
121
  *should* only be used during development.
122
122
 
123
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
124
- [dev-console]: https://console.cloud.google.com/project
125
-
126
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
127
-
128
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
129
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
130
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
131
-
132
123
  ## Creating a Service Account
133
124
 
134
125
  Google Cloud requires **Service Account Credentials** to
@@ -139,31 +130,22 @@ If you are not running this client within
139
130
  [Google Cloud Platform environments](#google-cloud-platform-environments), you
140
131
  need a Google Developers service account.
141
132
 
142
- 1. Visit the [Google Developers Console][dev-console].
133
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
143
134
  2. Create a new project or click on an existing project.
144
- 3. Activate the slide-out navigation tray and select **API Manager**. From
135
+ 3. Activate the menu in the upper left and select **APIs & Services**. From
145
136
  here, you will enable the APIs that your application requires.
146
137
 
147
- ![Enable the APIs that your application requires][enable-apis]
148
-
149
138
  *Note: You may need to enable billing in order to use these services.*
150
139
 
151
140
  4. Select **Credentials** from the side navigation.
152
141
 
153
- You should see a screen like one of the following.
154
-
155
- ![Create a new service account][create-new-service-account]
156
-
157
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
158
-
159
- Find the "Add credentials" drop down and select "Service account" to be
160
- guided through downloading a new JSON key file.
142
+ Find the "Create credentials" drop down near the top of the page, and select
143
+ "Service account" to be guided through downloading a new JSON key file.
161
144
 
162
145
  If you want to re-use an existing service account, you can easily generate a
163
- new key file. Just select the account you wish to re-use, and click "Generate
164
- new JSON key":
165
-
166
- ![Re-use an existing service account][reuse-service-account]
146
+ new key file. Just select the account you wish to re-use, click the pencil
147
+ tool on the right side to edit the service account, select the **Keys** tab,
148
+ and then select **Add Key**.
167
149
 
168
150
  The key file you download will be used by this library to authenticate API
169
151
  requests and should be stored in a secure location.
data/README.md CHANGED
@@ -32,12 +32,12 @@ In order to use this library, you first need to go through the following steps:
32
32
  ```ruby
33
33
  require "google/cloud/talent/v4beta1"
34
34
 
35
- client = ::Google::Cloud::Talent::V4beta1::ApplicationService::Client.new
36
- request = ::Google::Cloud::Talent::V4beta1::CreateApplicationRequest.new # (request fields as keyword arguments...)
37
- response = client.create_application request
35
+ client = ::Google::Cloud::Talent::V4beta1::CompanyService::Client.new
36
+ request = ::Google::Cloud::Talent::V4beta1::CreateCompanyRequest.new # (request fields as keyword arguments...)
37
+ response = client.create_company request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-talent-v4beta1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/solutions/talent-solution)
@@ -69,6 +69,11 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
79
  This library is supported on Ruby 2.5+.
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/batch.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,16 +1,14 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/common.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/protobuf/timestamp_pb'
6
8
  require 'google/protobuf/wrappers_pb'
7
- require 'google/type/date_pb'
8
9
  require 'google/type/latlng_pb'
9
10
  require 'google/type/money_pb'
10
11
  require 'google/type/postal_address_pb'
11
- require 'google/type/timeofday_pb'
12
- require 'google/api/annotations_pb'
13
- require 'google/protobuf'
14
12
 
15
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
14
  add_file("google/cloud/talent/v4beta1/common.proto", :syntax => :proto3) do
@@ -64,6 +62,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
64
62
  repeated :string_values, :string, 1
65
63
  repeated :long_values, :int64, 2
66
64
  optional :filterable, :bool, 3
65
+ optional :keyword_searchable, :bool, 4
67
66
  end
68
67
  add_message "google.cloud.talent.v4beta1.SpellingCorrection" do
69
68
  optional :corrected, :bool, 1
@@ -110,30 +109,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
110
109
  value :ONE_TIME, 6
111
110
  value :OTHER_COMPENSATION_UNIT, 7
112
111
  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
112
  add_message "google.cloud.talent.v4beta1.BatchOperationMetadata" do
138
113
  optional :state, :enum, 1, "google.cloud.talent.v4beta1.BatchOperationMetadata.State"
139
114
  optional :state_description, :string, 2
@@ -254,12 +229,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
254
229
  value :SHARED_WITH_GOOGLE, 2
255
230
  value :SHARED_WITH_PUBLIC, 3
256
231
  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
232
  add_enum "google.cloud.talent.v4beta1.HtmlSanitization" do
264
233
  value :HTML_SANITIZATION_UNSPECIFIED, 0
265
234
  value :HTML_SANITIZATION_DISABLED, 1
@@ -272,29 +241,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
272
241
  value :WALKING, 3
273
242
  value :CYCLING, 4
274
243
  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
244
  end
299
245
  end
300
246
 
@@ -316,10 +262,6 @@ module Google
316
262
  CompensationInfo::CompensationRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompensationInfo.CompensationRange").msgclass
317
263
  CompensationInfo::CompensationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompensationInfo.CompensationType").enummodule
318
264
  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
265
  BatchOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchOperationMetadata").msgclass
324
266
  BatchOperationMetadata::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchOperationMetadata.State").enummodule
325
267
  CompanySize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CompanySize").enummodule
@@ -330,12 +272,8 @@ module Google
330
272
  JobCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobCategory").enummodule
331
273
  PostingRegion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PostingRegion").enummodule
332
274
  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
275
  HtmlSanitization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.HtmlSanitization").enummodule
335
276
  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
277
  end
340
278
  end
341
279
  end
@@ -1,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/company.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
8
  require 'google/cloud/talent/v4beta1/common_pb'
7
- require 'google/api/annotations_pb'
8
- require 'google/protobuf'
9
9
 
10
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_file("google/cloud/talent/v4beta1/company.proto", :syntax => :proto3) do
@@ -198,6 +198,21 @@ module Google
198
198
  #
199
199
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
200
200
  #
201
+ # @example Basic example
202
+ # require "google/cloud/talent/v4beta1"
203
+ #
204
+ # # Create a client object. The client can be reused for multiple calls.
205
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Client.new
206
+ #
207
+ # # Create a request. To set request fields, pass in keyword arguments.
208
+ # request = Google::Cloud::Talent::V4beta1::CreateCompanyRequest.new
209
+ #
210
+ # # Call the create_company method.
211
+ # result = client.create_company request
212
+ #
213
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Company.
214
+ # p result
215
+ #
201
216
  def create_company request, options = nil
202
217
  raise ::ArgumentError, "request must be provided" if request.nil?
203
218
 
@@ -275,6 +290,21 @@ module Google
275
290
  #
276
291
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
277
292
  #
293
+ # @example Basic example
294
+ # require "google/cloud/talent/v4beta1"
295
+ #
296
+ # # Create a client object. The client can be reused for multiple calls.
297
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Client.new
298
+ #
299
+ # # Create a request. To set request fields, pass in keyword arguments.
300
+ # request = Google::Cloud::Talent::V4beta1::GetCompanyRequest.new
301
+ #
302
+ # # Call the get_company method.
303
+ # result = client.get_company request
304
+ #
305
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Company.
306
+ # p result
307
+ #
278
308
  def get_company request, options = nil
279
309
  raise ::ArgumentError, "request must be provided" if request.nil?
280
310
 
@@ -353,6 +383,21 @@ module Google
353
383
  #
354
384
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
355
385
  #
386
+ # @example Basic example
387
+ # require "google/cloud/talent/v4beta1"
388
+ #
389
+ # # Create a client object. The client can be reused for multiple calls.
390
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Client.new
391
+ #
392
+ # # Create a request. To set request fields, pass in keyword arguments.
393
+ # request = Google::Cloud::Talent::V4beta1::UpdateCompanyRequest.new
394
+ #
395
+ # # Call the update_company method.
396
+ # result = client.update_company request
397
+ #
398
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Company.
399
+ # p result
400
+ #
356
401
  def update_company request, options = nil
357
402
  raise ::ArgumentError, "request must be provided" if request.nil?
358
403
 
@@ -431,6 +476,21 @@ module Google
431
476
  #
432
477
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
433
478
  #
479
+ # @example Basic example
480
+ # require "google/cloud/talent/v4beta1"
481
+ #
482
+ # # Create a client object. The client can be reused for multiple calls.
483
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Client.new
484
+ #
485
+ # # Create a request. To set request fields, pass in keyword arguments.
486
+ # request = Google::Cloud::Talent::V4beta1::DeleteCompanyRequest.new
487
+ #
488
+ # # Call the delete_company method.
489
+ # result = client.delete_company request
490
+ #
491
+ # # The returned object is of type Google::Protobuf::Empty.
492
+ # p result
493
+ #
434
494
  def delete_company request, options = nil
435
495
  raise ::ArgumentError, "request must be provided" if request.nil?
436
496
 
@@ -519,6 +579,27 @@ module Google
519
579
  #
520
580
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
521
581
  #
582
+ # @example Basic example
583
+ # require "google/cloud/talent/v4beta1"
584
+ #
585
+ # # Create a client object. The client can be reused for multiple calls.
586
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Client.new
587
+ #
588
+ # # Create a request. To set request fields, pass in keyword arguments.
589
+ # request = Google::Cloud::Talent::V4beta1::ListCompaniesRequest.new
590
+ #
591
+ # # Call the list_companies method.
592
+ # result = client.list_companies request
593
+ #
594
+ # # The returned object is of type Gapic::PagedEnumerable. You can
595
+ # # iterate over all elements by calling #each, and the enumerable
596
+ # # will lazily make API calls to fetch subsequent pages. Other
597
+ # # methods are also available for managing paging directly.
598
+ # result.each do |response|
599
+ # # Each element is of type ::Google::Cloud::Talent::V4beta1::Company.
600
+ # p response
601
+ # end
602
+ #
522
603
  def list_companies request, options = nil
523
604
  raise ::ArgumentError, "request must be provided" if request.nil?
524
605
 
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/company_service.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -9,7 +11,6 @@ require 'google/cloud/talent/v4beta1/common_pb'
9
11
  require 'google/cloud/talent/v4beta1/company_pb'
10
12
  require 'google/protobuf/empty_pb'
11
13
  require 'google/protobuf/field_mask_pb'
12
- require 'google/protobuf'
13
14
 
14
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
16
  add_file("google/cloud/talent/v4beta1/company_service.proto", :syntax => :proto3) do
@@ -213,6 +213,21 @@ module Google
213
213
  #
214
214
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
215
215
  #
216
+ # @example Basic example
217
+ # require "google/cloud/talent/v4beta1"
218
+ #
219
+ # # Create a client object. The client can be reused for multiple calls.
220
+ # client = Google::Cloud::Talent::V4beta1::Completion::Client.new
221
+ #
222
+ # # Create a request. To set request fields, pass in keyword arguments.
223
+ # request = Google::Cloud::Talent::V4beta1::CompleteQueryRequest.new
224
+ #
225
+ # # Call the complete_query method.
226
+ # result = client.complete_query request
227
+ #
228
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::CompleteQueryResponse.
229
+ # p result
230
+ #
216
231
  def complete_query request, options = nil
217
232
  raise ::ArgumentError, "request must be provided" if request.nil?
218
233
 
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/completion_service.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
5
8
  require 'google/api/field_behavior_pb'
6
9
  require 'google/api/resource_pb'
7
10
  require 'google/cloud/talent/v4beta1/common_pb'
8
- require 'google/api/client_pb'
9
- require 'google/protobuf'
10
11
 
11
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
13
  add_file("google/cloud/talent/v4beta1/completion_service.proto", :syntax => :proto3) do
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/event.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/protobuf/timestamp_pb'
6
- require 'google/api/annotations_pb'
7
- require 'google/protobuf'
8
8
 
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("google/cloud/talent/v4beta1/event.proto", :syntax => :proto3) do
@@ -15,7 +15,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
15
15
  optional :event_notes, :string, 9
16
16
  oneof :event do
17
17
  optional :job_event, :message, 5, "google.cloud.talent.v4beta1.JobEvent"
18
- optional :profile_event, :message, 6, "google.cloud.talent.v4beta1.ProfileEvent"
19
18
  end
20
19
  end
21
20
  add_message "google.cloud.talent.v4beta1.JobEvent" do
@@ -41,17 +40,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
41
40
  value :SENT_CV, 14
42
41
  value :INTERVIEW_GRANTED, 15
43
42
  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
43
  end
56
44
  end
57
45
 
@@ -62,8 +50,6 @@ module Google
62
50
  ClientEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ClientEvent").msgclass
63
51
  JobEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobEvent").msgclass
64
52
  JobEvent::JobEventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobEvent.JobEventType").enummodule
65
- ProfileEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ProfileEvent").msgclass
66
- ProfileEvent::ProfileEventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType").enummodule
67
53
  end
68
54
  end
69
55
  end
@@ -188,6 +188,21 @@ module Google
188
188
  #
189
189
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
190
190
  #
191
+ # @example Basic example
192
+ # require "google/cloud/talent/v4beta1"
193
+ #
194
+ # # Create a client object. The client can be reused for multiple calls.
195
+ # client = Google::Cloud::Talent::V4beta1::EventService::Client.new
196
+ #
197
+ # # Create a request. To set request fields, pass in keyword arguments.
198
+ # request = Google::Cloud::Talent::V4beta1::CreateClientEventRequest.new
199
+ #
200
+ # # Call the create_client_event method.
201
+ # result = client.create_client_event request
202
+ #
203
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::ClientEvent.
204
+ # p result
205
+ #
191
206
  def create_client_event request, options = nil
192
207
  raise ::ArgumentError, "request must be provided" if request.nil?
193
208
 
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/event_service.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/api/resource_pb'
8
10
  require 'google/cloud/talent/v4beta1/event_pb'
9
- require 'google/protobuf'
10
11
 
11
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
13
  add_file("google/cloud/talent/v4beta1/event_service.proto", :syntax => :proto3) do