google-cloud-recaptcha_enterprise-v1 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53a9e1d6c88ffc22b8887b01e1deb8fb9110de69fa40c6d074f7ea2b3725b562
4
- data.tar.gz: 23e25804725a7f2b1c9ca845903f60bc935e1f5abf89b64bb98cab6664eae3c3
3
+ metadata.gz: b91a5ef6dfd69b1de193e958e54fcc2aaeaa805b95795c1a8b656b910b27af36
4
+ data.tar.gz: 1bb7f435b8f30d440b4e6ff2a6b6471a94b90d92c57142b99c26a40003dd3e52
5
5
  SHA512:
6
- metadata.gz: 2950f5c99d405457806894a2c6953e0fa2065d9303200d9ba58904a18fbfc8a3640bfb2f34a19c83b462b4b5419f0b7d1a1be4a06eb0650fd745b1a0cf0e7014
7
- data.tar.gz: 7128a60ea6f4f001f7528a74bbf966041851842974ff8a6ea9515ad29beec3c9569b0f53a5a99d820cd1dd5a1e3051b7c1669b51b8f85bfc0d956f3989822703
6
+ metadata.gz: d7fd5655e90dcc75139cda3f6e89bd2b034899d2f831b4ccd1b43c28f7661008ad3e072a0cb13d19ee521203b587851ef69f2913981d143d8c8a61583b6602ce
7
+ data.tar.gz: 629decdc3f3fe9847a242ccbb5f735e2919708b48d1bba79ee25dd5c2458cb2ecc6a4e8f38a4d60d9f911200454df1e341c35d28f792432a0f69945690a4c1c2
data/AUTHENTICATION.md CHANGED
@@ -27,7 +27,7 @@ export RECAPTCHA_ENTERPRISE_CREDENTIALS=path/to/keyfile.json
27
27
  ```ruby
28
28
  require "google/cloud/recaptcha_enterprise/v1"
29
29
 
30
- client = Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
30
+ client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::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-recaptcha_enterprise-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- {Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Credentials}):
67
+ {::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Credentials}):
68
68
 
69
69
  1. `RECAPTCHA_ENTERPRISE_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  2. `RECAPTCHA_ENTERPRISE_KEYFILE` - Path to JSON file, or JSON contents
@@ -77,7 +77,7 @@ require "google/cloud/recaptcha_enterprise/v1"
77
77
 
78
78
  ENV["RECAPTCHA_ENTERPRISE_CREDENTIALS"] = "path/to/keyfile.json"
79
79
 
80
- client = Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
80
+ client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
81
81
  ```
82
82
 
83
83
  ### Configuration
@@ -88,7 +88,7 @@ environment variables. Either on an individual client initialization:
88
88
  ```ruby
89
89
  require "google/cloud/recaptcha_enterprise/v1"
90
90
 
91
- client = Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new do |config|
91
+ client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new do |config|
92
92
  config.credentials = "path/to/keyfile.json"
93
93
  end
94
94
  ```
@@ -98,11 +98,11 @@ Or configured globally for all clients:
98
98
  ```ruby
99
99
  require "google/cloud/recaptcha_enterprise/v1"
100
100
 
101
- Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.configure do |config|
101
+ ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.configure do |config|
102
102
  config.credentials = "path/to/keyfile.json"
103
103
  end
104
104
 
105
- client = Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
105
+ client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
106
106
  ```
107
107
 
108
108
  ### Cloud SDK
data/README.md CHANGED
@@ -25,7 +25,7 @@ In order to use this library, you first need to go through the following steps:
25
25
  ```ruby
26
26
  require "google/cloud/recaptcha_enterprise/v1"
27
27
 
28
- client = Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
28
+ client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
29
29
  request = my_create_request
30
30
  response = client.create_assessment request
