google-cloud-dlp-v2 0.4.1 → 0.5.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: 0df3b28f135e29174552cd8e0627499897951497634602930cd020900d0d817f
4
- data.tar.gz: b6150ec06c78b73bc42cd870e89b55aa269abb58df918f0b4729d52bc4195040
3
+ metadata.gz: 4ebe2c7955459a30b2be4026127097e037235f34e6ab761ebe662228a84180e7
4
+ data.tar.gz: ecd8b747af6c77e67a8985f1ba76689a497bc45cc7ef1697d7eb1cdfce36757b
5
5
  SHA512:
6
- metadata.gz: 6bdf11a500189e29068f5ef02c7f27e963fd202d8df1bd6bfff505d3a3d360032e61f1f97738429d3ad09660a094d0520cc29546636bd59bb7c27a1034d87f1e
7
- data.tar.gz: f84d07199c1906fe54a43ba7117e6e65b18f528c25d862f68113a14d19f13257f6fe89f02503ddc71c34064f4223e4c1e6cd089a8b4c946559c38de6d9fd8c70
6
+ metadata.gz: b09e8c7d433f3fb13c1c25ebca5b19dda944a1b8948e51fe3831f2968ba2460baf87cf616d9f79e382fb4346bb8ab2bec9e99fc5670e6e336d0fd033fe8d268c
7
+ data.tar.gz: ea7d1aa8f2af81eebba33df3c5d8a0ef701021aca8fb501ac1b758f03769c6a3837ca6a5b2f640fcee54d4b4dc7dfa5a94ca10f5d0994319a2a7f005b0e8c118
@@ -33,3 +33,6 @@ module Google
33
33
  end
34
34
  end
35
35
  end
36
+
37
+ helper_path = ::File.join __dir__, "v2", "_helpers.rb"
38
+ require "google/cloud/dlp/v2/_helpers" if ::File.file? helper_path
@@ -368,8 +368,21 @@ module Google
368
368
  #
369
369
  # @param parent [::String]
370
370
  # Parent resource name.
371
- # - Format:projects/[PROJECT-ID]
372
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
371
+ #
372
+ # The format of this value varies depending on whether you have [specified a
373
+ # processing
374
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
375
+ #
376
+ # + Projects scope, location specified:<br/>
377
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
378
+ # + Projects scope, no location specified (defaults to global):<br/>
379
+ # `projects/`<var>PROJECT_ID</var>
380
+ #
381
+ # The following example `parent` string specifies a parent project with the
382
+ # identifier `example-project`, and specifies the `europe-west3` location
383
+ # for processing data:
384
+ #
385
+ # parent=projects/example-project/locations/europe-west3
373
386
  # @param inspect_config [::Google::Cloud::Dlp::V2::InspectConfig, ::Hash]
374
387
  # Configuration for the inspector. What specified here will override
375
388
  # the template referenced by the inspect_template_name argument.
@@ -455,9 +468,22 @@ module Google
455
468
  # the default parameter values, pass an empty Hash as a request object (see above).
456
469
  #
457
470
  # @param parent [::String]
458
- # The parent resource name.
459
- # - Format:projects/[PROJECT-ID]
460
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
471
+ # Parent resource name.
472
+ #
473
+ # The format of this value varies depending on whether you have [specified a
474
+ # processing
475
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
476
+ #
477
+ # + Projects scope, location specified:<br/>
478
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
479
+ # + Projects scope, no location specified (defaults to global):<br/>
480
+ # `projects/`<var>PROJECT_ID</var>
481
+ #
482
+ # The following example `parent` string specifies a parent project with the
483
+ # identifier `example-project`, and specifies the `europe-west3` location
484
+ # for processing data:
485
+ #
486
+ # parent=projects/example-project/locations/europe-west3
461
487
  # @param location_id [::String]
462
488
  # Deprecated. This field has no effect.
463
489
  # @param inspect_config [::Google::Cloud::Dlp::V2::InspectConfig, ::Hash]
@@ -542,8 +568,21 @@ module Google
542
568
  #
543
569
  # @param parent [::String]
544
570
  # Parent resource name.
