google-cloud-dlp-v2 0.3.3 → 0.4.0

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: d2925eaa182f4b6592deee2241c10cfd50509a1d0804f3d66c5175125cfd6e18
4
- data.tar.gz: 23d13d4c73b7ffd42af97fe06a26de8265f90e9cc5673ff89530128c95eecaae
3
+ metadata.gz: 532bee2d8fd58203eb35dd788853ce9173dd7fd2ee469d05ba70de27c0c46ce7
4
+ data.tar.gz: e14647ef944ae34c1016b43be48f1300adbcfbb4178ef68896e6933d930faae1
5
5
  SHA512:
6
- metadata.gz: 4890af84f89cdf5f8ccf424cf96ad61c85a9edb35991360481efd8359c2b4357e2fe2447cfb37cfdcedd5852d966960eb1ceb2bd78914f8e825821335ab50397
7
- data.tar.gz: 543bfc5523ede369d03ce7d856b9be20edd0eda883efb6328bd3428e9350a063db29a15efbd895979bb8b500be33c4f46200328e5dccd90a089388cc95c9d5d1
6
+ metadata.gz: 5ad21583233ebe765e5943444543adf86ae5c1615bf17a140a02cbe409b568d15803275ad54f37fcf4b055501a9b8a73dd4abe65c15510ed35fd59dcca4e7ffb
7
+ data.tar.gz: bedccec1545c50c028b1b4c6d8490e46802c3f92633a6d3eea2c5b1ae63a6a4796adcf993ea30d233d2c3d3ceec3b88193cad0f6c0f54d1abbbd0174d178eb48
@@ -174,12 +174,6 @@ module Google
174
174
  default_config.rpcs.update_job_trigger.timeout = 300.0
175
175
 
176
176
  default_config.rpcs.hybrid_inspect_job_trigger.timeout = 300.0
177
- default_config.rpcs.hybrid_inspect_job_trigger.retry_policy = {
178
- initial_delay: 0.1,
179
- max_delay: 60.0,
180
- multiplier: 1.3,
181
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
182
- }
183
177
 
184
178
  default_config.rpcs.get_job_trigger.timeout = 300.0
185
179
  default_config.rpcs.get_job_trigger.retry_policy = {
@@ -264,20 +258,8 @@ module Google
264
258
  }
265
259
 
266
260
  default_config.rpcs.hybrid_inspect_dlp_job.timeout = 300.0
267
- default_config.rpcs.hybrid_inspect_dlp_job.retry_policy = {
268
- initial_delay: 0.1,
269
- max_delay: 60.0,
270
- multiplier: 1.3,
271
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
272
- }
273
261
 
274
262
  default_config.rpcs.finish_dlp_job.timeout = 300.0
275
- default_config.rpcs.finish_dlp_job.retry_policy = {
276
- initial_delay: 0.1,
277
- max_delay: 60.0,
278
- multiplier: 1.3,
279
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
280
- }
281
263
 
282
264
  default_config
283
265
  end
@@ -385,8 +367,9 @@ module Google
385
367
  # the default parameter values, pass an empty Hash as a request object (see above).
386
368
  #
387
369
  # @param parent [::String]
388
- # The parent resource name, for example projects/my-project-id
389
- # or projects/my-project-id/locations/\\{location_id}
370
+ # Parent resource name.
371
+ # - Format:projects/[PROJECT-ID]
372
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
390
373
  # @param inspect_config [::Google::Cloud::Dlp::V2::InspectConfig, ::Hash]
391
374
  # Configuration for the inspector. What specified here will override
392
375
  # the template referenced by the inspect_template_name argument.
@@ -472,8 +455,9 @@ module Google
472
455
  # the default parameter values, pass an empty Hash as a request object (see above).
473
456
  #
474
457
  # @param parent [::String]
475
- # The parent resource name, for example projects/my-project-id
476
- # or projects/my-project-id/locations/\\{location_id}.
458
+ # The parent resource name.
459
+ # - Format:projects/[PROJECT-ID]
460
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
477
461
  # @param location_id [::String]
478
462
  # Deprecated. This field has no effect.
479
463
  # @param inspect_config [::Google::Cloud::Dlp::V2::InspectConfig, ::Hash]
@@ -557,8 +541,9 @@ module Google
557
541
  # the default parameter values, pass an empty Hash as a request object (see above).
558
542
  #
559
543
  # @param parent [::String]
560
- # The parent resource name, for example projects/my-project-id
561
- # or projects/my-project-id/locations/\\{location_id}.
544
+ # Parent resource name.
545
+ # - Format:projects/[PROJECT-ID]
546
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
562
547
  # @param deidentify_config [::Google::Cloud::Dlp::V2::DeidentifyConfig, ::Hash]
563
548
  # Configuration for the de-identification of the content item.
564
549
  # Items specified here will override the template referenced by the
@@ -652,6 +637,8 @@ module Google
652
637
  #
653
638
  # @param parent [::String]
654
639
  # Required. The parent resource name.
640
+ # - Format:projects/[PROJECT-ID]
641
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
655
642
  # @param reidentify_config [::Google::Cloud::Dlp::V2::DeidentifyConfig, ::Hash]
656
643
  # Configuration for the re-identification of the content item.
657
644
  # This field shares the same proto message type that is used for
@@ -749,7 +736,8 @@ module Google
749
736
  # the default parameter values, pass an empty Hash as a request object (see above).
750
737
  #
751
738
  # @param parent [::String]
752
- # The parent resource name, for example locations/\\{location_id}
739
+ # The parent resource name.
740
+ # - Format:locations/[LOCATION-ID]
753
741
  # @param language_code [::String]
