google-cloud-dlp-v2 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dlp/v2/dlp_service/client.rb +40 -46
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +20 -0
- data/lib/google/privacy/dlp/v2/storage_pb.rb +2 -0
- data/proto_docs/google/privacy/dlp/v2/dlp.rb +88 -58
- data/proto_docs/google/privacy/dlp/v2/storage.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b92e3213f9c1d1a5f808ca703cd7759f474520f9d0f3c24d0580993aaf6c2e07
|
4
|
+
data.tar.gz: 535de29e1a1ac106bccd55327971ba841cd151b41e32f7296c84fbdcc6d85f3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 502e8b861ea752647cf2c16db674082f0ea6775ae25ea0185709c067d8c51d33b488092399b979892b3bb132edfe899617fb4c1c598f09f13e2e341a65107532
|
7
|
+
data.tar.gz: 67f860bf279321dd8bd5d187c7a46304b1abc4aacf558993ace94cd2f2f7882b5ffa4938d614fcb60a6dfd8f9138b3072945c67b7d16e19f800cbd042d12c886
|
@@ -384,7 +384,8 @@ module Google
|
|
384
384
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
385
385
|
#
|
386
386
|
# @param parent [::String]
|
387
|
-
# The parent resource name, for example projects/my-project-id
|
387
|
+
# The parent resource name, for example projects/my-project-id
|
388
|
+
# or projects/my-project-id/locations/\\{location_id}
|
388
389
|
# @param inspect_config [::Google::Cloud::Dlp::V2::InspectConfig, ::Hash]
|
389
390
|
# Configuration for the inspector. What specified here will override
|
390
391
|
# the template referenced by the inspect_template_name argument.
|
@@ -397,8 +398,7 @@ module Google
|
|
397
398
|
# template. Repeated fields are appended. Singular sub-messages and groups
|
398
399
|
# are recursively merged.
|
399
400
|
# @param location_id [::String]
|
400
|
-
#
|
401
|
-
# extensions.
|
401
|
+
# Deprecated. This field has no effect.
|
402
402
|
#
|
403
403
|
# @yield [response, operation] Access the result along with the RPC operation
|
404
404
|
# @yieldparam response [::Google::Cloud::Dlp::V2::InspectContentResponse]
|
@@ -471,10 +471,10 @@ module Google
|
|
471
471
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
472
472
|
#
|
473
473
|
# @param parent [::String]
|
474
|
-
# The parent resource name, for example projects/my-project-id
|
474
|
+
# The parent resource name, for example projects/my-project-id
|
475
|
+
# or projects/my-project-id/locations/\\{location_id}.
|
475
476
|
# @param location_id [::String]
|
476
|
-
#
|
477
|
-
# extensions.
|
477
|
+
# Deprecated. This field has no effect.
|
478
478
|
# @param inspect_config [::Google::Cloud::Dlp::V2::InspectConfig, ::Hash]
|
479
479
|
# Configuration for the inspector.
|
480
480
|
# @param image_redaction_configs [::Array<::Google::Cloud::Dlp::V2::RedactImageRequest::ImageRedactionConfig, ::Hash>]
|
@@ -556,7 +556,8 @@ module Google
|
|
556
556
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
557
557
|
#
|
558
558
|
# @param parent [::String]
|
559
|
-
# The parent resource name, for example projects/my-project-id
|
559
|
+
# The parent resource name, for example projects/my-project-id
|
560
|
+
# or projects/my-project-id/locations/\\{location_id}.
|
560
561
|
# @param deidentify_config [::Google::Cloud::Dlp::V2::DeidentifyConfig, ::Hash]
|
561
562
|
# Configuration for the de-identification of the content item.
|
562
563
|
# Items specified here will override the template referenced by the
|
@@ -580,8 +581,7 @@ module Google
|
|
580
581
|
# template. Repeated fields are appended. Singular sub-messages and groups
|
581
582
|
# are recursively merged.
|
582
583
|
# @param location_id [::String]
|
583
|
-
#
|
584
|
-
# extensions.
|
584
|
+
# Deprecated. This field has no effect.
|
585
585
|
#
|
586
586
|
# @yield [response, operation] Access the result along with the RPC operation
|
587
587
|
# @yieldparam response [::Google::Cloud::Dlp::V2::DeidentifyContentResponse]
|
@@ -680,8 +680,7 @@ module Google
|
|
680
680
|
# template. Repeated fields are appended. Singular sub-messages and groups
|
681
681
|
# are recursively merged.
|
682
682
|
# @param location_id [::String]
|
683
|
-
#
|
684
|
-
# future extensions.
|
683
|
+
# Deprecated. This field has no effect.
|
685
684
|
#
|
686
685
|
# @yield [response, operation] Access the result along with the RPC operation
|
687
686
|
# @yieldparam response [::Google::Cloud::Dlp::V2::ReidentifyContentResponse]
|
@@ -743,11 +742,13 @@ module Google
|
|
743
742
|
# @param options [::Gapic::CallOptions, ::Hash]
|
744
743
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
745
744
|
#
|
746
|
-
# @overload list_info_types(language_code: nil, filter: nil, location_id: nil)
|
745
|
+
# @overload list_info_types(parent: nil, language_code: nil, filter: nil, location_id: nil)
|
747
746
|
# Pass arguments to `list_info_types` via keyword arguments. Note that at
|
748
747
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
749
748
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
750
749
|
#
|
750
|
+
# @param parent [::String]
|
751
|
+
# The parent resource name, for example locations/\\{location_id}
|
751
752
|
# @param language_code [::String]
|
752
753
|
# BCP-47 language code for localized infoType friendly
|
753
754
|
# names. If omitted, or if localized strings are not available,
|
@@ -756,8 +757,7 @@ module Google
|
|
756
757
|
# filter to only return infoTypes supported by certain parts of the
|
757
758
|
# API. Defaults to supported_by=INSPECT.
|
758
759
|
# @param location_id [::String]
|
759
|
-
#
|
760
|
-
# extensions.
|
760
|
+
# Deprecated. This field has no effect.
|
761
761
|
#
|
762
762
|
# @yield [response, operation] Access the result along with the RPC operation
|
763
763
|
# @yieldparam response [::Google::Cloud::Dlp::V2::ListInfoTypesResponse]
|
@@ -820,7 +820,7 @@ module Google
|
|
820
820
|
#
|
821
821
|
# @param parent [::String]
|
822
822
|
# Required. The parent resource name, for example projects/my-project-id or
|
823
|
-
# organizations/my-org-id.
|
823
|
+
# organizations/my-org-id or projects/my-project-id/locations/\\{location-id}.
|
824
824
|
# @param inspect_template [::Google::Cloud::Dlp::V2::InspectTemplate, ::Hash]
|
825
825
|
# Required. The InspectTemplate to create.
|
826
826
|
# @param template_id [::String]
|
@@ -829,8 +829,7 @@ module Google
|
|
829
829
|
# expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
|
830
830
|
# characters. Can be empty to allow the system to generate one.
|
831
831
|
# @param location_id [::String]
|
832
|
-
#
|
833
|
-
# future extensions.
|
832
|
+
# Deprecated. This field has no effect.
|
834
833
|
#
|
835
834
|
# @yield [response, operation] Access the result along with the RPC operation
|
836
835
|
# @yieldparam response [::Google::Cloud::Dlp::V2::InspectTemplate]
|
@@ -1040,7 +1039,7 @@ module Google
|
|
1040
1039
|
#
|
1041
1040
|
# @param parent [::String]
|
1042
1041
|
# Required. The parent resource name, for example projects/my-project-id or
|
1043
|
-
# organizations/my-org-id.
|
1042
|
+
# organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
|
1044
1043
|
# @param page_token [::String]
|
1045
1044
|
# Page token to continue retrieval. Comes from previous call
|
1046
1045
|
# to `ListInspectTemplates`.
|
@@ -1062,8 +1061,7 @@ module Google
|
|
1062
1061
|
# - `name`: corresponds to template's name.
|
1063
1062
|
# - `display_name`: corresponds to template's display name.
|
1064
1063
|
# @param location_id [::String]
|
1065
|
-
#
|
1066
|
-
# Use `-` for all locations. Reserved for future extensions.
|
1064
|
+
# Deprecated. This field has no effect.
|
1067
1065
|
#
|
1068
1066
|
# @yield [response, operation] Access the result along with the RPC operation
|
1069
1067
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::InspectTemplate>]
|
@@ -1203,7 +1201,7 @@ module Google
|
|
1203
1201
|
#
|
1204
1202
|
# @param parent [::String]
|
1205
1203
|
# Required. The parent resource name, for example projects/my-project-id or
|
1206
|
-
# organizations/my-org-id.
|
1204
|
+
# organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
|
1207
1205
|
# @param deidentify_template [::Google::Cloud::Dlp::V2::DeidentifyTemplate, ::Hash]
|
1208
1206
|
# Required. The DeidentifyTemplate to create.
|
1209
1207
|
# @param template_id [::String]
|
@@ -1212,8 +1210,7 @@ module Google
|
|
1212
1210
|
# expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
|
1213
1211
|
# characters. Can be empty to allow the system to generate one.
|
1214
1212
|
# @param location_id [::String]
|
1215
|
-
#
|
1216
|
-
# for future extensions.
|
1213
|
+
# Deprecated. This field has no effect.
|
1217
1214
|
#
|
1218
1215
|
# @yield [response, operation] Access the result along with the RPC operation
|
1219
1216
|
# @yieldparam response [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
|
@@ -1427,7 +1424,7 @@ module Google
|
|
1427
1424
|
#
|
1428
1425
|
# @param parent [::String]
|
1429
1426
|
# Required. The parent resource name, for example projects/my-project-id or
|
1430
|
-
# organizations/my-org-id.
|
1427
|
+
# organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
|
1431
1428
|
# @param page_token [::String]
|
1432
1429
|
# Page token to continue retrieval. Comes from previous call
|
1433
1430
|
# to `ListDeidentifyTemplates`.
|
@@ -1449,8 +1446,7 @@ module Google
|
|
1449
1446
|
# - `name`: corresponds to template's name.
|
1450
1447
|
# - `display_name`: corresponds to template's display name.
|
1451
1448
|
# @param location_id [::String]
|
1452
|
-
#
|
1453
|
-
# from. Use `-` for all locations. Reserved for future extensions.
|
1449
|
+
# Deprecated. This field has no effect.
|
1454
1450
|
#
|
1455
1451
|
# @yield [response, operation] Access the result along with the RPC operation
|
1456
1452
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::DeidentifyTemplate>]
|
@@ -1590,7 +1586,8 @@ module Google
|
|
1590
1586
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1591
1587
|
#
|
1592
1588
|
# @param parent [::String]
|
1593
|
-
# Required. The parent resource name, for example projects/my-project-id
|
1589
|
+
# Required. The parent resource name, for example projects/my-project-id
|
1590
|
+
# or projects/my-project-id/locations/\\{location_id}.
|
1594
1591
|
# @param job_trigger [::Google::Cloud::Dlp::V2::JobTrigger, ::Hash]
|
1595
1592
|
# Required. The JobTrigger to create.
|
1596
1593
|
# @param trigger_id [::String]
|
@@ -1599,8 +1596,7 @@ module Google
|
|
1599
1596
|
# expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
|
1600
1597
|
# characters. Can be empty to allow the system to generate one.
|
1601
1598
|
# @param location_id [::String]
|
1602
|
-
#
|
1603
|
-
# future extensions.
|
1599
|
+
# Deprecated. This field has no effect.
|
1604
1600
|
#
|
1605
1601
|
# @yield [response, operation] Access the result along with the RPC operation
|
1606
1602
|
# @yieldparam response [::Google::Cloud::Dlp::V2::JobTrigger]
|
@@ -1881,7 +1877,8 @@ module Google
|
|
1881
1877
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1882
1878
|
#
|
1883
1879
|
# @param parent [::String]
|
1884
|
-
# Required. The parent resource name, for example `projects/my-project-id
|
1880
|
+
# Required. The parent resource name, for example `projects/my-project-id`
|
1881
|
+
# or projects/my-project-id/locations/\\{location_id}.
|
1885
1882
|
# @param page_token [::String]
|
1886
1883
|
# Page token to continue retrieval. Comes from previous call
|
1887
1884
|
# to ListJobTriggers. `order_by` field must not
|
@@ -1930,8 +1927,7 @@ module Google
|
|
1930
1927
|
#
|
1931
1928
|
# The length of this field should be no more than 500 characters.
|
1932
1929
|
# @param location_id [::String]
|
1933
|
-
#
|
1934
|
-
# Use `-` for all locations. Reserved for future extensions.
|
1930
|
+
# Deprecated. This field has no effect.
|
1935
1931
|
#
|
1936
1932
|
# @yield [response, operation] Access the result along with the RPC operation
|
1937
1933
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::JobTrigger>]
|
@@ -2140,7 +2136,8 @@ module Google
|
|
2140
2136
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2141
2137
|
#
|
2142
2138
|
# @param parent [::String]
|
2143
|
-
# Required. The parent resource name, for example projects/my-project-id
|
2139
|
+
# Required. The parent resource name, for example projects/my-project-id
|
2140
|
+
# or projects/my-project-id/locations/\\{location_id}.
|
2144
2141
|
# @param inspect_job [::Google::Cloud::Dlp::V2::InspectJobConfig, ::Hash]
|
2145
2142
|
# Set to control what and how to inspect.
|
2146
2143
|
# @param risk_job [::Google::Cloud::Dlp::V2::RiskAnalysisJobConfig, ::Hash]
|
@@ -2151,8 +2148,7 @@ module Google
|
|
2151
2148
|
# expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
|
2152
2149
|
# characters. Can be empty to allow the system to generate one.
|
2153
2150
|
# @param location_id [::String]
|
2154
|
-
#
|
2155
|
-
# future extensions.
|
2151
|
+
# Deprecated. This field has no effect.
|
2156
2152
|
#
|
2157
2153
|
# @yield [response, operation] Access the result along with the RPC operation
|
2158
2154
|
# @yieldparam response [::Google::Cloud::Dlp::V2::DlpJob]
|
@@ -2220,7 +2216,8 @@ module Google
|
|
2220
2216
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2221
2217
|
#
|
2222
2218
|
# @param parent [::String]
|
2223
|
-
# Required. The parent resource name, for example projects/my-project-id
|
2219
|
+
# Required. The parent resource name, for example projects/my-project-id
|
2220
|
+
# or projects/my-project-id/locations/\\{location_id}.
|
2224
2221
|
# @param filter [::String]
|
2225
2222
|
# Allows filtering.
|
2226
2223
|
#
|
@@ -2271,8 +2268,7 @@ module Google
|
|
2271
2268
|
# - `name`: corresponds to job's name.
|
2272
2269
|
# - `state`: corresponds to `state`
|
2273
2270
|
# @param location_id [::String]
|
2274
|
-
#
|
2275
|
-
# Use `-` for all locations. Reserved for future extensions.
|
2271
|
+
# Deprecated. This field has no effect.
|
2276
2272
|
#
|
2277
2273
|
# @yield [response, operation] Access the result along with the RPC operation
|
2278
2274
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::DlpJob>]
|
@@ -2550,7 +2546,7 @@ module Google
|
|
2550
2546
|
#
|
2551
2547
|
# @param parent [::String]
|
2552
2548
|
# Required. The parent resource name, for example projects/my-project-id or
|
2553
|
-
# organizations/my-org-id
|
2549
|
+
# organizations/my-org-id or projects/my-project-id/locations/\\{location_id}
|
2554
2550
|
# @param config [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig, ::Hash]
|
2555
2551
|
# Required. Configuration of the storedInfoType to create.
|
2556
2552
|
# @param stored_info_type_id [::String]
|
@@ -2559,8 +2555,7 @@ module Google
|
|
2559
2555
|
# expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
|
2560
2556
|
# characters. Can be empty to allow the system to generate one.
|
2561
2557
|
# @param location_id [::String]
|
2562
|
-
#
|
2563
|
-
# future extensions.
|
2558
|
+
# Deprecated. This field has no effect.
|
2564
2559
|
#
|
2565
2560
|
# @yield [response, operation] Access the result along with the RPC operation
|
2566
2561
|
# @yieldparam response [::Google::Cloud::Dlp::V2::StoredInfoType]
|
@@ -2629,8 +2624,8 @@ module Google
|
|
2629
2624
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2630
2625
|
#
|
2631
2626
|
# @param name [::String]
|
2632
|
-
# Required. Resource name of organization and storedInfoType to be updated,
|
2633
|
-
#
|
2627
|
+
# Required. Resource name of organization and storedInfoType to be updated, for
|
2628
|
+
# example `organizations/433245324/storedInfoTypes/432452342` or
|
2634
2629
|
# projects/project-id/storedInfoTypes/432452342.
|
2635
2630
|
# @param config [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig, ::Hash]
|
2636
2631
|
# Updated configuration for the storedInfoType. If not provided, a new
|
@@ -2776,7 +2771,7 @@ module Google
|
|
2776
2771
|
#
|
2777
2772
|
# @param parent [::String]
|
2778
2773
|
# Required. The parent resource name, for example projects/my-project-id or
|
2779
|
-
# organizations/my-org-id.
|
2774
|
+
# organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
|
2780
2775
|
# @param page_token [::String]
|
2781
2776
|
# Page token to continue retrieval. Comes from previous call
|
2782
2777
|
# to `ListStoredInfoTypes`.
|
@@ -2799,8 +2794,7 @@ module Google
|
|
2799
2794
|
# - `name`: corresponds to resource name.
|
2800
2795
|
# - `display_name`: corresponds to info type's display name.
|
2801
2796
|
# @param location_id [::String]
|
2802
|
-
#
|
2803
|
-
# Use `-` for all locations. Reserved for future extensions.
|
2797
|
+
# Deprecated. This field has no effect.
|
2804
2798
|
#
|
2805
2799
|
# @yield [response, operation] Access the result along with the RPC operation
|
2806
2800
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::StoredInfoType>]
|
@@ -70,6 +70,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
70
70
|
value :IMAGE_PNG, 3
|
71
71
|
value :IMAGE_SVG, 4
|
72
72
|
value :TEXT_UTF8, 5
|
73
|
+
value :WORD_DOCUMENT, 7
|
74
|
+
value :PDF, 8
|
73
75
|
value :AVRO, 11
|
74
76
|
end
|
75
77
|
add_message "google.privacy.dlp.v2.ContentItem" do
|
@@ -118,8 +120,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
118
120
|
optional :record_location, :message, 2, "google.privacy.dlp.v2.RecordLocation"
|
119
121
|
optional :image_location, :message, 3, "google.privacy.dlp.v2.ImageLocation"
|
120
122
|
optional :document_location, :message, 5, "google.privacy.dlp.v2.DocumentLocation"
|
123
|
+
optional :metadata_location, :message, 8, "google.privacy.dlp.v2.MetadataLocation"
|
121
124
|
end
|
122
125
|
end
|
126
|
+
add_message "google.privacy.dlp.v2.MetadataLocation" do
|
127
|
+
optional :type, :enum, 1, "google.privacy.dlp.v2.MetadataType"
|
128
|
+
oneof :label do
|
129
|
+
optional :storage_label, :message, 3, "google.privacy.dlp.v2.StorageMetadataLabel"
|
130
|
+
end
|
131
|
+
end
|
132
|
+
add_message "google.privacy.dlp.v2.StorageMetadataLabel" do
|
133
|
+
optional :key, :string, 1
|
134
|
+
end
|
123
135
|
add_message "google.privacy.dlp.v2.DocumentLocation" do
|
124
136
|
optional :file_offset, :int64, 1
|
125
137
|
end
|
@@ -258,6 +270,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
258
270
|
optional :description, :string, 4
|
259
271
|
end
|
260
272
|
add_message "google.privacy.dlp.v2.ListInfoTypesRequest" do
|
273
|
+
optional :parent, :string, 4
|
261
274
|
optional :language_code, :string, 1
|
262
275
|
optional :filter, :string, 2
|
263
276
|
optional :location_id, :string, 3
|
@@ -987,6 +1000,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
987
1000
|
value :CONTENT_TEXT, 1
|
988
1001
|
value :CONTENT_IMAGE, 2
|
989
1002
|
end
|
1003
|
+
add_enum "google.privacy.dlp.v2.MetadataType" do
|
1004
|
+
value :METADATATYPE_UNSPECIFIED, 0
|
1005
|
+
value :STORAGE_METADATA, 2
|
1006
|
+
end
|
990
1007
|
add_enum "google.privacy.dlp.v2.InfoTypeSupportedBy" do
|
991
1008
|
value :ENUM_TYPE_UNSPECIFIED, 0
|
992
1009
|
value :INSPECT, 1
|
@@ -1027,6 +1044,8 @@ module Google
|
|
1027
1044
|
Finding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Finding").msgclass
|
1028
1045
|
Location = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Location").msgclass
|
1029
1046
|
ContentLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ContentLocation").msgclass
|
1047
|
+
MetadataLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.MetadataLocation").msgclass
|
1048
|
+
StorageMetadataLabel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.StorageMetadataLabel").msgclass
|
1030
1049
|
DocumentLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DocumentLocation").msgclass
|
1031
1050
|
RecordLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RecordLocation").msgclass
|
1032
1051
|
TableLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TableLocation").msgclass
|
@@ -1192,6 +1211,7 @@ module Google
|
|
1192
1211
|
RelationalOperator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RelationalOperator").enummodule
|
1193
1212
|
MatchingType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.MatchingType").enummodule
|
1194
1213
|
ContentOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ContentOption").enummodule
|
1214
|
+
MetadataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.MetadataType").enummodule
|
1195
1215
|
InfoTypeSupportedBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InfoTypeSupportedBy").enummodule
|
1196
1216
|
DlpJobType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DlpJobType").enummodule
|
1197
1217
|
StoredInfoTypeState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.StoredInfoTypeState").enummodule
|
@@ -178,7 +178,7 @@ module Google
|
|
178
178
|
include ::Google::Protobuf::MessageExts
|
179
179
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
180
180
|
|
181
|
-
# The type of data being sent
|
181
|
+
# The type of data being sent for inspection.
|
182
182
|
module BytesType
|
183
183
|
# Unused
|
184
184
|
BYTES_TYPE_UNSPECIFIED = 0
|
@@ -201,6 +201,12 @@ module Google
|
|
201
201
|
# plain text
|
202
202
|
TEXT_UTF8 = 5
|
203
203
|
|
204
|
+
# docx, docm, dotx, dotm
|
205
|
+
WORD_DOCUMENT = 7
|
206
|
+
|
207
|
+
# pdf
|
208
|
+
PDF = 8
|
209
|
+
|
204
210
|
# avro
|
205
211
|
AVRO = 11
|
206
212
|
end
|
@@ -300,13 +306,9 @@ module Google
|
|
300
306
|
# @!attribute [rw] trigger_name
|
301
307
|
# @return [::String]
|
302
308
|
# Job trigger name, if applicable, for this finding.
|
303
|
-
# (-- api-linter: core::0122::name-suffix=disabled
|
304
|
-
# aip.dev/not-precedent: AIP-122 discourages _name suffixes for
|
305
|
-
# resource names, but this has existed as part of the bigquery schema
|
306
|
-
# before this rule existed. --)
|
307
309
|
# @!attribute [rw] labels
|
308
310
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
309
|
-
# The labels associated with this `
|
311
|
+
# The labels associated with this `Finding`.
|
310
312
|
#
|
311
313
|
# Label keys must be between 1 and 63 characters long and must conform
|
312
314
|
# to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
|
@@ -325,10 +327,6 @@ module Google
|
|
325
327
|
# @!attribute [rw] job_name
|
326
328
|
# @return [::String]
|
327
329
|
# The job that stored the finding.
|
328
|
-
# (-- api-linter: core::0122::name-suffix=disabled
|
329
|
-
# aip.dev/not-precedent: AIP-122 discourages _name suffixes for
|
330
|
-
# resource names, but this has existed as part of the bigquery schema
|
331
|
-
# before this rule existed. --)
|
332
330
|
class Finding
|
333
331
|
include ::Google::Protobuf::MessageExts
|
334
332
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -391,6 +389,9 @@ module Google
|
|
391
389
|
# @!attribute [rw] document_location
|
392
390
|
# @return [::Google::Cloud::Dlp::V2::DocumentLocation]
|
393
391
|
# Location data for document files.
|
392
|
+
# @!attribute [rw] metadata_location
|
393
|
+
# @return [::Google::Cloud::Dlp::V2::MetadataLocation]
|
394
|
+
# Location within the metadata for inspected content.
|
394
395
|
# @!attribute [rw] container_timestamp
|
395
396
|
# @return [::Google::Protobuf::Timestamp]
|
396
397
|
# Findings container modification timestamp, if applicable.
|
@@ -406,6 +407,26 @@ module Google
|
|
406
407
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
407
408
|
end
|
408
409
|
|
410
|
+
# Metadata Location
|
411
|
+
# @!attribute [rw] type
|
412
|
+
# @return [::Google::Cloud::Dlp::V2::MetadataType]
|
413
|
+
# Type of metadata containing the finding.
|
414
|
+
# @!attribute [rw] storage_label
|
415
|
+
# @return [::Google::Cloud::Dlp::V2::StorageMetadataLabel]
|
416
|
+
# Storage metadata.
|
417
|
+
class MetadataLocation
|
418
|
+
include ::Google::Protobuf::MessageExts
|
419
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
420
|
+
end
|
421
|
+
|
422
|
+
# Storage metadata label to indicate which metadata entry contains findings.
|
423
|
+
# @!attribute [rw] key
|
424
|
+
# @return [::String]
|
425
|
+
class StorageMetadataLabel
|
426
|
+
include ::Google::Protobuf::MessageExts
|
427
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
428
|
+
end
|
429
|
+
|
409
430
|
# Location of a finding within a document.
|
410
431
|
# @!attribute [rw] file_offset
|
411
432
|
# @return [::Integer]
|
@@ -434,7 +455,12 @@ module Google
|
|
434
455
|
# Location of a finding within a table.
|
435
456
|
# @!attribute [rw] row_index
|
436
457
|
# @return [::Integer]
|
437
|
-
# The zero-based index of the row where the finding is located.
|
458
|
+
# The zero-based index of the row where the finding is located. Only
|
459
|
+
# populated for resources that have a natural ordering, not BigQuery. In
|
460
|
+
# BigQuery, to identify the row a finding came from, populate
|
461
|
+
# BigQueryOptions.identifying_fields with your primary key column names and
|
462
|
+
# when you store the findings the value of those columns will be stored
|
463
|
+
# inside of Finding.
|
438
464
|
class TableLocation
|
439
465
|
include ::Google::Protobuf::MessageExts
|
440
466
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -529,11 +555,11 @@ module Google
|
|
529
555
|
# by covering it with a colored rectangle.
|
530
556
|
# @!attribute [rw] parent
|
531
557
|
# @return [::String]
|
532
|
-
# The parent resource name, for example projects/my-project-id
|
558
|
+
# The parent resource name, for example projects/my-project-id
|
559
|
+
# or projects/my-project-id/locations/\\{location_id}.
|
533
560
|
# @!attribute [rw] location_id
|
534
561
|
# @return [::String]
|
535
|
-
#
|
536
|
-
# extensions.
|
562
|
+
# Deprecated. This field has no effect.
|
537
563
|
# @!attribute [rw] inspect_config
|
538
564
|
# @return [::Google::Cloud::Dlp::V2::InspectConfig]
|
539
565
|
# Configuration for the inspector.
|
@@ -607,7 +633,8 @@ module Google
|
|
607
633
|
# Request to de-identify a list of items.
|
608
634
|
# @!attribute [rw] parent
|
609
635
|
# @return [::String]
|
610
|
-
# The parent resource name, for example projects/my-project-id
|
636
|
+
# The parent resource name, for example projects/my-project-id
|
637
|
+
# or projects/my-project-id/locations/\\{location_id}.
|
611
638
|
# @!attribute [rw] deidentify_config
|
612
639
|
# @return [::Google::Cloud::Dlp::V2::DeidentifyConfig]
|
613
640
|
# Configuration for the de-identification of the content item.
|
@@ -637,8 +664,7 @@ module Google
|
|
637
664
|
# are recursively merged.
|
638
665
|
# @!attribute [rw] location_id
|
639
666
|
# @return [::String]
|
640
|
-
#
|
641
|
-
# extensions.
|
667
|
+
# Deprecated. This field has no effect.
|
642
668
|
class DeidentifyContentRequest
|
643
669
|
include ::Google::Protobuf::MessageExts
|
644
670
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -695,8 +721,7 @@ module Google
|
|
695
721
|
# are recursively merged.
|
696
722
|
# @!attribute [rw] location_id
|
697
723
|
# @return [::String]
|
698
|
-
#
|
699
|
-
# future extensions.
|
724
|
+
# Deprecated. This field has no effect.
|
700
725
|
class ReidentifyContentRequest
|
701
726
|
include ::Google::Protobuf::MessageExts
|
702
727
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -717,7 +742,8 @@ module Google
|
|
717
742
|
# Request to search for potentially sensitive info in a ContentItem.
|
718
743
|
# @!attribute [rw] parent
|
719
744
|
# @return [::String]
|
720
|
-
# The parent resource name, for example projects/my-project-id
|
745
|
+
# The parent resource name, for example projects/my-project-id
|
746
|
+
# or projects/my-project-id/locations/\\{location_id}
|
721
747
|
# @!attribute [rw] inspect_config
|
722
748
|
# @return [::Google::Cloud::Dlp::V2::InspectConfig]
|
723
749
|
# Configuration for the inspector. What specified here will override
|
@@ -734,8 +760,7 @@ module Google
|
|
734
760
|
# are recursively merged.
|
735
761
|
# @!attribute [rw] location_id
|
736
762
|
# @return [::String]
|
737
|
-
#
|
738
|
-
# extensions.
|
763
|
+
# Deprecated. This field has no effect.
|
739
764
|
class InspectContentRequest
|
740
765
|
include ::Google::Protobuf::MessageExts
|
741
766
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -906,6 +931,9 @@ module Google
|
|
906
931
|
end
|
907
932
|
|
908
933
|
# Request for the list of infoTypes.
|
934
|
+
# @!attribute [rw] parent
|
935
|
+
# @return [::String]
|
936
|
+
# The parent resource name, for example locations/\\{location_id}
|
909
937
|
# @!attribute [rw] language_code
|
910
938
|
# @return [::String]
|
911
939
|
# BCP-47 language code for localized infoType friendly
|
@@ -917,8 +945,7 @@ module Google
|
|
917
945
|
# API. Defaults to supported_by=INSPECT.
|
918
946
|
# @!attribute [rw] location_id
|
919
947
|
# @return [::String]
|
920
|
-
#
|
921
|
-
# extensions.
|
948
|
+
# Deprecated. This field has no effect.
|
922
949
|
class ListInfoTypesRequest
|
923
950
|
include ::Google::Protobuf::MessageExts
|
924
951
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -2500,8 +2527,8 @@ module Google
|
|
2500
2527
|
# a single Schedule trigger and must have at least one object.
|
2501
2528
|
# @!attribute [r] errors
|
2502
2529
|
# @return [::Array<::Google::Cloud::Dlp::V2::Error>]
|
2503
|
-
# Output only. A stream of errors encountered when the trigger was activated.
|
2504
|
-
#
|
2530
|
+
# Output only. A stream of errors encountered when the trigger was activated. Repeated
|
2531
|
+
# errors may result in the JobTrigger automatically being paused.
|
2505
2532
|
# Will return the last 100 errors. Whenever the JobTrigger is modified
|
2506
2533
|
# this list will be cleared.
|
2507
2534
|
# @!attribute [r] create_time
|
@@ -2658,7 +2685,7 @@ module Google
|
|
2658
2685
|
# @!attribute [rw] parent
|
2659
2686
|
# @return [::String]
|
2660
2687
|
# Required. The parent resource name, for example projects/my-project-id or
|
2661
|
-
# organizations/my-org-id.
|
2688
|
+
# organizations/my-org-id or projects/my-project-id/locations/\\{location-id}.
|
2662
2689
|
# @!attribute [rw] inspect_template
|
2663
2690
|
# @return [::Google::Cloud::Dlp::V2::InspectTemplate]
|
2664
2691
|
# Required. The InspectTemplate to create.
|
@@ -2670,8 +2697,7 @@ module Google
|
|
2670
2697
|
# characters. Can be empty to allow the system to generate one.
|
2671
2698
|
# @!attribute [rw] location_id
|
2672
2699
|
# @return [::String]
|
2673
|
-
#
|
2674
|
-
# future extensions.
|
2700
|
+
# Deprecated. This field has no effect.
|
2675
2701
|
class CreateInspectTemplateRequest
|
2676
2702
|
include ::Google::Protobuf::MessageExts
|
2677
2703
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -2709,7 +2735,7 @@ module Google
|
|
2709
2735
|
# @!attribute [rw] parent
|
2710
2736
|
# @return [::String]
|
2711
2737
|
# Required. The parent resource name, for example projects/my-project-id or
|
2712
|
-
# organizations/my-org-id.
|
2738
|
+
# organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
|
2713
2739
|
# @!attribute [rw] page_token
|
2714
2740
|
# @return [::String]
|
2715
2741
|
# Page token to continue retrieval. Comes from previous call
|
@@ -2735,8 +2761,7 @@ module Google
|
|
2735
2761
|
# - `display_name`: corresponds to template's display name.
|
2736
2762
|
# @!attribute [rw] location_id
|
2737
2763
|
# @return [::String]
|
2738
|
-
#
|
2739
|
-
# Use `-` for all locations. Reserved for future extensions.
|
2764
|
+
# Deprecated. This field has no effect.
|
2740
2765
|
class ListInspectTemplatesRequest
|
2741
2766
|
include ::Google::Protobuf::MessageExts
|
2742
2767
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -2769,7 +2794,8 @@ module Google
|
|
2769
2794
|
# Request message for CreateJobTrigger.
|
2770
2795
|
# @!attribute [rw] parent
|
2771
2796
|
# @return [::String]
|
2772
|
-
# Required. The parent resource name, for example projects/my-project-id
|
2797
|
+
# Required. The parent resource name, for example projects/my-project-id
|
2798
|
+
# or projects/my-project-id/locations/\\{location_id}.
|
2773
2799
|
# @!attribute [rw] job_trigger
|
2774
2800
|
# @return [::Google::Cloud::Dlp::V2::JobTrigger]
|
2775
2801
|
# Required. The JobTrigger to create.
|
@@ -2781,8 +2807,7 @@ module Google
|
|
2781
2807
|
# characters. Can be empty to allow the system to generate one.
|
2782
2808
|
# @!attribute [rw] location_id
|
2783
2809
|
# @return [::String]
|
2784
|
-
#
|
2785
|
-
# future extensions.
|
2810
|
+
# Deprecated. This field has no effect.
|
2786
2811
|
class CreateJobTriggerRequest
|
2787
2812
|
include ::Google::Protobuf::MessageExts
|
2788
2813
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -2829,7 +2854,8 @@ module Google
|
|
2829
2854
|
# Storage.
|
2830
2855
|
# @!attribute [rw] parent
|
2831
2856
|
# @return [::String]
|
2832
|
-
# Required. The parent resource name, for example projects/my-project-id
|
2857
|
+
# Required. The parent resource name, for example projects/my-project-id
|
2858
|
+
# or projects/my-project-id/locations/\\{location_id}.
|
2833
2859
|
# @!attribute [rw] inspect_job
|
2834
2860
|
# @return [::Google::Cloud::Dlp::V2::InspectJobConfig]
|
2835
2861
|
# Set to control what and how to inspect.
|
@@ -2844,8 +2870,7 @@ module Google
|
|
2844
2870
|
# characters. Can be empty to allow the system to generate one.
|
2845
2871
|
# @!attribute [rw] location_id
|
2846
2872
|
# @return [::String]
|
2847
|
-
#
|
2848
|
-
# future extensions.
|
2873
|
+
# Deprecated. This field has no effect.
|
2849
2874
|
class CreateDlpJobRequest
|
2850
2875
|
include ::Google::Protobuf::MessageExts
|
2851
2876
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -2854,7 +2879,8 @@ module Google
|
|
2854
2879
|
# Request message for ListJobTriggers.
|
2855
2880
|
# @!attribute [rw] parent
|
2856
2881
|
# @return [::String]
|
2857
|
-
# Required. The parent resource name, for example `projects/my-project-id
|
2882
|
+
# Required. The parent resource name, for example `projects/my-project-id`
|
2883
|
+
# or projects/my-project-id/locations/\\{location_id}.
|
2858
2884
|
# @!attribute [rw] page_token
|
2859
2885
|
# @return [::String]
|
2860
2886
|
# Page token to continue retrieval. Comes from previous call
|
@@ -2908,8 +2934,7 @@ module Google
|
|
2908
2934
|
# The length of this field should be no more than 500 characters.
|
2909
2935
|
# @!attribute [rw] location_id
|
2910
2936
|
# @return [::String]
|
2911
|
-
#
|
2912
|
-
# Use `-` for all locations. Reserved for future extensions.
|
2937
|
+
# Deprecated. This field has no effect.
|
2913
2938
|
class ListJobTriggersRequest
|
2914
2939
|
include ::Google::Protobuf::MessageExts
|
2915
2940
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3035,7 +3060,8 @@ module Google
|
|
3035
3060
|
# The request message for listing DLP jobs.
|
3036
3061
|
# @!attribute [rw] parent
|
3037
3062
|
# @return [::String]
|
3038
|
-
# Required. The parent resource name, for example projects/my-project-id
|
3063
|
+
# Required. The parent resource name, for example projects/my-project-id
|
3064
|
+
# or projects/my-project-id/locations/\\{location_id}.
|
3039
3065
|
# @!attribute [rw] filter
|
3040
3066
|
# @return [::String]
|
3041
3067
|
# Allows filtering.
|
@@ -3092,8 +3118,7 @@ module Google
|
|
3092
3118
|
# - `state`: corresponds to `state`
|
3093
3119
|
# @!attribute [rw] location_id
|
3094
3120
|
# @return [::String]
|
3095
|
-
#
|
3096
|
-
# Use `-` for all locations. Reserved for future extensions.
|
3121
|
+
# Deprecated. This field has no effect.
|
3097
3122
|
class ListDlpJobsRequest
|
3098
3123
|
include ::Google::Protobuf::MessageExts
|
3099
3124
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3142,7 +3167,7 @@ module Google
|
|
3142
3167
|
# @!attribute [rw] parent
|
3143
3168
|
# @return [::String]
|
3144
3169
|
# Required. The parent resource name, for example projects/my-project-id or
|
3145
|
-
# organizations/my-org-id.
|
3170
|
+
# organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
|
3146
3171
|
# @!attribute [rw] deidentify_template
|
3147
3172
|
# @return [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
|
3148
3173
|
# Required. The DeidentifyTemplate to create.
|
@@ -3154,8 +3179,7 @@ module Google
|
|
3154
3179
|
# characters. Can be empty to allow the system to generate one.
|
3155
3180
|
# @!attribute [rw] location_id
|
3156
3181
|
# @return [::String]
|
3157
|
-
#
|
3158
|
-
# for future extensions.
|
3182
|
+
# Deprecated. This field has no effect.
|
3159
3183
|
class CreateDeidentifyTemplateRequest
|
3160
3184
|
include ::Google::Protobuf::MessageExts
|
3161
3185
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3194,7 +3218,7 @@ module Google
|
|
3194
3218
|
# @!attribute [rw] parent
|
3195
3219
|
# @return [::String]
|
3196
3220
|
# Required. The parent resource name, for example projects/my-project-id or
|
3197
|
-
# organizations/my-org-id.
|
3221
|
+
# organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
|
3198
3222
|
# @!attribute [rw] page_token
|
3199
3223
|
# @return [::String]
|
3200
3224
|
# Page token to continue retrieval. Comes from previous call
|
@@ -3220,8 +3244,7 @@ module Google
|
|
3220
3244
|
# - `display_name`: corresponds to template's display name.
|
3221
3245
|
# @!attribute [rw] location_id
|
3222
3246
|
# @return [::String]
|
3223
|
-
#
|
3224
|
-
# from. Use `-` for all locations. Reserved for future extensions.
|
3247
|
+
# Deprecated. This field has no effect.
|
3225
3248
|
class ListDeidentifyTemplatesRequest
|
3226
3249
|
include ::Google::Protobuf::MessageExts
|
3227
3250
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3374,7 +3397,7 @@ module Google
|
|
3374
3397
|
# @!attribute [rw] parent
|
3375
3398
|
# @return [::String]
|
3376
3399
|
# Required. The parent resource name, for example projects/my-project-id or
|
3377
|
-
# organizations/my-org-id
|
3400
|
+
# organizations/my-org-id or projects/my-project-id/locations/\\{location_id}
|
3378
3401
|
# @!attribute [rw] config
|
3379
3402
|
# @return [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig]
|
3380
3403
|
# Required. Configuration of the storedInfoType to create.
|
@@ -3386,8 +3409,7 @@ module Google
|
|
3386
3409
|
# characters. Can be empty to allow the system to generate one.
|
3387
3410
|
# @!attribute [rw] location_id
|
3388
3411
|
# @return [::String]
|
3389
|
-
#
|
3390
|
-
# future extensions.
|
3412
|
+
# Deprecated. This field has no effect.
|
3391
3413
|
class CreateStoredInfoTypeRequest
|
3392
3414
|
include ::Google::Protobuf::MessageExts
|
3393
3415
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3396,8 +3418,8 @@ module Google
|
|
3396
3418
|
# Request message for UpdateStoredInfoType.
|
3397
3419
|
# @!attribute [rw] name
|
3398
3420
|
# @return [::String]
|
3399
|
-
# Required. Resource name of organization and storedInfoType to be updated,
|
3400
|
-
#
|
3421
|
+
# Required. Resource name of organization and storedInfoType to be updated, for
|
3422
|
+
# example `organizations/433245324/storedInfoTypes/432452342` or
|
3401
3423
|
# projects/project-id/storedInfoTypes/432452342.
|
3402
3424
|
# @!attribute [rw] config
|
3403
3425
|
# @return [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig]
|
@@ -3427,7 +3449,7 @@ module Google
|
|
3427
3449
|
# @!attribute [rw] parent
|
3428
3450
|
# @return [::String]
|
3429
3451
|
# Required. The parent resource name, for example projects/my-project-id or
|
3430
|
-
# organizations/my-org-id.
|
3452
|
+
# organizations/my-org-id or projects/my-project-id/locations/\\{location_id}.
|
3431
3453
|
# @!attribute [rw] page_token
|
3432
3454
|
# @return [::String]
|
3433
3455
|
# Page token to continue retrieval. Comes from previous call
|
@@ -3454,8 +3476,7 @@ module Google
|
|
3454
3476
|
# - `display_name`: corresponds to info type's display name.
|
3455
3477
|
# @!attribute [rw] location_id
|
3456
3478
|
# @return [::String]
|
3457
|
-
#
|
3458
|
-
# Use `-` for all locations. Reserved for future extensions.
|
3479
|
+
# Deprecated. This field has no effect.
|
3459
3480
|
class ListStoredInfoTypesRequest
|
3460
3481
|
include ::Google::Protobuf::MessageExts
|
3461
3482
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3652,6 +3673,15 @@ module Google
|
|
3652
3673
|
CONTENT_IMAGE = 2
|
3653
3674
|
end
|
3654
3675
|
|
3676
|
+
# Type of metadata containing the finding.
|
3677
|
+
module MetadataType
|
3678
|
+
# Unused
|
3679
|
+
METADATATYPE_UNSPECIFIED = 0
|
3680
|
+
|
3681
|
+
# General file metadata provided by GCS.
|
3682
|
+
STORAGE_METADATA = 2
|
3683
|
+
end
|
3684
|
+
|
3655
3685
|
# Parts of the APIs which use certain infoTypes.
|
3656
3686
|
module InfoTypeSupportedBy
|
3657
3687
|
# Unused.
|
@@ -373,6 +373,9 @@ module Google
|
|
373
373
|
# If empty, all files are scanned and available data format processors
|
374
374
|
# are applied. In addition, the binary content of the selected files
|
375
375
|
# is always scanned as well.
|
376
|
+
# Images are scanned only as binary if the specified region
|
377
|
+
# does not support image inspection and no file_types were specified.
|
378
|
+
# Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.
|
376
379
|
# @!attribute [rw] sample_method
|
377
380
|
# @return [::Google::Cloud::Dlp::V2::CloudStorageOptions::SampleMethod]
|
378
381
|
# @!attribute [rw] files_limit_percent
|
@@ -783,8 +786,17 @@ module Google
|
|
783
786
|
# Included file extensions:
|
784
787
|
# bmp, gif, jpg, jpeg, jpe, png.
|
785
788
|
# bytes_limit_per_file has no effect on image files.
|
789
|
+
# Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.
|
786
790
|
IMAGE = 3
|
787
791
|
|
792
|
+
# Included file extensions:
|
793
|
+
# docx, dotx, docm, dotm
|
794
|
+
WORD = 5
|
795
|
+
|
796
|
+
# Included file extensions:
|
797
|
+
# pdf
|
798
|
+
PDF = 6
|
799
|
+
|
788
800
|
# Included file extensions:
|
789
801
|
# avro
|
790
802
|
AVRO = 7
|
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
|
+
version: 0.2.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-05-
|
11
|
+
date: 2020-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|