545
- # - Format:projects/[PROJECT-ID]
546
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
571
+ #
572
+ # The format of this value varies depending on whether you have [specified a
573
+ # processing
574
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
575
+ #
576
+ # + Projects scope, location specified:<br/>
577
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
578
+ # + Projects scope, no location specified (defaults to global):<br/>
579
+ # `projects/`<var>PROJECT_ID</var>
580
+ #
581
+ # The following example `parent` string specifies a parent project with the
582
+ # identifier `example-project`, and specifies the `europe-west3` location
583
+ # for processing data:
584
+ #
585
+ # parent=projects/example-project/locations/europe-west3
547
586
  # @param deidentify_config [::Google::Cloud::Dlp::V2::DeidentifyConfig, ::Hash]
548
587
  # Configuration for the de-identification of the content item.
549
588
  # Items specified here will override the template referenced by the
@@ -636,9 +675,22 @@ module Google
636
675
  # the default parameter values, pass an empty Hash as a request object (see above).
637
676
  #
638
677
  # @param parent [::String]
639
- # Required. The parent resource name.
640
- # - Format:projects/[PROJECT-ID]
641
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
678
+ # Required. Parent resource name.
679
+ #
680
+ # The format of this value varies depending on whether you have [specified a
681
+ # processing
682
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
683
+ #
684
+ # + Projects scope, location specified:<br/>
685
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
686
+ # + Projects scope, no location specified (defaults to global):<br/>
687
+ # `projects/`<var>PROJECT_ID</var>
688
+ #
689
+ # The following example `parent` string specifies a parent project with the
690
+ # identifier `example-project`, and specifies the `europe-west3` location
691
+ # for processing data:
692
+ #
693
+ # parent=projects/example-project/locations/europe-west3
642
694
  # @param reidentify_config [::Google::Cloud::Dlp::V2::DeidentifyConfig, ::Hash]
643
695
  # Configuration for the re-identification of the content item.
644
696
  # This field shares the same proto message type that is used for
@@ -663,10 +715,11 @@ module Google
663
715
  # @param reidentify_template_name [::String]
664
716
  # Template to use. References an instance of `DeidentifyTemplate`.
665
717
  # Any configuration directly specified in `reidentify_config` or
666
- # `inspect_config` will override those set in the template. Singular fields
667
- # that are set in this request will replace their corresponding fields in the
668
- # template. Repeated fields are appended. Singular sub-messages and groups
669
- # are recursively merged.
718
+ # `inspect_config` will override those set in the template. The
719
+ # `DeidentifyTemplate` used must include only reversible transformations.
720
+ # Singular fields that are set in this request will replace their
721
+ # corresponding fields in the template. Repeated fields are appended.
722
+ # Singular sub-messages and groups are recursively merged.
670
723
  # @param location_id [::String]
671
724
  # Deprecated. This field has no effect.
672
725
  #
@@ -737,7 +790,10 @@ module Google
737
790
  #
738
791
  # @param parent [::String]
739
792
  # The parent resource name.
740
- # - Format:locations/[LOCATION-ID]
793
+ #
794
+ # The format of this value is as follows:
795
+ #
796
+ # locations/<var>LOCATION_ID</var>
741
797
  # @param language_code [::String]
742
798
  # BCP-47 language code for localized infoType friendly
743
799
  # names. If omitted, or if localized strings are not available,
@@ -809,16 +865,31 @@ module Google
809
865
  #
810
866
  # @param parent [::String]
811
867
  # Required. Parent resource name.
812
- # - Format:projects/[PROJECT-ID]
813
- # - Format:organizations/[ORGANIZATION-ID]
814
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
815
- # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
868
+ #
869
+ # The format of this value varies depending on the scope of the request
870
+ # (project or organization) and whether you have [specified a processing
871
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
872
+ #
873
+ # + Projects scope, location specified:<br/>
874
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
875
+ # + Projects scope, no location specified (defaults to global):<br/>
876
+ # `projects/`<var>PROJECT_ID</var>
877
+ # + Organizations scope, location specified:<br/>
878
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
879
+ # + Organizations scope, no location specified (defaults to global):<br/>
880
+ # `organizations/`<var>ORG_ID</var>
881
+ #
882
+ # The following example `parent` string specifies a parent project with the
883
+ # identifier `example-project`, and specifies the `europe-west3` location
884
+ # for processing data:
885
+ #
886
+ # parent=projects/example-project/locations/europe-west3
816
887
  # @param inspect_template [::Google::Cloud::Dlp::V2::InspectTemplate, ::Hash]
817
888
  # Required. The InspectTemplate to create.
818
889
  # @param template_id [::String]
819
890
  # The template id can contain uppercase and lowercase letters,
820
891
  # numbers, and hyphens; that is, it must match the regular
