google-cloud-talent-v4beta1 0.2.4 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +188 -190
- data/README.md +66 -2
- data/lib/google/cloud/talent/v4beta1.rb +3 -0
- data/lib/google/cloud/talent/v4beta1/application_service/client.rb +26 -20
- data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +6 -6
- data/lib/google/cloud/talent/v4beta1/company_service/client.rb +26 -20
- data/lib/google/cloud/talent/v4beta1/company_service/paths.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +6 -6
- data/lib/google/cloud/talent/v4beta1/completion/client.rb +16 -10
- data/lib/google/cloud/talent/v4beta1/completion/paths.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/event_service/client.rb +13 -7
- data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/job_service/client.rb +31 -25
- data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +96 -11
- data/lib/google/cloud/talent/v4beta1/job_service/paths.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +11 -11
- data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +27 -21
- data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +7 -7
- data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +26 -20
- data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +6 -6
- data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +6 -0
- data/proto_docs/google/api/resource.rb +50 -14
- data/proto_docs/google/longrunning/operations.rb +17 -3
- data/proto_docs/google/protobuf/any.rb +5 -2
- data/proto_docs/google/protobuf/timestamp.rb +10 -1
- data/proto_docs/google/type/latlng.rb +2 -2
- metadata +19 -11
@@ -28,31 +28,31 @@ module Google
|
|
28
28
|
# enumeration and search.
|
29
29
|
class Service
|
30
30
|
|
31
|
-
include GRPC::GenericService
|
31
|
+
include ::GRPC::GenericService
|
32
32
|
|
33
33
|
self.marshal_class_method = :encode
|
34
34
|
self.unmarshal_class_method = :decode
|
35
35
|
self.service_name = 'google.cloud.talent.v4beta1.ProfileService'
|
36
36
|
|
37
37
|
# Lists profiles by filter. The order is unspecified.
|
38
|
-
rpc :ListProfiles, Google::Cloud::Talent::V4beta1::ListProfilesRequest, Google::Cloud::Talent::V4beta1::ListProfilesResponse
|
38
|
+
rpc :ListProfiles, ::Google::Cloud::Talent::V4beta1::ListProfilesRequest, ::Google::Cloud::Talent::V4beta1::ListProfilesResponse
|
39
39
|
# Creates and returns a new profile.
|
40
|
-
rpc :CreateProfile, Google::Cloud::Talent::V4beta1::CreateProfileRequest, Google::Cloud::Talent::V4beta1::Profile
|
40
|
+
rpc :CreateProfile, ::Google::Cloud::Talent::V4beta1::CreateProfileRequest, ::Google::Cloud::Talent::V4beta1::Profile
|
41
41
|
# Gets the specified profile.
|
42
|
-
rpc :GetProfile, Google::Cloud::Talent::V4beta1::GetProfileRequest, Google::Cloud::Talent::V4beta1::Profile
|
42
|
+
rpc :GetProfile, ::Google::Cloud::Talent::V4beta1::GetProfileRequest, ::Google::Cloud::Talent::V4beta1::Profile
|
43
43
|
# Updates the specified profile and returns the updated result.
|
44
|
-
rpc :UpdateProfile, Google::Cloud::Talent::V4beta1::UpdateProfileRequest, Google::Cloud::Talent::V4beta1::Profile
|
44
|
+
rpc :UpdateProfile, ::Google::Cloud::Talent::V4beta1::UpdateProfileRequest, ::Google::Cloud::Talent::V4beta1::Profile
|
45
45
|
# Deletes the specified profile.
|
46
46
|
# Prerequisite: The profile has no associated applications or assignments
|
47
47
|
# associated.
|
48
|
-
rpc :DeleteProfile, Google::Cloud::Talent::V4beta1::DeleteProfileRequest, Google::Protobuf::Empty
|
48
|
+
rpc :DeleteProfile, ::Google::Cloud::Talent::V4beta1::DeleteProfileRequest, ::Google::Protobuf::Empty
|
49
49
|
# Searches for profiles within a tenant.
|
50
50
|
#
|
51
51
|
# For example, search by raw queries "software engineer in Mountain View" or
|
52
52
|
# search by structured filters (location filter, education filter, etc.).
|
53
53
|
#
|
54
54
|
# See [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest] for more information.
|
55
|
-
rpc :SearchProfiles, Google::Cloud::Talent::V4beta1::SearchProfilesRequest, Google::Cloud::Talent::V4beta1::SearchProfilesResponse
|
55
|
+
rpc :SearchProfiles, ::Google::Cloud::Talent::V4beta1::SearchProfilesRequest, ::Google::Cloud::Talent::V4beta1::SearchProfilesResponse
|
56
56
|
end
|
57
57
|
|
58
58
|
Stub = Service.rpc_stub_class
|
@@ -60,7 +60,7 @@ module Google
|
|
60
60
|
parent_config = while namespace.any?
|
61
61
|
parent_name = namespace.join "::"
|
62
62
|
parent_const = const_get parent_name
|
63
|
-
break parent_const.configure if parent_const
|
63
|
+
break parent_const.configure if parent_const.respond_to? :configure
|
64
64
|
namespace.pop
|
65
65
|
end
|
66
66
|
default_config = Client::Configuration.new parent_config
|
@@ -70,9 +70,9 @@ module Google
|
|
70
70
|
default_config.rpcs.get_tenant.timeout = 30.0
|
71
71
|
default_config.rpcs.get_tenant.retry_policy = {
|
72
72
|
initial_delay: 0.1,
|
73
|
-
|
74
|
-
|
75
|
-
|
73
|
+
max_delay: 60.0,
|
74
|
+
multiplier: 1.3,
|
75
|
+
retry_codes: [4, 14]
|
76
76
|
}
|
77
77
|
|
78
78
|
default_config.rpcs.update_tenant.timeout = 30.0
|
@@ -80,17 +80,17 @@ module Google
|
|
80
80
|
default_config.rpcs.delete_tenant.timeout = 30.0
|
81
81
|
default_config.rpcs.delete_tenant.retry_policy = {
|
82
82
|
initial_delay: 0.1,
|
83
|
-
|
84
|
-
|
85
|
-
|
83
|
+
max_delay: 60.0,
|
84
|
+
multiplier: 1.3,
|
85
|
+
retry_codes: [4, 14]
|
86
86
|
}
|
87
87
|
|
88
88
|
default_config.rpcs.list_tenants.timeout = 30.0
|
89
89
|
default_config.rpcs.list_tenants.retry_policy = {
|
90
90
|
initial_delay: 0.1,
|
91
|
-
|
92
|
-
|
93
|
-
|
91
|
+
max_delay: 60.0,
|
92
|
+
multiplier: 1.3,
|
93
|
+
retry_codes: [4, 14]
|
94
94
|
}
|
95
95
|
|
96
96
|
default_config
|
@@ -154,7 +154,13 @@ module Google
|
|
154
154
|
|
155
155
|
# Create credentials
|
156
156
|
credentials = @config.credentials
|
157
|
-
|
157
|
+
# Use self-signed JWT if the scope and endpoint are unchanged from default,
|
158
|
+
# but only if the default endpoint does not have a region prefix.
|
159
|
+
enable_self_signed_jwt = @config.scope == Client.configure.scope &&
|
160
|
+
@config.endpoint == Client.configure.endpoint &&
|
161
|
+
!@config.endpoint.split(".").first.include?("-")
|
162
|
+
credentials ||= Credentials.default scope: @config.scope,
|
163
|
+
enable_self_signed_jwt: enable_self_signed_jwt
|
158
164
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
159
165
|
credentials = Credentials.new credentials, scope: @config.scope
|
160
166
|
end
|
@@ -615,14 +621,14 @@ module Google
|
|
615
621
|
|
616
622
|
config_attr :endpoint, "jobs.googleapis.com", ::String
|
617
623
|
config_attr :credentials, nil do |value|
|
618
|
-
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
624
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
619
625
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
620
626
|
allowed.any? { |klass| klass === value }
|
621
627
|
end
|
622
628
|
config_attr :scope, nil, ::String, ::Array, nil
|
623
629
|
config_attr :lib_name, nil, ::String, nil
|
624
630
|
config_attr :lib_version, nil, ::String, nil
|
625
|
-
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
631
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
|
626
632
|
config_attr :interceptors, nil, ::Array, nil
|
627
633
|
config_attr :timeout, nil, ::Numeric, nil
|
628
634
|
config_attr :metadata, nil, ::Hash, nil
|
@@ -643,7 +649,7 @@ module Google
|
|
643
649
|
def rpcs
|
644
650
|
@rpcs ||= begin
|
645
651
|
parent_rpcs = nil
|
646
|
-
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config
|
652
|
+
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
|
647
653
|
Rpcs.new parent_rpcs
|
648
654
|
end
|
649
655
|
end
|
@@ -655,7 +661,7 @@ module Google
|
|
655
661
|
# Each configuration object is of type `Gapic::Config::Method` and includes
|
656
662
|
# the following configuration fields:
|
657
663
|
#
|
658
|
-
# * `timeout` (*type:* `Numeric`) - The call timeout in
|
664
|
+
# * `timeout` (*type:* `Numeric`) - The call timeout in seconds
|
659
665
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
|
660
666
|
# * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
|
661
667
|
# include the following keys:
|
@@ -694,15 +700,15 @@ module Google
|
|
694
700
|
|
695
701
|
# @private
|
696
702
|
def initialize parent_rpcs = nil
|
697
|
-
create_tenant_config = parent_rpcs
|
703
|
+
create_tenant_config = parent_rpcs.create_tenant if parent_rpcs.respond_to? :create_tenant
|
698
704
|
@create_tenant = ::Gapic::Config::Method.new create_tenant_config
|
699
|
-
get_tenant_config = parent_rpcs
|
705
|
+
get_tenant_config = parent_rpcs.get_tenant if parent_rpcs.respond_to? :get_tenant
|
700
706
|
@get_tenant = ::Gapic::Config::Method.new get_tenant_config
|
701
|
-
update_tenant_config = parent_rpcs
|
707
|
+
update_tenant_config = parent_rpcs.update_tenant if parent_rpcs.respond_to? :update_tenant
|
702
708
|
@update_tenant = ::Gapic::Config::Method.new update_tenant_config
|
703
|
-
delete_tenant_config = parent_rpcs
|
709
|
+
delete_tenant_config = parent_rpcs.delete_tenant if parent_rpcs.respond_to? :delete_tenant
|
704
710
|
@delete_tenant = ::Gapic::Config::Method.new delete_tenant_config
|
705
|
-
list_tenants_config = parent_rpcs
|
711
|
+
list_tenants_config = parent_rpcs.list_tenants if parent_rpcs.respond_to? :list_tenants
|
706
712
|
@list_tenants = ::Gapic::Config::Method.new list_tenants_config
|
707
713
|
|
708
714
|
yield self if block_given?
|
@@ -27,22 +27,22 @@ module Google
|
|
27
27
|
# A service that handles tenant management, including CRUD and enumeration.
|
28
28
|
class Service
|
29
29
|
|
30
|
-
include GRPC::GenericService
|
30
|
+
include ::GRPC::GenericService
|
31
31
|
|
32
32
|
self.marshal_class_method = :encode
|
33
33
|
self.unmarshal_class_method = :decode
|
34
34
|
self.service_name = 'google.cloud.talent.v4beta1.TenantService'
|
35
35
|
|
36
36
|
# Creates a new tenant entity.
|
37
|
-
rpc :CreateTenant, Google::Cloud::Talent::V4beta1::CreateTenantRequest, Google::Cloud::Talent::V4beta1::Tenant
|
37
|
+
rpc :CreateTenant, ::Google::Cloud::Talent::V4beta1::CreateTenantRequest, ::Google::Cloud::Talent::V4beta1::Tenant
|
38
38
|
# Retrieves specified tenant.
|
39
|
-
rpc :GetTenant, Google::Cloud::Talent::V4beta1::GetTenantRequest, Google::Cloud::Talent::V4beta1::Tenant
|
39
|
+
rpc :GetTenant, ::Google::Cloud::Talent::V4beta1::GetTenantRequest, ::Google::Cloud::Talent::V4beta1::Tenant
|
40
40
|
# Updates specified tenant.
|
41
|
-
rpc :UpdateTenant, Google::Cloud::Talent::V4beta1::UpdateTenantRequest, Google::Cloud::Talent::V4beta1::Tenant
|
41
|
+
rpc :UpdateTenant, ::Google::Cloud::Talent::V4beta1::UpdateTenantRequest, ::Google::Cloud::Talent::V4beta1::Tenant
|
42
42
|
# Deletes specified tenant.
|
43
|
-
rpc :DeleteTenant, Google::Cloud::Talent::V4beta1::DeleteTenantRequest, Google::Protobuf::Empty
|
43
|
+
rpc :DeleteTenant, ::Google::Cloud::Talent::V4beta1::DeleteTenantRequest, ::Google::Protobuf::Empty
|
44
44
|
# Lists all tenants associated with the project.
|
45
|
-
rpc :ListTenants, Google::Cloud::Talent::V4beta1::ListTenantsRequest, Google::Cloud::Talent::V4beta1::ListTenantsResponse
|
45
|
+
rpc :ListTenants, ::Google::Cloud::Talent::V4beta1::ListTenantsRequest, ::Google::Cloud::Talent::V4beta1::ListTenantsResponse
|
46
46
|
end
|
47
47
|
|
48
48
|
Stub = Service.rpc_stub_class
|
@@ -54,6 +54,12 @@ module Google
|
|
54
54
|
# This indicates that the field may be set once in a request to create a
|
55
55
|
# resource, but may not be changed thereafter.
|
56
56
|
IMMUTABLE = 5
|
57
|
+
|
58
|
+
# Denotes that a (repeated) field is an unordered list.
|
59
|
+
# This indicates that the service may provide the elements of the list
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
|
+
# provided. Additionally, the list's order may or may not be stable.
|
62
|
+
UNORDERED_LIST = 6
|
57
63
|
end
|
58
64
|
end
|
59
65
|
end
|
@@ -43,12 +43,12 @@ module Google
|
|
43
43
|
#
|
44
44
|
# The ResourceDescriptor Yaml config will look like:
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
46
|
+
# resources:
|
47
|
+
# - type: "pubsub.googleapis.com/Topic"
|
48
|
+
# name_descriptor:
|
49
|
+
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
+
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
+
# parent_name_extractor: "projects/{project}"
|
52
52
|
#
|
53
53
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
54
|
# live under multiple parents.
|
@@ -183,15 +183,24 @@ module Google
|
|
183
183
|
# }
|
184
184
|
# @!attribute [rw] plural
|
185
185
|
# @return [::String]
|
186
|
-
# The plural name used in the resource name, such as
|
187
|
-
# the name of 'projects/\\{project}'
|
188
|
-
#
|
186
|
+
# The plural name used in the resource name and permission names, such as
|
187
|
+
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
188
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
|
189
|
+
# concept of the `plural` field in k8s CRD spec
|
189
190
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
191
|
+
#
|
192
|
+
# Note: The plural form is required even for singleton resources. See
|
193
|
+
# https://aip.dev/156
|
190
194
|
# @!attribute [rw] singular
|
191
195
|
# @return [::String]
|
192
196
|
# The same concept of the `singular` field in k8s CRD spec
|
193
197
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
194
198
|
# Such as "project" for the `resourcemanager.googleapis.com/Project` type.
|
199
|
+
# @!attribute [rw] style
|
200
|
+
# @return [::Array<::Google::Api::ResourceDescriptor::Style>]
|
201
|
+
# Style flag(s) for this resource.
|
202
|
+
# These indicate that a resource is expected to conform to a given
|
203
|
+
# style. See the specific style flags for additional information.
|
195
204
|
class ResourceDescriptor
|
196
205
|
include ::Google::Protobuf::MessageExts
|
197
206
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -211,6 +220,22 @@ module Google
|
|
211
220
|
# that from being necessary once there are multiple patterns.)
|
212
221
|
FUTURE_MULTI_PATTERN = 2
|
213
222
|
end
|
223
|
+
|
224
|
+
# A flag representing a specific style that a resource claims to conform to.
|
225
|
+
module Style
|
226
|
+
# The unspecified value. Do not use.
|
227
|
+
STYLE_UNSPECIFIED = 0
|
228
|
+
|
229
|
+
# This resource is intended to be "declarative-friendly".
|
230
|
+
#
|
231
|
+
# Declarative-friendly resources must be more strictly consistent, and
|
232
|
+
# setting this to true communicates to tools that this resource should
|
233
|
+
# adhere to declarative-friendly expectations.
|
234
|
+
#
|
235
|
+
# Note: This is used by the API linter (linter.aip.dev) to enable
|
236
|
+
# additional checks.
|
237
|
+
DECLARATIVE_FRIENDLY = 1
|
238
|
+
end
|
214
239
|
end
|
215
240
|
|
216
241
|
# Defines a proto annotation that describes a string field that refers to
|
@@ -226,6 +251,17 @@ module Google
|
|
226
251
|
# type: "pubsub.googleapis.com/Topic"
|
227
252
|
# }];
|
228
253
|
# }
|
254
|
+
#
|
255
|
+
# Occasionally, a field may reference an arbitrary resource. In this case,
|
256
|
+
# APIs use the special value * in their resource reference.
|
257
|
+
#
|
258
|
+
# Example:
|
259
|
+
#
|
260
|
+
# message GetIamPolicyRequest {
|
261
|
+
# string resource = 2 [(google.api.resource_reference) = {
|
262
|
+
# type: "*"
|
263
|
+
# }];
|
264
|
+
# }
|
229
265
|
# @!attribute [rw] child_type
|
230
266
|
# @return [::String]
|
231
267
|
# The resource type of a child collection that the annotated field
|
@@ -234,11 +270,11 @@ module Google
|
|
234
270
|
#
|
235
271
|
# Example:
|
236
272
|
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
273
|
+
# message ListLogEntriesRequest {
|
274
|
+
# string parent = 1 [(google.api.resource_reference) = {
|
275
|
+
# child_type: "logging.googleapis.com/LogEntry"
|
276
|
+
# };
|
277
|
+
# }
|
242
278
|
class ResourceReference
|
243
279
|
include ::Google::Protobuf::MessageExts
|
244
280
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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
|
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
|
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
|
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 :=
|
60
|
+
# any, err := anypb.New(foo)
|
61
|
+
# if err != nil {
|
62
|
+
# ...
|
63
|
+
# }
|
61
64
|
# ...
|
62
65
|
# foo := &pb.Foo{}
|
63
|
-
# if err :=
|
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
|
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
|
23
|
-
# of doubles
|
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-v4beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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:
|
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:
|
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:
|
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.
|
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.
|
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-v4beta1 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: []
|
@@ -264,14 +272,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
264
272
|
requirements:
|
265
273
|
- - ">="
|
266
274
|
- !ruby/object:Gem::Version
|
267
|
-
version: '2.
|
275
|
+
version: '2.5'
|
268
276
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
269
277
|
requirements:
|
270
278
|
- - ">="
|
271
279
|
- !ruby/object:Gem::Version
|
272
280
|
version: '0'
|
273
281
|
requirements: []
|
274
|
-
rubygems_version: 3.
|
282
|
+
rubygems_version: 3.2.17
|
275
283
|
signing_key:
|
276
284
|
specification_version: 4
|
277
285
|
summary: API Client library for the Cloud Talent Solution V4beta1 API
|