google-cloud-talent-v4beta1 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +6 -6
  3. data/README.md +1 -1
  4. data/lib/google/cloud/talent/v4beta1.rb +1 -1
  5. data/lib/google/cloud/talent/v4beta1/application_service.rb +1 -1
  6. data/lib/google/cloud/talent/v4beta1/application_service/client.rb +124 -124
  7. data/lib/google/cloud/talent/v4beta1/application_service/credentials.rb +1 -1
  8. data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +17 -17
  9. data/lib/google/cloud/talent/v4beta1/company_service.rb +1 -1
  10. data/lib/google/cloud/talent/v4beta1/company_service/client.rb +126 -126
  11. data/lib/google/cloud/talent/v4beta1/company_service/credentials.rb +1 -1
  12. data/lib/google/cloud/talent/v4beta1/company_service/paths.rb +8 -8
  13. data/lib/google/cloud/talent/v4beta1/completion.rb +1 -1
  14. data/lib/google/cloud/talent/v4beta1/completion/client.rb +60 -60
  15. data/lib/google/cloud/talent/v4beta1/completion/credentials.rb +1 -1
  16. data/lib/google/cloud/talent/v4beta1/completion/paths.rb +8 -8
  17. data/lib/google/cloud/talent/v4beta1/event_service.rb +1 -1
  18. data/lib/google/cloud/talent/v4beta1/event_service/client.rb +53 -53
  19. data/lib/google/cloud/talent/v4beta1/event_service/credentials.rb +1 -1
  20. data/lib/google/cloud/talent/v4beta1/event_service/paths.rb +3 -3
  21. data/lib/google/cloud/talent/v4beta1/job_service.rb +1 -1
  22. data/lib/google/cloud/talent/v4beta1/job_service/client.rb +320 -320
  23. data/lib/google/cloud/talent/v4beta1/job_service/credentials.rb +1 -1
  24. data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +100 -100
  25. data/lib/google/cloud/talent/v4beta1/job_service/paths.rb +13 -13
  26. data/lib/google/cloud/talent/v4beta1/profile_service.rb +1 -1
  27. data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +176 -176
  28. data/lib/google/cloud/talent/v4beta1/profile_service/credentials.rb +1 -1
  29. data/lib/google/cloud/talent/v4beta1/profile_service/paths.rb +5 -5
  30. data/lib/google/cloud/talent/v4beta1/tenant_service.rb +1 -1
  31. data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +124 -124
  32. data/lib/google/cloud/talent/v4beta1/tenant_service/credentials.rb +1 -1
  33. data/lib/google/cloud/talent/v4beta1/tenant_service/paths.rb +3 -3
  34. data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
  35. data/proto_docs/google/api/resource.rb +12 -12
  36. data/proto_docs/google/cloud/talent/v4beta1/application.rb +18 -18
  37. data/proto_docs/google/cloud/talent/v4beta1/application_service.rb +27 -27
  38. data/proto_docs/google/cloud/talent/v4beta1/common.rb +167 -167
  39. data/proto_docs/google/cloud/talent/v4beta1/company.rb +21 -21
  40. data/proto_docs/google/cloud/talent/v4beta1/company_service.rb +29 -29
  41. data/proto_docs/google/cloud/talent/v4beta1/completion_service.rb +28 -28
  42. data/proto_docs/google/cloud/talent/v4beta1/event.rb +30 -30
  43. data/proto_docs/google/cloud/talent/v4beta1/event_service.rb +4 -4
  44. data/proto_docs/google/cloud/talent/v4beta1/filters.rb +197 -197
  45. data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +14 -14
  46. data/proto_docs/google/cloud/talent/v4beta1/job.rb +83 -83
  47. data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +163 -163
  48. data/proto_docs/google/cloud/talent/v4beta1/profile.rb +202 -202
  49. data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +82 -82
  50. data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +8 -8
  51. data/proto_docs/google/cloud/talent/v4beta1/tenant_service.rb +27 -27
  52. data/proto_docs/google/longrunning/operations.rb +30 -30
  53. data/proto_docs/google/protobuf/any.rb +4 -4
  54. data/proto_docs/google/protobuf/duration.rb +4 -4
  55. data/proto_docs/google/protobuf/empty.rb +2 -2
  56. data/proto_docs/google/protobuf/field_mask.rb +3 -3
  57. data/proto_docs/google/protobuf/timestamp.rb +4 -4
  58. data/proto_docs/google/protobuf/wrappers.rb +27 -27
  59. data/proto_docs/google/rpc/status.rb +6 -6
  60. data/proto_docs/google/type/date.rb +6 -6
  61. data/proto_docs/google/type/latlng.rb +4 -4
  62. data/proto_docs/google/type/money.rb +5 -5
  63. data/proto_docs/google/type/postal_address.rb +13 -13
  64. data/proto_docs/google/type/timeofday.rb +7 -7
  65. metadata +2 -2