821
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
892
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
822
893
  # characters. Can be empty to allow the system to generate one.
823
894
  # @param location_id [::String]
824
895
  # Deprecated. This field has no effect.
@@ -1031,10 +1102,25 @@ module Google
1031
1102
  #
1032
1103
  # @param parent [::String]
1033
1104
  # Required. Parent resource name.
1034
- # - Format:projects/[PROJECT-ID]
1035
- # - Format:organizations/[ORGANIZATION-ID]
1036
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1037
- # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
1105
+ #
1106
+ # The format of this value varies depending on the scope of the request
1107
+ # (project or organization) and whether you have [specified a processing
1108
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
1109
+ #
1110
+ # + Projects scope, location specified:<br/>
1111
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
1112
+ # + Projects scope, no location specified (defaults to global):<br/>
1113
+ # `projects/`<var>PROJECT_ID</var>
1114
+ # + Organizations scope, location specified:<br/>
1115
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
1116
+ # + Organizations scope, no location specified (defaults to global):<br/>
1117
+ # `organizations/`<var>ORG_ID</var>
1118
+ #
1119
+ # The following example `parent` string specifies a parent project with the
1120
+ # identifier `example-project`, and specifies the `europe-west3` location
1121
+ # for processing data:
1122
+ #
1123
+ # parent=projects/example-project/locations/europe-west3
1038
1124
  # @param page_token [::String]
1039
1125
  # Page token to continue retrieval. Comes from previous call
1040
1126
  # to `ListInspectTemplates`.
@@ -1196,16 +1282,31 @@ module Google
1196
1282
  #
1197
1283
  # @param parent [::String]
1198
1284
  # Required. Parent resource name.
1199
- # - Format:projects/[PROJECT-ID]
1200
- # - Format:organizations/[ORGANIZATION-ID]
1201
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1202
- # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
1285
+ #
1286
+ # The format of this value varies depending on the scope of the request
1287
+ # (project or organization) and whether you have [specified a processing
1288
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
1289
+ #
1290
+ # + Projects scope, location specified:<br/>
1291
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
1292
+ # + Projects scope, no location specified (defaults to global):<br/>
1293
+ # `projects/`<var>PROJECT_ID</var>
1294
+ # + Organizations scope, location specified:<br/>
1295
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
1296
+ # + Organizations scope, no location specified (defaults to global):<br/>
1297
+ # `organizations/`<var>ORG_ID</var>
1298
+ #
1299
+ # The following example `parent` string specifies a parent project with the
1300
+ # identifier `example-project`, and specifies the `europe-west3` location
1301
+ # for processing data:
1302
+ #
1303
+ # parent=projects/example-project/locations/europe-west3
1203
1304
  # @param deidentify_template [::Google::Cloud::Dlp::V2::DeidentifyTemplate, ::Hash]
1204
1305
  # Required. The DeidentifyTemplate to create.
1205
1306
  # @param template_id [::String]
1206
1307
  # The template id can contain uppercase and lowercase letters,
1207
1308
  # numbers, and hyphens; that is, it must match the regular
1208
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
1309
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
1209
1310
  # characters. Can be empty to allow the system to generate one.
1210
1311
  # @param location_id [::String]
1211
1312
  # Deprecated. This field has no effect.
@@ -1421,10 +1522,25 @@ module Google
1421
1522
  #
1422
1523
  # @param parent [::String]
1423
1524
  # Required. Parent resource name.
1424
- # - Format:projects/[PROJECT-ID]
1425
- # - Format:organizations/[ORGANIZATION-ID]
1426
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1427
- # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
1525
+ #
1526
+ # The format of this value varies depending on the scope of the request
1527
+ # (project or organization) and whether you have [specified a processing
1528
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
1529
+ #
1530
+ # + Projects scope, location specified:<br/>
1531
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
1532
+ # + Projects scope, no location specified (defaults to global):<br/>
1533
+ # `projects/`<var>PROJECT_ID</var>
1534
+ # + Organizations scope, location specified:<br/>
1535
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
1536
+ # + Organizations scope, no location specified (defaults to global):<br/>
1537
+ # `organizations/`<var>ORG_ID</var>
1538
+ #
1539
+ # The following example `parent` string specifies a parent project with the
1540
+ # identifier `example-project`, and specifies the `europe-west3` location
1541
+ # for processing data:
1542
+ #
1543
+ # parent=projects/example-project/locations/europe-west3
1428
1544
  # @param page_token [::String]
