google-cloud-talent-v4 0.6.3 → 0.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58c1430143e17954727aedd14867a2ded0ffd111c5216da4c8cbaeb76f6bb7d9
4
- data.tar.gz: e506d624ce2f5a4b77991a9f274c1bf96707e42851d671bc014520fc48037511
3
+ metadata.gz: 592e84f512d7f92b7ff3c0d6d018e0017c5e03579936fa8b635ef2bb0e222292
4
+ data.tar.gz: eb259933766b2b2d37f5bafa980439a368ddd25d56b078a25ff724b45803972a
5
5
  SHA512:
6
- metadata.gz: 7d4a8263c37cf543c63c00dc5003009d1400942dd03e537d2a0ac1e1284c29e1be701e4975fa65b1333b06849af75eae0fede5a3723978e8daaae242164b663b
7
- data.tar.gz: a0996945d3426a02c4f3ddea7db8c8003d996961757494d6ececfddc577b02d2b85bd55979eef750b13cfd6d06b695f1ff55262e411cc95041f62c5a07f4e3ed
6
+ metadata.gz: d397158230a5dc823b84ac82b822fabe2f7660396c316166c620513b3c8fe62236d29f703be131bc48ac03c6e146ab753ed86e18fafab84265d28389295a6313
7
+ data.tar.gz: 055ceffc36ff65d663576fcecc8df2a283bf06d5868edf3a38487f1645b450866576e23b0ac2c54f3d607626aa6c2f17cea726bc39c72d3caf51701f317579f1
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Talent::V4::CreateCompanyRequest.new # (request field
37
37
  response = client.create_company request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-talent-v4/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/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,16 +69,21 @@ 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
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89
 
@@ -1,14 +1,14 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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
9
  require 'google/type/latlng_pb'
8
10
  require 'google/type/money_pb'
9
11
  require 'google/type/postal_address_pb'
10
- require 'google/api/annotations_pb'
11
- require 'google/protobuf'
12
12
 
13
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  add_file("google/cloud/talent/v4/common.proto", :syntax => :proto3) do
@@ -1,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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/v4/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/v4/company.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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/v4/common_pb'
9
11
  require 'google/cloud/talent/v4/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/v4/company_service.proto", :syntax => :proto3) do
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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/v4/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/v4/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/v4/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/v4/event.proto", :syntax => :proto3) do
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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/v4/event_pb'
9
- require 'google/protobuf'
10
11
 
11
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
13
  add_file("google/cloud/talent/v4/event_service.proto", :syntax => :proto3) do
@@ -1,13 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/filters.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/cloud/talent/v4/common_pb'
6
8
  require 'google/protobuf/duration_pb'
7
9
  require 'google/type/latlng_pb'
8
10
  require 'google/type/timeofday_pb'
9
- require 'google/api/annotations_pb'
10
- require 'google/protobuf'
11
11
 
12
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
13
  add_file("google/cloud/talent/v4/filters.proto", :syntax => :proto3) do
@@ -38,6 +38,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
38
38
  value :TELECOMMUTE_PREFERENCE_UNSPECIFIED, 0
39
39
  value :TELECOMMUTE_EXCLUDED, 1
40
40
  value :TELECOMMUTE_ALLOWED, 2
41
+ value :TELECOMMUTE_JOBS_EXCLUDED, 3
41
42
  end
42
43
  add_message "google.cloud.talent.v4.CompensationFilter" do
43
44
  optional :type, :enum, 1, "google.cloud.talent.v4.CompensationFilter.FilterType"
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/histogram.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,12 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/job.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/v4/common_pb'
7
9
  require 'google/protobuf/timestamp_pb'
8
- require 'google/api/annotations_pb'
9
- require 'google/protobuf'
10
10
 
11
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  add_file("google/cloud/talent/v4/job.proto", :syntax => :proto3) do
@@ -1062,6 +1062,8 @@ module Google
1062
1062
  # * `count(numeric_histogram_facet, list of buckets)`: Count the number of
1063
1063
  # matching entities within each bucket.
1064
1064
  #
1065
+ # A maximum of 200 histogram buckets are supported.
1066
+ #
1065
1067
  # Data types:
