google-cloud-talent-v4 0.1.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +188 -190
  3. data/README.md +66 -2
  4. data/lib/google/cloud/talent/v4.rb +3 -0
  5. data/lib/google/cloud/talent/v4/common_pb.rb +1 -3
  6. data/lib/google/cloud/talent/v4/company_pb.rb +1 -1
  7. data/lib/google/cloud/talent/v4/company_service/client.rb +31 -30
  8. data/lib/google/cloud/talent/v4/company_service_services_pb.rb +1 -1
  9. data/lib/google/cloud/talent/v4/completion/client.rb +17 -13
  10. data/lib/google/cloud/talent/v4/completion_service_pb.rb +1 -1
  11. data/lib/google/cloud/talent/v4/completion_service_services_pb.rb +1 -1
  12. data/lib/google/cloud/talent/v4/event_pb.rb +1 -1
  13. data/lib/google/cloud/talent/v4/event_service/client.rb +14 -8
  14. data/lib/google/cloud/talent/v4/event_service_services_pb.rb +1 -1
  15. data/lib/google/cloud/talent/v4/filters_pb.rb +1 -1
  16. data/lib/google/cloud/talent/v4/job_pb.rb +1 -1
  17. data/lib/google/cloud/talent/v4/job_service/client.rb +30 -24
  18. data/lib/google/cloud/talent/v4/job_service/operations.rb +95 -10
  19. data/lib/google/cloud/talent/v4/job_service_services_pb.rb +1 -1
  20. data/lib/google/cloud/talent/v4/tenant_pb.rb +1 -1
  21. data/lib/google/cloud/talent/v4/tenant_service/client.rb +28 -25
  22. data/lib/google/cloud/talent/v4/tenant_service_services_pb.rb +1 -1
  23. data/lib/google/cloud/talent/v4/version.rb +1 -1
  24. data/proto_docs/google/api/field_behavior.rb +6 -0
  25. data/proto_docs/google/cloud/talent/v4/common.rb +56 -122
  26. data/proto_docs/google/cloud/talent/v4/company.rb +4 -7
  27. data/proto_docs/google/cloud/talent/v4/company_service.rb +6 -11
  28. data/proto_docs/google/cloud/talent/v4/completion_service.rb +10 -21
  29. data/proto_docs/google/cloud/talent/v4/event.rb +9 -17
  30. data/proto_docs/google/cloud/talent/v4/event_service.rb +2 -2
  31. data/proto_docs/google/cloud/talent/v4/filters.rb +34 -51
  32. data/proto_docs/google/cloud/talent/v4/histogram.rb +2 -6
  33. data/proto_docs/google/cloud/talent/v4/job.rb +55 -83
  34. data/proto_docs/google/cloud/talent/v4/tenant.rb +1 -2
  35. data/proto_docs/google/cloud/talent/v4/tenant_service.rb +3 -6
  36. data/proto_docs/google/longrunning/operations.rb +17 -3
  37. data/proto_docs/google/protobuf/any.rb +5 -2
  38. data/proto_docs/google/protobuf/timestamp.rb +10 -1
  39. data/proto_docs/google/type/latlng.rb +2 -2
  40. metadata +19 -11
@@ -36,8 +36,7 @@ module Google
36
36
  # "projects/foo/tenants/bar".
37
37
  # @!attribute [rw] external_id
38
38
  # @return [::String]
39
- # Required. Client side tenant identifier, used to uniquely identify the
40
- # tenant.
39
+ # Required. Client side tenant identifier, used to uniquely identify the tenant.
41
40
  #
42
41
  # The maximum number of allowed characters is 255.
43
42
  class Tenant
@@ -51,16 +51,13 @@ module Google
51
51
  # Request for updating a specified tenant.
52
52
  # @!attribute [rw] tenant
53
53
  # @return [::Google::Cloud::Talent::V4::Tenant]
54
- # Required. The tenant resource to replace the current resource in the
55
- # system.
54
+ # Required. The tenant resource to replace the current resource in the system.
56
55
  # @!attribute [rw] update_mask
57
56
  # @return [::Google::Protobuf::FieldMask]
58
57
  # Strongly recommended for the best service experience.
59
58
  #
60
- # If {::Google::Cloud::Talent::V4::UpdateTenantRequest#update_mask update_mask} is
61
- # provided, only the specified fields in
62
- # {::Google::Cloud::Talent::V4::UpdateTenantRequest#tenant tenant} are updated.
63
- # Otherwise all the fields are updated.
59
+ # If {::Google::Cloud::Talent::V4::UpdateTenantRequest#update_mask update_mask} is provided, only the specified fields in
60
+ # {::Google::Cloud::Talent::V4::UpdateTenantRequest#tenant tenant} are updated. Otherwise all the fields are updated.
64
61
  #
65
62
  # A field mask to specify the tenant fields to be updated. Only
66
63
  # top level fields of {::Google::Cloud::Talent::V4::Tenant Tenant} are supported.
@@ -25,7 +25,7 @@ module Google
25
25
  # @return [::String]
26
26
  # The server-assigned name, which is only unique within the same service that
27
27
  # originally returns it. If you use the default HTTP mapping, the