754
742
  # BCP-47 language code for localized infoType friendly
755
743
  # names. If omitted, or if localized strings are not available,
@@ -820,8 +808,11 @@ module Google
820
808
  # the default parameter values, pass an empty Hash as a request object (see above).
821
809
  #
822
810
  # @param parent [::String]
823
- # Required. The parent resource name, for example projects/my-project-id or
824
- # organizations/my-org-id or projects/my-project-id/locations/\\{location-id}.
811
+ # 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]
825
816
  # @param inspect_template [::Google::Cloud::Dlp::V2::InspectTemplate, ::Hash]
826
817
  # Required. The InspectTemplate to create.
827
818
  # @param template_id [::String]
@@ -897,8 +888,8 @@ module Google
897
888
  # the default parameter values, pass an empty Hash as a request object (see above).
898
889
  #
899
890
  # @param name [::String]
900
- # Required. Resource name of organization and inspectTemplate to be updated,
901
- # for example `organizations/433245324/inspectTemplates/432452342` or
891
+ # Required. Resource name of organization and inspectTemplate to be updated, for
892
+ # example `organizations/433245324/inspectTemplates/432452342` or
902
893
  # projects/project-id/inspectTemplates/432452342.
903
894
  # @param inspect_template [::Google::Cloud::Dlp::V2::InspectTemplate, ::Hash]
904
895
  # New InspectTemplate value.
@@ -970,8 +961,8 @@ module Google
970
961
  # the default parameter values, pass an empty Hash as a request object (see above).
971
962
  #
972
963
  # @param name [::String]
973
- # Required. Resource name of the organization and inspectTemplate to be read,
974
- # for example `organizations/433245324/inspectTemplates/432452342` or
964
+ # Required. Resource name of the organization and inspectTemplate to be read, for
965
+ # example `organizations/433245324/inspectTemplates/432452342` or
975
966
  # projects/project-id/inspectTemplates/432452342.
976
967
  #
977
968
  # @yield [response, operation] Access the result along with the RPC operation
@@ -1039,8 +1030,11 @@ module Google
1039
1030
  # the default parameter values, pass an empty Hash as a request object (see above).
1040
1031
  #
1041
1032
  # @param parent [::String]
1042
- # Required. The parent resource name, for example projects/my-project-id or
1043
- # organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
1033
+ # 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]
1044
1038
  # @param page_token [::String]
1045
1039
  # Page token to continue retrieval. Comes from previous call
1046
1040
  # to `ListInspectTemplates`.
@@ -1130,9 +1124,9 @@ module Google
1130
1124
  # the default parameter values, pass an empty Hash as a request object (see above).
1131
1125
  #
1132
1126
  # @param name [::String]
1133
- # Required. Resource name of the organization and inspectTemplate to be
1134
- # deleted, for example `organizations/433245324/inspectTemplates/432452342`
1135
- # or projects/project-id/inspectTemplates/432452342.
1127
+ # Required. Resource name of the organization and inspectTemplate to be deleted, for
1128
+ # example `organizations/433245324/inspectTemplates/432452342` or
1129
+ # projects/project-id/inspectTemplates/432452342.
1136
1130
  #
1137
1131
  # @yield [response, operation] Access the result along with the RPC operation
1138
1132
  # @yieldparam response [::Google::Protobuf::Empty]
@@ -1201,8 +1195,11 @@ module Google
1201
1195
  # the default parameter values, pass an empty Hash as a request object (see above).
1202
1196
  #
1203
1197
  # @param parent [::String]
1204
- # Required. The parent resource name, for example projects/my-project-id or
1205
- # organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
1198
+ # 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]
1206
1203
  # @param deidentify_template [::Google::Cloud::Dlp::V2::DeidentifyTemplate, ::Hash]
1207
1204
  # Required. The DeidentifyTemplate to create.
1208
1205
  # @param template_id [::String]
@@ -1279,9 +1276,8 @@ module Google
1279
1276
  # the default parameter values, pass an empty Hash as a request object (see above).
1280
1277
  #
1281
1278
  # @param name [::String]
1282
- # Required. Resource name of organization and deidentify template to be
1283
- # updated, for example
1284
- # `organizations/433245324/deidentifyTemplates/432452342` or
1279
+ # Required. Resource name of organization and deidentify template to be updated, for
1280
+ # example `organizations/433245324/deidentifyTemplates/432452342` or
1285
1281
  # projects/project-id/deidentifyTemplates/432452342.
1286
1282
  # @param deidentify_template [::Google::Cloud::Dlp::V2::DeidentifyTemplate, ::Hash]
1287
1283
  # New DeidentifyTemplate value.
@@ -1354,9 +1350,9 @@ module Google
1354
1350
  # the default parameter values, pass an empty Hash as a request object (see above).
1355
1351
  #
1356
1352
  # @param name [::String]
1357
- # Required. Resource name of the organization and deidentify template to be
1358
- # read, for example `organizations/433245324/deidentifyTemplates/432452342`
1359
- # or projects/project-id/deidentifyTemplates/432452342.
1353
+ # Required. Resource name of the organization and deidentify template to be read, for
1354
+ # example `organizations/433245324/deidentifyTemplates/432452342` or
1355
+ # projects/project-id/deidentifyTemplates/432452342.
1360
1356
  #
1361
1357
  # @yield [response, operation] Access the result along with the RPC operation
1362
1358
  # @yieldparam response [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
@@ -1424,8 +1420,11 @@ module Google
1424
1420
  # the default parameter values, pass an empty Hash as a request object (see above).
1425
1421
  #
1426
1422
  # @param parent [::String]
1427
- # Required. The parent resource name, for example projects/my-project-id or
1428
- # organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
1423
+ # 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]
1429
1428
  # @param page_token [::String]