1066
1068
  #
1067
1069
  # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
@@ -1390,6 +1392,8 @@ module Google
1390
1392
  # * `count(numeric_histogram_facet, list of buckets)`: Count the number of
1391
1393
  # matching entities within each bucket.
1392
1394
  #
1395
+ # A maximum of 200 histogram buckets are supported.
1396
+ #
1393
1397
  # Data types:
1394
1398
  #
1395
1399
  # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
@@ -95,6 +95,9 @@ module Google
95
95
  channel_args: @config.channel_args,
96
96
  interceptors: @config.interceptors
97
97
  )
98
+
99
+ # Used by an LRO wrapper for some methods of this service
100
+ @operations_client = self
98
101
  end
99
102
 
100
103
  # Service calls
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/job_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'
@@ -10,12 +12,10 @@ require 'google/cloud/talent/v4/filters_pb'
10
12
  require 'google/cloud/talent/v4/histogram_pb'
11
13
  require 'google/cloud/talent/v4/job_pb'
12
14
  require 'google/longrunning/operations_pb'
13
- require 'google/protobuf/any_pb'
14
15
  require 'google/protobuf/duration_pb'
15
16
  require 'google/protobuf/empty_pb'
16
17
  require 'google/protobuf/field_mask_pb'
17
18
  require 'google/rpc/status_pb'
18
- require 'google/protobuf'
19
19
 
20
20
  Google::Protobuf::DescriptorPool.generated_pool.build do
