diff --git a/google-cloud-dlp/lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb b/google-cloud-dlp/lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb index 358d43b07a9a..680996f42e64 100644 --- a/google-cloud-dlp/lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb +++ b/google-cloud-dlp/lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb @@ -2499,6 +2499,28 @@ module ContentOption CONTENT_IMAGE = 2 end + # An enum to represent the various type of DLP jobs. + module DlpJobType + DLP_JOB_TYPE_UNSPECIFIED = 0 + + # The job inspected Google Cloud for sensitive data. + INSPECT_JOB = 1 + + # The job executed a Risk Analysis computation. + RISK_ANALYSIS_JOB = 2 + end + + # Parts of the APIs which use certain infoTypes. + module InfoTypeSupportedBy + ENUM_TYPE_UNSPECIFIED = 0 + + # Supported by the inspect operations. + INSPECT = 1 + + # Supported by the risk analysis operations. + RISK_ANALYSIS = 2 + end + # Type of the match which can be applied to different ways of matching, like # Dictionary, regular expression and intersecting with findings of another # info type. @@ -2528,17 +2550,6 @@ module MatchingType MATCHING_TYPE_INVERSE_MATCH = 3 end - # Parts of the APIs which use certain infoTypes. - module InfoTypeSupportedBy - ENUM_TYPE_UNSPECIFIED = 0 - - # Supported by the inspect operations. - INSPECT = 1 - - # Supported by the risk analysis operations. - RISK_ANALYSIS = 2 - end - # Operators available for comparing the value of fields. module RelationalOperator RELATIONAL_OPERATOR_UNSPECIFIED = 0 @@ -2565,17 +2576,6 @@ module RelationalOperator EXISTS = 7 end - # An enum to represent the various type of DLP jobs. - module DlpJobType - DLP_JOB_TYPE_UNSPECIFIED = 0 - - # The job inspected Google Cloud for sensitive data. - INSPECT_JOB = 1 - - # The job executed a Risk Analysis computation. - RISK_ANALYSIS_JOB = 2 - end - # State of a StoredInfoType version. module StoredInfoTypeState STORED_INFO_TYPE_STATE_UNSPECIFIED = 0 diff --git a/google-cloud-dlp/lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb b/google-cloud-dlp/lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb index ba3139977460..a6b097b0d197 100644 --- a/google-cloud-dlp/lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb +++ b/google-cloud-dlp/lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb @@ -553,6 +553,23 @@ class BigQueryField; end # Composite key indicating which field contains the entity identifier. class EntityId; end + # Definitions of file type groups to scan. + module FileType + # Includes all files. + FILE_TYPE_UNSPECIFIED = 0 + + # Includes all file extensions not covered by text file types. + BINARY_FILE = 1 + + # Included file extensions: + # asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp, + # hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json, + # ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw, + # rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml, + # xml, xsl, xsd, yml, yaml. + TEXT_FILE = 2 + end + # Categorization of results based on how likely they are to represent a match, # based on the number of elements they contain which imply a match. module Likelihood @@ -572,23 +589,6 @@ module Likelihood # Many matching elements. VERY_LIKELY = 5 end - - # Definitions of file type groups to scan. - module FileType - # Includes all files. - FILE_TYPE_UNSPECIFIED = 0 - - # Includes all file extensions not covered by text file types. - BINARY_FILE = 1 - - # Included file extensions: - # asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp, - # hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json, - # ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw, - # rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml, - # xml, xsl, xsd, yml, yaml. - TEXT_FILE = 2 - end end end end diff --git a/google-cloud-dlp/synth.metadata b/google-cloud-dlp/synth.metadata index e314c115460c..235f7e9a7d86 100644 --- a/google-cloud-dlp/synth.metadata +++ b/google-cloud-dlp/synth.metadata @@ -1,26 +1,31 @@ { + "updateTime": "2019-01-05T00:42:48.655974Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "36f292faa9a7bffae6abef4885a2ec7936dc47a6", - "internalRef": "222122496" + "generator": { + "name": "artman", + "version": "0.16.4", + "dockerImage": "googleapis/artman@sha256:8b45fae963557c3299921037ecbb86f0689f41b1b4aea73408ebc50562cb2857" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "05e2ff6ef669808daed3c3b2f97eec514bd18d76", - "internalRef": "222154680" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "a111a53c0c6722afcd793b64724ceef7862db5b9", + "internalRef": "227896184" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "dlp", + "apiVersion": "v2", + "language": "ruby", + "generator": "gapic", + "config": "google/privacy/dlp/artman_dlp_v2.yaml" } } ]