1430
1429
  # Page token to continue retrieval. Comes from previous call
1431
1430
  # to `ListDeidentifyTemplates`.
@@ -1516,9 +1515,8 @@ module Google
1516
1515
  # the default parameter values, pass an empty Hash as a request object (see above).
1517
1516
  #
1518
1517
  # @param name [::String]
1519
- # Required. Resource name of the organization and deidentify template to be
1520
- # deleted, for example
1521
- # `organizations/433245324/deidentifyTemplates/432452342` or
1518
+ # Required. Resource name of the organization and deidentify template to be deleted,
1519
+ # for example `organizations/433245324/deidentifyTemplates/432452342` or
1522
1520
  # projects/project-id/deidentifyTemplates/432452342.
1523
1521
  #
1524
1522
  # @yield [response, operation] Access the result along with the RPC operation
@@ -1587,8 +1585,9 @@ module Google
1587
1585
  # the default parameter values, pass an empty Hash as a request object (see above).
1588
1586
  #
1589
1587
  # @param parent [::String]
1590
- # Required. The parent resource name, for example projects/my-project-id
1591
- # or projects/my-project-id/locations/\\{location_id}.
1588
+ # Required. Parent resource name.
1589
+ # - Format:projects/[PROJECT-ID]
1590
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1592
1591
  # @param job_trigger [::Google::Cloud::Dlp::V2::JobTrigger, ::Hash]
1593
1592
  # Required. The JobTrigger to create.
1594
1593
  # @param trigger_id [::String]
@@ -1740,8 +1739,8 @@ module Google
1740
1739
  # the default parameter values, pass an empty Hash as a request object (see above).
1741
1740
  #
1742
1741
  # @param name [::String]
1743
- # Required. Resource name of the trigger to execute a hybrid inspect on, for
1744
- # example `projects/dlp-test-project/jobTriggers/53234423`.
1742
+ # Required. Resource name of the trigger to execute a hybrid inspect on, for example
1743
+ # `projects/dlp-test-project/jobTriggers/53234423`.
1745
1744
  # @param hybrid_item [::Google::Cloud::Dlp::V2::HybridContentItem, ::Hash]
1746
1745
  # The item to inspect.
1747
1746
  #
@@ -1878,8 +1877,9 @@ module Google
1878
1877
  # the default parameter values, pass an empty Hash as a request object (see above).
1879
1878
  #
1880
1879
  # @param parent [::String]
1881
- # Required. The parent resource name, for example `projects/my-project-id`
1882
- # or projects/my-project-id/locations/\\{location_id}.
1880
+ # Required. Parent resource name.
1881
+ # - Format:projects/[PROJECT-ID]
1882
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1883
1883
  # @param page_token [::String]
1884
1884
  # Page token to continue retrieval. Comes from previous call
1885
1885
  # to ListJobTriggers. `order_by` field must not
@@ -2137,8 +2137,9 @@ module Google
2137
2137
  # the default parameter values, pass an empty Hash as a request object (see above).
2138
2138
  #
2139
2139
  # @param parent [::String]
2140
- # Required. The parent resource name, for example projects/my-project-id
2141
- # or projects/my-project-id/locations/\\{location_id}.
2140
+ # Required. Parent resource name.
2141
+ # - Format:projects/[PROJECT-ID]
2142
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2142
2143
  # @param inspect_job [::Google::Cloud::Dlp::V2::InspectJobConfig, ::Hash]
2143
2144
  # Set to control what and how to inspect.
2144
2145
  # @param risk_job [::Google::Cloud::Dlp::V2::RiskAnalysisJobConfig, ::Hash]
@@ -2217,8 +2218,9 @@ module Google
2217
2218
  # the default parameter values, pass an empty Hash as a request object (see above).
2218
2219
  #
2219
2220
  # @param parent [::String]
2220
- # Required. The parent resource name, for example projects/my-project-id
2221
- # or projects/my-project-id/locations/\\{location_id}.
2221
+ # Required. Parent resource name.
2222
+ # - Format:projects/[PROJECT-ID]
2223
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2222
2224
  # @param filter [::String]
2223
2225
  # Allows filtering.
2224
2226
  #
@@ -2546,8 +2548,11 @@ module Google
2546
2548
  # the default parameter values, pass an empty Hash as a request object (see above).
2547
2549
  #
2548
2550
  # @param parent [::String]
2549
- # Required. The parent resource name, for example projects/my-project-id or
2550
- # organizations/my-org-id or projects/my-project-id/locations/\\{location_id}
2551
+ # 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]
2551
2556
  # @param config [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig, ::Hash]
2552
2557
  # Required. Configuration of the storedInfoType to create.
2553
2558
  # @param stored_info_type_id [::String]
@@ -2701,8 +2706,8 @@ module Google
2701
2706
  # the default parameter values, pass an empty Hash as a request object (see above).
2702
2707
  #
2703
2708
  # @param name [::String]
2704
- # Required. Resource name of the organization and storedInfoType to be read,
2705
- # for example `organizations/433245324/storedInfoTypes/432452342` or
2709
+ # Required. Resource name of the organization and storedInfoType to be read, for
2710
+ # example `organizations/433245324/storedInfoTypes/432452342` or
2706
2711
  # projects/project-id/storedInfoTypes/432452342.
2707
2712
  #
2708
2713
  # @yield [response, operation] Access the result along with the RPC operation
@@ -2771,8 +2776,11 @@ module Google
2771
2776
  # the default parameter values, pass an empty Hash as a request object (see above).
2772
2777
  #
2773
2778
  # @param parent [::String]
