google-cloud-dlp-v2 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: 9ac5d909d8a40e12eedba05b150cde2f585b799405dd67b3b655247c600d6ff9
4
- data.tar.gz: dd1e9260b8d485aca79185b1aaa8bebbad0066526025cc8a2bdb0e2f87ac5a64
3
+ metadata.gz: ddcfcf784fcb91a1693d39b58b4b619d477eeb0f5ff595f1bf97f4ca99735f42
4
+ data.tar.gz: 648fe19421175927a7e2f9f187aa52d792e2eda38e93afb3b1a61d0be2f8b7e8
5
5
  SHA512:
6
- metadata.gz: c123eb36bbb78652e37433d11da40e53ad4782c16ecd465643231f871d8f31f1dda2a910d48bbc5b1634065de09b836c0f1f4aaa8748b66d427666efd6b3a536
7
- data.tar.gz: 53fee7f10fd8b3c6349598917665ae77971c48b28bd1ae840fd6546e894fc1ed5d293ce9fd6cc915eba80b4b8041b3e23be2a4c3c37260ed1f724aa72cecb6d2
6
+ metadata.gz: 53bab60ec5d7ec1d8120000e82ebe1599adcb3941ef4018c39ca9e7ef0d732a07e458910d9fcf84487933e6bbeb1b2f4219cc6743aa63896aab076ff3a70bc05
7
+ data.tar.gz: f681180d9ed9753a5c2cdf86baeeb7a31ac4ae836efb265af7932de7a3d87c3bef39c257d7183ad6747262dcb7b20c701098e4ae15f059e55853929c4eb62b6b
@@ -27,7 +27,7 @@ export DLP_CREDENTIALS=path/to/keyfile.json
27
27
  ```ruby
28
28
  require "google/cloud/dlp/v2"
29
29
 
30
- client = Google::Cloud::Dlp::V2::DlpService::Client.new
30
+ client = ::Google::Cloud::Dlp::V2::DlpService::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-dlp-v2
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- {Google::Cloud::Dlp::V2::DlpService::Credentials}):
67
+ {::Google::Cloud::Dlp::V2::DlpService::Credentials}):
68
68
 
69
69
  1. `DLP_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  2. `DLP_KEYFILE` - Path to JSON file, or JSON contents
@@ -77,7 +77,7 @@ require "google/cloud/dlp/v2"
77
77
 
78
78
  ENV["DLP_CREDENTIALS"] = "path/to/keyfile.json"
79
79
 
80
- client = Google::Cloud::Dlp::V2::DlpService::Client.new
80
+ client = ::Google::Cloud::Dlp::V2::DlpService::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/dlp/v2"
90
90
 
91
- client = Google::Cloud::Dlp::V2::DlpService::Client.new do |config|
91
+ client = ::Google::Cloud::Dlp::V2::DlpService::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/dlp/v2"
100
100
 
101
- Google::Cloud::Dlp::V2::DlpService::Client.configure do |config|
101
+ ::Google::Cloud::Dlp::V2::DlpService::Client.configure do |config|
102
102
  config.credentials = "path/to/keyfile.json"
103
103
  end
104
104
 
105
- client = Google::Cloud::Dlp::V2::DlpService::Client.new
105
+ client = ::Google::Cloud::Dlp::V2::DlpService::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/dlp/v2"
27
27
 
28
- client = Google::Cloud::Dlp::V2::DlpService::Client.new
28
+ client = ::Google::Cloud::Dlp::V2::DlpService::Client.new
29
29
  request = my_create_request
30
30
  response = client.inspect_content 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/dlp/v2"
29
- # client = Google::Cloud::Dlp::V2::DlpService::Client.new
29
+ # client = ::Google::Cloud::Dlp::V2::DlpService::Client.new
30
30
  #
31
31
  module V2
32
32
  end
@@ -44,7 +44,7 @@ module Google
44
44
  # To load this service and instantiate a client:
45
45
  #
46
46
  # require "google/cloud/dlp/v2/dlp_service"
47
- # client = Google::Cloud::Dlp::V2::DlpService::Client.new
47
+ # client = ::Google::Cloud::Dlp::V2::DlpService::Client.new
48
48
  #
49
49
  module DlpService
50
50
  end
@@ -46,15 +46,15 @@ module Google
46
46
  ##
47
47
  # Configure the DlpService Client class.
48
48
  #
49
- # See {Google::Cloud::Dlp::V2::DlpService::Client::Configuration}
49
+ # See {::Google::Cloud::Dlp::V2::DlpService::Client::Configuration}
50
50
  # for a description of the configuration fields.
51
51
  #
52
52
  # ## Example
53
53
  #
54
54
  # To modify the configuration for all DlpService clients:
55
55
  #
56
- # Google::Cloud::Dlp::V2::DlpService::Client.configure do |config|
57
- # config.timeout = 10_000
56
+ # ::Google::Cloud::Dlp::V2::DlpService::Client.configure do |config|
57
+ # config.timeout = 10.0
58
58
  # end
59
59
  #
60
60
  # @yield [config] Configure the Client client.
@@ -292,7 +292,7 @@ module Google
292
292
  # but structural changes (adding new fields, etc.) are not allowed. Structural changes
293
293
  # should be made on {Client.configure}.
294
294
  #
295
- # See {Google::Cloud::Dlp::V2::DlpService::Client::Configuration}
295
+ # See {::Google::Cloud::Dlp::V2::DlpService::Client::Configuration}
296
296
  # for a description of the configuration fields.
297
297
  #
298
298
  # @yield [config] Configure the Client client.
@@ -313,13 +313,13 @@ module Google
313
313
  # To create a new DlpService client with the default
314
314
  # configuration:
315
315
  #
316
- # client = Google::Cloud::Dlp::V2::DlpService::Client.new
316
+ # client = ::Google::Cloud::Dlp::V2::DlpService::Client.new
317
317
  #
318
318
  # To create a new DlpService client with a custom
319
319
  # configuration:
320
320
  #
321
- # client = Google::Cloud::Dlp::V2::DlpService::Client.new do |config|
322
- # config.timeout = 10_000
321
+ # client = ::Google::Cloud::Dlp::V2::DlpService::Client.new do |config|
322
+ # config.timeout = 10.0
323
323
  # end
324
324
  #
325
325
  # @yield [config] Configure the DlpService client.
@@ -346,8 +346,8 @@ module Google
346
346
  end
347
347
  @quota_project_id = credentials.respond_to?(:quota_project_id) ? credentials.quota_project_id : nil
348
348
 
