Skip to content

Commit

Permalink
fix(dlp): update the API
Browse files Browse the repository at this point in the history
#### dlp:v2
The following keys were changed:
- schemas.GooglePrivacyDlpV2Bucket.properties.replacementValue.description
- schemas.GooglePrivacyDlpV2ByteContentItem.properties.type.enum
- schemas.GooglePrivacyDlpV2ByteContentItem.properties.type.enumDescriptions
- schemas.GooglePrivacyDlpV2CloudStorageOptions.properties.fileTypes.enumDescriptions
- schemas.GooglePrivacyDlpV2CloudStorageOptions.properties.fileTypes.items.enum
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 10, 2020
1 parent 8691bdd commit c18496b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
20 changes: 14 additions & 6 deletions discovery/dlp-v2.json
Expand Up @@ -3126,7 +3126,7 @@
}
}
},
"revision": "20200606",
"revision": "20200706",
"rootUrl": "https://dlp.googleapis.com/",
"schemas": {
"GooglePrivacyDlpV2Action": {
Expand Down Expand Up @@ -3366,7 +3366,7 @@
},
"replacementValue": {
"$ref": "GooglePrivacyDlpV2Value",
"description": "Replacement value for this bucket. If not provided\nthe default behavior will be to hyphenate the min-max range."
"description": "Required. Replacement value for this bucket."
}
},
"type": "object"
Expand Down Expand Up @@ -3406,7 +3406,9 @@
"TEXT_UTF8",
"WORD_DOCUMENT",
"PDF",
"AVRO"
"AVRO",
"CSV",
"TSV"
],
"enumDescriptions": [
"Unused",
Expand All @@ -3418,7 +3420,9 @@
"plain text",
"docx, docm, dotx, dotm",
"pdf",
"avro"
"avro",
"csv",
"tsv"
],
"type": "string"
}
Expand Down Expand Up @@ -3586,7 +3590,9 @@
"Included file extensions:\n bmp, gif, jpg, jpeg, jpe, png.\nbytes_limit_per_file has no effect on image files.\nImage inspection is restricted to 'global', 'us', 'asia', and 'europe'.",
"Word files >30 MB will be scanned as binary files.\nIncluded file extensions:\n docx, dotx, docm, dotm",
"PDF files >30 MB will be scanned as binary files.\nIncluded file extensions:\n pdf",
"Included file extensions:\n avro"
"Included file extensions:\n avro",
"Included file extensions:\n csv",
"Included file extensions:\n tsv"
],
"items": {
"enum": [
Expand All @@ -3596,7 +3602,9 @@
"IMAGE",
"WORD",
"PDF",
"AVRO"
"AVRO",
"CSV",
"TSV"
],
"type": "string"
},
Expand Down
2 changes: 1 addition & 1 deletion src/apis/dlp/v2.ts
Expand Up @@ -323,7 +323,7 @@ export namespace dlp_v2 {
*/
min?: Schema$GooglePrivacyDlpV2Value;
/**
* Replacement value for this bucket. If not provided the default behavior will be to hyphenate the min-max range.
* Required. Replacement value for this bucket.
*/
replacementValue?: Schema$GooglePrivacyDlpV2Value;
}
Expand Down

0 comments on commit c18496b

Please sign in to comment.