2774
- # Required. The parent resource name, for example projects/my-project-id or
2775
- # organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
2779
+ # 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]
2776
2784
  # @param page_token [::String]
2777
2785
  # Page token to continue retrieval. Comes from previous call
2778
2786
  # to `ListStoredInfoTypes`.
@@ -2864,8 +2872,8 @@ module Google
2864
2872
  # the default parameter values, pass an empty Hash as a request object (see above).
2865
2873
  #
2866
2874
  # @param name [::String]
2867
- # Required. Resource name of the organization and storedInfoType to be
2868
- # deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
2875
+ # Required. Resource name of the organization and storedInfoType to be deleted, for
2876
+ # example `organizations/433245324/storedInfoTypes/432452342` or
2869
2877
  # projects/project-id/storedInfoTypes/432452342.
2870
2878
  #
2871
2879
  # @yield [response, operation] Access the result along with the RPC operation
@@ -2937,8 +2945,8 @@ module Google
2937
2945
  # the default parameter values, pass an empty Hash as a request object (see above).
2938
2946
  #
2939
2947
  # @param name [::String]
2940
- # Required. Resource name of the job to execute a hybrid inspect on, for
2941
- # example `projects/dlp-test-project/dlpJob/53234423`.
2948
+ # Required. Resource name of the job to execute a hybrid inspect on, for example
2949
+ # `projects/dlp-test-project/dlpJob/53234423`.
2942
2950
  # @param hybrid_item [::Google::Cloud::Dlp::V2::HybridContentItem, ::Hash]
2943
2951
  # The item to inspect.
2944
2952
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dlp
23
23
  module V2
24
- VERSION = "0.3.3"
24
+ VERSION = "0.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -3,7 +3,6 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/api/annotations_pb'
7
6
  require 'google/api/client_pb'
8
7
  require 'google/api/field_behavior_pb'
9
8
  require 'google/api/resource_pb'
@@ -16,6 +15,7 @@ require 'google/rpc/status_pb'
16
15
  require 'google/type/date_pb'
17
16
  require 'google/type/dayofweek_pb'
18
17
  require 'google/type/timeofday_pb'
18
+ require 'google/api/annotations_pb'
19
19
  Google::Protobuf::DescriptorPool.generated_pool.build do
20
20
  add_file("google/privacy/dlp/v2/dlp.proto", :syntax => :proto3) do
21
21
  add_message "google.privacy.dlp.v2.ExcludeInfoTypes" do
@@ -73,6 +73,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
73
73
  value :WORD_DOCUMENT, 7
74
74
  value :PDF, 8
75
75
  value :AVRO, 11
76
+ value :CSV, 12
77
+ value :TSV, 13
76
78
  end
77
79
  add_message "google.privacy.dlp.v2.ContentItem" do
78
80
  oneof :data_item do
@@ -5,6 +5,7 @@ require 'google/protobuf'
5
5
 
6
6
  require 'google/api/resource_pb'
7
7
  require 'google/protobuf/timestamp_pb'
8
+ require 'google/api/annotations_pb'
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/privacy/dlp/v2/storage.proto", :syntax => :proto3) do
10
11
  add_message "google.privacy.dlp.v2.InfoType" do
@@ -197,6 +198,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
197
198
  value :WORD, 5
198
199
  value :PDF, 6
199
200
  value :AVRO, 7
201
+ value :CSV, 8
202
+ value :TSV, 9
200
203
  end
201
204
  end
202
205
  end
@@ -209,6 +209,12 @@ module Google
209
209
 
210
210
  # avro
211
211
  AVRO = 11
212
+
213
+ # csv
214
+ CSV = 12
215
+
216
+ # tsv
217
+ TSV = 13
212
218
  end
213
219
  end
214
220
 
@@ -273,8 +279,8 @@ module Google
273
279
  # @!attribute [rw] name
274
280
  # @return [::String]
275
281
  # Resource name in format
276
- # projects/\\{project}/locations/\\{location}/findings/\\{finding}
277
- # Populated only when viewing persisted findings.
282
+ # projects/\\{project}/locations/\\{location}/findings/\\{finding} Populated only
283
+ # when viewing persisted findings.
278
284
  # @!attribute [rw] quote
279
285
  # @return [::String]
280
286
  # The content that was found. Even if the content is not textual, it
@@ -555,8 +561,9 @@ module Google
555
561
  # by covering it with a colored rectangle.
556
562
  # @!attribute [rw] parent
557
563
  # @return [::String]
558
- # The parent resource name, for example projects/my-project-id
559
- # or projects/my-project-id/locations/\\{location_id}.
564
+ # The parent resource name.
565
+ # - Format:projects/[PROJECT-ID]
566
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
560
567
  # @!attribute [rw] location_id
561
568
  # @return [::String]
562
569
  # Deprecated. This field has no effect.
@@ -633,8 +640,9 @@ module Google
633
640
  # Request to de-identify a list of items.
634
641
  # @!attribute [rw] parent
635
642
  # @return [::String]
636
- # The parent resource name, for example projects/my-project-id
637
- # or projects/my-project-id/locations/\\{location_id}.
643
+ # Parent resource name.
644
+ # - Format:projects/[PROJECT-ID]
645
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
638
646
  # @!attribute [rw] deidentify_config
639
647
  # @return [::Google::Cloud::Dlp::V2::DeidentifyConfig]
640
648
  # Configuration for the de-identification of the content item.
@@ -686,6 +694,8 @@ module Google
686
694
  # @!attribute [rw] parent
687
695
  # @return [::String]
688
696
  # Required. The parent resource name.
697
+ # - Format:projects/[PROJECT-ID]
698
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
689
699
  # @!attribute [rw] reidentify_config