349
- @dlp_service_stub = Gapic::ServiceStub.new(
350
- Google::Cloud::Dlp::V2::DlpService::Stub,
349
+ @dlp_service_stub = ::Gapic::ServiceStub.new(
350
+ ::Google::Cloud::Dlp::V2::DlpService::Stub,
351
351
  credentials: credentials,
352
352
  endpoint: @config.endpoint,
353
353
  channel_args: @config.channel_args,
@@ -370,12 +370,12 @@ module Google
370
370
  #
371
371
  # @overload inspect_content(request, options = nil)
372
372
  # Pass arguments to `inspect_content` via a request object, either of type
373
- # {Google::Cloud::Dlp::V2::InspectContentRequest} or an equivalent Hash.
373
+ # {::Google::Cloud::Dlp::V2::InspectContentRequest} or an equivalent Hash.
374
374
  #
375
- # @param request [Google::Cloud::Dlp::V2::InspectContentRequest, Hash]
375
+ # @param request [::Google::Cloud::Dlp::V2::InspectContentRequest, ::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 inspect_content(parent: nil, inspect_config: nil, item: nil, inspect_template_name: nil, location_id: nil)
@@ -383,44 +383,44 @@ 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
  # The parent resource name, for example projects/my-project-id.
388
- # @param inspect_config [Google::Cloud::Dlp::V2::InspectConfig, Hash]
388
+ # @param inspect_config [::Google::Cloud::Dlp::V2::InspectConfig, ::Hash]
389
389
  # Configuration for the inspector. What specified here will override
390
390
  # the template referenced by the inspect_template_name argument.
391
- # @param item [Google::Cloud::Dlp::V2::ContentItem, Hash]
391
+ # @param item [::Google::Cloud::Dlp::V2::ContentItem, ::Hash]
392
392
  # The item to inspect.
393
- # @param inspect_template_name [String]
393
+ # @param inspect_template_name [::String]
394
394
  # Template to use. Any configuration directly specified in
395
395
  # inspect_config will override those set in the template. Singular fields
396
396
  # that are set in this request will replace their corresponding fields in the
397
397
  # template. Repeated fields are appended. Singular sub-messages and groups
398
398
  # are recursively merged.
399
- # @param location_id [String]
399
+ # @param location_id [::String]
400
400
  # The geographic location to process content inspection. Reserved for future
401
401
  # extensions.
402
402
  #
403
403
  # @yield [response, operation] Access the result along with the RPC operation
404
- # @yieldparam response [Google::Cloud::Dlp::V2::InspectContentResponse]
405
- # @yieldparam operation [GRPC::ActiveCall::Operation]
404
+ # @yieldparam response [::Google::Cloud::Dlp::V2::InspectContentResponse]
405
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
406
406
  #
407
- # @return [Google::Cloud::Dlp::V2::InspectContentResponse]
407
+ # @return [::Google::Cloud::Dlp::V2::InspectContentResponse]
408
408
  #
409
- # @raise [Google::Cloud::Error] if the RPC is aborted.
409
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
410
410
  #
411
411
  def inspect_content request, options = nil
412
- raise ArgumentError, "request must be provided" if request.nil?
412
+ raise ::ArgumentError, "request must be provided" if request.nil?
413
413
 
414
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::InspectContentRequest
414
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::InspectContentRequest
415
415
 
416
416
  # Converts hash and nil to an options object
417
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
417
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
418
418
 
419
419
  # Customize the options with defaults
420
420
  metadata = @config.rpcs.inspect_content.metadata.to_h
421
421
 
422
422
  # Set x-goog-api-client and x-goog-user-project headers
423
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
423
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
424
424
  lib_name: @config.lib_name, lib_version: @config.lib_version,
425
425
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
426
426
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -441,8 +441,8 @@ module Google
441
441
  yield response, operation if block_given?
442
442
  return response
443
443
  end
444
- rescue GRPC::BadStatus => e
445
- raise Google::Cloud::Error.from_error(e)
444
+ rescue ::GRPC::BadStatus => e
445
+ raise ::Google::Cloud::Error.from_error(e)
446
446
  end
447
447
 
448
448
  ##
@@ -457,12 +457,12 @@ module Google
457
457
  #
458
458
  # @overload redact_image(request, options = nil)
459
459
  # Pass arguments to `redact_image` via a request object, either of type
460
- # {Google::Cloud::Dlp::V2::RedactImageRequest} or an equivalent Hash.
460
+ # {::Google::Cloud::Dlp::V2::RedactImageRequest} or an equivalent Hash.
461
461
  #
462
- # @param request [Google::Cloud::Dlp::V2::RedactImageRequest, Hash]
462
+ # @param request [::Google::Cloud::Dlp::V2::RedactImageRequest, ::Hash]
463
463
  # A request object representing the call parameters. Required. To specify no
464
464
  # parameters, or to keep all the default parameter values, pass an empty Hash.
465
- # @param options [Gapic::CallOptions, Hash]
465
+ # @param options [::Gapic::CallOptions, ::Hash]
466
466
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
467
467
  #
468
468
  # @overload redact_image(parent: nil, location_id: nil, inspect_config: nil, image_redaction_configs: nil, include_findings: nil, byte_item: nil)
@@ -470,42 +470,42 @@ module Google
470
470
  # least one keyword argument is required. To specify no parameters, or to keep all
471
471
  # the default parameter values, pass an empty Hash as a request object (see above).
472
472
  #
473
- # @param parent [String]
473
+ # @param parent [::String]
474
474
  # The parent resource name, for example projects/my-project-id.
475
- # @param location_id [String]
475
+ # @param location_id [::String]
476
476
  # The geographic location to process the request. Reserved for future
477
477
  # extensions.
478
- # @param inspect_config [Google::Cloud::Dlp::V2::InspectConfig, Hash]
478
+ # @param inspect_config [::Google::Cloud::Dlp::V2::InspectConfig, ::Hash]
479
479
  # Configuration for the inspector.
480
- # @param image_redaction_configs [Array<Google::Cloud::Dlp::V2::RedactImageRequest::ImageRedactionConfig, Hash>]
480
+ # @param image_redaction_configs [::Array<::Google::Cloud::Dlp::V2::RedactImageRequest::ImageRedactionConfig, ::Hash>]
481
481
  # The configuration for specifying what content to redact from images.
482
- # @param include_findings [Boolean]
482
+ # @param include_findings [::Boolean]
483
483
  # Whether the response should include findings along with the redacted
484
484
  # image.
485
- # @param byte_item [Google::Cloud::Dlp::V2::ByteContentItem, Hash]
485
+ # @param byte_item [::Google::Cloud::Dlp::V2::ByteContentItem, ::Hash]
486
486
  # The content must be PNG, JPEG, SVG or BMP.
487
487
  #
488
488
  # @yield [response, operation] Access the result along with the RPC operation
489
- # @yieldparam response [Google::Cloud::Dlp::V2::RedactImageResponse]
490
- # @yieldparam operation [GRPC::ActiveCall::Operation]
489
+ # @yieldparam response [::Google::Cloud::Dlp::V2::RedactImageResponse]
490
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
491
491
  #
492
- # @return [Google::Cloud::Dlp::V2::RedactImageResponse]
492
+ # @return [::Google::Cloud::Dlp::V2::RedactImageResponse]
493
493
  #
494
- # @raise [Google::Cloud::Error] if the RPC is aborted.
494
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
495
495
  #
496
496
  def redact_image request, options = nil
497
- raise ArgumentError, "request must be provided" if request.nil?
497
+ raise ::ArgumentError, "request must be provided" if request.nil?
498
498
 
499
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::RedactImageRequest
499
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::RedactImageRequest
500
500
 
501
501
  # Converts hash and nil to an options object
502
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
502
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
503
503
 
504
504
  # Customize the options with defaults
505
505
  metadata = @config.rpcs.redact_image.metadata.to_h
506
506
 
507
507
  # Set x-goog-api-client and x-goog-user-project headers
508
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
508
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
509
509
  lib_name: @config.lib_name, lib_version: @config.lib_version,
510
510
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
511
511
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -526,8 +526,8 @@ module Google
526
526
  yield response, operation if block_given?
527
527
  return response
528
528
  end
529
- rescue GRPC::BadStatus => e
530
- raise Google::Cloud::Error.from_error(e)
529
+ rescue ::GRPC::BadStatus => e
530
+ raise ::Google::Cloud::Error.from_error(e)
531
531
  end
532
532
 
533
533
  ##
@@ -542,12 +542,12 @@ module Google
542
542
  #
543
543
  # @overload deidentify_content(request, options = nil)
544
544
  # Pass arguments to `deidentify_content` via a request object, either of type
545
- # {Google::Cloud::Dlp::V2::DeidentifyContentRequest} or an equivalent Hash.
545
+ # {::Google::Cloud::Dlp::V2::DeidentifyContentRequest} or an equivalent Hash.
546
546
  #
547
- # @param request [Google::Cloud::Dlp::V2::DeidentifyContentRequest, Hash]
547
+ # @param request [::Google::Cloud::Dlp::V2::DeidentifyContentRequest, ::Hash]
548
548
  # A request object representing the call parameters. Required. To specify no
549
549
  # parameters, or to keep all the default parameter values, pass an empty Hash.
550
- # @param options [Gapic::CallOptions, Hash]
550
+ # @param options [::Gapic::CallOptions, ::Hash]
551
551
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
552
552
  #
553
553
  # @overload deidentify_content(parent: nil, deidentify_config: nil, inspect_config: nil, item: nil, inspect_template_name: nil, deidentify_template_name: nil, location_id: nil)
@@ -555,55 +555,55 @@ module Google
555
555
  # least one keyword argument is required. To specify no parameters, or to keep all
556
556
  # the default parameter values, pass an empty Hash as a request object (see above).
557
557
  #
558
- # @param parent [String]
558
+ # @param parent [::String]
559
559
  # The parent resource name, for example projects/my-project-id.
560
- # @param deidentify_config [Google::Cloud::Dlp::V2::DeidentifyConfig, Hash]
560
+ # @param deidentify_config [::Google::Cloud::Dlp::V2::DeidentifyConfig, ::Hash]
561
561
  # Configuration for the de-identification of the content item.
562
562
  # Items specified here will override the template referenced by the
563
563
  # deidentify_template_name argument.
564
- # @param inspect_config [Google::Cloud::Dlp::V2::InspectConfig, Hash]
564
+ # @param inspect_config [::Google::Cloud::Dlp::V2::InspectConfig, ::Hash]
565
565
  # Configuration for the inspector.
566
566
  # Items specified here will override the template referenced by the
567
567
  # inspect_template_name argument.
568
- # @param item [Google::Cloud::Dlp::V2::ContentItem, Hash]
568
+ # @param item [::Google::Cloud::Dlp::V2::ContentItem, ::Hash]
569
569
  # The item to de-identify. Will be treated as text.
570
- # @param inspect_template_name [String]
570
+ # @param inspect_template_name [::String]
571
571
  # Template to use. Any configuration directly specified in
572
572
  # inspect_config will override those set in the template. Singular fields
573
573
  # that are set in this request will replace their corresponding fields in the
574
574
  # template. Repeated fields are appended. Singular sub-messages and groups
575
575
  # are recursively merged.
576
- # @param deidentify_template_name [String]
576
+ # @param deidentify_template_name [::String]
577
577
  # Template to use. Any configuration directly specified in
578
578
  # deidentify_config will override those set in the template. Singular fields
579
579
  # that are set in this request will replace their corresponding fields in the
580
580
  # template. Repeated fields are appended. Singular sub-messages and groups
581
581
  # are recursively merged.
582
- # @param location_id [String]
582
+ # @param location_id [::String]
583
583
  # The geographic location to process de-identification. Reserved for future
584
584
  # extensions.
585
585
  #
586
586
  # @yield [response, operation] Access the result along with the RPC operation
587
- # @yieldparam response [Google::Cloud::Dlp::V2::DeidentifyContentResponse]
588
- # @yieldparam operation [GRPC::ActiveCall::Operation]
587
+ # @yieldparam response [::Google::Cloud::Dlp::V2::DeidentifyContentResponse]
588
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
589
589
  #
590
- # @return [Google::Cloud::Dlp::V2::DeidentifyContentResponse]
590
+ # @return [::Google::Cloud::Dlp::V2::DeidentifyContentResponse]
591
591
  #
592
- # @raise [Google::Cloud::Error] if the RPC is aborted.
592
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
593
593
  #
594
594
  def deidentify_content request, options = nil
595
- raise ArgumentError, "request must be provided" if request.nil?
595
+ raise ::ArgumentError, "request must be provided" if request.nil?
596
596
 
597
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::DeidentifyContentRequest
597
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::DeidentifyContentRequest
598
598
 
599
599
  # Converts hash and nil to an options object
600
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
600
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
601
601
 
602
602
  # Customize the options with defaults
603
603
  metadata = @config.rpcs.deidentify_content.metadata.to_h
604
604
 
605
605
  # Set x-goog-api-client and x-goog-user-project headers
606
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
606
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
607
607
  lib_name: @config.lib_name, lib_version: @config.lib_version,
608
608
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
609
609
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -624,8 +624,8 @@ module Google
624
624
  yield response, operation if block_given?
625
625
  return response
626
626
  end
627
- rescue GRPC::BadStatus => e
628
- raise Google::Cloud::Error.from_error(e)
627
+ rescue ::GRPC::BadStatus => e
628
+ raise ::Google::Cloud::Error.from_error(e)
629
629
  end
630
630
 
631
631
  ##
@@ -636,12 +636,12 @@ module Google
636
636
  #
637
637
  # @overload reidentify_content(request, options = nil)
638
638
  # Pass arguments to `reidentify_content` via a request object, either of type
639
- # {Google::Cloud::Dlp::V2::ReidentifyContentRequest} or an equivalent Hash.
639
+ # {::Google::Cloud::Dlp::V2::ReidentifyContentRequest} or an equivalent Hash.
640
640
  #
641
- # @param request [Google::Cloud::Dlp::V2::ReidentifyContentRequest, Hash]
641
+ # @param request [::Google::Cloud::Dlp::V2::ReidentifyContentRequest, ::Hash]
642
642
  # A request object representing the call parameters. Required. To specify no
643
643
  # parameters, or to keep all the default parameter values, pass an empty Hash.
644
- # @param options [Gapic::CallOptions, Hash]
644
+ # @param options [::Gapic::CallOptions, ::Hash]
645
645
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
646
646
  #
647
647
  # @overload reidentify_content(parent: nil, reidentify_config: nil, inspect_config: nil, item: nil, inspect_template_name: nil, reidentify_template_name: nil, location_id: nil)
@@ -649,9 +649,9 @@ module Google
649
649
  # least one keyword argument is required. To specify no parameters, or to keep all
650
650
  # the default parameter values, pass an empty Hash as a request object (see above).
651
651
  #
652
- # @param parent [String]
652
+ # @param parent [::String]
653
653
  # Required. The parent resource name.
654
- # @param reidentify_config [Google::Cloud::Dlp::V2::DeidentifyConfig, Hash]
654
+ # @param reidentify_config [::Google::Cloud::Dlp::V2::DeidentifyConfig, ::Hash]
655
655
  # Configuration for the re-identification of the content item.
656
656
  # This field shares the same proto message type that is used for
657
657
  # de-identification, however its usage here is for the reversal of the
@@ -662,48 +662,48 @@ module Google
662
662
  #
663
663
  # - `CryptoDeterministicConfig`
664
664
  # - `CryptoReplaceFfxFpeConfig`
665
- # @param inspect_config [Google::Cloud::Dlp::V2::InspectConfig, Hash]
665
+ # @param inspect_config [::Google::Cloud::Dlp::V2::InspectConfig, ::Hash]
666
666
  # Configuration for the inspector.
667
- # @param item [Google::Cloud::Dlp::V2::ContentItem, Hash]
667
+ # @param item [::Google::Cloud::Dlp::V2::ContentItem, ::Hash]
668
668
  # The item to re-identify. Will be treated as text.
669
- # @param inspect_template_name [String]
669
+ # @param inspect_template_name [::String]
670
670
  # Template to use. Any configuration directly specified in
671
671
  # `inspect_config` will override those set in the template. Singular fields
672
672
  # that are set in this request will replace their corresponding fields in the
673
673
  # template. Repeated fields are appended. Singular sub-messages and groups
674
674
  # are recursively merged.
675
- # @param reidentify_template_name [String]
675
+ # @param reidentify_template_name [::String]
676
676
  # Template to use. References an instance of `DeidentifyTemplate`.
677
677
  # Any configuration directly specified in `reidentify_config` or
678
678
  # `inspect_config` will override those set in the template. Singular fields
679
679
  # that are set in this request will replace their corresponding fields in the
680
680
  # template. Repeated fields are appended. Singular sub-messages and groups
681
681
  # are recursively merged.
682
- # @param location_id [String]
682
+ # @param location_id [::String]
683
683
  # The geographic location to process content reidentification. Reserved for
684
684
  # future extensions.
685
685
  #
686
686
  # @yield [response, operation] Access the result along with the RPC operation
687
- # @yieldparam response [Google::Cloud::Dlp::V2::ReidentifyContentResponse]
688
- # @yieldparam operation [GRPC::ActiveCall::Operation]
687
+ # @yieldparam response [::Google::Cloud::Dlp::V2::ReidentifyContentResponse]
688
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
689
689
  #
690
- # @return [Google::Cloud::Dlp::V2::ReidentifyContentResponse]
690
+ # @return [::Google::Cloud::Dlp::V2::ReidentifyContentResponse]
691
691
  #
692
- # @raise [Google::Cloud::Error] if the RPC is aborted.
692
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
693
693
  #
694
694
  def reidentify_content request, options = nil
695
- raise ArgumentError, "request must be provided" if request.nil?
695
+ raise ::ArgumentError, "request must be provided" if request.nil?
696
696
 
697
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::ReidentifyContentRequest
697
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::ReidentifyContentRequest
698
698
 
699
699
  # Converts hash and nil to an options object
700
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
700
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
701
701
 
702
702
  # Customize the options with defaults
703
703
  metadata = @config.rpcs.reidentify_content.metadata.to_h
704
704
 
705
705
  # Set x-goog-api-client and x-goog-user-project headers
706
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
706
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
707
707
  lib_name: @config.lib_name, lib_version: @config.lib_version,
708
708
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
709
709
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -724,8 +724,8 @@ module Google
724
724
  yield response, operation if block_given?
725
725
  return response
726
726
  end
727
- rescue GRPC::BadStatus => e
728
- raise Google::Cloud::Error.from_error(e)
727
+ rescue ::GRPC::BadStatus => e
728
+ raise ::Google::Cloud::Error.from_error(e)
729
729
  end
730
730
 
731
731
  ##
@@ -735,12 +735,12 @@ module Google
735
735
  #
736
736
  # @overload list_info_types(request, options = nil)
737
737
  # Pass arguments to `list_info_types` via a request object, either of type
738
- # {Google::Cloud::Dlp::V2::ListInfoTypesRequest} or an equivalent Hash.
738
+ # {::Google::Cloud::Dlp::V2::ListInfoTypesRequest} or an equivalent Hash.
739
739
  #
740
- # @param request [Google::Cloud::Dlp::V2::ListInfoTypesRequest, Hash]
740
+ # @param request [::Google::Cloud::Dlp::V2::ListInfoTypesRequest, ::Hash]
741
741
  # A request object representing the call parameters. Required. To specify no
742
742
  # parameters, or to keep all the default parameter values, pass an empty Hash.
743
- # @param options [Gapic::CallOptions, Hash]
743
+ # @param options [::Gapic::CallOptions, ::Hash]
744
744
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
745
745
  #
746
746
  # @overload list_info_types(language_code: nil, filter: nil, location_id: nil)
@@ -748,38 +748,38 @@ module Google
748
748
  # least one keyword argument is required. To specify no parameters, or to keep all
749
749
  # the default parameter values, pass an empty Hash as a request object (see above).
750
750
  #
751
- # @param language_code [String]
751
+ # @param language_code [::String]
752
752
  # BCP-47 language code for localized infoType friendly
753
753
  # names. If omitted, or if localized strings are not available,
754
754
  # en-US strings will be returned.
755
- # @param filter [String]
755
+ # @param filter [::String]
756
756
  # filter to only return infoTypes supported by certain parts of the
757
757
  # API. Defaults to supported_by=INSPECT.
758
- # @param location_id [String]
758
+ # @param location_id [::String]
759
759
  # The geographic location to list info types. Reserved for future
760
760
  # extensions.
761
761
  #
762
762
  # @yield [response, operation] Access the result along with the RPC operation
763
- # @yieldparam response [Google::Cloud::Dlp::V2::ListInfoTypesResponse]
764
- # @yieldparam operation [GRPC::ActiveCall::Operation]
763
+ # @yieldparam response [::Google::Cloud::Dlp::V2::ListInfoTypesResponse]
764
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
765
765
  #
766
- # @return [Google::Cloud::Dlp::V2::ListInfoTypesResponse]
766
+ # @return [::Google::Cloud::Dlp::V2::ListInfoTypesResponse]
767
767
  #
768
- # @raise [Google::Cloud::Error] if the RPC is aborted.
768
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
769
769
  #
770
770
  def list_info_types request, options = nil
771
- raise ArgumentError, "request must be provided" if request.nil?
771
+ raise ::ArgumentError, "request must be provided" if request.nil?
772
772
 
773
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::ListInfoTypesRequest
773
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::ListInfoTypesRequest
774
774
 
775
775
  # Converts hash and nil to an options object
776
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
776
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
777
777
 
778
778
  # Customize the options with defaults
779
779
  metadata = @config.rpcs.list_info_types.metadata.to_h
780
780
 
781
781
  # Set x-goog-api-client and x-goog-user-project headers
782
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
782
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
783
783
  lib_name: @config.lib_name, lib_version: @config.lib_version,
784
784
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
785
785
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -794,8 +794,8 @@ module Google
794
794
  yield response, operation if block_given?
795
795
  return response
796
796
  end
797
- rescue GRPC::BadStatus => e
798
- raise Google::Cloud::Error.from_error(e)
797
+ rescue ::GRPC::BadStatus => e
798
+ raise ::Google::Cloud::Error.from_error(e)
799
799
  end
800
800
 
801
801
  ##
@@ -805,12 +805,12 @@ module Google
805
805
  #
806
806
  # @overload create_inspect_template(request, options = nil)
807
807
  # Pass arguments to `create_inspect_template` via a request object, either of type
808
- # {Google::Cloud::Dlp::V2::CreateInspectTemplateRequest} or an equivalent Hash.
808
+ # {::Google::Cloud::Dlp::V2::CreateInspectTemplateRequest} or an equivalent Hash.
809
809
  #
810
- # @param request [Google::Cloud::Dlp::V2::CreateInspectTemplateRequest, Hash]
810
+ # @param request [::Google::Cloud::Dlp::V2::CreateInspectTemplateRequest, ::Hash]
811
811
  # A request object representing the call parameters. Required. To specify no
812
812
  # parameters, or to keep all the default parameter values, pass an empty Hash.
813
- # @param options [Gapic::CallOptions, Hash]
813
+ # @param options [::Gapic::CallOptions, ::Hash]
814
814
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
815
815
  #
816
816
  # @overload create_inspect_template(parent: nil, inspect_template: nil, template_id: nil, location_id: nil)
@@ -818,41 +818,41 @@ module Google
818
818
  # least one keyword argument is required. To specify no parameters, or to keep all
819
819
  # the default parameter values, pass an empty Hash as a request object (see above).
820
820
  #
821
- # @param parent [String]
821
+ # @param parent [::String]
822
822
  # Required. The parent resource name, for example projects/my-project-id or
823
823
  # organizations/my-org-id.
824
- # @param inspect_template [Google::Cloud::Dlp::V2::InspectTemplate, Hash]
824
+ # @param inspect_template [::Google::Cloud::Dlp::V2::InspectTemplate, ::Hash]
825
825
  # Required. The InspectTemplate to create.
826
- # @param template_id [String]
826
+ # @param template_id [::String]
827
827
  # The template id can contain uppercase and lowercase letters,
828
828
  # numbers, and hyphens; that is, it must match the regular
829
829
  # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
830
830
  # characters. Can be empty to allow the system to generate one.
831
- # @param location_id [String]
831
+ # @param location_id [::String]
832
832
  # The geographic location to store the inspection template. Reserved for
833
833
  # future extensions.
834
834
  #
835
835
  # @yield [response, operation] Access the result along with the RPC operation
836
- # @yieldparam response [Google::Cloud::Dlp::V2::InspectTemplate]
837
- # @yieldparam operation [GRPC::ActiveCall::Operation]
836
+ # @yieldparam response [::Google::Cloud::Dlp::V2::InspectTemplate]
837
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
838
838
  #
839
- # @return [Google::Cloud::Dlp::V2::InspectTemplate]
839
+ # @return [::Google::Cloud::Dlp::V2::InspectTemplate]
840
840
  #
841
- # @raise [Google::Cloud::Error] if the RPC is aborted.
841
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
842
842
  #
843
843
  def create_inspect_template request, options = nil
844
- raise ArgumentError, "request must be provided" if request.nil?
844
+ raise ::ArgumentError, "request must be provided" if request.nil?
845
845
 
846
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::CreateInspectTemplateRequest
846
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::CreateInspectTemplateRequest
847
847
 
848
848
  # Converts hash and nil to an options object
849
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
849
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
850
850
 
851
851
  # Customize the options with defaults
852
852
  metadata = @config.rpcs.create_inspect_template.metadata.to_h
853
853
 
854
854
  # Set x-goog-api-client and x-goog-user-project headers
855
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
855
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
856
856
  lib_name: @config.lib_name, lib_version: @config.lib_version,
857
857
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
858
858
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -873,8 +873,8 @@ module Google
873
873
  yield response, operation if block_given?
874
874
  return response
875
875
  end
876
- rescue GRPC::BadStatus => e
877
- raise Google::Cloud::Error.from_error(e)
876
+ rescue ::GRPC::BadStatus => e
877
+ raise ::Google::Cloud::Error.from_error(e)
878
878
  end
879
879
 
880
880
  ##
@@ -883,12 +883,12 @@ module Google
883
883
  #
884
884
  # @overload update_inspect_template(request, options = nil)
885
885
  # Pass arguments to `update_inspect_template` via a request object, either of type
886
- # {Google::Cloud::Dlp::V2::UpdateInspectTemplateRequest} or an equivalent Hash.
886
+ # {::Google::Cloud::Dlp::V2::UpdateInspectTemplateRequest} or an equivalent Hash.
887
887
  #
888
- # @param request [Google::Cloud::Dlp::V2::UpdateInspectTemplateRequest, Hash]
888
+ # @param request [::Google::Cloud::Dlp::V2::UpdateInspectTemplateRequest, ::Hash]
889
889
  # A request object representing the call parameters. Required. To specify no
890
890
  # parameters, or to keep all the default parameter values, pass an empty Hash.
891
- # @param options [Gapic::CallOptions, Hash]
891
+ # @param options [::Gapic::CallOptions, ::Hash]
892
892
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
893
893
  #
894
894
  # @overload update_inspect_template(name: nil, inspect_template: nil, update_mask: nil)
@@ -896,36 +896,36 @@ module Google
896
896
  # least one keyword argument is required. To specify no parameters, or to keep all
897
897
  # the default parameter values, pass an empty Hash as a request object (see above).
898
898
  #
899
- # @param name [String]
899
+ # @param name [::String]
900
900
  # Required. Resource name of organization and inspectTemplate to be updated,
901
901
  # for example `organizations/433245324/inspectTemplates/432452342` or
902
902
  # projects/project-id/inspectTemplates/432452342.
903
- # @param inspect_template [Google::Cloud::Dlp::V2::InspectTemplate, Hash]
903
+ # @param inspect_template [::Google::Cloud::Dlp::V2::InspectTemplate, ::Hash]
904
904
  # New InspectTemplate value.
905
- # @param update_mask [Google::Protobuf::FieldMask, Hash]
905
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
906
906
  # Mask to control which fields get updated.
907
907
  #
908
908
  # @yield [response, operation] Access the result along with the RPC operation
909
- # @yieldparam response [Google::Cloud::Dlp::V2::InspectTemplate]
910
- # @yieldparam operation [GRPC::ActiveCall::Operation]
909
+ # @yieldparam response [::Google::Cloud::Dlp::V2::InspectTemplate]
910
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
911
911
  #
912
- # @return [Google::Cloud::Dlp::V2::InspectTemplate]
912
+ # @return [::Google::Cloud::Dlp::V2::InspectTemplate]
913
913
  #
914
- # @raise [Google::Cloud::Error] if the RPC is aborted.
914
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
915
915
  #
916
916
  def update_inspect_template request, options = nil
917
- raise ArgumentError, "request must be provided" if request.nil?
917
+ raise ::ArgumentError, "request must be provided" if request.nil?
918
918
 
919
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::UpdateInspectTemplateRequest
919
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::UpdateInspectTemplateRequest
920
920
 
921
921
  # Converts hash and nil to an options object
922
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
922
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
923
923
 
924
924
  # Customize the options with defaults
925
925
  metadata = @config.rpcs.update_inspect_template.metadata.to_h
926
926
 
927
927
  # Set x-goog-api-client and x-goog-user-project headers
928
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
928
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
929
929
  lib_name: @config.lib_name, lib_version: @config.lib_version,
930
930
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
931
931
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -946,8 +946,8 @@ module Google
946
946
  yield response, operation if block_given?
947
947
  return response
948
948
  end
949
- rescue GRPC::BadStatus => e
950
- raise Google::Cloud::Error.from_error(e)
949
+ rescue ::GRPC::BadStatus => e
950
+ raise ::Google::Cloud::Error.from_error(e)
951
951
  end
952
952
 
953
953
  ##
@@ -956,12 +956,12 @@ module Google
956
956
  #
957
957
  # @overload get_inspect_template(request, options = nil)
958
958
  # Pass arguments to `get_inspect_template` via a request object, either of type
959
- # {Google::Cloud::Dlp::V2::GetInspectTemplateRequest} or an equivalent Hash.
959
+ # {::Google::Cloud::Dlp::V2::GetInspectTemplateRequest} or an equivalent Hash.
960
960
  #
961
- # @param request [Google::Cloud::Dlp::V2::GetInspectTemplateRequest, Hash]
961
+ # @param request [::Google::Cloud::Dlp::V2::GetInspectTemplateRequest, ::Hash]
962
962
  # A request object representing the call parameters. Required. To specify no
963
963
  # parameters, or to keep all the default parameter values, pass an empty Hash.
964
- # @param options [Gapic::CallOptions, Hash]
964
+ # @param options [::Gapic::CallOptions, ::Hash]
965
965
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
966
966
  #
967
967
  # @overload get_inspect_template(name: nil)
@@ -969,32 +969,32 @@ module Google
969
969
  # least one keyword argument is required. To specify no parameters, or to keep all
970
970
  # the default parameter values, pass an empty Hash as a request object (see above).
971
971
  #
972
- # @param name [String]
972
+ # @param name [::String]
973
973
  # Required. Resource name of the organization and inspectTemplate to be read,
974
974
  # for example `organizations/433245324/inspectTemplates/432452342` or
975
975
  # projects/project-id/inspectTemplates/432452342.
976
976
  #
977
977
  # @yield [response, operation] Access the result along with the RPC operation
978
- # @yieldparam response [Google::Cloud::Dlp::V2::InspectTemplate]
979
- # @yieldparam operation [GRPC::ActiveCall::Operation]
978
+ # @yieldparam response [::Google::Cloud::Dlp::V2::InspectTemplate]
979
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
980
980
  #
981
- # @return [Google::Cloud::Dlp::V2::InspectTemplate]
981
+ # @return [::Google::Cloud::Dlp::V2::InspectTemplate]
982
982
  #
983
- # @raise [Google::Cloud::Error] if the RPC is aborted.
983
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
984
984
  #
985
985
  def get_inspect_template request, options = nil
986
- raise ArgumentError, "request must be provided" if request.nil?
986
+ raise ::ArgumentError, "request must be provided" if request.nil?
987
987
 
988
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::GetInspectTemplateRequest
988
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::GetInspectTemplateRequest
989
989
 
990
990
  # Converts hash and nil to an options object
991
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
991
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
992
992
 
993
993
  # Customize the options with defaults
994
994
  metadata = @config.rpcs.get_inspect_template.metadata.to_h
995
995
 
996
996
  # Set x-goog-api-client and x-goog-user-project headers
997
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
997
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
998
998
  lib_name: @config.lib_name, lib_version: @config.lib_version,
999
999
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1000
1000
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1015,8 +1015,8 @@ module Google
1015
1015
  yield response, operation if block_given?
1016
1016
  return response
1017
1017
  end
1018
- rescue GRPC::BadStatus => e
1019
- raise Google::Cloud::Error.from_error(e)
1018
+ rescue ::GRPC::BadStatus => e
1019
+ raise ::Google::Cloud::Error.from_error(e)
1020
1020
  end
1021
1021
 
1022
1022
  ##
@@ -1025,12 +1025,12 @@ module Google
1025
1025
  #
1026
1026
  # @overload list_inspect_templates(request, options = nil)
1027
1027
  # Pass arguments to `list_inspect_templates` via a request object, either of type
1028
- # {Google::Cloud::Dlp::V2::ListInspectTemplatesRequest} or an equivalent Hash.
1028
+ # {::Google::Cloud::Dlp::V2::ListInspectTemplatesRequest} or an equivalent Hash.
1029
1029
  #
1030
- # @param request [Google::Cloud::Dlp::V2::ListInspectTemplatesRequest, Hash]
1030
+ # @param request [::Google::Cloud::Dlp::V2::ListInspectTemplatesRequest, ::Hash]
1031
1031
  # A request object representing the call parameters. Required. To specify no
1032
1032
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1033
- # @param options [Gapic::CallOptions, Hash]
1033
+ # @param options [::Gapic::CallOptions, ::Hash]
1034
1034
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1035
1035
  #
1036
1036
  # @overload list_inspect_templates(parent: nil, page_token: nil, page_size: nil, order_by: nil, location_id: nil)
@@ -1038,16 +1038,16 @@ module Google
1038
1038
  # least one keyword argument is required. To specify no parameters, or to keep all
1039
1039
  # the default parameter values, pass an empty Hash as a request object (see above).
1040
1040
  #
1041
- # @param parent [String]
1041
+ # @param parent [::String]
1042
1042
  # Required. The parent resource name, for example projects/my-project-id or
1043
1043
  # organizations/my-org-id.
1044
- # @param page_token [String]
1044
+ # @param page_token [::String]
1045
1045
  # Page token to continue retrieval. Comes from previous call
1046
1046
  # to `ListInspectTemplates`.
1047
- # @param page_size [Integer]
1047
+ # @param page_size [::Integer]
1048
1048
  # Size of the page, can be limited by server. If zero server returns
1049
1049
  # a page of max size 100.
1050
- # @param order_by [String]
1050
+ # @param order_by [::String]
1051
1051
  # Comma separated list of fields to order by,
1052
1052
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
1053
1053
  # default sorting order is ascending, redundant space characters are
@@ -1061,31 +1061,31 @@ module Google
1061
1061
  # - `update_time`: corresponds to time the template was last updated.
1062
1062
  # - `name`: corresponds to template's name.
1063
1063
  # - `display_name`: corresponds to template's display name.
1064
- # @param location_id [String]
1064
+ # @param location_id [::String]
1065
1065
  # The geographic location where inspection templates will be retrieved from.
1066
1066
  # Use `-` for all locations. Reserved for future extensions.
1067
1067
  #
1068
1068
  # @yield [response, operation] Access the result along with the RPC operation
1069
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::Dlp::V2::InspectTemplate>]
1070
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1069
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::InspectTemplate>]
1070
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1071
1071
  #
