google-cloud-dlp-v2 0.4.2 → 0.4.3

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: 7253887dacebc8f2315ffbc3189e78b50a10f670737719ba390fba3a00c492d2
4
- data.tar.gz: d1b989d31f3dad4314d380d0a878ef39e767c256742fb8a8aef12808d438d514
3
+ metadata.gz: c442dfa4c79234288f3a3a5dea9eedeb9c2ae129a0cf0f38b9e32091a234e66b
4
+ data.tar.gz: 48a3361f8b5ee95b6818261c11490c85b21e602ce4a3956861aa893121df5be5
5
5
  SHA512:
6
- metadata.gz: 39890c398b458a6c3430ad538275cc7fd72cb43d30a526b5d2248f472d34a453b302b0396e58d4c8bcb8929ea4706608fd2216eb5137c949029078853072a936
7
- data.tar.gz: 9697fa95e2b199eb464de747f5d9421b1f1e4dd375136eda6596490b8a5171f1b118e4a60736c2e235560c53e7c187b8a860ed798dc512b639376d23420b8b60
6
+ metadata.gz: 5c9eecb41e377b9b6740ec13a22b5c671594e050aeaf12c9ded0532191d9e47885e76492ca40b28db437898b5a2b0e94a8987d61d526fbe819c70ae92be40e51
7
+ data.tar.gz: f61f24f342f8bb89be2497716b46fbfb6cd385b197c1eb47b3218d29ecf0f8e838e8123921d911c93e031ee75454b6e4492d767455ed8e94b9a2d392276c329f
@@ -368,8 +368,20 @@ 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 location](/dlp/docs/specifying-location):
374
+ #
375
+ # + Projects scope, location specified:<br/>
376
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
377
+ # + Projects scope, no location specified (defaults to global):<br/>
378
+ # `projects/`<var>PROJECT_ID</var>
379
+ #
380
+ # The following example `parent` string specifies a parent project with the
381
+ # identifier `example-project`, and specifies the `europe-west3` location
382
+ # for processing data:
383
+ #
384
+ # parent=projects/example-project/locations/europe-west3
373
385
  # @param inspect_config [::Google::Cloud::Dlp::V2::InspectConfig, ::Hash]
374
386
  # Configuration for the inspector. What specified here will override
375
387
  # the template referenced by the inspect_template_name argument.
@@ -455,9 +467,21 @@ module Google
455
467
  # the default parameter values, pass an empty Hash as a request object (see above).
456
468
  #
457
469
  # @param parent [::String]
458
- # The parent resource name.
459
- # - Format:projects/[PROJECT-ID]
460
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
470
+ # Parent resource name.
471
+ #
472
+ # The format of this value varies depending on whether you have [specified a
473
+ # processing location](/dlp/docs/specifying-location):
474
+ #
475
+ # + Projects scope, location specified:<br/>
476
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
477
+ # + Projects scope, no location specified (defaults to global):<br/>
478
+ # `projects/`<var>PROJECT_ID</var>
479
+ #
480
+ # The following example `parent` string specifies a parent project with the
481
+ # identifier `example-project`, and specifies the `europe-west3` location
482
+ # for processing data:
483
+ #
484
+ # parent=projects/example-project/locations/europe-west3
461
485
  # @param location_id [::String]
462
486
  # Deprecated. This field has no effect.
463
487
  # @param inspect_config [::Google::Cloud::Dlp::V2::InspectConfig, ::Hash]
@@ -542,8 +566,20 @@ module Google
542
566
  #
543
567
  # @param parent [::String]
544
568
  # Parent resource name.
545
- # - Format:projects/[PROJECT-ID]
546
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
569
+ #
570
+ # The format of this value varies depending on whether you have [specified a
571
+ # processing location](/dlp/docs/specifying-location):
572
+ #
573
+ # + Projects scope, location specified:<br/>
574
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
575
+ # + Projects scope, no location specified (defaults to global):<br/>
576
+ # `projects/`<var>PROJECT_ID</var>
577
+ #
578
+ # The following example `parent` string specifies a parent project with the
579
+ # identifier `example-project`, and specifies the `europe-west3` location
580
+ # for processing data:
581
+ #
582
+ # parent=projects/example-project/locations/europe-west3
547
583
  # @param deidentify_config [::Google::Cloud::Dlp::V2::DeidentifyConfig, ::Hash]
548
584
  # Configuration for the de-identification of the content item.
549
585
  # Items specified here will override the template referenced by the
@@ -636,9 +672,21 @@ module Google
636
672
  # the default parameter values, pass an empty Hash as a request object (see above).
637
673
  #
638
674
  # @param parent [::String]