690
700
  # @return [::Google::Cloud::Dlp::V2::DeidentifyConfig]
691
701
  # Configuration for the re-identification of the content item.
@@ -742,8 +752,9 @@ module Google
742
752
  # Request to search for potentially sensitive info in a ContentItem.
743
753
  # @!attribute [rw] parent
744
754
  # @return [::String]
745
- # The parent resource name, for example projects/my-project-id
746
- # or projects/my-project-id/locations/\\{location_id}
755
+ # Parent resource name.
756
+ # - Format:projects/[PROJECT-ID]
757
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
747
758
  # @!attribute [rw] inspect_config
748
759
  # @return [::Google::Cloud::Dlp::V2::InspectConfig]
749
760
  # Configuration for the inspector. What specified here will override
@@ -891,7 +902,7 @@ module Google
891
902
  end
892
903
  end
893
904
 
894
- # Statistics related to processing hybrid inspect requests.s
905
+ # Statistics related to processing hybrid inspect requests.
895
906
  # @!attribute [rw] processed_count
896
907
  # @return [::Integer]
897
908
  # The number of hybrid inspection requests processed within this job.
@@ -933,7 +944,8 @@ module Google
933
944
  # Request for the list of infoTypes.
934
945
  # @!attribute [rw] parent
935
946
  # @return [::String]
936
- # The parent resource name, for example locations/\\{location_id}
947
+ # The parent resource name.
948
+ # - Format:locations/[LOCATION-ID]
937
949
  # @!attribute [rw] language_code
938
950
  # @return [::String]
939
951
  # BCP-47 language code for localized infoType friendly
@@ -1017,8 +1029,8 @@ module Google
1017
1029
  # Required. Quasi-identifier columns.
1018
1030
  # @!attribute [rw] relative_frequency
1019
1031
  # @return [::Google::Cloud::Dlp::V2::FieldId]
1020
- # Required. The relative frequency column must contain a floating-point
1021
- # number between 0 and 1 (inclusive). Null values are assumed to be zero.
1032
+ # Required. The relative frequency column must contain a floating-point number
1033
+ # between 0 and 1 (inclusive). Null values are assumed to be zero.
1022
1034
  class StatisticalTable
1023
1035
  include ::Google::Protobuf::MessageExts
1024
1036
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1133,8 +1145,8 @@ module Google
1133
1145
  # extrapolating from the distribution of values in the input dataset.
1134
1146
  # @!attribute [rw] quasi_ids
1135
1147
  # @return [::Array<::Google::Cloud::Dlp::V2::PrivacyMetric::KMapEstimationConfig::TaggedField>]
1136
- # Required. Fields considered to be quasi-identifiers. No two columns can
1137
- # have the same tag.
1148
+ # Required. Fields considered to be quasi-identifiers. No two columns can have the
1149
+ # same tag.
1138
1150
  # @!attribute [rw] region_code
1139
1151
  # @return [::String]
1140
1152
  # ISO 3166-1 alpha-2 region code to use in the statistical modeling.
@@ -1189,8 +1201,8 @@ module Google
1189
1201
  # Required. Quasi-identifier columns.
1190
1202
  # @!attribute [rw] relative_frequency
1191
1203
  # @return [::Google::Cloud::Dlp::V2::FieldId]
1192
- # Required. The relative frequency column must contain a floating-point
1193
- # number between 0 and 1 (inclusive). Null values are assumed to be zero.
1204
+ # Required. The relative frequency column must contain a floating-point number
1205
+ # between 0 and 1 (inclusive). Null values are assumed to be zero.
1194
1206
  class AuxiliaryTable
1195
1207
  include ::Google::Protobuf::MessageExts
1196
1208
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1216,8 +1228,8 @@ module Google
1216
1228
  # knowing the attack dataset, so we use a statistical model instead.
1217
1229
  # @!attribute [rw] quasi_ids
1218
1230
  # @return [::Array<::Google::Cloud::Dlp::V2::QuasiId>]
1219
- # Required. Fields considered to be quasi-identifiers. No two fields can
1220
- # have the same tag.
1231
+ # Required. Fields considered to be quasi-identifiers. No two fields can have the
1232
+ # same tag.
1221
1233
  # @!attribute [rw] region_code
1222
1234
  # @return [::String]
1223
1235
  # ISO 3166-1 alpha-2 region code to use in the statistical modeling.
@@ -1935,18 +1947,18 @@ module Google
1935
1947
  # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
1936
1948
  # @!attribute [rw] lower_bound
1937
1949
  # @return [::Google::Cloud::Dlp::V2::Value]
1938
- # Required. Lower bound value of buckets. All values less than `lower_bound`
1939
- # are grouped together into a single bucket; for example if `lower_bound` =
1940
- # 10, then all values less than 10 are replaced with the value “-10”.
1950
+ # Required. Lower bound value of buckets. All values less than `lower_bound` are
1951
+ # grouped together into a single bucket; for example if `lower_bound` = 10,
1952
+ # then all values less than 10 are replaced with the value "-10".
1941
1953
  # @!attribute [rw] upper_bound
1942
1954
  # @return [::Google::Cloud::Dlp::V2::Value]
1943
- # Required. Upper bound value of buckets. All values greater than upper_bound
1944
- # are grouped together into a single bucket; for example if `upper_bound` =
1945
- # 89, then all values greater than 89 are replaced with the value 89+”.
1955
+ # Required. Upper bound value of buckets. All values greater than upper_bound are
1956
+ # grouped together into a single bucket; for example if `upper_bound` = 89,
1957
+ # then all values greater than 89 are replaced with the value "89+".
1946
1958
  # @!attribute [rw] bucket_size