1072
- # @return [Gapic::PagedEnumerable<Google::Cloud::Dlp::V2::InspectTemplate>]
1072
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::InspectTemplate>]
1073
1073
  #
1074
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1074
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1075
1075
  #
1076
1076
  def list_inspect_templates request, options = nil
1077
- raise ArgumentError, "request must be provided" if request.nil?
1077
+ raise ::ArgumentError, "request must be provided" if request.nil?
1078
1078
 
1079
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::ListInspectTemplatesRequest
1079
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::ListInspectTemplatesRequest
1080
1080
 
1081
1081
  # Converts hash and nil to an options object
1082
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1082
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1083
1083
 
1084
1084
  # Customize the options with defaults
1085
1085
  metadata = @config.rpcs.list_inspect_templates.metadata.to_h
1086
1086
 
1087
1087
  # Set x-goog-api-client and x-goog-user-project headers
1088
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1088
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1089
1089
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1090
1090
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1091
1091
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1103,12 +1103,12 @@ module Google
1103
1103
  retry_policy: @config.retry_policy
1104
1104
 
1105
1105
  @dlp_service_stub.call_rpc :list_inspect_templates, request, options: options do |response, operation|
1106
- response = Gapic::PagedEnumerable.new @dlp_service_stub, :list_inspect_templates, request, response, operation, options
1106
+ response = ::Gapic::PagedEnumerable.new @dlp_service_stub, :list_inspect_templates, request, response, operation, options
1107
1107
  yield response, operation if block_given?
1108
1108
  return response
1109
1109
  end
1110
- rescue GRPC::BadStatus => e
1111
- raise Google::Cloud::Error.from_error(e)
1110
+ rescue ::GRPC::BadStatus => e
1111
+ raise ::Google::Cloud::Error.from_error(e)
1112
1112
  end
1113
1113
 
1114
1114
  ##
@@ -1117,12 +1117,12 @@ module Google
1117
1117
  #
1118
1118
  # @overload delete_inspect_template(request, options = nil)
1119
1119
  # Pass arguments to `delete_inspect_template` via a request object, either of type
1120
- # {Google::Cloud::Dlp::V2::DeleteInspectTemplateRequest} or an equivalent Hash.
1120
+ # {::Google::Cloud::Dlp::V2::DeleteInspectTemplateRequest} or an equivalent Hash.
1121
1121
  #
1122
- # @param request [Google::Cloud::Dlp::V2::DeleteInspectTemplateRequest, Hash]
1122
+ # @param request [::Google::Cloud::Dlp::V2::DeleteInspectTemplateRequest, ::Hash]
1123
1123
  # A request object representing the call parameters. Required. To specify no
1124
1124
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1125
- # @param options [Gapic::CallOptions, Hash]
1125
+ # @param options [::Gapic::CallOptions, ::Hash]
1126
1126
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1127
1127
  #
1128
1128
  # @overload delete_inspect_template(name: nil)
@@ -1130,32 +1130,32 @@ module Google
1130
1130
  # least one keyword argument is required. To specify no parameters, or to keep all
1131
1131
  # the default parameter values, pass an empty Hash as a request object (see above).
1132
1132
  #
1133
- # @param name [String]
1133
+ # @param name [::String]
1134
1134
  # Required. Resource name of the organization and inspectTemplate to be
1135
1135
  # deleted, for example `organizations/433245324/inspectTemplates/432452342`
1136
1136
  # or projects/project-id/inspectTemplates/432452342.
1137
1137
  #
1138
1138
  # @yield [response, operation] Access the result along with the RPC operation
1139
- # @yieldparam response [Google::Protobuf::Empty]
1140
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1139
+ # @yieldparam response [::Google::Protobuf::Empty]
1140
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1141
1141
  #
1142
- # @return [Google::Protobuf::Empty]
1142
+ # @return [::Google::Protobuf::Empty]
1143
1143
  #
1144
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1144
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1145
1145
  #
1146
1146
  def delete_inspect_template request, options = nil
1147
- raise ArgumentError, "request must be provided" if request.nil?
1147
+ raise ::ArgumentError, "request must be provided" if request.nil?
1148
1148
 
1149
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::DeleteInspectTemplateRequest
1149
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::DeleteInspectTemplateRequest
1150
1150
 
1151
1151
  # Converts hash and nil to an options object
1152
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1152
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1153
1153
 
1154
1154
  # Customize the options with defaults
1155
1155
  metadata = @config.rpcs.delete_inspect_template.metadata.to_h
1156
1156
 
1157
1157
  # Set x-goog-api-client and x-goog-user-project headers
1158
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1158
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1159
1159
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1160
1160
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1161
1161
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1176,8 +1176,8 @@ module Google
1176
1176
  yield response, operation if block_given?
1177
1177
  return response
1178
1178
  end
1179
- rescue GRPC::BadStatus => e
1180
- raise Google::Cloud::Error.from_error(e)
1179
+ rescue ::GRPC::BadStatus => e
1180
+ raise ::Google::Cloud::Error.from_error(e)
1181
1181
  end
1182
1182
 
1183
1183
  ##
@@ -1188,12 +1188,12 @@ module Google
1188
1188
  #
1189
1189
  # @overload create_deidentify_template(request, options = nil)
1190
1190
  # Pass arguments to `create_deidentify_template` via a request object, either of type
1191
- # {Google::Cloud::Dlp::V2::CreateDeidentifyTemplateRequest} or an equivalent Hash.
1191
+ # {::Google::Cloud::Dlp::V2::CreateDeidentifyTemplateRequest} or an equivalent Hash.
1192
1192
  #
1193
- # @param request [Google::Cloud::Dlp::V2::CreateDeidentifyTemplateRequest, Hash]
1193
+ # @param request [::Google::Cloud::Dlp::V2::CreateDeidentifyTemplateRequest, ::Hash]
1194
1194
  # A request object representing the call parameters. Required. To specify no
1195
1195
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1196
- # @param options [Gapic::CallOptions, Hash]
1196
+ # @param options [::Gapic::CallOptions, ::Hash]
1197
1197
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1198
1198
  #
1199
1199
  # @overload create_deidentify_template(parent: nil, deidentify_template: nil, template_id: nil, location_id: nil)
@@ -1201,41 +1201,41 @@ module Google
1201
1201
  # least one keyword argument is required. To specify no parameters, or to keep all
1202
1202
  # the default parameter values, pass an empty Hash as a request object (see above).
1203
1203
  #
1204
- # @param parent [String]
1204
+ # @param parent [::String]
1205
1205
  # Required. The parent resource name, for example projects/my-project-id or
1206
1206
  # organizations/my-org-id.
1207
- # @param deidentify_template [Google::Cloud::Dlp::V2::DeidentifyTemplate, Hash]
1207
+ # @param deidentify_template [::Google::Cloud::Dlp::V2::DeidentifyTemplate, ::Hash]
1208
1208
  # Required. The DeidentifyTemplate to create.
1209
- # @param template_id [String]
1209
+ # @param template_id [::String]
1210
1210
  # The template id can contain uppercase and lowercase letters,
1211
1211
  # numbers, and hyphens; that is, it must match the regular
1212
1212
  # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
1213
1213
  # characters. Can be empty to allow the system to generate one.
1214
- # @param location_id [String]
1214
+ # @param location_id [::String]
1215
1215
  # The geographic location to store the deidentification template. Reserved
1216
1216
  # for future extensions.
1217
1217
  #
1218
1218
  # @yield [response, operation] Access the result along with the RPC operation
1219
- # @yieldparam response [Google::Cloud::Dlp::V2::DeidentifyTemplate]
1220
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1219
+ # @yieldparam response [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
1220
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1221
1221
  #
1222
- # @return [Google::Cloud::Dlp::V2::DeidentifyTemplate]
1222
+ # @return [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
1223
1223
  #
1224
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1224
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1225
1225
  #
1226
1226
  def create_deidentify_template request, options = nil
1227
- raise ArgumentError, "request must be provided" if request.nil?
1227
+ raise ::ArgumentError, "request must be provided" if request.nil?
1228
1228
 
1229
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::CreateDeidentifyTemplateRequest
1229
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::CreateDeidentifyTemplateRequest
1230
1230
 
1231
1231
  # Converts hash and nil to an options object
1232
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1232
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1233
1233
 
1234
1234
  # Customize the options with defaults
1235
1235
  metadata = @config.rpcs.create_deidentify_template.metadata.to_h
1236
1236
 
1237
1237
  # Set x-goog-api-client and x-goog-user-project headers
1238
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1238
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1239
1239
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1240
1240
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1241
1241
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1256,8 +1256,8 @@ module Google
1256
1256
  yield response, operation if block_given?
1257
1257
  return response
1258
1258
  end
1259
- rescue GRPC::BadStatus => e
1260
- raise Google::Cloud::Error.from_error(e)
1259
+ rescue ::GRPC::BadStatus => e
1260
+ raise ::Google::Cloud::Error.from_error(e)
1261
1261
  end
1262
1262
 
1263
1263
  ##
@@ -1267,12 +1267,12 @@ module Google
1267
1267
  #
1268
1268
  # @overload update_deidentify_template(request, options = nil)
1269
1269
  # Pass arguments to `update_deidentify_template` via a request object, either of type
1270
- # {Google::Cloud::Dlp::V2::UpdateDeidentifyTemplateRequest} or an equivalent Hash.
1270
+ # {::Google::Cloud::Dlp::V2::UpdateDeidentifyTemplateRequest} or an equivalent Hash.
1271
1271
  #
1272
- # @param request [Google::Cloud::Dlp::V2::UpdateDeidentifyTemplateRequest, Hash]
1272
+ # @param request [::Google::Cloud::Dlp::V2::UpdateDeidentifyTemplateRequest, ::Hash]
1273
1273
  # A request object representing the call parameters. Required. To specify no
1274
1274
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1275
- # @param options [Gapic::CallOptions, Hash]
1275
+ # @param options [::Gapic::CallOptions, ::Hash]
1276
1276
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1277
1277
  #
1278
1278
  # @overload update_deidentify_template(name: nil, deidentify_template: nil, update_mask: nil)
@@ -1280,37 +1280,37 @@ module Google
1280
1280
  # least one keyword argument is required. To specify no parameters, or to keep all
1281
1281
  # the default parameter values, pass an empty Hash as a request object (see above).
1282
1282
  #
1283
- # @param name [String]
1283
+ # @param name [::String]
1284
1284
  # Required. Resource name of organization and deidentify template to be
1285
1285
  # updated, for example
1286
1286
  # `organizations/433245324/deidentifyTemplates/432452342` or
1287
1287
  # projects/project-id/deidentifyTemplates/432452342.
1288
- # @param deidentify_template [Google::Cloud::Dlp::V2::DeidentifyTemplate, Hash]
1288
+ # @param deidentify_template [::Google::Cloud::Dlp::V2::DeidentifyTemplate, ::Hash]
1289
1289
  # New DeidentifyTemplate value.
1290
- # @param update_mask [Google::Protobuf::FieldMask, Hash]
1290
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1291
1291
  # Mask to control which fields get updated.
1292
1292
  #
1293
1293
  # @yield [response, operation] Access the result along with the RPC operation
1294
- # @yieldparam response [Google::Cloud::Dlp::V2::DeidentifyTemplate]
1295
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1294
+ # @yieldparam response [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
1295
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1296
1296
  #
1297
- # @return [Google::Cloud::Dlp::V2::DeidentifyTemplate]
1297
+ # @return [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
1298
1298
  #
1299
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1299
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1300
1300
  #
1301
1301
  def update_deidentify_template request, options = nil
1302
- raise ArgumentError, "request must be provided" if request.nil?
1302
+ raise ::ArgumentError, "request must be provided" if request.nil?
1303
1303
 
1304
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::UpdateDeidentifyTemplateRequest
1304
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::UpdateDeidentifyTemplateRequest
1305
1305
 
1306
1306
  # Converts hash and nil to an options object
1307
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1307
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1308
1308
 
1309
1309
  # Customize the options with defaults
1310
1310
  metadata = @config.rpcs.update_deidentify_template.metadata.to_h
1311
1311
 
1312
1312
  # Set x-goog-api-client and x-goog-user-project headers
1313
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1313
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1314
1314
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1315
1315
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1316
1316
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1331,8 +1331,8 @@ module Google
1331
1331
  yield response, operation if block_given?
1332
1332
  return response
1333
1333
  end
1334
- rescue GRPC::BadStatus => e
1335
- raise Google::Cloud::Error.from_error(e)
1334
+ rescue ::GRPC::BadStatus => e
1335
+ raise ::Google::Cloud::Error.from_error(e)
1336
1336
  end
1337
1337
 
1338
1338
  ##
@@ -1342,12 +1342,12 @@ module Google
1342
1342
  #
1343
1343
  # @overload get_deidentify_template(request, options = nil)
1344
1344
  # Pass arguments to `get_deidentify_template` via a request object, either of type
1345
- # {Google::Cloud::Dlp::V2::GetDeidentifyTemplateRequest} or an equivalent Hash.
1345
+ # {::Google::Cloud::Dlp::V2::GetDeidentifyTemplateRequest} or an equivalent Hash.
1346
1346
  #
1347
- # @param request [Google::Cloud::Dlp::V2::GetDeidentifyTemplateRequest, Hash]
1347
+ # @param request [::Google::Cloud::Dlp::V2::GetDeidentifyTemplateRequest, ::Hash]
1348
1348
  # A request object representing the call parameters. Required. To specify no
1349
1349
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1350
- # @param options [Gapic::CallOptions, Hash]
1350
+ # @param options [::Gapic::CallOptions, ::Hash]
1351
1351
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1352
1352
  #
1353
1353
  # @overload get_deidentify_template(name: nil)
@@ -1355,32 +1355,32 @@ module Google
1355
1355
  # least one keyword argument is required. To specify no parameters, or to keep all
1356
1356
  # the default parameter values, pass an empty Hash as a request object (see above).
1357
1357
  #
1358
- # @param name [String]
1358
+ # @param name [::String]
1359
1359
  # Required. Resource name of the organization and deidentify template to be
1360
1360
  # read, for example `organizations/433245324/deidentifyTemplates/432452342`
1361
1361
  # or projects/project-id/deidentifyTemplates/432452342.
1362
1362
  #
1363
1363
  # @yield [response, operation] Access the result along with the RPC operation
1364
- # @yieldparam response [Google::Cloud::Dlp::V2::DeidentifyTemplate]
1365
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1364
+ # @yieldparam response [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
1365
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1366
1366
  #
1367
- # @return [Google::Cloud::Dlp::V2::DeidentifyTemplate]
1367
+ # @return [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
1368
1368
  #
1369
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1369
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1370
1370
  #
1371
1371
  def get_deidentify_template request, options = nil
1372
- raise ArgumentError, "request must be provided" if request.nil?
1372
+ raise ::ArgumentError, "request must be provided" if request.nil?
1373
1373
 
1374
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::GetDeidentifyTemplateRequest
1374
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::GetDeidentifyTemplateRequest
1375
1375
 
1376
1376
  # Converts hash and nil to an options object
1377
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1377
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1378
1378
 
1379
1379
  # Customize the options with defaults
1380
1380
  metadata = @config.rpcs.get_deidentify_template.metadata.to_h
1381
1381
 
1382
1382
  # Set x-goog-api-client and x-goog-user-project headers
1383
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1383
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1384
1384
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1385
1385
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1386
1386
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1401,8 +1401,8 @@ module Google
1401
1401
  yield response, operation if block_given?
1402
1402
  return response
1403
1403
  end
1404
- rescue GRPC::BadStatus => e
1405
- raise Google::Cloud::Error.from_error(e)
1404
+ rescue ::GRPC::BadStatus => e
1405
+ raise ::Google::Cloud::Error.from_error(e)
1406
1406
  end
1407
1407
 
1408
1408
  ##
@@ -1412,12 +1412,12 @@ module Google
1412
1412
  #
1413
1413
  # @overload list_deidentify_templates(request, options = nil)
1414
1414
  # Pass arguments to `list_deidentify_templates` via a request object, either of type
1415
- # {Google::Cloud::Dlp::V2::ListDeidentifyTemplatesRequest} or an equivalent Hash.
1415
+ # {::Google::Cloud::Dlp::V2::ListDeidentifyTemplatesRequest} or an equivalent Hash.
1416
1416
  #
1417
- # @param request [Google::Cloud::Dlp::V2::ListDeidentifyTemplatesRequest, Hash]
1417
+ # @param request [::Google::Cloud::Dlp::V2::ListDeidentifyTemplatesRequest, ::Hash]
1418
1418
  # A request object representing the call parameters. Required. To specify no
1419
1419
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1420
- # @param options [Gapic::CallOptions, Hash]
1420
+ # @param options [::Gapic::CallOptions, ::Hash]
1421
1421
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1422
1422
  #
1423
1423
  # @overload list_deidentify_templates(parent: nil, page_token: nil, page_size: nil, order_by: nil, location_id: nil)
@@ -1425,16 +1425,16 @@ module Google
1425
1425
  # least one keyword argument is required. To specify no parameters, or to keep all
1426
1426
  # the default parameter values, pass an empty Hash as a request object (see above).
1427
1427
  #
1428
- # @param parent [String]
1428
+ # @param parent [::String]
1429
1429
  # Required. The parent resource name, for example projects/my-project-id or
1430
1430
  # organizations/my-org-id.
1431
- # @param page_token [String]
1431
+ # @param page_token [::String]
1432
1432
  # Page token to continue retrieval. Comes from previous call
1433
1433
  # to `ListDeidentifyTemplates`.
1434
- # @param page_size [Integer]
1434
+ # @param page_size [::Integer]
1435
1435
  # Size of the page, can be limited by server. If zero server returns
1436
1436
  # a page of max size 100.
1437
- # @param order_by [String]
1437
+ # @param order_by [::String]
1438
1438
  # Comma separated list of fields to order by,
1439
1439
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
1440
1440
  # default sorting order is ascending, redundant space characters are
@@ -1448,31 +1448,31 @@ module Google
1448
1448
  # - `update_time`: corresponds to time the template was last updated.
1449
1449
  # - `name`: corresponds to template's name.
1450
1450
  # - `display_name`: corresponds to template's display name.
1451
- # @param location_id [String]
1451
+ # @param location_id [::String]
1452
1452
  # The geographic location where deidentifications templates will be retrieved