@@ -24,7 +24,7 @@ module Google
24
24
  module V4beta1
25
25
  module JobService
26
26
  # Credentials for the JobService API.
27
- class Credentials < Google::Auth::Credentials
27
+ class Credentials < ::Google::Auth::Credentials
28
28
  self.scope = [
29
29
  "https://www.googleapis.com/auth/cloud-platform",
30
30
  "https://www.googleapis.com/auth/jobs"
@@ -86,8 +86,8 @@ module Google
86
86
  credentials = Credentials.new credentials, scope: @config.scope
87
87
  end
88
88
 
89
- @operations_stub = Gapic::ServiceStub.new(
90
- Google::Longrunning::Operations::Stub,
89
+ @operations_stub = ::Gapic::ServiceStub.new(
90
+ ::Google::Longrunning::Operations::Stub,
91
91
  credentials: credentials,
92
92
  endpoint: @config.endpoint,
93
93
  channel_args: @config.channel_args,
@@ -106,12 +106,12 @@ module Google
106
106
  #
107
107
  # @overload list_operations(request, options = nil)
108
108
  # Pass arguments to `list_operations` via a request object, either of type
109
- # {Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
109
+ # {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
110
110
  #
111
- # @param request [Google::Longrunning::ListOperationsRequest, Hash]
111
+ # @param request [::Google::Longrunning::ListOperationsRequest, ::Hash]
112
112
  # A request object representing the call parameters. Required. To specify no
113
113
  # parameters, or to keep all the default parameter values, pass an empty Hash.
114
- # @param options [Gapic::CallOptions, Hash]
114
+ # @param options [::Gapic::CallOptions, ::Hash]
115
115
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
116
116
  #
117
117
  # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
@@ -119,36 +119,36 @@ module Google
119
119
  # least one keyword argument is required. To specify no parameters, or to keep all
120
120
  # the default parameter values, pass an empty Hash as a request object (see above).
121
121
  #
122
- # @param name [String]
122
+ # @param name [::String]
123
123
  # The name of the operation collection.
124
- # @param filter [String]
124
+ # @param filter [::String]
125
125
  # The standard list filter.
126
- # @param page_size [Integer]
126
+ # @param page_size [::Integer]
127
127
  # The standard list page size.
128
- # @param page_token [String]
128
+ # @param page_token [::String]
129
129
  # The standard list page token.
130
130
  #
131
131
  # @yield [response, operation] Access the result along with the RPC operation
132
- # @yieldparam response [Gapic::PagedEnumerable<Gapic::Operation>]
133
- # @yieldparam operation [GRPC::ActiveCall::Operation]
132
+ # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
133
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
134
134
  #
135
- # @return [Gapic::PagedEnumerable<Gapic::Operation>]
135
+ # @return [::Gapic::PagedEnumerable<::Gapic::Operation>]
136
136
  #
137
- # @raise [Google::Cloud::Error] if the RPC is aborted.
137
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
138
138
  #
139
139
  def list_operations request, options = nil
140
- raise ArgumentError, "request must be provided" if request.nil?
140
+ raise ::ArgumentError, "request must be provided" if request.nil?
141
141
 
142
- request = Gapic::Protobuf.coerce request, to: Google::Longrunning::ListOperationsRequest
142
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Longrunning::ListOperationsRequest
143
143
 
144
144
  # Converts hash and nil to an options object
145
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
145
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
146
146
 
147
147
  # Customize the options with defaults
148
148
  metadata = @config.rpcs.list_operations.metadata.to_h
149
149
 
150
150
  # Set x-goog-api-client and x-goog-user-project headers
151
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
151
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
152
152
  lib_name: @config.lib_name, lib_version: @config.lib_version,
153
153
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
154
154
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -166,13 +166,13 @@ module Google
166
166
  retry_policy: @config.retry_policy
167
167
 
168
168
  @operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
169
- wrap_lro_operation = ->(op_response) { Gapic::Operation.new op_response, @operations_client }
170
- response = Gapic::PagedEnumerable.new @operations_stub, :list_operations, request, response, operation, options, format_resource: wrap_lro_operation
169
+ wrap_lro_operation = ->(op_response) { ::Gapic::Operation.new op_response, @operations_client }
170
+ response = ::Gapic::PagedEnumerable.new @operations_stub, :list_operations, request, response, operation, options, format_resource: wrap_lro_operation
171
171
  yield response, operation if block_given?
172
172
  return response
173
173
  end
174
- rescue GRPC::BadStatus => e
175
- raise Google::Cloud::Error.from_error(e)
174
+ rescue ::GRPC::BadStatus => e
175
+ raise ::Google::Cloud::Error.from_error(e)
176
176
  end
177
177
 
178
178
  ##
@@ -182,12 +182,12 @@ module Google
182
182
  #
183
183
  # @overload get_operation(request, options = nil)
184
184
  # Pass arguments to `get_operation` via a request object, either of type
185
- # {Google::Longrunning::GetOperationRequest} or an equivalent Hash.
185
+ # {::Google::Longrunning::GetOperationRequest} or an equivalent Hash.
186
186
  #
187
- # @param request [Google::Longrunning::GetOperationRequest, Hash]
187
+ # @param request [::Google::Longrunning::GetOperationRequest, ::Hash]
188
188
  # A request object representing the call parameters. Required. To specify no
189
189
  # parameters, or to keep all the default parameter values, pass an empty Hash.
190
- # @param options [Gapic::CallOptions, Hash]
190
+ # @param options [::Gapic::CallOptions, ::Hash]
191
191
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
192
192
  #
193
193
  # @overload get_operation(name: nil)
@@ -195,30 +195,30 @@ module Google
195
195
  # least one keyword argument is required. To specify no parameters, or to keep all
196
196
  # the default parameter values, pass an empty Hash as a request object (see above).
197
197
  #
198
- # @param name [String]
198
+ # @param name [::String]
199
199
  # The name of the operation resource.
200
200
  #
201
201
  # @yield [response, operation] Access the result along with the RPC operation
202
- # @yieldparam response [Gapic::Operation]
203
- # @yieldparam operation [GRPC::ActiveCall::Operation]
202
+ # @yieldparam response [::Gapic::Operation]
203
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
204
204
  #
205
- # @return [Gapic::Operation]
205
+ # @return [::Gapic::Operation]
206
206
  #
207
- # @raise [Google::Cloud::Error] if the RPC is aborted.
207
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
208
208
  #
209
209
  def get_operation request, options = nil
210
- raise ArgumentError, "request must be provided" if request.nil?
210
+ raise ::ArgumentError, "request must be provided" if request.nil?
211
211
 
212
- request = Gapic::Protobuf.coerce request, to: Google::Longrunning::GetOperationRequest
212
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Longrunning::GetOperationRequest
213
213
 
214
214
  # Converts hash and nil to an options object
215
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
215
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
216
216
 
217
217
  # Customize the options with defaults
218
218
  metadata = @config.rpcs.get_operation.metadata.to_h
219
219
 
220
220
  # Set x-goog-api-client and x-goog-user-project headers
221
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
221
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
222
222
  lib_name: @config.lib_name, lib_version: @config.lib_version,
223
223
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
224
224
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -236,12 +236,12 @@ module Google
236
236
  retry_policy: @config.retry_policy
237
237
 
238
238
  @operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
239
- response = Gapic::Operation.new response, @operations_client, options: options
239
+ response = ::Gapic::Operation.new response, @operations_client, options: options
240
240
  yield response, operation if block_given?
241
241
  return response
242
242
  end
243
- rescue GRPC::BadStatus => e
244
- raise Google::Cloud::Error.from_error(e)
243
+ rescue ::GRPC::BadStatus => e
244
+ raise ::Google::Cloud::Error.from_error(e)
245
245
  end
246
246
 
247
247
  ##
@@ -252,12 +252,12 @@ module Google
252
252
  #
253
253
  # @overload delete_operation(request, options = nil)
254
254
  # Pass arguments to `delete_operation` via a request object, either of type
255
- # {Google::Longrunning::DeleteOperationRequest} or an equivalent Hash.
255
+ # {::Google::Longrunning::DeleteOperationRequest} or an equivalent Hash.
256
256
  #
257
- # @param request [Google::Longrunning::DeleteOperationRequest, Hash]
257
+ # @param request [::Google::Longrunning::DeleteOperationRequest, ::Hash]
258
258
  # A request object representing the call parameters. Required. To specify no
259
259
  # parameters, or to keep all the default parameter values, pass an empty Hash.
260
- # @param options [Gapic::CallOptions, Hash]
260
+ # @param options [::Gapic::CallOptions, ::Hash]
261
261
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
262
262
  #
263
263
  # @overload delete_operation(name: nil)
@@ -265,30 +265,30 @@ module Google
265
265
  # least one keyword argument is required. To specify no parameters, or to keep all
266
266
  # the default parameter values, pass an empty Hash as a request object (see above).
267
267
  #
268
- # @param name [String]
268
+ # @param name [::String]
269
269
  # The name of the operation resource to be deleted.
270
270
  #
271
271
  # @yield [response, operation] Access the result along with the RPC operation
272
- # @yieldparam response [Google::Protobuf::Empty]
273
- # @yieldparam operation [GRPC::ActiveCall::Operation]
272
+ # @yieldparam response [::Google::Protobuf::Empty]
273
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
274
274
  #
275
- # @return [Google::Protobuf::Empty]
275
+ # @return [::Google::Protobuf::Empty]
276
276
  #
277
- # @raise [Google::Cloud::Error] if the RPC is aborted.
277
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
278
278
  #
279
279
  def delete_operation request, options = nil
280
- raise ArgumentError, "request must be provided" if request.nil?
280
+ raise ::ArgumentError, "request must be provided" if request.nil?
281
281
 
282
- request = Gapic::Protobuf.coerce request, to: Google::Longrunning::DeleteOperationRequest
282
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Longrunning::DeleteOperationRequest
283
283
 
284
284
  # Converts hash and nil to an options object
285
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
285
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
286
286
 
287
287
  # Customize the options with defaults
288
288
  metadata = @config.rpcs.delete_operation.metadata.to_h
289
289
 
290
290
  # Set x-goog-api-client and x-goog-user-project headers
291
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
291
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
292
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
293
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
294
294
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -309,8 +309,8 @@ module Google
309
309
  yield response, operation if block_given?
310
310
  return response
311
311
  end
312
- rescue GRPC::BadStatus => e
313
- raise Google::Cloud::Error.from_error(e)
312
+ rescue ::GRPC::BadStatus => e
313
+ raise ::Google::Cloud::Error.from_error(e)
314
314
  end
315
315
 
316
316
  ##
@@ -322,17 +322,17 @@ module Google
322
322
  # other methods to check whether the cancellation succeeded or whether the
323
323
  # operation completed despite cancellation. On successful cancellation,
324
324
  # the operation is not deleted; instead, it becomes an operation with
325
- # an {Google::Longrunning::Operation#error Operation.error} value with a {Google::Rpc::Status#code google.rpc.Status.code} of 1,
325
+ # an {::Google::Longrunning::Operation#error Operation.error} value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
326
326
  # corresponding to `Code.CANCELLED`.
327
327
  #
328
328
  # @overload cancel_operation(request, options = nil)
329
329
  # Pass arguments to `cancel_operation` via a request object, either of type
330
- # {Google::Longrunning::CancelOperationRequest} or an equivalent Hash.
330
+ # {::Google::Longrunning::CancelOperationRequest} or an equivalent Hash.
331
331
  #
332
- # @param request [Google::Longrunning::CancelOperationRequest, Hash]
332
+ # @param request [::Google::Longrunning::CancelOperationRequest, ::Hash]
333
333
  # A request object representing the call parameters. Required. To specify no
334
334
  # parameters, or to keep all the default parameter values, pass an empty Hash.
335
- # @param options [Gapic::CallOptions, Hash]
335
+ # @param options [::Gapic::CallOptions, ::Hash]
336
336
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
337
337
  #
338
338
  # @overload cancel_operation(name: nil)
@@ -340,30 +340,30 @@ module Google
340
340
  # least one keyword argument is required. To specify no parameters, or to keep all
341
341
  # the default parameter values, pass an empty Hash as a request object (see above).
342
342
  #
343
- # @param name [String]
343
+ # @param name [::String]
344
344
  # The name of the operation resource to be cancelled.
345
345
  #
346
346
  # @yield [response, operation] Access the result along with the RPC operation
347
- # @yieldparam response [Google::Protobuf::Empty]
348
- # @yieldparam operation [GRPC::ActiveCall::Operation]
347
+ # @yieldparam response [::Google::Protobuf::Empty]
348
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
349
349
  #
350
- # @return [Google::Protobuf::Empty]
350
+ # @return [::Google::Protobuf::Empty]
351
351
  #
352
- # @raise [Google::Cloud::Error] if the RPC is aborted.
352
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
353
353
  #
354
354
  def cancel_operation request, options = nil
355
- raise ArgumentError, "request must be provided" if request.nil?
355
+ raise ::ArgumentError, "request must be provided" if request.nil?
356
356
 
357
- request = Gapic::Protobuf.coerce request, to: Google::Longrunning::CancelOperationRequest
357
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Longrunning::CancelOperationRequest
358
358
 
359
359
  # Converts hash and nil to an options object
360
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
360
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
361
361
 
362
362
  # Customize the options with defaults
363
363
  metadata = @config.rpcs.cancel_operation.metadata.to_h
364
364
 
365
365
  # Set x-goog-api-client and x-goog-user-project headers
366
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
366
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
367
367
  lib_name: @config.lib_name, lib_version: @config.lib_version,
368
368
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
369
369
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -384,8 +384,8 @@ module Google
384
384
  yield response, operation if block_given?
385
385
  return response
386
386
  end
387
- rescue GRPC::BadStatus => e
388
- raise Google::Cloud::Error.from_error(e)
387
+ rescue ::GRPC::BadStatus => e
388
+ raise ::Google::Cloud::Error.from_error(e)
389
389
  end
390
390
 
391
391
  ##
@@ -395,7 +395,7 @@ module Google
395
395
  # providing control over timeouts, retry behavior, logging, transport
396
396
  # parameters, and other low-level controls. Certain parameters can also be
397
397
  # applied individually to specific RPCs. See
398
- # {Google::Longrunning::Operations::Client::Configuration::Rpcs}
398
+ # {::Google::Longrunning::Operations::Client::Configuration::Rpcs}
399
399
  # for a list of RPCs that can be configured independently.
400
400
  #
401
401
  # Configuration can be applied globally to all clients, or to a single client
@@ -406,22 +406,22 @@ module Google
406
406
  # To modify the global config, setting the timeout for list_operations
407
407
  # to 20 seconds, and all remaining timeouts to 10 seconds:
408
408
  #
409
- # Google::Longrunning::Operations::Client.configure do |config|
410
- # config.timeout = 10_000
411
- # config.rpcs.list_operations.timeout = 20_000
409
+ # ::Google::Longrunning::Operations::Client.configure do |config|
410
+ # config.timeout = 10.0
411
+ # config.rpcs.list_operations.timeout = 20.0
412
412
  # end
413
413
  #
414
414
  # To apply the above configuration only to a new client:
415
415
  #
416
- # client = Google::Longrunning::Operations::Client.new do |config|
417
- # config.timeout = 10_000
418
- # config.rpcs.list_operations.timeout = 20_000
416
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
417
+ # config.timeout = 10.0
418
+ # config.rpcs.list_operations.timeout = 20.0
419
419
  # end
420
420
  #
421
421
  # @!attribute [rw] endpoint
422
422
  # The hostname or hostname:port of the service endpoint.
423
423
  # Defaults to `"jobs.googleapis.com"`.
424
- # @return [String]
424
+ # @return [::String]
425
425
  # @!attribute [rw] credentials
426
426
  # Credentials to send with calls. You may provide any of the following types:
427
427
  # * (`String`) The path to a service account key file in JSON format
@@ -433,29 +433,29 @@ module Google
433
433
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
434
434
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
435
435
  # * (`nil`) indicating no credentials
436
- # @return [Object]
436
+ # @return [::Object]
437
437
  # @!attribute [rw] scope
438
438
  # The OAuth scopes
439
- # @return [Array<String>]
439
+ # @return [::Array<::String>]
440
440
  # @!attribute [rw] lib_name
441
441
  # The library name as recorded in instrumentation and logging
442
- # @return [String]
442
+ # @return [::String]
443
443
  # @!attribute [rw] lib_version
444
444
  # The library version as recorded in instrumentation and logging
445
- # @return [String]
445
+ # @return [::String]
446
446
  # @!attribute [rw] channel_args
447
447
  # Extra parameters passed to the gRPC channel. Note: this is ignored if a
448
448
  # `GRPC::Core::Channel` object is provided as the credential.
449
- # @return [Hash]
449
+ # @return [::Hash]
450
450
  # @!attribute [rw] interceptors
451
451
  # An array of interceptors that are run before calls are executed.
452
- # @return [Array<GRPC::ClientInterceptor>]
452
+ # @return [::Array<::GRPC::ClientInterceptor>]
453
453
  # @!attribute [rw] timeout
454
- # The call timeout in milliseconds.
455
- # @return [Numeric]
454
+ # The call timeout in seconds.
455
+ # @return [::Numeric]
456
456
  # @!attribute [rw] metadata
457
457
  # Additional gRPC headers to be sent with the call.
458
- # @return [Hash{Symbol=>String}]
458
+ # @return [::Hash{::Symbol=>::String}]
459
459
  # @!attribute [rw] retry_policy
460
460
  # The retry policy. The value is a hash with the following keys:
461
461
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
@@ -463,10 +463,10 @@ module Google
463
463
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
464
464
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
465
465
  # trigger a retry.
466
- # @return [Hash]
466
+ # @return [::Hash]
467
467
  #
468
468
  class Configuration
469
- extend Gapic::Config
469
+ extend ::Gapic::Config
470
470
 
471
471
  config_attr :endpoint, "jobs.googleapis.com", String
472
472
  config_attr :credentials, nil do |value|
@@ -474,14 +474,14 @@ module Google
474
474
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
475
475
  allowed.any? { |klass| klass === value }
476
476
  end
477
- config_attr :scope, nil, String, Array, nil
478
- config_attr :lib_name, nil, String, nil
479
- config_attr :lib_version, nil, String, nil
480
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, Hash, nil)
481
- config_attr :interceptors, nil, Array, nil
482
- config_attr :timeout, nil, Numeric, nil
483
- config_attr :metadata, nil, Hash, nil
484
- config_attr :retry_policy, nil, Hash, Proc, nil
477
+ config_attr :scope, nil, ::String, ::Array, nil
478
+ config_attr :lib_name, nil, ::String, nil
479
+ config_attr :lib_version, nil, ::String, nil
480
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
481
+ config_attr :interceptors, nil, ::Array, nil
482
+ config_attr :timeout, nil, ::Numeric, nil
483
+ config_attr :metadata, nil, ::Hash, nil
484
+ config_attr :retry_policy, nil, ::Hash, Proc, nil
485
485
 
486
486
  # @private
487
487
  def initialize parent_config = nil
@@ -522,35 +522,35 @@ module Google
522
522
  class Rpcs
523
523
  ##
524
524
  # RPC-specific configuration for `list_operations`
525
- # @return [Gapic::Config::Method]
525
+ # @return [::Gapic::Config::Method]
526
526
  #
527
527
  attr_reader :list_operations
528
528
  ##
529
529
  # RPC-specific configuration for `get_operation`
530
- # @return [Gapic::Config::Method]
530
+ # @return [::Gapic::Config::Method]
531
531
  #
532
532
  attr_reader :get_operation
533
533
  ##
534
534
  # RPC-specific configuration for `delete_operation`
535
- # @return [Gapic::Config::Method]
535
+ # @return [::Gapic::Config::Method]
536
536
  #
537
537
  attr_reader :delete_operation
538
538
  ##
539
539
  # RPC-specific configuration for `cancel_operation`
540
- # @return [Gapic::Config::Method]
540
+ # @return [::Gapic::Config::Method]
541
541
  #
542
542
  attr_reader :cancel_operation
543
543
 
544
544
  # @private
545
545
  def initialize parent_rpcs = nil
546
546
  list_operations_config = parent_rpcs&.list_operations if parent_rpcs&.respond_to? :list_operations
547
- @list_operations = Gapic::Config::Method.new list_operations_config
547
+ @list_operations = ::Gapic::Config::Method.new list_operations_config
548
548
  get_operation_config = parent_rpcs&.get_operation if parent_rpcs&.respond_to? :get_operation
549
- @get_operation = Gapic::Config::Method.new get_operation_config
549
+ @get_operation = ::Gapic::Config::Method.new get_operation_config
550
550
  delete_operation_config = parent_rpcs&.delete_operation if parent_rpcs&.respond_to? :delete_operation
551
- @delete_operation = Gapic::Config::Method.new delete_operation_config
551
+ @delete_operation = ::Gapic::Config::Method.new delete_operation_config
552
552
  cancel_operation_config = parent_rpcs&.cancel_operation if parent_rpcs&.respond_to? :cancel_operation
553
- @cancel_operation = Gapic::Config::Method.new cancel_operation_config
553
+ @cancel_operation = ::Gapic::Config::Method.new cancel_operation_config
554
554
 
555
555
  yield self if block_given?
556
556
  end