1947
1959
  # @return [::Float]
1948
- # Required. Size of each bucket (except for minimum and maximum buckets). So
1949
- # if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
1960
+ # Required. Size of each bucket (except for minimum and maximum buckets). So if
1961
+ # `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
1950
1962
  # following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
1951
1963
  # 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.
1952
1964
  class FixedSizeBucketingConfig
@@ -1980,8 +1992,7 @@ module Google
1980
1992
  # Upper bound of the range, exclusive; type must match min.
1981
1993
  # @!attribute [rw] replacement_value
1982
1994
  # @return [::Google::Cloud::Dlp::V2::Value]
1983
- # Replacement value for this bucket. If not provided
1984
- # the default behavior will be to hyphenate the min-max range.
1995
+ # Required. Replacement value for this bucket.
1985
1996
  class Bucket
1986
1997
  include ::Google::Protobuf::MessageExts
1987
1998
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2158,15 +2169,14 @@ module Google
2158
2169
  # to learn more.
2159
2170
  # @!attribute [rw] upper_bound_days
2160
2171
  # @return [::Integer]
2161
- # Required. Range of shift in days. Actual shift will be selected at random
2162
- # within this range (inclusive ends). Negative means shift to earlier in
2163
- # time. Must not be more than 365250 days (1000 years) each direction.
2172
+ # Required. Range of shift in days. Actual shift will be selected at random within this
2173
+ # range (inclusive ends). Negative means shift to earlier in time. Must not
2174
+ # be more than 365250 days (1000 years) each direction.
2164
2175
  #
2165
2176
  # For example, 3 means shift date to at most 3 days into the future.
2166
2177
  # @!attribute [rw] lower_bound_days
2167
2178
  # @return [::Integer]
2168
- # Required. For example, -5 means shift date to at most 5 days back in the
2169
- # past.
2179
+ # Required. For example, -5 means shift date to at most 5 days back in the past.
2170
2180
  # @!attribute [rw] context
2171
2181
  # @return [::Google::Cloud::Dlp::V2::FieldId]
2172
2182
  # Points to the field that contains the context, for example, an entity id.
@@ -2684,8 +2694,11 @@ module Google
2684
2694
  # Request message for CreateInspectTemplate.
2685
2695
  # @!attribute [rw] parent
2686
2696
  # @return [::String]
2687
- # Required. The parent resource name, for example projects/my-project-id or
2688
- # organizations/my-org-id or projects/my-project-id/locations/\\{location-id}.
2697
+ # 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]
2689
2702
  # @!attribute [rw] inspect_template
2690
2703
  # @return [::Google::Cloud::Dlp::V2::InspectTemplate]
2691
2704
  # Required. The InspectTemplate to create.
@@ -2706,8 +2719,8 @@ module Google
2706
2719
  # Request message for UpdateInspectTemplate.
2707
2720
  # @!attribute [rw] name
2708
2721
  # @return [::String]
2709
- # Required. Resource name of organization and inspectTemplate to be updated,
2710
- # for example `organizations/433245324/inspectTemplates/432452342` or
2722
+ # Required. Resource name of organization and inspectTemplate to be updated, for
2723
+ # example `organizations/433245324/inspectTemplates/432452342` or
2711
2724
  # projects/project-id/inspectTemplates/432452342.
2712
2725
  # @!attribute [rw] inspect_template
2713
2726
  # @return [::Google::Cloud::Dlp::V2::InspectTemplate]
@@ -2723,8 +2736,8 @@ module Google
2723
2736
  # Request message for GetInspectTemplate.
2724
2737
  # @!attribute [rw] name
2725
2738
  # @return [::String]
2726
- # Required. Resource name of the organization and inspectTemplate to be read,
2727
- # for example `organizations/433245324/inspectTemplates/432452342` or
2739
+ # Required. Resource name of the organization and inspectTemplate to be read, for
2740
+ # example `organizations/433245324/inspectTemplates/432452342` or
2728
2741
  # projects/project-id/inspectTemplates/432452342.
2729
2742
  class GetInspectTemplateRequest
2730
2743
  include ::Google::Protobuf::MessageExts
@@ -2734,8 +2747,11 @@ module Google
2734
2747
  # Request message for ListInspectTemplates.
2735
2748
  # @!attribute [rw] parent
2736
2749
  # @return [::String]
2737
- # Required. The parent resource name, for example projects/my-project-id or
2738
- # organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
2750
+ # 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]
2739
2755
  # @!attribute [rw] page_token
2740
2756
  # @return [::String]
2741
2757
  # Page token to continue retrieval. Comes from previous call
@@ -2783,9 +2799,9 @@ module Google
2783
2799
  # Request message for DeleteInspectTemplate.
2784
2800
  # @!attribute [rw] name
2785
2801
  # @return [::String]
2786
- # Required. Resource name of the organization and inspectTemplate to be
2787
- # deleted, for example `organizations/433245324/inspectTemplates/432452342`
2788
- # or projects/project-id/inspectTemplates/432452342.
2802
+ # Required. Resource name of the organization and inspectTemplate to be deleted, for
2803
+ # example `organizations/433245324/inspectTemplates/432452342` or
2804
+ # projects/project-id/inspectTemplates/432452342.
2789
2805
  class DeleteInspectTemplateRequest
2790
2806
  include ::Google::Protobuf::MessageExts
2791
2807
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2794,8 +2810,9 @@ module Google
2794
2810
  # Request message for CreateJobTrigger.
2795
2811
  # @!attribute [rw] parent
2796
2812
  # @return [::String]