1453
1453
  # from. Use `-` for all locations. Reserved for future extensions.
1454
1454
  #
1455
1455
  # @yield [response, operation] Access the result along with the RPC operation
1456
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::Dlp::V2::DeidentifyTemplate>]
1457
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1456
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::DeidentifyTemplate>]
1457
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1458
1458
  #
1459
- # @return [Gapic::PagedEnumerable<Google::Cloud::Dlp::V2::DeidentifyTemplate>]
1459
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::DeidentifyTemplate>]
1460
1460
  #
1461
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1461
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1462
1462
  #
1463
1463
  def list_deidentify_templates request, options = nil
1464
- raise ArgumentError, "request must be provided" if request.nil?
1464
+ raise ::ArgumentError, "request must be provided" if request.nil?
1465
1465
 
1466
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::ListDeidentifyTemplatesRequest
1466
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::ListDeidentifyTemplatesRequest
1467
1467
 
1468
1468
  # Converts hash and nil to an options object
1469
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1469
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1470
1470
 
1471
1471
  # Customize the options with defaults
1472
1472
  metadata = @config.rpcs.list_deidentify_templates.metadata.to_h
1473
1473
 
1474
1474
  # Set x-goog-api-client and x-goog-user-project headers
1475
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1475
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1476
1476
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1477
1477
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1478
1478
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1490,12 +1490,12 @@ module Google
1490
1490
  retry_policy: @config.retry_policy
1491
1491
 
1492
1492
  @dlp_service_stub.call_rpc :list_deidentify_templates, request, options: options do |response, operation|
1493
- response = Gapic::PagedEnumerable.new @dlp_service_stub, :list_deidentify_templates, request, response, operation, options
1493
+ response = ::Gapic::PagedEnumerable.new @dlp_service_stub, :list_deidentify_templates, request, response, operation, options
1494
1494
  yield response, operation if block_given?
1495
1495
  return response
1496
1496
  end
1497
- rescue GRPC::BadStatus => e
1498
- raise Google::Cloud::Error.from_error(e)
1497
+ rescue ::GRPC::BadStatus => e
1498
+ raise ::Google::Cloud::Error.from_error(e)
1499
1499
  end
1500
1500
 
1501
1501
  ##
@@ -1505,12 +1505,12 @@ module Google
1505
1505
  #
1506
1506
  # @overload delete_deidentify_template(request, options = nil)
1507
1507
  # Pass arguments to `delete_deidentify_template` via a request object, either of type
1508
- # {Google::Cloud::Dlp::V2::DeleteDeidentifyTemplateRequest} or an equivalent Hash.
1508
+ # {::Google::Cloud::Dlp::V2::DeleteDeidentifyTemplateRequest} or an equivalent Hash.
1509
1509
  #
1510
- # @param request [Google::Cloud::Dlp::V2::DeleteDeidentifyTemplateRequest, Hash]
1510
+ # @param request [::Google::Cloud::Dlp::V2::DeleteDeidentifyTemplateRequest, ::Hash]
1511
1511
  # A request object representing the call parameters. Required. To specify no
1512
1512
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1513
- # @param options [Gapic::CallOptions, Hash]
1513
+ # @param options [::Gapic::CallOptions, ::Hash]
1514
1514
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1515
1515
  #
1516
1516
  # @overload delete_deidentify_template(name: nil)
@@ -1518,33 +1518,33 @@ module Google
1518
1518
  # least one keyword argument is required. To specify no parameters, or to keep all
1519
1519
  # the default parameter values, pass an empty Hash as a request object (see above).
1520
1520
  #
1521
- # @param name [String]
1521
+ # @param name [::String]
1522
1522
  # Required. Resource name of the organization and deidentify template to be
1523
1523
  # deleted, for example
1524
1524
  # `organizations/433245324/deidentifyTemplates/432452342` or
1525
1525
  # projects/project-id/deidentifyTemplates/432452342.
1526
1526
  #
1527
1527
  # @yield [response, operation] Access the result along with the RPC operation
1528
- # @yieldparam response [Google::Protobuf::Empty]
1529
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1528
+ # @yieldparam response [::Google::Protobuf::Empty]
1529
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1530
1530
  #
1531
- # @return [Google::Protobuf::Empty]
1531
+ # @return [::Google::Protobuf::Empty]
1532
1532
  #
1533
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1533
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1534
1534
  #
1535
1535
  def delete_deidentify_template request, options = nil
1536
- raise ArgumentError, "request must be provided" if request.nil?
1536
+ raise ::ArgumentError, "request must be provided" if request.nil?
1537
1537
 
1538
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::DeleteDeidentifyTemplateRequest
1538
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::DeleteDeidentifyTemplateRequest
1539
1539
 
1540
1540
  # Converts hash and nil to an options object
1541
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1541
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1542
1542
 
1543
1543
  # Customize the options with defaults
1544
1544
  metadata = @config.rpcs.delete_deidentify_template.metadata.to_h
1545
1545
 
1546
1546
  # Set x-goog-api-client and x-goog-user-project headers
1547
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1547
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1548
1548
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1549
1549
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1550
1550
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1565,8 +1565,8 @@ module Google
1565
1565
  yield response, operation if block_given?
1566
1566
  return response
1567
1567
  end
1568
- rescue GRPC::BadStatus => e
1569
- raise Google::Cloud::Error.from_error(e)
1568
+ rescue ::GRPC::BadStatus => e
1569
+ raise ::Google::Cloud::Error.from_error(e)
1570
1570
  end
1571
1571
 
1572
1572
  ##
@@ -1576,12 +1576,12 @@ module Google
1576
1576
  #
1577
1577
  # @overload create_job_trigger(request, options = nil)
1578
1578
  # Pass arguments to `create_job_trigger` via a request object, either of type
1579
- # {Google::Cloud::Dlp::V2::CreateJobTriggerRequest} or an equivalent Hash.
1579
+ # {::Google::Cloud::Dlp::V2::CreateJobTriggerRequest} or an equivalent Hash.
1580
1580
  #
1581
- # @param request [Google::Cloud::Dlp::V2::CreateJobTriggerRequest, Hash]
1581
+ # @param request [::Google::Cloud::Dlp::V2::CreateJobTriggerRequest, ::Hash]
1582
1582
  # A request object representing the call parameters. Required. To specify no
1583
1583
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1584
- # @param options [Gapic::CallOptions, Hash]
1584
+ # @param options [::Gapic::CallOptions, ::Hash]
1585
1585
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1586
1586
  #
1587
1587
  # @overload create_job_trigger(parent: nil, job_trigger: nil, trigger_id: nil, location_id: nil)
@@ -1589,40 +1589,40 @@ module Google
1589
1589
  # least one keyword argument is required. To specify no parameters, or to keep all
1590
1590
  # the default parameter values, pass an empty Hash as a request object (see above).
1591
1591
  #
1592
- # @param parent [String]
1592
+ # @param parent [::String]
1593
1593
  # Required. The parent resource name, for example projects/my-project-id.
1594
- # @param job_trigger [Google::Cloud::Dlp::V2::JobTrigger, Hash]
1594
+ # @param job_trigger [::Google::Cloud::Dlp::V2::JobTrigger, ::Hash]
1595
1595
  # Required. The JobTrigger to create.
1596
- # @param trigger_id [String]
1596
+ # @param trigger_id [::String]
1597
1597
  # The trigger id can contain uppercase and lowercase letters,
1598
1598
  # numbers, and hyphens; that is, it must match the regular
1599
1599
  # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
1600
1600
  # characters. Can be empty to allow the system to generate one.
1601
- # @param location_id [String]
1601
+ # @param location_id [::String]
1602
1602
  # The geographic location to store the job trigger. Reserved for
1603
1603
  # future extensions.
1604
1604
  #
1605
1605
  # @yield [response, operation] Access the result along with the RPC operation
1606
- # @yieldparam response [Google::Cloud::Dlp::V2::JobTrigger]
1607
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1606
+ # @yieldparam response [::Google::Cloud::Dlp::V2::JobTrigger]
1607
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1608
1608
  #
1609
- # @return [Google::Cloud::Dlp::V2::JobTrigger]
1609
+ # @return [::Google::Cloud::Dlp::V2::JobTrigger]
1610
1610
  #
1611
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1611
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1612
1612
  #
1613
1613
  def create_job_trigger request, options = nil
1614
- raise ArgumentError, "request must be provided" if request.nil?
1614
+ raise ::ArgumentError, "request must be provided" if request.nil?
1615
1615
 
1616
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::CreateJobTriggerRequest
1616
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::CreateJobTriggerRequest
1617
1617
 
1618
1618
  # Converts hash and nil to an options object
1619
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1619
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1620
1620
 
1621
1621
  # Customize the options with defaults
1622
1622
  metadata = @config.rpcs.create_job_trigger.metadata.to_h
1623
1623
 
1624
1624
  # Set x-goog-api-client and x-goog-user-project headers
1625
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1625
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1626
1626
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1627
1627
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1628
1628
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1643,8 +1643,8 @@ module Google
1643
1643
  yield response, operation if block_given?
1644
1644
  return response
1645
1645
  end
1646
- rescue GRPC::BadStatus => e
1647
- raise Google::Cloud::Error.from_error(e)
1646
+ rescue ::GRPC::BadStatus => e
1647
+ raise ::Google::Cloud::Error.from_error(e)
1648
1648
  end
1649
1649
 
1650
1650
  ##
@@ -1653,12 +1653,12 @@ module Google
1653
1653
  #
1654
1654
  # @overload update_job_trigger(request, options = nil)
1655
1655
  # Pass arguments to `update_job_trigger` via a request object, either of type
1656
- # {Google::Cloud::Dlp::V2::UpdateJobTriggerRequest} or an equivalent Hash.
1656
+ # {::Google::Cloud::Dlp::V2::UpdateJobTriggerRequest} or an equivalent Hash.
1657
1657
  #
1658
- # @param request [Google::Cloud::Dlp::V2::UpdateJobTriggerRequest, Hash]
1658
+ # @param request [::Google::Cloud::Dlp::V2::UpdateJobTriggerRequest, ::Hash]
1659
1659
  # A request object representing the call parameters. Required. To specify no
1660
1660
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1661
- # @param options [Gapic::CallOptions, Hash]
1661
+ # @param options [::Gapic::CallOptions, ::Hash]
1662
1662
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1663
1663
  #
1664
1664
  # @overload update_job_trigger(name: nil, job_trigger: nil, update_mask: nil)
@@ -1666,35 +1666,35 @@ module Google
1666
1666
  # least one keyword argument is required. To specify no parameters, or to keep all
1667
1667
  # the default parameter values, pass an empty Hash as a request object (see above).
1668
1668
  #
1669
- # @param name [String]
1669
+ # @param name [::String]
1670
1670
  # Required. Resource name of the project and the triggeredJob, for example
1671
1671
  # `projects/dlp-test-project/jobTriggers/53234423`.
1672
- # @param job_trigger [Google::Cloud::Dlp::V2::JobTrigger, Hash]
1672
+ # @param job_trigger [::Google::Cloud::Dlp::V2::JobTrigger, ::Hash]
1673
1673
  # New JobTrigger value.
1674
- # @param update_mask [Google::Protobuf::FieldMask, Hash]
1674
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1675
1675
  # Mask to control which fields get updated.
1676
1676
  #
1677
1677
  # @yield [response, operation] Access the result along with the RPC operation
1678
- # @yieldparam response [Google::Cloud::Dlp::V2::JobTrigger]
1679
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1678
+ # @yieldparam response [::Google::Cloud::Dlp::V2::JobTrigger]
1679
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1680
1680
  #
1681
- # @return [Google::Cloud::Dlp::V2::JobTrigger]
1681
+ # @return [::Google::Cloud::Dlp::V2::JobTrigger]
1682
1682
  #
1683
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1683
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1684
1684
  #
1685
1685
  def update_job_trigger request, options = nil
1686
- raise ArgumentError, "request must be provided" if request.nil?
1686
+ raise ::ArgumentError, "request must be provided" if request.nil?
1687
1687
 
1688
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::UpdateJobTriggerRequest
1688
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::UpdateJobTriggerRequest
1689
1689
 
1690
1690
  # Converts hash and nil to an options object
1691
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1691
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1692
1692
 
1693
1693
  # Customize the options with defaults
1694
1694
  metadata = @config.rpcs.update_job_trigger.metadata.to_h
1695
1695
 
1696
1696
  # Set x-goog-api-client and x-goog-user-project headers
1697
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1697
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1698
1698
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1699
1699
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1700
1700
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1715,8 +1715,8 @@ module Google
1715
1715
  yield response, operation if block_given?
1716
1716
  return response
1717
1717
  end
1718
- rescue GRPC::BadStatus => e
1719
- raise Google::Cloud::Error.from_error(e)
1718
+ rescue ::GRPC::BadStatus => e
1719
+ raise ::Google::Cloud::Error.from_error(e)
1720
1720
  end
1721
1721
 
1722
1722
  ##
@@ -1729,12 +1729,12 @@ module Google
1729
1729
  #
1730
1730
  # @overload hybrid_inspect_job_trigger(request, options = nil)
1731
1731
  # Pass arguments to `hybrid_inspect_job_trigger` via a request object, either of type
1732
- # {Google::Cloud::Dlp::V2::HybridInspectJobTriggerRequest} or an equivalent Hash.
1732
+ # {::Google::Cloud::Dlp::V2::HybridInspectJobTriggerRequest} or an equivalent Hash.
1733
1733
  #
1734
- # @param request [Google::Cloud::Dlp::V2::HybridInspectJobTriggerRequest, Hash]
1734
+ # @param request [::Google::Cloud::Dlp::V2::HybridInspectJobTriggerRequest, ::Hash]
1735
1735
  # A request object representing the call parameters. Required. To specify no
1736
1736
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1737
- # @param options [Gapic::CallOptions, Hash]
1737
+ # @param options [::Gapic::CallOptions, ::Hash]
1738
1738
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1739
1739
  #
1740
1740
  # @overload hybrid_inspect_job_trigger(name: nil, hybrid_item: nil)
@@ -1742,33 +1742,33 @@ module Google
1742
1742
  # least one keyword argument is required. To specify no parameters, or to keep all
1743
1743
  # the default parameter values, pass an empty Hash as a request object (see above).
1744
1744
  #
1745
- # @param name [String]
1745
+ # @param name [::String]
1746
1746
  # Required. Resource name of the trigger to execute a hybrid inspect on, for
1747
1747
  # example `projects/dlp-test-project/jobTriggers/53234423`.
1748
- # @param hybrid_item [Google::Cloud::Dlp::V2::HybridContentItem, Hash]
1748
+ # @param hybrid_item [::Google::Cloud::Dlp::V2::HybridContentItem, ::Hash]
1749
1749
  # The item to inspect.
1750
1750
  #
1751
1751
  # @yield [response, operation] Access the result along with the RPC operation
1752
- # @yieldparam response [Google::Cloud::Dlp::V2::HybridInspectResponse]
1753
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1752
+ # @yieldparam response [::Google::Cloud::Dlp::V2::HybridInspectResponse]
1753
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1754
1754
  #
1755
- # @return [Google::Cloud::Dlp::V2::HybridInspectResponse]
1755
+ # @return [::Google::Cloud::Dlp::V2::HybridInspectResponse]
1756
1756
  #
1757
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1757
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1758
1758
  #
1759
1759
  def hybrid_inspect_job_trigger request, options = nil
1760
- raise ArgumentError, "request must be provided" if request.nil?
1760
+ raise ::ArgumentError, "request must be provided" if request.nil?
1761
1761
 
1762
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::HybridInspectJobTriggerRequest
1762
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::HybridInspectJobTriggerRequest
1763
1763
 
1764
1764
  # Converts hash and nil to an options object
1765
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1765
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1766
1766
 
1767
1767
  # Customize the options with defaults
1768
1768
  metadata = @config.rpcs.hybrid_inspect_job_trigger.metadata.to_h
1769
1769
 
1770
1770
  # Set x-goog-api-client and x-goog-user-project headers
1771
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1771
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1772
1772
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1773
1773
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1774
1774
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1789,8 +1789,8 @@ module Google
1789
1789
  yield response, operation if block_given?
1790
1790
  return response
1791
1791
  end
1792
- rescue GRPC::BadStatus => e
1793
- raise Google::Cloud::Error.from_error(e)
1792
+ rescue ::GRPC::BadStatus => e
1793
+ raise ::Google::Cloud::Error.from_error(e)
1794
1794
  end
1795
1795
 
1796
1796
  ##
@@ -1799,12 +1799,12 @@ module Google
1799
1799
  #
1800
1800
  # @overload get_job_trigger(request, options = nil)
1801
1801
  # Pass arguments to `get_job_trigger` via a request object, either of type
1802
- # {Google::Cloud::Dlp::V2::GetJobTriggerRequest} or an equivalent Hash.
1802
+ # {::Google::Cloud::Dlp::V2::GetJobTriggerRequest} or an equivalent Hash.
1803
1803
  #
1804
- # @param request [Google::Cloud::Dlp::V2::GetJobTriggerRequest, Hash]
1804
+ # @param request [::Google::Cloud::Dlp::V2::GetJobTriggerRequest, ::Hash]
1805
1805
  # A request object representing the call parameters. Required. To specify no
1806
1806
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1807
- # @param options [Gapic::CallOptions, Hash]
1807
+ # @param options [::Gapic::CallOptions, ::Hash]
1808
1808
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1809
1809
  #
1810
1810
  # @overload get_job_trigger(name: nil)
@@ -1812,31 +1812,31 @@ module Google
1812
1812
  # least one keyword argument is required. To specify no parameters, or to keep all
1813
1813
  # the default parameter values, pass an empty Hash as a request object (see above).
1814
1814
  #
1815
- # @param name [String]
1815
+ # @param name [::String]
1816
1816
  # Required. Resource name of the project and the triggeredJob, for example
1817
1817
  # `projects/dlp-test-project/jobTriggers/53234423`.
1818
1818
  #
1819
1819
  # @yield [response, operation] Access the result along with the RPC operation
1820
- # @yieldparam response [Google::Cloud::Dlp::V2::JobTrigger]
1821
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1820
+ # @yieldparam response [::Google::Cloud::Dlp::V2::JobTrigger]
1821
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1822
1822
  #
1823
- # @return [Google::Cloud::Dlp::V2::JobTrigger]
1823
+ # @return [::Google::Cloud::Dlp::V2::JobTrigger]
1824
1824
  #
1825
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1825
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1826
1826
  #
1827
1827
  def get_job_trigger request, options = nil
1828
- raise ArgumentError, "request must be provided" if request.nil?
1828
+ raise ::ArgumentError, "request must be provided" if request.nil?
1829
1829
 
1830
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::GetJobTriggerRequest
1830
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::GetJobTriggerRequest
1831
1831
 
1832
1832
  # Converts hash and nil to an options object
1833
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1833
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1834
1834
 
1835
1835
  # Customize the options with defaults
1836
1836
  metadata = @config.rpcs.get_job_trigger.metadata.to_h
1837
1837
 
1838
1838
  # Set x-goog-api-client and x-goog-user-project headers
1839
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1839
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1840
1840
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1841
1841
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1842
1842
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1857,8 +1857,8 @@ module Google
1857
1857
  yield response, operation if block_given?
1858
1858
  return response
1859
1859
  end
1860
- rescue GRPC::BadStatus => e
1861
- raise Google::Cloud::Error.from_error(e)
1860
+ rescue ::GRPC::BadStatus => e
1861
+ raise ::Google::Cloud::Error.from_error(e)
1862
1862
  end
1863
1863
 
1864
1864
  ##
@@ -1867,12 +1867,12 @@ module Google
1867
1867
  #
1868
1868
  # @overload list_job_triggers(request, options = nil)
1869
1869
  # Pass arguments to `list_job_triggers` via a request object, either of type
1870
- # {Google::Cloud::Dlp::V2::ListJobTriggersRequest} or an equivalent Hash.
1870
+ # {::Google::Cloud::Dlp::V2::ListJobTriggersRequest} or an equivalent Hash.
1871
1871
  #
1872
- # @param request [Google::Cloud::Dlp::V2::ListJobTriggersRequest, Hash]
1872
+ # @param request [::Google::Cloud::Dlp::V2::ListJobTriggersRequest, ::Hash]
1873
1873
  # A request object representing the call parameters. Required. To specify no