21
21
  add_file("google/cloud/talent/v4/job_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/v4/tenant.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_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/v4/tenant.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/tenant_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/v4/common_pb'
9
11
  require 'google/cloud/talent/v4/tenant_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/v4/tenant_service.proto", :syntax => :proto3) do
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Talent
23
23
  module V4
24
- VERSION = "0.6.3"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -29,6 +29,8 @@ module Google
29
29
  ##
30
30
  # To load this package, including all its services, and instantiate a client:
31
31
  #
32
+ # @example
33
+ #
32
34
  # require "google/cloud/talent/v4"
33
35
  # client = ::Google::Cloud::Talent::V4::CompanyService::Client.new
34
36
  #
@@ -88,8 +88,24 @@ module Google
88
88
  # Currently we don't support sorting by commute time.
89
89
  # @!attribute [rw] company_display_names
90
90
  # @return [::Array<::String>]
91
- # This filter specifies the exact company {::Google::Cloud::Talent::V4::Company#display_name Company.display_name}
92
- # of the jobs to search against.
91
+ # This filter specifies the company {::Google::Cloud::Talent::V4::Company#display_name Company.display_name}
92
+ # of the jobs to search against. The company name must match the value
93
+ # exactly.
94
+ #
95
+ # Alternatively, the value being searched for can be wrapped in different
96
+ # match operators.
97
+ # `SUBSTRING_MATCH([value])`
98
+ # The company name must contain a case insensitive substring match of the
99
+ # value. Using this function may increase latency.
100
+ #
101
+ # Sample Value: `SUBSTRING_MATCH(google)`
102
+ #
103
+ # `MULTI_WORD_TOKEN_MATCH([value])`
104
+ # The value will be treated as a multi word token and the company name must
105
+ # contain a case insensitive match of the value. Using this function may
106
+ # increase latency.
107
+ #
108
+ # Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
93
109
  #
94
110
  # If a value isn't specified, jobs within the search results are
95
111
  # associated with any company.
@@ -208,13 +224,15 @@ module Google
208
224
  # @return [::Google::Cloud::Talent::V4::LocationFilter::TelecommutePreference]
209
225
  # Allows the client to return jobs without a
210
226
  # set location, specifically, telecommuting jobs (telecommuting is considered
211
- # by the service as a special location.
227
+ # by the service as a special location).
212
228
  # {::Google::Cloud::Talent::V4::Job#posting_region Job.posting_region} indicates if a job permits telecommuting.
213
229
  # If this field is set to {::Google::Cloud::Talent::V4::LocationFilter::TelecommutePreference::TELECOMMUTE_ALLOWED TelecommutePreference.TELECOMMUTE_ALLOWED},
214
230
  # telecommuting jobs are searched, and {::Google::Cloud::Talent::V4::LocationFilter#address address} and {::Google::Cloud::Talent::V4::LocationFilter#lat_lng lat_lng} are
215
231
  # ignored. If not set or set to
216
- # {::Google::Cloud::Talent::V4::LocationFilter::TelecommutePreference::TELECOMMUTE_EXCLUDED TelecommutePreference.TELECOMMUTE_EXCLUDED}, telecommute job are not
217
- # searched.
232
+ # {::Google::Cloud::Talent::V4::LocationFilter::TelecommutePreference::TELECOMMUTE_EXCLUDED TelecommutePreference.TELECOMMUTE_EXCLUDED}, the telecommute status of
233
+ # the jobs is ignored. Jobs that have {::Google::Cloud::Talent::V4::PostingRegion::TELECOMMUTE PostingRegion.TELECOMMUTE} and have
234
+ # additional {::Google::Cloud::Talent::V4::Job#addresses Job.addresses} may still be matched based on other location
235
+ # filters using {::Google::Cloud::Talent::V4::LocationFilter#address address} or [latlng][].
218
236
  #
219
237
  # This filter can be used by itself to search exclusively for telecommuting
220
238
  # jobs, or it can be combined with another location
@@ -233,11 +251,15 @@ module Google
233
251
  # Default value if the telecommute preference isn't specified.
234
252
  TELECOMMUTE_PREFERENCE_UNSPECIFIED = 0
235
253
 
236
- # Exclude telecommute jobs.
254
+ # Deprecated: Ignore telecommute status of jobs. Use
255
+ # TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
237
256
  TELECOMMUTE_EXCLUDED = 1
238
257
 
239
258
  # Allow telecommute jobs.
240
259
  TELECOMMUTE_ALLOWED = 2
260
+
261
+ # Exclude telecommute jobs.
262
+ TELECOMMUTE_JOBS_EXCLUDED = 3
241
263
  end
242
264
  end
243
265
 
@@ -192,6 +192,8 @@ module Google
192
192
  # * `count(numeric_histogram_facet, list of buckets)`: Count the number of
193
193
  # matching entities within each bucket.
194
194
  #
195
+ # A maximum of 200 histogram buckets are supported.
196
+ #
195
197
  # Data types:
196
198
  #
197
199
  # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
47
+ # Example 3: Pack and unpack a message in Python.
48
48
  #
49
49
  # foo = Foo(...)
50
50
  # any = Any()
@@ -54,7 +54,7 @@ module Google
54
54
  # any.Unpack(foo)
55
55
  # ...
56
56
  #
57
- # Example 4: Pack and unpack a message in Go
57
+ # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
60
  # any, err := anypb.New(foo)
@@ -75,7 +75,7 @@ module Google
75
75
  #
76
76
  #
77
77
  # JSON
78
- # ====
78
+ #
79
79
  # The JSON representation of an `Any` value uses the regular
80
80
  # representation of the deserialized, embedded message, with an
81
81
  # additional field `@type` which contains the type URL. Example:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-talent-v4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: '0.10'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: '0.10'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.25.1
53
+ version: 1.26.1
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.25.1
60
+ version: 1.26.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '5.14'
67
+ version: '5.16'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '5.14'
74
+ version: '5.16'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest-focus
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '12.0'
109
+ version: '13.0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '12.0'
116
+ version: '13.0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: redcarpet
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -252,14 +252,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
252
252
  requirements:
253
253
  - - ">="
254
254
  - !ruby/object:Gem::Version
255
- version: '2.5'
255
+ version: '2.6'
256
256
  required_rubygems_version: !ruby/object:Gem::Requirement
257
257
  requirements:
258
258
  - - ">="
259
259
  - !ruby/object:Gem::Version
260
260
  version: '0'
261
261
  requirements: []
262
- rubygems_version: 3.3.4
262
+ rubygems_version: 3.3.14
263
263
  signing_key:
264
264
  specification_version: 4
265
265
  summary: API Client library for the Cloud Talent Solution V4 API