Skip to content

Commit

Permalink
docs: update return type in jsdoc for Buffers (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jun 12, 2019
1 parent 2e72cc7 commit aeb148f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ const InspectConfig = {
*
* The number should be among the values of [BytesType]{@link google.privacy.dlp.v2.BytesType}
*
* @property {string} data
* @property {Buffer} data
* Content data to inspect or redact.
*
* @typedef ByteContentItem
Expand Down Expand Up @@ -667,7 +667,7 @@ const Color = {
/**
* Results of redacting an image.
*
* @property {string} redactedImage
* @property {Buffer} redactedImage
* The redacted image. The type will be the same as the original image.
*
* @property {string} extractedText
Expand Down Expand Up @@ -2630,7 +2630,7 @@ const TransientCryptoKey = {
* Using raw keys is prone to security risks due to accidentally
* leaking the key. Choose another type of key if possible.
*
* @property {string} key
* @property {Buffer} key
* A 128/192/256 bit key. [required]
*
* @typedef UnwrappedCryptoKey
Expand All @@ -2648,7 +2648,7 @@ const UnwrappedCryptoKey = {
* to perform a crypto transformation using a kms-wrapped crypto key:
* dlp.kms.encrypt
*
* @property {string} wrappedKey
* @property {Buffer} wrappedKey
* The wrapped data crypto key. [required]
*
* @property {string} cryptoKeyName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
* Schemes other than `http`, `https` (or the empty scheme) might be
* used with implementation specific semantics.
*
* @property {string} value
* @property {Buffer} value
* Must be a valid serialized protocol buffer of the above specified type.
*
* @typedef Any
Expand Down
10 changes: 5 additions & 5 deletions packages/google-privacy-dlp/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-06-07T11:13:14.563856Z",
"updateTime": "2019-06-12T11:14:34.105356Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.23.1",
"dockerImage": "googleapis/artman@sha256:9d5cae1454da64ac3a87028f8ef486b04889e351c83bb95e83b8fab3959faed0"
"version": "0.24.1",
"dockerImage": "googleapis/artman@sha256:6018498e15310260dc9b03c9d576608908ed9fbabe42e1494ff3d827fea27b19"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "15fdbe57306e3a56069af5e2595e9b1bb33b6123",
"internalRef": "251960694"
"sha": "f117dac435e96ebe58d85280a3faf2350c4d4219",
"internalRef": "252714985"
}
},
{
Expand Down

0 comments on commit aeb148f

Please sign in to comment.