1874
1874
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1875
- # @param options [Gapic::CallOptions, Hash]
1875
+ # @param options [::Gapic::CallOptions, ::Hash]
1876
1876
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1877
1877
  #
1878
1878
  # @overload list_job_triggers(parent: nil, page_token: nil, page_size: nil, order_by: nil, filter: nil, location_id: nil)
@@ -1880,15 +1880,15 @@ module Google
1880
1880
  # least one keyword argument is required. To specify no parameters, or to keep all
1881
1881
  # the default parameter values, pass an empty Hash as a request object (see above).
1882
1882
  #
1883
- # @param parent [String]
1883
+ # @param parent [::String]
1884
1884
  # Required. The parent resource name, for example `projects/my-project-id`.
1885
- # @param page_token [String]
1885
+ # @param page_token [::String]
1886
1886
  # Page token to continue retrieval. Comes from previous call
1887
1887
  # to ListJobTriggers. `order_by` field must not
1888
1888
  # change for subsequent calls.
1889
- # @param page_size [Integer]
1889
+ # @param page_size [::Integer]
1890
1890
  # Size of the page, can be limited by a server.
1891
- # @param order_by [String]
1891
+ # @param order_by [::String]
1892
1892
  # Comma separated list of triggeredJob fields to order by,
1893
1893
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
1894
1894
  # default sorting order is ascending, redundant space characters are
@@ -1904,7 +1904,7 @@ module Google
1904
1904
  # - `name`: corresponds to JobTrigger's name.
1905
1905
  # - `display_name`: corresponds to JobTrigger's display name.
1906
1906
  # - `status`: corresponds to JobTrigger's status.
1907
- # @param filter [String]
1907
+ # @param filter [::String]
1908
1908
  # Allows filtering.
1909
1909
  #
1910
1910
  # Supported syntax:
@@ -1929,31 +1929,31 @@ module Google
1929
1929
  # * last_run_time > \"2017-12-12T00:00:00+00:00\"
1930
1930
  #
1931
1931
  # The length of this field should be no more than 500 characters.
1932
- # @param location_id [String]
1932
+ # @param location_id [::String]
1933
1933
  # The geographic location where job triggers will be retrieved from.
1934
1934
  # Use `-` for all locations. Reserved for future extensions.
1935
1935
  #
1936
1936
  # @yield [response, operation] Access the result along with the RPC operation
1937
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::Dlp::V2::JobTrigger>]
1938
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1937
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::JobTrigger>]
1938
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1939
1939
  #
1940
- # @return [Gapic::PagedEnumerable<Google::Cloud::Dlp::V2::JobTrigger>]
1940
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::JobTrigger>]
1941
1941
  #
1942
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1942
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1943
1943
  #
1944
1944
  def list_job_triggers request, options = nil
1945
- raise ArgumentError, "request must be provided" if request.nil?
1945
+ raise ::ArgumentError, "request must be provided" if request.nil?
1946
1946
 
1947
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::ListJobTriggersRequest
1947
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::ListJobTriggersRequest
1948
1948
 
1949
1949
  # Converts hash and nil to an options object
1950
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1950
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1951
1951
 
1952
1952
  # Customize the options with defaults
1953
1953
  metadata = @config.rpcs.list_job_triggers.metadata.to_h
1954
1954
 
1955
1955
  # Set x-goog-api-client and x-goog-user-project headers
1956
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1956
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1957
1957
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1958
1958
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
1959
1959
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1971,12 +1971,12 @@ module Google
1971
1971
  retry_policy: @config.retry_policy
1972
1972
 
1973
1973
  @dlp_service_stub.call_rpc :list_job_triggers, request, options: options do |response, operation|
1974
- response = Gapic::PagedEnumerable.new @dlp_service_stub, :list_job_triggers, request, response, operation, options
1974
+ response = ::Gapic::PagedEnumerable.new @dlp_service_stub, :list_job_triggers, request, response, operation, options
1975
1975
  yield response, operation if block_given?
1976
1976
  return response
1977
1977
  end
1978
- rescue GRPC::BadStatus => e
1979
- raise Google::Cloud::Error.from_error(e)
1978
+ rescue ::GRPC::BadStatus => e
1979
+ raise ::Google::Cloud::Error.from_error(e)
1980
1980
  end
1981
1981
 
1982
1982
  ##
@@ -1985,12 +1985,12 @@ module Google
1985
1985
  #
1986
1986
  # @overload delete_job_trigger(request, options = nil)
1987
1987
  # Pass arguments to `delete_job_trigger` via a request object, either of type
1988
- # {Google::Cloud::Dlp::V2::DeleteJobTriggerRequest} or an equivalent Hash.
1988
+ # {::Google::Cloud::Dlp::V2::DeleteJobTriggerRequest} or an equivalent Hash.
1989
1989
  #
1990
- # @param request [Google::Cloud::Dlp::V2::DeleteJobTriggerRequest, Hash]
1990
+ # @param request [::Google::Cloud::Dlp::V2::DeleteJobTriggerRequest, ::Hash]
1991
1991
  # A request object representing the call parameters. Required. To specify no
1992
1992
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1993
- # @param options [Gapic::CallOptions, Hash]
1993
+ # @param options [::Gapic::CallOptions, ::Hash]
1994
1994
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1995
1995
  #
1996
1996
  # @overload delete_job_trigger(name: nil)
@@ -1998,31 +1998,31 @@ module Google
1998
1998
  # least one keyword argument is required. To specify no parameters, or to keep all
1999
1999
  # the default parameter values, pass an empty Hash as a request object (see above).
2000
2000
  #
2001
- # @param name [String]
2001
+ # @param name [::String]
2002
2002
  # Required. Resource name of the project and the triggeredJob, for example
2003
2003
  # `projects/dlp-test-project/jobTriggers/53234423`.
2004
2004
  #
2005
2005
  # @yield [response, operation] Access the result along with the RPC operation
2006
- # @yieldparam response [Google::Protobuf::Empty]
2007
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2006
+ # @yieldparam response [::Google::Protobuf::Empty]
2007
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2008
2008
  #
2009
- # @return [Google::Protobuf::Empty]
2009
+ # @return [::Google::Protobuf::Empty]
2010
2010
  #
2011
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2011
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2012
2012
  #
2013
2013
  def delete_job_trigger request, options = nil
2014
- raise ArgumentError, "request must be provided" if request.nil?
2014
+ raise ::ArgumentError, "request must be provided" if request.nil?
2015
2015
 
2016
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::DeleteJobTriggerRequest
2016
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::DeleteJobTriggerRequest
2017
2017
 
2018
2018
  # Converts hash and nil to an options object
2019
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2019
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2020
2020
 
2021
2021
  # Customize the options with defaults
2022
2022
  metadata = @config.rpcs.delete_job_trigger.metadata.to_h
2023
2023
 
2024
2024
  # Set x-goog-api-client and x-goog-user-project headers
2025
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2025
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2026
2026
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2027
2027
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2028
2028
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2043,8 +2043,8 @@ module Google
2043
2043
  yield response, operation if block_given?
2044
2044
  return response
2045
2045
  end
2046
- rescue GRPC::BadStatus => e
2047
- raise Google::Cloud::Error.from_error(e)
2046
+ rescue ::GRPC::BadStatus => e
2047
+ raise ::Google::Cloud::Error.from_error(e)
2048
2048
  end
2049
2049
 
2050
2050
  ##
@@ -2053,12 +2053,12 @@ module Google
2053
2053
  #
2054
2054
  # @overload activate_job_trigger(request, options = nil)
2055
2055
  # Pass arguments to `activate_job_trigger` via a request object, either of type
2056
- # {Google::Cloud::Dlp::V2::ActivateJobTriggerRequest} or an equivalent Hash.
2056
+ # {::Google::Cloud::Dlp::V2::ActivateJobTriggerRequest} or an equivalent Hash.
2057
2057
  #
2058
- # @param request [Google::Cloud::Dlp::V2::ActivateJobTriggerRequest, Hash]
2058
+ # @param request [::Google::Cloud::Dlp::V2::ActivateJobTriggerRequest, ::Hash]
2059
2059
  # A request object representing the call parameters. Required. To specify no
2060
2060
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2061
- # @param options [Gapic::CallOptions, Hash]
2061
+ # @param options [::Gapic::CallOptions, ::Hash]
2062
2062
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2063
2063
  #
2064
2064
  # @overload activate_job_trigger(name: nil)
@@ -2066,31 +2066,31 @@ module Google
2066
2066
  # least one keyword argument is required. To specify no parameters, or to keep all
2067
2067
  # the default parameter values, pass an empty Hash as a request object (see above).
2068
2068
  #
2069
- # @param name [String]
2069
+ # @param name [::String]
2070
2070
  # Required. Resource name of the trigger to activate, for example
2071
2071
  # `projects/dlp-test-project/jobTriggers/53234423`.
2072
2072
  #
2073
2073
  # @yield [response, operation] Access the result along with the RPC operation
2074
- # @yieldparam response [Google::Cloud::Dlp::V2::DlpJob]
2075
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2074
+ # @yieldparam response [::Google::Cloud::Dlp::V2::DlpJob]
2075
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2076
2076
  #
2077
- # @return [Google::Cloud::Dlp::V2::DlpJob]
2077
+ # @return [::Google::Cloud::Dlp::V2::DlpJob]
2078
2078
  #
2079
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2079
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2080
2080
  #
2081
2081
  def activate_job_trigger request, options = nil
2082
- raise ArgumentError, "request must be provided" if request.nil?
2082
+ raise ::ArgumentError, "request must be provided" if request.nil?
2083
2083
 
2084
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::ActivateJobTriggerRequest
2084
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::ActivateJobTriggerRequest
2085
2085
 
2086
2086
  # Converts hash and nil to an options object
2087
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2087
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2088
2088
 
2089
2089
  # Customize the options with defaults
2090
2090
  metadata = @config.rpcs.activate_job_trigger.metadata.to_h
2091
2091
 
2092
2092
  # Set x-goog-api-client and x-goog-user-project headers
2093
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2093
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2094
2094
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2095
2095
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2096
2096
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2111,8 +2111,8 @@ module Google
2111
2111
  yield response, operation if block_given?
2112
2112
  return response
2113
2113
  end
2114
- rescue GRPC::BadStatus => e
2115
- raise Google::Cloud::Error.from_error(e)
2114
+ rescue ::GRPC::BadStatus => e
2115
+ raise ::Google::Cloud::Error.from_error(e)
2116
2116
  end
2117
2117
 
2118
2118
  ##
@@ -2126,12 +2126,12 @@ module Google
2126
2126
  #
2127
2127
  # @overload create_dlp_job(request, options = nil)
2128
2128
  # Pass arguments to `create_dlp_job` via a request object, either of type
2129
- # {Google::Cloud::Dlp::V2::CreateDlpJobRequest} or an equivalent Hash.
2129
+ # {::Google::Cloud::Dlp::V2::CreateDlpJobRequest} or an equivalent Hash.
2130
2130
  #
2131
- # @param request [Google::Cloud::Dlp::V2::CreateDlpJobRequest, Hash]
2131
+ # @param request [::Google::Cloud::Dlp::V2::CreateDlpJobRequest, ::Hash]
2132
2132
  # A request object representing the call parameters. Required. To specify no
2133
2133
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2134
- # @param options [Gapic::CallOptions, Hash]
2134
+ # @param options [::Gapic::CallOptions, ::Hash]
2135
2135
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2136
2136
  #
2137
2137
  # @overload create_dlp_job(parent: nil, inspect_job: nil, risk_job: nil, job_id: nil, location_id: nil)
@@ -2139,42 +2139,42 @@ module Google
2139
2139
  # least one keyword argument is required. To specify no parameters, or to keep all
2140
2140
  # the default parameter values, pass an empty Hash as a request object (see above).
2141
2141
  #
2142
- # @param parent [String]
2142
+ # @param parent [::String]
2143
2143
  # Required. The parent resource name, for example projects/my-project-id.
2144
- # @param inspect_job [Google::Cloud::Dlp::V2::InspectJobConfig, Hash]
2144
+ # @param inspect_job [::Google::Cloud::Dlp::V2::InspectJobConfig, ::Hash]
2145
2145
  # Set to control what and how to inspect.
2146
- # @param risk_job [Google::Cloud::Dlp::V2::RiskAnalysisJobConfig, Hash]
2146
+ # @param risk_job [::Google::Cloud::Dlp::V2::RiskAnalysisJobConfig, ::Hash]
2147
2147
  # Set to choose what metric to calculate.
2148
- # @param job_id [String]
2148
+ # @param job_id [::String]
2149
2149
  # The job id can contain uppercase and lowercase letters,
2150
2150
  # numbers, and hyphens; that is, it must match the regular
2151
2151
  # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
2152
2152
  # characters. Can be empty to allow the system to generate one.
2153
- # @param location_id [String]
2153
+ # @param location_id [::String]
2154
2154
  # The geographic location to store and process the job. Reserved for
2155
2155
  # future extensions.
2156
2156
  #
2157
2157
  # @yield [response, operation] Access the result along with the RPC operation
2158
- # @yieldparam response [Google::Cloud::Dlp::V2::DlpJob]
2159
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2158
+ # @yieldparam response [::Google::Cloud::Dlp::V2::DlpJob]
2159
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2160
2160
  #
2161
- # @return [Google::Cloud::Dlp::V2::DlpJob]
2161
+ # @return [::Google::Cloud::Dlp::V2::DlpJob]
2162
2162
  #
2163
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2163
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2164
2164
  #
2165
2165
  def create_dlp_job request, options = nil
2166
- raise ArgumentError, "request must be provided" if request.nil?
2166
+ raise ::ArgumentError, "request must be provided" if request.nil?
2167
2167
 
2168
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::CreateDlpJobRequest
2168
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::CreateDlpJobRequest
2169
2169
 
2170
2170
  # Converts hash and nil to an options object
2171
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2171
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2172
2172
 
2173
2173
  # Customize the options with defaults
2174
2174
  metadata = @config.rpcs.create_dlp_job.metadata.to_h
2175
2175
 
2176
2176
  # Set x-goog-api-client and x-goog-user-project headers
2177
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2177
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2178
2178
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2179
2179
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2180
2180
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2195,8 +2195,8 @@ module Google
2195
2195
  yield response, operation if block_given?
2196
2196
  return response
2197
2197
  end
2198
- rescue GRPC::BadStatus => e
2199
- raise Google::Cloud::Error.from_error(e)
2198
+ rescue ::GRPC::BadStatus => e
2199
+ raise ::Google::Cloud::Error.from_error(e)
2200
2200
  end
2201
2201
 
2202
2202
  ##
@@ -2206,12 +2206,12 @@ module Google
2206
2206
  #
2207
2207
  # @overload list_dlp_jobs(request, options = nil)
2208
2208
  # Pass arguments to `list_dlp_jobs` via a request object, either of type
2209
- # {Google::Cloud::Dlp::V2::ListDlpJobsRequest} or an equivalent Hash.
2209
+ # {::Google::Cloud::Dlp::V2::ListDlpJobsRequest} or an equivalent Hash.
2210
2210
  #
2211
- # @param request [Google::Cloud::Dlp::V2::ListDlpJobsRequest, Hash]
2211
+ # @param request [::Google::Cloud::Dlp::V2::ListDlpJobsRequest, ::Hash]
2212
2212
  # A request object representing the call parameters. Required. To specify no
2213
2213
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2214
- # @param options [Gapic::CallOptions, Hash]
2214
+ # @param options [::Gapic::CallOptions, ::Hash]
2215
2215
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2216
2216
  #
2217
2217
  # @overload list_dlp_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, type: nil, order_by: nil, location_id: nil)
@@ -2219,9 +2219,9 @@ module Google
2219
2219
  # least one keyword argument is required. To specify no parameters, or to keep all
2220
2220
  # the default parameter values, pass an empty Hash as a request object (see above).
2221
2221
  #
2222
- # @param parent [String]
2222
+ # @param parent [::String]
2223
2223
  # Required. The parent resource name, for example projects/my-project-id.
2224
- # @param filter [String]
2224
+ # @param filter [::String]
2225
2225
  # Allows filtering.
2226
2226
  #
2227
2227
  # Supported syntax:
@@ -2250,13 +2250,13 @@ module Google
2250
2250
  # * end_time > \"2017-12-12T00:00:00+00:00\"
2251
2251
  #
2252
2252
  # The length of this field should be no more than 500 characters.
2253
- # @param page_size [Integer]
2253
+ # @param page_size [::Integer]
2254
2254
  # The standard list page size.
2255
- # @param page_token [String]
2255
+ # @param page_token [::String]
2256
2256
  # The standard list page token.
2257
- # @param type [Google::Cloud::Dlp::V2::DlpJobType]
2257
+ # @param type [::Google::Cloud::Dlp::V2::DlpJobType]
2258
2258
  # The type of job. Defaults to `DlpJobType.INSPECT`
2259
- # @param order_by [String]
2259
+ # @param order_by [::String]
2260
2260
  # Comma separated list of fields to order by,
2261
2261
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
2262
2262
  # default sorting order is ascending, redundant space characters are
@@ -2270,31 +2270,31 @@ module Google
2270
2270
  # - `end_time`: corresponds to time the job ended.
2271
2271
  # - `name`: corresponds to job's name.
2272
2272
  # - `state`: corresponds to `state`
2273
- # @param location_id [String]
2273
+ # @param location_id [::String]
2274
2274
  # The geographic location where jobs will be retrieved from.
2275
2275
  # Use `-` for all locations. Reserved for future extensions.
2276
2276
  #
2277
2277
  # @yield [response, operation] Access the result along with the RPC operation
2278
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::Dlp::V2::DlpJob>]
2279
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2278
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::DlpJob>]
2279
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2280
2280
  #
2281
- # @return [Gapic::PagedEnumerable<Google::Cloud::Dlp::V2::DlpJob>]
2281
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::DlpJob>]
2282
2282
  #
2283
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2283
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2284
2284
  #
2285
2285
  def list_dlp_jobs request, options = nil
2286
- raise ArgumentError, "request must be provided" if request.nil?
2286
+ raise ::ArgumentError, "request must be provided" if request.nil?
2287
2287
 
2288
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::ListDlpJobsRequest
2288
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::ListDlpJobsRequest
2289
2289
 
2290
2290
  # Converts hash and nil to an options object
2291
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2291
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2292
2292
 
2293
2293
  # Customize the options with defaults
2294
2294
  metadata = @config.rpcs.list_dlp_jobs.metadata.to_h
2295
2295
 
2296
2296
  # Set x-goog-api-client and x-goog-user-project headers
2297
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2297
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2298
2298
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2299
2299
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2300
2300
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2312,12 +2312,12 @@ module Google
2312
2312
  retry_policy: @config.retry_policy
2313
2313
 
2314
2314
  @dlp_service_stub.call_rpc :list_dlp_jobs, request, options: options do |response, operation|
2315
- response = Gapic::PagedEnumerable.new @dlp_service_stub, :list_dlp_jobs, request, response, operation, options
2315
+ response = ::Gapic::PagedEnumerable.new @dlp_service_stub, :list_dlp_jobs, request, response, operation, options
2316
2316
  yield response, operation if block_given?
2317
2317
  return response
2318
2318
  end
2319
- rescue GRPC::BadStatus => e
2320
- raise Google::Cloud::Error.from_error(e)
2319
+ rescue ::GRPC::BadStatus => e
2320
+ raise ::Google::Cloud::Error.from_error(e)
2321
2321
  end
2322
2322
 
2323
2323
  ##
@@ -2327,12 +2327,12 @@ module Google
2327
2327
  #
2328
2328
  # @overload get_dlp_job(request, options = nil)
2329
2329
  # Pass arguments to `get_dlp_job` via a request object, either of type
2330
- # {Google::Cloud::Dlp::V2::GetDlpJobRequest} or an equivalent Hash.
2330
+ # {::Google::Cloud::Dlp::V2::GetDlpJobRequest} or an equivalent Hash.
2331
2331
  #