31
31
  ```
@@ -26,7 +26,7 @@ module Google
26
26
  # To load this package, including all its services, and instantiate a client:
27
27
  #
28
28
  # require "google/cloud/recaptcha_enterprise/v1"
29
- # client = Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
29
+ # client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
30
30
  #
31
31
  module V1
32
32
  end
@@ -36,7 +36,7 @@ module Google
36
36
  # To load this service and instantiate a client:
37
37
  #
38
38
  # require "google/cloud/recaptcha_enterprise/v1/recaptcha_enterprise_service"
39
- # client = Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
39
+ # client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
40
40
  #
41
41
  module RecaptchaEnterpriseService
42
42
  end
@@ -38,15 +38,15 @@ module Google
38
38
  ##
39
39
  # Configure the RecaptchaEnterpriseService Client class.
40
40
  #
41
- # See {Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client::Configuration}
41
+ # See {::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client::Configuration}
42
42
  # for a description of the configuration fields.
43
43
  #
44
44
  # ## Example
45
45
  #
46
46
  # To modify the configuration for all RecaptchaEnterpriseService clients:
47
47
  #
48
- # Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.configure do |config|
49
- # config.timeout = 10_000
48
+ # ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.configure do |config|
49
+ # config.timeout = 10.0
50
50
  # end
51
51
  #
52
52
  # @yield [config] Configure the Client client.
@@ -92,7 +92,7 @@ module Google
92
92
  # but structural changes (adding new fields, etc.) are not allowed. Structural changes
93
93
  # should be made on {Client.configure}.
94
94
  #
95
- # See {Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client::Configuration}
95
+ # See {::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client::Configuration}
96
96
  # for a description of the configuration fields.
97
97
  #
98
98
  # @yield [config] Configure the Client client.
@@ -113,13 +113,13 @@ module Google
113
113
  # To create a new RecaptchaEnterpriseService client with the default
114
114
  # configuration:
115
115
  #
116
- # client = Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
116
+ # client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
117
117
  #
118
118
  # To create a new RecaptchaEnterpriseService client with a custom
119
119
  # configuration:
120
120
  #
121
- # client = Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new do |config|
122
- # config.timeout = 10_000
121
+ # client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new do |config|
122
+ # config.timeout = 10.0
123
123
  # end
124
124
  #
125
125
  # @yield [config] Configure the RecaptchaEnterpriseService client.
@@ -146,8 +146,8 @@ module Google
146
146
  end
147
147
  @quota_project_id = credentials.respond_to?(:quota_project_id) ? credentials.quota_project_id : nil
148
148
 
149
- @recaptcha_enterprise_service_stub = Gapic::ServiceStub.new(
150
- Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Stub,
149
+ @recaptcha_enterprise_service_stub = ::Gapic::ServiceStub.new(
150
+ ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Stub,
151
151
  credentials: credentials,
152
152
  endpoint: @config.endpoint,
153
153
  channel_args: @config.channel_args,
@@ -162,12 +162,12 @@ module Google
162
162
  #
163
163
  # @overload create_assessment(request, options = nil)
164
164
  # Pass arguments to `create_assessment` via a request object, either of type
165
- # {Google::Cloud::RecaptchaEnterprise::V1::CreateAssessmentRequest} or an equivalent Hash.
165
+ # {::Google::Cloud::RecaptchaEnterprise::V1::CreateAssessmentRequest} or an equivalent Hash.
166
166
  #
167
- # @param request [Google::Cloud::RecaptchaEnterprise::V1::CreateAssessmentRequest, Hash]
167
+ # @param request [::Google::Cloud::RecaptchaEnterprise::V1::CreateAssessmentRequest, ::Hash]
168
168
  # A request object representing the call parameters. Required. To specify no
169
169
  # parameters, or to keep all the default parameter values, pass an empty Hash.
170
- # @param options [Gapic::CallOptions, Hash]
170
+ # @param options [::Gapic::CallOptions, ::Hash]
171
171
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
172
172
  #
173
173
  # @overload create_assessment(parent: nil, assessment: nil)
@@ -175,33 +175,33 @@ module Google
175
175
  # least one keyword argument is required. To specify no parameters, or to keep all
176
176
  # the default parameter values, pass an empty Hash as a request object (see above).
177
177
  #
178
- # @param parent [String]
178
+ # @param parent [::String]
179
179
  # Required. The name of the project in which the assessment will be created,
180
180
  # in the format "projects/\\{project}".
181
- # @param assessment [Google::Cloud::RecaptchaEnterprise::V1::Assessment, Hash]
181
+ # @param assessment [::Google::Cloud::RecaptchaEnterprise::V1::Assessment, ::Hash]
182
182
  # Required. The assessment details.
183
183
  #
184
184
  # @yield [response, operation] Access the result along with the RPC operation
185
- # @yieldparam response [Google::Cloud::RecaptchaEnterprise::V1::Assessment]
186
- # @yieldparam operation [GRPC::ActiveCall::Operation]
185
+ # @yieldparam response [::Google::Cloud::RecaptchaEnterprise::V1::Assessment]
186
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
187
187
  #
188
- # @return [Google::Cloud::RecaptchaEnterprise::V1::Assessment]
188
+ # @return [::Google::Cloud::RecaptchaEnterprise::V1::Assessment]
189
189
  #
190
- # @raise [Google::Cloud::Error] if the RPC is aborted.
190
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
191
191
  #
192
192
  def create_assessment request, options = nil
193
- raise ArgumentError, "request must be provided" if request.nil?
193
+ raise ::ArgumentError, "request must be provided" if request.nil?
194
194
 
195
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::RecaptchaEnterprise::V1::CreateAssessmentRequest
195
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::RecaptchaEnterprise::V1::CreateAssessmentRequest
196
196
 
197
197
  # Converts hash and nil to an options object
198
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
198
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
199
199
 
200
200
  # Customize the options with defaults
201
201
  metadata = @config.rpcs.create_assessment.metadata.to_h
202
202
 
203
203
  # Set x-goog-api-client and x-goog-user-project headers
204
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
204
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
205
205
  lib_name: @config.lib_name, lib_version: @config.lib_version,
206
206
  gapic_version: ::Google::Cloud::RecaptchaEnterprise::V1::VERSION
207
207
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -222,8 +222,8 @@ module Google
222
222
  yield response, operation if block_given?
223
223
  return response
224
224
  end
225
- rescue GRPC::BadStatus => e
226
- raise Google::Cloud::Error.from_error(e)
225
+ rescue ::GRPC::BadStatus => e
226
+ raise ::Google::Cloud::Error.from_error(e)
227
227
  end
228
228
 
229
229
  ##
@@ -232,12 +232,12 @@ module Google
232
232
  #
233
233
  # @overload annotate_assessment(request, options = nil)
234
234
  # Pass arguments to `annotate_assessment` via a request object, either of type
235
- # {Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentRequest} or an equivalent Hash.
235
+ # {::Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentRequest} or an equivalent Hash.
236
236
  #
237
- # @param request [Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentRequest, Hash]
237
+ # @param request [::Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentRequest, ::Hash]
238
238
  # A request object representing the call parameters. Required. To specify no
239
239
  # parameters, or to keep all the default parameter values, pass an empty Hash.
240
- # @param options [Gapic::CallOptions, Hash]
240
+ # @param options [::Gapic::CallOptions, ::Hash]
241
241
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
242
242
  #
243
243
  # @overload annotate_assessment(name: nil, annotation: nil)
@@ -245,33 +245,33 @@ module Google
245
245
  # least one keyword argument is required. To specify no parameters, or to keep all
246
246
  # the default parameter values, pass an empty Hash as a request object (see above).
247
247
  #
248
- # @param name [String]
248
+ # @param name [::String]
249
249
  # Required. The resource name of the Assessment, in the format
250
250
  # "projects/\\{project}/assessments/\\{assessment}".
251
- # @param annotation [Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentRequest::Annotation]
251
+ # @param annotation [::Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentRequest::Annotation]
252
252
  # Required. The annotation that will be assigned to the Event.
253
253
  #
254
254
  # @yield [response, operation] Access the result along with the RPC operation
255
- # @yieldparam response [Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentResponse]
256
- # @yieldparam operation [GRPC::ActiveCall::Operation]
255
+ # @yieldparam response [::Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentResponse]
256
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
257
257
  #
258
- # @return [Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentResponse]
258
+ # @return [::Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentResponse]
259
259
  #
260
- # @raise [Google::Cloud::Error] if the RPC is aborted.
260
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
261
261
  #
262
262
  def annotate_assessment request, options = nil
263
- raise ArgumentError, "request must be provided" if request.nil?
263
+ raise ::ArgumentError, "request must be provided" if request.nil?
264
264
 
265
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentRequest
265
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentRequest
266
266
 
267
267
  # Converts hash and nil to an options object
268
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
268
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
269
269
 
270
270
  # Customize the options with defaults
271
271
  metadata = @config.rpcs.annotate_assessment.metadata.to_h
272
272
 
273
273
  # Set x-goog-api-client and x-goog-user-project headers
274
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
274
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
275
275
  lib_name: @config.lib_name, lib_version: @config.lib_version,
276
276
  gapic_version: ::Google::Cloud::RecaptchaEnterprise::V1::VERSION
277
277
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -292,8 +292,8 @@ module Google
292
292
  yield response, operation if block_given?
293
293
  return response
294
294
  end
295
- rescue GRPC::BadStatus => e
296
- raise Google::Cloud::Error.from_error(e)
295
+ rescue ::GRPC::BadStatus => e
296
+ raise ::Google::Cloud::Error.from_error(e)
297
297
  end
298
298
 
299
299
  ##
@@ -301,12 +301,12 @@ module Google
301
301
  #
302
302
  # @overload create_key(request, options = nil)
303
303
  # Pass arguments to `create_key` via a request object, either of type
304
- # {Google::Cloud::RecaptchaEnterprise::V1::CreateKeyRequest} or an equivalent Hash.
304
+ # {::Google::Cloud::RecaptchaEnterprise::V1::CreateKeyRequest} or an equivalent Hash.
305
305
  #
306
- # @param request [Google::Cloud::RecaptchaEnterprise::V1::CreateKeyRequest, Hash]
306
+ # @param request [::Google::Cloud::RecaptchaEnterprise::V1::CreateKeyRequest, ::Hash]
307
307
  # A request object representing the call parameters. Required. To specify no
308
308
  # parameters, or to keep all the default parameter values, pass an empty Hash.
309
- # @param options [Gapic::CallOptions, Hash]
309
+ # @param options [::Gapic::CallOptions, ::Hash]
310
310
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
311
311
  #
312
312
  # @overload create_key(parent: nil, key: nil)
@@ -314,33 +314,33 @@ module Google
314
314
  # least one keyword argument is required. To specify no parameters, or to keep all
315
315
  # the default parameter values, pass an empty Hash as a request object (see above).
316
316
  #
317
- # @param parent [String]
317
+ # @param parent [::String]
318
318
  # Required. The name of the project in which the key will be created, in the
319
319
  # format "projects/\\{project}".
320
- # @param key [Google::Cloud::RecaptchaEnterprise::V1::Key, Hash]
320
+ # @param key [::Google::Cloud::RecaptchaEnterprise::V1::Key, ::Hash]
321
321
  # Required. Information to create a reCAPTCHA Enterprise key.
322
322
  #
323
323
  # @yield [response, operation] Access the result along with the RPC operation
324
- # @yieldparam response [Google::Cloud::RecaptchaEnterprise::V1::Key]
325
- # @yieldparam operation [GRPC::ActiveCall::Operation]
324
+ # @yieldparam response [::Google::Cloud::RecaptchaEnterprise::V1::Key]
325
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
326
326
  #
327
- # @return [Google::Cloud::RecaptchaEnterprise::V1::Key]
327
+ # @return [::Google::Cloud::RecaptchaEnterprise::V1::Key]
328
328
  #
329
- # @raise [Google::Cloud::Error] if the RPC is aborted.
329
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
330
330
  #
331
331
  def create_key request, options = nil
332
- raise ArgumentError, "request must be provided" if request.nil?
332
+ raise ::ArgumentError, "request must be provided" if request.nil?
333
333
 
334
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::RecaptchaEnterprise::V1::CreateKeyRequest
334
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::RecaptchaEnterprise::V1::CreateKeyRequest
335
335
 
336
336
  # Converts hash and nil to an options object
337
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
337
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
338
338
 
339
339
  # Customize the options with defaults
340
340
  metadata = @config.rpcs.create_key.metadata.to_h
341
341
 
342
342
  # Set x-goog-api-client and x-goog-user-project headers
343
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
343
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
344
344
  lib_name: @config.lib_name, lib_version: @config.lib_version,
345
345
  gapic_version: ::Google::Cloud::RecaptchaEnterprise::V1::VERSION
346
346
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -361,8 +361,8 @@ module Google
361
361
  yield response, operation if block_given?
362
362
  return response
363
363
  end
364
- rescue GRPC::BadStatus => e
365
- raise Google::Cloud::Error.from_error(e)
364
+ rescue ::GRPC::BadStatus => e
365
+ raise ::Google::Cloud::Error.from_error(e)
366
366
  end
367
367
 
368
368
  ##
@@ -370,12 +370,12 @@ module Google
370
370
  #
371
371
  # @overload list_keys(request, options = nil)
372
372
  # Pass arguments to `list_keys` via a request object, either of type
373
- # {Google::Cloud::RecaptchaEnterprise::V1::ListKeysRequest} or an equivalent Hash.
373
+ # {::Google::Cloud::RecaptchaEnterprise::V1::ListKeysRequest} or an equivalent Hash.
374
374
  #
375
- # @param request [Google::Cloud::RecaptchaEnterprise::V1::ListKeysRequest, Hash]
375
+ # @param request [::Google::Cloud::RecaptchaEnterprise::V1::ListKeysRequest, ::Hash]
376
376
  # A request object representing the call parameters. Required. To specify no
377
377
  # parameters, or to keep all the default parameter values, pass an empty Hash.
378
- # @param options [Gapic::CallOptions, Hash]
378
+ # @param options [::Gapic::CallOptions, ::Hash]
379
379
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
380
380
  #
381
381
  # @overload list_keys(parent: nil, page_size: nil, page_token: nil)
@@ -383,37 +383,37 @@ module Google
383
383
  # least one keyword argument is required. To specify no parameters, or to keep all
384
384
  # the default parameter values, pass an empty Hash as a request object (see above).
385
385
  #
386
- # @param parent [String]
386
+ # @param parent [::String]
387
387
  # Required. The name of the project that contains the keys that will be
388
388
  # listed, in the format "projects/\\{project}".
389
- # @param page_size [Integer]
389
+ # @param page_size [::Integer]
390
390
  # Optional. The maximum number of keys to return. Default is 10. Max limit is
391
391
  # 1000.
392
- # @param page_token [String]
392
+ # @param page_token [::String]
393
393
  # Optional. The next_page_token value returned from a previous.
394
394
  # ListKeysRequest, if any.
395
395
  #
396
396
  # @yield [response, operation] Access the result along with the RPC operation
397
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::RecaptchaEnterprise::V1::Key>]
398
- # @yieldparam operation [GRPC::ActiveCall::Operation]
397
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::RecaptchaEnterprise::V1::Key>]
398
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
399
399
  #
400
- # @return [Gapic::PagedEnumerable<Google::Cloud::RecaptchaEnterprise::V1::Key>]
400
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::RecaptchaEnterprise::V1::Key>]
401
401
  #
402
- # @raise [Google::Cloud::Error] if the RPC is aborted.
402
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
403
403
  #
404
404
  def list_keys request, options = nil
405
- raise ArgumentError, "request must be provided" if request.nil?
405
+ raise ::ArgumentError, "request must be provided" if request.nil?
406
406
 
407
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::RecaptchaEnterprise::V1::ListKeysRequest
407
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::RecaptchaEnterprise::V1::ListKeysRequest
408
408
 
409
409
  # Converts hash and nil to an options object
410
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
410
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
411
411
 
412
412
  # Customize the options with defaults
413
413
  metadata = @config.rpcs.list_keys.metadata.to_h
414
414
 
415
415
  # Set x-goog-api-client and x-goog-user-project headers
416
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
416
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
417
417
  lib_name: @config.lib_name, lib_version: @config.lib_version,
418
418
  gapic_version: ::Google::Cloud::RecaptchaEnterprise::V1::VERSION
419
419
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -431,12 +431,12 @@ module Google
431
431
  retry_policy: @config.retry_policy
432
432
 
433
433
  @recaptcha_enterprise_service_stub.call_rpc :list_keys, request, options: options do |response, operation|
434
- response = Gapic::PagedEnumerable.new @recaptcha_enterprise_service_stub, :list_keys, request, response, operation, options
434
+ response = ::Gapic::PagedEnumerable.new @recaptcha_enterprise_service_stub, :list_keys, request, response, operation, options
435
435
  yield response, operation if block_given?
436
436
  return response
437
437
  end
438
- rescue GRPC::BadStatus => e
439
- raise Google::Cloud::Error.from_error(e)
438
+ rescue ::GRPC::BadStatus => e
439
+ raise ::Google::Cloud::Error.from_error(e)
440
440
  end
441
441
 
442
442
  ##
@@ -444,12 +444,12 @@ module Google
444
444
  #
445
445
  # @overload get_key(request, options = nil)
446
446
  # Pass arguments to `get_key` via a request object, either of type
447
- # {Google::Cloud::RecaptchaEnterprise::V1::GetKeyRequest} or an equivalent Hash.
447
+ # {::Google::Cloud::RecaptchaEnterprise::V1::GetKeyRequest} or an equivalent Hash.
448
448
  #
449
- # @param request [Google::Cloud::RecaptchaEnterprise::V1::GetKeyRequest, Hash]
449
+ # @param request [::Google::Cloud::RecaptchaEnterprise::V1::GetKeyRequest, ::Hash]
450
450
  # A request object representing the call parameters. Required. To specify no
451
451
  # parameters, or to keep all the default parameter values, pass an empty Hash.
452
- # @param options [Gapic::CallOptions, Hash]
452
+ # @param options [::Gapic::CallOptions, ::Hash]
453
453
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
454
454
  #
455
455
  # @overload get_key(name: nil)
@@ -457,31 +457,31 @@ module Google
457
457
  # least one keyword argument is required. To specify no parameters, or to keep all
458
458
  # the default parameter values, pass an empty Hash as a request object (see above).
459
459
  #
460
- # @param name [String]
460
+ # @param name [::String]
461
461
  # Required. The name of the requested key, in the format
462
462
  # "projects/\\{project}/keys/\\{key}".
463
463
  #
464
464
  # @yield [response, operation] Access the result along with the RPC operation
465
- # @yieldparam response [Google::Cloud::RecaptchaEnterprise::V1::Key]
466
- # @yieldparam operation [GRPC::ActiveCall::Operation]
465
+ # @yieldparam response [::Google::Cloud::RecaptchaEnterprise::V1::Key]
466
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
467
467
  #
468
- # @return [Google::Cloud::RecaptchaEnterprise::V1::Key]
468
+ # @return [::Google::Cloud::RecaptchaEnterprise::V1::Key]
469
469
  #
470
- # @raise [Google::Cloud::Error] if the RPC is aborted.
470
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
471
471
  #
472
472
  def get_key request, options = nil
473
- raise ArgumentError, "request must be provided" if request.nil?
473
+ raise ::ArgumentError, "request must be provided" if request.nil?
474
474
 
475
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::RecaptchaEnterprise::V1::GetKeyRequest
475
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::RecaptchaEnterprise::V1::GetKeyRequest
476
476
 
477
477
  # Converts hash and nil to an options object
478
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
478
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
479
479
 
480
480
  # Customize the options with defaults
481
481
  metadata = @config.rpcs.get_key.metadata.to_h
482
482
 
483
483
  # Set x-goog-api-client and x-goog-user-project headers
484
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
484
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
485
485
  lib_name: @config.lib_name, lib_version: @config.lib_version,
486
486
  gapic_version: ::Google::Cloud::RecaptchaEnterprise::V1::VERSION
487
487
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -502,8 +502,8 @@ module Google
502
502
  yield response, operation if block_given?
503
503
  return response
504
504
  end
505
- rescue GRPC::BadStatus => e
506
- raise Google::Cloud::Error.from_error(e)
505
+ rescue ::GRPC::BadStatus => e
506
+ raise ::Google::Cloud::Error.from_error(e)
507
507
  end
508
508
 
509
509
  ##
@@ -511,12 +511,12 @@ module Google
511
511
  #
512
512
  # @overload update_key(request, options = nil)
513
513
  # Pass arguments to `update_key` via a request object, either of type
514
- # {Google::Cloud::RecaptchaEnterprise::V1::UpdateKeyRequest} or an equivalent Hash.
514
+ # {::Google::Cloud::RecaptchaEnterprise::V1::UpdateKeyRequest} or an equivalent Hash.
515
515
  #
516
- # @param request [Google::Cloud::RecaptchaEnterprise::V1::UpdateKeyRequest, Hash]
516
+ # @param request [::Google::Cloud::RecaptchaEnterprise::V1::UpdateKeyRequest, ::Hash]
517
517
  # A request object representing the call parameters. Required. To specify no
518
518
  # parameters, or to keep all the default parameter values, pass an empty Hash.
519
- # @param options [Gapic::CallOptions, Hash]
519
+ # @param options [::Gapic::CallOptions, ::Hash]
520
520
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
521
521
  #
522
522
  # @overload update_key(key: nil, update_mask: nil)
@@ -524,33 +524,33 @@ module Google
524
524
  # least one keyword argument is required. To specify no parameters, or to keep all
525
525
  # the default parameter values, pass an empty Hash as a request object (see above).
526
526
  #
527
- # @param key [Google::Cloud::RecaptchaEnterprise::V1::Key, Hash]
527
+ # @param key [::Google::Cloud::RecaptchaEnterprise::V1::Key, ::Hash]
528
528
  # Required. The key to update.
529
- # @param update_mask [Google::Protobuf::FieldMask, Hash]
529
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
530
530
  # Optional. The mask to control which field of the key get updated. If the mask is not
531
531
  # present, all fields will be updated.
532
532
  #
533
533
  # @yield [response, operation] Access the result along with the RPC operation
534
- # @yieldparam response [Google::Cloud::RecaptchaEnterprise::V1::Key]
535
- # @yieldparam operation [GRPC::ActiveCall::Operation]
534
+ # @yieldparam response [::Google::Cloud::RecaptchaEnterprise::V1::Key]
535
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
536
536
  #
537
- # @return [Google::Cloud::RecaptchaEnterprise::V1::Key]
537
+ # @return [::Google::Cloud::RecaptchaEnterprise::V1::Key]
538
538
  #
539
- # @raise [Google::Cloud::Error] if the RPC is aborted.
539
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
540
540
  #
541
541
  def update_key request, options = nil
542
- raise ArgumentError, "request must be provided" if request.nil?
542
+ raise ::ArgumentError, "request must be provided" if request.nil?
543
543
 
544
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::RecaptchaEnterprise::V1::UpdateKeyRequest
544
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::RecaptchaEnterprise::V1::UpdateKeyRequest
545
545
 
546
546
  # Converts hash and nil to an options object
547
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
547
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
548
548
 
549
549
  # Customize the options with defaults
550
550
  metadata = @config.rpcs.update_key.metadata.to_h
551
551
 
552
552
  # Set x-goog-api-client and x-goog-user-project headers
553
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
553
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
554
554
  lib_name: @config.lib_name, lib_version: @config.lib_version,
555
555
  gapic_version: ::Google::Cloud::RecaptchaEnterprise::V1::VERSION
556
556
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -571,8 +571,8 @@ module Google
571
571
  yield response, operation if block_given?
572
572
  return response
573
573
  end
574
- rescue GRPC::BadStatus => e
575
- raise Google::Cloud::Error.from_error(e)
574
+ rescue ::GRPC::BadStatus => e
575
+ raise ::Google::Cloud::Error.from_error(e)
576
576
  end
577
577
 
578
578
  ##
@@ -580,12 +580,12 @@ module Google
580
580
  #
581
581
  # @overload delete_key(request, options = nil)
582
582
  # Pass arguments to `delete_key` via a request object, either of type
583
- # {Google::Cloud::RecaptchaEnterprise::V1::DeleteKeyRequest} or an equivalent Hash.
583
+ # {::Google::Cloud::RecaptchaEnterprise::V1::DeleteKeyRequest} or an equivalent Hash.
584
584
  #
585
- # @param request [Google::Cloud::RecaptchaEnterprise::V1::DeleteKeyRequest, Hash]
585
+ # @param request [::Google::Cloud::RecaptchaEnterprise::V1::DeleteKeyRequest, ::Hash]
586
586
  # A request object representing the call parameters. Required. To specify no
587
587
  # parameters, or to keep all the default parameter values, pass an empty Hash.
588
- # @param options [Gapic::CallOptions, Hash]
588
+ # @param options [::Gapic::CallOptions, ::Hash]
589
589
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
590
590
  #
591
591
  # @overload delete_key(name: nil)
@@ -593,31 +593,31 @@ module Google
593
593
  # least one keyword argument is required. To specify no parameters, or to keep all
594
594
  # the default parameter values, pass an empty Hash as a request object (see above).
595
595
  #
596
- # @param name [String]
596
+ # @param name [::String]
597
597
  # Required. The name of the key to be deleted, in the format
598
598
  # "projects/\\{project}/keys/\\{key}".
599
599
  #
600
600
  # @yield [response, operation] Access the result along with the RPC operation
601
- # @yieldparam response [Google::Protobuf::Empty]
602
- # @yieldparam operation [GRPC::ActiveCall::Operation]
601
+ # @yieldparam response [::Google::Protobuf::Empty]
602
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
603
603
  #
604
- # @return [Google::Protobuf::Empty]
604
+ # @return [::Google::Protobuf::Empty]
605
605
  #
606
- # @raise [Google::Cloud::Error] if the RPC is aborted.
606
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
607
607
  #
608
608
  def delete_key request, options = nil
609
- raise ArgumentError, "request must be provided" if request.nil?
609
+ raise ::ArgumentError, "request must be provided" if request.nil?
610
610
 
611
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::RecaptchaEnterprise::V1::DeleteKeyRequest
611
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::RecaptchaEnterprise::V1::DeleteKeyRequest
612
612
 
613
613
  # Converts hash and nil to an options object
614
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
614
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
615
615
 
616
616
  # Customize the options with defaults
617
617
  metadata = @config.rpcs.delete_key.metadata.to_h
618
618
 
619
619
  # Set x-goog-api-client and x-goog-user-project headers
620
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
620
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
621
621
  lib_name: @config.lib_name, lib_version: @config.lib_version,
622
622
  gapic_version: ::Google::Cloud::RecaptchaEnterprise::V1::VERSION
623
623
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -638,8 +638,8 @@ module Google
638
638
  yield response, operation if block_given?
639
639
  return response
640
640
  end
641
- rescue GRPC::BadStatus => e
642
- raise Google::Cloud::Error.from_error(e)
641
+ rescue ::GRPC::BadStatus => e
642
+ raise ::Google::Cloud::Error.from_error(e)
643
643
  end
644
644
 
645
645
  ##
@@ -649,7 +649,7 @@ module Google
649
649
  # providing control over timeouts, retry behavior, logging, transport
650
650
  # parameters, and other low-level controls. Certain parameters can also be
651
651
  # applied individually to specific RPCs. See
652
- # {Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client::Configuration::Rpcs}
652
+ # {::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client::Configuration::Rpcs}
653
653
  # for a list of RPCs that can be configured independently.
654
654
  #
655
655
  # Configuration can be applied globally to all clients, or to a single client
@@ -660,22 +660,22 @@ module Google
660
660
  # To modify the global config, setting the timeout for create_assessment
661
661
  # to 20 seconds, and all remaining timeouts to 10 seconds:
662
662
  #
663
- # Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.configure do |config|
664
- # config.timeout = 10_000
665
- # config.rpcs.create_assessment.timeout = 20_000
663
+ # ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.configure do |config|
664
+ # config.timeout = 10.0
665
+ # config.rpcs.create_assessment.timeout = 20.0
666
666
  # end
667
667
  #
668
668
  # To apply the above configuration only to a new client:
669
669
  #
670
- # client = Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new do |config|
671
- # config.timeout = 10_000
672
- # config.rpcs.create_assessment.timeout = 20_000
670
+ # client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new do |config|
671
+ # config.timeout = 10.0
672
+ # config.rpcs.create_assessment.timeout = 20.0
673
673
  # end
674
674
  #
675
675
  # @!attribute [rw] endpoint
676
676
  # The hostname or hostname:port of the service endpoint.
677
677
  # Defaults to `"recaptchaenterprise.googleapis.com"`.
678
- # @return [String]
678
+ # @return [::String]
679
679
  # @!attribute [rw] credentials
680
680
  # Credentials to send with calls. You may provide any of the following types:
681
681
  # * (`String`) The path to a service account key file in JSON format
@@ -687,29 +687,29 @@ module Google
687
687
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
688
688
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
689
689
  # * (`nil`) indicating no credentials
690
- # @return [Object]
690
+ # @return [::Object]
691
691
  # @!attribute [rw] scope
692
692
  # The OAuth scopes
693
- # @return [Array<String>]
693
+ # @return [::Array<::String>]
694
694
  # @!attribute [rw] lib_name
695
695
  # The library name as recorded in instrumentation and logging
696
- # @return [String]
696
+ # @return [::String]
697
697
  # @!attribute [rw] lib_version
698
698
  # The library version as recorded in instrumentation and logging
699
- # @return [String]
699
+ # @return [::String]
700
700
  # @!attribute [rw] channel_args
701
701
  # Extra parameters passed to the gRPC channel. Note: this is ignored if a
702
702
  # `GRPC::Core::Channel` object is provided as the credential.
703
- # @return [Hash]
703
+ # @return [::Hash]
704
704
  # @!attribute [rw] interceptors
705
705
  # An array of interceptors that are run before calls are executed.
706
- # @return [Array<GRPC::ClientInterceptor>]
706
+ # @return [::Array<::GRPC::ClientInterceptor>]
707
707
  # @!attribute [rw] timeout
708
- # The call timeout in milliseconds.
709
- # @return [Numeric]
708
+ # The call timeout in seconds.
709
+ # @return [::Numeric]
710
710
  # @!attribute [rw] metadata
711
711
  # Additional gRPC headers to be sent with the call.
712
- # @return [Hash{Symbol=>String}]
712
+ # @return [::Hash{::Symbol=>::String}]
713
713
  # @!attribute [rw] retry_policy
714
714
  # The retry policy. The value is a hash with the following keys:
715
715
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
@@ -717,10 +717,10 @@ module Google
717
717
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
718
718
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
719
719
  # trigger a retry.
720
- # @return [Hash]
720
+ # @return [::Hash]
721
721
  #
722
722
  class Configuration
723
- extend Gapic::Config
723
+ extend ::Gapic::Config
724
724
 
725
725
  config_attr :endpoint, "recaptchaenterprise.googleapis.com", String
726
726
  config_attr :credentials, nil do |value|
@@ -728,14 +728,14 @@ module Google
728
728
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
729
729
  allowed.any? { |klass| klass === value }
730
730
  end
731
- config_attr :scope, nil, String, Array, nil
732
- config_attr :lib_name, nil, String, nil
733
- config_attr :lib_version, nil, String, nil
734
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, Hash, nil)
735
- config_attr :interceptors, nil, Array, nil
736
- config_attr :timeout, nil, Numeric, nil
737
- config_attr :metadata, nil, Hash, nil
738
- config_attr :retry_policy, nil, Hash, Proc, nil
731
+ config_attr :scope, nil, ::String, ::Array, nil
732
+ config_attr :lib_name, nil, ::String, nil
733
+ config_attr :lib_version, nil, ::String, nil
734
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
735
+ config_attr :interceptors, nil, ::Array, nil
736
+ config_attr :timeout, nil, ::Numeric, nil
737
+ config_attr :metadata, nil, ::Hash, nil
738
+ config_attr :retry_policy, nil, ::Hash, Proc, nil
739
739
 
740
740
  # @private
741
741
  def initialize parent_config = nil
@@ -776,56 +776,56 @@ module Google
776
776
  class Rpcs
777
777
  ##
778
778
  # RPC-specific configuration for `create_assessment`
779
- # @return [Gapic::Config::Method]
779
+ # @return [::Gapic::Config::Method]
780
780
  #
781
781
  attr_reader :create_assessment
782
782
  ##
783
783
  # RPC-specific configuration for `annotate_assessment`
784
- # @return [Gapic::Config::Method]
784
+ # @return [::Gapic::Config::Method]
785
785
  #
786
786
  attr_reader :annotate_assessment
787
787
  ##
788
788
  # RPC-specific configuration for `create_key`
789
- # @return [Gapic::Config::Method]
789
+ # @return [::Gapic::Config::Method]
790
790
  #
791
791
  attr_reader :create_key
792
792
  ##
793
793
  # RPC-specific configuration for `list_keys`
794
- # @return [Gapic::Config::Method]
794
+ # @return [::Gapic::Config::Method]
795
795
  #
796
796
  attr_reader :list_keys
797
797
  ##
798
798
  # RPC-specific configuration for `get_key`
799
- # @return [Gapic::Config::Method]
799
+ # @return [::Gapic::Config::Method]
800
800
  #
801
801
  attr_reader :get_key
802
802
  ##
803
803
  # RPC-specific configuration for `update_key`
804
- # @return [Gapic::Config::Method]
804
+ # @return [::Gapic::Config::Method]
805
805
  #
806
806
  attr_reader :update_key
807
807
  ##
808
808
  # RPC-specific configuration for `delete_key`
809
- # @return [Gapic::Config::Method]
809
+ # @return [::Gapic::Config::Method]
810
810
  #
811
811
  attr_reader :delete_key
812
812
 
813
813
  # @private
814
814
  def initialize parent_rpcs = nil
815
815
  create_assessment_config = parent_rpcs&.create_assessment if parent_rpcs&.respond_to? :create_assessment
816
- @create_assessment = Gapic::Config::Method.new create_assessment_config
816
+ @create_assessment = ::Gapic::Config::Method.new create_assessment_config
817
817
  annotate_assessment_config = parent_rpcs&.annotate_assessment if parent_rpcs&.respond_to? :annotate_assessment
818
- @annotate_assessment = Gapic::Config::Method.new annotate_assessment_config
818
+ @annotate_assessment = ::Gapic::Config::Method.new annotate_assessment_config
819
819
  create_key_config = parent_rpcs&.create_key if parent_rpcs&.respond_to? :create_key
820
- @create_key = Gapic::Config::Method.new create_key_config
820
+ @create_key = ::Gapic::Config::Method.new create_key_config
821
821
  list_keys_config = parent_rpcs&.list_keys if parent_rpcs&.respond_to? :list_keys
822
- @list_keys = Gapic::Config::Method.new list_keys_config
822
+ @list_keys = ::Gapic::Config::Method.new list_keys_config
823
823
  get_key_config = parent_rpcs&.get_key if parent_rpcs&.respond_to? :get_key
824
- @get_key = Gapic::Config::Method.new get_key_config
824
+ @get_key = ::Gapic::Config::Method.new get_key_config
825
825
  update_key_config = parent_rpcs&.update_key if parent_rpcs&.respond_to? :update_key
826
- @update_key = Gapic::Config::Method.new update_key_config
826
+ @update_key = ::Gapic::Config::Method.new update_key_config
827
827
  delete_key_config = parent_rpcs&.delete_key if parent_rpcs&.respond_to? :delete_key
828
- @delete_key = Gapic::Config::Method.new delete_key_config
828
+ @delete_key = ::Gapic::Config::Method.new delete_key_config
829
829
 
830
830
  yield self if block_given?
831
831
  end