639
- # Required. The parent resource name.
640
- # - Format:projects/[PROJECT-ID]
641
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
675
+ # Required. Parent resource name.
676
+ #
677
+ # The format of this value varies depending on whether you have [specified a
678
+ # processing location](/dlp/docs/specifying-location):
679
+ #
680
+ # + Projects scope, location specified:<br/>
681
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
682
+ # + Projects scope, no location specified (defaults to global):<br/>
683
+ # `projects/`<var>PROJECT_ID</var>
684
+ #
685
+ # The following example `parent` string specifies a parent project with the
686
+ # identifier `example-project`, and specifies the `europe-west3` location
687
+ # for processing data:
688
+ #
689
+ # parent=projects/example-project/locations/europe-west3
642
690
  # @param reidentify_config [::Google::Cloud::Dlp::V2::DeidentifyConfig, ::Hash]
643
691
  # Configuration for the re-identification of the content item.
644
692
  # This field shares the same proto message type that is used for
@@ -663,10 +711,11 @@ module Google
663
711
  # @param reidentify_template_name [::String]
664
712
  # Template to use. References an instance of `DeidentifyTemplate`.
665
713
  # 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.
714
+ # `inspect_config` will override those set in the template. The
715
+ # `DeidentifyTemplate` used must include only reversible transformations.
716
+ # Singular fields that are set in this request will replace their
717
+ # corresponding fields in the template. Repeated fields are appended.
718
+ # Singular sub-messages and groups are recursively merged.
670
719
  # @param location_id [::String]
671
720
  # Deprecated. This field has no effect.
672
721
  #
@@ -737,7 +786,10 @@ module Google
737
786
  #
738
787
  # @param parent [::String]
739
788
  # The parent resource name.
740
- # - Format:locations/[LOCATION-ID]
789
+ #
790
+ # The format of this value is as follows:
791
+ #
792
+ # locations/<var>LOCATION_ID</var>
741
793
  # @param language_code [::String]
742
794
  # BCP-47 language code for localized infoType friendly
743
795
  # names. If omitted, or if localized strings are not available,
@@ -809,10 +861,25 @@ module Google
809
861
  #
810
862
  # @param parent [::String]
811
863
  # 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]
864
+ #
865
+ # The format of this value varies depending on the scope of the request
866
+ # (project or organization) and whether you have [specified a processing
867
+ # location](/dlp/docs/specifying-location):
868
+ #
869
+ # + Projects scope, location specified:<br/>
870
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
871
+ # + Projects scope, no location specified (defaults to global):<br/>
872
+ # `projects/`<var>PROJECT_ID</var>
873
+ # + Organizations scope, location specified:<br/>
874
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
875
+ # + Organizations scope, no location specified (defaults to global):<br/>
876
+ # `organizations/`<var>ORG_ID</var>
877
+ #
878
+ # The following example `parent` string specifies a parent project with the
879
+ # identifier `example-project`, and specifies the `europe-west3` location
880
+ # for processing data:
881
+ #
882
+ # parent=projects/example-project/locations/europe-west3
816
883
  # @param inspect_template [::Google::Cloud::Dlp::V2::InspectTemplate, ::Hash]
817
884
  # Required. The InspectTemplate to create.
818
885
  # @param template_id [::String]
@@ -1031,10 +1098,25 @@ module Google
1031
1098
  #
1032
1099
  # @param parent [::String]
1033
1100
  # 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]
1101
+ #
1102
+ # The format of this value varies depending on the scope of the request
1103
+ # (project or organization) and whether you have [specified a processing
1104
+ # location](/dlp/docs/specifying-location):
1105
+ #
1106
+ # + Projects scope, location specified:<br/>
1107
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
1108
+ # + Projects scope, no location specified (defaults to global):<br/>
1109
+ # `projects/`<var>PROJECT_ID</var>
1110
+ # + Organizations scope, location specified:<br/>
1111
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
1112
+ # + Organizations scope, no location specified (defaults to global):<br/>
1113
+ # `organizations/`<var>ORG_ID</var>
1114
+ #
1115
+ # The following example `parent` string specifies a parent project with the
1116
+ # identifier `example-project`, and specifies the `europe-west3` location
1117
+ # for processing data:
1118
+ #
1119
+ # parent=projects/example-project/locations/europe-west3
1038
1120
  # @param page_token [::String]
1039
1121
  # Page token to continue retrieval. Comes from previous call
1040
1122
  # to `ListInspectTemplates`.
@@ -1196,10 +1278,25 @@ module Google
1196
1278
  #
1197
1279
  # @param parent [::String]
1198
1280
  # 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]