2332
- # @param request [Google::Cloud::Dlp::V2::GetDlpJobRequest, Hash]
2332
+ # @param request [::Google::Cloud::Dlp::V2::GetDlpJobRequest, ::Hash]
2333
2333
  # A request object representing the call parameters. Required. To specify no
2334
2334
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2335
- # @param options [Gapic::CallOptions, Hash]
2335
+ # @param options [::Gapic::CallOptions, ::Hash]
2336
2336
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2337
2337
  #
2338
2338
  # @overload get_dlp_job(name: nil)
@@ -2340,30 +2340,30 @@ module Google
2340
2340
  # least one keyword argument is required. To specify no parameters, or to keep all
2341
2341
  # the default parameter values, pass an empty Hash as a request object (see above).
2342
2342
  #
2343
- # @param name [String]
2343
+ # @param name [::String]
2344
2344
  # Required. The name of the DlpJob resource.
2345
2345
  #
2346
2346
  # @yield [response, operation] Access the result along with the RPC operation
2347
- # @yieldparam response [Google::Cloud::Dlp::V2::DlpJob]
2348
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2347
+ # @yieldparam response [::Google::Cloud::Dlp::V2::DlpJob]
2348
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2349
2349
  #
2350
- # @return [Google::Cloud::Dlp::V2::DlpJob]
2350
+ # @return [::Google::Cloud::Dlp::V2::DlpJob]
2351
2351
  #
2352
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2352
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2353
2353
  #
2354
2354
  def get_dlp_job request, options = nil
2355
- raise ArgumentError, "request must be provided" if request.nil?
2355
+ raise ::ArgumentError, "request must be provided" if request.nil?
2356
2356
 
2357
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::GetDlpJobRequest
2357
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::GetDlpJobRequest
2358
2358
 
2359
2359
  # Converts hash and nil to an options object
2360
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2360
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2361
2361
 
2362
2362
  # Customize the options with defaults
2363
2363
  metadata = @config.rpcs.get_dlp_job.metadata.to_h
2364
2364
 
2365
2365
  # Set x-goog-api-client and x-goog-user-project headers
2366
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2366
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2367
2367
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2368
2368
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2369
2369
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2384,8 +2384,8 @@ module Google
2384
2384
  yield response, operation if block_given?
2385
2385
  return response
2386
2386
  end
2387
- rescue GRPC::BadStatus => e
2388
- raise Google::Cloud::Error.from_error(e)
2387
+ rescue ::GRPC::BadStatus => e
2388
+ raise ::Google::Cloud::Error.from_error(e)
2389
2389
  end
2390
2390
 
2391
2391
  ##
@@ -2397,12 +2397,12 @@ module Google
2397
2397
  #
2398
2398
  # @overload delete_dlp_job(request, options = nil)
2399
2399
  # Pass arguments to `delete_dlp_job` via a request object, either of type
2400
- # {Google::Cloud::Dlp::V2::DeleteDlpJobRequest} or an equivalent Hash.
2400
+ # {::Google::Cloud::Dlp::V2::DeleteDlpJobRequest} or an equivalent Hash.
2401
2401
  #
2402
- # @param request [Google::Cloud::Dlp::V2::DeleteDlpJobRequest, Hash]
2402
+ # @param request [::Google::Cloud::Dlp::V2::DeleteDlpJobRequest, ::Hash]
2403
2403
  # A request object representing the call parameters. Required. To specify no
2404
2404
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2405
- # @param options [Gapic::CallOptions, Hash]
2405
+ # @param options [::Gapic::CallOptions, ::Hash]
2406
2406
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2407
2407
  #
2408
2408
  # @overload delete_dlp_job(name: nil)
@@ -2410,30 +2410,30 @@ module Google
2410
2410
  # least one keyword argument is required. To specify no parameters, or to keep all
2411
2411
  # the default parameter values, pass an empty Hash as a request object (see above).
2412
2412
  #
2413
- # @param name [String]
2413
+ # @param name [::String]
2414
2414
  # Required. The name of the DlpJob resource to be deleted.
2415
2415
  #
2416
2416
  # @yield [response, operation] Access the result along with the RPC operation
2417
- # @yieldparam response [Google::Protobuf::Empty]
2418
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2417
+ # @yieldparam response [::Google::Protobuf::Empty]
2418
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2419
2419
  #
2420
- # @return [Google::Protobuf::Empty]
2420
+ # @return [::Google::Protobuf::Empty]
2421
2421
  #
2422
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2422
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2423
2423
  #
2424
2424
  def delete_dlp_job request, options = nil
2425
- raise ArgumentError, "request must be provided" if request.nil?
2425
+ raise ::ArgumentError, "request must be provided" if request.nil?
2426
2426
 
2427
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::DeleteDlpJobRequest
2427
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::DeleteDlpJobRequest
2428
2428
 
2429
2429
  # Converts hash and nil to an options object
2430
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2430
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2431
2431
 
2432
2432
  # Customize the options with defaults
2433
2433
  metadata = @config.rpcs.delete_dlp_job.metadata.to_h
2434
2434
 
2435
2435
  # Set x-goog-api-client and x-goog-user-project headers
2436
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2436
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2437
2437
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2438
2438
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2439
2439
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2454,8 +2454,8 @@ module Google
2454
2454
  yield response, operation if block_given?
2455
2455
  return response
2456
2456
  end
2457
- rescue GRPC::BadStatus => e
2458
- raise Google::Cloud::Error.from_error(e)
2457
+ rescue ::GRPC::BadStatus => e
2458
+ raise ::Google::Cloud::Error.from_error(e)
2459
2459
  end
2460
2460
 
2461
2461
  ##
@@ -2467,12 +2467,12 @@ module Google
2467
2467
  #
2468
2468
  # @overload cancel_dlp_job(request, options = nil)
2469
2469
  # Pass arguments to `cancel_dlp_job` via a request object, either of type
2470
- # {Google::Cloud::Dlp::V2::CancelDlpJobRequest} or an equivalent Hash.
2470
+ # {::Google::Cloud::Dlp::V2::CancelDlpJobRequest} or an equivalent Hash.
2471
2471
  #
2472
- # @param request [Google::Cloud::Dlp::V2::CancelDlpJobRequest, Hash]
2472
+ # @param request [::Google::Cloud::Dlp::V2::CancelDlpJobRequest, ::Hash]
2473
2473
  # A request object representing the call parameters. Required. To specify no
2474
2474
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2475
- # @param options [Gapic::CallOptions, Hash]
2475
+ # @param options [::Gapic::CallOptions, ::Hash]
2476
2476
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2477
2477
  #
2478
2478
  # @overload cancel_dlp_job(name: nil)
@@ -2480,30 +2480,30 @@ module Google
2480
2480
  # least one keyword argument is required. To specify no parameters, or to keep all
2481
2481
  # the default parameter values, pass an empty Hash as a request object (see above).
2482
2482
  #
2483
- # @param name [String]
2483
+ # @param name [::String]
2484
2484
  # Required. The name of the DlpJob resource to be cancelled.
2485
2485
  #
2486
2486
  # @yield [response, operation] Access the result along with the RPC operation
2487
- # @yieldparam response [Google::Protobuf::Empty]
2488
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2487
+ # @yieldparam response [::Google::Protobuf::Empty]
2488
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2489
2489
  #
2490
- # @return [Google::Protobuf::Empty]
2490
+ # @return [::Google::Protobuf::Empty]
2491
2491
  #
2492
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2492
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2493
2493
  #
2494
2494
  def cancel_dlp_job request, options = nil
2495
- raise ArgumentError, "request must be provided" if request.nil?
2495
+ raise ::ArgumentError, "request must be provided" if request.nil?
2496
2496
 
2497
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::CancelDlpJobRequest
2497
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::CancelDlpJobRequest
2498
2498
 
2499
2499
  # Converts hash and nil to an options object
2500
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2500
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2501
2501
 
2502
2502
  # Customize the options with defaults
2503
2503
  metadata = @config.rpcs.cancel_dlp_job.metadata.to_h
2504
2504
 
2505
2505
  # Set x-goog-api-client and x-goog-user-project headers
2506
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2506
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2507
2507
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2508
2508
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2509
2509
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2524,8 +2524,8 @@ module Google
2524
2524
  yield response, operation if block_given?
2525
2525
  return response
2526
2526
  end
2527
- rescue GRPC::BadStatus => e
2528
- raise Google::Cloud::Error.from_error(e)
2527
+ rescue ::GRPC::BadStatus => e
2528
+ raise ::Google::Cloud::Error.from_error(e)
2529
2529
  end
2530
2530
 
2531
2531
  ##
@@ -2535,12 +2535,12 @@ module Google
2535
2535
  #
2536
2536
  # @overload create_stored_info_type(request, options = nil)
2537
2537
  # Pass arguments to `create_stored_info_type` via a request object, either of type
2538
- # {Google::Cloud::Dlp::V2::CreateStoredInfoTypeRequest} or an equivalent Hash.
2538
+ # {::Google::Cloud::Dlp::V2::CreateStoredInfoTypeRequest} or an equivalent Hash.
2539
2539
  #
2540
- # @param request [Google::Cloud::Dlp::V2::CreateStoredInfoTypeRequest, Hash]
2540
+ # @param request [::Google::Cloud::Dlp::V2::CreateStoredInfoTypeRequest, ::Hash]
2541
2541
  # A request object representing the call parameters. Required. To specify no
2542
2542
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2543
- # @param options [Gapic::CallOptions, Hash]
2543
+ # @param options [::Gapic::CallOptions, ::Hash]
2544
2544
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2545
2545
  #
2546
2546
  # @overload create_stored_info_type(parent: nil, config: nil, stored_info_type_id: nil, location_id: nil)
@@ -2548,41 +2548,41 @@ module Google
2548
2548
  # least one keyword argument is required. To specify no parameters, or to keep all
2549
2549
  # the default parameter values, pass an empty Hash as a request object (see above).
2550
2550
  #
2551
- # @param parent [String]
2551
+ # @param parent [::String]
2552
2552
  # Required. The parent resource name, for example projects/my-project-id or
2553
2553
  # organizations/my-org-id.
2554
- # @param config [Google::Cloud::Dlp::V2::StoredInfoTypeConfig, Hash]
2554
+ # @param config [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig, ::Hash]
2555
2555
  # Required. Configuration of the storedInfoType to create.
2556
- # @param stored_info_type_id [String]
2556
+ # @param stored_info_type_id [::String]
2557
2557
  # The storedInfoType ID can contain uppercase and lowercase letters,
2558
2558
  # numbers, and hyphens; that is, it must match the regular
2559
2559
  # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
2560
2560
  # characters. Can be empty to allow the system to generate one.
2561
- # @param location_id [String]
2561
+ # @param location_id [::String]
2562
2562
  # The geographic location to store the stored infoType. Reserved for
2563
2563
  # future extensions.
2564
2564
  #
2565
2565
  # @yield [response, operation] Access the result along with the RPC operation
2566
- # @yieldparam response [Google::Cloud::Dlp::V2::StoredInfoType]
2567
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2566
+ # @yieldparam response [::Google::Cloud::Dlp::V2::StoredInfoType]
2567
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2568
2568
  #
2569
- # @return [Google::Cloud::Dlp::V2::StoredInfoType]
2569
+ # @return [::Google::Cloud::Dlp::V2::StoredInfoType]
2570
2570
  #
2571
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2571
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2572
2572
  #
2573
2573
  def create_stored_info_type request, options = nil
2574
- raise ArgumentError, "request must be provided" if request.nil?
2574
+ raise ::ArgumentError, "request must be provided" if request.nil?
2575
2575
 
2576
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::CreateStoredInfoTypeRequest
2576
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::CreateStoredInfoTypeRequest
2577
2577
 
2578
2578
  # Converts hash and nil to an options object
2579
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2579
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2580
2580
 
2581
2581
  # Customize the options with defaults
2582
2582
  metadata = @config.rpcs.create_stored_info_type.metadata.to_h
2583
2583
 
2584
2584
  # Set x-goog-api-client and x-goog-user-project headers
2585
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2585
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2586
2586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2587
2587
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2588
2588
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2603,8 +2603,8 @@ module Google
2603
2603
  yield response, operation if block_given?
2604
2604
  return response
2605
2605
  end
2606
- rescue GRPC::BadStatus => e
2607
- raise Google::Cloud::Error.from_error(e)
2606
+ rescue ::GRPC::BadStatus => e
2607
+ raise ::Google::Cloud::Error.from_error(e)
2608
2608
  end
2609
2609
 
2610
2610
  ##
@@ -2615,12 +2615,12 @@ module Google
2615
2615
  #
2616
2616
  # @overload update_stored_info_type(request, options = nil)
2617
2617
  # Pass arguments to `update_stored_info_type` via a request object, either of type
2618
- # {Google::Cloud::Dlp::V2::UpdateStoredInfoTypeRequest} or an equivalent Hash.
2618
+ # {::Google::Cloud::Dlp::V2::UpdateStoredInfoTypeRequest} or an equivalent Hash.
2619
2619
  #
2620
- # @param request [Google::Cloud::Dlp::V2::UpdateStoredInfoTypeRequest, Hash]
2620
+ # @param request [::Google::Cloud::Dlp::V2::UpdateStoredInfoTypeRequest, ::Hash]
2621
2621
  # A request object representing the call parameters. Required. To specify no
2622
2622
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2623
- # @param options [Gapic::CallOptions, Hash]
2623
+ # @param options [::Gapic::CallOptions, ::Hash]
2624
2624
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2625
2625
  #
2626
2626
  # @overload update_stored_info_type(name: nil, config: nil, update_mask: nil)
@@ -2628,38 +2628,38 @@ module Google
2628
2628
  # least one keyword argument is required. To specify no parameters, or to keep all
2629
2629
  # the default parameter values, pass an empty Hash as a request object (see above).
2630
2630
  #
2631
- # @param name [String]
2631
+ # @param name [::String]
2632
2632
  # Required. Resource name of organization and storedInfoType to be updated,
2633
2633
  # for example `organizations/433245324/storedInfoTypes/432452342` or
2634
2634
  # projects/project-id/storedInfoTypes/432452342.
2635
- # @param config [Google::Cloud::Dlp::V2::StoredInfoTypeConfig, Hash]
2635
+ # @param config [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig, ::Hash]
2636
2636
  # Updated configuration for the storedInfoType. If not provided, a new
2637
2637
  # version of the storedInfoType will be created with the existing
2638
2638
  # configuration.
2639
- # @param update_mask [Google::Protobuf::FieldMask, Hash]
2639
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2640
2640
  # Mask to control which fields get updated.
2641
2641
  #
2642
2642
  # @yield [response, operation] Access the result along with the RPC operation
2643
- # @yieldparam response [Google::Cloud::Dlp::V2::StoredInfoType]
2644
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2643
+ # @yieldparam response [::Google::Cloud::Dlp::V2::StoredInfoType]
2644
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2645
2645
  #
2646
- # @return [Google::Cloud::Dlp::V2::StoredInfoType]
2646
+ # @return [::Google::Cloud::Dlp::V2::StoredInfoType]
2647
2647
  #
2648
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2648
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2649
2649
  #
2650
2650
  def update_stored_info_type request, options = nil
2651
- raise ArgumentError, "request must be provided" if request.nil?
2651
+ raise ::ArgumentError, "request must be provided" if request.nil?
2652
2652
 
2653
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::UpdateStoredInfoTypeRequest
2653
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::UpdateStoredInfoTypeRequest
2654
2654
 
2655
2655
  # Converts hash and nil to an options object
2656
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2656
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2657
2657
 
2658
2658
  # Customize the options with defaults
2659
2659
  metadata = @config.rpcs.update_stored_info_type.metadata.to_h
2660
2660
 
2661
2661
  # Set x-goog-api-client and x-goog-user-project headers
2662
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2662
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2663
2663
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2664
2664
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2665
2665
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2680,8 +2680,8 @@ module Google
2680
2680
  yield response, operation if block_given?
2681
2681
  return response
2682
2682
  end
2683
- rescue GRPC::BadStatus => e
2684
- raise Google::Cloud::Error.from_error(e)
2683
+ rescue ::GRPC::BadStatus => e
2684
+ raise ::Google::Cloud::Error.from_error(e)
2685
2685
  end
2686
2686
 
2687
2687
  ##
@@ -2691,12 +2691,12 @@ module Google
2691
2691
  #
2692
2692
  # @overload get_stored_info_type(request, options = nil)
2693
2693
  # Pass arguments to `get_stored_info_type` via a request object, either of type
2694
- # {Google::Cloud::Dlp::V2::GetStoredInfoTypeRequest} or an equivalent Hash.
2694
+ # {::Google::Cloud::Dlp::V2::GetStoredInfoTypeRequest} or an equivalent Hash.
2695
2695
  #
2696
- # @param request [Google::Cloud::Dlp::V2::GetStoredInfoTypeRequest, Hash]
2696
+ # @param request [::Google::Cloud::Dlp::V2::GetStoredInfoTypeRequest, ::Hash]
2697
2697
  # A request object representing the call parameters. Required. To specify no
2698
2698
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2699
- # @param options [Gapic::CallOptions, Hash]
2699
+ # @param options [::Gapic::CallOptions, ::Hash]
2700
2700
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2701
2701
  #
2702
2702
  # @overload get_stored_info_type(name: nil)
@@ -2704,32 +2704,32 @@ module Google
2704
2704
  # least one keyword argument is required. To specify no parameters, or to keep all
2705
2705
  # the default parameter values, pass an empty Hash as a request object (see above).
2706
2706
  #
2707
- # @param name [String]
2707
+ # @param name [::String]
2708
2708
  # Required. Resource name of the organization and storedInfoType to be read,
2709
2709
  # for example `organizations/433245324/storedInfoTypes/432452342` or
2710
2710
  # projects/project-id/storedInfoTypes/432452342.
2711
2711
  #
2712
2712
  # @yield [response, operation] Access the result along with the RPC operation
2713
- # @yieldparam response [Google::Cloud::Dlp::V2::StoredInfoType]
2714
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2713
+ # @yieldparam response [::Google::Cloud::Dlp::V2::StoredInfoType]
2714
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2715
2715
  #
2716
- # @return [Google::Cloud::Dlp::V2::StoredInfoType]
2716
+ # @return [::Google::Cloud::Dlp::V2::StoredInfoType]
2717
2717
  #
2718
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2718
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2719
2719
  #
2720
2720
  def get_stored_info_type request, options = nil
2721
- raise ArgumentError, "request must be provided" if request.nil?
2721
+ raise ::ArgumentError, "request must be provided" if request.nil?
2722
2722
 
2723
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::GetStoredInfoTypeRequest
2723
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::GetStoredInfoTypeRequest
2724
2724
 
2725
2725
  # Converts hash and nil to an options object
2726
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2726
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2727
2727
 
2728
2728
  # Customize the options with defaults
2729
2729
  metadata = @config.rpcs.get_stored_info_type.metadata.to_h
2730
2730
 
2731
2731
  # Set x-goog-api-client and x-goog-user-project headers
2732
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2732
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2733
2733
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2734
2734
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2735
2735
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2750,8 +2750,8 @@ module Google
2750
2750
  yield response, operation if block_given?
2751
2751
  return response
2752
2752
  end
2753
- rescue GRPC::BadStatus => e
2754
- raise Google::Cloud::Error.from_error(e)
2753
+ rescue ::GRPC::BadStatus => e
2754
+ raise ::Google::Cloud::Error.from_error(e)
2755
2755
  end
2756
2756
 
2757
2757
  ##
@@ -2761,12 +2761,12 @@ module Google
2761
2761
  #
2762
2762
  # @overload list_stored_info_types(request, options = nil)
2763
2763
  # Pass arguments to `list_stored_info_types` via a request object, either of type
2764
- # {Google::Cloud::Dlp::V2::ListStoredInfoTypesRequest} or an equivalent Hash.
2764
+ # {::Google::Cloud::Dlp::V2::ListStoredInfoTypesRequest} or an equivalent Hash.
2765
2765
  #
2766
- # @param request [Google::Cloud::Dlp::V2::ListStoredInfoTypesRequest, Hash]
2766
+ # @param request [::Google::Cloud::Dlp::V2::ListStoredInfoTypesRequest, ::Hash]
2767
2767
  # A request object representing the call parameters. Required. To specify no