1429
1545
  # Page token to continue retrieval. Comes from previous call
1430
1546
  # to `ListDeidentifyTemplates`.
@@ -1586,14 +1702,27 @@ module Google
1586
1702
  #
1587
1703
  # @param parent [::String]
1588
1704
  # Required. Parent resource name.
1589
- # - Format:projects/[PROJECT-ID]
1590
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1705
+ #
1706
+ # The format of this value varies depending on whether you have [specified a
1707
+ # processing
1708
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
1709
+ #
1710
+ # + Projects scope, location specified:<br/>
1711
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
1712
+ # + Projects scope, no location specified (defaults to global):<br/>
1713
+ # `projects/`<var>PROJECT_ID</var>
1714
+ #
1715
+ # The following example `parent` string specifies a parent project with the
1716
+ # identifier `example-project`, and specifies the `europe-west3` location
1717
+ # for processing data:
1718
+ #
1719
+ # parent=projects/example-project/locations/europe-west3
1591
1720
  # @param job_trigger [::Google::Cloud::Dlp::V2::JobTrigger, ::Hash]
1592
1721
  # Required. The JobTrigger to create.
1593
1722
  # @param trigger_id [::String]
1594
1723
  # The trigger id can contain uppercase and lowercase letters,
1595
1724
  # numbers, and hyphens; that is, it must match the regular
1596
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
1725
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
1597
1726
  # characters. Can be empty to allow the system to generate one.
1598
1727
  # @param location_id [::String]
1599
1728
  # Deprecated. This field has no effect.
@@ -1878,8 +2007,21 @@ module Google
1878
2007
  #
1879
2008
  # @param parent [::String]
1880
2009
  # Required. Parent resource name.
1881
- # - Format:projects/[PROJECT-ID]
1882
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2010
+ #
2011
+ # The format of this value varies depending on whether you have [specified a
2012
+ # processing
2013
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2014
+ #
2015
+ # + Projects scope, location specified:<br/>
2016
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2017
+ # + Projects scope, no location specified (defaults to global):<br/>
2018
+ # `projects/`<var>PROJECT_ID</var>
2019
+ #
2020
+ # The following example `parent` string specifies a parent project with the
2021
+ # identifier `example-project`, and specifies the `europe-west3` location
2022
+ # for processing data:
2023
+ #
2024
+ # parent=projects/example-project/locations/europe-west3
1883
2025
  # @param page_token [::String]
1884
2026
  # Page token to continue retrieval. Comes from previous call
1885
2027
  # to ListJobTriggers. `order_by` field must not
@@ -2138,8 +2280,21 @@ module Google
2138
2280
  #
2139
2281
  # @param parent [::String]
2140
2282
  # Required. Parent resource name.
2141
- # - Format:projects/[PROJECT-ID]
2142
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2283
+ #
2284
+ # The format of this value varies depending on whether you have [specified a
2285
+ # processing
2286
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2287
+ #
2288
+ # + Projects scope, location specified:<br/>
2289
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2290
+ # + Projects scope, no location specified (defaults to global):<br/>
2291
+ # `projects/`<var>PROJECT_ID</var>
2292
+ #
2293
+ # The following example `parent` string specifies a parent project with the
2294
+ # identifier `example-project`, and specifies the `europe-west3` location
2295
+ # for processing data:
2296
+ #
2297
+ # parent=projects/example-project/locations/europe-west3
2143
2298
  # @param inspect_job [::Google::Cloud::Dlp::V2::InspectJobConfig, ::Hash]
2144
2299
  # Set to control what and how to inspect.
2145
2300
  # @param risk_job [::Google::Cloud::Dlp::V2::RiskAnalysisJobConfig, ::Hash]
@@ -2147,7 +2302,7 @@ module Google
2147
2302
  # @param job_id [::String]
2148
2303
  # The job id can contain uppercase and lowercase letters,
2149
2304
  # numbers, and hyphens; that is, it must match the regular
2150
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
2305
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
2151
2306
  # characters. Can be empty to allow the system to generate one.
2152
2307
  # @param location_id [::String]
2153
2308
  # Deprecated. This field has no effect.
@@ -2219,8 +2374,21 @@ module Google
2219
2374
  #
2220
2375
  # @param parent [::String]
2221
2376
  # Required. Parent resource name.
