Index: discovery/googleapis_beta/dlp__v2beta1.json |
diff --git a/discovery/googleapis_beta/dlp__v2beta1.json b/discovery/googleapis_beta/dlp__v2beta1.json |
index f7e1b719f56c27f71f3d18d38b0798e05cf1ee03..c999790dd5a8c6219f599830dbfc0ac84cdfc672 100644 |
--- a/discovery/googleapis_beta/dlp__v2beta1.json |
+++ b/discovery/googleapis_beta/dlp__v2beta1.json |
@@ -25,16 +25,6 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
- "location": "query", |
- "type": "string" |
- }, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
- }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -90,13 +80,13 @@ |
"location": "query", |
"type": "string" |
}, |
- "access_token": { |
- "description": "OAuth access token.", |
+ "key": { |
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
"location": "query", |
"type": "string" |
}, |
- "key": { |
- "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
+ "access_token": { |
+ "description": "OAuth access token.", |
"location": "query", |
"type": "string" |
}, |
@@ -110,6 +100,16 @@ |
"description": "Pretty-print response.", |
"location": "query", |
"type": "boolean" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
"protocol": "rest", |
@@ -225,17 +225,6 @@ |
"name" |
], |
"parameters": { |
- "pageSize": { |
- "description": "Maximum number of results to return.\nIf 0, the implementation selects a reasonable value.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "filter": { |
- "description": "Restricts findings to items that match. Supports info_type and likelihood.\n<p>Examples:<br/>\n<li>info_type=EMAIL_ADDRESS\n<li>info_type=PHONE_NUMBER,EMAIL_ADDRESS\n<li>likelihood=VERY_LIKELY\n<li>likelihood=VERY_LIKELY,LIKELY\n<li>info_type=EMAIL_ADDRESS,likelihood=VERY_LIKELY,LIKELY", |
- "location": "query", |
- "type": "string" |
- }, |
"pageToken": { |
"description": "The value returned by the last `ListInspectFindingsResponse`; indicates\nthat this is a continuation of a prior `ListInspectFindings` call, and that\nthe system should return the next page of data.", |
"location": "query", |
@@ -247,6 +236,17 @@ |
"pattern": "^inspect/results/[^/]+$", |
"required": true, |
"type": "string" |
+ }, |
+ "pageSize": { |
+ "description": "Maximum number of results to return.\nIf 0, the implementation selects a reasonable value.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ }, |
+ "filter": { |
+ "description": "Restricts findings to items that match. Supports info_type and likelihood.\n<p>Examples:<br/>\n<li>info_type=EMAIL_ADDRESS\n<li>info_type=PHONE_NUMBER,EMAIL_ADDRESS\n<li>likelihood=VERY_LIKELY\n<li>likelihood=VERY_LIKELY,LIKELY\n<li>info_type=EMAIL_ADDRESS,likelihood=VERY_LIKELY,LIKELY", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
"path": "v2beta1/{+name}/findings", |
@@ -263,70 +263,6 @@ |
}, |
"operations": { |
"methods": { |
- "get": { |
- "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", |
- "httpMethod": "GET", |
- "id": "dlp.inspect.operations.get", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
- "name": { |
- "description": "The name of the operation resource.", |
- "location": "path", |
- "pattern": "^inspect/operations/[^/]+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v2beta1/{+name}", |
- "response": { |
- "$ref": "GoogleLongrunningOperation" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
- ] |
- }, |
- "list": { |
- "description": "Fetch the list of long running operations.", |
- "httpMethod": "GET", |
- "id": "dlp.inspect.operations.list", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
- "pageSize": { |
- "description": "The list page size. The max allowed value is 256 and default is 100.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "filter": { |
- "description": "This parameter supports filtering by done, ie done=true or done=false.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pageToken": { |
- "description": "The standard list page token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "name": { |
- "description": "The name of the operation's parent resource.", |
- "location": "path", |
- "pattern": "^inspect/operations$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v2beta1/{+name}", |
- "response": { |
- "$ref": "GoogleLongrunningListOperationsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
- ] |
- }, |
"create": { |
"description": "Schedules a job scanning content in a Google Cloud Platform data\nrepository.", |
"httpMethod": "POST", |
@@ -394,345 +330,468 @@ |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
+ }, |
+ "get": { |
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", |
+ "httpMethod": "GET", |
+ "id": "dlp.inspect.operations.get", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "name": { |
+ "description": "The name of the operation resource.", |
+ "location": "path", |
+ "pattern": "^inspect/operations/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v2beta1/{+name}", |
+ "response": { |
+ "$ref": "GoogleLongrunningOperation" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
+ }, |
+ "list": { |
+ "description": "Fetch the list of long running operations.", |
+ "httpMethod": "GET", |
+ "id": "dlp.inspect.operations.list", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "filter": { |
+ "description": "This parameter supports filtering by done, ie done=true or done=false.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pageToken": { |
+ "description": "The standard list page token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "The name of the operation's parent resource.", |
+ "location": "path", |
+ "pattern": "^inspect/operations$", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "pageSize": { |
+ "description": "The list page size. The max allowed value is 256 and default is 100.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ } |
+ }, |
+ "path": "v2beta1/{+name}", |
+ "response": { |
+ "$ref": "GoogleLongrunningListOperationsResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
} |
} |
} |
} |
} |
}, |
- "revision": "20170725", |
+ "revision": "20170815", |
"rootUrl": "https://dlp.googleapis.com/", |
"schemas": { |
- "GooglePrivacyDlpV2beta1Projection": { |
- "description": "A representation of a Datastore property in a projection.", |
- "id": "GooglePrivacyDlpV2beta1Projection", |
+ "GooglePrivacyDlpV2beta1InspectOperationMetadata": { |
+ "description": "Metadata returned within GetOperation for an inspect request.", |
+ "id": "GooglePrivacyDlpV2beta1InspectOperationMetadata", |
"properties": { |
- "property": { |
- "$ref": "GooglePrivacyDlpV2beta1PropertyReference", |
- "description": "The property to project." |
+ "infoTypeStats": { |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1InfoTypeStatistics" |
+ }, |
+ "type": "array" |
+ }, |
+ "totalEstimatedBytes": { |
+ "description": "Estimate of the number of bytes to process.", |
+ "format": "int64", |
+ "type": "string" |
+ }, |
+ "requestInspectConfig": { |
+ "$ref": "GooglePrivacyDlpV2beta1InspectConfig", |
+ "description": "The inspect config used to create the Operation." |
+ }, |
+ "requestOutputConfig": { |
+ "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig", |
+ "description": "Optional location to store findings." |
+ }, |
+ "createTime": { |
+ "description": "The time which this request was started.", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "requestStorageConfig": { |
+ "$ref": "GooglePrivacyDlpV2beta1StorageConfig", |
+ "description": "The storage config used to create the Operation." |
+ }, |
+ "processedBytes": { |
+ "description": "Total size in bytes that were processed.", |
+ "format": "int64", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1DatastoreKey": { |
- "description": "Record key for a finding in Cloud Datastore.", |
- "id": "GooglePrivacyDlpV2beta1DatastoreKey", |
+ "GooglePrivacyDlpV2beta1InfoType": { |
+ "description": "Type of information detected by the API.", |
+ "id": "GooglePrivacyDlpV2beta1InfoType", |
"properties": { |
- "entityKey": { |
- "$ref": "GooglePrivacyDlpV2beta1Key", |
- "description": "Datastore entity key." |
+ "name": { |
+ "description": "Name of the information type.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1CloudStorageOptions": { |
- "description": "Options defining a file or a set of files (path ending with *) within\na Google Cloud Storage bucket.", |
- "id": "GooglePrivacyDlpV2beta1CloudStorageOptions", |
+ "GooglePrivacyDlpV2beta1PathElement": { |
+ "description": "A (kind, ID/name) pair used to construct a key path.\n\nIf either name or ID is set, the element is complete.\nIf neither is set, the element is incomplete.", |
+ "id": "GooglePrivacyDlpV2beta1PathElement", |
"properties": { |
- "fileSet": { |
- "$ref": "GooglePrivacyDlpV2beta1FileSet" |
+ "id": { |
+ "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported in the future.", |
+ "format": "int64", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "The name of the entity.\nA name matching regex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", |
+ "type": "string" |
+ }, |
+ "kind": { |
+ "description": "The kind of the entity.\nA kind matching regex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1CreateInspectOperationRequest": { |
- "description": "Request for scheduling a scan of a data subset from a Google Platform data\nrepository.", |
- "id": "GooglePrivacyDlpV2beta1CreateInspectOperationRequest", |
- "properties": { |
- "inspectConfig": { |
- "$ref": "GooglePrivacyDlpV2beta1InspectConfig", |
- "description": "Configuration for the inspector." |
- }, |
- "storageConfig": { |
- "$ref": "GooglePrivacyDlpV2beta1StorageConfig", |
- "description": "Specification of the data set to process." |
+ "GooglePrivacyDlpV2beta1CategoryDescription": { |
+ "description": "Info Type Category description.", |
+ "id": "GooglePrivacyDlpV2beta1CategoryDescription", |
+ "properties": { |
+ "name": { |
+ "description": "Internal name of the category.", |
+ "type": "string" |
}, |
- "outputConfig": { |
- "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig", |
- "description": "Optional location to store findings. The bucket must already exist and\nthe Google APIs service account for DLP must have write permission to\nwrite to the given bucket.\n<p>Results are split over multiple csv files with each file name matching\nthe pattern \"[operation_id]_[count].csv\", for example\n`3094877188788974909_1.csv`. The `operation_id` matches the\nidentifier for the Operation, and the `count` is a counter used for\ntracking the number of files written. <p>The CSV file(s) contain the\nfollowing columns regardless of storage type scanned: <li>id <li>info_type\n<li>likelihood <li>byte size of finding <li>quote <li>time_stamp<br/>\n<p>For Cloud Storage the next columns are: <li>file_path\n<li>start_offset<br/>\n<p>For Cloud Datastore the next columns are: <li>project_id\n<li>namespace_id <li>path <li>column_name <li>offset" |
+ "displayName": { |
+ "description": "Human readable form of the category name.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1RecordKey": { |
- "description": "Message for a unique key indicating a record that contains a finding.", |
- "id": "GooglePrivacyDlpV2beta1RecordKey", |
+ "GooglePrivacyDlpV2beta1BigQueryTable": { |
+ "description": "Message defining the location of a BigQuery table. A table is uniquely\nidentified by its project_id, dataset_id, and table_name. Within a query\na table is often referenced with a string in the format of:\n`<project_id>:<dataset_id>.<table_id>` or\n`<project_id>.<dataset_id>.<table_id>`.", |
+ "id": "GooglePrivacyDlpV2beta1BigQueryTable", |
"properties": { |
- "cloudStorageKey": { |
- "$ref": "GooglePrivacyDlpV2beta1CloudStorageKey" |
+ "tableId": { |
+ "description": "Name of the table.", |
+ "type": "string" |
}, |
- "datastoreKey": { |
- "$ref": "GooglePrivacyDlpV2beta1DatastoreKey" |
+ "projectId": { |
+ "description": "The Google Cloud Platform project ID of the project containing the table.\nIf omitted, project ID is inferred from the API call.", |
+ "type": "string" |
+ }, |
+ "datasetId": { |
+ "description": "Dataset ID of the table.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1Key": { |
- "description": "A unique identifier for a Datastore entity.\nIf a key's partition ID or any of its path kinds or names are\nreserved/read-only, the key is reserved/read-only.\nA reserved/read-only key is forbidden in certain documented contexts.", |
- "id": "GooglePrivacyDlpV2beta1Key", |
+ "GooglePrivacyDlpV2beta1ListRootCategoriesResponse": { |
+ "description": "Response for ListRootCategories request.", |
+ "id": "GooglePrivacyDlpV2beta1ListRootCategoriesResponse", |
"properties": { |
- "path": { |
- "description": "The entity path.\nAn entity path consists of one or more elements composed of a kind and a\nstring or numerical identifier, which identify entities. The first\nelement identifies a _root entity_, the second element identifies\na _child_ of the root entity, the third element identifies a child of the\nsecond entity, and so forth. The entities identified by all prefixes of\nthe path are called the element's _ancestors_.\n\nA path can never be empty, and a path can have at most 100 elements.", |
+ "categories": { |
+ "description": "List of all into type categories supported by the API.", |
"items": { |
- "$ref": "GooglePrivacyDlpV2beta1PathElement" |
+ "$ref": "GooglePrivacyDlpV2beta1CategoryDescription" |
}, |
"type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GooglePrivacyDlpV2beta1Finding": { |
+ "description": "Container structure describing a single finding within a string or image.", |
+ "id": "GooglePrivacyDlpV2beta1Finding", |
+ "properties": { |
+ "likelihood": { |
+ "description": "Estimate of how likely it is that the info_type is correct.", |
+ "enum": [ |
+ "LIKELIHOOD_UNSPECIFIED", |
+ "VERY_UNLIKELY", |
+ "UNLIKELY", |
+ "POSSIBLE", |
+ "LIKELY", |
+ "VERY_LIKELY" |
+ ], |
+ "enumDescriptions": [ |
+ "Default value; information with all likelihoods is included.", |
+ "Few matching elements.", |
+ "", |
+ "Some matching elements.", |
+ "", |
+ "Many matching elements." |
+ ], |
+ "type": "string" |
}, |
- "partitionId": { |
- "$ref": "GooglePrivacyDlpV2beta1PartitionId", |
- "description": "Entities are partitioned into subsets, currently identified by a project\nID and namespace ID.\nQueries are scoped to a single partition." |
+ "createTime": { |
+ "description": "Timestamp when finding was detected.", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "infoType": { |
+ "$ref": "GooglePrivacyDlpV2beta1InfoType", |
+ "description": "The specific type of info the string might be." |
+ }, |
+ "location": { |
+ "$ref": "GooglePrivacyDlpV2beta1Location", |
+ "description": "Location of the info found." |
+ }, |
+ "quote": { |
+ "description": "The specific string that may be potentially sensitive info.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1CloudStoragePath": { |
- "description": "A location in Cloud Storage.", |
- "id": "GooglePrivacyDlpV2beta1CloudStoragePath", |
+ "GooglePrivacyDlpV2beta1KindExpression": { |
+ "description": "A representation of a Datastore kind.", |
+ "id": "GooglePrivacyDlpV2beta1KindExpression", |
"properties": { |
- "path": { |
- "description": "The url, in the format of `gs://bucket/<path>`.", |
+ "name": { |
+ "description": "The name of the kind.", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1InspectContentRequest": { |
- "description": "Request to search for potentially sensitive info in a list of items.", |
- "id": "GooglePrivacyDlpV2beta1InspectContentRequest", |
+ "GoogleLongrunningListOperationsResponse": { |
+ "description": "The response message for Operations.ListOperations.", |
+ "id": "GoogleLongrunningListOperationsResponse", |
"properties": { |
- "items": { |
- "description": "The list of items to inspect. Items in a single request are\nconsidered \"related\" unless inspect_config.independent_inputs is true.\nUp to 100 are allowed per request.", |
+ "nextPageToken": { |
+ "description": "The standard List next-page token.", |
+ "type": "string" |
+ }, |
+ "operations": { |
+ "description": "A list of operations that matches the specified filter in the request.", |
"items": { |
- "$ref": "GooglePrivacyDlpV2beta1ContentItem" |
+ "$ref": "GoogleLongrunningOperation" |
}, |
"type": "array" |
- }, |
- "inspectConfig": { |
- "$ref": "GooglePrivacyDlpV2beta1InspectConfig", |
- "description": "Configuration for the inspector." |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1InspectOperationResult": { |
- "description": "The operational data.", |
- "id": "GooglePrivacyDlpV2beta1InspectOperationResult", |
+ "GooglePrivacyDlpV2beta1Row": { |
+ "id": "GooglePrivacyDlpV2beta1Row", |
"properties": { |
- "name": { |
- "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `inspect/results/{id}`.", |
+ "values": { |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1Value" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GooglePrivacyDlpV2beta1FileSet": { |
+ "description": "Set of files to scan.", |
+ "id": "GooglePrivacyDlpV2beta1FileSet", |
+ "properties": { |
+ "url": { |
+ "description": "The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the\npath is allowed.", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1Range": { |
- "description": "Generic half-open interval [start, end)", |
- "id": "GooglePrivacyDlpV2beta1Range", |
+ "GoogleProtobufEmpty": { |
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
+ "id": "GoogleProtobufEmpty", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
+ "GooglePrivacyDlpV2beta1ListInspectFindingsResponse": { |
+ "description": "Response to the ListInspectFindings request.", |
+ "id": "GooglePrivacyDlpV2beta1ListInspectFindingsResponse", |
"properties": { |
- "end": { |
- "description": "Index of the last character of the range (exclusive).", |
- "format": "int64", |
+ "nextPageToken": { |
+ "description": "If not empty, indicates that there may be more results that match the\nrequest; this value should be passed in a new `ListInspectFindingsRequest`.", |
"type": "string" |
}, |
- "start": { |
- "description": "Index of the first character of the range (inclusive).", |
+ "result": { |
+ "$ref": "GooglePrivacyDlpV2beta1InspectResult", |
+ "description": "The results." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GooglePrivacyDlpV2beta1TableLocation": { |
+ "description": "Location of a finding within a `ContentItem.Table`.", |
+ "id": "GooglePrivacyDlpV2beta1TableLocation", |
+ "properties": { |
+ "rowIndex": { |
+ "description": "The zero-based index of the row where the finding is located.", |
"format": "int64", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1ImageRedactionConfig": { |
- "description": "Configuration for determing how redaction of images should occur.", |
- "id": "GooglePrivacyDlpV2beta1ImageRedactionConfig", |
+ "GooglePrivacyDlpV2beta1DatastoreKey": { |
+ "description": "Record key for a finding in Cloud Datastore.", |
+ "id": "GooglePrivacyDlpV2beta1DatastoreKey", |
"properties": { |
- "infoType": { |
- "$ref": "GooglePrivacyDlpV2beta1InfoType", |
- "description": "Only one per info_type should be provided per request. If not\nspecified, and redact_all_text is false, the DLP API will redacts all\ntext that it matches against all info_types that are found, but not\nspecified in another ImageRedactionConfig." |
- }, |
- "redactionColor": { |
- "$ref": "GooglePrivacyDlpV2beta1Color", |
- "description": "The color to use when redacting content from an image. If not specified,\nthe default is black." |
- }, |
- "redactAllText": { |
- "description": "If true, all text found in the image, regardless if it matches an\ninfo_type, is redacted.", |
- "type": "boolean" |
+ "entityKey": { |
+ "$ref": "GooglePrivacyDlpV2beta1Key", |
+ "description": "Datastore entity key." |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1RedactContentResponse": { |
- "description": "Results of redacting a list of items.", |
- "id": "GooglePrivacyDlpV2beta1RedactContentResponse", |
+ "GooglePrivacyDlpV2beta1CloudStorageOptions": { |
+ "description": "Options defining a file or a set of files (path ending with *) within\na Google Cloud Storage bucket.", |
+ "id": "GooglePrivacyDlpV2beta1CloudStorageOptions", |
"properties": { |
- "items": { |
- "description": "The redacted content.", |
- "items": { |
- "$ref": "GooglePrivacyDlpV2beta1ContentItem" |
- }, |
- "type": "array" |
+ "fileSet": { |
+ "$ref": "GooglePrivacyDlpV2beta1FileSet" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1InfoTypeStatistics": { |
- "description": "Statistics regarding a specific InfoType.", |
- "id": "GooglePrivacyDlpV2beta1InfoTypeStatistics", |
+ "GooglePrivacyDlpV2beta1RecordKey": { |
+ "description": "Message for a unique key indicating a record that contains a finding.", |
+ "id": "GooglePrivacyDlpV2beta1RecordKey", |
"properties": { |
- "infoType": { |
- "$ref": "GooglePrivacyDlpV2beta1InfoType", |
- "description": "The type of finding this stat is for." |
+ "cloudStorageKey": { |
+ "$ref": "GooglePrivacyDlpV2beta1CloudStorageKey" |
}, |
- "count": { |
- "description": "Number of findings for this info type.", |
- "format": "int64", |
- "type": "string" |
+ "datastoreKey": { |
+ "$ref": "GooglePrivacyDlpV2beta1DatastoreKey" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1PropertyReference": { |
- "description": "A reference to a property relative to the Datastore kind expressions.", |
- "id": "GooglePrivacyDlpV2beta1PropertyReference", |
+ "GooglePrivacyDlpV2beta1CloudStoragePath": { |
+ "description": "A location in Cloud Storage.", |
+ "id": "GooglePrivacyDlpV2beta1CloudStoragePath", |
"properties": { |
- "name": { |
- "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.", |
+ "path": { |
+ "description": "The url, in the format of `gs://bucket/<path>`.", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1Location": { |
- "description": "Specifies the location of a finding within its source item.", |
- "id": "GooglePrivacyDlpV2beta1Location", |
+ "GooglePrivacyDlpV2beta1InspectOperationResult": { |
+ "description": "The operational data.", |
+ "id": "GooglePrivacyDlpV2beta1InspectOperationResult", |
"properties": { |
- "recordKey": { |
- "$ref": "GooglePrivacyDlpV2beta1RecordKey", |
- "description": "Key of the finding." |
- }, |
- "codepointRange": { |
- "$ref": "GooglePrivacyDlpV2beta1Range", |
- "description": "Character offsets within a content item, included when content type\nis a text. Default charset assumed to be UTF-8." |
- }, |
- "fieldId": { |
- "$ref": "GooglePrivacyDlpV2beta1FieldId", |
- "description": "Field id of the field containing the finding." |
- }, |
- "imageBoxes": { |
- "description": "Location within an image's pixels.", |
- "items": { |
- "$ref": "GooglePrivacyDlpV2beta1ImageLocation" |
- }, |
- "type": "array" |
- }, |
- "byteRange": { |
- "$ref": "GooglePrivacyDlpV2beta1Range", |
- "description": "Zero-based byte offsets within a content item." |
+ "name": { |
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `inspect/results/{id}`.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1InspectResult": { |
- "description": "All the findings for a single scanned item.", |
- "id": "GooglePrivacyDlpV2beta1InspectResult", |
+ "GooglePrivacyDlpV2beta1Range": { |
+ "description": "Generic half-open interval [start, end)", |
+ "id": "GooglePrivacyDlpV2beta1Range", |
"properties": { |
- "findings": { |
- "description": "List of findings for an item.", |
- "items": { |
- "$ref": "GooglePrivacyDlpV2beta1Finding" |
- }, |
- "type": "array" |
+ "start": { |
+ "description": "Index of the first character of the range (inclusive).", |
+ "format": "int64", |
+ "type": "string" |
}, |
- "findingsTruncated": { |
- "description": "If true, then this item might have more findings than were returned,\nand the findings returned are an arbitrary subset of all findings.\nThe findings list might be truncated because the input items were too\nlarge, or because the server reached the maximum amount of resources\nallowed for a single API call. For best results, divide the input into\nsmaller batches.", |
- "type": "boolean" |
+ "end": { |
+ "description": "Index of the last character of the range (exclusive).", |
+ "format": "int64", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1ImageLocation": { |
- "description": "Bounding box encompassing detected text within an image.", |
- "id": "GooglePrivacyDlpV2beta1ImageLocation", |
+ "GoogleTypeTimeOfDay": { |
+ "description": "Represents a time of day. The date and time zone are either not significant\nor are specified elsewhere. An API may choose to allow leap seconds. Related\ntypes are google.type.Date and `google.protobuf.Timestamp`.", |
+ "id": "GoogleTypeTimeOfDay", |
"properties": { |
- "top": { |
- "description": "Top coordinate of the bounding box. (0,0) is upper left.", |
+ "hours": { |
+ "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose\nto allow the value \"24:00:00\" for scenarios like business closing time.", |
"format": "int32", |
"type": "integer" |
}, |
- "left": { |
- "description": "Left coordinate of the bounding box. (0,0) is upper left.", |
+ "nanos": { |
+ "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.", |
"format": "int32", |
"type": "integer" |
}, |
- "width": { |
- "description": "Width of the bounding box in pixels.", |
+ "seconds": { |
+ "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may\nallow the value 60 if it allows leap-seconds.", |
"format": "int32", |
"type": "integer" |
}, |
- "height": { |
- "description": "Height of the bounding box in pixels.", |
+ "minutes": { |
+ "description": "Minutes of hour of day. Must be from 0 to 59.", |
"format": "int32", |
"type": "integer" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1InfoTypeDescription": { |
- "description": "Info type description.", |
- "id": "GooglePrivacyDlpV2beta1InfoTypeDescription", |
+ "GooglePrivacyDlpV2beta1InspectResult": { |
+ "description": "All the findings for a single scanned item.", |
+ "id": "GooglePrivacyDlpV2beta1InspectResult", |
"properties": { |
- "displayName": { |
- "description": "Human readable form of the info type name.", |
- "type": "string" |
+ "findingsTruncated": { |
+ "description": "If true, then this item might have more findings than were returned,\nand the findings returned are an arbitrary subset of all findings.\nThe findings list might be truncated because the input items were too\nlarge, or because the server reached the maximum amount of resources\nallowed for a single API call. For best results, divide the input into\nsmaller batches.", |
+ "type": "boolean" |
}, |
- "categories": { |
- "description": "List of categories this info type belongs to.", |
+ "findings": { |
+ "description": "List of findings for an item.", |
"items": { |
- "$ref": "GooglePrivacyDlpV2beta1CategoryDescription" |
+ "$ref": "GooglePrivacyDlpV2beta1Finding" |
}, |
"type": "array" |
- }, |
- "name": { |
- "description": "Internal name of the info type.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "GooglePrivacyDlpV2beta1OutputStorageConfig": { |
- "description": "Cloud repository for storing output.", |
- "id": "GooglePrivacyDlpV2beta1OutputStorageConfig", |
- "properties": { |
- "storagePath": { |
- "$ref": "GooglePrivacyDlpV2beta1CloudStoragePath", |
- "description": "The path to a Google Cloud Storage location to store output." |
} |
}, |
"type": "object" |
}, |
- "GoogleRpcStatus": { |
- "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", |
- "id": "GoogleRpcStatus", |
+ "GooglePrivacyDlpV2beta1ImageLocation": { |
+ "description": "Bounding box encompassing detected text within an image.", |
+ "id": "GooglePrivacyDlpV2beta1ImageLocation", |
"properties": { |
- "code": { |
- "description": "The status code, which should be an enum value of google.rpc.Code.", |
+ "height": { |
+ "description": "Height of the bounding box in pixels.", |
"format": "int32", |
"type": "integer" |
}, |
- "message": { |
- "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", |
- "type": "string" |
+ "top": { |
+ "description": "Top coordinate of the bounding box. (0,0) is upper left.", |
+ "format": "int32", |
+ "type": "integer" |
}, |
- "details": { |
- "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.", |
- "items": { |
- "additionalProperties": { |
- "description": "Properties of the object. Contains field @type with type URL.", |
- "type": "any" |
- }, |
- "type": "object" |
- }, |
- "type": "array" |
+ "left": { |
+ "description": "Left coordinate of the bounding box. (0,0) is upper left.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "width": { |
+ "description": "Width of the bounding box in pixels.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
@@ -741,6 +800,10 @@ |
"description": "Shared message indicating Cloud storage type.", |
"id": "GooglePrivacyDlpV2beta1StorageConfig", |
"properties": { |
+ "bigQueryOptions": { |
+ "$ref": "GooglePrivacyDlpV2beta1BigQueryOptions", |
+ "description": "BigQuery options specification." |
+ }, |
"cloudStorageOptions": { |
"$ref": "GooglePrivacyDlpV2beta1CloudStorageOptions", |
"description": "Google Cloud Storage options specification." |
@@ -752,108 +815,56 @@ |
}, |
"type": "object" |
}, |
- "GoogleLongrunningOperation": { |
- "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", |
- "id": "GoogleLongrunningOperation", |
- "properties": { |
- "done": { |
- "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", |
- "type": "boolean" |
- }, |
- "response": { |
- "additionalProperties": { |
- "description": "Properties of the object. Contains field @type with type URL.", |
- "type": "any" |
- }, |
- "description": "This field will contain an InspectOperationResult object.", |
- "type": "object" |
- }, |
- "name": { |
- "description": "The server-assigned name, The `name` should have the format of `inspect/operations/<identifier>`.", |
- "type": "string" |
- }, |
- "error": { |
- "$ref": "GoogleRpcStatus", |
- "description": "The error result of the operation in case of failure or cancellation." |
- }, |
- "metadata": { |
- "additionalProperties": { |
- "description": "Properties of the object. Contains field @type with type URL.", |
- "type": "any" |
- }, |
- "description": "This field will contain an InspectOperationMetadata object. This will always be returned with the Operation.", |
- "type": "object" |
- } |
- }, |
- "type": "object" |
- }, |
"GooglePrivacyDlpV2beta1ContentItem": { |
"description": "Container structure for the content to inspect.", |
"id": "GooglePrivacyDlpV2beta1ContentItem", |
"properties": { |
- "type": { |
- "description": "Type of the content, as defined in Content-Type HTTP header.\nSupported types are: all \"text\" types, octet streams, PNG images,\nJPEG images.", |
- "type": "string" |
- }, |
"value": { |
"description": "String data to inspect or redact.", |
"type": "string" |
}, |
+ "table": { |
+ "$ref": "GooglePrivacyDlpV2beta1Table", |
+ "description": "Structured content for inspection." |
+ }, |
"data": { |
"description": "Content data to inspect or redact.", |
"format": "byte", |
"type": "string" |
+ }, |
+ "type": { |
+ "description": "Type of the content, as defined in Content-Type HTTP header.\nSupported types are: all \"text\" types, octet streams, PNG images,\nJPEG images.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1InspectOperationMetadata": { |
- "description": "Metadata returned within GetOperation for an inspect request.", |
- "id": "GooglePrivacyDlpV2beta1InspectOperationMetadata", |
+ "GooglePrivacyDlpV2beta1OperationConfig": { |
+ "description": "Additional configuration for inspect long running operations.", |
+ "id": "GooglePrivacyDlpV2beta1OperationConfig", |
"properties": { |
- "requestInspectConfig": { |
- "$ref": "GooglePrivacyDlpV2beta1InspectConfig", |
- "description": "The inspect config used to create the Operation." |
- }, |
- "requestOutputConfig": { |
- "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig", |
- "description": "Optional location to store findings." |
- }, |
- "createTime": { |
- "description": "The time which this request was started.", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
- "processedBytes": { |
- "description": "Total size in bytes that were processed.", |
- "format": "int64", |
- "type": "string" |
- }, |
- "requestStorageConfig": { |
- "$ref": "GooglePrivacyDlpV2beta1StorageConfig", |
- "description": "The storage config used to create the Operation." |
- }, |
- "totalEstimatedBytes": { |
- "description": "Estimate of the number of bytes to process.", |
+ "maxItemFindings": { |
+ "description": "Max number of findings per file, Datastore entity or database row.", |
"format": "int64", |
"type": "string" |
- }, |
- "infoTypeStats": { |
- "items": { |
- "$ref": "GooglePrivacyDlpV2beta1InfoTypeStatistics" |
- }, |
- "type": "array" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1InfoType": { |
- "description": "Type of information detected by the API.", |
- "id": "GooglePrivacyDlpV2beta1InfoType", |
+ "GooglePrivacyDlpV2beta1BigQueryOptions": { |
+ "description": "Options defining BigQuery table and row identifiers.", |
+ "id": "GooglePrivacyDlpV2beta1BigQueryOptions", |
"properties": { |
- "name": { |
- "description": "Name of the information type.", |
- "type": "string" |
+ "identifyingFields": { |
+ "description": "References to fields uniquely identifying rows within the table.\nNested fields in the format, like `person.birthdate.year`, are allowed.", |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1FieldId" |
+ }, |
+ "type": "array" |
+ }, |
+ "tableReference": { |
+ "$ref": "GooglePrivacyDlpV2beta1BigQueryTable", |
+ "description": "Complete BigQuery table reference." |
} |
}, |
"type": "object" |
@@ -861,13 +872,13 @@ |
"GooglePrivacyDlpV2beta1ReplaceConfig": { |
"id": "GooglePrivacyDlpV2beta1ReplaceConfig", |
"properties": { |
- "infoType": { |
- "$ref": "GooglePrivacyDlpV2beta1InfoType", |
- "description": "Type of information to replace. Only one ReplaceConfig per info_type\nshould be provided. If ReplaceConfig does not have an info_type, the DLP\nAPI matches it against all info_types that are found but not specified in\nanother ReplaceConfig." |
- }, |
"replaceWith": { |
"description": "Content replacing sensitive information of given type. Max 256 chars.", |
"type": "string" |
+ }, |
+ "infoType": { |
+ "$ref": "GooglePrivacyDlpV2beta1InfoType", |
+ "description": "Type of information to replace. Only one ReplaceConfig per info_type\nshould be provided. If ReplaceConfig does not have an info_type, the DLP\nAPI matches it against all info_types that are found but not specified in\nanother ReplaceConfig." |
} |
}, |
"type": "object" |
@@ -894,22 +905,68 @@ |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1PathElement": { |
- "description": "A (kind, ID/name) pair used to construct a key path.\n\nIf either name or ID is set, the element is complete.\nIf neither is set, the element is incomplete.", |
- "id": "GooglePrivacyDlpV2beta1PathElement", |
+ "GooglePrivacyDlpV2beta1Table": { |
+ "description": "Structured content to inspect. Up to 50,000 `Value`s per request allowed.", |
+ "id": "GooglePrivacyDlpV2beta1Table", |
"properties": { |
- "name": { |
- "description": "The name of the entity.\nA name matching regex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", |
+ "headers": { |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1FieldId" |
+ }, |
+ "type": "array" |
+ }, |
+ "rows": { |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1Row" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GooglePrivacyDlpV2beta1InfoTypeLimit": { |
+ "description": "Max findings configuration per info type, per content item or long running\noperation.", |
+ "id": "GooglePrivacyDlpV2beta1InfoTypeLimit", |
+ "properties": { |
+ "infoType": { |
+ "$ref": "GooglePrivacyDlpV2beta1InfoType", |
+ "description": "Type of information the findings limit applies to. Only one limit per\ninfo_type should be provided. If InfoTypeLimit does not have an\ninfo_type, the DLP API applies the limit against all info_types that are\nfound but not specified in another InfoTypeLimit." |
+ }, |
+ "maxFindings": { |
+ "description": "Max findings limit for the given info type.", |
+ "format": "int32", |
+ "type": "integer" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GooglePrivacyDlpV2beta1Value": { |
+ "description": "Set of primitive values supported by the system.", |
+ "id": "GooglePrivacyDlpV2beta1Value", |
+ "properties": { |
+ "stringValue": { |
"type": "string" |
}, |
- "kind": { |
- "description": "The kind of the entity.\nA kind matching regex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", |
+ "dateValue": { |
+ "$ref": "GoogleTypeDate" |
+ }, |
+ "timestampValue": { |
+ "format": "google-datetime", |
"type": "string" |
}, |
- "id": { |
- "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported in the future.", |
+ "booleanValue": { |
+ "type": "boolean" |
+ }, |
+ "floatValue": { |
+ "format": "double", |
+ "type": "number" |
+ }, |
+ "integerValue": { |
"format": "int64", |
"type": "string" |
+ }, |
+ "timeValue": { |
+ "$ref": "GoogleTypeTimeOfDay" |
} |
}, |
"type": "object" |
@@ -928,58 +985,128 @@ |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1CategoryDescription": { |
- "description": "Info Type Category description.", |
- "id": "GooglePrivacyDlpV2beta1CategoryDescription", |
+ "GooglePrivacyDlpV2beta1CloudStorageKey": { |
+ "description": "Record key for a finding in a Cloud Storage file.", |
+ "id": "GooglePrivacyDlpV2beta1CloudStorageKey", |
"properties": { |
- "displayName": { |
- "description": "Human readable form of the category name.", |
+ "filePath": { |
+ "description": "Path to the file.", |
"type": "string" |
}, |
- "name": { |
- "description": "Internal name of the category.", |
+ "startOffset": { |
+ "description": "Byte offset of the referenced data in the file.", |
+ "format": "int64", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1ListRootCategoriesResponse": { |
- "description": "Response for ListRootCategories request.", |
- "id": "GooglePrivacyDlpV2beta1ListRootCategoriesResponse", |
+ "GooglePrivacyDlpV2beta1PartitionId": { |
+ "description": "Datastore partition ID.\nA partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\nproject ID and namespace ID.", |
+ "id": "GooglePrivacyDlpV2beta1PartitionId", |
"properties": { |
- "categories": { |
- "description": "List of all into type categories supported by the API.", |
+ "projectId": { |
+ "description": "The ID of the project to which the entities belong.", |
+ "type": "string" |
+ }, |
+ "namespaceId": { |
+ "description": "If not empty, the ID of the namespace to which the entities belong.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GooglePrivacyDlpV2beta1InspectContentResponse": { |
+ "description": "Results of inspecting a list of items.", |
+ "id": "GooglePrivacyDlpV2beta1InspectContentResponse", |
+ "properties": { |
+ "results": { |
+ "description": "Each content_item from the request has a result in this list, in the\nsame order as the request.", |
"items": { |
- "$ref": "GooglePrivacyDlpV2beta1CategoryDescription" |
+ "$ref": "GooglePrivacyDlpV2beta1InspectResult" |
}, |
"type": "array" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1Finding": { |
- "description": "Container structure describing a single finding within a string or image.", |
- "id": "GooglePrivacyDlpV2beta1Finding", |
+ "GooglePrivacyDlpV2beta1RedactContentRequest": { |
+ "description": "Request to search for potentially sensitive info in a list of items\nand replace it with a default or provided content.", |
+ "id": "GooglePrivacyDlpV2beta1RedactContentRequest", |
"properties": { |
- "createTime": { |
- "description": "Timestamp when finding was detected.", |
- "format": "google-datetime", |
- "type": "string" |
+ "imageRedactionConfigs": { |
+ "description": "The configuration for specifying what content to redact from images.", |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1ImageRedactionConfig" |
+ }, |
+ "type": "array" |
}, |
- "infoType": { |
- "$ref": "GooglePrivacyDlpV2beta1InfoType", |
- "description": "The specific type of info the string might be." |
+ "inspectConfig": { |
+ "$ref": "GooglePrivacyDlpV2beta1InspectConfig", |
+ "description": "Configuration for the inspector." |
}, |
- "location": { |
- "$ref": "GooglePrivacyDlpV2beta1Location", |
- "description": "Location of the info found." |
+ "items": { |
+ "description": "The list of items to inspect. Up to 100 are allowed per request.", |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1ContentItem" |
+ }, |
+ "type": "array" |
}, |
- "quote": { |
- "description": "The specific string that may be potentially sensitive info.", |
+ "replaceConfigs": { |
+ "description": "The strings to replace findings text findings with. Must specify at least\none of these or one ImageRedactionConfig if redacting images.", |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1ReplaceConfig" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GooglePrivacyDlpV2beta1FieldId": { |
+ "description": "General identifier of a data field in a storage service.", |
+ "id": "GooglePrivacyDlpV2beta1FieldId", |
+ "properties": { |
+ "columnName": { |
+ "description": "Name describing the field.", |
"type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GooglePrivacyDlpV2beta1DatastoreOptions": { |
+ "description": "Options defining a data set within Google Cloud Datastore.", |
+ "id": "GooglePrivacyDlpV2beta1DatastoreOptions", |
+ "properties": { |
+ "projection": { |
+ "description": "Properties to scan. If none are specified, all properties will be scanned\nby default.", |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1Projection" |
+ }, |
+ "type": "array" |
}, |
- "likelihood": { |
- "description": "Estimate of how likely it is that the info_type is correct.", |
+ "kind": { |
+ "$ref": "GooglePrivacyDlpV2beta1KindExpression", |
+ "description": "The kind to process." |
+ }, |
+ "partitionId": { |
+ "$ref": "GooglePrivacyDlpV2beta1PartitionId", |
+ "description": "A partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GoogleLongrunningCancelOperationRequest": { |
+ "description": "The request message for Operations.CancelOperation.", |
+ "id": "GoogleLongrunningCancelOperationRequest", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
+ "GooglePrivacyDlpV2beta1InspectConfig": { |
+ "description": "Configuration description of the scanning process.\nWhen used with redactContent only info_types and min_likelihood are currently\nused.", |
+ "id": "GooglePrivacyDlpV2beta1InspectConfig", |
+ "properties": { |
+ "minLikelihood": { |
+ "description": "Only returns findings equal or above this threshold.", |
"enum": [ |
"LIKELIHOOD_UNSPECIFIED", |
"VERY_UNLIKELY", |
@@ -997,230 +1124,318 @@ |
"Many matching elements." |
], |
"type": "string" |
+ }, |
+ "infoTypeLimits": { |
+ "description": "Configuration of findings limit given for specified info types.", |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1InfoTypeLimit" |
+ }, |
+ "type": "array" |
+ }, |
+ "maxFindings": { |
+ "description": "Limits the number of findings per content item or long running operation.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "infoTypes": { |
+ "description": "Restricts what info_types to look for. The values must correspond to\nInfoType values returned by ListInfoTypes or found in documentation.\nEmpty info_types runs all enabled detectors.", |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1InfoType" |
+ }, |
+ "type": "array" |
+ }, |
+ "includeQuote": { |
+ "description": "When true, a contextual quote from the data that triggered a finding is\nincluded in the response; see Finding.quote.", |
+ "type": "boolean" |
+ }, |
+ "excludeTypes": { |
+ "description": "When true, excludes type information of the findings.", |
+ "type": "boolean" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1CloudStorageKey": { |
- "description": "Record key for a finding in a Cloud Storage file.", |
- "id": "GooglePrivacyDlpV2beta1CloudStorageKey", |
+ "GooglePrivacyDlpV2beta1Projection": { |
+ "description": "A representation of a Datastore property in a projection.", |
+ "id": "GooglePrivacyDlpV2beta1Projection", |
"properties": { |
- "filePath": { |
- "description": "Path to the file.", |
- "type": "string" |
- }, |
- "startOffset": { |
- "description": "Byte offset of the referenced data in the file.", |
- "format": "int64", |
- "type": "string" |
+ "property": { |
+ "$ref": "GooglePrivacyDlpV2beta1PropertyReference", |
+ "description": "The property to project." |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1PartitionId": { |
- "description": "Datastore partition ID.\nA partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\nproject ID and namespace ID.", |
- "id": "GooglePrivacyDlpV2beta1PartitionId", |
+ "GooglePrivacyDlpV2beta1CreateInspectOperationRequest": { |
+ "description": "Request for scheduling a scan of a data subset from a Google Platform data\nrepository.", |
+ "id": "GooglePrivacyDlpV2beta1CreateInspectOperationRequest", |
"properties": { |
- "namespaceId": { |
- "description": "If not empty, the ID of the namespace to which the entities belong.", |
- "type": "string" |
+ "outputConfig": { |
+ "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig", |
+ "description": "Optional location to store findings. The bucket must already exist and\nthe Google APIs service account for DLP must have write permission to\nwrite to the given bucket.\n<p>Results are split over multiple csv files with each file name matching\nthe pattern \"[operation_id]_[count].csv\", for example\n`3094877188788974909_1.csv`. The `operation_id` matches the\nidentifier for the Operation, and the `count` is a counter used for\ntracking the number of files written. <p>The CSV file(s) contain the\nfollowing columns regardless of storage type scanned: <li>id <li>info_type\n<li>likelihood <li>byte size of finding <li>quote <li>timestamp<br/>\n<p>For Cloud Storage the next columns are: <li>file_path\n<li>start_offset<br/>\n<p>For Cloud Datastore the next columns are: <li>project_id\n<li>namespace_id <li>path <li>column_name <li>offset<br/>\n<p>For BigQuery the next columns are: <li>row_number <li>project_id\n<li>dataset_id <li>table_id" |
}, |
- "projectId": { |
- "description": "The ID of the project to which the entities belong.", |
- "type": "string" |
+ "operationConfig": { |
+ "$ref": "GooglePrivacyDlpV2beta1OperationConfig", |
+ "description": "Additional configuration settings for long running operations." |
+ }, |
+ "inspectConfig": { |
+ "$ref": "GooglePrivacyDlpV2beta1InspectConfig", |
+ "description": "Configuration for the inspector." |
+ }, |
+ "storageConfig": { |
+ "$ref": "GooglePrivacyDlpV2beta1StorageConfig", |
+ "description": "Specification of the data set to process." |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1InspectContentResponse": { |
- "description": "Results of inspecting a list of items.", |
- "id": "GooglePrivacyDlpV2beta1InspectContentResponse", |
+ "GooglePrivacyDlpV2beta1Key": { |
+ "description": "A unique identifier for a Datastore entity.\nIf a key's partition ID or any of its path kinds or names are\nreserved/read-only, the key is reserved/read-only.\nA reserved/read-only key is forbidden in certain documented contexts.", |
+ "id": "GooglePrivacyDlpV2beta1Key", |
"properties": { |
- "results": { |
- "description": "Each content_item from the request has a result in this list, in the\nsame order as the request.", |
+ "path": { |
+ "description": "The entity path.\nAn entity path consists of one or more elements composed of a kind and a\nstring or numerical identifier, which identify entities. The first\nelement identifies a _root entity_, the second element identifies\na _child_ of the root entity, the third element identifies a child of the\nsecond entity, and so forth. The entities identified by all prefixes of\nthe path are called the element's _ancestors_.\n\nA path can never be empty, and a path can have at most 100 elements.", |
"items": { |
- "$ref": "GooglePrivacyDlpV2beta1InspectResult" |
+ "$ref": "GooglePrivacyDlpV2beta1PathElement" |
}, |
"type": "array" |
+ }, |
+ "partitionId": { |
+ "$ref": "GooglePrivacyDlpV2beta1PartitionId", |
+ "description": "Entities are partitioned into subsets, currently identified by a project\nID and namespace ID.\nQueries are scoped to a single partition." |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1KindExpression": { |
- "description": "A representation of a Datastore kind.", |
- "id": "GooglePrivacyDlpV2beta1KindExpression", |
- "properties": { |
- "name": { |
- "description": "The name of the kind.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "GooglePrivacyDlpV2beta1RedactContentRequest": { |
- "description": "Request to search for potentially sensitive info in a list of items\nand replace it with a default or provided content.", |
- "id": "GooglePrivacyDlpV2beta1RedactContentRequest", |
+ "GooglePrivacyDlpV2beta1InspectContentRequest": { |
+ "description": "Request to search for potentially sensitive info in a list of items.", |
+ "id": "GooglePrivacyDlpV2beta1InspectContentRequest", |
"properties": { |
+ "inspectConfig": { |
+ "$ref": "GooglePrivacyDlpV2beta1InspectConfig", |
+ "description": "Configuration for the inspector." |
+ }, |
"items": { |
- "description": "The list of items to inspect. Up to 100 are allowed per request.", |
+ "description": "The list of items to inspect. Items in a single request are\nconsidered \"related\" unless inspect_config.independent_inputs is true.\nUp to 100 are allowed per request.", |
"items": { |
"$ref": "GooglePrivacyDlpV2beta1ContentItem" |
}, |
"type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GoogleTypeDate": { |
+ "description": "Represents a whole calendar date, e.g. date of birth. The time of day and\ntime zone are either specified elsewhere or are not significant. The date\nis relative to the Proleptic Gregorian Calendar. The day may be 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independent\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`.", |
+ "id": "GoogleTypeDate", |
+ "properties": { |
+ "day": { |
+ "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not significant.", |
+ "format": "int32", |
+ "type": "integer" |
}, |
- "replaceConfigs": { |
- "description": "The strings to replace findings text findings with. Must specify at least\none of these or one ImageRedactionConfig if redacting images.", |
- "items": { |
- "$ref": "GooglePrivacyDlpV2beta1ReplaceConfig" |
- }, |
- "type": "array" |
+ "year": { |
+ "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.", |
+ "format": "int32", |
+ "type": "integer" |
}, |
- "imageRedactionConfigs": { |
- "description": "The configuration for specifying what content to redact from images.", |
- "items": { |
- "$ref": "GooglePrivacyDlpV2beta1ImageRedactionConfig" |
- }, |
- "type": "array" |
+ "month": { |
+ "description": "Month of year. Must be from 1 to 12.", |
+ "format": "int32", |
+ "type": "integer" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GooglePrivacyDlpV2beta1InfoTypeStatistics": { |
+ "description": "Statistics regarding a specific InfoType.", |
+ "id": "GooglePrivacyDlpV2beta1InfoTypeStatistics", |
+ "properties": { |
+ "count": { |
+ "description": "Number of findings for this info type.", |
+ "format": "int64", |
+ "type": "string" |
}, |
- "inspectConfig": { |
- "$ref": "GooglePrivacyDlpV2beta1InspectConfig", |
- "description": "Configuration for the inspector." |
+ "infoType": { |
+ "$ref": "GooglePrivacyDlpV2beta1InfoType", |
+ "description": "The type of finding this stat is for." |
} |
}, |
"type": "object" |
}, |
- "GoogleLongrunningListOperationsResponse": { |
- "description": "The response message for Operations.ListOperations.", |
- "id": "GoogleLongrunningListOperationsResponse", |
+ "GooglePrivacyDlpV2beta1ImageRedactionConfig": { |
+ "description": "Configuration for determing how redaction of images should occur.", |
+ "id": "GooglePrivacyDlpV2beta1ImageRedactionConfig", |
"properties": { |
- "operations": { |
- "description": "A list of operations that matches the specified filter in the request.", |
- "items": { |
- "$ref": "GoogleLongrunningOperation" |
- }, |
- "type": "array" |
+ "redactionColor": { |
+ "$ref": "GooglePrivacyDlpV2beta1Color", |
+ "description": "The color to use when redacting content from an image. If not specified,\nthe default is black." |
}, |
- "nextPageToken": { |
- "description": "The standard List next-page token.", |
- "type": "string" |
+ "redactAllText": { |
+ "description": "If true, all text found in the image, regardless whether it matches an\ninfo_type, is redacted.", |
+ "type": "boolean" |
+ }, |
+ "infoType": { |
+ "$ref": "GooglePrivacyDlpV2beta1InfoType", |
+ "description": "Only one per info_type should be provided per request. If not\nspecified, and redact_all_text is false, the DLP API will redact all\ntext that it matches against all info_types that are found, but not\nspecified in another ImageRedactionConfig." |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1FieldId": { |
- "description": "General identifier of a data field in a storage service.", |
- "id": "GooglePrivacyDlpV2beta1FieldId", |
+ "GooglePrivacyDlpV2beta1RedactContentResponse": { |
+ "description": "Results of redacting a list of items.", |
+ "id": "GooglePrivacyDlpV2beta1RedactContentResponse", |
"properties": { |
- "columnName": { |
- "description": "Name describing the field.", |
- "type": "string" |
+ "items": { |
+ "description": "The redacted content.", |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1ContentItem" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1FileSet": { |
- "description": "Set of files to scan.", |
- "id": "GooglePrivacyDlpV2beta1FileSet", |
+ "GooglePrivacyDlpV2beta1PropertyReference": { |
+ "description": "A reference to a property relative to the Datastore kind expressions.", |
+ "id": "GooglePrivacyDlpV2beta1PropertyReference", |
"properties": { |
- "url": { |
- "description": "The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the\npath is allowed.", |
+ "name": { |
+ "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1DatastoreOptions": { |
- "description": "Options defining a data set within Google Cloud Datastore.", |
- "id": "GooglePrivacyDlpV2beta1DatastoreOptions", |
+ "GooglePrivacyDlpV2beta1Location": { |
+ "description": "Specifies the location of a finding within its source item.", |
+ "id": "GooglePrivacyDlpV2beta1Location", |
"properties": { |
- "partitionId": { |
- "$ref": "GooglePrivacyDlpV2beta1PartitionId", |
- "description": "A partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty." |
+ "tableLocation": { |
+ "$ref": "GooglePrivacyDlpV2beta1TableLocation", |
+ "description": "Location within a `ContentItem.Table`." |
}, |
- "projection": { |
- "description": "Properties to scan. If none are specified, all properties will be scanned\nby default.", |
+ "codepointRange": { |
+ "$ref": "GooglePrivacyDlpV2beta1Range", |
+ "description": "Character offsets within a content item, included when content type\nis a text. Default charset assumed to be UTF-8." |
+ }, |
+ "fieldId": { |
+ "$ref": "GooglePrivacyDlpV2beta1FieldId", |
+ "description": "Field id of the field containing the finding." |
+ }, |
+ "imageBoxes": { |
+ "description": "Location within an image's pixels.", |
"items": { |
- "$ref": "GooglePrivacyDlpV2beta1Projection" |
+ "$ref": "GooglePrivacyDlpV2beta1ImageLocation" |
}, |
"type": "array" |
}, |
- "kind": { |
- "$ref": "GooglePrivacyDlpV2beta1KindExpression", |
- "description": "The kind to process." |
+ "byteRange": { |
+ "$ref": "GooglePrivacyDlpV2beta1Range", |
+ "description": "Zero-based byte offsets within a content item." |
+ }, |
+ "recordKey": { |
+ "$ref": "GooglePrivacyDlpV2beta1RecordKey", |
+ "description": "Key of the finding." |
} |
}, |
"type": "object" |
}, |
- "GoogleLongrunningCancelOperationRequest": { |
- "description": "The request message for Operations.CancelOperation.", |
- "id": "GoogleLongrunningCancelOperationRequest", |
- "properties": {}, |
- "type": "object" |
- }, |
- "GoogleProtobufEmpty": { |
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
- "id": "GoogleProtobufEmpty", |
- "properties": {}, |
+ "GooglePrivacyDlpV2beta1InfoTypeDescription": { |
+ "description": "Info type description.", |
+ "id": "GooglePrivacyDlpV2beta1InfoTypeDescription", |
+ "properties": { |
+ "categories": { |
+ "description": "List of categories this info type belongs to.", |
+ "items": { |
+ "$ref": "GooglePrivacyDlpV2beta1CategoryDescription" |
+ }, |
+ "type": "array" |
+ }, |
+ "name": { |
+ "description": "Internal name of the info type.", |
+ "type": "string" |
+ }, |
+ "displayName": { |
+ "description": "Human readable form of the info type name.", |
+ "type": "string" |
+ } |
+ }, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1ListInspectFindingsResponse": { |
- "description": "Response to the ListInspectFindings request.", |
- "id": "GooglePrivacyDlpV2beta1ListInspectFindingsResponse", |
+ "GooglePrivacyDlpV2beta1OutputStorageConfig": { |
+ "description": "Cloud repository for storing output.", |
+ "id": "GooglePrivacyDlpV2beta1OutputStorageConfig", |
"properties": { |
- "nextPageToken": { |
- "description": "If not empty, indicates that there may be more results that match the\nrequest; this value should be passed in a new `ListInspectFindingsRequest`.", |
- "type": "string" |
+ "storagePath": { |
+ "$ref": "GooglePrivacyDlpV2beta1CloudStoragePath", |
+ "description": "The path to a Google Cloud Storage location to store output." |
}, |
- "result": { |
- "$ref": "GooglePrivacyDlpV2beta1InspectResult", |
- "description": "The results." |
+ "table": { |
+ "$ref": "GooglePrivacyDlpV2beta1BigQueryTable", |
+ "description": "Store findings in a new table in the dataset." |
} |
}, |
"type": "object" |
}, |
- "GooglePrivacyDlpV2beta1InspectConfig": { |
- "description": "Configuration description of the scanning process.\nWhen used with redactContent only info_types and min_likelihood are currently\nused.", |
- "id": "GooglePrivacyDlpV2beta1InspectConfig", |
+ "GoogleRpcStatus": { |
+ "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", |
+ "id": "GoogleRpcStatus", |
"properties": { |
- "maxFindings": { |
- "description": "Limits the number of findings per content item or long running operation.", |
+ "code": { |
+ "description": "The status code, which should be an enum value of google.rpc.Code.", |
"format": "int32", |
"type": "integer" |
}, |
- "excludeTypes": { |
- "description": "When true, excludes type information of the findings.", |
- "type": "boolean" |
+ "message": { |
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", |
+ "type": "string" |
}, |
- "infoTypes": { |
- "description": "Restricts what info_types to look for. The values must correspond to\nInfoType values returned by ListInfoTypes or found in documentation.\nEmpty info_types runs all enabled detectors.", |
+ "details": { |
+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.", |
"items": { |
- "$ref": "GooglePrivacyDlpV2beta1InfoType" |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "type": "object" |
}, |
"type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GoogleLongrunningOperation": { |
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", |
+ "id": "GoogleLongrunningOperation", |
+ "properties": { |
+ "name": { |
+ "description": "The server-assigned name, The `name` should have the format of `inspect/operations/<identifier>`.", |
+ "type": "string" |
}, |
- "includeQuote": { |
- "description": "When true, a contextual quote from the data that triggered a finding is\nincluded in the response; see Finding.quote.", |
+ "error": { |
+ "$ref": "GoogleRpcStatus", |
+ "description": "The error result of the operation in case of failure or cancellation." |
+ }, |
+ "metadata": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "description": "This field will contain an InspectOperationMetadata object. This will always be returned with the Operation.", |
+ "type": "object" |
+ }, |
+ "done": { |
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", |
"type": "boolean" |
}, |
- "minLikelihood": { |
- "description": "Only returns findings equal or above this threshold.", |
- "enum": [ |
- "LIKELIHOOD_UNSPECIFIED", |
- "VERY_UNLIKELY", |
- "UNLIKELY", |
- "POSSIBLE", |
- "LIKELY", |
- "VERY_LIKELY" |
- ], |
- "enumDescriptions": [ |
- "Default value; information with all likelihoods is included.", |
- "Few matching elements.", |
- "", |
- "Some matching elements.", |
- "", |
- "Many matching elements." |
- ], |
- "type": "string" |
+ "response": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "description": "This field will contain an InspectOperationResult object.", |
+ "type": "object" |
} |
}, |
"type": "object" |