2768
2768
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2769
- # @param options [Gapic::CallOptions, Hash]
2769
+ # @param options [::Gapic::CallOptions, ::Hash]
2770
2770
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2771
2771
  #
2772
2772
  # @overload list_stored_info_types(parent: nil, page_token: nil, page_size: nil, order_by: nil, location_id: nil)
@@ -2774,16 +2774,16 @@ module Google
2774
2774
  # least one keyword argument is required. To specify no parameters, or to keep all
2775
2775
  # the default parameter values, pass an empty Hash as a request object (see above).
2776
2776
  #
2777
- # @param parent [String]
2777
+ # @param parent [::String]
2778
2778
  # Required. The parent resource name, for example projects/my-project-id or
2779
2779
  # organizations/my-org-id.
2780
- # @param page_token [String]
2780
+ # @param page_token [::String]
2781
2781
  # Page token to continue retrieval. Comes from previous call
2782
2782
  # to `ListStoredInfoTypes`.
2783
- # @param page_size [Integer]
2783
+ # @param page_size [::Integer]
2784
2784
  # Size of the page, can be limited by server. If zero server returns
2785
2785
  # a page of max size 100.
2786
- # @param order_by [String]
2786
+ # @param order_by [::String]
2787
2787
  # Comma separated list of fields to order by,
2788
2788
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
2789
2789
  # default sorting order is ascending, redundant space characters are
@@ -2798,31 +2798,31 @@ module Google
2798
2798
  # - `state`: corresponds to the state of the resource.
2799
2799
  # - `name`: corresponds to resource name.
2800
2800
  # - `display_name`: corresponds to info type's display name.
2801
- # @param location_id [String]
2801
+ # @param location_id [::String]
2802
2802
  # The geographic location where stored infoTypes will be retrieved from.
2803
2803
  # Use `-` for all locations. Reserved for future extensions.
2804
2804
  #
2805
2805
  # @yield [response, operation] Access the result along with the RPC operation
2806
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::Dlp::V2::StoredInfoType>]
2807
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2806
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::StoredInfoType>]
2807
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2808
2808
  #
2809
- # @return [Gapic::PagedEnumerable<Google::Cloud::Dlp::V2::StoredInfoType>]
2809
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::StoredInfoType>]
2810
2810
  #
2811
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2811
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2812
2812
  #
2813
2813
  def list_stored_info_types request, options = nil
2814
- raise ArgumentError, "request must be provided" if request.nil?
2814
+ raise ::ArgumentError, "request must be provided" if request.nil?
2815
2815
 
2816
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::ListStoredInfoTypesRequest
2816
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::ListStoredInfoTypesRequest
2817
2817
 
2818
2818
  # Converts hash and nil to an options object
2819
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2819
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2820
2820
 
2821
2821
  # Customize the options with defaults
2822
2822
  metadata = @config.rpcs.list_stored_info_types.metadata.to_h
2823
2823
 
2824
2824
  # Set x-goog-api-client and x-goog-user-project headers
2825
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2825
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2826
2826
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2827
2827
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2828
2828
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2840,12 +2840,12 @@ module Google
2840
2840
  retry_policy: @config.retry_policy
2841
2841
 
2842
2842
  @dlp_service_stub.call_rpc :list_stored_info_types, request, options: options do |response, operation|
2843
- response = Gapic::PagedEnumerable.new @dlp_service_stub, :list_stored_info_types, request, response, operation, options
2843
+ response = ::Gapic::PagedEnumerable.new @dlp_service_stub, :list_stored_info_types, request, response, operation, options
2844
2844
  yield response, operation if block_given?
2845
2845
  return response
2846
2846
  end
2847
- rescue GRPC::BadStatus => e
2848
- raise Google::Cloud::Error.from_error(e)
2847
+ rescue ::GRPC::BadStatus => e
2848
+ raise ::Google::Cloud::Error.from_error(e)
2849
2849
  end
2850
2850
 
2851
2851
  ##
@@ -2855,12 +2855,12 @@ module Google
2855
2855
  #
2856
2856
  # @overload delete_stored_info_type(request, options = nil)
2857
2857
  # Pass arguments to `delete_stored_info_type` via a request object, either of type
2858
- # {Google::Cloud::Dlp::V2::DeleteStoredInfoTypeRequest} or an equivalent Hash.
2858
+ # {::Google::Cloud::Dlp::V2::DeleteStoredInfoTypeRequest} or an equivalent Hash.
2859
2859
  #
2860
- # @param request [Google::Cloud::Dlp::V2::DeleteStoredInfoTypeRequest, Hash]
2860
+ # @param request [::Google::Cloud::Dlp::V2::DeleteStoredInfoTypeRequest, ::Hash]
2861
2861
  # A request object representing the call parameters. Required. To specify no
2862
2862
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2863
- # @param options [Gapic::CallOptions, Hash]
2863
+ # @param options [::Gapic::CallOptions, ::Hash]
2864
2864
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2865
2865
  #
2866
2866
  # @overload delete_stored_info_type(name: nil)
@@ -2868,32 +2868,32 @@ module Google
2868
2868
  # least one keyword argument is required. To specify no parameters, or to keep all
2869
2869
  # the default parameter values, pass an empty Hash as a request object (see above).
2870
2870
  #
2871
- # @param name [String]
2871
+ # @param name [::String]
2872
2872
  # Required. Resource name of the organization and storedInfoType to be
2873
2873
  # deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
2874
2874
  # projects/project-id/storedInfoTypes/432452342.
2875
2875
  #
2876
2876
  # @yield [response, operation] Access the result along with the RPC operation
2877
- # @yieldparam response [Google::Protobuf::Empty]
2878
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2877
+ # @yieldparam response [::Google::Protobuf::Empty]
2878
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2879
2879
  #
2880
- # @return [Google::Protobuf::Empty]
2880
+ # @return [::Google::Protobuf::Empty]
2881
2881
  #
2882
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2882
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2883
2883
  #
2884
2884
  def delete_stored_info_type request, options = nil
2885
- raise ArgumentError, "request must be provided" if request.nil?
2885
+ raise ::ArgumentError, "request must be provided" if request.nil?
2886
2886
 
2887
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::DeleteStoredInfoTypeRequest
2887
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::DeleteStoredInfoTypeRequest
2888
2888
 
2889
2889
  # Converts hash and nil to an options object
2890
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2890
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2891
2891
 
2892
2892
  # Customize the options with defaults
2893
2893
  metadata = @config.rpcs.delete_stored_info_type.metadata.to_h
2894
2894
 
2895
2895
  # Set x-goog-api-client and x-goog-user-project headers
2896
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2896
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2897
2897
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2898
2898
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2899
2899
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2914,8 +2914,8 @@ module Google
2914
2914
  yield response, operation if block_given?
2915
2915
  return response
2916
2916
  end
2917
- rescue GRPC::BadStatus => e
2918
- raise Google::Cloud::Error.from_error(e)
2917
+ rescue ::GRPC::BadStatus => e
2918
+ raise ::Google::Cloud::Error.from_error(e)
2919
2919
  end
2920
2920
 
2921
2921
  ##
@@ -2928,12 +2928,12 @@ module Google
2928
2928
  #
2929
2929
  # @overload hybrid_inspect_dlp_job(request, options = nil)
2930
2930
  # Pass arguments to `hybrid_inspect_dlp_job` via a request object, either of type
2931
- # {Google::Cloud::Dlp::V2::HybridInspectDlpJobRequest} or an equivalent Hash.
2931
+ # {::Google::Cloud::Dlp::V2::HybridInspectDlpJobRequest} or an equivalent Hash.
2932
2932
  #
2933
- # @param request [Google::Cloud::Dlp::V2::HybridInspectDlpJobRequest, Hash]
2933
+ # @param request [::Google::Cloud::Dlp::V2::HybridInspectDlpJobRequest, ::Hash]
2934
2934
  # A request object representing the call parameters. Required. To specify no
2935
2935
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2936
- # @param options [Gapic::CallOptions, Hash]
2936
+ # @param options [::Gapic::CallOptions, ::Hash]
2937
2937
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2938
2938
  #
2939
2939
  # @overload hybrid_inspect_dlp_job(name: nil, hybrid_item: nil)
@@ -2941,33 +2941,33 @@ module Google
2941
2941
  # least one keyword argument is required. To specify no parameters, or to keep all
2942
2942
  # the default parameter values, pass an empty Hash as a request object (see above).
2943
2943
  #
2944
- # @param name [String]
2944
+ # @param name [::String]
2945
2945
  # Required. Resource name of the job to execute a hybrid inspect on, for
2946
2946
  # example `projects/dlp-test-project/dlpJob/53234423`.
2947
- # @param hybrid_item [Google::Cloud::Dlp::V2::HybridContentItem, Hash]
2947
+ # @param hybrid_item [::Google::Cloud::Dlp::V2::HybridContentItem, ::Hash]
2948
2948
  # The item to inspect.
2949
2949
  #
2950
2950
  # @yield [response, operation] Access the result along with the RPC operation
2951
- # @yieldparam response [Google::Cloud::Dlp::V2::HybridInspectResponse]
2952
- # @yieldparam operation [GRPC::ActiveCall::Operation]
2951
+ # @yieldparam response [::Google::Cloud::Dlp::V2::HybridInspectResponse]
2952
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2953
2953
  #
2954
- # @return [Google::Cloud::Dlp::V2::HybridInspectResponse]
2954
+ # @return [::Google::Cloud::Dlp::V2::HybridInspectResponse]
2955
2955
  #
2956
- # @raise [Google::Cloud::Error] if the RPC is aborted.
2956
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2957
2957
  #
2958
2958
  def hybrid_inspect_dlp_job request, options = nil
2959
- raise ArgumentError, "request must be provided" if request.nil?
2959
+ raise ::ArgumentError, "request must be provided" if request.nil?
2960
2960
 
2961
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::HybridInspectDlpJobRequest
2961
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::HybridInspectDlpJobRequest
2962
2962
 
2963
2963
  # Converts hash and nil to an options object
2964
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2964
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2965
2965
 
2966
2966
  # Customize the options with defaults
2967
2967
  metadata = @config.rpcs.hybrid_inspect_dlp_job.metadata.to_h
2968
2968
 
2969
2969
  # Set x-goog-api-client and x-goog-user-project headers
2970
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
2970
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2971
2971
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2972
2972
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
2973
2973
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -2988,8 +2988,8 @@ module Google
2988
2988
  yield response, operation if block_given?
2989
2989
  return response
2990
2990
  end
2991
- rescue GRPC::BadStatus => e
2992
- raise Google::Cloud::Error.from_error(e)
2991
+ rescue ::GRPC::BadStatus => e
2992
+ raise ::Google::Cloud::Error.from_error(e)
2993
2993
  end
2994
2994
 
2995
2995
  ##
@@ -3001,12 +3001,12 @@ module Google
3001
3001
  #
3002
3002
  # @overload finish_dlp_job(request, options = nil)
3003
3003
  # Pass arguments to `finish_dlp_job` via a request object, either of type
3004
- # {Google::Cloud::Dlp::V2::FinishDlpJobRequest} or an equivalent Hash.
3004
+ # {::Google::Cloud::Dlp::V2::FinishDlpJobRequest} or an equivalent Hash.
3005
3005
  #
3006
- # @param request [Google::Cloud::Dlp::V2::FinishDlpJobRequest, Hash]
3006
+ # @param request [::Google::Cloud::Dlp::V2::FinishDlpJobRequest, ::Hash]
3007
3007
  # A request object representing the call parameters. Required. To specify no
3008
3008
  # parameters, or to keep all the default parameter values, pass an empty Hash.
3009
- # @param options [Gapic::CallOptions, Hash]
3009
+ # @param options [::Gapic::CallOptions, ::Hash]
3010
3010
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3011
3011
  #
3012
3012
  # @overload finish_dlp_job(name: nil)
@@ -3014,30 +3014,30 @@ module Google
3014
3014
  # least one keyword argument is required. To specify no parameters, or to keep all
3015
3015
  # the default parameter values, pass an empty Hash as a request object (see above).
3016
3016
  #
3017
- # @param name [String]
3017
+ # @param name [::String]
3018
3018
  # Required. The name of the DlpJob resource to be cancelled.
3019
3019
  #
3020
3020
  # @yield [response, operation] Access the result along with the RPC operation
3021
- # @yieldparam response [Google::Protobuf::Empty]
3022
- # @yieldparam operation [GRPC::ActiveCall::Operation]
3021
+ # @yieldparam response [::Google::Protobuf::Empty]
3022
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3023
3023
  #
3024
- # @return [Google::Protobuf::Empty]
3024
+ # @return [::Google::Protobuf::Empty]
3025
3025
  #
3026
- # @raise [Google::Cloud::Error] if the RPC is aborted.
3026
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3027
3027
  #
3028
3028
  def finish_dlp_job request, options = nil
3029
- raise ArgumentError, "request must be provided" if request.nil?
3029
+ raise ::ArgumentError, "request must be provided" if request.nil?
3030
3030
 
3031
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dlp::V2::FinishDlpJobRequest
3031
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dlp::V2::FinishDlpJobRequest
3032
3032
 
3033
3033
  # Converts hash and nil to an options object
3034
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3034
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3035
3035
 
3036
3036
  # Customize the options with defaults
3037
3037
  metadata = @config.rpcs.finish_dlp_job.metadata.to_h
3038
3038
 
3039
3039
  # Set x-goog-api-client and x-goog-user-project headers
3040
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
3040
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3041
3041
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3042
3042
  gapic_version: ::Google::Cloud::Dlp::V2::VERSION
3043
3043
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -3058,8 +3058,8 @@ module Google
3058
3058
  yield response, operation if block_given?
3059
3059
  return response
3060
3060
  end
3061
- rescue GRPC::BadStatus => e
3062
- raise Google::Cloud::Error.from_error(e)
3061
+ rescue ::GRPC::BadStatus => e
3062
+ raise ::Google::Cloud::Error.from_error(e)
3063
3063
  end
3064
3064
 
3065
3065
  ##
@@ -3069,7 +3069,7 @@ module Google
3069
3069
  # providing control over timeouts, retry behavior, logging, transport
3070
3070
  # parameters, and other low-level controls. Certain parameters can also be
3071
3071
  # applied individually to specific RPCs. See
3072
- # {Google::Cloud::Dlp::V2::DlpService::Client::Configuration::Rpcs}
3072
+ # {::Google::Cloud::Dlp::V2::DlpService::Client::Configuration::Rpcs}
3073
3073
  # for a list of RPCs that can be configured independently.
3074
3074
  #
3075
3075
  # Configuration can be applied globally to all clients, or to a single client
@@ -3080,22 +3080,22 @@ module Google
3080
3080
  # To modify the global config, setting the timeout for inspect_content
3081
3081
  # to 20 seconds, and all remaining timeouts to 10 seconds:
3082
3082
  #
3083
- # Google::Cloud::Dlp::V2::DlpService::Client.configure do |config|
3084
- # config.timeout = 10_000
3085
- # config.rpcs.inspect_content.timeout = 20_000
3083
+ # ::Google::Cloud::Dlp::V2::DlpService::Client.configure do |config|
3084
+ # config.timeout = 10.0
3085
+ # config.rpcs.inspect_content.timeout = 20.0
3086
3086
  # end
3087
3087
  #
3088
3088
  # To apply the above configuration only to a new client:
3089
3089
  #
3090
- # client = Google::Cloud::Dlp::V2::DlpService::Client.new do |config|
3091
- # config.timeout = 10_000
3092
- # config.rpcs.inspect_content.timeout = 20_000
3090
+ # client = ::Google::Cloud::Dlp::V2::DlpService::Client.new do |config|
3091
+ # config.timeout = 10.0
3092
+ # config.rpcs.inspect_content.timeout = 20.0
3093
3093
  # end
3094
3094
  #
3095
3095
  # @!attribute [rw] endpoint
3096
3096
  # The hostname or hostname:port of the service endpoint.
3097
3097
  # Defaults to `"dlp.googleapis.com"`.
3098
- # @return [String]
3098
+ # @return [::String]
3099
3099
  # @!attribute [rw] credentials
3100
3100
  # Credentials to send with calls. You may provide any of the following types:
3101
3101
  # * (`String`) The path to a service account key file in JSON format
@@ -3107,29 +3107,29 @@ module Google
3107
3107
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3108
3108
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3109
3109
  # * (`nil`) indicating no credentials
3110
- # @return [Object]
3110
+ # @return [::Object]
3111
3111
  # @!attribute [rw] scope
3112
3112
  # The OAuth scopes
3113
- # @return [Array<String>]
3113
+ # @return [::Array<::String>]
3114
3114
  # @!attribute [rw] lib_name
3115
3115
  # The library name as recorded in instrumentation and logging
3116
- # @return [String]
3116
+ # @return [::String]
3117
3117
  # @!attribute [rw] lib_version
3118
3118
  # The library version as recorded in instrumentation and logging
3119
- # @return [String]
3119
+ # @return [::String]
3120
3120
  # @!attribute [rw] channel_args
3121
3121
  # Extra parameters passed to the gRPC channel. Note: this is ignored if a
3122
3122
  # `GRPC::Core::Channel` object is provided as the credential.
3123
- # @return [Hash]
3123
+ # @return [::Hash]
3124
3124
  # @!attribute [rw] interceptors
3125
3125
  # An array of interceptors that are run before calls are executed.
3126
- # @return [Array<GRPC::ClientInterceptor>]
3126
+ # @return [::Array<::GRPC::ClientInterceptor>]
3127
3127
  # @!attribute [rw] timeout
3128
- # The call timeout in milliseconds.
3129
- # @return [Numeric]
3128
+ # The call timeout in seconds.
3129
+ # @return [::Numeric]
3130
3130
  # @!attribute [rw] metadata
3131
3131
  # Additional gRPC headers to be sent with the call.
3132
- # @return [Hash{Symbol=>String}]
3132
+ # @return [::Hash{::Symbol=>::String}]
3133
3133
  # @!attribute [rw] retry_policy
3134
3134
  # The retry policy. The value is a hash with the following keys:
3135
3135
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
@@ -3137,10 +3137,10 @@ module Google
3137
3137
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
3138
3138
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
3139
3139
  # trigger a retry.
3140
- # @return [Hash]
3140
+ # @return [::Hash]
3141
3141
  #
3142
3142
  class Configuration
3143
- extend Gapic::Config
3143
+ extend ::Gapic::Config
3144
3144
 
3145
3145
  config_attr :endpoint, "dlp.googleapis.com", String
3146
3146
  config_attr :credentials, nil do |value|
@@ -3148,14 +3148,14 @@ module Google
3148
3148
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
3149
3149
  allowed.any? { |klass| klass === value }
3150
3150
  end
3151
- config_attr :scope, nil, String, Array, nil
3152
- config_attr :lib_name, nil, String, nil
3153
- config_attr :lib_version, nil, String, nil
3154
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, Hash, nil)
3155
- config_attr :interceptors, nil, Array, nil
3156
- config_attr :timeout, nil, Numeric, nil
3157
- config_attr :metadata, nil, Hash, nil
3158
- config_attr :retry_policy, nil, Hash, Proc, nil
3151
+ config_attr :scope, nil, ::String, ::Array, nil
3152
+ config_attr :lib_name, nil, ::String, nil
3153
+ config_attr :lib_version, nil, ::String, nil
3154
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
3155
+ config_attr :interceptors, nil, ::Array, nil
3156
+ config_attr :timeout, nil, ::Numeric, nil
3157
+ config_attr :metadata, nil, ::Hash, nil
3158
+ config_attr :retry_policy, nil, ::Hash, Proc, nil
3159
3159
 
3160
3160
  # @private
3161
3161
  def initialize parent_config = nil
@@ -3196,245 +3196,245 @@ module Google
3196
3196
  class Rpcs
3197
3197
  ##
3198
3198
  # RPC-specific configuration for `inspect_content`
3199
- # @return [Gapic::Config::Method]
3199
+ # @return [::Gapic::Config::Method]
3200
3200
  #
3201
3201
  attr_reader :inspect_content
3202
3202
  ##
3203
3203
  # RPC-specific configuration for `redact_image`
3204
- # @return [Gapic::Config::Method]
3204
+ # @return [::Gapic::Config::Method]
3205
3205
  #
3206
3206
  attr_reader :redact_image