28
- # `name` should have the format of `operations/some/unique/name`.
28
+ # `name` should be a resource name ending with `operations/{unique_id}`.
29
29
  # @!attribute [rw] metadata
30
30
  # @return [::Google::Protobuf::Any]
31
31
  # Service-specific metadata associated with the operation. It typically
@@ -35,7 +35,7 @@ module Google
35
35
  # @!attribute [rw] done
36
36
  # @return [::Boolean]
37
37
  # If the value is `false`, it means the operation is still in progress.
38
- # If true, the operation is completed, and either `error` or `response` is
38
+ # If `true`, the operation is completed, and either `error` or `response` is
39
39
  # available.
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
@@ -67,7 +67,7 @@ module Google
67
67
  # The request message for Operations.ListOperations.
68
68
  # @!attribute [rw] name
69
69
  # @return [::String]
70
- # The name of the operation collection.
70
+ # The name of the operation's parent resource.
71
71
  # @!attribute [rw] filter
72
72
  # @return [::String]
73
73
  # The standard list filter.
@@ -112,6 +112,20 @@ module Google
112
112
  extend ::Google::Protobuf::MessageExts::ClassMethods
113
113
  end
114
114
 
115
+ # The request message for Operations.WaitOperation.
116
+ # @!attribute [rw] name
117
+ # @return [::String]
118
+ # The name of the operation resource to wait on.
119
+ # @!attribute [rw] timeout
120
+ # @return [::Google::Protobuf::Duration]
121
+ # The maximum duration to wait before timing out. If left blank, the wait
122
+ # will be at most the time permitted by the underlying HTTP/RPC protocol.
123
+ # If RPC context deadline is also specified, the shorter one will be used.
124
+ class WaitOperationRequest
125
+ include ::Google::Protobuf::MessageExts
126
+ extend ::Google::Protobuf::MessageExts::ClassMethods
127
+ end
128
+
115
129
  # A message representing the message types used by a long-running operation.
116
130
  #
117
131
  # Example:
@@ -57,10 +57,13 @@ module Google
57
57
  # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
- # any, err := ptypes.MarshalAny(foo)
60
+ # any, err := anypb.New(foo)
61
+ # if err != nil {
62
+ # ...
63
+ # }
61
64
  # ...
62
65
  # foo := &pb.Foo{}
63
- # if err := ptypes.UnmarshalAny(any, foo); err != nil {
66
+ # if err := any.UnmarshalTo(foo); err != nil {
64
67
  # ...
65
68
  # }
66
69
  #
@@ -70,7 +70,16 @@ module Google
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
72
  #
73
- # Example 5: Compute Timestamp from current time in Python.
73
+ # Example 5: Compute Timestamp from Java `Instant.now()`.
74
+ #
75
+ # Instant now = Instant.now();
76
+ #
77
+ # Timestamp timestamp =
78
+ # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
+ # .setNanos(now.getNano()).build();
80
+ #
81
+ #
82
+ # Example 6: Compute Timestamp from current time in Python.
74
83
  #
75
84
  # timestamp = Timestamp()
76
85
  # timestamp.GetCurrentTime()
@@ -19,8 +19,8 @@
19
19
 
20
20
  module Google
21
21
  module Type
22
- # An object representing a latitude/longitude pair. This is expressed as a pair
23
- # of doubles representing degrees latitude and degrees longitude. Unless
22
+ # An object that represents a latitude/longitude pair. This is expressed as a
23
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
24
24
  # specified otherwise, this must conform to the
25
25
  # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
26
26
  # standard</a>. Values must be within normalized ranges.
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-talent-v4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-18 00:00:00.000000000 Z
11
+ date: 2021-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.5'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '0.3'
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.5'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.3'
32
+ version: 2.a
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: google-cloud-errors
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +50,14 @@ dependencies:
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: 1.24.0
53
+ version: 1.25.1
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: 1.24.0
60
+ version: 1.25.1
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: minitest
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -154,7 +160,9 @@ description: Transform your job search and candidate matching capabilities with
154
160
  Talent Solution, designed to support enterprise talent acquisition technology and
155
161
  evolve with your growing needs. This AI solution includes features such as Job Search
156
162
  and Profile Search to provide candidates and employers with an enhanced talent acquisition
157
- experience.
163
+ experience. Note that google-cloud-talent-v4 is a version-specific client library.
164
+ For most uses, we recommend installing the main client library google-cloud-talent
165
+ instead. See the readme for more details.
158
166
  email: googleapis-packages@google.com
159
167
  executables: []
160
168
  extensions: []
@@ -244,14 +252,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
244
252
  requirements:
245
253
  - - ">="
246
254
  - !ruby/object:Gem::Version
247
- version: '2.4'
255
+ version: '2.5'
248
256
  required_rubygems_version: !ruby/object:Gem::Requirement
249
257
  requirements:
250
258
  - - ">="
251
259
  - !ruby/object:Gem::Version
252
260
  version: '0'
253
261
  requirements: []
254
- rubygems_version: 3.1.4
262
+ rubygems_version: 3.2.17
255
263
  signing_key:
256
264
  specification_version: 4
257
265
  summary: API Client library for the Cloud Talent Solution V4 API