2222
- # - Format:projects/[PROJECT-ID]
2223
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2377
+ #
2378
+ # The format of this value varies depending on whether you have [specified a
2379
+ # processing
2380
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2381
+ #
2382
+ # + Projects scope, location specified:<br/>
2383
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2384
+ # + Projects scope, no location specified (defaults to global):<br/>
2385
+ # `projects/`<var>PROJECT_ID</var>
2386
+ #
2387
+ # The following example `parent` string specifies a parent project with the
2388
+ # identifier `example-project`, and specifies the `europe-west3` location
2389
+ # for processing data:
2390
+ #
2391
+ # parent=projects/example-project/locations/europe-west3
2224
2392
  # @param filter [::String]
2225
2393
  # Allows filtering.
2226
2394
  #
@@ -2549,16 +2717,31 @@ module Google
2549
2717
  #
2550
2718
  # @param parent [::String]
2551
2719
  # Required. Parent resource name.
2552
- # - Format:projects/[PROJECT-ID]
2553
- # - Format:organizations/[ORGANIZATION-ID]
2554
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2555
- # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
2720
+ #
2721
+ # The format of this value varies depending on the scope of the request
2722
+ # (project or organization) and whether you have [specified a processing
2723
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2724
+ #
2725
+ # + Projects scope, location specified:<br/>
2726
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2727
+ # + Projects scope, no location specified (defaults to global):<br/>
2728
+ # `projects/`<var>PROJECT_ID</var>
2729
+ # + Organizations scope, location specified:<br/>
2730
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
2731
+ # + Organizations scope, no location specified (defaults to global):<br/>
2732
+ # `organizations/`<var>ORG_ID</var>
2733
+ #
2734
+ # The following example `parent` string specifies a parent project with the
2735
+ # identifier `example-project`, and specifies the `europe-west3` location
2736
+ # for processing data:
2737
+ #
2738
+ # parent=projects/example-project/locations/europe-west3
2556
2739
  # @param config [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig, ::Hash]
2557
2740
  # Required. Configuration of the storedInfoType to create.
2558
2741
  # @param stored_info_type_id [::String]
2559
2742
  # The storedInfoType ID can contain uppercase and lowercase letters,
2560
2743
  # numbers, and hyphens; that is, it must match the regular
2561
- # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
2744
+ # expression: `[a-zA-Z\d-_]+`. The maximum length is 100
2562
2745
  # characters. Can be empty to allow the system to generate one.
2563
2746
  # @param location_id [::String]
2564
2747
  # Deprecated. This field has no effect.
@@ -2777,10 +2960,25 @@ module Google
2777
2960
  #
2778
2961
  # @param parent [::String]
2779
2962
  # Required. Parent resource name.
2780
- # - Format:projects/[PROJECT-ID]
2781
- # - Format:organizations/[ORGANIZATION-ID]
2782
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2783
- # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
2963
+ #
2964
+ # The format of this value varies depending on the scope of the request
2965
+ # (project or organization) and whether you have [specified a processing
2966
+ # location](https://cloud.google.com/dlp/docs/specifying-location):
2967
+ #
2968
+ # + Projects scope, location specified:<br/>
2969
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2970
+ # + Projects scope, no location specified (defaults to global):<br/>
2971
+ # `projects/`<var>PROJECT_ID</var>
2972
+ # + Organizations scope, location specified:<br/>
2973
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
2974
+ # + Organizations scope, no location specified (defaults to global):<br/>
2975
+ # `organizations/`<var>ORG_ID</var>
2976
+ #
2977
+ # The following example `parent` string specifies a parent project with the
2978
+ # identifier `example-project`, and specifies the `europe-west3` location
2979
+ # for processing data:
2980
+ #
2981
+ # parent=projects/example-project/locations/europe-west3
2784
2982
  # @param page_token [::String]
2785
2983
  # Page token to continue retrieval. Comes from previous call
2786
2984
  # to `ListStoredInfoTypes`.
@@ -3150,7 +3348,7 @@ module Google
3150
3348
 
3151
3349
  config_attr :endpoint, "dlp.googleapis.com", ::String
3152
3350
  config_attr :credentials, nil do |value|
3153
- allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3351
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3154
3352
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
3155
3353
  allowed.any? { |klass| klass === value }
3156
3354
  end
@@ -3190,7 +3388,7 @@ module Google
3190
3388
  # Each configuration object is of type `Gapic::Config::Method` and includes
3191
3389
  # the following configuration fields:
3192
3390
  #
3193
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
3391
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
3194
3392
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
3195
3393
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
3196
3394
  # include the following keys: