google-cloud-dlp-v2 0.3.3 → 0.4.4
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 +306 -100
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +3 -1
- data/lib/google/privacy/dlp/v2/dlp_services_pb.rb +34 -34
- data/lib/google/privacy/dlp/v2/storage_pb.rb +3 -0
- data/proto_docs/google/api/resource.rb +50 -14
- data/proto_docs/google/privacy/dlp/v2/dlp.rb +319 -88
- data/proto_docs/google/privacy/dlp/v2/storage.rb +24 -7
- metadata +5 -5
@@ -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.
|
31
|
-
# `[
|
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,
|
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
|
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
|
492
|
+
# Randomly pick groups of rows to scan.
|
491
493
|
RANDOM_START = 2
|
492
494
|
end
|
493
495
|
end
|
@@ -767,12 +769,17 @@ module Google
|
|
767
769
|
VERY_LIKELY = 5
|
768
770
|
end
|
769
771
|
|
770
|
-
# Definitions of file type groups to scan.
|
772
|
+
# Definitions of file type groups to scan. New types will be added to this
|
773
|
+
# list.
|
771
774
|
module FileType
|
772
775
|
# Includes all files.
|
773
776
|
FILE_TYPE_UNSPECIFIED = 0
|
774
777
|
|
775
|
-
# Includes all file extensions not covered by
|
778
|
+
# Includes all file extensions not covered by another entry. Binary
|
779
|
+
# scanning attempts to convert the content of the file to utf_8 to scan
|
780
|
+
# the file.
|
781
|
+
# If you wish to avoid this fall back, specify one or more of the other
|
782
|
+
# FileType's in your storage scan.
|
776
783
|
BINARY_FILE = 1
|
777
784
|
|
778
785
|
# Included file extensions:
|
@@ -789,10 +796,12 @@ module Google
|
|
789
796
|
# Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.
|
790
797
|
IMAGE = 3
|
791
798
|
|
799
|
+
# Word files >30 MB will be scanned as binary files.
|
792
800
|
# Included file extensions:
|
793
801
|
# docx, dotx, docm, dotm
|
794
802
|
WORD = 5
|
795
803
|
|
804
|
+
# PDF files >30 MB will be scanned as binary files.
|
796
805
|
# Included file extensions:
|
797
806
|
# pdf
|
798
807
|
PDF = 6
|
@@ -800,6 +809,14 @@ module Google
|
|
800
809
|
# Included file extensions:
|
801
810
|
# avro
|
802
811
|
AVRO = 7
|
812
|
+
|
813
|
+
# Included file extensions:
|
814
|
+
# csv
|
815
|
+
CSV = 8
|
816
|
+
|
817
|
+
# Included file extensions:
|
818
|
+
# tsv
|
819
|
+
TSV = 9
|
803
820
|
end
|
804
821
|
end
|
805
822
|
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
|
+
version: 0.4.4
|
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-
|
11
|
+
date: 2020-09-18 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.
|
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.
|
26
|
+
version: '0.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: google-cloud-errors
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
204
|
- !ruby/object:Gem::Version
|
205
205
|
version: '0'
|
206
206
|
requirements: []
|
207
|
-
rubygems_version: 3.1.
|
207
|
+
rubygems_version: 3.1.4
|
208
208
|
signing_key:
|
209
209
|
specification_version: 4
|
210
210
|
summary: API Client library for the Cloud Data Loss Prevention (DLP) V2 API
|