1281
+ #
1282
+ # The format of this value varies depending on the scope of the request
1283
+ # (project or organization) and whether you have [specified a processing
1284
+ # location](/dlp/docs/specifying-location):
1285
+ #
1286
+ # + Projects scope, location specified:<br/>
1287
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
1288
+ # + Projects scope, no location specified (defaults to global):<br/>
1289
+ # `projects/`<var>PROJECT_ID</var>
1290
+ # + Organizations scope, location specified:<br/>
1291
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
1292
+ # + Organizations scope, no location specified (defaults to global):<br/>
1293
+ # `organizations/`<var>ORG_ID</var>
1294
+ #
1295
+ # The following example `parent` string specifies a parent project with the
1296
+ # identifier `example-project`, and specifies the `europe-west3` location
1297
+ # for processing data:
1298
+ #
1299
+ # parent=projects/example-project/locations/europe-west3
1203
1300
  # @param deidentify_template [::Google::Cloud::Dlp::V2::DeidentifyTemplate, ::Hash]
1204
1301
  # Required. The DeidentifyTemplate to create.
1205
1302
  # @param template_id [::String]
@@ -1421,10 +1518,25 @@ module Google
1421
1518
  #
1422
1519
  # @param parent [::String]
1423
1520
  # 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]
1521
+ #
1522
+ # The format of this value varies depending on the scope of the request
1523
+ # (project or organization) and whether you have [specified a processing
1524
+ # location](/dlp/docs/specifying-location):
1525
+ #
1526
+ # + Projects scope, location specified:<br/>
1527
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
1528
+ # + Projects scope, no location specified (defaults to global):<br/>
1529
+ # `projects/`<var>PROJECT_ID</var>
1530
+ # + Organizations scope, location specified:<br/>
1531
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
1532
+ # + Organizations scope, no location specified (defaults to global):<br/>
1533
+ # `organizations/`<var>ORG_ID</var>
1534
+ #
1535
+ # The following example `parent` string specifies a parent project with the
1536
+ # identifier `example-project`, and specifies the `europe-west3` location
1537
+ # for processing data:
1538
+ #
1539
+ # parent=projects/example-project/locations/europe-west3
1428
1540
  # @param page_token [::String]
1429
1541
  # Page token to continue retrieval. Comes from previous call
1430
1542
  # to `ListDeidentifyTemplates`.
@@ -1586,8 +1698,20 @@ module Google
1586
1698
  #
1587
1699
  # @param parent [::String]
1588
1700
  # Required. Parent resource name.
1589
- # - Format:projects/[PROJECT-ID]
1590
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1701
+ #
1702
+ # The format of this value varies depending on whether you have [specified a
1703
+ # processing location](/dlp/docs/specifying-location):
1704
+ #
1705
+ # + Projects scope, location specified:<br/>
1706
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
1707
+ # + Projects scope, no location specified (defaults to global):<br/>
1708
+ # `projects/`<var>PROJECT_ID</var>
1709
+ #
1710
+ # The following example `parent` string specifies a parent project with the
1711
+ # identifier `example-project`, and specifies the `europe-west3` location
1712
+ # for processing data:
1713
+ #
1714
+ # parent=projects/example-project/locations/europe-west3
1591
1715
  # @param job_trigger [::Google::Cloud::Dlp::V2::JobTrigger, ::Hash]
1592
1716
  # Required. The JobTrigger to create.
1593
1717
  # @param trigger_id [::String]
@@ -1878,8 +2002,20 @@ module Google
1878
2002
  #
1879
2003
  # @param parent [::String]
1880
2004
  # Required. Parent resource name.
1881
- # - Format:projects/[PROJECT-ID]
1882
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2005
+ #
2006
+ # The format of this value varies depending on whether you have [specified a
2007
+ # processing location](/dlp/docs/specifying-location):
2008
+ #
2009
+ # + Projects scope, location specified:<br/>
2010
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2011
+ # + Projects scope, no location specified (defaults to global):<br/>
2012
+ # `projects/`<var>PROJECT_ID</var>
2013
+ #
2014
+ # The following example `parent` string specifies a parent project with the
2015
+ # identifier `example-project`, and specifies the `europe-west3` location
2016
+ # for processing data:
2017
+ #
2018
+ # parent=projects/example-project/locations/europe-west3
1883
2019
  # @param page_token [::String]
1884
2020
  # Page token to continue retrieval. Comes from previous call
1885
2021
  # to ListJobTriggers. `order_by` field must not
@@ -2138,8 +2274,20 @@ module Google
2138
2274
  #
2139
2275
  # @param parent [::String]
2140
2276
  # Required. Parent resource name.
2141
- # - Format:projects/[PROJECT-ID]
2142
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2277
+ #
2278
+ # The format of this value varies depending on whether you have [specified a
2279
+ # processing location](/dlp/docs/specifying-location):
2280
+ #
2281
+ # + Projects scope, location specified:<br/>
2282
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2283
+ # + Projects scope, no location specified (defaults to global):<br/>
2284
+ # `projects/`<var>PROJECT_ID</var>
2285
+ #
2286
+ # The following example `parent` string specifies a parent project with the
2287
+ # identifier `example-project`, and specifies the `europe-west3` location
2288
+ # for processing data:
2289
+ #
2290
+ # parent=projects/example-project/locations/europe-west3
2143
2291
  # @param inspect_job [::Google::Cloud::Dlp::V2::InspectJobConfig, ::Hash]
2144
2292
  # Set to control what and how to inspect.
2145
2293
  # @param risk_job [::Google::Cloud::Dlp::V2::RiskAnalysisJobConfig, ::Hash]
@@ -2219,8 +2367,20 @@ module Google
2219
2367
  #
2220
2368
  # @param parent [::String]
2221
2369
  # Required. Parent resource name.
2222
- # - Format:projects/[PROJECT-ID]
2223
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2370
+ #
2371
+ # The format of this value varies depending on whether you have [specified a
2372
+ # processing location](/dlp/docs/specifying-location):
2373
+ #
2374
+ # + Projects scope, location specified:<br/>
2375
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2376
+ # + Projects scope, no location specified (defaults to global):<br/>
2377
+ # `projects/`<var>PROJECT_ID</var>
2378
+ #
2379
+ # The following example `parent` string specifies a parent project with the
2380
+ # identifier `example-project`, and specifies the `europe-west3` location
2381
+ # for processing data:
2382
+ #
2383
+ # parent=projects/example-project/locations/europe-west3
2224
2384
  # @param filter [::String]
2225
2385
  # Allows filtering.
2226
2386
  #
@@ -2549,10 +2709,25 @@ module Google
2549
2709
  #
2550
2710
  # @param parent [::String]
2551
2711
  # 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]
2712
+ #
2713
+ # The format of this value varies depending on the scope of the request
2714
+ # (project or organization) and whether you have [specified a processing
2715
+ # location](/dlp/docs/specifying-location):
2716
+ #
2717
+ # + Projects scope, location specified:<br/>
2718
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2719
+ # + Projects scope, no location specified (defaults to global):<br/>
2720
+ # `projects/`<var>PROJECT_ID</var>
2721
+ # + Organizations scope, location specified:<br/>
2722
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
2723
+ # + Organizations scope, no location specified (defaults to global):<br/>
2724
+ # `organizations/`<var>ORG_ID</var>
2725
+ #
2726
+ # The following example `parent` string specifies a parent project with the
2727
+ # identifier `example-project`, and specifies the `europe-west3` location
2728
+ # for processing data:
2729
+ #
2730
+ # parent=projects/example-project/locations/europe-west3
2556
2731
  # @param config [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig, ::Hash]
2557
2732
  # Required. Configuration of the storedInfoType to create.
2558
2733
  # @param stored_info_type_id [::String]
@@ -2777,10 +2952,25 @@ module Google
2777
2952
  #
2778
2953
  # @param parent [::String]
2779
2954
  # 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]
2955
+ #
2956
+ # The format of this value varies depending on the scope of the request
2957
+ # (project or organization) and whether you have [specified a processing
2958
+ # location](/dlp/docs/specifying-location):
2959
+ #
2960
+ # + Projects scope, location specified:<br/>
2961
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2962
+ # + Projects scope, no location specified (defaults to global):<br/>
2963
+ # `projects/`<var>PROJECT_ID</var>
2964
+ # + Organizations scope, location specified:<br/>
2965
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
2966
+ # + Organizations scope, no location specified (defaults to global):<br/>
2967
+ # `organizations/`<var>ORG_ID</var>
2968
+ #
2969
+ # The following example `parent` string specifies a parent project with the
2970
+ # identifier `example-project`, and specifies the `europe-west3` location
2971
+ # for processing data:
2972
+ #
2973
+ # parent=projects/example-project/locations/europe-west3
2784
2974
  # @param page_token [::String]
2785
2975
  # Page token to continue retrieval. Comes from previous call
2786
2976
  # to `ListStoredInfoTypes`.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dlp
23
23
  module V2
24
- VERSION = "0.4.2"
24
+ VERSION = "0.4.3"
25
25
  end
26
26
  end
27
27
  end
@@ -561,9 +561,21 @@ module Google
561
561
  # by covering it with a colored rectangle.
562
562
  # @!attribute [rw] parent
563
563
  # @return [::String]
564
- # The parent resource name.
565
- # - Format:projects/[PROJECT-ID]
566
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
564
+ # Parent resource name.
565
+ #
566
+ # The format of this value varies depending on whether you have [specified a
567
+ # processing location](/dlp/docs/specifying-location):
568
+ #
569
+ # + Projects scope, location specified:<br/>
570
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
571
+ # + Projects scope, no location specified (defaults to global):<br/>
572
+ # `projects/`<var>PROJECT_ID</var>
573
+ #
574
+ # The following example `parent` string specifies a parent project with the
575
+ # identifier `example-project`, and specifies the `europe-west3` location
576
+ # for processing data:
577
+ #
578
+ # parent=projects/example-project/locations/europe-west3
567
579
  # @!attribute [rw] location_id
568
580
  # @return [::String]
569
581
  # Deprecated. This field has no effect.
@@ -641,8 +653,20 @@ module Google
641
653
  # @!attribute [rw] parent
642
654
  # @return [::String]
643
655
  # Parent resource name.
644
- # - Format:projects/[PROJECT-ID]
645
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
656
+ #
657
+ # The format of this value varies depending on whether you have [specified a
658
+ # processing location](/dlp/docs/specifying-location):
659
+ #
660
+ # + Projects scope, location specified:<br/>
661
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
662
+ # + Projects scope, no location specified (defaults to global):<br/>
663
+ # `projects/`<var>PROJECT_ID</var>
664
+ #
665
+ # The following example `parent` string specifies a parent project with the
666
+ # identifier `example-project`, and specifies the `europe-west3` location
667
+ # for processing data:
668
+ #
669
+ # parent=projects/example-project/locations/europe-west3
646
670
  # @!attribute [rw] deidentify_config
647
671
  # @return [::Google::Cloud::Dlp::V2::DeidentifyConfig]
648
672
  # Configuration for the de-identification of the content item.
@@ -693,9 +717,21 @@ module Google
693
717
  # Request to re-identify an item.
694
718
  # @!attribute [rw] parent
695
719
  # @return [::String]
696
- # Required. The parent resource name.
697
- # - Format:projects/[PROJECT-ID]
698
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
720
+ # Required. Parent resource name.
721
+ #
722
+ # The format of this value varies depending on whether you have [specified a
723
+ # processing location](/dlp/docs/specifying-location):
724
+ #
725
+ # + Projects scope, location specified:<br/>
726
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
727
+ # + Projects scope, no location specified (defaults to global):<br/>
728
+ # `projects/`<var>PROJECT_ID</var>
729
+ #
730
+ # The following example `parent` string specifies a parent project with the
731
+ # identifier `example-project`, and specifies the `europe-west3` location
732
+ # for processing data:
733
+ #
734
+ # parent=projects/example-project/locations/europe-west3
699
735
  # @!attribute [rw] reidentify_config
700
736
  # @return [::Google::Cloud::Dlp::V2::DeidentifyConfig]
701
737
  # Configuration for the re-identification of the content item.
@@ -725,10 +761,11 @@ module Google
725
761
  # @return [::String]
726
762
  # Template to use. References an instance of `DeidentifyTemplate`.
727
763
  # Any configuration directly specified in `reidentify_config` or
728
- # `inspect_config` will override those set in the template. Singular fields
729
- # that are set in this request will replace their corresponding fields in the
730
- # template. Repeated fields are appended. Singular sub-messages and groups
731
- # are recursively merged.
764
+ # `inspect_config` will override those set in the template. The
765
+ # `DeidentifyTemplate` used must include only reversible transformations.
766
+ # Singular fields that are set in this request will replace their
767
+ # corresponding fields in the template. Repeated fields are appended.
768
+ # Singular sub-messages and groups are recursively merged.
732
769
  # @!attribute [rw] location_id
733
770
  # @return [::String]
734
771
  # Deprecated. This field has no effect.
@@ -753,8 +790,20 @@ module Google
753
790
  # @!attribute [rw] parent
754
791
  # @return [::String]
755
792
  # Parent resource name.
756
- # - Format:projects/[PROJECT-ID]
757
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
793
+ #
794
+ # The format of this value varies depending on whether you have [specified a
795
+ # processing location](/dlp/docs/specifying-location):
796
+ #
797
+ # + Projects scope, location specified:<br/>
798
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
799
+ # + Projects scope, no location specified (defaults to global):<br/>
800
+ # `projects/`<var>PROJECT_ID</var>
801
+ #
802
+ # The following example `parent` string specifies a parent project with the
803
+ # identifier `example-project`, and specifies the `europe-west3` location
804
+ # for processing data:
805
+ #
806
+ # parent=projects/example-project/locations/europe-west3
758
807
  # @!attribute [rw] inspect_config
759
808
  # @return [::Google::Cloud::Dlp::V2::InspectConfig]
760
809
  # Configuration for the inspector. What specified here will override
@@ -945,7 +994,10 @@ module Google
945
994
  # @!attribute [rw] parent
946
995
  # @return [::String]
947
996
  # The parent resource name.
948
- # - Format:locations/[LOCATION-ID]
997
+ #
998
+ # The format of this value is as follows:
999
+ #
1000
+ # locations/<var>LOCATION_ID</var>
949
1001
  # @!attribute [rw] language_code
950
1002
  # @return [::String]
951
1003
  # BCP-47 language code for localized infoType friendly
@@ -2049,6 +2101,9 @@ module Google
2049
2101
  # Number of characters must be in the range [2, 95].
2050
2102
  # This must be encoded as ASCII.
2051
2103
  # The order of characters does not matter.
2104
+ # The full list of allowed characters is:
2105
+ # <code>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
2106
+ # ~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/</code>
2052
2107
  # @!attribute [rw] radix
2053
2108
  # @return [::Integer]
2054
2109
  # The native way to select the alphabet. Must be in the range [2, 95].
@@ -2695,10 +2750,25 @@ module Google
2695
2750
  # @!attribute [rw] parent
2696
2751
  # @return [::String]
2697
2752
  # Required. Parent resource name.
2698
- # - Format:projects/[PROJECT-ID]
2699
- # - Format:organizations/[ORGANIZATION-ID]
2700
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2701
- # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
2753
+ #
2754
+ # The format of this value varies depending on the scope of the request
2755
+ # (project or organization) and whether you have [specified a processing
2756
+ # location](/dlp/docs/specifying-location):
2757
+ #
2758
+ # + Projects scope, location specified:<br/>
2759
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2760
+ # + Projects scope, no location specified (defaults to global):<br/>
2761
+ # `projects/`<var>PROJECT_ID</var>
2762
+ # + Organizations scope, location specified:<br/>
2763
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
2764
+ # + Organizations scope, no location specified (defaults to global):<br/>
2765
+ # `organizations/`<var>ORG_ID</var>
2766
+ #
2767
+ # The following example `parent` string specifies a parent project with the
2768
+ # identifier `example-project`, and specifies the `europe-west3` location
2769
+ # for processing data:
2770
+ #
2771
+ # parent=projects/example-project/locations/europe-west3
2702
2772
  # @!attribute [rw] inspect_template
2703
2773
  # @return [::Google::Cloud::Dlp::V2::InspectTemplate]
2704
2774
  # Required. The InspectTemplate to create.
@@ -2748,10 +2818,25 @@ module Google
2748
2818
  # @!attribute [rw] parent
2749
2819
  # @return [::String]
2750
2820
  # Required. Parent resource name.
2751
- # - Format:projects/[PROJECT-ID]
2752
- # - Format:organizations/[ORGANIZATION-ID]
2753
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2754
- # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
2821
+ #
2822
+ # The format of this value varies depending on the scope of the request
2823
+ # (project or organization) and whether you have [specified a processing
2824
+ # location](/dlp/docs/specifying-location):
2825
+ #
2826
+ # + Projects scope, location specified:<br/>
2827
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2828
+ # + Projects scope, no location specified (defaults to global):<br/>
2829
+ # `projects/`<var>PROJECT_ID</var>
2830
+ # + Organizations scope, location specified:<br/>
2831
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
2832
+ # + Organizations scope, no location specified (defaults to global):<br/>
2833
+ # `organizations/`<var>ORG_ID</var>
2834
+ #
2835
+ # The following example `parent` string specifies a parent project with the
2836
+ # identifier `example-project`, and specifies the `europe-west3` location
2837
+ # for processing data:
2838
+ #
2839
+ # parent=projects/example-project/locations/europe-west3
2755
2840
  # @!attribute [rw] page_token
2756
2841
  # @return [::String]
2757
2842
  # Page token to continue retrieval. Comes from previous call
@@ -2811,8 +2896,20 @@ module Google
2811
2896
  # @!attribute [rw] parent
2812
2897
  # @return [::String]
2813
2898
  # Required. Parent resource name.
2814
- # - Format:projects/[PROJECT-ID]
2815
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2899
+ #
2900
+ # The format of this value varies depending on whether you have [specified a
2901
+ # processing location](/dlp/docs/specifying-location):
2902
+ #
2903
+ # + Projects scope, location specified:<br/>
2904
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2905
+ # + Projects scope, no location specified (defaults to global):<br/>
2906
+ # `projects/`<var>PROJECT_ID</var>
2907
+ #
2908
+ # The following example `parent` string specifies a parent project with the
2909
+ # identifier `example-project`, and specifies the `europe-west3` location
2910
+ # for processing data:
2911
+ #
2912
+ # parent=projects/example-project/locations/europe-west3
2816
2913
  # @!attribute [rw] job_trigger
2817
2914
  # @return [::Google::Cloud::Dlp::V2::JobTrigger]
2818
2915
  # Required. The JobTrigger to create.
@@ -2872,8 +2969,20 @@ module Google
2872
2969
  # @!attribute [rw] parent
2873
2970
  # @return [::String]
2874
2971
  # Required. Parent resource name.
2875
- # - Format:projects/[PROJECT-ID]
2876
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2972
+ #
2973
+ # The format of this value varies depending on whether you have [specified a
2974
+ # processing location](/dlp/docs/specifying-location):
2975
+ #
2976
+ # + Projects scope, location specified:<br/>
2977
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
2978
+ # + Projects scope, no location specified (defaults to global):<br/>
2979
+ # `projects/`<var>PROJECT_ID</var>
2980
+ #
2981
+ # The following example `parent` string specifies a parent project with the
2982
+ # identifier `example-project`, and specifies the `europe-west3` location
2983
+ # for processing data:
2984
+ #
2985
+ # parent=projects/example-project/locations/europe-west3
2877
2986
  # @!attribute [rw] inspect_job
2878
2987
  # @return [::Google::Cloud::Dlp::V2::InspectJobConfig]
2879
2988
  # Set to control what and how to inspect.
@@ -2898,8 +3007,20 @@ module Google
2898
3007
  # @!attribute [rw] parent
2899
3008
  # @return [::String]
2900
3009
  # Required. Parent resource name.
2901
- # - Format:projects/[PROJECT-ID]
2902
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3010
+ #
3011
+ # The format of this value varies depending on whether you have [specified a
3012
+ # processing location](/dlp/docs/specifying-location):
3013
+ #
3014
+ # + Projects scope, location specified:<br/>
3015
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
3016
+ # + Projects scope, no location specified (defaults to global):<br/>
3017
+ # `projects/`<var>PROJECT_ID</var>
3018
+ #
3019
+ # The following example `parent` string specifies a parent project with the
3020
+ # identifier `example-project`, and specifies the `europe-west3` location
3021
+ # for processing data:
3022
+ #
3023
+ # parent=projects/example-project/locations/europe-west3
2903
3024
  # @!attribute [rw] page_token
2904
3025
  # @return [::String]
2905
3026
  # Page token to continue retrieval. Comes from previous call
@@ -3080,8 +3201,20 @@ module Google
3080
3201
  # @!attribute [rw] parent
3081
3202
  # @return [::String]
3082
3203
  # Required. Parent resource name.
3083
- # - Format:projects/[PROJECT-ID]
3084
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3204
+ #
3205
+ # The format of this value varies depending on whether you have [specified a
3206
+ # processing location](/dlp/docs/specifying-location):
3207
+ #
3208
+ # + Projects scope, location specified:<br/>
3209
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
3210
+ # + Projects scope, no location specified (defaults to global):<br/>
3211
+ # `projects/`<var>PROJECT_ID</var>
3212
+ #
3213
+ # The following example `parent` string specifies a parent project with the
3214
+ # identifier `example-project`, and specifies the `europe-west3` location
3215
+ # for processing data:
3216
+ #
3217
+ # parent=projects/example-project/locations/europe-west3
3085
3218
  # @!attribute [rw] filter
3086
3219
  # @return [::String]
3087
3220
  # Allows filtering.
@@ -3187,10 +3320,25 @@ module Google
3187
3320
  # @!attribute [rw] parent
3188
3321
  # @return [::String]
3189
3322
  # Required. Parent resource name.
3190
- # - Format:projects/[PROJECT-ID]
3191
- # - Format:organizations/[ORGANIZATION-ID]
3192
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3193
- # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
3323
+ #
3324
+ # The format of this value varies depending on the scope of the request
3325
+ # (project or organization) and whether you have [specified a processing
3326
+ # location](/dlp/docs/specifying-location):
3327
+ #
3328
+ # + Projects scope, location specified:<br/>
3329
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
3330
+ # + Projects scope, no location specified (defaults to global):<br/>
3331
+ # `projects/`<var>PROJECT_ID</var>
3332
+ # + Organizations scope, location specified:<br/>
3333
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
3334
+ # + Organizations scope, no location specified (defaults to global):<br/>
3335
+ # `organizations/`<var>ORG_ID</var>
3336
+ #
3337
+ # The following example `parent` string specifies a parent project with the
3338
+ # identifier `example-project`, and specifies the `europe-west3` location
3339
+ # for processing data:
3340
+ #
3341
+ # parent=projects/example-project/locations/europe-west3
3194
3342
  # @!attribute [rw] deidentify_template
3195
3343
  # @return [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
3196
3344
  # Required. The DeidentifyTemplate to create.
@@ -3240,10 +3388,25 @@ module Google
3240
3388
  # @!attribute [rw] parent
3241
3389
  # @return [::String]
3242
3390
  # Required. Parent resource name.
3243
- # - Format:projects/[PROJECT-ID]
3244
- # - Format:organizations/[ORGANIZATION-ID]
3245
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3246
- # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
3391
+ #
3392
+ # The format of this value varies depending on the scope of the request
3393
+ # (project or organization) and whether you have [specified a processing
3394
+ # location](/dlp/docs/specifying-location):
3395
+ #
3396
+ # + Projects scope, location specified:<br/>
3397
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
3398
+ # + Projects scope, no location specified (defaults to global):<br/>
3399
+ # `projects/`<var>PROJECT_ID</var>
3400
+ # + Organizations scope, location specified:<br/>
3401
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
3402
+ # + Organizations scope, no location specified (defaults to global):<br/>
3403
+ # `organizations/`<var>ORG_ID</var>
3404
+ #
3405
+ # The following example `parent` string specifies a parent project with the
3406
+ # identifier `example-project`, and specifies the `europe-west3` location
3407
+ # for processing data:
3408
+ #
3409
+ # parent=projects/example-project/locations/europe-west3
3247
3410
  # @!attribute [rw] page_token