2797
- # Required. The parent resource name, for example projects/my-project-id
2798
- # or projects/my-project-id/locations/\\{location_id}.
2813
+ # Required. Parent resource name.
2814
+ # - Format:projects/[PROJECT-ID]
2815
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2799
2816
  # @!attribute [rw] job_trigger
2800
2817
  # @return [::Google::Cloud::Dlp::V2::JobTrigger]
2801
2818
  # Required. The JobTrigger to create.
@@ -2854,8 +2871,9 @@ module Google
2854
2871
  # Storage.
2855
2872
  # @!attribute [rw] parent
2856
2873
  # @return [::String]
2857
- # Required. The parent resource name, for example projects/my-project-id
2858
- # or projects/my-project-id/locations/\\{location_id}.
2874
+ # Required. Parent resource name.
2875
+ # - Format:projects/[PROJECT-ID]
2876
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2859
2877
  # @!attribute [rw] inspect_job
2860
2878
  # @return [::Google::Cloud::Dlp::V2::InspectJobConfig]
2861
2879
  # Set to control what and how to inspect.
@@ -2879,8 +2897,9 @@ module Google
2879
2897
  # Request message for ListJobTriggers.
2880
2898
  # @!attribute [rw] parent
2881
2899
  # @return [::String]
2882
- # Required. The parent resource name, for example `projects/my-project-id`
2883
- # or projects/my-project-id/locations/\\{location_id}.
2900
+ # Required. Parent resource name.
2901
+ # - Format:projects/[PROJECT-ID]
2902
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2884
2903
  # @!attribute [rw] page_token
2885
2904
  # @return [::String]
2886
2905
  # Page token to continue retrieval. Comes from previous call
@@ -3060,8 +3079,9 @@ module Google
3060
3079
  # The request message for listing DLP jobs.
3061
3080
  # @!attribute [rw] parent
3062
3081
  # @return [::String]
3063
- # Required. The parent resource name, for example projects/my-project-id
3064
- # or projects/my-project-id/locations/\\{location_id}.
3082
+ # Required. Parent resource name.
3083
+ # - Format:projects/[PROJECT-ID]
3084
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3065
3085
  # @!attribute [rw] filter
3066
3086
  # @return [::String]
3067
3087
  # Allows filtering.
@@ -3166,8 +3186,11 @@ module Google
3166
3186
  # Request message for CreateDeidentifyTemplate.
3167
3187
  # @!attribute [rw] parent
3168
3188
  # @return [::String]
3169
- # Required. The parent resource name, for example projects/my-project-id or
3170
- # organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
3189
+ # 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]
3171
3194
  # @!attribute [rw] deidentify_template
3172
3195
  # @return [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
3173
3196
  # Required. The DeidentifyTemplate to create.
@@ -3188,9 +3211,8 @@ module Google
3188
3211
  # Request message for UpdateDeidentifyTemplate.
3189
3212
  # @!attribute [rw] name
3190
3213
  # @return [::String]
3191
- # Required. Resource name of organization and deidentify template to be
3192
- # updated, for example
3193
- # `organizations/433245324/deidentifyTemplates/432452342` or
3214
+ # Required. Resource name of organization and deidentify template to be updated, for
3215
+ # example `organizations/433245324/deidentifyTemplates/432452342` or
3194
3216
  # projects/project-id/deidentifyTemplates/432452342.
3195
3217
  # @!attribute [rw] deidentify_template
3196
3218
  # @return [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
@@ -3206,9 +3228,9 @@ module Google
3206
3228
  # Request message for GetDeidentifyTemplate.
3207
3229
  # @!attribute [rw] name
3208
3230
  # @return [::String]
3209
- # Required. Resource name of the organization and deidentify template to be
3210
- # read, for example `organizations/433245324/deidentifyTemplates/432452342`
3211
- # or projects/project-id/deidentifyTemplates/432452342.
3231
+ # Required. Resource name of the organization and deidentify template to be read, for
3232
+ # example `organizations/433245324/deidentifyTemplates/432452342` or
3233
+ # projects/project-id/deidentifyTemplates/432452342.
3212
3234
  class GetDeidentifyTemplateRequest
3213
3235
  include ::Google::Protobuf::MessageExts
3214
3236
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3217,8 +3239,11 @@ module Google
3217
3239
  # Request message for ListDeidentifyTemplates.
3218
3240
  # @!attribute [rw] parent
3219
3241
  # @return [::String]
3220
- # Required. The parent resource name, for example projects/my-project-id or
3221
- # organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
3242
+ # 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]
3222
3247
  # @!attribute [rw] page_token
3223
3248
  # @return [::String]
3224
3249
  # Page token to continue retrieval. Comes from previous call
@@ -3267,9 +3292,8 @@ module Google
3267
3292
  # Request message for DeleteDeidentifyTemplate.
3268
3293
  # @!attribute [rw] name
3269
3294
  # @return [::String]
3270
- # Required. Resource name of the organization and deidentify template to be
3271
- # deleted, for example
3272
- # `organizations/433245324/deidentifyTemplates/432452342` or
3295
+ # Required. Resource name of the organization and deidentify template to be deleted,
3296
+ # for example `organizations/433245324/deidentifyTemplates/432452342` or
3273
3297
  # projects/project-id/deidentifyTemplates/432452342.
3274
3298
  class DeleteDeidentifyTemplateRequest
3275
3299
  include ::Google::Protobuf::MessageExts
@@ -3396,8 +3420,11 @@ module Google
3396
3420
  # Request message for CreateStoredInfoType.
3397
3421
  # @!attribute [rw] parent
3398
3422
  # @return [::String]
3399
- # Required. The parent resource name, for example projects/my-project-id or
3400
- # organizations/my-org-id or projects/my-project-id/locations/\\{location_id}
3423
+ # 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]
3401
3428
  # @!attribute [rw] config
3402
3429
  # @return [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig]
3403
3430
  # Required. Configuration of the storedInfoType to create.
@@ -3437,8 +3464,8 @@ module Google
3437
3464
  # Request message for GetStoredInfoType.
3438
3465
  # @!attribute [rw] name
3439
3466
  # @return [::String]
3440
- # Required. Resource name of the organization and storedInfoType to be read,
3441
- # for example `organizations/433245324/storedInfoTypes/432452342` or
3467
+ # Required. Resource name of the organization and storedInfoType to be read, for
3468
+ # example `organizations/433245324/storedInfoTypes/432452342` or
3442
3469
  # projects/project-id/storedInfoTypes/432452342.
3443
3470
  class GetStoredInfoTypeRequest
3444
3471
  include ::Google::Protobuf::MessageExts
@@ -3448,8 +3475,11 @@ module Google
3448
3475
  # Request message for ListStoredInfoTypes.
3449
3476
  # @!attribute [rw] parent
3450
3477
  # @return [::String]
3451
- # Required. The parent resource name, for example projects/my-project-id or
3452
- # organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
3478
+ # 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]
3453
3483
  # @!attribute [rw] page_token
3454
3484
  # @return [::String]
3455
3485
  # Page token to continue retrieval. Comes from previous call
@@ -3498,8 +3528,8 @@ module Google
3498
3528
  # Request message for DeleteStoredInfoType.
3499
3529
  # @!attribute [rw] name
3500
3530
  # @return [::String]
3501
- # Required. Resource name of the organization and storedInfoType to be
3502
- # deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
3531
+ # Required. Resource name of the organization and storedInfoType to be deleted, for
3532
+ # example `organizations/433245324/storedInfoTypes/432452342` or
3503
3533
  # projects/project-id/storedInfoTypes/432452342.
3504
3534
  class DeleteStoredInfoTypeRequest
3505
3535
  include ::Google::Protobuf::MessageExts
@@ -3509,8 +3539,8 @@ module Google
3509
3539
  # Request to search for potentially sensitive info in a custom location.
3510
3540
  # @!attribute [rw] name
3511
3541
  # @return [::String]
3512
- # Required. Resource name of the trigger to execute a hybrid inspect on, for
3513
- # example `projects/dlp-test-project/jobTriggers/53234423`.
3542
+ # Required. Resource name of the trigger to execute a hybrid inspect on, for example
3543
+ # `projects/dlp-test-project/jobTriggers/53234423`.
3514
3544
  # @!attribute [rw] hybrid_item
3515
3545
  # @return [::Google::Cloud::Dlp::V2::HybridContentItem]
3516
3546
  # The item to inspect.
@@ -3522,8 +3552,8 @@ module Google
3522
3552
  # Request to search for potentially sensitive info in a custom location.
3523
3553
  # @!attribute [rw] name
3524
3554
  # @return [::String]
3525
- # Required. Resource name of the job to execute a hybrid inspect on, for
3526
- # example `projects/dlp-test-project/dlpJob/53234423`.
3555
+ # Required. Resource name of the job to execute a hybrid inspect on, for example
3556
+ # `projects/dlp-test-project/dlpJob/53234423`.
3527
3557
  # @!attribute [rw] hybrid_item
3528
3558
  # @return [::Google::Cloud::Dlp::V2::HybridContentItem]
3529
3559
  # The item to inspect.
@@ -3678,7 +3708,7 @@ module Google
3678
3708
  # Unused
3679
3709
  METADATATYPE_UNSPECIFIED = 0
3680
3710
 
3681
- # General file metadata provided by GCS.
3711
+ # General file metadata provided by Cloud Storage.
3682
3712
  STORAGE_METADATA = 2
3683
3713
  end
3684
3714
 
@@ -767,12 +767,17 @@ module Google
767
767
  VERY_LIKELY = 5
768
768
  end
769
769
 
770
- # Definitions of file type groups to scan.
770
+ # Definitions of file type groups to scan. New types will be added to this
771
+ # list.
771
772
  module FileType
772
773
  # Includes all files.
773
774
  FILE_TYPE_UNSPECIFIED = 0
774
775
 
775
- # Includes all file extensions not covered by text file types.
776
+ # Includes all file extensions not covered by another entry. Binary
777
+ # scanning attempts to convert the content of the file to utf_8 to scan
778
+ # the file.
779
+ # If you wish to avoid this fall back, specify one or more of the other
780
+ # FileType's in your storage scan.
776
781
  BINARY_FILE = 1
777
782
 
778
783
  # Included file extensions:
@@ -789,10 +794,12 @@ module Google
789
794
  # Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.
790
795
  IMAGE = 3
791
796
 
797
+ # Word files >30 MB will be scanned as binary files.
792
798
  # Included file extensions:
793
799
  # docx, dotx, docm, dotm
794
800
  WORD = 5
795
801
 
802
+ # PDF files >30 MB will be scanned as binary files.
796
803
  # Included file extensions:
797
804
  # pdf
798
805
  PDF = 6
@@ -800,6 +807,14 @@ module Google
800
807
  # Included file extensions:
801
808
  # avro
802
809
  AVRO = 7
810
+
811
+ # Included file extensions:
812
+ # csv
813
+ CSV = 8
814
+
815
+ # Included file extensions:
816
+ # tsv
817
+ TSV = 9
803
818
  end
804
819
  end
805
820
  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.3.3
4
+ version: 0.4.0
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-06-18 00:00:00.000000000 Z
11
+ date: 2020-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: '0.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.2'
26
+ version: '0.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-errors
29
29
  requirement: !ruby/object:Gem::Requirement