Skip to content

Commit

Permalink
build: typo in gitattribute, and edit retry code names field (#503)
Browse files Browse the repository at this point in the history
* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* fix: typeo in nodejs .gitattribute

replace `test` to `text`

Source-Author: Summer Ji <summerji@google.com>
Source-Date: Wed Jul 8 14:02:57 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 799d8e6522c1ef7cb55a70d9ea0b15e045c3d00b
Source-Link: googleapis/synthtool@799d8e6
  • Loading branch information
yoshi-automation authored Jul 10, 2020
1 parent 553585c commit fd742fd
Show file tree
Hide file tree
Showing 10 changed files with 1,591 additions and 1,357 deletions.
2 changes: 1 addition & 1 deletion packages/google-privacy-dlp/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*.ts text eol=lf
*.js test eol=lf
*.js text eol=lf
protos/* linguist-generated
281 changes: 168 additions & 113 deletions packages/google-privacy-dlp/protos/google/privacy/dlp/v2/dlp.proto

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package google.privacy.dlp.v2;

import "google/api/resource.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.Dlp.V2";
option go_package = "google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp";
Expand Down Expand Up @@ -520,12 +521,17 @@ message StorageConfig {
TimespanConfig timespan_config = 6;
}

// Definitions of file type groups to scan.
// Definitions of file type groups to scan. New types will be added to this
// list.
enum FileType {
// Includes all files.
FILE_TYPE_UNSPECIFIED = 0;

// Includes all file extensions not covered by text file types.
// Includes all file extensions not covered by another entry. Binary
// scanning attempts to convert the content of the file to utf_8 to scan
// the file.
// If you wish to avoid this fall back, specify one or more of the other
// FileType's in your storage scan.
BINARY_FILE = 1;

// Included file extensions:
Expand All @@ -542,17 +548,27 @@ enum FileType {
// Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.
IMAGE = 3;

// Word files >30 MB will be scanned as binary files.
// Included file extensions:
// docx, dotx, docm, dotm
WORD = 5;

// PDF files >30 MB will be scanned as binary files.
// Included file extensions:
// pdf
PDF = 6;

// Included file extensions:
// avro
AVRO = 7;

// Included file extensions:
// csv
CSV = 8;

// Included file extensions:
// tsv
TSV = 9;
}

// Configuration to control jobs where the content being inspected is outside
Expand Down
Loading

0 comments on commit fd742fd

Please sign in to comment.