3248
3411
  # @return [::String]
3249
3412
  # Page token to continue retrieval. Comes from previous call
@@ -3421,10 +3584,25 @@ module Google
3421
3584
  # @!attribute [rw] parent
3422
3585
  # @return [::String]
3423
3586
  # Required. Parent resource name.
3424
- # - Format:projects/[PROJECT-ID]
3425
- # - Format:organizations/[ORGANIZATION-ID]
3426
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3427
- # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
3587
+ #
3588
+ # The format of this value varies depending on the scope of the request
3589
+ # (project or organization) and whether you have [specified a processing
3590
+ # location](/dlp/docs/specifying-location):
3591
+ #
3592
+ # + Projects scope, location specified:<br/>
3593
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
3594
+ # + Projects scope, no location specified (defaults to global):<br/>
3595
+ # `projects/`<var>PROJECT_ID</var>
3596
+ # + Organizations scope, location specified:<br/>
3597
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
3598
+ # + Organizations scope, no location specified (defaults to global):<br/>
3599
+ # `organizations/`<var>ORG_ID</var>
3600
+ #
3601
+ # The following example `parent` string specifies a parent project with the
3602
+ # identifier `example-project`, and specifies the `europe-west3` location
3603
+ # for processing data:
3604
+ #
3605
+ # parent=projects/example-project/locations/europe-west3
3428
3606
  # @!attribute [rw] config
3429
3607
  # @return [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig]
3430
3608
  # Required. Configuration of the storedInfoType to create.
@@ -3476,10 +3654,25 @@ module Google
3476
3654
  # @!attribute [rw] parent
3477
3655
  # @return [::String]
3478
3656
  # Required. Parent resource name.
3479
- # - Format:projects/[PROJECT-ID]
3480
- # - Format:organizations/[ORGANIZATION-ID]
3481
- # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3482
- # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
3657
+ #
3658
+ # The format of this value varies depending on the scope of the request
3659
+ # (project or organization) and whether you have [specified a processing
3660
+ # location](/dlp/docs/specifying-location):
3661
+ #
3662
+ # + Projects scope, location specified:<br/>
3663
+ # `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
3664
+ # + Projects scope, no location specified (defaults to global):<br/>
3665
+ # `projects/`<var>PROJECT_ID</var>
3666
+ # + Organizations scope, location specified:<br/>
3667
+ # `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
3668
+ # + Organizations scope, no location specified (defaults to global):<br/>
3669
+ # `organizations/`<var>ORG_ID</var>
3670
+ #
3671
+ # The following example `parent` string specifies a parent project with the
3672
+ # identifier `example-project`, and specifies the `europe-west3` location
3673
+ # for processing data:
3674
+ #
3675
+ # parent=projects/example-project/locations/europe-west3
3483
3676
  # @!attribute [rw] page_token
3484
3677
  # @return [::String]
3485
3678
  # Page token to continue retrieval. Comes from previous call
@@ -27,8 +27,8 @@ module Google
27
27
  # Name of the information type. Either a name of your choosing when
28
28
  # creating a CustomInfoType, or one of the names listed
29
29
  # at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
30
- # a built-in type. InfoType names should conform to the pattern
31
- # `[a-zA-Z0-9_]{1,64}`.
30
+ # a built-in type. When sending Cloud DLP results to Data Catalog, infoType
31
+ # names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.
32
32
  class InfoType
33
33
  include ::Google::Protobuf::MessageExts
34
34
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -480,14 +480,16 @@ module Google
480
480
 
481
481
  # How to sample rows if not all rows are scanned. Meaningful only when used
482
482
  # in conjunction with either rows_limit or rows_limit_percent. If not
483
- # specified, scanning would start from the top.
483
+ # specified, rows are scanned in the order BigQuery reads them.
484
484
  module SampleMethod
485
485
  SAMPLE_METHOD_UNSPECIFIED = 0
486
486
 
487
- # Scan from the top (default).
487
+ # Scan groups of rows in the order BigQuery provides (default). Multiple
488
+ # groups of rows may be scanned in parallel, so results may not appear in
489
+ # the same order the rows are read.
488
490
  TOP = 1
489
491
 
490
- # Randomly pick the row to start scanning. The scanned rows are contiguous.
492
+ # Randomly pick groups of rows to scan.
491
493
  RANDOM_START = 2
492
494
  end
493
495
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dlp-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-10 00:00:00.000000000 Z
11
+ date: 2020-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common