3207
3207
  ##
3208
3208
  # RPC-specific configuration for `deidentify_content`
3209
- # @return [Gapic::Config::Method]
3209
+ # @return [::Gapic::Config::Method]
3210
3210
  #
3211
3211
  attr_reader :deidentify_content
3212
3212
  ##
3213
3213
  # RPC-specific configuration for `reidentify_content`
3214
- # @return [Gapic::Config::Method]
3214
+ # @return [::Gapic::Config::Method]
3215
3215
  #
3216
3216
  attr_reader :reidentify_content
3217
3217
  ##
3218
3218
  # RPC-specific configuration for `list_info_types`
3219
- # @return [Gapic::Config::Method]
3219
+ # @return [::Gapic::Config::Method]
3220
3220
  #
3221
3221
  attr_reader :list_info_types
3222
3222
  ##
3223
3223
  # RPC-specific configuration for `create_inspect_template`
3224
- # @return [Gapic::Config::Method]
3224
+ # @return [::Gapic::Config::Method]
3225
3225
  #
3226
3226
  attr_reader :create_inspect_template
3227
3227
  ##
3228
3228
  # RPC-specific configuration for `update_inspect_template`
3229
- # @return [Gapic::Config::Method]
3229
+ # @return [::Gapic::Config::Method]
3230
3230
  #
3231
3231
  attr_reader :update_inspect_template
3232
3232
  ##
3233
3233
  # RPC-specific configuration for `get_inspect_template`
3234
- # @return [Gapic::Config::Method]
3234
+ # @return [::Gapic::Config::Method]
3235
3235
  #
3236
3236
  attr_reader :get_inspect_template
3237
3237
  ##
3238
3238
  # RPC-specific configuration for `list_inspect_templates`
3239
- # @return [Gapic::Config::Method]
3239
+ # @return [::Gapic::Config::Method]
3240
3240
  #
3241
3241
  attr_reader :list_inspect_templates
3242
3242
  ##
3243
3243
  # RPC-specific configuration for `delete_inspect_template`
3244
- # @return [Gapic::Config::Method]
3244
+ # @return [::Gapic::Config::Method]
3245
3245
  #
3246
3246
  attr_reader :delete_inspect_template
3247
3247
  ##
3248
3248
  # RPC-specific configuration for `create_deidentify_template`
3249
- # @return [Gapic::Config::Method]
3249
+ # @return [::Gapic::Config::Method]
3250
3250
  #
3251
3251
  attr_reader :create_deidentify_template
3252
3252
  ##
3253
3253
  # RPC-specific configuration for `update_deidentify_template`
3254
- # @return [Gapic::Config::Method]
3254
+ # @return [::Gapic::Config::Method]
3255
3255
  #
3256
3256
  attr_reader :update_deidentify_template
3257
3257
  ##
3258
3258
  # RPC-specific configuration for `get_deidentify_template`
3259
- # @return [Gapic::Config::Method]
3259
+ # @return [::Gapic::Config::Method]
3260
3260
  #
3261
3261
  attr_reader :get_deidentify_template
3262
3262
  ##
3263
3263
  # RPC-specific configuration for `list_deidentify_templates`
3264
- # @return [Gapic::Config::Method]
3264
+ # @return [::Gapic::Config::Method]
3265
3265
  #
3266
3266
  attr_reader :list_deidentify_templates
3267
3267
  ##
3268
3268
  # RPC-specific configuration for `delete_deidentify_template`
3269
- # @return [Gapic::Config::Method]
3269
+ # @return [::Gapic::Config::Method]
3270
3270
  #
3271
3271
  attr_reader :delete_deidentify_template
3272
3272
  ##
3273
3273
  # RPC-specific configuration for `create_job_trigger`
3274
- # @return [Gapic::Config::Method]
3274
+ # @return [::Gapic::Config::Method]
3275
3275
  #
3276
3276
  attr_reader :create_job_trigger
3277
3277
  ##
3278
3278
  # RPC-specific configuration for `update_job_trigger`
3279
- # @return [Gapic::Config::Method]
3279
+ # @return [::Gapic::Config::Method]
3280
3280
  #
3281
3281
  attr_reader :update_job_trigger
3282
3282
  ##
3283
3283
  # RPC-specific configuration for `hybrid_inspect_job_trigger`
3284
- # @return [Gapic::Config::Method]
3284
+ # @return [::Gapic::Config::Method]
3285
3285
  #
3286
3286
  attr_reader :hybrid_inspect_job_trigger
3287
3287
  ##
3288
3288
  # RPC-specific configuration for `get_job_trigger`
3289
- # @return [Gapic::Config::Method]
3289
+ # @return [::Gapic::Config::Method]
3290
3290
  #
3291
3291
  attr_reader :get_job_trigger
3292
3292
  ##
3293
3293
  # RPC-specific configuration for `list_job_triggers`
3294
- # @return [Gapic::Config::Method]
3294
+ # @return [::Gapic::Config::Method]
3295
3295
  #
3296
3296
  attr_reader :list_job_triggers
3297
3297
  ##
3298
3298
  # RPC-specific configuration for `delete_job_trigger`
3299
- # @return [Gapic::Config::Method]
3299
+ # @return [::Gapic::Config::Method]
3300
3300
  #
3301
3301
  attr_reader :delete_job_trigger
3302
3302
  ##
3303
3303
  # RPC-specific configuration for `activate_job_trigger`
3304
- # @return [Gapic::Config::Method]
3304
+ # @return [::Gapic::Config::Method]
3305
3305
  #
3306
3306
  attr_reader :activate_job_trigger
3307
3307
  ##
3308
3308
  # RPC-specific configuration for `create_dlp_job`
3309
- # @return [Gapic::Config::Method]
3309
+ # @return [::Gapic::Config::Method]
3310
3310
  #
3311
3311
  attr_reader :create_dlp_job
3312
3312
  ##
3313
3313
  # RPC-specific configuration for `list_dlp_jobs`
3314
- # @return [Gapic::Config::Method]
3314
+ # @return [::Gapic::Config::Method]
3315
3315
  #
3316
3316
  attr_reader :list_dlp_jobs
3317
3317
  ##
3318
3318
  # RPC-specific configuration for `get_dlp_job`
3319
- # @return [Gapic::Config::Method]
3319
+ # @return [::Gapic::Config::Method]
3320
3320
  #
3321
3321
  attr_reader :get_dlp_job
3322
3322
  ##
3323
3323
  # RPC-specific configuration for `delete_dlp_job`
3324
- # @return [Gapic::Config::Method]
3324
+ # @return [::Gapic::Config::Method]
3325
3325
  #
3326
3326
  attr_reader :delete_dlp_job
3327
3327
  ##
3328
3328
  # RPC-specific configuration for `cancel_dlp_job`
3329
- # @return [Gapic::Config::Method]
3329
+ # @return [::Gapic::Config::Method]
3330
3330
  #
3331
3331
  attr_reader :cancel_dlp_job
3332
3332
  ##
3333
3333
  # RPC-specific configuration for `create_stored_info_type`
3334
- # @return [Gapic::Config::Method]
3334
+ # @return [::Gapic::Config::Method]
3335
3335
  #
3336
3336
  attr_reader :create_stored_info_type
3337
3337
  ##
3338
3338
  # RPC-specific configuration for `update_stored_info_type`
3339
- # @return [Gapic::Config::Method]
3339
+ # @return [::Gapic::Config::Method]
3340
3340
  #
3341
3341
  attr_reader :update_stored_info_type
3342
3342
  ##
3343
3343
  # RPC-specific configuration for `get_stored_info_type`
3344
- # @return [Gapic::Config::Method]
3344
+ # @return [::Gapic::Config::Method]
3345
3345
  #
3346
3346
  attr_reader :get_stored_info_type
3347
3347
  ##
3348
3348
  # RPC-specific configuration for `list_stored_info_types`
3349
- # @return [Gapic::Config::Method]
3349
+ # @return [::Gapic::Config::Method]
3350
3350
  #
3351
3351
  attr_reader :list_stored_info_types
3352
3352
  ##
3353
3353
  # RPC-specific configuration for `delete_stored_info_type`
3354
- # @return [Gapic::Config::Method]
3354
+ # @return [::Gapic::Config::Method]
3355
3355
  #
3356
3356
  attr_reader :delete_stored_info_type
3357
3357
  ##
3358
3358
  # RPC-specific configuration for `hybrid_inspect_dlp_job`
3359
- # @return [Gapic::Config::Method]
3359
+ # @return [::Gapic::Config::Method]
3360
3360
  #
3361
3361
  attr_reader :hybrid_inspect_dlp_job
3362
3362
  ##
3363
3363
  # RPC-specific configuration for `finish_dlp_job`
3364
- # @return [Gapic::Config::Method]
3364
+ # @return [::Gapic::Config::Method]
3365
3365
  #
3366
3366
  attr_reader :finish_dlp_job
3367
3367
 
3368
3368
  # @private
3369
3369
  def initialize parent_rpcs = nil
3370
3370
  inspect_content_config = parent_rpcs&.inspect_content if parent_rpcs&.respond_to? :inspect_content
3371
- @inspect_content = Gapic::Config::Method.new inspect_content_config
3371
+ @inspect_content = ::Gapic::Config::Method.new inspect_content_config
3372
3372
  redact_image_config = parent_rpcs&.redact_image if parent_rpcs&.respond_to? :redact_image
3373
- @redact_image = Gapic::Config::Method.new redact_image_config
3373
+ @redact_image = ::Gapic::Config::Method.new redact_image_config
3374
3374
  deidentify_content_config = parent_rpcs&.deidentify_content if parent_rpcs&.respond_to? :deidentify_content
3375
- @deidentify_content = Gapic::Config::Method.new deidentify_content_config
3375
+ @deidentify_content = ::Gapic::Config::Method.new deidentify_content_config
3376
3376
  reidentify_content_config = parent_rpcs&.reidentify_content if parent_rpcs&.respond_to? :reidentify_content
3377
- @reidentify_content = Gapic::Config::Method.new reidentify_content_config
3377
+ @reidentify_content = ::Gapic::Config::Method.new reidentify_content_config
3378
3378
  list_info_types_config = parent_rpcs&.list_info_types if parent_rpcs&.respond_to? :list_info_types
3379
- @list_info_types = Gapic::Config::Method.new list_info_types_config
3379
+ @list_info_types = ::Gapic::Config::Method.new list_info_types_config
3380
3380
  create_inspect_template_config = parent_rpcs&.create_inspect_template if parent_rpcs&.respond_to? :create_inspect_template
3381
- @create_inspect_template = Gapic::Config::Method.new create_inspect_template_config
3381
+ @create_inspect_template = ::Gapic::Config::Method.new create_inspect_template_config
3382
3382
  update_inspect_template_config = parent_rpcs&.update_inspect_template if parent_rpcs&.respond_to? :update_inspect_template
3383
- @update_inspect_template = Gapic::Config::Method.new update_inspect_template_config
3383
+ @update_inspect_template = ::Gapic::Config::Method.new update_inspect_template_config
3384
3384
  get_inspect_template_config = parent_rpcs&.get_inspect_template if parent_rpcs&.respond_to? :get_inspect_template
3385
- @get_inspect_template = Gapic::Config::Method.new get_inspect_template_config
3385
+ @get_inspect_template = ::Gapic::Config::Method.new get_inspect_template_config
3386
3386
  list_inspect_templates_config = parent_rpcs&.list_inspect_templates if parent_rpcs&.respond_to? :list_inspect_templates
3387
- @list_inspect_templates = Gapic::Config::Method.new list_inspect_templates_config
3387
+ @list_inspect_templates = ::Gapic::Config::Method.new list_inspect_templates_config
3388
3388
  delete_inspect_template_config = parent_rpcs&.delete_inspect_template if parent_rpcs&.respond_to? :delete_inspect_template
3389
- @delete_inspect_template = Gapic::Config::Method.new delete_inspect_template_config
3389
+ @delete_inspect_template = ::Gapic::Config::Method.new delete_inspect_template_config
3390
3390
  create_deidentify_template_config = parent_rpcs&.create_deidentify_template if parent_rpcs&.respond_to? :create_deidentify_template
3391
- @create_deidentify_template = Gapic::Config::Method.new create_deidentify_template_config
3391
+ @create_deidentify_template = ::Gapic::Config::Method.new create_deidentify_template_config
3392
3392
  update_deidentify_template_config = parent_rpcs&.update_deidentify_template if parent_rpcs&.respond_to? :update_deidentify_template
3393
- @update_deidentify_template = Gapic::Config::Method.new update_deidentify_template_config
3393
+ @update_deidentify_template = ::Gapic::Config::Method.new update_deidentify_template_config
3394
3394
  get_deidentify_template_config = parent_rpcs&.get_deidentify_template if parent_rpcs&.respond_to? :get_deidentify_template
3395
- @get_deidentify_template = Gapic::Config::Method.new get_deidentify_template_config
3395
+ @get_deidentify_template = ::Gapic::Config::Method.new get_deidentify_template_config
3396
3396
  list_deidentify_templates_config = parent_rpcs&.list_deidentify_templates if parent_rpcs&.respond_to? :list_deidentify_templates
3397
- @list_deidentify_templates = Gapic::Config::Method.new list_deidentify_templates_config
3397
+ @list_deidentify_templates = ::Gapic::Config::Method.new list_deidentify_templates_config
3398
3398
  delete_deidentify_template_config = parent_rpcs&.delete_deidentify_template if parent_rpcs&.respond_to? :delete_deidentify_template
3399
- @delete_deidentify_template = Gapic::Config::Method.new delete_deidentify_template_config
3399
+ @delete_deidentify_template = ::Gapic::Config::Method.new delete_deidentify_template_config
3400
3400
  create_job_trigger_config = parent_rpcs&.create_job_trigger if parent_rpcs&.respond_to? :create_job_trigger
3401
- @create_job_trigger = Gapic::Config::Method.new create_job_trigger_config
3401
+ @create_job_trigger = ::Gapic::Config::Method.new create_job_trigger_config
3402
3402
  update_job_trigger_config = parent_rpcs&.update_job_trigger if parent_rpcs&.respond_to? :update_job_trigger
3403
- @update_job_trigger = Gapic::Config::Method.new update_job_trigger_config
3403
+ @update_job_trigger = ::Gapic::Config::Method.new update_job_trigger_config
3404
3404
  hybrid_inspect_job_trigger_config = parent_rpcs&.hybrid_inspect_job_trigger if parent_rpcs&.respond_to? :hybrid_inspect_job_trigger
3405
- @hybrid_inspect_job_trigger = Gapic::Config::Method.new hybrid_inspect_job_trigger_config
3405
+ @hybrid_inspect_job_trigger = ::Gapic::Config::Method.new hybrid_inspect_job_trigger_config
3406
3406
  get_job_trigger_config = parent_rpcs&.get_job_trigger if parent_rpcs&.respond_to? :get_job_trigger
3407
- @get_job_trigger = Gapic::Config::Method.new get_job_trigger_config
3407
+ @get_job_trigger = ::Gapic::Config::Method.new get_job_trigger_config
3408
3408
  list_job_triggers_config = parent_rpcs&.list_job_triggers if parent_rpcs&.respond_to? :list_job_triggers
3409
- @list_job_triggers = Gapic::Config::Method.new list_job_triggers_config
3409
+ @list_job_triggers = ::Gapic::Config::Method.new list_job_triggers_config
3410
3410
  delete_job_trigger_config = parent_rpcs&.delete_job_trigger if parent_rpcs&.respond_to? :delete_job_trigger
3411
- @delete_job_trigger = Gapic::Config::Method.new delete_job_trigger_config
3411
+ @delete_job_trigger = ::Gapic::Config::Method.new delete_job_trigger_config
3412
3412
  activate_job_trigger_config = parent_rpcs&.activate_job_trigger if parent_rpcs&.respond_to? :activate_job_trigger
3413
- @activate_job_trigger = Gapic::Config::Method.new activate_job_trigger_config
3413
+ @activate_job_trigger = ::Gapic::Config::Method.new activate_job_trigger_config
3414
3414
  create_dlp_job_config = parent_rpcs&.create_dlp_job if parent_rpcs&.respond_to? :create_dlp_job
3415
- @create_dlp_job = Gapic::Config::Method.new create_dlp_job_config
3415
+ @create_dlp_job = ::Gapic::Config::Method.new create_dlp_job_config
3416
3416
  list_dlp_jobs_config = parent_rpcs&.list_dlp_jobs if parent_rpcs&.respond_to? :list_dlp_jobs
3417
- @list_dlp_jobs = Gapic::Config::Method.new list_dlp_jobs_config
3417
+ @list_dlp_jobs = ::Gapic::Config::Method.new list_dlp_jobs_config
3418
3418
  get_dlp_job_config = parent_rpcs&.get_dlp_job if parent_rpcs&.respond_to? :get_dlp_job
3419
- @get_dlp_job = Gapic::Config::Method.new get_dlp_job_config
3419
+ @get_dlp_job = ::Gapic::Config::Method.new get_dlp_job_config
3420
3420
  delete_dlp_job_config = parent_rpcs&.delete_dlp_job if parent_rpcs&.respond_to? :delete_dlp_job
3421
- @delete_dlp_job = Gapic::Config::Method.new delete_dlp_job_config
3421
+ @delete_dlp_job = ::Gapic::Config::Method.new delete_dlp_job_config
3422
3422
  cancel_dlp_job_config = parent_rpcs&.cancel_dlp_job if parent_rpcs&.respond_to? :cancel_dlp_job
3423
- @cancel_dlp_job = Gapic::Config::Method.new cancel_dlp_job_config
3423
+ @cancel_dlp_job = ::Gapic::Config::Method.new cancel_dlp_job_config
3424
3424
  create_stored_info_type_config = parent_rpcs&.create_stored_info_type if parent_rpcs&.respond_to? :create_stored_info_type
3425
- @create_stored_info_type = Gapic::Config::Method.new create_stored_info_type_config
3425
+ @create_stored_info_type = ::Gapic::Config::Method.new create_stored_info_type_config
3426
3426
  update_stored_info_type_config = parent_rpcs&.update_stored_info_type if parent_rpcs&.respond_to? :update_stored_info_type
3427
- @update_stored_info_type = Gapic::Config::Method.new update_stored_info_type_config
3427
+ @update_stored_info_type = ::Gapic::Config::Method.new update_stored_info_type_config
3428
3428
  get_stored_info_type_config = parent_rpcs&.get_stored_info_type if parent_rpcs&.respond_to? :get_stored_info_type
3429
- @get_stored_info_type = Gapic::Config::Method.new get_stored_info_type_config
3429
+ @get_stored_info_type = ::Gapic::Config::Method.new get_stored_info_type_config
3430
3430
  list_stored_info_types_config = parent_rpcs&.list_stored_info_types if parent_rpcs&.respond_to? :list_stored_info_types
3431
- @list_stored_info_types = Gapic::Config::Method.new list_stored_info_types_config
3431
+ @list_stored_info_types = ::Gapic::Config::Method.new list_stored_info_types_config
3432
3432
  delete_stored_info_type_config = parent_rpcs&.delete_stored_info_type if parent_rpcs&.respond_to? :delete_stored_info_type
3433
- @delete_stored_info_type = Gapic::Config::Method.new delete_stored_info_type_config
3433
+ @delete_stored_info_type = ::Gapic::Config::Method.new delete_stored_info_type_config
3434
3434
  hybrid_inspect_dlp_job_config = parent_rpcs&.hybrid_inspect_dlp_job if parent_rpcs&.respond_to? :hybrid_inspect_dlp_job
3435
- @hybrid_inspect_dlp_job = Gapic::Config::Method.new hybrid_inspect_dlp_job_config
3435
+ @hybrid_inspect_dlp_job = ::Gapic::Config::Method.new hybrid_inspect_dlp_job_config
3436
3436
  finish_dlp_job_config = parent_rpcs&.finish_dlp_job if parent_rpcs&.respond_to? :finish_dlp_job
3437
- @finish_dlp_job = Gapic::Config::Method.new finish_dlp_job_config
3437
+ @finish_dlp_job = ::Gapic::Config::Method.new finish_dlp_job_config
3438
3438
 
3439
3439
  yield self if block_given?
3440
3440
  end