| { |
| "name": "dlp", |
| "fullyEncodeReservedExpansion": true, |
| "basePath": "", |
| "ownerDomain": "google.com", |
| "revision": "20201107", |
| "id": "dlp:v2", |
| "parameters": { |
| "prettyPrint": { |
| "description": "Returns response with indentations and line breaks.", |
| "type": "boolean", |
| "location": "query", |
| "default": "true" |
| }, |
| "oauth_token": { |
| "type": "string", |
| "location": "query", |
| "description": "OAuth 2.0 token for the current user." |
| }, |
| "$.xgafv": { |
| "enumDescriptions": [ |
| "v1 error format", |
| "v2 error format" |
| ], |
| "location": "query", |
| "type": "string", |
| "description": "V1 error format.", |
| "enum": [ |
| "1", |
| "2" |
| ] |
| }, |
| "quotaUser": { |
| "type": "string", |
| "location": "query", |
| "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters." |
| }, |
| "uploadType": { |
| "type": "string", |
| "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| "location": "query" |
| }, |
| "upload_protocol": { |
| "type": "string", |
| "location": "query", |
| "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." |
| }, |
| "fields": { |
| "description": "Selector specifying which fields to include in a partial response.", |
| "type": "string", |
| "location": "query" |
| }, |
| "alt": { |
| "enum": [ |
| "json", |
| "media", |
| "proto" |
| ], |
| "location": "query", |
| "type": "string", |
| "default": "json", |
| "enumDescriptions": [ |
| "Responses with Content-Type of application/json", |
| "Media download with context-dependent Content-Type", |
| "Responses with Content-Type of application/x-protobuf" |
| ], |
| "description": "Data format for response." |
| }, |
| "key": { |
| "location": "query", |
| "type": "string", |
| "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": { |
| "location": "query", |
| "type": "string", |
| "description": "OAuth access token." |
| }, |
| "callback": { |
| "location": "query", |
| "description": "JSONP", |
| "type": "string" |
| } |
| }, |
| "servicePath": "", |
| "baseUrl": "https://dlp.googleapis.com/", |
| "resources": { |
| "organizations": { |
| "resources": { |
| "storedInfoTypes": { |
| "methods": { |
| "get": { |
| "path": "v2/{+name}", |
| "parameters": { |
| "name": { |
| "pattern": "^organizations/[^/]+/storedInfoTypes/[^/]+$", |
| "type": "string", |
| "required": true, |
| "description": "Required. Resource name of the organization and storedInfoType to be read, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.", |
| "location": "path" |
| } |
| }, |
| "flatPath": "v2/organizations/{organizationsId}/storedInfoTypes/{storedInfoTypesId}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "dlp.organizations.storedInfoTypes.get", |
| "description": "Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| }, |
| "httpMethod": "GET" |
| }, |
| "patch": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateStoredInfoTypeRequest" |
| }, |
| "path": "v2/{+name}", |
| "httpMethod": "PATCH", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v2/organizations/{organizationsId}/storedInfoTypes/{storedInfoTypesId}", |
| "id": "dlp.organizations.storedInfoTypes.patch", |
| "parameters": { |
| "name": { |
| "description": "Required. Resource name of organization and storedInfoType to be updated, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.", |
| "type": "string", |
| "pattern": "^organizations/[^/]+/storedInfoTypes/[^/]+$", |
| "required": true, |
| "location": "path" |
| } |
| } |
| }, |
| "delete": { |
| "parameterOrder": [ |
| "name" |
| ], |
| "description": "Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "required": true, |
| "location": "path", |
| "pattern": "^organizations/[^/]+/storedInfoTypes/[^/]+$", |
| "description": "Required. Resource name of the organization and storedInfoType to be deleted, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342." |
| } |
| }, |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "flatPath": "v2/organizations/{organizationsId}/storedInfoTypes/{storedInfoTypesId}", |
| "id": "dlp.organizations.storedInfoTypes.delete", |
| "path": "v2/{+name}", |
| "httpMethod": "DELETE", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "create": { |
| "id": "dlp.organizations.storedInfoTypes.create", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateStoredInfoTypeRequest" |
| }, |
| "description": "Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| }, |
| "path": "v2/{+parent}/storedInfoTypes", |
| "flatPath": "v2/organizations/{organizationsId}/storedInfoTypes", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "parent": { |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "location": "path", |
| "type": "string", |
| "pattern": "^organizations/[^/]+$", |
| "required": true |
| } |
| }, |
| "httpMethod": "POST" |
| }, |
| "list": { |
| "parameters": { |
| "parent": { |
| "required": true, |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "type": "string", |
| "pattern": "^organizations/[^/]+$", |
| "location": "path" |
| }, |
| "locationId": { |
| "description": "Deprecated. This field has no effect.", |
| "type": "string", |
| "location": "query" |
| }, |
| "pageToken": { |
| "type": "string", |
| "location": "query", |
| "description": "Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`." |
| }, |
| "pageSize": { |
| "format": "int32", |
| "description": "Size of the page, can be limited by server. If zero server returns a page of max size 100.", |
| "type": "integer", |
| "location": "query" |
| }, |
| "orderBy": { |
| "type": "string", |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", |
| "location": "query" |
| } |
| }, |
| "httpMethod": "GET", |
| "description": "Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListStoredInfoTypesResponse" |
| }, |
| "flatPath": "v2/organizations/{organizationsId}/storedInfoTypes", |
| "id": "dlp.organizations.storedInfoTypes.list", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "path": "v2/{+parent}/storedInfoTypes", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| } |
| } |
| }, |
| "locations": { |
| "resources": { |
| "inspectTemplates": { |
| "methods": { |
| "delete": { |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+name}", |
| "id": "dlp.organizations.locations.inspectTemplates.delete", |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/inspectTemplates/{inspectTemplatesId}", |
| "description": "Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "parameterOrder": [ |
| "name" |
| ], |
| "parameters": { |
| "name": { |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "description": "Required. Resource name of the organization and inspectTemplate to be deleted, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.", |
| "pattern": "^organizations/[^/]+/locations/[^/]+/inspectTemplates/[^/]+$" |
| } |
| }, |
| "httpMethod": "DELETE" |
| }, |
| "list": { |
| "description": "Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "path": "v2/{+parent}/inspectTemplates", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/inspectTemplates", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListInspectTemplatesResponse" |
| }, |
| "httpMethod": "GET", |
| "id": "dlp.organizations.locations.inspectTemplates.list", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "pageToken": { |
| "type": "string", |
| "location": "query", |
| "description": "Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`." |
| }, |
| "pageSize": { |
| "description": "Size of the page, can be limited by server. If zero server returns a page of max size 100.", |
| "location": "query", |
| "format": "int32", |
| "type": "integer" |
| }, |
| "locationId": { |
| "type": "string", |
| "location": "query", |
| "description": "Deprecated. This field has no effect." |
| }, |
| "orderBy": { |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the template was created. - `update_time`: corresponds to time the template was last updated. - `name`: corresponds to template's name. - `display_name`: corresponds to template's display name.", |
| "type": "string", |
| "location": "query" |
| }, |
| "parent": { |
| "required": true, |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "location": "path", |
| "type": "string", |
| "pattern": "^organizations/[^/]+/locations/[^/]+$" |
| } |
| } |
| }, |
| "create": { |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/inspectTemplates", |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "required": true, |
| "pattern": "^organizations/[^/]+/locations/[^/]+$", |
| "location": "path" |
| } |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.organizations.locations.inspectTemplates.create", |
| "httpMethod": "POST", |
| "description": "Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "path": "v2/{+parent}/inspectTemplates", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateInspectTemplateRequest" |
| } |
| }, |
| "get": { |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "dlp.organizations.locations.inspectTemplates.get", |
| "httpMethod": "GET", |
| "path": "v2/{+name}", |
| "description": "Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/inspectTemplates/{inspectTemplatesId}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "parameters": { |
| "name": { |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "pattern": "^organizations/[^/]+/locations/[^/]+/inspectTemplates/[^/]+$", |
| "description": "Required. Resource name of the organization and inspectTemplate to be read, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342." |
| } |
| } |
| }, |
| "patch": { |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateInspectTemplateRequest" |
| }, |
| "path": "v2/{+name}", |
| "id": "dlp.organizations.locations.inspectTemplates.patch", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/inspectTemplates/{inspectTemplatesId}", |
| "httpMethod": "PATCH", |
| "description": "Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "parameters": { |
| "name": { |
| "pattern": "^organizations/[^/]+/locations/[^/]+/inspectTemplates/[^/]+$", |
| "description": "Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.", |
| "type": "string", |
| "location": "path", |
| "required": true |
| } |
| } |
| } |
| } |
| }, |
| "storedInfoTypes": { |
| "methods": { |
| "list": { |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.organizations.locations.storedInfoTypes.list", |
| "httpMethod": "GET", |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/storedInfoTypes", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListStoredInfoTypesResponse" |
| }, |
| "parameters": { |
| "pageToken": { |
| "description": "Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`.", |
| "type": "string", |
| "location": "query" |
| }, |
| "parent": { |
| "type": "string", |
| "pattern": "^organizations/[^/]+/locations/[^/]+$", |
| "location": "path", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "required": true |
| }, |
| "locationId": { |
| "description": "Deprecated. This field has no effect.", |
| "type": "string", |
| "location": "query" |
| }, |
| "pageSize": { |
| "description": "Size of the page, can be limited by server. If zero server returns a page of max size 100.", |
| "type": "integer", |
| "location": "query", |
| "format": "int32" |
| }, |
| "orderBy": { |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", |
| "type": "string", |
| "location": "query" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "path": "v2/{+parent}/storedInfoTypes" |
| }, |
| "create": { |
| "description": "Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "path": "v2/{+parent}/storedInfoTypes", |
| "parameters": { |
| "parent": { |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "type": "string", |
| "required": true, |
| "location": "path", |
| "pattern": "^organizations/[^/]+/locations/[^/]+$" |
| } |
| }, |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/storedInfoTypes", |
| "httpMethod": "POST", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateStoredInfoTypeRequest" |
| }, |
| "id": "dlp.organizations.locations.storedInfoTypes.create", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| }, |
| "parameterOrder": [ |
| "parent" |
| ] |
| }, |
| "patch": { |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateStoredInfoTypeRequest" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/storedInfoTypes/{storedInfoTypesId}", |
| "id": "dlp.organizations.locations.storedInfoTypes.patch", |
| "path": "v2/{+name}", |
| "parameters": { |
| "name": { |
| "required": true, |
| "pattern": "^organizations/[^/]+/locations/[^/]+/storedInfoTypes/[^/]+$", |
| "location": "path", |
| "description": "Required. Resource name of organization and storedInfoType to be updated, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.", |
| "type": "string" |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| }, |
| "httpMethod": "PATCH", |
| "description": "Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more." |
| }, |
| "delete": { |
| "parameters": { |
| "name": { |
| "description": "Required. Resource name of the organization and storedInfoType to be deleted, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.", |
| "pattern": "^organizations/[^/]+/locations/[^/]+/storedInfoTypes/[^/]+$", |
| "required": true, |
| "type": "string", |
| "location": "path" |
| } |
| }, |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "description": "Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "path": "v2/{+name}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "dlp.organizations.locations.storedInfoTypes.delete", |
| "httpMethod": "DELETE", |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/storedInfoTypes/{storedInfoTypesId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "get": { |
| "httpMethod": "GET", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| }, |
| "path": "v2/{+name}", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "pattern": "^organizations/[^/]+/locations/[^/]+/storedInfoTypes/[^/]+$", |
| "location": "path", |
| "description": "Required. Resource name of the organization and storedInfoType to be read, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.", |
| "required": true |
| } |
| }, |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/storedInfoTypes/{storedInfoTypesId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameterOrder": [ |
| "name" |
| ], |
| "description": "Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "id": "dlp.organizations.locations.storedInfoTypes.get" |
| } |
| } |
| }, |
| "deidentifyTemplates": { |
| "methods": { |
| "delete": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "dlp.organizations.locations.deidentifyTemplates.delete", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/deidentifyTemplates/{deidentifyTemplatesId}", |
| "path": "v2/{+name}", |
| "httpMethod": "DELETE", |
| "parameters": { |
| "name": { |
| "pattern": "^organizations/[^/]+/locations/[^/]+/deidentifyTemplates/[^/]+$", |
| "description": "Required. Resource name of the organization and deidentify template to be deleted, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342.", |
| "type": "string", |
| "required": true, |
| "location": "path" |
| } |
| }, |
| "description": "Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more." |
| }, |
| "patch": { |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| }, |
| "id": "dlp.organizations.locations.deidentifyTemplates.patch", |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/deidentifyTemplates/{deidentifyTemplatesId}", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest" |
| }, |
| "description": "Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "PATCH", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "name": { |
| "location": "path", |
| "type": "string", |
| "pattern": "^organizations/[^/]+/locations/[^/]+/deidentifyTemplates/[^/]+$", |
| "required": true, |
| "description": "Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342." |
| } |
| }, |
| "path": "v2/{+name}" |
| }, |
| "create": { |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| }, |
| "path": "v2/{+parent}/deidentifyTemplates", |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/deidentifyTemplates", |
| "id": "dlp.organizations.locations.deidentifyTemplates.create", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateDeidentifyTemplateRequest" |
| }, |
| "parameters": { |
| "parent": { |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "pattern": "^organizations/[^/]+/locations/[^/]+$", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3" |
| } |
| } |
| }, |
| "get": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+name}", |
| "id": "dlp.organizations.locations.deidentifyTemplates.get", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/deidentifyTemplates/{deidentifyTemplatesId}", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "pattern": "^organizations/[^/]+/locations/[^/]+/deidentifyTemplates/[^/]+$", |
| "required": true, |
| "location": "path", |
| "description": "Required. Resource name of the organization and deidentify template to be read, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342." |
| } |
| }, |
| "description": "Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "httpMethod": "GET" |
| }, |
| "list": { |
| "description": "Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "parameters": { |
| "orderBy": { |
| "type": "string", |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the template was created. - `update_time`: corresponds to time the template was last updated. - `name`: corresponds to template's name. - `display_name`: corresponds to template's display name.", |
| "location": "query" |
| }, |
| "pageToken": { |
| "location": "query", |
| "type": "string", |
| "description": "Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`." |
| }, |
| "parent": { |
| "type": "string", |
| "required": true, |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "location": "path", |
| "pattern": "^organizations/[^/]+/locations/[^/]+$" |
| }, |
| "pageSize": { |
| "description": "Size of the page, can be limited by server. If zero server returns a page of max size 100.", |
| "location": "query", |
| "format": "int32", |
| "type": "integer" |
| }, |
| "locationId": { |
| "description": "Deprecated. This field has no effect.", |
| "type": "string", |
| "location": "query" |
| } |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.organizations.locations.deidentifyTemplates.list", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListDeidentifyTemplatesResponse" |
| }, |
| "path": "v2/{+parent}/deidentifyTemplates", |
| "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/deidentifyTemplates", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "GET" |
| } |
| } |
| } |
| } |
| }, |
| "inspectTemplates": { |
| "methods": { |
| "list": { |
| "path": "v2/{+parent}/inspectTemplates", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.organizations.inspectTemplates.list", |
| "httpMethod": "GET", |
| "parameters": { |
| "pageToken": { |
| "description": "Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`.", |
| "type": "string", |
| "location": "query" |
| }, |
| "locationId": { |
| "type": "string", |
| "description": "Deprecated. This field has no effect.", |
| "location": "query" |
| }, |
| "orderBy": { |
| "type": "string", |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the template was created. - `update_time`: corresponds to time the template was last updated. - `name`: corresponds to template's name. - `display_name`: corresponds to template's display name.", |
| "location": "query" |
| }, |
| "pageSize": { |
| "description": "Size of the page, can be limited by server. If zero server returns a page of max size 100.", |
| "type": "integer", |
| "location": "query", |
| "format": "int32" |
| }, |
| "parent": { |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "location": "path", |
| "pattern": "^organizations/[^/]+$", |
| "required": true, |
| "type": "string" |
| } |
| }, |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListInspectTemplatesResponse" |
| }, |
| "description": "Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v2/organizations/{organizationsId}/inspectTemplates" |
| }, |
| "create": { |
| "httpMethod": "POST", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateInspectTemplateRequest" |
| }, |
| "flatPath": "v2/organizations/{organizationsId}/inspectTemplates", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "dlp.organizations.inspectTemplates.create", |
| "path": "v2/{+parent}/inspectTemplates", |
| "description": "Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "parameters": { |
| "parent": { |
| "required": true, |
| "location": "path", |
| "type": "string", |
| "pattern": "^organizations/[^/]+$", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3" |
| } |
| }, |
| "parameterOrder": [ |
| "parent" |
| ] |
| }, |
| "patch": { |
| "parameters": { |
| "name": { |
| "required": true, |
| "location": "path", |
| "description": "Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.", |
| "pattern": "^organizations/[^/]+/inspectTemplates/[^/]+$", |
| "type": "string" |
| } |
| }, |
| "description": "Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateInspectTemplateRequest" |
| }, |
| "path": "v2/{+name}", |
| "httpMethod": "PATCH", |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "dlp.organizations.inspectTemplates.patch", |
| "flatPath": "v2/organizations/{organizationsId}/inspectTemplates/{inspectTemplatesId}" |
| }, |
| "delete": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v2/organizations/{organizationsId}/inspectTemplates/{inspectTemplatesId}", |
| "parameters": { |
| "name": { |
| "required": true, |
| "type": "string", |
| "description": "Required. Resource name of the organization and inspectTemplate to be deleted, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.", |
| "location": "path", |
| "pattern": "^organizations/[^/]+/inspectTemplates/[^/]+$" |
| } |
| }, |
| "httpMethod": "DELETE", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "id": "dlp.organizations.inspectTemplates.delete", |
| "path": "v2/{+name}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "description": "Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more." |
| }, |
| "get": { |
| "flatPath": "v2/organizations/{organizationsId}/inspectTemplates/{inspectTemplatesId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "dlp.organizations.inspectTemplates.get", |
| "parameters": { |
| "name": { |
| "location": "path", |
| "required": true, |
| "description": "Required. Resource name of the organization and inspectTemplate to be read, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.", |
| "pattern": "^organizations/[^/]+/inspectTemplates/[^/]+$", |
| "type": "string" |
| } |
| }, |
| "path": "v2/{+name}", |
| "httpMethod": "GET", |
| "description": "Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| } |
| } |
| } |
| }, |
| "deidentifyTemplates": { |
| "methods": { |
| "get": { |
| "flatPath": "v2/organizations/{organizationsId}/deidentifyTemplates/{deidentifyTemplatesId}", |
| "parameters": { |
| "name": { |
| "required": true, |
| "location": "path", |
| "pattern": "^organizations/[^/]+/deidentifyTemplates/[^/]+$", |
| "description": "Required. Resource name of the organization and deidentify template to be read, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342.", |
| "type": "string" |
| } |
| }, |
| "httpMethod": "GET", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "id": "dlp.organizations.deidentifyTemplates.get", |
| "path": "v2/{+name}", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| } |
| }, |
| "list": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "dlp.organizations.deidentifyTemplates.list", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "path": "v2/{+parent}/deidentifyTemplates", |
| "description": "Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListDeidentifyTemplatesResponse" |
| }, |
| "parameters": { |
| "parent": { |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "pattern": "^organizations/[^/]+$" |
| }, |
| "locationId": { |
| "location": "query", |
| "description": "Deprecated. This field has no effect.", |
| "type": "string" |
| }, |
| "pageSize": { |
| "description": "Size of the page, can be limited by server. If zero server returns a page of max size 100.", |
| "location": "query", |
| "type": "integer", |
| "format": "int32" |
| }, |
| "orderBy": { |
| "type": "string", |
| "location": "query", |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the template was created. - `update_time`: corresponds to time the template was last updated. - `name`: corresponds to template's name. - `display_name`: corresponds to template's display name." |
| }, |
| "pageToken": { |
| "type": "string", |
| "description": "Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`.", |
| "location": "query" |
| } |
| }, |
| "httpMethod": "GET", |
| "flatPath": "v2/organizations/{organizationsId}/deidentifyTemplates" |
| }, |
| "create": { |
| "parameters": { |
| "parent": { |
| "pattern": "^organizations/[^/]+$", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "location": "path", |
| "required": true, |
| "type": "string" |
| } |
| }, |
| "httpMethod": "POST", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateDeidentifyTemplateRequest" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameterOrder": [ |
| "parent" |
| ], |
| "flatPath": "v2/organizations/{organizationsId}/deidentifyTemplates", |
| "description": "Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "id": "dlp.organizations.deidentifyTemplates.create", |
| "path": "v2/{+parent}/deidentifyTemplates", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| } |
| }, |
| "delete": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v2/organizations/{organizationsId}/deidentifyTemplates/{deidentifyTemplatesId}", |
| "path": "v2/{+name}", |
| "description": "Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "parameters": { |
| "name": { |
| "description": "Required. Resource name of the organization and deidentify template to be deleted, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342.", |
| "pattern": "^organizations/[^/]+/deidentifyTemplates/[^/]+$", |
| "required": true, |
| "location": "path", |
| "type": "string" |
| } |
| }, |
| "httpMethod": "DELETE", |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "dlp.organizations.deidentifyTemplates.delete" |
| }, |
| "patch": { |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest" |
| }, |
| "path": "v2/{+name}", |
| "id": "dlp.organizations.deidentifyTemplates.patch", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v2/organizations/{organizationsId}/deidentifyTemplates/{deidentifyTemplatesId}", |
| "httpMethod": "PATCH", |
| "description": "Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "parameterOrder": [ |
| "name" |
| ], |
| "parameters": { |
| "name": { |
| "pattern": "^organizations/[^/]+/deidentifyTemplates/[^/]+$", |
| "location": "path", |
| "type": "string", |
| "required": true, |
| "description": "Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342." |
| } |
| } |
| } |
| } |
| } |
| } |
| }, |
| "projects": { |
| "resources": { |
| "image": { |
| "methods": { |
| "redact": { |
| "response": { |
| "$ref": "GooglePrivacyDlpV2RedactImageResponse" |
| }, |
| "httpMethod": "POST", |
| "id": "dlp.projects.image.redact", |
| "description": "Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.", |
| "path": "v2/{+parent}/image:redact", |
| "flatPath": "v2/projects/{projectsId}/image:redact", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2RedactImageRequest" |
| }, |
| "parameters": { |
| "parent": { |
| "pattern": "^projects/[^/]+$", |
| "description": "Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "location": "path", |
| "type": "string", |
| "required": true |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameterOrder": [ |
| "parent" |
| ] |
| } |
| } |
| }, |
| "locations": { |
| "resources": { |
| "image": { |
| "methods": { |
| "redact": { |
| "parameterOrder": [ |
| "parent" |
| ], |
| "httpMethod": "POST", |
| "description": "Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.", |
| "parameters": { |
| "parent": { |
| "location": "path", |
| "description": "Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "required": true, |
| "type": "string", |
| "pattern": "^projects/[^/]+/locations/[^/]+$" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2RedactImageResponse" |
| }, |
| "path": "v2/{+parent}/image:redact", |
| "id": "dlp.projects.locations.image.redact", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2RedactImageRequest" |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/image:redact" |
| } |
| } |
| }, |
| "storedInfoTypes": { |
| "methods": { |
| "list": { |
| "id": "dlp.projects.locations.storedInfoTypes.list", |
| "path": "v2/{+parent}/storedInfoTypes", |
| "parameters": { |
| "orderBy": { |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", |
| "location": "query", |
| "type": "string" |
| }, |
| "pageSize": { |
| "format": "int32", |
| "location": "query", |
| "description": "Size of the page, can be limited by server. If zero server returns a page of max size 100.", |
| "type": "integer" |
| }, |
| "pageToken": { |
| "description": "Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`.", |
| "type": "string", |
| "location": "query" |
| }, |
| "locationId": { |
| "location": "query", |
| "description": "Deprecated. This field has no effect.", |
| "type": "string" |
| }, |
| "parent": { |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "type": "string", |
| "required": true, |
| "location": "path", |
| "pattern": "^projects/[^/]+/locations/[^/]+$" |
| } |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/storedInfoTypes", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "GET", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListStoredInfoTypesResponse" |
| }, |
| "description": "Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more." |
| }, |
| "patch": { |
| "response": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| }, |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateStoredInfoTypeRequest" |
| }, |
| "parameters": { |
| "name": { |
| "required": true, |
| "description": "Required. Resource name of organization and storedInfoType to be updated, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.", |
| "type": "string", |
| "location": "path", |
| "pattern": "^projects/[^/]+/locations/[^/]+/storedInfoTypes/[^/]+$" |
| } |
| }, |
| "id": "dlp.projects.locations.storedInfoTypes.patch", |
| "path": "v2/{+name}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "PATCH", |
| "description": "Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/storedInfoTypes/{storedInfoTypesId}" |
| }, |
| "delete": { |
| "httpMethod": "DELETE", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "id": "dlp.projects.locations.storedInfoTypes.delete", |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/storedInfoTypes/{storedInfoTypesId}", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "location": "path", |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/storedInfoTypes/[^/]+$", |
| "description": "Required. Resource name of the organization and storedInfoType to be deleted, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342." |
| } |
| }, |
| "path": "v2/{+name}", |
| "description": "Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more." |
| }, |
| "create": { |
| "response": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| }, |
| "path": "v2/{+parent}/storedInfoTypes", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateStoredInfoTypeRequest" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "POST", |
| "id": "dlp.projects.locations.storedInfoTypes.create", |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "location": "path", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+$" |
| } |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/storedInfoTypes", |
| "description": "Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more." |
| }, |
| "get": { |
| "httpMethod": "GET", |
| "path": "v2/{+name}", |
| "parameters": { |
| "name": { |
| "pattern": "^projects/[^/]+/locations/[^/]+/storedInfoTypes/[^/]+$", |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "description": "Required. Resource name of the organization and storedInfoType to be read, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342." |
| } |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/storedInfoTypes/{storedInfoTypesId}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "dlp.projects.locations.storedInfoTypes.get", |
| "description": "Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| } |
| } |
| } |
| }, |
| "inspectTemplates": { |
| "methods": { |
| "delete": { |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "httpMethod": "DELETE", |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/inspectTemplates/{inspectTemplatesId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "parameterOrder": [ |
| "name" |
| ], |
| "parameters": { |
| "name": { |
| "pattern": "^projects/[^/]+/locations/[^/]+/inspectTemplates/[^/]+$", |
| "description": "Required. Resource name of the organization and inspectTemplate to be deleted, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.", |
| "location": "path", |
| "type": "string", |
| "required": true |
| } |
| }, |
| "path": "v2/{+name}", |
| "id": "dlp.projects.locations.inspectTemplates.delete" |
| }, |
| "get": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "name": { |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/inspectTemplates/[^/]+$", |
| "location": "path", |
| "description": "Required. Resource name of the organization and inspectTemplate to be read, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.", |
| "type": "string" |
| } |
| }, |
| "path": "v2/{+name}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "dlp.projects.locations.inspectTemplates.get", |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/inspectTemplates/{inspectTemplatesId}", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "description": "Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "httpMethod": "GET" |
| }, |
| "list": { |
| "httpMethod": "GET", |
| "path": "v2/{+parent}/inspectTemplates", |
| "description": "Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "id": "dlp.projects.locations.inspectTemplates.list", |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/inspectTemplates", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "pattern": "^projects/[^/]+/locations/[^/]+$", |
| "location": "path", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "required": true |
| }, |
| "locationId": { |
| "location": "query", |
| "description": "Deprecated. This field has no effect.", |
| "type": "string" |
| }, |
| "pageSize": { |
| "format": "int32", |
| "description": "Size of the page, can be limited by server. If zero server returns a page of max size 100.", |
| "type": "integer", |
| "location": "query" |
| }, |
| "pageToken": { |
| "type": "string", |
| "description": "Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`.", |
| "location": "query" |
| }, |
| "orderBy": { |
| "location": "query", |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the template was created. - `update_time`: corresponds to time the template was last updated. - `name`: corresponds to template's name. - `display_name`: corresponds to template's display name.", |
| "type": "string" |
| } |
| }, |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListInspectTemplatesResponse" |
| } |
| }, |
| "patch": { |
| "path": "v2/{+name}", |
| "parameters": { |
| "name": { |
| "location": "path", |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/inspectTemplates/[^/]+$", |
| "description": "Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.", |
| "type": "string" |
| } |
| }, |
| "description": "Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateInspectTemplateRequest" |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/inspectTemplates/{inspectTemplatesId}", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "dlp.projects.locations.inspectTemplates.patch", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "PATCH" |
| }, |
| "create": { |
| "httpMethod": "POST", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateInspectTemplateRequest" |
| }, |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "location": "path", |
| "pattern": "^projects/[^/]+/locations/[^/]+$", |
| "required": true |
| } |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.projects.locations.inspectTemplates.create", |
| "path": "v2/{+parent}/inspectTemplates", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/inspectTemplates", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more." |
| } |
| } |
| }, |
| "deidentifyTemplates": { |
| "methods": { |
| "patch": { |
| "description": "Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/deidentifyTemplates/{deidentifyTemplatesId}", |
| "httpMethod": "PATCH", |
| "path": "v2/{+name}", |
| "id": "dlp.projects.locations.deidentifyTemplates.patch", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest" |
| }, |
| "parameters": { |
| "name": { |
| "pattern": "^projects/[^/]+/locations/[^/]+/deidentifyTemplates/[^/]+$", |
| "description": "Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342.", |
| "type": "string", |
| "location": "path", |
| "required": true |
| } |
| } |
| }, |
| "create": { |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateDeidentifyTemplateRequest" |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/deidentifyTemplates", |
| "path": "v2/{+parent}/deidentifyTemplates", |
| "parameters": { |
| "parent": { |
| "pattern": "^projects/[^/]+/locations/[^/]+$", |
| "required": true, |
| "type": "string", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "location": "path" |
| } |
| }, |
| "httpMethod": "POST", |
| "description": "Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.projects.locations.deidentifyTemplates.create", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "get": { |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+name}", |
| "parameters": { |
| "name": { |
| "pattern": "^projects/[^/]+/locations/[^/]+/deidentifyTemplates/[^/]+$", |
| "description": "Required. Resource name of the organization and deidentify template to be read, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342.", |
| "type": "string", |
| "location": "path", |
| "required": true |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "GET", |
| "description": "Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/deidentifyTemplates/{deidentifyTemplatesId}", |
| "id": "dlp.projects.locations.deidentifyTemplates.get" |
| }, |
| "list": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/deidentifyTemplates", |
| "id": "dlp.projects.locations.deidentifyTemplates.list", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "parent": { |
| "pattern": "^projects/[^/]+/locations/[^/]+$", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "required": true, |
| "type": "string", |
| "location": "path" |
| }, |
| "pageToken": { |
| "location": "query", |
| "type": "string", |
| "description": "Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`." |
| }, |
| "orderBy": { |
| "type": "string", |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the template was created. - `update_time`: corresponds to time the template was last updated. - `name`: corresponds to template's name. - `display_name`: corresponds to template's display name.", |
| "location": "query" |
| }, |
| "locationId": { |
| "type": "string", |
| "location": "query", |
| "description": "Deprecated. This field has no effect." |
| }, |
| "pageSize": { |
| "type": "integer", |
| "description": "Size of the page, can be limited by server. If zero server returns a page of max size 100.", |
| "location": "query", |
| "format": "int32" |
| } |
| }, |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListDeidentifyTemplatesResponse" |
| }, |
| "httpMethod": "GET", |
| "description": "Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "path": "v2/{+parent}/deidentifyTemplates" |
| }, |
| "delete": { |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "DELETE", |
| "description": "Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "location": "path", |
| "description": "Required. Resource name of the organization and deidentify template to be deleted, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342.", |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/deidentifyTemplates/[^/]+$" |
| } |
| }, |
| "path": "v2/{+name}", |
| "id": "dlp.projects.locations.deidentifyTemplates.delete", |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/deidentifyTemplates/{deidentifyTemplatesId}" |
| } |
| } |
| }, |
| "jobTriggers": { |
| "methods": { |
| "create": { |
| "path": "v2/{+parent}/jobTriggers", |
| "id": "dlp.projects.locations.jobTriggers.create", |
| "parameters": { |
| "parent": { |
| "description": "Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "required": true, |
| "location": "path", |
| "pattern": "^projects/[^/]+/locations/[^/]+$", |
| "type": "string" |
| } |
| }, |
| "response": { |
| "$ref": "GooglePrivacyDlpV2JobTrigger" |
| }, |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateJobTriggerRequest" |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/jobTriggers", |
| "description": "Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "activate": { |
| "parameters": { |
| "name": { |
| "description": "Required. Resource name of the trigger to activate, for example `projects/dlp-test-project/jobTriggers/53234423`.", |
| "type": "string", |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/jobTriggers/[^/]+$", |
| "location": "path" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DlpJob" |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/jobTriggers/{jobTriggersId}:activate", |
| "id": "dlp.projects.locations.jobTriggers.activate", |
| "parameterOrder": [ |
| "name" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2ActivateJobTriggerRequest" |
| }, |
| "path": "v2/{+name}:activate", |
| "httpMethod": "POST" |
| }, |
| "get": { |
| "id": "dlp.projects.locations.jobTriggers.get", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2JobTrigger" |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/jobTriggers/{jobTriggersId}", |
| "path": "v2/{+name}", |
| "httpMethod": "GET", |
| "parameterOrder": [ |
| "name" |
| ], |
| "description": "Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.", |
| "parameters": { |
| "name": { |
| "pattern": "^projects/[^/]+/locations/[^/]+/jobTriggers/[^/]+$", |
| "required": true, |
| "description": "Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`.", |
| "type": "string", |
| "location": "path" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "hybridInspect": { |
| "path": "v2/{+name}:hybridInspect", |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/jobTriggers/{jobTriggersId}:hybridInspect", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "dlp.projects.locations.jobTriggers.hybridInspect", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2HybridInspectResponse" |
| }, |
| "httpMethod": "POST", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "description": "Required. Resource name of the trigger to execute a hybrid inspect on, for example `projects/dlp-test-project/jobTriggers/53234423`.", |
| "pattern": "^projects/[^/]+/locations/[^/]+/jobTriggers/[^/]+$", |
| "location": "path", |
| "required": true |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2HybridInspectJobTriggerRequest" |
| }, |
| "description": "Inspect hybrid content and store findings to a trigger. The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages." |
| }, |
| "patch": { |
| "httpMethod": "PATCH", |
| "description": "Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2JobTrigger" |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/jobTriggers/{jobTriggersId}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "parameters": { |
| "name": { |
| "description": "Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`.", |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "pattern": "^projects/[^/]+/locations/[^/]+/jobTriggers/[^/]+$" |
| } |
| }, |
| "path": "v2/{+name}", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateJobTriggerRequest" |
| }, |
| "id": "dlp.projects.locations.jobTriggers.patch", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "list": { |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/jobTriggers", |
| "parameters": { |
| "orderBy": { |
| "location": "query", |
| "type": "string", |
| "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the JobTrigger was created. - `update_time`: corresponds to time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to JobTrigger's name. - `display_name`: corresponds to JobTrigger's display name. - `status`: corresponds to JobTrigger's status." |
| }, |
| "locationId": { |
| "description": "Deprecated. This field has no effect.", |
| "type": "string", |
| "location": "query" |
| }, |
| "pageSize": { |
| "format": "int32", |
| "type": "integer", |
| "location": "query", |
| "description": "Size of the page, can be limited by a server." |
| }, |
| "filter": { |
| "type": "string", |
| "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \u003e \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", |
| "location": "query" |
| }, |
| "pageToken": { |
| "description": "Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", |
| "location": "query", |
| "type": "string" |
| }, |
| "parent": { |
| "pattern": "^projects/[^/]+/locations/[^/]+$", |
| "required": true, |
| "location": "path", |
| "description": "Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "type": "string" |
| } |
| }, |
| "httpMethod": "GET", |
| "path": "v2/{+parent}/jobTriggers", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.projects.locations.jobTriggers.list", |
| "description": "Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListJobTriggersResponse" |
| } |
| }, |
| "delete": { |
| "parameters": { |
| "name": { |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/jobTriggers/[^/]+$", |
| "type": "string", |
| "description": "Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`.", |
| "location": "path" |
| } |
| }, |
| "description": "Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "dlp.projects.locations.jobTriggers.delete", |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/jobTriggers/{jobTriggersId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+name}", |
| "httpMethod": "DELETE" |
| } |
| } |
| }, |
| "content": { |
| "methods": { |
| "deidentify": { |
| "request": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyContentRequest" |
| }, |
| "httpMethod": "POST", |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/content:deidentify", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.projects.locations.content.deidentify", |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "location": "path", |
| "pattern": "^projects/[^/]+/locations/[^/]+$", |
| "description": "Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "required": true |
| } |
| }, |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyContentResponse" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.", |
| "path": "v2/{+parent}/content:deidentify" |
| }, |
| "inspect": { |
| "request": { |
| "$ref": "GooglePrivacyDlpV2InspectContentRequest" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "description": "Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,", |
| "path": "v2/{+parent}/content:inspect", |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/content:inspect", |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "pattern": "^projects/[^/]+/locations/[^/]+$", |
| "location": "path", |
| "required": true, |
| "description": "Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3" |
| } |
| }, |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectContentResponse" |
| }, |
| "id": "dlp.projects.locations.content.inspect" |
| }, |
| "reidentify": { |
| "parameterOrder": [ |
| "parent" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ReidentifyContentResponse" |
| }, |
| "parameters": { |
| "parent": { |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+$", |
| "description": "Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "type": "string", |
| "location": "path" |
| } |
| }, |
| "id": "dlp.projects.locations.content.reidentify", |
| "description": "Re-identifies content that has been de-identified. See https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example to learn more.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2ReidentifyContentRequest" |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/content:reidentify", |
| "httpMethod": "POST", |
| "path": "v2/{+parent}/content:reidentify" |
| } |
| } |
| }, |
| "dlpJobs": { |
| "methods": { |
| "create": { |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateDlpJobRequest" |
| }, |
| "parameters": { |
| "parent": { |
| "description": "Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "pattern": "^projects/[^/]+/locations/[^/]+$", |
| "required": true, |
| "type": "string", |
| "location": "path" |
| } |
| }, |
| "httpMethod": "POST", |
| "id": "dlp.projects.locations.dlpJobs.create", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+parent}/dlpJobs", |
| "description": "Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.", |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dlpJobs", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DlpJob" |
| }, |
| "parameterOrder": [ |
| "parent" |
| ] |
| }, |
| "get": { |
| "httpMethod": "GET", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DlpJob" |
| }, |
| "path": "v2/{+name}", |
| "id": "dlp.projects.locations.dlpJobs.get", |
| "description": "Gets the latest state of a long-running DlpJob. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "pattern": "^projects/[^/]+/locations/[^/]+/dlpJobs/[^/]+$", |
| "location": "path", |
| "description": "Required. The name of the DlpJob resource.", |
| "required": true |
| } |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dlpJobs/{dlpJobsId}" |
| }, |
| "cancel": { |
| "description": "Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+name}:cancel", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "parameters": { |
| "name": { |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "pattern": "^projects/[^/]+/locations/[^/]+/dlpJobs/[^/]+$", |
| "description": "Required. The name of the DlpJob resource to be cancelled." |
| } |
| }, |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CancelDlpJobRequest" |
| }, |
| "id": "dlp.projects.locations.dlpJobs.cancel", |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "POST", |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dlpJobs/{dlpJobsId}:cancel" |
| }, |
| "hybridInspect": { |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2HybridInspectResponse" |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dlpJobs/{dlpJobsId}:hybridInspect", |
| "description": "Inspect hybrid content and store findings to a job. To review the findings inspect the job. Inspection will occur asynchronously. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.", |
| "parameters": { |
| "name": { |
| "pattern": "^projects/[^/]+/locations/[^/]+/dlpJobs/[^/]+$", |
| "description": "Required. Resource name of the job to execute a hybrid inspect on, for example `projects/dlp-test-project/dlpJob/53234423`.", |
| "type": "string", |
| "required": true, |
| "location": "path" |
| } |
| }, |
| "id": "dlp.projects.locations.dlpJobs.hybridInspect", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2HybridInspectDlpJobRequest" |
| }, |
| "httpMethod": "POST", |
| "path": "v2/{+name}:hybridInspect" |
| }, |
| "delete": { |
| "parameters": { |
| "name": { |
| "description": "Required. The name of the DlpJob resource to be deleted.", |
| "type": "string", |
| "location": "path", |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/dlpJobs/[^/]+$" |
| } |
| }, |
| "path": "v2/{+name}", |
| "description": "Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be cancelled if possible. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dlpJobs/{dlpJobsId}", |
| "id": "dlp.projects.locations.dlpJobs.delete", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "DELETE" |
| }, |
| "finish": { |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "POST", |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dlpJobs/{dlpJobsId}:finish", |
| "parameters": { |
| "name": { |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/dlpJobs/[^/]+$", |
| "location": "path", |
| "description": "Required. The name of the DlpJob resource to be cancelled.", |
| "type": "string" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "request": { |
| "$ref": "GooglePrivacyDlpV2FinishDlpJobRequest" |
| }, |
| "id": "dlp.projects.locations.dlpJobs.finish", |
| "description": "Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.", |
| "path": "v2/{+name}:finish" |
| }, |
| "list": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+parent}/dlpJobs", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListDlpJobsResponse" |
| }, |
| "id": "dlp.projects.locations.dlpJobs.list", |
| "parameters": { |
| "pageSize": { |
| "description": "The standard list page size.", |
| "format": "int32", |
| "location": "query", |
| "type": "integer" |
| }, |
| "pageToken": { |
| "location": "query", |
| "description": "The standard list page token.", |
| "type": "string" |
| }, |
| "parent": { |
| "location": "path", |
| "required": true, |
| "description": "Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "type": "string", |
| "pattern": "^projects/[^/]+/locations/[^/]+$" |
| }, |
| "type": { |
| "enumDescriptions": [ |
| "Unused", |
| "The job inspected Google Cloud for sensitive data.", |
| "The job executed a Risk Analysis computation." |
| ], |
| "enum": [ |
| "DLP_JOB_TYPE_UNSPECIFIED", |
| "INSPECT_JOB", |
| "RISK_ANALYSIS_JOB" |
| ], |
| "type": "string", |
| "location": "query", |
| "description": "The type of job. Defaults to `DlpJobType.INSPECT`" |
| }, |
| "orderBy": { |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to time the job was created. - `end_time`: corresponds to time the job ended. - `name`: corresponds to job's name. - `state`: corresponds to `state`", |
| "location": "query", |
| "type": "string" |
| }, |
| "locationId": { |
| "description": "Deprecated. This field has no effect.", |
| "location": "query", |
| "type": "string" |
| }, |
| "filter": { |
| "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The resource name of the trigger that created job. - 'end_time` - Corresponds to time the job finished. - 'start_time` - Corresponds to time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to time the job finished. - 'start_time` - Corresponds to time the job finished. * The operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \u003e \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", |
| "type": "string", |
| "location": "query" |
| } |
| }, |
| "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dlpJobs", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "description": "Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.", |
| "httpMethod": "GET" |
| } |
| } |
| } |
| } |
| }, |
| "dlpJobs": { |
| "methods": { |
| "get": { |
| "path": "v2/{+name}", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DlpJob" |
| }, |
| "flatPath": "v2/projects/{projectsId}/dlpJobs/{dlpJobsId}", |
| "description": "Gets the latest state of a long-running DlpJob. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "dlp.projects.dlpJobs.get", |
| "httpMethod": "GET", |
| "parameters": { |
| "name": { |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "pattern": "^projects/[^/]+/dlpJobs/[^/]+$", |
| "description": "Required. The name of the DlpJob resource." |
| } |
| } |
| }, |
| "cancel": { |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "id": "dlp.projects.dlpJobs.cancel", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v2/projects/{projectsId}/dlpJobs/{dlpJobsId}:cancel", |
| "path": "v2/{+name}:cancel", |
| "httpMethod": "POST", |
| "description": "Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CancelDlpJobRequest" |
| }, |
| "parameters": { |
| "name": { |
| "type": "string", |
| "required": true, |
| "location": "path", |
| "pattern": "^projects/[^/]+/dlpJobs/[^/]+$", |
| "description": "Required. The name of the DlpJob resource to be cancelled." |
| } |
| } |
| }, |
| "delete": { |
| "parameters": { |
| "name": { |
| "pattern": "^projects/[^/]+/dlpJobs/[^/]+$", |
| "description": "Required. The name of the DlpJob resource to be deleted.", |
| "type": "string", |
| "location": "path", |
| "required": true |
| } |
| }, |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "id": "dlp.projects.dlpJobs.delete", |
| "flatPath": "v2/projects/{projectsId}/dlpJobs/{dlpJobsId}", |
| "path": "v2/{+name}", |
| "httpMethod": "DELETE", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be cancelled if possible. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.", |
| "parameterOrder": [ |
| "name" |
| ] |
| }, |
| "create": { |
| "parameters": { |
| "parent": { |
| "description": "Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "pattern": "^projects/[^/]+$", |
| "type": "string", |
| "required": true, |
| "location": "path" |
| } |
| }, |
| "flatPath": "v2/projects/{projectsId}/dlpJobs", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.", |
| "path": "v2/{+parent}/dlpJobs", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.projects.dlpJobs.create", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DlpJob" |
| }, |
| "httpMethod": "POST", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateDlpJobRequest" |
| } |
| }, |
| "list": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "parent": { |
| "pattern": "^projects/[^/]+$", |
| "type": "string", |
| "location": "path", |
| "required": true, |
| "description": "Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3" |
| }, |
| "locationId": { |
| "description": "Deprecated. This field has no effect.", |
| "type": "string", |
| "location": "query" |
| }, |
| "filter": { |
| "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The resource name of the trigger that created job. - 'end_time` - Corresponds to time the job finished. - 'start_time` - Corresponds to time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to time the job finished. - 'start_time` - Corresponds to time the job finished. * The operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \u003e \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", |
| "type": "string", |
| "location": "query" |
| }, |
| "orderBy": { |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to time the job was created. - `end_time`: corresponds to time the job ended. - `name`: corresponds to job's name. - `state`: corresponds to `state`", |
| "type": "string", |
| "location": "query" |
| }, |
| "type": { |
| "type": "string", |
| "description": "The type of job. Defaults to `DlpJobType.INSPECT`", |
| "enumDescriptions": [ |
| "Unused", |
| "The job inspected Google Cloud for sensitive data.", |
| "The job executed a Risk Analysis computation." |
| ], |
| "location": "query", |
| "enum": [ |
| "DLP_JOB_TYPE_UNSPECIFIED", |
| "INSPECT_JOB", |
| "RISK_ANALYSIS_JOB" |
| ] |
| }, |
| "pageToken": { |
| "description": "The standard list page token.", |
| "location": "query", |
| "type": "string" |
| }, |
| "pageSize": { |
| "location": "query", |
| "description": "The standard list page size.", |
| "type": "integer", |
| "format": "int32" |
| } |
| }, |
| "flatPath": "v2/projects/{projectsId}/dlpJobs", |
| "description": "Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.", |
| "path": "v2/{+parent}/dlpJobs", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.projects.dlpJobs.list", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListDlpJobsResponse" |
| }, |
| "httpMethod": "GET" |
| } |
| } |
| }, |
| "content": { |
| "methods": { |
| "inspect": { |
| "parameters": { |
| "parent": { |
| "description": "Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "type": "string", |
| "pattern": "^projects/[^/]+$", |
| "location": "path", |
| "required": true |
| } |
| }, |
| "request": { |
| "$ref": "GooglePrivacyDlpV2InspectContentRequest" |
| }, |
| "path": "v2/{+parent}/content:inspect", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "description": "Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectContentResponse" |
| }, |
| "flatPath": "v2/projects/{projectsId}/content:inspect", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "dlp.projects.content.inspect", |
| "httpMethod": "POST" |
| }, |
| "deidentify": { |
| "id": "dlp.projects.content.deidentify", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyContentRequest" |
| }, |
| "description": "De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+parent}/content:deidentify", |
| "httpMethod": "POST", |
| "parameters": { |
| "parent": { |
| "description": "Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "location": "path", |
| "pattern": "^projects/[^/]+$", |
| "required": true, |
| "type": "string" |
| } |
| }, |
| "flatPath": "v2/projects/{projectsId}/content:deidentify", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyContentResponse" |
| } |
| }, |
| "reidentify": { |
| "id": "dlp.projects.content.reidentify", |
| "httpMethod": "POST", |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "description": "Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "location": "path", |
| "required": true, |
| "pattern": "^projects/[^/]+$" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+parent}/content:reidentify", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ReidentifyContentResponse" |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2ReidentifyContentRequest" |
| }, |
| "flatPath": "v2/projects/{projectsId}/content:reidentify", |
| "description": "Re-identifies content that has been de-identified. See https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example to learn more." |
| } |
| } |
| }, |
| "storedInfoTypes": { |
| "methods": { |
| "create": { |
| "path": "v2/{+parent}/storedInfoTypes", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "POST", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| }, |
| "description": "Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "flatPath": "v2/projects/{projectsId}/storedInfoTypes", |
| "parameters": { |
| "parent": { |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "required": true, |
| "pattern": "^projects/[^/]+$", |
| "location": "path", |
| "type": "string" |
| } |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.projects.storedInfoTypes.create", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateStoredInfoTypeRequest" |
| } |
| }, |
| "patch": { |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateStoredInfoTypeRequest" |
| }, |
| "id": "dlp.projects.storedInfoTypes.patch", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| }, |
| "parameters": { |
| "name": { |
| "required": true, |
| "description": "Required. Resource name of organization and storedInfoType to be updated, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.", |
| "location": "path", |
| "type": "string", |
| "pattern": "^projects/[^/]+/storedInfoTypes/[^/]+$" |
| } |
| }, |
| "description": "Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "flatPath": "v2/projects/{projectsId}/storedInfoTypes/{storedInfoTypesId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "PATCH", |
| "path": "v2/{+name}", |
| "parameterOrder": [ |
| "name" |
| ] |
| }, |
| "get": { |
| "response": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "dlp.projects.storedInfoTypes.get", |
| "path": "v2/{+name}", |
| "httpMethod": "GET", |
| "parameters": { |
| "name": { |
| "location": "path", |
| "description": "Required. Resource name of the organization and storedInfoType to be read, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.", |
| "required": true, |
| "type": "string", |
| "pattern": "^projects/[^/]+/storedInfoTypes/[^/]+$" |
| } |
| }, |
| "description": "Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "flatPath": "v2/projects/{projectsId}/storedInfoTypes/{storedInfoTypesId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "delete": { |
| "id": "dlp.projects.storedInfoTypes.delete", |
| "description": "Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "parameters": { |
| "name": { |
| "location": "path", |
| "pattern": "^projects/[^/]+/storedInfoTypes/[^/]+$", |
| "description": "Required. Resource name of the organization and storedInfoType to be deleted, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.", |
| "type": "string", |
| "required": true |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v2/projects/{projectsId}/storedInfoTypes/{storedInfoTypesId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+name}", |
| "httpMethod": "DELETE", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| } |
| }, |
| "list": { |
| "description": "Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.", |
| "id": "dlp.projects.storedInfoTypes.list", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListStoredInfoTypesResponse" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+parent}/storedInfoTypes", |
| "parameters": { |
| "locationId": { |
| "type": "string", |
| "location": "query", |
| "description": "Deprecated. This field has no effect." |
| }, |
| "orderBy": { |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", |
| "type": "string", |
| "location": "query" |
| }, |
| "parent": { |
| "location": "path", |
| "type": "string", |
| "required": true, |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "pattern": "^projects/[^/]+$" |
| }, |
| "pageSize": { |
| "description": "Size of the page, can be limited by server. If zero server returns a page of max size 100.", |
| "type": "integer", |
| "format": "int32", |
| "location": "query" |
| }, |
| "pageToken": { |
| "description": "Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`.", |
| "location": "query", |
| "type": "string" |
| } |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "httpMethod": "GET", |
| "flatPath": "v2/projects/{projectsId}/storedInfoTypes" |
| } |
| } |
| }, |
| "jobTriggers": { |
| "methods": { |
| "create": { |
| "parameters": { |
| "parent": { |
| "location": "path", |
| "required": true, |
| "description": "Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "pattern": "^projects/[^/]+$", |
| "type": "string" |
| } |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateJobTriggerRequest" |
| }, |
| "httpMethod": "POST", |
| "id": "dlp.projects.jobTriggers.create", |
| "flatPath": "v2/projects/{projectsId}/jobTriggers", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2JobTrigger" |
| }, |
| "path": "v2/{+parent}/jobTriggers" |
| }, |
| "get": { |
| "parameters": { |
| "name": { |
| "description": "Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`.", |
| "required": true, |
| "pattern": "^projects/[^/]+/jobTriggers/[^/]+$", |
| "location": "path", |
| "type": "string" |
| } |
| }, |
| "path": "v2/{+name}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v2/projects/{projectsId}/jobTriggers/{jobTriggersId}", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2JobTrigger" |
| }, |
| "httpMethod": "GET", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "dlp.projects.jobTriggers.get", |
| "description": "Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more." |
| }, |
| "patch": { |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateJobTriggerRequest" |
| }, |
| "parameters": { |
| "name": { |
| "pattern": "^projects/[^/]+/jobTriggers/[^/]+$", |
| "required": true, |
| "description": "Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`.", |
| "type": "string", |
| "location": "path" |
| } |
| }, |
| "path": "v2/{+name}", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2JobTrigger" |
| }, |
| "httpMethod": "PATCH", |
| "flatPath": "v2/projects/{projectsId}/jobTriggers/{jobTriggersId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.", |
| "id": "dlp.projects.jobTriggers.patch", |
| "parameterOrder": [ |
| "name" |
| ] |
| }, |
| "delete": { |
| "description": "Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "name": { |
| "pattern": "^projects/[^/]+/jobTriggers/[^/]+$", |
| "type": "string", |
| "location": "path", |
| "description": "Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`.", |
| "required": true |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v2/{+name}", |
| "flatPath": "v2/projects/{projectsId}/jobTriggers/{jobTriggersId}", |
| "httpMethod": "DELETE", |
| "id": "dlp.projects.jobTriggers.delete" |
| }, |
| "list": { |
| "parameters": { |
| "pageToken": { |
| "type": "string", |
| "location": "query", |
| "description": "Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls." |
| }, |
| "pageSize": { |
| "format": "int32", |
| "type": "integer", |
| "location": "query", |
| "description": "Size of the page, can be limited by a server." |
| }, |
| "locationId": { |
| "location": "query", |
| "type": "string", |
| "description": "Deprecated. This field has no effect." |
| }, |
| "filter": { |
| "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \u003e \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", |
| "type": "string", |
| "location": "query" |
| }, |
| "parent": { |
| "description": "Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "location": "path", |
| "pattern": "^projects/[^/]+$", |
| "type": "string", |
| "required": true |
| }, |
| "orderBy": { |
| "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the JobTrigger was created. - `update_time`: corresponds to time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to JobTrigger's name. - `display_name`: corresponds to JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", |
| "type": "string", |
| "location": "query" |
| } |
| }, |
| "id": "dlp.projects.jobTriggers.list", |
| "httpMethod": "GET", |
| "flatPath": "v2/projects/{projectsId}/jobTriggers", |
| "description": "Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.", |
| "path": "v2/{+parent}/jobTriggers", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameterOrder": [ |
| "parent" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListJobTriggersResponse" |
| } |
| }, |
| "activate": { |
| "description": "Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.", |
| "id": "dlp.projects.jobTriggers.activate", |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "name" |
| ], |
| "parameters": { |
| "name": { |
| "description": "Required. Resource name of the trigger to activate, for example `projects/dlp-test-project/jobTriggers/53234423`.", |
| "pattern": "^projects/[^/]+/jobTriggers/[^/]+$", |
| "location": "path", |
| "type": "string", |
| "required": true |
| } |
| }, |
| "request": { |
| "$ref": "GooglePrivacyDlpV2ActivateJobTriggerRequest" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v2/projects/{projectsId}/jobTriggers/{jobTriggersId}:activate", |
| "path": "v2/{+name}:activate", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DlpJob" |
| } |
| } |
| } |
| }, |
| "deidentifyTemplates": { |
| "methods": { |
| "create": { |
| "parameters": { |
| "parent": { |
| "location": "path", |
| "pattern": "^projects/[^/]+$", |
| "type": "string", |
| "required": true, |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "flatPath": "v2/projects/{projectsId}/deidentifyTemplates", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| }, |
| "id": "dlp.projects.deidentifyTemplates.create", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateDeidentifyTemplateRequest" |
| }, |
| "httpMethod": "POST", |
| "path": "v2/{+parent}/deidentifyTemplates" |
| }, |
| "get": { |
| "httpMethod": "GET", |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "dlp.projects.deidentifyTemplates.get", |
| "parameters": { |
| "name": { |
| "description": "Required. Resource name of the organization and deidentify template to be read, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342.", |
| "location": "path", |
| "type": "string", |
| "pattern": "^projects/[^/]+/deidentifyTemplates/[^/]+$", |
| "required": true |
| } |
| }, |
| "description": "Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "flatPath": "v2/projects/{projectsId}/deidentifyTemplates/{deidentifyTemplatesId}", |
| "path": "v2/{+name}" |
| }, |
| "list": { |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.projects.deidentifyTemplates.list", |
| "flatPath": "v2/projects/{projectsId}/deidentifyTemplates", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListDeidentifyTemplatesResponse" |
| }, |
| "description": "Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "path": "v2/{+parent}/deidentifyTemplates", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "pageSize": { |
| "format": "int32", |
| "type": "integer", |
| "description": "Size of the page, can be limited by server. If zero server returns a page of max size 100.", |
| "location": "query" |
| }, |
| "locationId": { |
| "type": "string", |
| "description": "Deprecated. This field has no effect.", |
| "location": "query" |
| }, |
| "orderBy": { |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the template was created. - `update_time`: corresponds to time the template was last updated. - `name`: corresponds to template's name. - `display_name`: corresponds to template's display name.", |
| "location": "query", |
| "type": "string" |
| }, |
| "parent": { |
| "required": true, |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "location": "path", |
| "type": "string", |
| "pattern": "^projects/[^/]+$" |
| }, |
| "pageToken": { |
| "type": "string", |
| "location": "query", |
| "description": "Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`." |
| } |
| }, |
| "httpMethod": "GET" |
| }, |
| "patch": { |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest" |
| }, |
| "httpMethod": "PATCH", |
| "description": "Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "id": "dlp.projects.deidentifyTemplates.patch", |
| "flatPath": "v2/projects/{projectsId}/deidentifyTemplates/{deidentifyTemplatesId}", |
| "parameters": { |
| "name": { |
| "required": true, |
| "type": "string", |
| "description": "Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342.", |
| "location": "path", |
| "pattern": "^projects/[^/]+/deidentifyTemplates/[^/]+$" |
| } |
| }, |
| "path": "v2/{+name}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| } |
| }, |
| "delete": { |
| "description": "Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.", |
| "path": "v2/{+name}", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "parameters": { |
| "name": { |
| "required": true, |
| "location": "path", |
| "pattern": "^projects/[^/]+/deidentifyTemplates/[^/]+$", |
| "type": "string", |
| "description": "Required. Resource name of the organization and deidentify template to be deleted, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342." |
| } |
| }, |
| "httpMethod": "DELETE", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "dlp.projects.deidentifyTemplates.delete", |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v2/projects/{projectsId}/deidentifyTemplates/{deidentifyTemplatesId}" |
| } |
| } |
| }, |
| "inspectTemplates": { |
| "methods": { |
| "patch": { |
| "id": "dlp.projects.inspectTemplates.patch", |
| "request": { |
| "$ref": "GooglePrivacyDlpV2UpdateInspectTemplateRequest" |
| }, |
| "description": "Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "name": { |
| "required": true, |
| "description": "Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.", |
| "pattern": "^projects/[^/]+/inspectTemplates/[^/]+$", |
| "type": "string", |
| "location": "path" |
| } |
| }, |
| "path": "v2/{+name}", |
| "flatPath": "v2/projects/{projectsId}/inspectTemplates/{inspectTemplatesId}", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "httpMethod": "PATCH" |
| }, |
| "get": { |
| "parameterOrder": [ |
| "name" |
| ], |
| "parameters": { |
| "name": { |
| "description": "Required. Resource name of the organization and inspectTemplate to be read, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.", |
| "type": "string", |
| "pattern": "^projects/[^/]+/inspectTemplates/[^/]+$", |
| "location": "path", |
| "required": true |
| } |
| }, |
| "flatPath": "v2/projects/{projectsId}/inspectTemplates/{inspectTemplatesId}", |
| "id": "dlp.projects.inspectTemplates.get", |
| "httpMethod": "GET", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "description": "Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+name}" |
| }, |
| "create": { |
| "description": "Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "httpMethod": "POST", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "request": { |
| "$ref": "GooglePrivacyDlpV2CreateInspectTemplateRequest" |
| }, |
| "id": "dlp.projects.inspectTemplates.create", |
| "parameters": { |
| "parent": { |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "pattern": "^projects/[^/]+$", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3" |
| } |
| }, |
| "path": "v2/{+parent}/inspectTemplates", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "flatPath": "v2/projects/{projectsId}/inspectTemplates" |
| }, |
| "delete": { |
| "path": "v2/{+name}", |
| "flatPath": "v2/projects/{projectsId}/inspectTemplates/{inspectTemplatesId}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "dlp.projects.inspectTemplates.delete", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "DELETE", |
| "description": "Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "parameters": { |
| "name": { |
| "type": "string", |
| "required": true, |
| "location": "path", |
| "pattern": "^projects/[^/]+/inspectTemplates/[^/]+$", |
| "description": "Required. Resource name of the organization and inspectTemplate to be deleted, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342." |
| } |
| } |
| }, |
| "list": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v2/{+parent}/inspectTemplates", |
| "parameters": { |
| "pageSize": { |
| "type": "integer", |
| "format": "int32", |
| "location": "query", |
| "description": "Size of the page, can be limited by server. If zero server returns a page of max size 100." |
| }, |
| "parent": { |
| "type": "string", |
| "description": "Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3", |
| "required": true, |
| "location": "path", |
| "pattern": "^projects/[^/]+$" |
| }, |
| "orderBy": { |
| "type": "string", |
| "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the template was created. - `update_time`: corresponds to time the template was last updated. - `name`: corresponds to template's name. - `display_name`: corresponds to template's display name.", |
| "location": "query" |
| }, |
| "pageToken": { |
| "location": "query", |
| "description": "Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`.", |
| "type": "string" |
| }, |
| "locationId": { |
| "type": "string", |
| "location": "query", |
| "description": "Deprecated. This field has no effect." |
| } |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "description": "Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListInspectTemplatesResponse" |
| }, |
| "id": "dlp.projects.inspectTemplates.list", |
| "httpMethod": "GET", |
| "flatPath": "v2/projects/{projectsId}/inspectTemplates" |
| } |
| } |
| } |
| } |
| }, |
| "infoTypes": { |
| "methods": { |
| "list": { |
| "path": "v2/infoTypes", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListInfoTypesResponse" |
| }, |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "location": "query", |
| "description": "The parent resource name. The format of this value is as follows: locations/ LOCATION_ID" |
| }, |
| "locationId": { |
| "type": "string", |
| "location": "query", |
| "description": "Deprecated. This field has no effect." |
| }, |
| "languageCode": { |
| "type": "string", |
| "location": "query", |
| "description": "BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned." |
| }, |
| "filter": { |
| "description": "filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.", |
| "location": "query", |
| "type": "string" |
| } |
| }, |
| "parameterOrder": [], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "dlp.infoTypes.list", |
| "httpMethod": "GET", |
| "description": "Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/dlp/docs/infotypes-reference to learn more.", |
| "flatPath": "v2/infoTypes" |
| } |
| } |
| }, |
| "locations": { |
| "resources": { |
| "infoTypes": { |
| "methods": { |
| "list": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "parent": { |
| "location": "path", |
| "pattern": "^locations/[^/]+$", |
| "description": "The parent resource name. The format of this value is as follows: locations/ LOCATION_ID", |
| "type": "string", |
| "required": true |
| }, |
| "locationId": { |
| "type": "string", |
| "location": "query", |
| "description": "Deprecated. This field has no effect." |
| }, |
| "languageCode": { |
| "description": "BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.", |
| "location": "query", |
| "type": "string" |
| }, |
| "filter": { |
| "location": "query", |
| "description": "filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.", |
| "type": "string" |
| } |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "dlp.locations.infoTypes.list", |
| "description": "Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/dlp/docs/infotypes-reference to learn more.", |
| "flatPath": "v2/locations/{locationsId}/infoTypes", |
| "path": "v2/{+parent}/infoTypes", |
| "response": { |
| "$ref": "GooglePrivacyDlpV2ListInfoTypesResponse" |
| }, |
| "httpMethod": "GET" |
| } |
| } |
| } |
| } |
| } |
| }, |
| "rootUrl": "https://dlp.googleapis.com/", |
| "canonicalName": "DLP", |
| "documentationLink": "https://cloud.google.com/dlp/docs/", |
| "protocol": "rest", |
| "version_module": true, |
| "icons": { |
| "x32": "http://www.google.com/images/icons/product/search-32.gif", |
| "x16": "http://www.google.com/images/icons/product/search-16.gif" |
| }, |
| "ownerName": "Google", |
| "auth": { |
| "oauth2": { |
| "scopes": { |
| "https://www.googleapis.com/auth/cloud-platform": { |
| "description": "View and manage your data across Google Cloud Platform services" |
| } |
| } |
| } |
| }, |
| "mtlsRootUrl": "https://dlp.mtls.googleapis.com/", |
| "version": "v2", |
| "batchPath": "batch", |
| "schemas": { |
| "GooglePrivacyDlpV2Location": { |
| "id": "GooglePrivacyDlpV2Location", |
| "type": "object", |
| "description": "Specifies the location of the finding.", |
| "properties": { |
| "byteRange": { |
| "description": "Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.", |
| "$ref": "GooglePrivacyDlpV2Range" |
| }, |
| "codepointRange": { |
| "$ref": "GooglePrivacyDlpV2Range", |
| "description": "Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text." |
| }, |
| "container": { |
| "$ref": "GooglePrivacyDlpV2Container", |
| "description": "Information about the container where this finding occurred, if available." |
| }, |
| "contentLocations": { |
| "description": "List of nested objects pointing to the precise location of the finding within the file or record.", |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2ContentLocation" |
| } |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2DeidentifyTemplate": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2DeidentifyTemplate", |
| "description": "DeidentifyTemplates contains instructions on how to de-identify content. See https://cloud.google.com/dlp/docs/concepts-templates to learn more.", |
| "properties": { |
| "description": { |
| "type": "string", |
| "description": "Short description (max 256 chars)." |
| }, |
| "deidentifyConfig": { |
| "description": "///////////// // The core content of the template // ///////////////", |
| "$ref": "GooglePrivacyDlpV2DeidentifyConfig" |
| }, |
| "createTime": { |
| "format": "google-datetime", |
| "description": "Output only. The creation timestamp of an inspectTemplate.", |
| "type": "string", |
| "readOnly": true |
| }, |
| "updateTime": { |
| "format": "google-datetime", |
| "readOnly": true, |
| "description": "Output only. The last update timestamp of an inspectTemplate.", |
| "type": "string" |
| }, |
| "name": { |
| "type": "string", |
| "readOnly": true, |
| "description": "Output only. The template name. The template will have one of the following formats: `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`" |
| }, |
| "displayName": { |
| "description": "Display name (max 256 chars).", |
| "type": "string" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2AuxiliaryTable": { |
| "description": "An auxiliary table contains statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).", |
| "properties": { |
| "quasiIds": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2QuasiIdField" |
| }, |
| "description": "Required. Quasi-identifier columns.", |
| "type": "array" |
| }, |
| "table": { |
| "$ref": "GooglePrivacyDlpV2BigQueryTable", |
| "description": "Required. Auxiliary table location." |
| }, |
| "relativeFrequency": { |
| "description": "Required. The relative frequency column must contain a floating-point number between 0 and 1 (inclusive). Null values are assumed to be zero.", |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2AuxiliaryTable", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2FixedSizeBucketingConfig": { |
| "type": "object", |
| "properties": { |
| "bucketSize": { |
| "description": "Required. Size of each bucket (except for minimum and maximum buckets). So if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.", |
| "format": "double", |
| "type": "number" |
| }, |
| "lowerBound": { |
| "$ref": "GooglePrivacyDlpV2Value", |
| "description": "Required. Lower bound value of buckets. All values less than `lower_bound` are grouped together into a single bucket; for example if `lower_bound` = 10, then all values less than 10 are replaced with the value \"-10\"." |
| }, |
| "upperBound": { |
| "$ref": "GooglePrivacyDlpV2Value", |
| "description": "Required. Upper bound value of buckets. All values greater than upper_bound are grouped together into a single bucket; for example if `upper_bound` = 89, then all values greater than 89 are replaced with the value \"89+\"." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2FixedSizeBucketingConfig", |
| "description": "Buckets values based on fixed size ranges. The Bucketing transformation can provide all of this functionality, but requires more configuration. This message is provided as a convenience to the user for simple bucketing strategies. The transformed value will be a hyphenated string of {lower_bound}-{upper_bound}, i.e if lower_bound = 10 and upper_bound = 20 all values that are within this bucket will be replaced with \"10-20\". This can be used on data of type: double, long. If the bound Value type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing. See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more." |
| }, |
| "GooglePrivacyDlpV2HybridInspectResponse": { |
| "id": "GooglePrivacyDlpV2HybridInspectResponse", |
| "properties": {}, |
| "description": "Quota exceeded errors will be thrown once quota has been met.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog": { |
| "description": "Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the results of the DlpJob will be applied to the entry for the resource scanned in Cloud Data Catalog. Any labels previously written by another DlpJob will be deleted. InfoType naming patterns are strictly enforced when using this feature. Note that the findings will be persisted in Cloud Data Catalog storage and are governed by Data Catalog service-specific policy, see https://cloud.google.com/terms/service-terms Only a single instance of this action can be specified and only allowed if all resources being scanned are BigQuery tables. Compatible with: Inspect", |
| "id": "GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog", |
| "type": "object", |
| "properties": {} |
| }, |
| "GooglePrivacyDlpV2Schedule": { |
| "description": "Schedule for triggeredJobs.", |
| "type": "object", |
| "properties": { |
| "recurrencePeriodDuration": { |
| "type": "string", |
| "format": "google-duration", |
| "description": "With this option a job is started a regular periodic basis. For example: every day (86400 seconds). A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs. This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2Schedule" |
| }, |
| "GooglePrivacyDlpV2InspectionRuleSet": { |
| "id": "GooglePrivacyDlpV2InspectionRuleSet", |
| "description": "Rule set for modifying a set of infoTypes to alter behavior under certain circumstances, depending on the specific details of the rules within the set.", |
| "properties": { |
| "infoTypes": { |
| "type": "array", |
| "description": "List of infoTypes this rule set is applied to.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2InfoType" |
| } |
| }, |
| "rules": { |
| "description": "Set of rules to be applied to infoTypes. The rules are applied in order.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2InspectionRule" |
| }, |
| "type": "array" |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleTypeDate": { |
| "id": "GoogleTypeDate", |
| "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", |
| "properties": { |
| "year": { |
| "format": "int32", |
| "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", |
| "type": "integer" |
| }, |
| "month": { |
| "format": "int32", |
| "type": "integer", |
| "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day." |
| }, |
| "day": { |
| "format": "int32", |
| "type": "integer", |
| "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant." |
| } |
| }, |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2Table": { |
| "id": "GooglePrivacyDlpV2Table", |
| "properties": { |
| "headers": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| }, |
| "type": "array", |
| "description": "Headers of the table." |
| }, |
| "rows": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Row" |
| }, |
| "description": "Rows of the table.", |
| "type": "array" |
| } |
| }, |
| "description": "Structured content to inspect. Up to 50,000 `Value`s per request allowed. See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to learn more.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2Bucket": { |
| "description": "Bucket is represented as a range, along with replacement values.", |
| "properties": { |
| "min": { |
| "$ref": "GooglePrivacyDlpV2Value", |
| "description": "Lower bound of the range, inclusive. Type should be the same as max if used." |
| }, |
| "replacementValue": { |
| "description": "Required. Replacement value for this bucket.", |
| "$ref": "GooglePrivacyDlpV2Value" |
| }, |
| "max": { |
| "description": "Upper bound of the range, exclusive; type must match min.", |
| "$ref": "GooglePrivacyDlpV2Value" |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2Bucket" |
| }, |
| "GooglePrivacyDlpV2CategoricalStatsResult": { |
| "description": "Result of the categorical stats computation.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2CategoricalStatsResult", |
| "properties": { |
| "valueFrequencyHistogramBuckets": { |
| "type": "array", |
| "description": "Histogram of value frequencies in the column.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2CategoricalStatsHistogramBucket" |
| } |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2StorageConfig": { |
| "type": "object", |
| "properties": { |
| "bigQueryOptions": { |
| "description": "BigQuery options.", |
| "$ref": "GooglePrivacyDlpV2BigQueryOptions" |
| }, |
| "cloudStorageOptions": { |
| "$ref": "GooglePrivacyDlpV2CloudStorageOptions", |
| "description": "Google Cloud Storage options." |
| }, |
| "timespanConfig": { |
| "$ref": "GooglePrivacyDlpV2TimespanConfig" |
| }, |
| "datastoreOptions": { |
| "description": "Google Cloud Datastore options.", |
| "$ref": "GooglePrivacyDlpV2DatastoreOptions" |
| }, |
| "hybridOptions": { |
| "$ref": "GooglePrivacyDlpV2HybridOptions", |
| "description": "Hybrid inspection options. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages." |
| } |
| }, |
| "description": "Shared message indicating Cloud storage type.", |
| "id": "GooglePrivacyDlpV2StorageConfig" |
| }, |
| "GoogleRpcStatus": { |
| "properties": { |
| "message": { |
| "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", |
| "type": "string" |
| }, |
| "details": { |
| "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", |
| "items": { |
| "additionalProperties": { |
| "description": "Properties of the object. Contains field @type with type URL.", |
| "type": "any" |
| }, |
| "type": "object" |
| }, |
| "type": "array" |
| }, |
| "code": { |
| "description": "The status code, which should be an enum value of google.rpc.Code.", |
| "type": "integer", |
| "format": "int32" |
| } |
| }, |
| "type": "object", |
| "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", |
| "id": "GoogleRpcStatus" |
| }, |
| "GooglePrivacyDlpV2HotwordRule": { |
| "id": "GooglePrivacyDlpV2HotwordRule", |
| "description": "The rule that adjusts the likelihood of findings within a certain proximity of hotwords.", |
| "properties": { |
| "proximity": { |
| "$ref": "GooglePrivacyDlpV2Proximity", |
| "description": "Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be used to match substrings of the finding itself. For example, the certainty of a phone number regex \"\\(\\d{3}\\) \\d{3}-\\d{4}\" could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex \"\\(xxx\\)\", where \"xxx\" is the area code in question." |
| }, |
| "likelihoodAdjustment": { |
| "$ref": "GooglePrivacyDlpV2LikelihoodAdjustment", |
| "description": "Likelihood adjustment to apply to all matching findings." |
| }, |
| "hotwordRegex": { |
| "description": "Regular expression pattern defining what qualifies as a hotword.", |
| "$ref": "GooglePrivacyDlpV2Regex" |
| } |
| }, |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2TimeZone": { |
| "id": "GooglePrivacyDlpV2TimeZone", |
| "properties": { |
| "offsetMinutes": { |
| "type": "integer", |
| "description": "Set only if the offset can be determined. Positive for time ahead of UTC. E.g. For \"UTC-9\", this value is -540.", |
| "format": "int32" |
| } |
| }, |
| "description": "Time zone of the date time object.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2DocumentLocation": { |
| "properties": { |
| "fileOffset": { |
| "type": "string", |
| "description": "Offset of the line, from the beginning of the file, where the finding is located.", |
| "format": "int64" |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2DocumentLocation", |
| "description": "Location of a finding within a document." |
| }, |
| "GooglePrivacyDlpV2InfoTypeDescription": { |
| "properties": { |
| "supportedBy": { |
| "description": "Which parts of the API supports this InfoType.", |
| "items": { |
| "enumDescriptions": [ |
| "Unused.", |
| "Supported by the inspect operations.", |
| "Supported by the risk analysis operations." |
| ], |
| "type": "string", |
| "enum": [ |
| "ENUM_TYPE_UNSPECIFIED", |
| "INSPECT", |
| "RISK_ANALYSIS" |
| ] |
| }, |
| "type": "array" |
| }, |
| "description": { |
| "type": "string", |
| "description": "Description of the infotype. Translated when language is provided in the request." |
| }, |
| "name": { |
| "description": "Internal name of the infoType.", |
| "type": "string" |
| }, |
| "displayName": { |
| "description": "Human readable form of the infoType name.", |
| "type": "string" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2InfoTypeDescription", |
| "description": "InfoType description.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2StorageMetadataLabel": { |
| "type": "object", |
| "properties": { |
| "key": { |
| "type": "string" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2StorageMetadataLabel", |
| "description": "Storage metadata label to indicate which metadata entry contains findings." |
| }, |
| "GooglePrivacyDlpV2DeltaPresenceEstimationResult": { |
| "description": "Result of the δ-presence computation. Note that these results are an estimation, not exact values.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2DeltaPresenceEstimationResult", |
| "properties": { |
| "deltaPresenceEstimationHistogram": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket" |
| }, |
| "type": "array", |
| "description": "The intervals [min_probability, max_probability) do not overlap. If a value doesn't correspond to any such interval, the associated frequency is zero. For example, the following records: {min_probability: 0, max_probability: 0.1, frequency: 17} {min_probability: 0.2, max_probability: 0.3, frequency: 42} {min_probability: 0.3, max_probability: 0.4, frequency: 99} mean that there are no record with an estimated probability in [0.1, 0.2) nor larger or equal to 0.4." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2FieldId": { |
| "id": "GooglePrivacyDlpV2FieldId", |
| "type": "object", |
| "description": "General identifier of a data field in a storage service.", |
| "properties": { |
| "name": { |
| "type": "string", |
| "description": "Name describing the field." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2HybridInspectDlpJobRequest": { |
| "properties": { |
| "hybridItem": { |
| "description": "The item to inspect.", |
| "$ref": "GooglePrivacyDlpV2HybridContentItem" |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2HybridInspectDlpJobRequest", |
| "description": "Request to search for potentially sensitive info in a custom location." |
| }, |
| "GooglePrivacyDlpV2BigQueryKey": { |
| "description": "Row key for identifying a record in BigQuery table.", |
| "id": "GooglePrivacyDlpV2BigQueryKey", |
| "type": "object", |
| "properties": { |
| "rowNumber": { |
| "type": "string", |
| "description": "Row number inferred at the time the table was scanned. This value is nondeterministic, cannot be queried, and may be null for inspection jobs. To locate findings within a table, specify `inspect_job.storage_config.big_query_options.identifying_fields` in `CreateDlpJobRequest`.", |
| "format": "int64" |
| }, |
| "tableReference": { |
| "$ref": "GooglePrivacyDlpV2BigQueryTable", |
| "description": "Complete BigQuery table reference." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2TransformationErrorHandling": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2TransformationErrorHandling", |
| "description": "How to handle transformation errors during de-identification. A transformation error occurs when the requested transformation is incompatible with the data. For example, trying to de-identify an IP address using a `DateShift` transformation would result in a transformation error, since date info cannot be extracted from an IP address. Information about any incompatible transformations, and how they were handled, is returned in the response as part of the `TransformationOverviews`.", |
| "properties": { |
| "leaveUntransformed": { |
| "$ref": "GooglePrivacyDlpV2LeaveUntransformed", |
| "description": "Ignore errors" |
| }, |
| "throwError": { |
| "description": "Throw an error", |
| "$ref": "GooglePrivacyDlpV2ThrowError" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2InspectionRule": { |
| "properties": { |
| "hotwordRule": { |
| "description": "Hotword-based detection rule.", |
| "$ref": "GooglePrivacyDlpV2HotwordRule" |
| }, |
| "exclusionRule": { |
| "$ref": "GooglePrivacyDlpV2ExclusionRule", |
| "description": "Exclusion rule." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2InspectionRule", |
| "type": "object", |
| "description": "A single inspection rule to be applied to infoTypes, specified in `InspectionRuleSet`." |
| }, |
| "GooglePrivacyDlpV2TransformationSummary": { |
| "description": "Summary of a single transformation. Only one of 'transformation', 'field_transformation', or 'record_suppress' will be set.", |
| "properties": { |
| "results": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2SummaryResult" |
| }, |
| "description": "Collection of all transformations that took place or had an error.", |
| "type": "array" |
| }, |
| "infoType": { |
| "description": "Set if the transformation was limited to a specific InfoType.", |
| "$ref": "GooglePrivacyDlpV2InfoType" |
| }, |
| "recordSuppress": { |
| "$ref": "GooglePrivacyDlpV2RecordSuppression", |
| "description": "The specific suppression option these stats apply to." |
| }, |
| "fieldTransformations": { |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2FieldTransformation" |
| }, |
| "description": "The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied." |
| }, |
| "transformedBytes": { |
| "type": "string", |
| "format": "int64", |
| "description": "Total size in bytes that were transformed in some way." |
| }, |
| "field": { |
| "description": "Set if the transformation was limited to a specific FieldId.", |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| }, |
| "transformation": { |
| "$ref": "GooglePrivacyDlpV2PrimitiveTransformation", |
| "description": "The specific transformation these stats apply to." |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2TransformationSummary" |
| }, |
| "GooglePrivacyDlpV2HybridInspectStatistics": { |
| "type": "object", |
| "description": "Statistics related to processing hybrid inspect requests.", |
| "id": "GooglePrivacyDlpV2HybridInspectStatistics", |
| "properties": { |
| "abortedCount": { |
| "format": "int64", |
| "description": "The number of hybrid inspection requests aborted because the job ran out of quota or was ended before they could be processed.", |
| "type": "string" |
| }, |
| "pendingCount": { |
| "description": "The number of hybrid requests currently being processed. Only populated when called via method `getDlpJob`. A burst of traffic may cause hybrid inspect requests to be enqueued. Processing will take place as quickly as possible, but resource limitations may impact how long a request is enqueued for.", |
| "type": "string", |
| "format": "int64" |
| }, |
| "processedCount": { |
| "description": "The number of hybrid inspection requests processed within this job.", |
| "type": "string", |
| "format": "int64" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2InfoTypeTransformation": { |
| "properties": { |
| "primitiveTransformation": { |
| "description": "Required. Primitive transformation to apply to the infoType.", |
| "$ref": "GooglePrivacyDlpV2PrimitiveTransformation" |
| }, |
| "infoTypes": { |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2InfoType" |
| }, |
| "description": "InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`." |
| } |
| }, |
| "description": "A transformation to apply to text that is identified as a specific info_type.", |
| "id": "GooglePrivacyDlpV2InfoTypeTransformation", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2BucketingConfig": { |
| "description": "Generalization function that buckets values based on ranges. The ranges and replacement values are dynamically provided by the user for custom behavior, such as 1-30 -\u003e LOW 31-65 -\u003e MEDIUM 66-100 -\u003e HIGH This can be used on data of type: number, long, string, timestamp. If the bound `Value` type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing. See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.", |
| "id": "GooglePrivacyDlpV2BucketingConfig", |
| "type": "object", |
| "properties": { |
| "buckets": { |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Bucket" |
| }, |
| "description": "Set of buckets. Ranges must be non-overlapping." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2InspectContentResponse": { |
| "id": "GooglePrivacyDlpV2InspectContentResponse", |
| "description": "Results of inspecting an item.", |
| "type": "object", |
| "properties": { |
| "result": { |
| "$ref": "GooglePrivacyDlpV2InspectResult", |
| "description": "The findings." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2QuasiIdentifierField": { |
| "id": "GooglePrivacyDlpV2QuasiIdentifierField", |
| "description": "A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.", |
| "properties": { |
| "customTag": { |
| "type": "string", |
| "description": "A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below)." |
| }, |
| "field": { |
| "$ref": "GooglePrivacyDlpV2FieldId", |
| "description": "Identifies the column." |
| } |
| }, |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2BigQueryOptions": { |
| "type": "object", |
| "description": "Options defining BigQuery table and row identifiers.", |
| "id": "GooglePrivacyDlpV2BigQueryOptions", |
| "properties": { |
| "rowsLimitPercent": { |
| "format": "int32", |
| "type": "integer", |
| "description": "Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of rows_limit and rows_limit_percent can be specified. Cannot be used in conjunction with TimespanConfig." |
| }, |
| "excludedFields": { |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| }, |
| "description": "References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings." |
| }, |
| "sampleMethod": { |
| "enum": [ |
| "SAMPLE_METHOD_UNSPECIFIED", |
| "TOP", |
| "RANDOM_START" |
| ], |
| "type": "string", |
| "enumDescriptions": [ |
| "", |
| "Scan groups of rows in the order BigQuery provides (default). Multiple groups of rows may be scanned in parallel, so results may not appear in the same order the rows are read.", |
| "Randomly pick groups of rows to scan." |
| ] |
| }, |
| "identifyingFields": { |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| }, |
| "description": "Table fields that may uniquely identify a row within the table. When `actions.saveFindings.outputConfig.table` is specified, the values of columns specified here are available in the output table under `location.content_locations.record_location.record_key.id_values`. Nested fields such as `person.birthdate.year` are allowed." |
| }, |
| "rowsLimit": { |
| "format": "int64", |
| "type": "string", |
| "description": "Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or if set to 0, all rows will be scanned. Only one of rows_limit and rows_limit_percent can be specified. Cannot be used in conjunction with TimespanConfig." |
| }, |
| "tableReference": { |
| "$ref": "GooglePrivacyDlpV2BigQueryTable", |
| "description": "Complete BigQuery table reference." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2UpdateStoredInfoTypeRequest": { |
| "type": "object", |
| "properties": { |
| "config": { |
| "description": "Updated configuration for the storedInfoType. If not provided, a new version of the storedInfoType will be created with the existing configuration.", |
| "$ref": "GooglePrivacyDlpV2StoredInfoTypeConfig" |
| }, |
| "updateMask": { |
| "description": "Mask to control which fields get updated.", |
| "format": "google-fieldmask", |
| "type": "string" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2UpdateStoredInfoTypeRequest", |
| "description": "Request message for UpdateStoredInfoType." |
| }, |
| "GooglePrivacyDlpV2ReplaceWithInfoTypeConfig": { |
| "id": "GooglePrivacyDlpV2ReplaceWithInfoTypeConfig", |
| "type": "object", |
| "description": "Replace each matching finding with the name of the info_type.", |
| "properties": {} |
| }, |
| "GooglePrivacyDlpV2DateTime": { |
| "description": "Message for a date time object. e.g. 2018-01-01, 5th August.", |
| "properties": { |
| "date": { |
| "$ref": "GoogleTypeDate", |
| "description": "One or more of the following must be set. Must be a valid date or time value." |
| }, |
| "dayOfWeek": { |
| "enumDescriptions": [ |
| "The day of the week is unspecified.", |
| "Monday", |
| "Tuesday", |
| "Wednesday", |
| "Thursday", |
| "Friday", |
| "Saturday", |
| "Sunday" |
| ], |
| "enum": [ |
| "DAY_OF_WEEK_UNSPECIFIED", |
| "MONDAY", |
| "TUESDAY", |
| "WEDNESDAY", |
| "THURSDAY", |
| "FRIDAY", |
| "SATURDAY", |
| "SUNDAY" |
| ], |
| "type": "string", |
| "description": "Day of week" |
| }, |
| "time": { |
| "description": "Time of day", |
| "$ref": "GoogleTypeTimeOfDay" |
| }, |
| "timeZone": { |
| "$ref": "GooglePrivacyDlpV2TimeZone", |
| "description": "Time zone" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2DateTime", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig": { |
| "properties": { |
| "context": { |
| "$ref": "GooglePrivacyDlpV2FieldId", |
| "description": "The 'tweak', a context may be used for higher security since the same identifier in two different contexts won't be given the same surrogate. If the context is not set, a default tweak will be used. If the context is set but: 1. there is no record present when transforming a given value or 1. the field is not present when transforming a given value, a default tweak will be used. Note that case (1) is expected when an `InfoTypeTransformation` is applied to both structured and non-structured `ContentItem`s. Currently, the referenced field may be of value type integer or string. The tweak is constructed as a sequence of bytes in big endian byte order such that: - a 64 bit integer is encoded followed by a single byte of value 1 - a string is encoded in UTF-8 format followed by a single byte of value 2" |
| }, |
| "cryptoKey": { |
| "$ref": "GooglePrivacyDlpV2CryptoKey", |
| "description": "Required. The key used by the encryption algorithm." |
| }, |
| "surrogateInfoType": { |
| "description": "The custom infoType to annotate the surrogate with. This annotation will be applied to the surrogate by prefixing it with the name of the custom infoType followed by the number of characters comprising the surrogate. The following scheme defines the format: info_type_name(surrogate_character_count):surrogate For example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and the surrogate is 'abc', the full replacement value will be: 'MY_TOKEN_INFO_TYPE(3):abc' This annotation identifies the surrogate when inspecting content using the custom infoType [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype). This facilitates reversal of the surrogate when it occurs in free text. In order for inspection to work properly, the name of this infoType must not occur naturally anywhere in your data; otherwise, inspection may find a surrogate that does not correspond to an actual identifier. Therefore, choose your custom infoType name carefully after considering what your data looks like. One way to select a name that has a high chance of yielding reliable detection is to include one or more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point 29DD might be used like so: ⧝MY_TOKEN_TYPE", |
| "$ref": "GooglePrivacyDlpV2InfoType" |
| }, |
| "customAlphabet": { |
| "type": "string", |
| "description": "This is supported by mapping these to the alphanumeric characters that the FFX mode natively supports. This happens before/after encryption/decryption. Each character listed must appear only once. Number of characters must be in the range [2, 95]. This must be encoded as ASCII. The order of characters does not matter. The full list of allowed characters is: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ~`!@#$%^&*()_-+={[}]|\\:;\"'\u003c,\u003e.?/" |
| }, |
| "commonAlphabet": { |
| "description": "Common alphabets.", |
| "type": "string", |
| "enum": [ |
| "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED", |
| "NUMERIC", |
| "HEXADECIMAL", |
| "UPPER_CASE_ALPHA_NUMERIC", |
| "ALPHA_NUMERIC" |
| ], |
| "enumDescriptions": [ |
| "Unused.", |
| "`[0-9]` (radix of 10)", |
| "`[0-9A-F]` (radix of 16)", |
| "`[0-9A-Z]` (radix of 36)", |
| "`[0-9A-Za-z]` (radix of 62)" |
| ] |
| }, |
| "radix": { |
| "description": "The native way to select the alphabet. Must be in the range [2, 95].", |
| "format": "int32", |
| "type": "integer" |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig", |
| "description": "Replaces an identifier with a surrogate using Format Preserving Encryption (FPE) with the FFX mode of operation; however when used in the `ReidentifyContent` API method, it serves the opposite function by reversing the surrogate back into the original identifier. The identifier must be encoded as ASCII. For a given crypto key and context, the same identifier will be replaced with the same surrogate. Identifiers must be at least two characters long. In the case that the identifier is the empty string, it will be skipped. See https://cloud.google.com/dlp/docs/pseudonymization to learn more. Note: We recommend using CryptoDeterministicConfig for all use cases which do not require preserving the input alphabet space and size, plus warrant referential integrity." |
| }, |
| "GooglePrivacyDlpV2ReidentifyContentResponse": { |
| "id": "GooglePrivacyDlpV2ReidentifyContentResponse", |
| "type": "object", |
| "properties": { |
| "overview": { |
| "$ref": "GooglePrivacyDlpV2TransformationOverview", |
| "description": "An overview of the changes that were made to the `item`." |
| }, |
| "item": { |
| "$ref": "GooglePrivacyDlpV2ContentItem", |
| "description": "The re-identified item." |
| } |
| }, |
| "description": "Results of re-identifying a item." |
| }, |
| "GooglePrivacyDlpV2Regex": { |
| "type": "object", |
| "description": "Message defining a custom regular expression.", |
| "properties": { |
| "pattern": { |
| "description": "Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.", |
| "type": "string" |
| }, |
| "groupIndexes": { |
| "description": "The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.", |
| "items": { |
| "type": "integer", |
| "format": "int32" |
| }, |
| "type": "array" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2Regex" |
| }, |
| "GooglePrivacyDlpV2ExclusionRule": { |
| "properties": { |
| "regex": { |
| "description": "Regular expression which defines the rule.", |
| "$ref": "GooglePrivacyDlpV2Regex" |
| }, |
| "dictionary": { |
| "description": "Dictionary which defines the rule.", |
| "$ref": "GooglePrivacyDlpV2Dictionary" |
| }, |
| "matchingType": { |
| "enumDescriptions": [ |
| "Invalid.", |
| "Full match. - Dictionary: join of Dictionary results matched complete finding quote - Regex: all regex matches fill a finding quote start to end - Exclude info type: completely inside affecting info types findings", |
| "Partial match. - Dictionary: at least one of the tokens in the finding matches - Regex: substring of the finding matches - Exclude info type: intersects with affecting info types findings", |
| "Inverse match. - Dictionary: no tokens in the finding match the dictionary - Regex: finding doesn't match the regex - Exclude info type: no intersection with affecting info types findings" |
| ], |
| "description": "How the rule is applied, see MatchingType documentation for details.", |
| "enum": [ |
| "MATCHING_TYPE_UNSPECIFIED", |
| "MATCHING_TYPE_FULL_MATCH", |
| "MATCHING_TYPE_PARTIAL_MATCH", |
| "MATCHING_TYPE_INVERSE_MATCH" |
| ], |
| "type": "string" |
| }, |
| "excludeInfoTypes": { |
| "$ref": "GooglePrivacyDlpV2ExcludeInfoTypes", |
| "description": "Set of infoTypes for which findings would affect this rule." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2ExclusionRule", |
| "type": "object", |
| "description": "The rule that specifies conditions when findings of infoTypes specified in `InspectionRuleSet` are removed from results." |
| }, |
| "GooglePrivacyDlpV2MetadataLocation": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2MetadataLocation", |
| "properties": { |
| "storageLabel": { |
| "description": "Storage metadata.", |
| "$ref": "GooglePrivacyDlpV2StorageMetadataLabel" |
| }, |
| "type": { |
| "description": "Type of metadata containing the finding.", |
| "type": "string", |
| "enum": [ |
| "METADATATYPE_UNSPECIFIED", |
| "STORAGE_METADATA" |
| ], |
| "enumDescriptions": [ |
| "Unused", |
| "General file metadata provided by Cloud Storage." |
| ] |
| } |
| }, |
| "description": "Metadata Location" |
| }, |
| "GooglePrivacyDlpV2StoredInfoTypeConfig": { |
| "description": "Configuration for stored infoTypes. All fields and subfield are provided by the user. For more information, see https://cloud.google.com/dlp/docs/creating-custom-infotypes.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2StoredInfoTypeConfig", |
| "properties": { |
| "dictionary": { |
| "$ref": "GooglePrivacyDlpV2Dictionary", |
| "description": "Store dictionary-based CustomInfoType." |
| }, |
| "largeCustomDictionary": { |
| "description": "StoredInfoType where findings are defined by a dictionary of phrases.", |
| "$ref": "GooglePrivacyDlpV2LargeCustomDictionaryConfig" |
| }, |
| "regex": { |
| "$ref": "GooglePrivacyDlpV2Regex", |
| "description": "Store regular expression-based StoredInfoType." |
| }, |
| "description": { |
| "description": "Description of the StoredInfoType (max 256 characters).", |
| "type": "string" |
| }, |
| "displayName": { |
| "description": "Display name of the StoredInfoType (max 256 characters).", |
| "type": "string" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2InspectContentRequest": { |
| "type": "object", |
| "description": "Request to search for potentially sensitive info in a ContentItem.", |
| "id": "GooglePrivacyDlpV2InspectContentRequest", |
| "properties": { |
| "item": { |
| "$ref": "GooglePrivacyDlpV2ContentItem", |
| "description": "The item to inspect." |
| }, |
| "inspectConfig": { |
| "description": "Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.", |
| "$ref": "GooglePrivacyDlpV2InspectConfig" |
| }, |
| "inspectTemplateName": { |
| "description": "Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.", |
| "type": "string" |
| }, |
| "locationId": { |
| "description": "Deprecated. This field has no effect.", |
| "type": "string" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2TransformationOverview": { |
| "description": "Overview of the modifications that occurred.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2TransformationOverview", |
| "properties": { |
| "transformedBytes": { |
| "description": "Total size in bytes that were transformed in some way.", |
| "format": "int64", |
| "type": "string" |
| }, |
| "transformationSummaries": { |
| "type": "array", |
| "description": "Transformations applied to the dataset.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2TransformationSummary" |
| } |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket": { |
| "properties": { |
| "maxProbability": { |
| "format": "double", |
| "type": "number", |
| "description": "Always greater than or equal to min_probability." |
| }, |
| "minProbability": { |
| "format": "double", |
| "description": "Between 0 and 1.", |
| "type": "number" |
| }, |
| "bucketSize": { |
| "format": "int64", |
| "description": "Number of records within these probability bounds.", |
| "type": "string" |
| }, |
| "bucketValueCount": { |
| "format": "int64", |
| "type": "string", |
| "description": "Total number of distinct quasi-identifier tuple values in this bucket." |
| }, |
| "bucketValues": { |
| "description": "Sample of quasi-identifier tuple values in this bucket. The total number of classes returned per bucket is capped at 20.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues" |
| }, |
| "type": "array" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket", |
| "type": "object", |
| "description": "A DeltaPresenceEstimationHistogramBucket message with the following values: min_probability: 0.1 max_probability: 0.2 frequency: 42 means that there are 42 records for which δ is in [0.1, 0.2). An important particular case is when min_probability = max_probability = 1: then, every individual who shares this quasi-identifier combination is in the dataset." |
| }, |
| "GooglePrivacyDlpV2NumericalStatsConfig": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2NumericalStatsConfig", |
| "description": "Compute numerical stats over an individual column, including min, max, and quantiles.", |
| "properties": { |
| "field": { |
| "description": "Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.", |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2Key": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2Key", |
| "description": "A unique identifier for a Datastore entity. If a key's partition ID or any of its path kinds or names are reserved/read-only, the key is reserved/read-only. A reserved/read-only key is forbidden in certain documented contexts.", |
| "properties": { |
| "partitionId": { |
| "description": "Entities are partitioned into subsets, currently identified by a project ID and namespace ID. Queries are scoped to a single partition.", |
| "$ref": "GooglePrivacyDlpV2PartitionId" |
| }, |
| "path": { |
| "type": "array", |
| "description": "The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a _root entity_, the second element identifies a _child_ of the root entity, the third element identifies a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's _ancestors_. A path can never be empty, and a path can have at most 100 elements.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2PathElement" |
| } |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2Range": { |
| "properties": { |
| "start": { |
| "description": "Index of the first character of the range (inclusive).", |
| "format": "int64", |
| "type": "string" |
| }, |
| "end": { |
| "description": "Index of the last character of the range (exclusive).", |
| "format": "int64", |
| "type": "string" |
| } |
| }, |
| "description": "Generic half-open interval [start, end)", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2Range" |
| }, |
| "GooglePrivacyDlpV2ByteContentItem": { |
| "id": "GooglePrivacyDlpV2ByteContentItem", |
| "description": "Container for bytes to inspect or redact.", |
| "type": "object", |
| "properties": { |
| "type": { |
| "description": "The type of data stored in the bytes string. Default will be TEXT_UTF8.", |
| "type": "string", |
| "enumDescriptions": [ |
| "Unused", |
| "Any image type.", |
| "jpeg", |
| "bmp", |
| "png", |
| "svg", |
| "plain text", |
| "docx, docm, dotx, dotm", |
| "pdf", |
| "avro", |
| "csv", |
| "tsv" |
| ], |
| "enum": [ |
| "BYTES_TYPE_UNSPECIFIED", |
| "IMAGE", |
| "IMAGE_JPEG", |
| "IMAGE_BMP", |
| "IMAGE_PNG", |
| "IMAGE_SVG", |
| "TEXT_UTF8", |
| "WORD_DOCUMENT", |
| "PDF", |
| "AVRO", |
| "CSV", |
| "TSV" |
| ] |
| }, |
| "data": { |
| "description": "Content data to inspect or redact.", |
| "format": "byte", |
| "type": "string" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2TransientCryptoKey": { |
| "properties": { |
| "name": { |
| "description": "Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate `TransientCryptoKey` protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated).", |
| "type": "string" |
| } |
| }, |
| "type": "object", |
| "description": "Use this to have a random data crypto key generated. It will be discarded after the request finishes.", |
| "id": "GooglePrivacyDlpV2TransientCryptoKey" |
| }, |
| "GooglePrivacyDlpV2TimePartConfig": { |
| "properties": { |
| "partToExtract": { |
| "type": "string", |
| "enum": [ |
| "TIME_PART_UNSPECIFIED", |
| "YEAR", |
| "MONTH", |
| "DAY_OF_MONTH", |
| "DAY_OF_WEEK", |
| "WEEK_OF_YEAR", |
| "HOUR_OF_DAY" |
| ], |
| "description": "The part of the time to keep.", |
| "enumDescriptions": [ |
| "Unused", |
| "[0-9999]", |
| "[1-12]", |
| "[1-31]", |
| "[1-7]", |
| "[1-53]", |
| "[0-23]" |
| ] |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2TimePartConfig", |
| "description": "For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a portion of the value." |
| }, |
| "GooglePrivacyDlpV2LDiversityConfig": { |
| "properties": { |
| "quasiIds": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| }, |
| "description": "Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key.", |
| "type": "array" |
| }, |
| "sensitiveAttribute": { |
| "description": "Sensitive field for computing the l-value.", |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| } |
| }, |
| "description": "l-diversity metric, used for analysis of reidentification risk.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2LDiversityConfig" |
| }, |
| "GooglePrivacyDlpV2StoredInfoTypeVersion": { |
| "description": "Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.", |
| "properties": { |
| "state": { |
| "enum": [ |
| "STORED_INFO_TYPE_STATE_UNSPECIFIED", |
| "PENDING", |
| "READY", |
| "FAILED", |
| "INVALID" |
| ], |
| "type": "string", |
| "enumDescriptions": [ |
| "Unused", |
| "StoredInfoType version is being created.", |
| "StoredInfoType version is ready for use.", |
| "StoredInfoType creation failed. All relevant error messages are returned in the `StoredInfoTypeVersion` message.", |
| "StoredInfoType is no longer valid because artifacts stored in user-controlled storage were modified. To fix an invalid StoredInfoType, use the `UpdateStoredInfoType` method to create a new version." |
| ], |
| "description": "Stored info type version state. Read-only, updated by the system during dictionary creation." |
| }, |
| "config": { |
| "description": "StoredInfoType configuration.", |
| "$ref": "GooglePrivacyDlpV2StoredInfoTypeConfig" |
| }, |
| "errors": { |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Error" |
| }, |
| "description": "Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same `config` if it was not the source of the error." |
| }, |
| "stats": { |
| "description": "Statistics about this storedInfoType version.", |
| "$ref": "GooglePrivacyDlpV2StoredInfoTypeStats" |
| }, |
| "createTime": { |
| "type": "string", |
| "description": "Create timestamp of the version. Read-only, determined by the system when the version is created.", |
| "format": "google-datetime" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2StoredInfoTypeVersion", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2CustomInfoType": { |
| "description": "Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.", |
| "type": "object", |
| "properties": { |
| "surrogateType": { |
| "$ref": "GooglePrivacyDlpV2SurrogateType", |
| "description": "Message for detecting output from deidentification transformations that support reversing." |
| }, |
| "likelihood": { |
| "enum": [ |
| "LIKELIHOOD_UNSPECIFIED", |
| "VERY_UNLIKELY", |
| "UNLIKELY", |
| "POSSIBLE", |
| "LIKELY", |
| "VERY_LIKELY" |
| ], |
| "enumDescriptions": [ |
| "Default value; same as POSSIBLE.", |
| "Few matching elements.", |
| "", |
| "Some matching elements.", |
| "", |
| "Many matching elements." |
| ], |
| "description": "Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to `VERY_LIKELY` if not specified.", |
| "type": "string" |
| }, |
| "exclusionType": { |
| "enumDescriptions": [ |
| "A finding of this custom info type will not be excluded from results.", |
| "A finding of this custom info type will be excluded from final results, but can still affect rule execution." |
| ], |
| "type": "string", |
| "enum": [ |
| "EXCLUSION_TYPE_UNSPECIFIED", |
| "EXCLUSION_TYPE_EXCLUDE" |
| ], |
| "description": "If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching." |
| }, |
| "dictionary": { |
| "$ref": "GooglePrivacyDlpV2Dictionary", |
| "description": "A list of phrases to detect as a CustomInfoType." |
| }, |
| "infoType": { |
| "$ref": "GooglePrivacyDlpV2InfoType", |
| "description": "CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in `InspectContent.info_types` list then the name is treated as a custom info type." |
| }, |
| "detectionRules": { |
| "type": "array", |
| "description": "Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2DetectionRule" |
| } |
| }, |
| "storedType": { |
| "description": "Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.", |
| "$ref": "GooglePrivacyDlpV2StoredType" |
| }, |
| "regex": { |
| "$ref": "GooglePrivacyDlpV2Regex", |
| "description": "Regular expression based CustomInfoType." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2CustomInfoType" |
| }, |
| "GooglePrivacyDlpV2SaveFindings": { |
| "id": "GooglePrivacyDlpV2SaveFindings", |
| "description": "If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk", |
| "properties": { |
| "outputConfig": { |
| "description": "Location to store findings outside of DLP.", |
| "$ref": "GooglePrivacyDlpV2OutputStorageConfig" |
| } |
| }, |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2UpdateInspectTemplateRequest": { |
| "properties": { |
| "updateMask": { |
| "format": "google-fieldmask", |
| "type": "string", |
| "description": "Mask to control which fields get updated." |
| }, |
| "inspectTemplate": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate", |
| "description": "New InspectTemplate value." |
| } |
| }, |
| "description": "Request message for UpdateInspectTemplate.", |
| "id": "GooglePrivacyDlpV2UpdateInspectTemplateRequest", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2CloudStorageFileSet": { |
| "description": "Message representing a set of files in Cloud Storage.", |
| "type": "object", |
| "properties": { |
| "url": { |
| "type": "string", |
| "description": "The url, in the format `gs:///`. Trailing wildcard in the path is allowed." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2CloudStorageFileSet" |
| }, |
| "GooglePrivacyDlpV2FieldTransformation": { |
| "type": "object", |
| "description": "The transformation to apply to the field.", |
| "id": "GooglePrivacyDlpV2FieldTransformation", |
| "properties": { |
| "fields": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| }, |
| "description": "Required. Input field(s) to apply the transformation to.", |
| "type": "array" |
| }, |
| "condition": { |
| "$ref": "GooglePrivacyDlpV2RecordCondition", |
| "description": "Only apply the transformation if the condition evaluates to true for the given `RecordCondition`. The conditions are allowed to reference fields that are not used in the actual transformation. Example Use Cases: - Apply a different bucket transformation to an age column if the zip code column for the same record is within a specific range. - Redact a field if the date of birth field is greater than 85." |
| }, |
| "primitiveTransformation": { |
| "$ref": "GooglePrivacyDlpV2PrimitiveTransformation", |
| "description": "Apply the transformation to the entire field." |
| }, |
| "infoTypeTransformations": { |
| "description": "Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`.", |
| "$ref": "GooglePrivacyDlpV2InfoTypeTransformations" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2Finding": { |
| "properties": { |
| "quoteInfo": { |
| "$ref": "GooglePrivacyDlpV2QuoteInfo", |
| "description": "Contains data parsed from quotes. Only populated if include_quote was set to true and a supported infoType was requested. Currently supported infoTypes: DATE, DATE_OF_BIRTH and TIME." |
| }, |
| "triggerName": { |
| "description": "Job trigger name, if applicable, for this finding.", |
| "type": "string" |
| }, |
| "createTime": { |
| "format": "google-datetime", |
| "description": "Timestamp when finding was detected.", |
| "type": "string" |
| }, |
| "jobCreateTime": { |
| "type": "string", |
| "description": "Time the job started that produced this finding.", |
| "format": "google-datetime" |
| }, |
| "quote": { |
| "type": "string", |
| "description": "The content that was found. Even if the content is not textual, it may be converted to a textual representation here. Provided if `include_quote` is true and the finding is less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes in length, the quote may be omitted." |
| }, |
| "labels": { |
| "type": "object", |
| "description": "The labels associated with this `Finding`. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `\"environment\" : \"production\"` * `\"pipeline\" : \"etl\"`", |
| "additionalProperties": { |
| "type": "string" |
| } |
| }, |
| "infoType": { |
| "$ref": "GooglePrivacyDlpV2InfoType", |
| "description": "The type of content that might have been found. Provided if `excluded_types` is false." |
| }, |
| "likelihood": { |
| "enumDescriptions": [ |
| "Default value; same as POSSIBLE.", |
| "Few matching elements.", |
| "", |
| "Some matching elements.", |
| "", |
| "Many matching elements." |
| ], |
| "description": "Confidence of how likely it is that the `info_type` is correct.", |
| "type": "string", |
| "enum": [ |
| "LIKELIHOOD_UNSPECIFIED", |
| "VERY_UNLIKELY", |
| "UNLIKELY", |
| "POSSIBLE", |
| "LIKELY", |
| "VERY_LIKELY" |
| ] |
| }, |
| "resourceName": { |
| "type": "string", |
| "description": "The job that stored the finding." |
| }, |
| "findingId": { |
| "type": "string", |
| "description": "The unique finding id." |
| }, |
| "name": { |
| "description": "Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.", |
| "type": "string" |
| }, |
| "jobName": { |
| "type": "string", |
| "description": "The job that stored the finding." |
| }, |
| "location": { |
| "$ref": "GooglePrivacyDlpV2Location", |
| "description": "Where the content was found." |
| } |
| }, |
| "description": "Represents a piece of potentially sensitive content.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2Finding" |
| }, |
| "GooglePrivacyDlpV2InspectConfig": { |
| "id": "GooglePrivacyDlpV2InspectConfig", |
| "description": "Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used.", |
| "properties": { |
| "limits": { |
| "description": "Configuration to control the number of findings returned.", |
| "$ref": "GooglePrivacyDlpV2FindingLimits" |
| }, |
| "customInfoTypes": { |
| "type": "array", |
| "description": "CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2CustomInfoType" |
| } |
| }, |
| "infoTypes": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2InfoType" |
| }, |
| "type": "array", |
| "description": "Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. If you need precise control and predictability as to what detectors are run you should specify specific InfoTypes listed in the reference, otherwise a default list will be used, which may change over time." |
| }, |
| "excludeInfoTypes": { |
| "type": "boolean", |
| "description": "When true, excludes type information of the findings." |
| }, |
| "includeQuote": { |
| "description": "When true, a contextual quote from the data that triggered a finding is included in the response; see Finding.quote.", |
| "type": "boolean" |
| }, |
| "ruleSet": { |
| "description": "Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type.", |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2InspectionRuleSet" |
| } |
| }, |
| "contentOptions": { |
| "type": "array", |
| "description": "List of options defining data content to scan. If empty, text, images, and other content will be included.", |
| "items": { |
| "enum": [ |
| "CONTENT_UNSPECIFIED", |
| "CONTENT_TEXT", |
| "CONTENT_IMAGE" |
| ], |
| "type": "string", |
| "enumDescriptions": [ |
| "Includes entire content of a file or a data stream.", |
| "Text content within the data, excluding any metadata.", |
| "Images found in the data." |
| ] |
| } |
| }, |
| "minLikelihood": { |
| "enum": [ |
| "LIKELIHOOD_UNSPECIFIED", |
| "VERY_UNLIKELY", |
| "UNLIKELY", |
| "POSSIBLE", |
| "LIKELY", |
| "VERY_LIKELY" |
| ], |
| "enumDescriptions": [ |
| "Default value; same as POSSIBLE.", |
| "Few matching elements.", |
| "", |
| "Some matching elements.", |
| "", |
| "Many matching elements." |
| ], |
| "description": "Only returns findings equal or above this threshold. The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood to learn more.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2RedactImageRequest": { |
| "properties": { |
| "byteItem": { |
| "description": "The content must be PNG, JPEG, SVG or BMP.", |
| "$ref": "GooglePrivacyDlpV2ByteContentItem" |
| }, |
| "inspectConfig": { |
| "description": "Configuration for the inspector.", |
| "$ref": "GooglePrivacyDlpV2InspectConfig" |
| }, |
| "imageRedactionConfigs": { |
| "description": "The configuration for specifying what content to redact from images.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2ImageRedactionConfig" |
| }, |
| "type": "array" |
| }, |
| "includeFindings": { |
| "description": "Whether the response should include findings along with the redacted image.", |
| "type": "boolean" |
| }, |
| "locationId": { |
| "type": "string", |
| "description": "Deprecated. This field has no effect." |
| } |
| }, |
| "description": "Request to search for potentially sensitive info in an image and redact it by covering it with a colored rectangle.", |
| "id": "GooglePrivacyDlpV2RedactImageRequest", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2CancelDlpJobRequest": { |
| "type": "object", |
| "properties": {}, |
| "description": "The request message for canceling a DLP job.", |
| "id": "GooglePrivacyDlpV2CancelDlpJobRequest" |
| }, |
| "GooglePrivacyDlpV2NumericalStatsResult": { |
| "properties": { |
| "maxValue": { |
| "$ref": "GooglePrivacyDlpV2Value", |
| "description": "Maximum value appearing in the column." |
| }, |
| "minValue": { |
| "description": "Minimum value appearing in the column.", |
| "$ref": "GooglePrivacyDlpV2Value" |
| }, |
| "quantileValues": { |
| "type": "array", |
| "description": "List of 99 values that partition the set of field values into 100 equal sized buckets.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Value" |
| } |
| } |
| }, |
| "id": "GooglePrivacyDlpV2NumericalStatsResult", |
| "type": "object", |
| "description": "Result of the numerical stats computation." |
| }, |
| "GooglePrivacyDlpV2InspectDataSourceDetails": { |
| "id": "GooglePrivacyDlpV2InspectDataSourceDetails", |
| "description": "The results of an inspect DataSource job.", |
| "properties": { |
| "result": { |
| "$ref": "GooglePrivacyDlpV2Result", |
| "description": "A summary of the outcome of this inspect job." |
| }, |
| "requestedOptions": { |
| "description": "The configuration used for this job.", |
| "$ref": "GooglePrivacyDlpV2RequestedOptions" |
| } |
| }, |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2UnwrappedCryptoKey": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2UnwrappedCryptoKey", |
| "description": "Using raw keys is prone to security risks due to accidentally leaking the key. Choose another type of key if possible.", |
| "properties": { |
| "key": { |
| "type": "string", |
| "description": "Required. A 128/192/256 bit key.", |
| "format": "byte" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2CryptoDeterministicConfig": { |
| "description": "Pseudonymization method that generates deterministic encryption for the given input. Outputs a base64 encoded representation of the encrypted output. Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.", |
| "properties": { |
| "surrogateInfoType": { |
| "$ref": "GooglePrivacyDlpV2InfoType", |
| "description": "The custom info type to annotate the surrogate with. This annotation will be applied to the surrogate by prefixing it with the name of the custom info type followed by the number of characters comprising the surrogate. The following scheme defines the format: {info type name}({surrogate character count}):{surrogate} For example, if the name of custom info type is 'MY_TOKEN_INFO_TYPE' and the surrogate is 'abc', the full replacement value will be: 'MY_TOKEN_INFO_TYPE(3):abc' This annotation identifies the surrogate when inspecting content using the custom info type 'Surrogate'. This facilitates reversal of the surrogate when it occurs in free text. Note: For record transformations where the entire cell in a table is being transformed, surrogates are not mandatory. Surrogates are used to denote the location of the token and are necessary for re-identification in free form text. In order for inspection to work properly, the name of this info type must not occur naturally anywhere in your data; otherwise, inspection may either - reverse a surrogate that does not correspond to an actual identifier - be unable to parse the surrogate and result in an error Therefore, choose your custom info type name carefully after considering what your data looks like. One way to select a name that has a high chance of yielding reliable detection is to include one or more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point 29DD might be used like so: ⧝MY_TOKEN_TYPE." |
| }, |
| "cryptoKey": { |
| "$ref": "GooglePrivacyDlpV2CryptoKey", |
| "description": "The key used by the encryption function." |
| }, |
| "context": { |
| "description": "A context may be used for higher security and maintaining referential integrity such that the same identifier in two different contexts will be given a distinct surrogate. The context is appended to plaintext value being encrypted. On decryption the provided context is validated against the value used during encryption. If a context was provided during encryption, same context must be provided during decryption as well. If the context is not set, plaintext would be used as is for encryption. If the context is set but: 1. there is no record present when transforming a given value or 2. the field is not present when transforming a given value, plaintext would be used as is for encryption. Note that case (1) is expected when an `InfoTypeTransformation` is applied to both structured and non-structured `ContentItem`s.", |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2CryptoDeterministicConfig", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2WordList": { |
| "description": "Message defining a list of words or phrases to search for in the data.", |
| "properties": { |
| "words": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| }, |
| "description": "Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]" |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2WordList" |
| }, |
| "GooglePrivacyDlpV2RecordTransformations": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2RecordTransformations", |
| "description": "A type of transformation that is applied over structured data such as a table.", |
| "properties": { |
| "fieldTransformations": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2FieldTransformation" |
| }, |
| "type": "array", |
| "description": "Transform the record by applying various field transformations." |
| }, |
| "recordSuppressions": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2RecordSuppression" |
| }, |
| "type": "array", |
| "description": "Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2ListJobTriggersResponse": { |
| "description": "Response message for ListJobTriggers.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2ListJobTriggersResponse", |
| "properties": { |
| "nextPageToken": { |
| "description": "If the next page is available then the next page token to be used in following ListJobTriggers request.", |
| "type": "string" |
| }, |
| "jobTriggers": { |
| "description": "List of triggeredJobs, up to page_size in ListJobTriggersRequest.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2JobTrigger" |
| }, |
| "type": "array" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2QuasiId": { |
| "properties": { |
| "inferred": { |
| "description": "If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data", |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "infoType": { |
| "$ref": "GooglePrivacyDlpV2InfoType", |
| "description": "A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported_by=RISK_ANALYSIS filter." |
| }, |
| "customTag": { |
| "type": "string", |
| "description": "A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below)." |
| }, |
| "field": { |
| "$ref": "GooglePrivacyDlpV2FieldId", |
| "description": "Required. Identifies the column." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2QuasiId", |
| "type": "object", |
| "description": "A column with a semantic tag attached." |
| }, |
| "GooglePrivacyDlpV2QuasiIdField": { |
| "id": "GooglePrivacyDlpV2QuasiIdField", |
| "description": "A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.", |
| "properties": { |
| "customTag": { |
| "description": "A auxiliary field.", |
| "type": "string" |
| }, |
| "field": { |
| "$ref": "GooglePrivacyDlpV2FieldId", |
| "description": "Identifies the column." |
| } |
| }, |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2ThrowError": { |
| "properties": {}, |
| "description": "Throw an error and fail the request when a transformation error occurs.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2ThrowError" |
| }, |
| "GooglePrivacyDlpV2CryptoHashConfig": { |
| "description": "Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64 encoded representation of the hashed output (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and integer values can be hashed. See https://cloud.google.com/dlp/docs/pseudonymization to learn more.", |
| "id": "GooglePrivacyDlpV2CryptoHashConfig", |
| "type": "object", |
| "properties": { |
| "cryptoKey": { |
| "description": "The key used by the hash function.", |
| "$ref": "GooglePrivacyDlpV2CryptoKey" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2TaggedField": { |
| "description": "A column with a semantic tag attached.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2TaggedField", |
| "properties": { |
| "inferred": { |
| "$ref": "GoogleProtobufEmpty", |
| "description": "If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data" |
| }, |
| "field": { |
| "$ref": "GooglePrivacyDlpV2FieldId", |
| "description": "Required. Identifies the column." |
| }, |
| "infoType": { |
| "description": "A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported_by=RISK_ANALYSIS filter.", |
| "$ref": "GooglePrivacyDlpV2InfoType" |
| }, |
| "customTag": { |
| "description": "A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below).", |
| "type": "string" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2BigQueryField": { |
| "description": "Message defining a field of a BigQuery table.", |
| "properties": { |
| "field": { |
| "$ref": "GooglePrivacyDlpV2FieldId", |
| "description": "Designated field in the BigQuery table." |
| }, |
| "table": { |
| "$ref": "GooglePrivacyDlpV2BigQueryTable", |
| "description": "Source table of the field." |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2BigQueryField" |
| }, |
| "GooglePrivacyDlpV2QuoteInfo": { |
| "properties": { |
| "dateTime": { |
| "$ref": "GooglePrivacyDlpV2DateTime", |
| "description": "The date time indicated by the quote." |
| } |
| }, |
| "type": "object", |
| "description": "Message for infoType-dependent details parsed from quote.", |
| "id": "GooglePrivacyDlpV2QuoteInfo" |
| }, |
| "GooglePrivacyDlpV2DlpJob": { |
| "id": "GooglePrivacyDlpV2DlpJob", |
| "description": "Combines all of the information about a DLP job.", |
| "properties": { |
| "jobTriggerName": { |
| "description": "If created by a job trigger, the resource name of the trigger that instantiated the job.", |
| "type": "string" |
| }, |
| "riskDetails": { |
| "$ref": "GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails", |
| "description": "Results from analyzing risk of a data source." |
| }, |
| "type": { |
| "type": "string", |
| "enumDescriptions": [ |
| "Unused", |
| "The job inspected Google Cloud for sensitive data.", |
| "The job executed a Risk Analysis computation." |
| ], |
| "description": "The type of job.", |
| "enum": [ |
| "DLP_JOB_TYPE_UNSPECIFIED", |
| "INSPECT_JOB", |
| "RISK_ANALYSIS_JOB" |
| ] |
| }, |
| "endTime": { |
| "description": "Time when the job finished.", |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "createTime": { |
| "format": "google-datetime", |
| "type": "string", |
| "description": "Time when the job was created." |
| }, |
| "inspectDetails": { |
| "$ref": "GooglePrivacyDlpV2InspectDataSourceDetails", |
| "description": "Results from inspecting a data source." |
| }, |
| "errors": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Error" |
| }, |
| "description": "A stream of errors encountered running the job.", |
| "type": "array" |
| }, |
| "name": { |
| "type": "string", |
| "description": "The server-assigned name." |
| }, |
| "startTime": { |
| "format": "google-datetime", |
| "description": "Time when the job started.", |
| "type": "string" |
| }, |
| "state": { |
| "description": "State of a job.", |
| "type": "string", |
| "enumDescriptions": [ |
| "Unused.", |
| "The job has not yet started.", |
| "The job is currently running. Once a job has finished it will transition to FAILED or DONE.", |
| "The job is no longer running.", |
| "The job was canceled before it could complete.", |
| "The job had an error and did not complete.", |
| "The job is currently accepting findings via hybridInspect. A hybrid job in ACTIVE state may continue to have findings added to it through calling of hybridInspect. After the job has finished no more calls to hybridInspect may be made. ACTIVE jobs can transition to DONE." |
| ], |
| "enum": [ |
| "JOB_STATE_UNSPECIFIED", |
| "PENDING", |
| "RUNNING", |
| "DONE", |
| "CANCELED", |
| "FAILED", |
| "ACTIVE" |
| ] |
| } |
| }, |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2KAnonymityEquivalenceClass": { |
| "description": "The set of columns' values that share the same ldiversity value", |
| "properties": { |
| "equivalenceClassSize": { |
| "type": "string", |
| "format": "int64", |
| "description": "Size of the equivalence class, for example number of rows with the above set of values." |
| }, |
| "quasiIdsValues": { |
| "type": "array", |
| "description": "Set of values defining the equivalence class. One value per quasi-identifier column in the original KAnonymity metric message. The order is always the same as the original request.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Value" |
| } |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2KAnonymityEquivalenceClass" |
| }, |
| "GooglePrivacyDlpV2OutputStorageConfig": { |
| "id": "GooglePrivacyDlpV2OutputStorageConfig", |
| "type": "object", |
| "properties": { |
| "outputSchema": { |
| "type": "string", |
| "enumDescriptions": [ |
| "Unused.", |
| "Basic schema including only `info_type`, `quote`, `certainty`, and `timestamp`.", |
| "Schema tailored to findings from scanning Google Cloud Storage.", |
| "Schema tailored to findings from scanning Google Datastore.", |
| "Schema tailored to findings from scanning Google BigQuery.", |
| "Schema containing all columns." |
| ], |
| "description": "Schema used for writing the findings for Inspect jobs. This field is only used for Inspect and must be unspecified for Risk jobs. Columns are derived from the `Finding` object. If appending to an existing table, any columns from the predefined schema that are missing will be added. No columns in the existing table will be deleted. If unspecified, then all available columns will be used for a new table or an (existing) table with no schema, and no changes will be made to an existing table that has a schema. Only for use with external storage.", |
| "enum": [ |
| "OUTPUT_SCHEMA_UNSPECIFIED", |
| "BASIC_COLUMNS", |
| "GCS_COLUMNS", |
| "DATASTORE_COLUMNS", |
| "BIG_QUERY_COLUMNS", |
| "ALL_COLUMNS" |
| ] |
| }, |
| "table": { |
| "description": "Store findings in an existing table or a new table in an existing dataset. If table_id is not set a new one will be generated for you with the following format: dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for generating the date details. For Inspect, each column in an existing output table must have the same name, type, and mode of a field in the `Finding` object. For Risk, an existing output table should be the output of a previous Risk analysis job run on the same source table, with the same privacy metric and quasi-identifiers. Risk jobs that analyze the same table but compute a different privacy metric, or use different sets of quasi-identifiers, cannot store their results in the same table.", |
| "$ref": "GooglePrivacyDlpV2BigQueryTable" |
| } |
| }, |
| "description": "Cloud repository for storing output." |
| }, |
| "GooglePrivacyDlpV2StatisticalTable": { |
| "description": "An auxiliary table containing statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).", |
| "properties": { |
| "quasiIds": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2QuasiIdentifierField" |
| }, |
| "type": "array", |
| "description": "Required. Quasi-identifier columns." |
| }, |
| "table": { |
| "$ref": "GooglePrivacyDlpV2BigQueryTable", |
| "description": "Required. Auxiliary table location." |
| }, |
| "relativeFrequency": { |
| "$ref": "GooglePrivacyDlpV2FieldId", |
| "description": "Required. The relative frequency column must contain a floating-point number between 0 and 1 (inclusive). Null values are assumed to be zero." |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2StatisticalTable" |
| }, |
| "GooglePrivacyDlpV2TableLocation": { |
| "description": "Location of a finding within a table.", |
| "properties": { |
| "rowIndex": { |
| "type": "string", |
| "format": "int64", |
| "description": "The zero-based index of the row where the finding is located. Only populated for resources that have a natural ordering, not BigQuery. In BigQuery, to identify the row a finding came from, populate BigQueryOptions.identifying_fields with your primary key column names and when you store the findings the value of those columns will be stored inside of Finding." |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2TableLocation" |
| }, |
| "GooglePrivacyDlpV2PrimitiveTransformation": { |
| "properties": { |
| "bucketingConfig": { |
| "description": "Bucketing", |
| "$ref": "GooglePrivacyDlpV2BucketingConfig" |
| }, |
| "timePartConfig": { |
| "description": "Time extraction", |
| "$ref": "GooglePrivacyDlpV2TimePartConfig" |
| }, |
| "characterMaskConfig": { |
| "$ref": "GooglePrivacyDlpV2CharacterMaskConfig", |
| "description": "Mask" |
| }, |
| "cryptoHashConfig": { |
| "$ref": "GooglePrivacyDlpV2CryptoHashConfig", |
| "description": "Crypto" |
| }, |
| "replaceConfig": { |
| "$ref": "GooglePrivacyDlpV2ReplaceValueConfig", |
| "description": "Replace" |
| }, |
| "dateShiftConfig": { |
| "description": "Date Shift", |
| "$ref": "GooglePrivacyDlpV2DateShiftConfig" |
| }, |
| "redactConfig": { |
| "description": "Redact", |
| "$ref": "GooglePrivacyDlpV2RedactConfig" |
| }, |
| "cryptoDeterministicConfig": { |
| "$ref": "GooglePrivacyDlpV2CryptoDeterministicConfig", |
| "description": "Deterministic Crypto" |
| }, |
| "replaceWithInfoTypeConfig": { |
| "description": "Replace with infotype", |
| "$ref": "GooglePrivacyDlpV2ReplaceWithInfoTypeConfig" |
| }, |
| "cryptoReplaceFfxFpeConfig": { |
| "$ref": "GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig", |
| "description": "Ffx-Fpe" |
| }, |
| "fixedSizeBucketingConfig": { |
| "description": "Fixed size bucketing", |
| "$ref": "GooglePrivacyDlpV2FixedSizeBucketingConfig" |
| } |
| }, |
| "description": "A rule for transforming a value.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2PrimitiveTransformation" |
| }, |
| "GooglePrivacyDlpV2ReplaceValueConfig": { |
| "id": "GooglePrivacyDlpV2ReplaceValueConfig", |
| "properties": { |
| "newValue": { |
| "$ref": "GooglePrivacyDlpV2Value", |
| "description": "Value to replace it with." |
| } |
| }, |
| "description": "Replace each input value with a given `Value`.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2DeidentifyContentRequest": { |
| "type": "object", |
| "properties": { |
| "deidentifyTemplateName": { |
| "type": "string", |
| "description": "Template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged." |
| }, |
| "locationId": { |
| "description": "Deprecated. This field has no effect.", |
| "type": "string" |
| }, |
| "item": { |
| "$ref": "GooglePrivacyDlpV2ContentItem", |
| "description": "The item to de-identify. Will be treated as text." |
| }, |
| "inspectConfig": { |
| "$ref": "GooglePrivacyDlpV2InspectConfig", |
| "description": "Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument." |
| }, |
| "inspectTemplateName": { |
| "description": "Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.", |
| "type": "string" |
| }, |
| "deidentifyConfig": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyConfig", |
| "description": "Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument." |
| } |
| }, |
| "description": "Request to de-identify a list of items.", |
| "id": "GooglePrivacyDlpV2DeidentifyContentRequest" |
| }, |
| "GooglePrivacyDlpV2CreateJobTriggerRequest": { |
| "properties": { |
| "locationId": { |
| "description": "Deprecated. This field has no effect.", |
| "type": "string" |
| }, |
| "triggerId": { |
| "type": "string", |
| "description": "The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one." |
| }, |
| "jobTrigger": { |
| "$ref": "GooglePrivacyDlpV2JobTrigger", |
| "description": "Required. The JobTrigger to create." |
| } |
| }, |
| "description": "Request message for CreateJobTrigger.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2CreateJobTriggerRequest" |
| }, |
| "GooglePrivacyDlpV2Action": { |
| "description": "A task to execute on the completion of a job. See https://cloud.google.com/dlp/docs/concepts-actions to learn more.", |
| "properties": { |
| "publishFindingsToCloudDataCatalog": { |
| "$ref": "GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog", |
| "description": "Publish findings to Cloud Datahub." |
| }, |
| "publishToStackdriver": { |
| "$ref": "GooglePrivacyDlpV2PublishToStackdriver", |
| "description": "Enable Stackdriver metric dlp.googleapis.com/finding_count." |
| }, |
| "saveFindings": { |
| "description": "Save resulting findings in a provided location.", |
| "$ref": "GooglePrivacyDlpV2SaveFindings" |
| }, |
| "publishSummaryToCscc": { |
| "$ref": "GooglePrivacyDlpV2PublishSummaryToCscc", |
| "description": "Publish summary to Cloud Security Command Center (Alpha)." |
| }, |
| "pubSub": { |
| "$ref": "GooglePrivacyDlpV2PublishToPubSub", |
| "description": "Publish a notification to a pubsub topic." |
| }, |
| "jobNotificationEmails": { |
| "$ref": "GooglePrivacyDlpV2JobNotificationEmails", |
| "description": "Enable email notification for project owners and editors on job's completion/failure." |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2Action" |
| }, |
| "GooglePrivacyDlpV2CategoricalStatsHistogramBucket": { |
| "type": "object", |
| "description": "Histogram of value frequencies in the column.", |
| "id": "GooglePrivacyDlpV2CategoricalStatsHistogramBucket", |
| "properties": { |
| "valueFrequencyLowerBound": { |
| "description": "Lower bound on the value frequency of the values in this bucket.", |
| "type": "string", |
| "format": "int64" |
| }, |
| "bucketSize": { |
| "type": "string", |
| "description": "Total number of values in this bucket.", |
| "format": "int64" |
| }, |
| "valueFrequencyUpperBound": { |
| "description": "Upper bound on the value frequency of the values in this bucket.", |
| "type": "string", |
| "format": "int64" |
| }, |
| "bucketValues": { |
| "description": "Sample of value frequencies in this bucket. The total number of values returned per bucket is capped at 20.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2ValueFrequency" |
| }, |
| "type": "array" |
| }, |
| "bucketValueCount": { |
| "type": "string", |
| "description": "Total number of distinct values in this bucket.", |
| "format": "int64" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2ContentLocation": { |
| "id": "GooglePrivacyDlpV2ContentLocation", |
| "type": "object", |
| "properties": { |
| "containerName": { |
| "description": "Name of the container where the finding is located. The top level name is the source file name or table name. Names of some common storage containers are formatted as follows: * BigQuery tables: `{project_id}:{dataset_id}.{table_id}` * Cloud Storage files: `gs://{bucket}/{path}` * Datastore namespace: {namespace} Nested names could be absent if the embedded object has no string identifier (for an example an image contained within a document).", |
| "type": "string" |
| }, |
| "metadataLocation": { |
| "$ref": "GooglePrivacyDlpV2MetadataLocation", |
| "description": "Location within the metadata for inspected content." |
| }, |
| "imageLocation": { |
| "$ref": "GooglePrivacyDlpV2ImageLocation", |
| "description": "Location within an image's pixels." |
| }, |
| "containerTimestamp": { |
| "type": "string", |
| "description": "Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.", |
| "format": "google-datetime" |
| }, |
| "documentLocation": { |
| "description": "Location data for document files.", |
| "$ref": "GooglePrivacyDlpV2DocumentLocation" |
| }, |
| "recordLocation": { |
| "$ref": "GooglePrivacyDlpV2RecordLocation", |
| "description": "Location within a row or record of a database table." |
| }, |
| "containerVersion": { |
| "type": "string", |
| "description": "Findings container version, if available (\"generation\" for Google Cloud Storage)." |
| } |
| }, |
| "description": "Precise location of the finding within a document, record, image, or metadata container." |
| }, |
| "GooglePrivacyDlpV2KAnonymityResult": { |
| "type": "object", |
| "description": "Result of the k-anonymity computation.", |
| "id": "GooglePrivacyDlpV2KAnonymityResult", |
| "properties": { |
| "equivalenceClassHistogramBuckets": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2KAnonymityHistogramBucket" |
| }, |
| "description": "Histogram of k-anonymity equivalence classes.", |
| "type": "array" |
| } |
| } |
| }, |
| "GoogleProtobufEmpty": { |
| "type": "object", |
| "properties": {}, |
| "id": "GoogleProtobufEmpty", |
| "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`." |
| }, |
| "GooglePrivacyDlpV2RecordLocation": { |
| "id": "GooglePrivacyDlpV2RecordLocation", |
| "description": "Location of a finding within a row or record.", |
| "properties": { |
| "fieldId": { |
| "$ref": "GooglePrivacyDlpV2FieldId", |
| "description": "Field id of the field containing the finding." |
| }, |
| "recordKey": { |
| "$ref": "GooglePrivacyDlpV2RecordKey", |
| "description": "Key of the finding." |
| }, |
| "tableLocation": { |
| "$ref": "GooglePrivacyDlpV2TableLocation", |
| "description": "Location within a `ContentItem.Table`." |
| } |
| }, |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2PartitionId": { |
| "id": "GooglePrivacyDlpV2PartitionId", |
| "properties": { |
| "projectId": { |
| "type": "string", |
| "description": "The ID of the project to which the entities belong." |
| }, |
| "namespaceId": { |
| "description": "If not empty, the ID of the namespace to which the entities belong.", |
| "type": "string" |
| } |
| }, |
| "description": "Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. A partition ID contains several dimensions: project ID and namespace ID.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2ExcludeInfoTypes": { |
| "properties": { |
| "infoTypes": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2InfoType" |
| }, |
| "description": "InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list. For example, for `InspectionRuleSet.info_types` containing \"PHONE_NUMBER\"` and `exclusion_rule` containing `exclude_info_types.info_types` with \"EMAIL_ADDRESS\" the phone number findings are dropped if they overlap with EMAIL_ADDRESS finding. That leads to \"[email protected]\" to generate only a single finding, namely email address.", |
| "type": "array" |
| } |
| }, |
| "description": "List of exclude infoTypes.", |
| "id": "GooglePrivacyDlpV2ExcludeInfoTypes", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2RequestedOptions": { |
| "properties": { |
| "snapshotInspectTemplate": { |
| "description": "If run with an InspectTemplate, a snapshot of its state at the time of this run.", |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "jobConfig": { |
| "description": "Inspect config.", |
| "$ref": "GooglePrivacyDlpV2InspectJobConfig" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2RequestedOptions", |
| "description": "Snapshot of the inspection configuration.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2ActivateJobTriggerRequest": { |
| "properties": {}, |
| "type": "object", |
| "description": "Request message for ActivateJobTrigger.", |
| "id": "GooglePrivacyDlpV2ActivateJobTriggerRequest" |
| }, |
| "GooglePrivacyDlpV2DatastoreOptions": { |
| "properties": { |
| "partitionId": { |
| "$ref": "GooglePrivacyDlpV2PartitionId", |
| "description": "A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty." |
| }, |
| "kind": { |
| "description": "The kind to process.", |
| "$ref": "GooglePrivacyDlpV2KindExpression" |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2DatastoreOptions", |
| "description": "Options defining a data set within Google Cloud Datastore." |
| }, |
| "GooglePrivacyDlpV2ImageLocation": { |
| "description": "Location of the finding within an image.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2ImageLocation", |
| "properties": { |
| "boundingBoxes": { |
| "type": "array", |
| "description": "Bounding boxes locating the pixels within the image containing the finding.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2BoundingBox" |
| } |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2Condition": { |
| "id": "GooglePrivacyDlpV2Condition", |
| "description": "The field type of `value` and `field` do not need to match to be considered equal, but not all comparisons are possible. EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, but all other comparisons are invalid with incompatible types. A `value` of type: - `string` can be compared against all other types - `boolean` can only be compared against other booleans - `integer` can be compared against doubles or a string if the string value can be parsed as an integer. - `double` can be compared against integers or a string if the string can be parsed as a double. - `Timestamp` can be compared against strings in RFC 3339 date string format. - `TimeOfDay` can be compared against timestamps and strings in the format of 'HH:mm:ss'. If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false.", |
| "properties": { |
| "field": { |
| "$ref": "GooglePrivacyDlpV2FieldId", |
| "description": "Required. Field within the record this condition is evaluated against." |
| }, |
| "value": { |
| "description": "Value to compare against. [Mandatory, except for `EXISTS` tests.]", |
| "$ref": "GooglePrivacyDlpV2Value" |
| }, |
| "operator": { |
| "enumDescriptions": [ |
| "Unused", |
| "Equal. Attempts to match even with incompatible types.", |
| "Not equal to. Attempts to match even with incompatible types.", |
| "Greater than.", |
| "Less than.", |
| "Greater than or equals.", |
| "Less than or equals.", |
| "Exists" |
| ], |
| "description": "Required. Operator used to compare the field or infoType to the value.", |
| "enum": [ |
| "RELATIONAL_OPERATOR_UNSPECIFIED", |
| "EQUAL_TO", |
| "NOT_EQUAL_TO", |
| "GREATER_THAN", |
| "LESS_THAN", |
| "GREATER_THAN_OR_EQUALS", |
| "LESS_THAN_OR_EQUALS", |
| "EXISTS" |
| ], |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2PublishToPubSub": { |
| "properties": { |
| "topic": { |
| "description": "Cloud Pub/Sub topic to send notifications to. The topic must have given publishing access rights to the DLP API service account executing the long running DlpJob sending the notifications. Format is projects/{project}/topics/{topic}.", |
| "type": "string" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2PublishToPubSub", |
| "description": "Publish a message into given Pub/Sub topic when DlpJob has completed. The message contains a single field, `DlpJobName`, which is equal to the finished job's [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2Result": { |
| "id": "GooglePrivacyDlpV2Result", |
| "properties": { |
| "infoTypeStats": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2InfoTypeStats" |
| }, |
| "description": "Statistics of how many instances of each info type were found during inspect job.", |
| "type": "array" |
| }, |
| "hybridStats": { |
| "description": "Statistics related to the processing of hybrid inspect. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.", |
| "$ref": "GooglePrivacyDlpV2HybridInspectStatistics" |
| }, |
| "totalEstimatedBytes": { |
| "type": "string", |
| "description": "Estimate of the number of bytes to process.", |
| "format": "int64" |
| }, |
| "processedBytes": { |
| "description": "Total size in bytes that were processed.", |
| "format": "int64", |
| "type": "string" |
| } |
| }, |
| "description": "All result fields mentioned below are updated while the job is processing.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2RedactConfig": { |
| "properties": {}, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2RedactConfig", |
| "description": "Redact a given value. For example, if used with an `InfoTypeTransformation` transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the output would be 'My phone number is '." |
| }, |
| "GoogleTypeTimeOfDay": { |
| "type": "object", |
| "id": "GoogleTypeTimeOfDay", |
| "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", |
| "properties": { |
| "hours": { |
| "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", |
| "type": "integer", |
| "format": "int32" |
| }, |
| "minutes": { |
| "description": "Minutes of hour of day. Must be from 0 to 59.", |
| "format": "int32", |
| "type": "integer" |
| }, |
| "seconds": { |
| "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.", |
| "type": "integer", |
| "format": "int32" |
| }, |
| "nanos": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2SummaryResult": { |
| "id": "GooglePrivacyDlpV2SummaryResult", |
| "properties": { |
| "details": { |
| "description": "A place for warnings or errors to show up if a transformation didn't work as expected.", |
| "type": "string" |
| }, |
| "code": { |
| "enumDescriptions": [ |
| "Unused", |
| "Transformation completed without an error.", |
| "Transformation had an error." |
| ], |
| "enum": [ |
| "TRANSFORMATION_RESULT_CODE_UNSPECIFIED", |
| "SUCCESS", |
| "ERROR" |
| ], |
| "description": "Outcome of the transformation.", |
| "type": "string" |
| }, |
| "count": { |
| "type": "string", |
| "format": "int64", |
| "description": "Number of transformations counted by this result." |
| } |
| }, |
| "description": "A collection that informs the user the number of times a particular `TransformationResultCode` and error details occurred.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2LDiversityResult": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2LDiversityResult", |
| "properties": { |
| "sensitiveValueFrequencyHistogramBuckets": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2LDiversityHistogramBucket" |
| }, |
| "type": "array", |
| "description": "Histogram of l-diversity equivalence class sensitive value frequencies." |
| } |
| }, |
| "description": "Result of the l-diversity computation." |
| }, |
| "GooglePrivacyDlpV2HybridFindingDetails": { |
| "id": "GooglePrivacyDlpV2HybridFindingDetails", |
| "properties": { |
| "rowOffset": { |
| "type": "string", |
| "description": "Offset of the row for tables. Populate if the row(s) being scanned are part of a bigger dataset and you want to keep track of their absolute position.", |
| "format": "int64" |
| }, |
| "tableOptions": { |
| "$ref": "GooglePrivacyDlpV2TableOptions", |
| "description": "If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included." |
| }, |
| "labels": { |
| "type": "object", |
| "additionalProperties": { |
| "type": "string" |
| }, |
| "description": "Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with `Finding`'s produced by hybrid inspection. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `\"environment\" : \"production\"` * `\"pipeline\" : \"etl\"`" |
| }, |
| "containerDetails": { |
| "$ref": "GooglePrivacyDlpV2Container", |
| "description": "Details about the container where the content being inspected is from." |
| }, |
| "fileOffset": { |
| "description": "Offset in bytes of the line, from the beginning of the file, where the finding is located. Populate if the item being scanned is only part of a bigger item, such as a shard of a file and you want to track the absolute position of the finding.", |
| "format": "int64", |
| "type": "string" |
| } |
| }, |
| "type": "object", |
| "description": "Populate to associate additional data with each finding." |
| }, |
| "GooglePrivacyDlpV2PublishSummaryToCscc": { |
| "properties": {}, |
| "description": "Publish the result summary of a DlpJob to the Cloud Security Command Center (CSCC Alpha). This action is only available for projects which are parts of an organization and whitelisted for the alpha Cloud Security Command Center. The action will publish count of finding instances and their info types. The summary of findings will be persisted in CSCC and are governed by CSCC service-specific policy, see https://cloud.google.com/terms/service-terms Only a single instance of this action can be specified. Compatible with: Inspect", |
| "id": "GooglePrivacyDlpV2PublishSummaryToCscc", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2DateShiftConfig": { |
| "type": "object", |
| "description": "Shifts dates by random number of days, with option to be consistent for the same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting to learn more.", |
| "properties": { |
| "lowerBoundDays": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Required. For example, -5 means shift date to at most 5 days back in the past." |
| }, |
| "context": { |
| "description": "Points to the field that contains the context, for example, an entity id. If set, must also set cryptoKey. If set, shift will be consistent for the given context.", |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| }, |
| "cryptoKey": { |
| "$ref": "GooglePrivacyDlpV2CryptoKey", |
| "description": "Causes the shift to be computed based on this key and the context. This results in the same shift for the same context and crypto_key. If set, must also set context. Can only be applied to table items." |
| }, |
| "upperBoundDays": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Required. Range of shift in days. Actual shift will be selected at random within this range (inclusive ends). Negative means shift to earlier in time. Must not be more than 365250 days (1000 years) each direction. For example, 3 means shift date to at most 3 days into the future." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2DateShiftConfig" |
| }, |
| "GooglePrivacyDlpV2CryptoKey": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2CryptoKey", |
| "properties": { |
| "transient": { |
| "description": "Transient crypto key", |
| "$ref": "GooglePrivacyDlpV2TransientCryptoKey" |
| }, |
| "unwrapped": { |
| "description": "Unwrapped crypto key", |
| "$ref": "GooglePrivacyDlpV2UnwrappedCryptoKey" |
| }, |
| "kmsWrapped": { |
| "$ref": "GooglePrivacyDlpV2KmsWrappedCryptoKey", |
| "description": "Kms wrapped key" |
| } |
| }, |
| "description": "This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot unwrap the data crypto key." |
| }, |
| "GooglePrivacyDlpV2ListStoredInfoTypesResponse": { |
| "description": "Response message for ListStoredInfoTypes.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2ListStoredInfoTypesResponse", |
| "properties": { |
| "storedInfoTypes": { |
| "description": "List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.", |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoType" |
| } |
| }, |
| "nextPageToken": { |
| "description": "If the next page is available then the next page token to be used in following ListStoredInfoTypes request.", |
| "type": "string" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2CategoricalStatsConfig": { |
| "type": "object", |
| "properties": { |
| "field": { |
| "$ref": "GooglePrivacyDlpV2FieldId", |
| "description": "Field to compute categorical stats on. All column types are supported except for arrays and structs. However, it may be more informative to use NumericalStats when the field type is supported, depending on the data." |
| } |
| }, |
| "description": "Compute numerical stats over an individual column, including number of distinct values and value count distribution.", |
| "id": "GooglePrivacyDlpV2CategoricalStatsConfig" |
| }, |
| "GooglePrivacyDlpV2DatastoreKey": { |
| "description": "Record key for a finding in Cloud Datastore.", |
| "properties": { |
| "entityKey": { |
| "$ref": "GooglePrivacyDlpV2Key", |
| "description": "Datastore entity key." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2DatastoreKey", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2Expressions": { |
| "id": "GooglePrivacyDlpV2Expressions", |
| "description": "An expression, consisting or an operator and conditions.", |
| "type": "object", |
| "properties": { |
| "conditions": { |
| "description": "Conditions to apply to the expression.", |
| "$ref": "GooglePrivacyDlpV2Conditions" |
| }, |
| "logicalOperator": { |
| "description": "The operator to apply to the result of conditions. Default and currently only supported value is `AND`.", |
| "enumDescriptions": [ |
| "Unused", |
| "Conditional AND" |
| ], |
| "enum": [ |
| "LOGICAL_OPERATOR_UNSPECIFIED", |
| "AND" |
| ], |
| "type": "string" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2RedactImageResponse": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2RedactImageResponse", |
| "properties": { |
| "redactedImage": { |
| "type": "string", |
| "format": "byte", |
| "description": "The redacted image. The type will be the same as the original image." |
| }, |
| "inspectResult": { |
| "$ref": "GooglePrivacyDlpV2InspectResult", |
| "description": "The findings. Populated when include_findings in the request is true." |
| }, |
| "extractedText": { |
| "type": "string", |
| "description": "If an image was being inspected and the InspectConfig's include_quote was set to true, then this field will include all text, if any, that was found in the image." |
| } |
| }, |
| "description": "Results of redacting an image." |
| }, |
| "GooglePrivacyDlpV2StoredInfoTypeStats": { |
| "type": "object", |
| "description": "Statistics for a StoredInfoType.", |
| "id": "GooglePrivacyDlpV2StoredInfoTypeStats", |
| "properties": { |
| "largeCustomDictionary": { |
| "$ref": "GooglePrivacyDlpV2LargeCustomDictionaryStats", |
| "description": "StoredInfoType where findings are defined by a dictionary of phrases." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2TimespanConfig": { |
| "id": "GooglePrivacyDlpV2TimespanConfig", |
| "properties": { |
| "timestampField": { |
| "description": "Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. For BigQuery: If this value is not specified and the table was modified between the given start and end times, the entire table will be scanned. If this value is specified, then rows are filtered based on the given start and end times. Rows with a `NULL` value in the provided BigQuery column are skipped. Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`, `TIMESTAMP`, and `DATETIME`. For Datastore: If this value is specified, then entities are filtered based on the given start and end times. If an entity does not contain the provided timestamp property or contains empty or invalid values, then it is included. Valid data types of the provided timestamp property are: `TIMESTAMP`.", |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| }, |
| "endTime": { |
| "description": "Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.", |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "startTime": { |
| "type": "string", |
| "format": "google-datetime", |
| "description": "Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied." |
| }, |
| "enableAutoPopulationOfTimespanConfig": { |
| "type": "boolean", |
| "description": "When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger." |
| } |
| }, |
| "type": "object", |
| "description": "Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Google Cloud Storage and BigQuery." |
| }, |
| "GooglePrivacyDlpV2CloudStoragePath": { |
| "description": "Message representing a single file or path in Cloud Storage.", |
| "properties": { |
| "path": { |
| "description": "A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt", |
| "type": "string" |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2CloudStoragePath" |
| }, |
| "GooglePrivacyDlpV2ListDlpJobsResponse": { |
| "type": "object", |
| "properties": { |
| "nextPageToken": { |
| "type": "string", |
| "description": "The standard List next-page token." |
| }, |
| "jobs": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2DlpJob" |
| }, |
| "description": "A list of DlpJobs that matches the specified filter in the request.", |
| "type": "array" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2ListDlpJobsResponse", |
| "description": "The response message for listing DLP jobs." |
| }, |
| "GooglePrivacyDlpV2JobTrigger": { |
| "description": "Contains a configuration to make dlp api calls on a repeating basis. See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2JobTrigger", |
| "properties": { |
| "updateTime": { |
| "description": "Output only. The last update timestamp of a triggeredJob.", |
| "format": "google-datetime", |
| "readOnly": true, |
| "type": "string" |
| }, |
| "status": { |
| "enum": [ |
| "STATUS_UNSPECIFIED", |
| "HEALTHY", |
| "PAUSED", |
| "CANCELLED" |
| ], |
| "description": "Required. A status for this trigger.", |
| "enumDescriptions": [ |
| "Unused.", |
| "Trigger is healthy.", |
| "Trigger is temporarily paused.", |
| "Trigger is cancelled and can not be resumed." |
| ], |
| "type": "string" |
| }, |
| "inspectJob": { |
| "$ref": "GooglePrivacyDlpV2InspectJobConfig", |
| "description": "For inspect jobs, a snapshot of the configuration." |
| }, |
| "errors": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Error" |
| }, |
| "description": "Output only. A stream of errors encountered when the trigger was activated. Repeated errors may result in the JobTrigger automatically being paused. Will return the last 100 errors. Whenever the JobTrigger is modified this list will be cleared.", |
| "readOnly": true, |
| "type": "array" |
| }, |
| "triggers": { |
| "description": "A list of triggers which will be OR'ed together. Only one in the list needs to trigger for a job to be started. The list may contain only a single Schedule trigger and must have at least one object.", |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Trigger" |
| } |
| }, |
| "createTime": { |
| "format": "google-datetime", |
| "type": "string", |
| "description": "Output only. The creation timestamp of a triggeredJob.", |
| "readOnly": true |
| }, |
| "displayName": { |
| "description": "Display name (max 100 chars)", |
| "type": "string" |
| }, |
| "lastRunTime": { |
| "readOnly": true, |
| "format": "google-datetime", |
| "description": "Output only. The timestamp of the last time this trigger executed.", |
| "type": "string" |
| }, |
| "description": { |
| "type": "string", |
| "description": "User provided description (max 256 chars)" |
| }, |
| "name": { |
| "type": "string", |
| "description": "Unique resource name for the triggeredJob, assigned by the service when the triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/53234423`." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2CharacterMaskConfig": { |
| "properties": { |
| "maskingCharacter": { |
| "type": "string", |
| "description": "Character to use to mask the sensitive values—for example, `*` for an alphabetic string such as a name, or `0` for a numeric string such as ZIP code or credit card number. This string must have a length of 1. If not supplied, this value defaults to `*` for strings, and `0` for digits." |
| }, |
| "numberToMask": { |
| "format": "int32", |
| "description": "Number of characters to mask. If not set, all matching chars will be masked. Skipped characters do not count towards this tally.", |
| "type": "integer" |
| }, |
| "reverseOrder": { |
| "type": "boolean", |
| "description": "Mask characters in reverse order. For example, if `masking_character` is `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the input string `1234-5678-9012-3456` is masked as `00000000000000-3456`. If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order` is `true`, then the string `12345` is masked as `12***`." |
| }, |
| "charactersToIgnore": { |
| "description": "When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is `555-555-5555` and you instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP returns `***-**5-5555`.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2CharsToIgnore" |
| }, |
| "type": "array" |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2CharacterMaskConfig", |
| "description": "Partially mask a string by replacing a given number of characters with a fixed character. Masking can start from the beginning or end of the string. This can be used on data of any type (numbers, longs, and so on) and when de-identifying structured data we'll attempt to preserve the original data's type. (This allows you to take a long like 123 and modify it to a string like **3." |
| }, |
| "GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest": { |
| "description": "Request message for UpdateDeidentifyTemplate.", |
| "type": "object", |
| "properties": { |
| "deidentifyTemplate": { |
| "description": "New DeidentifyTemplate value.", |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| }, |
| "updateMask": { |
| "description": "Mask to control which fields get updated.", |
| "format": "google-fieldmask", |
| "type": "string" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest" |
| }, |
| "GooglePrivacyDlpV2DeltaPresenceEstimationConfig": { |
| "description": "δ-presence metric, used to estimate how likely it is for an attacker to figure out that one given individual appears in a de-identified dataset. Similarly to the k-map metric, we cannot compute δ-presence exactly without knowing the attack dataset, so we use a statistical model instead.", |
| "type": "object", |
| "properties": { |
| "quasiIds": { |
| "description": "Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.", |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2QuasiId" |
| } |
| }, |
| "regionCode": { |
| "description": "ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code.", |
| "type": "string" |
| }, |
| "auxiliaryTables": { |
| "description": "Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2StatisticalTable" |
| }, |
| "type": "array" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2DeltaPresenceEstimationConfig" |
| }, |
| "GooglePrivacyDlpV2RiskAnalysisJobConfig": { |
| "type": "object", |
| "properties": { |
| "privacyMetric": { |
| "$ref": "GooglePrivacyDlpV2PrivacyMetric", |
| "description": "Privacy metric to compute." |
| }, |
| "actions": { |
| "description": "Actions to execute at the completion of the job. Are executed in the order provided.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Action" |
| }, |
| "type": "array" |
| }, |
| "sourceTable": { |
| "$ref": "GooglePrivacyDlpV2BigQueryTable", |
| "description": "Input dataset to compute metrics over." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2RiskAnalysisJobConfig", |
| "description": "Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more." |
| }, |
| "GooglePrivacyDlpV2Container": { |
| "properties": { |
| "projectId": { |
| "description": "Project where the finding was found. Can be different from the project that owns the finding.", |
| "type": "string" |
| }, |
| "rootPath": { |
| "type": "string", |
| "description": "The root of the container. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the root is `dataset_id` - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root is `gs://bucket`" |
| }, |
| "updateTime": { |
| "description": "Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.", |
| "type": "string", |
| "format": "google-datetime" |
| }, |
| "fullPath": { |
| "description": "A string representation of the full container name. Examples: - BigQuery: 'Project:DataSetId.TableId' - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'", |
| "type": "string" |
| }, |
| "relativePath": { |
| "description": "The rest of the path after the root. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the relative path is `table_id` - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative path is `folder/filename.txt`", |
| "type": "string" |
| }, |
| "version": { |
| "description": "Findings container version, if available (\"generation\" for Google Cloud Storage).", |
| "type": "string" |
| }, |
| "type": { |
| "description": "Container type, for example BigQuery or Google Cloud Storage.", |
| "type": "string" |
| } |
| }, |
| "description": "Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.", |
| "id": "GooglePrivacyDlpV2Container", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues": { |
| "description": "A tuple of values for the quasi-identifier columns.", |
| "id": "GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues", |
| "type": "object", |
| "properties": { |
| "quasiIdsValues": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Value" |
| }, |
| "description": "The quasi-identifier values.", |
| "type": "array" |
| }, |
| "estimatedProbability": { |
| "description": "The estimated probability that a given individual sharing these quasi-identifier values is in the dataset. This value, typically called δ, is the ratio between the number of records in the dataset with these quasi-identifier values, and the total number of individuals (inside *and* outside the dataset) with these quasi-identifier values. For example, if there are 15 individuals in the dataset who share the same quasi-identifier values, and an estimated 100 people in the entire population with these values, then δ is 0.15.", |
| "format": "double", |
| "type": "number" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2SurrogateType": { |
| "properties": {}, |
| "id": "GooglePrivacyDlpV2SurrogateType", |
| "description": "Message for detecting output from deidentification transformations such as [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). These types of transformations are those that perform pseudonymization, thereby producing a \"surrogate\" as output. This should be used in conjunction with a field on the transformation such as `surrogate_info_type`. This CustomInfoType does not support the use of `detection_rules`.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2ListInfoTypesResponse": { |
| "properties": { |
| "infoTypes": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2InfoTypeDescription" |
| }, |
| "type": "array", |
| "description": "Set of sensitive infoTypes." |
| } |
| }, |
| "type": "object", |
| "description": "Response to the ListInfoTypes request.", |
| "id": "GooglePrivacyDlpV2ListInfoTypesResponse" |
| }, |
| "GooglePrivacyDlpV2PublishToStackdriver": { |
| "properties": {}, |
| "id": "GooglePrivacyDlpV2PublishToStackdriver", |
| "description": "Enable Stackdriver metric dlp.googleapis.com/finding_count. This will publish a metric to stack driver on each infotype requested and how many findings were found for it. CustomDetectors will be bucketed as 'Custom' under the Stackdriver label 'info_type'.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2FindingLimits": { |
| "properties": { |
| "maxFindingsPerRequest": { |
| "type": "integer", |
| "description": "Max number of findings that will be returned per request/job. When set within `InspectContentRequest`, the maximum returned is 2000 regardless if this is set higher.", |
| "format": "int32" |
| }, |
| "maxFindingsPerItem": { |
| "format": "int32", |
| "description": "Max number of findings that will be returned for each item scanned. When set within `InspectJobConfig`, the maximum returned is 2000 regardless if this is set higher. When set within `InspectContentRequest`, this field is ignored.", |
| "type": "integer" |
| }, |
| "maxFindingsPerInfoType": { |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2InfoTypeLimit" |
| }, |
| "description": "Configuration of findings limit given for specified infoTypes." |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2FindingLimits", |
| "description": "Configuration to control the number of findings returned." |
| }, |
| "GooglePrivacyDlpV2RecordCondition": { |
| "properties": { |
| "expressions": { |
| "$ref": "GooglePrivacyDlpV2Expressions", |
| "description": "An expression." |
| } |
| }, |
| "description": "A condition for determining whether a transformation should be applied to a field.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2RecordCondition" |
| }, |
| "GooglePrivacyDlpV2DeidentifyConfig": { |
| "properties": { |
| "transformationErrorHandling": { |
| "description": "Mode for handling transformation errors. If left unspecified, the default mode is `TransformationErrorHandling.ThrowError`.", |
| "$ref": "GooglePrivacyDlpV2TransformationErrorHandling" |
| }, |
| "recordTransformations": { |
| "description": "Treat the dataset as structured. Transformations can be applied to specific locations within structured datasets, such as transforming a column within a table.", |
| "$ref": "GooglePrivacyDlpV2RecordTransformations" |
| }, |
| "infoTypeTransformations": { |
| "$ref": "GooglePrivacyDlpV2InfoTypeTransformations", |
| "description": "Treat the dataset as free-form text and apply the same free text transformation everywhere." |
| } |
| }, |
| "description": "The configuration that controls how the data will change.", |
| "id": "GooglePrivacyDlpV2DeidentifyConfig", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2ReidentifyContentRequest": { |
| "properties": { |
| "item": { |
| "description": "The item to re-identify. Will be treated as text.", |
| "$ref": "GooglePrivacyDlpV2ContentItem" |
| }, |
| "locationId": { |
| "description": "Deprecated. This field has no effect.", |
| "type": "string" |
| }, |
| "inspectConfig": { |
| "description": "Configuration for the inspector.", |
| "$ref": "GooglePrivacyDlpV2InspectConfig" |
| }, |
| "reidentifyTemplateName": { |
| "description": "Template to use. References an instance of `DeidentifyTemplate`. Any configuration directly specified in `reidentify_config` or `inspect_config` will override those set in the template. The `DeidentifyTemplate` used must include only reversible transformations. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.", |
| "type": "string" |
| }, |
| "inspectTemplateName": { |
| "type": "string", |
| "description": "Template to use. Any configuration directly specified in `inspect_config` will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged." |
| }, |
| "reidentifyConfig": { |
| "description": "Configuration for the re-identification of the content item. This field shares the same proto message type that is used for de-identification, however its usage here is for the reversal of the previous de-identification. Re-identification is performed by examining the transformations used to de-identify the items and executing the reverse. This requires that only reversible transformations be provided here. The reversible transformations are: - `CryptoDeterministicConfig` - `CryptoReplaceFfxFpeConfig`", |
| "$ref": "GooglePrivacyDlpV2DeidentifyConfig" |
| } |
| }, |
| "description": "Request to re-identify an item.", |
| "id": "GooglePrivacyDlpV2ReidentifyContentRequest", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2JobNotificationEmails": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2JobNotificationEmails", |
| "description": "Enable email notification to project owners and editors on jobs's completion/failure.", |
| "properties": {} |
| }, |
| "GooglePrivacyDlpV2Value": { |
| "description": "Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a 'Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data.", |
| "properties": { |
| "dayOfWeekValue": { |
| "description": "day of week", |
| "enumDescriptions": [ |
| "The day of the week is unspecified.", |
| "Monday", |
| "Tuesday", |
| "Wednesday", |
| "Thursday", |
| "Friday", |
| "Saturday", |
| "Sunday" |
| ], |
| "type": "string", |
| "enum": [ |
| "DAY_OF_WEEK_UNSPECIFIED", |
| "MONDAY", |
| "TUESDAY", |
| "WEDNESDAY", |
| "THURSDAY", |
| "FRIDAY", |
| "SATURDAY", |
| "SUNDAY" |
| ] |
| }, |
| "stringValue": { |
| "type": "string", |
| "description": "string" |
| }, |
| "dateValue": { |
| "$ref": "GoogleTypeDate", |
| "description": "date" |
| }, |
| "timeValue": { |
| "$ref": "GoogleTypeTimeOfDay", |
| "description": "time of day" |
| }, |
| "timestampValue": { |
| "format": "google-datetime", |
| "description": "timestamp", |
| "type": "string" |
| }, |
| "integerValue": { |
| "description": "integer", |
| "format": "int64", |
| "type": "string" |
| }, |
| "floatValue": { |
| "type": "number", |
| "description": "float", |
| "format": "double" |
| }, |
| "booleanValue": { |
| "type": "boolean", |
| "description": "boolean" |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2Value" |
| }, |
| "GooglePrivacyDlpV2Row": { |
| "type": "object", |
| "properties": { |
| "values": { |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Value" |
| }, |
| "description": "Individual cells." |
| } |
| }, |
| "description": "Values of the row.", |
| "id": "GooglePrivacyDlpV2Row" |
| }, |
| "GooglePrivacyDlpV2Dictionary": { |
| "properties": { |
| "cloudStoragePath": { |
| "$ref": "GooglePrivacyDlpV2CloudStoragePath", |
| "description": "Newline-delimited file of words in Cloud Storage. Only a single file is accepted." |
| }, |
| "wordList": { |
| "description": "List of words or phrases to search for.", |
| "$ref": "GooglePrivacyDlpV2WordList" |
| } |
| }, |
| "description": "Custom information type based on a dictionary of words or phrases. This can be used to match sensitive information specific to the data, such as a list of employee IDs or job titles. Dictionary words are case-insensitive and all characters other than letters and digits in the unicode [Basic Multilingual Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) will be replaced with whitespace when scanning for matches, so the dictionary phrase \"Sam Johnson\" will match all three phrases \"sam johnson\", \"Sam, Johnson\", and \"Sam (Johnson)\". Additionally, the characters surrounding any match must be of a different type than the adjacent characters within the word, so letters must be next to non-letters and digits next to non-digits. For example, the dictionary word \"jen\" will match the first three letters of the text \"jen123\" but will return no matches for \"jennifer\". Dictionary words containing a large number of characters that are not letters or digits may result in unexpected findings because such characters are treated as whitespace. The [limits](https://cloud.google.com/dlp/limits) page contains details about the size limits of dictionaries. For dictionaries that do not fit within these constraints, consider using `LargeCustomDictionaryConfig` in the `StoredInfoType` API.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2Dictionary" |
| }, |
| "GooglePrivacyDlpV2CharsToIgnore": { |
| "description": "Characters to skip when doing deidentification of a value. These will be left alone and skipped.", |
| "properties": { |
| "charactersToSkip": { |
| "description": "Characters to not transform when masking.", |
| "type": "string" |
| }, |
| "commonCharactersToIgnore": { |
| "enumDescriptions": [ |
| "Unused.", |
| "0-9", |
| "A-Z", |
| "a-z", |
| "US Punctuation, one of !\"#$%&'()*+,-./:;\u003c=\u003e?@[\\]^_`{|}~", |
| "Whitespace character, one of [ \\t\\n\\x0B\\f\\r]" |
| ], |
| "enum": [ |
| "COMMON_CHARS_TO_IGNORE_UNSPECIFIED", |
| "NUMERIC", |
| "ALPHA_UPPER_CASE", |
| "ALPHA_LOWER_CASE", |
| "PUNCTUATION", |
| "WHITESPACE" |
| ], |
| "description": "Common characters to not transform when masking. Useful to avoid removing punctuation.", |
| "type": "string" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2CharsToIgnore", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2FinishDlpJobRequest": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2FinishDlpJobRequest", |
| "description": "The request message for finishing a DLP hybrid job.", |
| "properties": {} |
| }, |
| "GooglePrivacyDlpV2ListDeidentifyTemplatesResponse": { |
| "type": "object", |
| "description": "Response message for ListDeidentifyTemplates.", |
| "id": "GooglePrivacyDlpV2ListDeidentifyTemplatesResponse", |
| "properties": { |
| "deidentifyTemplates": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate" |
| }, |
| "description": "List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.", |
| "type": "array" |
| }, |
| "nextPageToken": { |
| "type": "string", |
| "description": "If the next page is available then the next page token to be used in following ListDeidentifyTemplates request." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2PrivacyMetric": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2PrivacyMetric", |
| "description": "Privacy metric to compute for reidentification risk analysis.", |
| "properties": { |
| "lDiversityConfig": { |
| "$ref": "GooglePrivacyDlpV2LDiversityConfig", |
| "description": "l-diversity" |
| }, |
| "numericalStatsConfig": { |
| "description": "Numerical stats", |
| "$ref": "GooglePrivacyDlpV2NumericalStatsConfig" |
| }, |
| "kMapEstimationConfig": { |
| "$ref": "GooglePrivacyDlpV2KMapEstimationConfig", |
| "description": "k-map" |
| }, |
| "kAnonymityConfig": { |
| "$ref": "GooglePrivacyDlpV2KAnonymityConfig", |
| "description": "K-anonymity" |
| }, |
| "deltaPresenceEstimationConfig": { |
| "description": "delta-presence", |
| "$ref": "GooglePrivacyDlpV2DeltaPresenceEstimationConfig" |
| }, |
| "categoricalStatsConfig": { |
| "description": "Categorical stats", |
| "$ref": "GooglePrivacyDlpV2CategoricalStatsConfig" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2CreateDeidentifyTemplateRequest": { |
| "description": "Request message for CreateDeidentifyTemplate.", |
| "properties": { |
| "templateId": { |
| "type": "string", |
| "description": "The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one." |
| }, |
| "deidentifyTemplate": { |
| "$ref": "GooglePrivacyDlpV2DeidentifyTemplate", |
| "description": "Required. The DeidentifyTemplate to create." |
| }, |
| "locationId": { |
| "type": "string", |
| "description": "Deprecated. This field has no effect." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2CreateDeidentifyTemplateRequest", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2Conditions": { |
| "type": "object", |
| "properties": { |
| "conditions": { |
| "type": "array", |
| "description": "A collection of conditions.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Condition" |
| } |
| } |
| }, |
| "id": "GooglePrivacyDlpV2Conditions", |
| "description": "A collection of conditions." |
| }, |
| "GooglePrivacyDlpV2RequestedRiskAnalysisOptions": { |
| "properties": { |
| "jobConfig": { |
| "description": "The job config for the risk job.", |
| "$ref": "GooglePrivacyDlpV2RiskAnalysisJobConfig" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2RequestedRiskAnalysisOptions", |
| "description": "Risk analysis options.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2Color": { |
| "id": "GooglePrivacyDlpV2Color", |
| "type": "object", |
| "properties": { |
| "blue": { |
| "format": "float", |
| "description": "The amount of blue in the color as a value in the interval [0, 1].", |
| "type": "number" |
| }, |
| "red": { |
| "format": "float", |
| "description": "The amount of red in the color as a value in the interval [0, 1].", |
| "type": "number" |
| }, |
| "green": { |
| "description": "The amount of green in the color as a value in the interval [0, 1].", |
| "type": "number", |
| "format": "float" |
| } |
| }, |
| "description": "Represents a color in the RGB color space." |
| }, |
| "GooglePrivacyDlpV2RecordSuppression": { |
| "properties": { |
| "condition": { |
| "$ref": "GooglePrivacyDlpV2RecordCondition", |
| "description": "A condition that when it evaluates to true will result in the record being evaluated to be suppressed from the transformed content." |
| } |
| }, |
| "type": "object", |
| "description": "Configuration to suppress records whose suppression conditions evaluate to true.", |
| "id": "GooglePrivacyDlpV2RecordSuppression" |
| }, |
| "GooglePrivacyDlpV2HybridOptions": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2HybridOptions", |
| "description": "Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.", |
| "properties": { |
| "tableOptions": { |
| "$ref": "GooglePrivacyDlpV2TableOptions", |
| "description": "If the container is a table, additional information to make findings meaningful such as the columns that are primary keys." |
| }, |
| "labels": { |
| "description": "To organize findings, these labels will be added to each finding. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `\"environment\" : \"production\"` * `\"pipeline\" : \"etl\"`", |
| "additionalProperties": { |
| "type": "string" |
| }, |
| "type": "object" |
| }, |
| "requiredFindingLabelKeys": { |
| "description": "These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. No more than 10 keys can be required.", |
| "type": "array", |
| "items": { |
| "type": "string" |
| } |
| }, |
| "description": { |
| "type": "string", |
| "description": "A short description of where the data is coming from. Will be stored once in the job. 256 max length." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2LargeCustomDictionaryConfig": { |
| "description": "Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the [limits](https://cloud.google.com/dlp/limits) page. The artifacts of dictionary creation are stored in the specified Google Cloud Storage location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries that satisfy the size requirements.", |
| "type": "object", |
| "properties": { |
| "outputPath": { |
| "description": "Location to store dictionary artifacts in Google Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.", |
| "$ref": "GooglePrivacyDlpV2CloudStoragePath" |
| }, |
| "bigQueryField": { |
| "$ref": "GooglePrivacyDlpV2BigQueryField", |
| "description": "Field in a BigQuery table where each cell represents a dictionary phrase." |
| }, |
| "cloudStorageFileSet": { |
| "$ref": "GooglePrivacyDlpV2CloudStorageFileSet", |
| "description": "Set of files containing newline-delimited lists of dictionary phrases." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2LargeCustomDictionaryConfig" |
| }, |
| "GooglePrivacyDlpV2LeaveUntransformed": { |
| "properties": {}, |
| "id": "GooglePrivacyDlpV2LeaveUntransformed", |
| "description": "Skips the data without modifying it if the requested transformation would cause an error. For example, if a `DateShift` transformation were applied an an IP address, this mode would leave the IP address unchanged in the response.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2Trigger": { |
| "properties": { |
| "schedule": { |
| "description": "Create a job on a repeating basis based on the elapse of time.", |
| "$ref": "GooglePrivacyDlpV2Schedule" |
| }, |
| "manual": { |
| "$ref": "GooglePrivacyDlpV2Manual", |
| "description": "For use with hybrid jobs. Jobs must be manually created and finished. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2Trigger", |
| "type": "object", |
| "description": "What event needs to occur for a new job to be started." |
| }, |
| "GooglePrivacyDlpV2KMapEstimationHistogramBucket": { |
| "id": "GooglePrivacyDlpV2KMapEstimationHistogramBucket", |
| "properties": { |
| "bucketValueCount": { |
| "description": "Total number of distinct quasi-identifier tuple values in this bucket.", |
| "format": "int64", |
| "type": "string" |
| }, |
| "maxAnonymity": { |
| "format": "int64", |
| "description": "Always greater than or equal to min_anonymity.", |
| "type": "string" |
| }, |
| "minAnonymity": { |
| "type": "string", |
| "format": "int64", |
| "description": "Always positive." |
| }, |
| "bucketValues": { |
| "type": "array", |
| "description": "Sample of quasi-identifier tuple values in this bucket. The total number of classes returned per bucket is capped at 20.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2KMapEstimationQuasiIdValues" |
| } |
| }, |
| "bucketSize": { |
| "description": "Number of records within these anonymity bounds.", |
| "format": "int64", |
| "type": "string" |
| } |
| }, |
| "description": "A KMapEstimationHistogramBucket message with the following values: min_anonymity: 3 max_anonymity: 5 frequency: 42 means that there are 42 records whose quasi-identifier values correspond to 3, 4 or 5 people in the overlying population. An important particular case is when min_anonymity = max_anonymity = 1: the frequency field then corresponds to the number of uniquely identifiable records.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2KMapEstimationQuasiIdValues": { |
| "id": "GooglePrivacyDlpV2KMapEstimationQuasiIdValues", |
| "description": "A tuple of values for the quasi-identifier columns.", |
| "type": "object", |
| "properties": { |
| "quasiIdsValues": { |
| "description": "The quasi-identifier values.", |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Value" |
| } |
| }, |
| "estimatedAnonymity": { |
| "format": "int64", |
| "description": "The estimated anonymity for these quasi-identifier values.", |
| "type": "string" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2KAnonymityConfig": { |
| "description": "k-anonymity metric, used for analysis of reidentification risk.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2KAnonymityConfig", |
| "properties": { |
| "entityId": { |
| "description": "Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.", |
| "$ref": "GooglePrivacyDlpV2EntityId" |
| }, |
| "quasiIds": { |
| "description": "Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| }, |
| "type": "array" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2InfoType": { |
| "properties": { |
| "name": { |
| "description": "Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.", |
| "type": "string" |
| } |
| }, |
| "type": "object", |
| "description": "Type of information detected by the API.", |
| "id": "GooglePrivacyDlpV2InfoType" |
| }, |
| "GooglePrivacyDlpV2LikelihoodAdjustment": { |
| "description": "Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2LikelihoodAdjustment", |
| "properties": { |
| "relativeLikelihood": { |
| "type": "integer", |
| "description": "Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be `POSSIBLE` without the detection rule and `relative_likelihood` is 1, then it is upgraded to `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`. Likelihood may never drop below `VERY_UNLIKELY` or exceed `VERY_LIKELY`, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is `VERY_LIKELY` will result in a final likelihood of `LIKELY`.", |
| "format": "int32" |
| }, |
| "fixedLikelihood": { |
| "enumDescriptions": [ |
| "Default value; same as POSSIBLE.", |
| "Few matching elements.", |
| "", |
| "Some matching elements.", |
| "", |
| "Many matching elements." |
| ], |
| "enum": [ |
| "LIKELIHOOD_UNSPECIFIED", |
| "VERY_UNLIKELY", |
| "UNLIKELY", |
| "POSSIBLE", |
| "LIKELY", |
| "VERY_LIKELY" |
| ], |
| "type": "string", |
| "description": "Set the likelihood of a finding to a fixed value." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2KindExpression": { |
| "description": "A representation of a Datastore kind.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2KindExpression", |
| "properties": { |
| "name": { |
| "description": "The name of the kind.", |
| "type": "string" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2ImageRedactionConfig": { |
| "properties": { |
| "redactionColor": { |
| "$ref": "GooglePrivacyDlpV2Color", |
| "description": "The color to use when redacting content from an image. If not specified, the default is black." |
| }, |
| "redactAllText": { |
| "type": "boolean", |
| "description": "If true, all text found in the image, regardless whether it matches an info_type, is redacted. Only one should be provided." |
| }, |
| "infoType": { |
| "$ref": "GooglePrivacyDlpV2InfoType", |
| "description": "Only one per info_type should be provided per request. If not specified, and redact_all_text is false, the DLP API will redact all text that it matches against all info_types that are found, but not specified in another ImageRedactionConfig." |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2ImageRedactionConfig", |
| "description": "Configuration for determining how redaction of images should occur." |
| }, |
| "GooglePrivacyDlpV2ListInspectTemplatesResponse": { |
| "type": "object", |
| "description": "Response message for ListInspectTemplates.", |
| "id": "GooglePrivacyDlpV2ListInspectTemplatesResponse", |
| "properties": { |
| "nextPageToken": { |
| "type": "string", |
| "description": "If the next page is available then the next page token to be used in following ListInspectTemplates request." |
| }, |
| "inspectTemplates": { |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate" |
| }, |
| "description": "List of inspectTemplates, up to page_size in ListInspectTemplatesRequest." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails", |
| "description": "Result of a risk analysis operation request.", |
| "properties": { |
| "numericalStatsResult": { |
| "description": "Numerical stats result", |
| "$ref": "GooglePrivacyDlpV2NumericalStatsResult" |
| }, |
| "requestedSourceTable": { |
| "$ref": "GooglePrivacyDlpV2BigQueryTable", |
| "description": "Input dataset to compute metrics over." |
| }, |
| "requestedPrivacyMetric": { |
| "$ref": "GooglePrivacyDlpV2PrivacyMetric", |
| "description": "Privacy metric to compute." |
| }, |
| "deltaPresenceEstimationResult": { |
| "$ref": "GooglePrivacyDlpV2DeltaPresenceEstimationResult", |
| "description": "Delta-presence result" |
| }, |
| "kAnonymityResult": { |
| "$ref": "GooglePrivacyDlpV2KAnonymityResult", |
| "description": "K-anonymity result" |
| }, |
| "categoricalStatsResult": { |
| "$ref": "GooglePrivacyDlpV2CategoricalStatsResult", |
| "description": "Categorical stats result" |
| }, |
| "lDiversityResult": { |
| "$ref": "GooglePrivacyDlpV2LDiversityResult", |
| "description": "L-divesity result" |
| }, |
| "requestedOptions": { |
| "$ref": "GooglePrivacyDlpV2RequestedRiskAnalysisOptions", |
| "description": "The configuration used for this job." |
| }, |
| "kMapEstimationResult": { |
| "description": "K-map result", |
| "$ref": "GooglePrivacyDlpV2KMapEstimationResult" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2DetectionRule": { |
| "description": "Deprecated; use `InspectionRuleSet` instead. Rule for modifying a `CustomInfoType` to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the `surrogate_type` custom infoType.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2DetectionRule", |
| "properties": { |
| "hotwordRule": { |
| "$ref": "GooglePrivacyDlpV2HotwordRule", |
| "description": "Hotword-based detection rule." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2CreateStoredInfoTypeRequest": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2CreateStoredInfoTypeRequest", |
| "description": "Request message for CreateStoredInfoType.", |
| "properties": { |
| "storedInfoTypeId": { |
| "type": "string", |
| "description": "The storedInfoType ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one." |
| }, |
| "config": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoTypeConfig", |
| "description": "Required. Configuration of the storedInfoType to create." |
| }, |
| "locationId": { |
| "type": "string", |
| "description": "Deprecated. This field has no effect." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2UpdateJobTriggerRequest": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2UpdateJobTriggerRequest", |
| "properties": { |
| "updateMask": { |
| "format": "google-fieldmask", |
| "description": "Mask to control which fields get updated.", |
| "type": "string" |
| }, |
| "jobTrigger": { |
| "description": "New JobTrigger value.", |
| "$ref": "GooglePrivacyDlpV2JobTrigger" |
| } |
| }, |
| "description": "Request message for UpdateJobTrigger." |
| }, |
| "GooglePrivacyDlpV2Manual": { |
| "id": "GooglePrivacyDlpV2Manual", |
| "description": "Job trigger option for hybrid jobs. Jobs must be manually created and finished.", |
| "type": "object", |
| "properties": {} |
| }, |
| "GooglePrivacyDlpV2KMapEstimationResult": { |
| "id": "GooglePrivacyDlpV2KMapEstimationResult", |
| "type": "object", |
| "description": "Result of the reidentifiability analysis. Note that these results are an estimation, not exact values.", |
| "properties": { |
| "kMapEstimationHistogram": { |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2KMapEstimationHistogramBucket" |
| }, |
| "description": "The intervals [min_anonymity, max_anonymity] do not overlap. If a value doesn't correspond to any such interval, the associated frequency is zero. For example, the following records: {min_anonymity: 1, max_anonymity: 1, frequency: 17} {min_anonymity: 2, max_anonymity: 3, frequency: 42} {min_anonymity: 5, max_anonymity: 10, frequency: 99} mean that there are no record with an estimated anonymity of 4, 5, or larger than 10." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2Error": { |
| "type": "object", |
| "description": "Details information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger.", |
| "id": "GooglePrivacyDlpV2Error", |
| "properties": { |
| "timestamps": { |
| "items": { |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "description": "The times the error occurred.", |
| "type": "array" |
| }, |
| "details": { |
| "$ref": "GoogleRpcStatus", |
| "description": "Detailed error codes and messages." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2CloudStorageRegexFileSet": { |
| "id": "GooglePrivacyDlpV2CloudStorageRegexFileSet", |
| "properties": { |
| "bucketName": { |
| "type": "string", |
| "description": "The name of a Cloud Storage bucket. Required." |
| }, |
| "excludeRegex": { |
| "description": "A list of regular expressions matching file paths to exclude. All files in the bucket that match at least one of these regular expressions will be excluded from the scan. Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.", |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "includeRegex": { |
| "description": "A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in `exclude_regex`. Leaving this field empty will match all files by default (this is equivalent to including `.*` in the list). Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.", |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| } |
| }, |
| "type": "object", |
| "description": "Message representing a set of files in a Cloud Storage bucket. Regular expressions are used to allow fine-grained control over which files in the bucket to include. Included files are those that match at least one item in `include_regex` and do not match any items in `exclude_regex`. Note that a file that matches items from both lists will _not_ be included. For a match to occur, the entire file path (i.e., everything in the url after the bucket name) must match the regular expression. For example, given the input `{bucket_name: \"mybucket\", include_regex: [\"directory1/.*\"], exclude_regex: [\"directory1/excluded.*\"]}`: * `gs://mybucket/directory1/myfile` will be included * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches across `/`) * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the full path doesn't match any items in `include_regex`) * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path matches an item in `exclude_regex`) If `include_regex` is left empty, it will match all files by default (this is equivalent to setting `include_regex: [\".*\"]`). Some other common use cases: * `{bucket_name: \"mybucket\", exclude_regex: [\".*\\.pdf\"]}` will include all files in `mybucket` except for .pdf files * `{bucket_name: \"mybucket\", include_regex: [\"directory/[^/]+\"]}` will include all files directly under `gs://mybucket/directory/`, without matching across `/`" |
| }, |
| "GooglePrivacyDlpV2PathElement": { |
| "properties": { |
| "kind": { |
| "description": "The kind of the entity. A kind matching regex `__.*__` is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `\"\"`.", |
| "type": "string" |
| }, |
| "name": { |
| "type": "string", |
| "description": "The name of the entity. A name matching regex `__.*__` is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `\"\"`." |
| }, |
| "id": { |
| "description": "The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future.", |
| "type": "string", |
| "format": "int64" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2PathElement", |
| "type": "object", |
| "description": "A (kind, ID/name) pair used to construct a key path. If either name or ID is set, the element is complete. If neither is set, the element is incomplete." |
| }, |
| "GooglePrivacyDlpV2CreateInspectTemplateRequest": { |
| "properties": { |
| "inspectTemplate": { |
| "$ref": "GooglePrivacyDlpV2InspectTemplate", |
| "description": "Required. The InspectTemplate to create." |
| }, |
| "templateId": { |
| "type": "string", |
| "description": "The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one." |
| }, |
| "locationId": { |
| "type": "string", |
| "description": "Deprecated. This field has no effect." |
| } |
| }, |
| "type": "object", |
| "description": "Request message for CreateInspectTemplate.", |
| "id": "GooglePrivacyDlpV2CreateInspectTemplateRequest" |
| }, |
| "GooglePrivacyDlpV2Proximity": { |
| "id": "GooglePrivacyDlpV2Proximity", |
| "properties": { |
| "windowBefore": { |
| "format": "int32", |
| "description": "Number of characters before the finding to consider.", |
| "type": "integer" |
| }, |
| "windowAfter": { |
| "description": "Number of characters after the finding to consider.", |
| "type": "integer", |
| "format": "int32" |
| } |
| }, |
| "type": "object", |
| "description": "Message for specifying a window around a finding to apply a detection rule." |
| }, |
| "GooglePrivacyDlpV2BoundingBox": { |
| "properties": { |
| "width": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Width of the bounding box in pixels." |
| }, |
| "top": { |
| "format": "int32", |
| "description": "Top coordinate of the bounding box. (0,0) is upper left.", |
| "type": "integer" |
| }, |
| "left": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Left coordinate of the bounding box. (0,0) is upper left." |
| }, |
| "height": { |
| "format": "int32", |
| "description": "Height of the bounding box in pixels.", |
| "type": "integer" |
| } |
| }, |
| "description": "Bounding box encompassing detected text within an image.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2BoundingBox" |
| }, |
| "GooglePrivacyDlpV2TableOptions": { |
| "properties": { |
| "identifyingFields": { |
| "type": "array", |
| "description": "The columns that are the primary keys for table objects included in ContentItem. A copy of this cell's value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| } |
| } |
| }, |
| "id": "GooglePrivacyDlpV2TableOptions", |
| "description": "Instructions regarding the table content being inspected.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2LDiversityHistogramBucket": { |
| "type": "object", |
| "properties": { |
| "sensitiveValueFrequencyLowerBound": { |
| "description": "Lower bound on the sensitive value frequencies of the equivalence classes in this bucket.", |
| "format": "int64", |
| "type": "string" |
| }, |
| "bucketSize": { |
| "type": "string", |
| "description": "Total number of equivalence classes in this bucket.", |
| "format": "int64" |
| }, |
| "sensitiveValueFrequencyUpperBound": { |
| "type": "string", |
| "format": "int64", |
| "description": "Upper bound on the sensitive value frequencies of the equivalence classes in this bucket." |
| }, |
| "bucketValues": { |
| "type": "array", |
| "description": "Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2LDiversityEquivalenceClass" |
| } |
| }, |
| "bucketValueCount": { |
| "type": "string", |
| "description": "Total number of distinct equivalence classes in this bucket.", |
| "format": "int64" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2LDiversityHistogramBucket", |
| "description": "Histogram of l-diversity equivalence class sensitive value frequencies." |
| }, |
| "GooglePrivacyDlpV2EntityId": { |
| "description": "An entity in a dataset is a field or set of fields that correspond to a single person. For example, in medical records the `EntityId` might be a patient identifier, or for financial records it might be an account identifier. This message is used when generalizations or analysis must take into account that multiple rows correspond to the same entity.", |
| "type": "object", |
| "properties": { |
| "field": { |
| "description": "Composite key indicating which field contains the entity identifier.", |
| "$ref": "GooglePrivacyDlpV2FieldId" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2EntityId" |
| }, |
| "GooglePrivacyDlpV2StoredType": { |
| "description": "A reference to a StoredInfoType to use with scanning.", |
| "properties": { |
| "createTime": { |
| "description": "Timestamp indicating when the version of the `StoredInfoType` used for inspection was created. Output-only field, populated by the system.", |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "name": { |
| "type": "string", |
| "description": "Resource name of the requested `StoredInfoType`, for example `organizations/433245324/storedInfoTypes/432452342` or `projects/project-id/storedInfoTypes/432452342`." |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2StoredType" |
| }, |
| "GooglePrivacyDlpV2KmsWrappedCryptoKey": { |
| "description": "Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128/192/256 bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a kms-wrapped crypto key: dlp.kms.encrypt", |
| "type": "object", |
| "properties": { |
| "cryptoKeyName": { |
| "description": "Required. The resource name of the KMS CryptoKey to use for unwrapping.", |
| "type": "string" |
| }, |
| "wrappedKey": { |
| "format": "byte", |
| "description": "Required. The wrapped data crypto key.", |
| "type": "string" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2KmsWrappedCryptoKey" |
| }, |
| "GooglePrivacyDlpV2ValueFrequency": { |
| "type": "object", |
| "properties": { |
| "value": { |
| "$ref": "GooglePrivacyDlpV2Value", |
| "description": "A value contained in the field in question." |
| }, |
| "count": { |
| "type": "string", |
| "format": "int64", |
| "description": "How many times the value is contained in the field." |
| } |
| }, |
| "description": "A value of a field, including its frequency.", |
| "id": "GooglePrivacyDlpV2ValueFrequency" |
| }, |
| "GooglePrivacyDlpV2HybridInspectJobTriggerRequest": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2HybridInspectJobTriggerRequest", |
| "properties": { |
| "hybridItem": { |
| "$ref": "GooglePrivacyDlpV2HybridContentItem", |
| "description": "The item to inspect." |
| } |
| }, |
| "description": "Request to search for potentially sensitive info in a custom location." |
| }, |
| "GooglePrivacyDlpV2LDiversityEquivalenceClass": { |
| "properties": { |
| "equivalenceClassSize": { |
| "description": "Size of the k-anonymity equivalence class.", |
| "format": "int64", |
| "type": "string" |
| }, |
| "quasiIdsValues": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Value" |
| }, |
| "description": "Quasi-identifier values defining the k-anonymity equivalence class. The order is always the same as the original request.", |
| "type": "array" |
| }, |
| "numDistinctSensitiveValues": { |
| "format": "int64", |
| "description": "Number of distinct sensitive values in this equivalence class.", |
| "type": "string" |
| }, |
| "topSensitiveValues": { |
| "type": "array", |
| "description": "Estimated frequencies of top sensitive values.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2ValueFrequency" |
| } |
| } |
| }, |
| "description": "The set of columns' values that share the same ldiversity value.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2LDiversityEquivalenceClass" |
| }, |
| "GooglePrivacyDlpV2CreateDlpJobRequest": { |
| "id": "GooglePrivacyDlpV2CreateDlpJobRequest", |
| "type": "object", |
| "description": "Request message for CreateDlpJobRequest. Used to initiate long running jobs such as calculating risk metrics or inspecting Google Cloud Storage.", |
| "properties": { |
| "riskJob": { |
| "description": "Set to choose what metric to calculate.", |
| "$ref": "GooglePrivacyDlpV2RiskAnalysisJobConfig" |
| }, |
| "locationId": { |
| "type": "string", |
| "description": "Deprecated. This field has no effect." |
| }, |
| "inspectJob": { |
| "$ref": "GooglePrivacyDlpV2InspectJobConfig", |
| "description": "Set to control what and how to inspect." |
| }, |
| "jobId": { |
| "type": "string", |
| "description": "The job id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2CloudStorageOptions": { |
| "description": "Options defining a file or a set of files within a Google Cloud Storage bucket.", |
| "properties": { |
| "fileSet": { |
| "description": "The set of one or more files to scan.", |
| "$ref": "GooglePrivacyDlpV2FileSet" |
| }, |
| "bytesLimitPerFile": { |
| "description": "Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted. Only one of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.", |
| "type": "string", |
| "format": "int64" |
| }, |
| "bytesLimitPerFilePercent": { |
| "description": "Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.", |
| "format": "int32", |
| "type": "integer" |
| }, |
| "fileTypes": { |
| "items": { |
| "enumDescriptions": [ |
| "Includes all files.", |
| "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.", |
| "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.", |
| "Included file extensions: bmp, gif, jpg, jpeg, jpe, png. bytes_limit_per_file has no effect on image files. Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.", |
| "Word files \u003e30 MB will be scanned as binary files. Included file extensions: docx, dotx, docm, dotm", |
| "PDF files \u003e30 MB will be scanned as binary files. Included file extensions: pdf", |
| "Included file extensions: avro", |
| "Included file extensions: csv", |
| "Included file extensions: tsv" |
| ], |
| "type": "string", |
| "enum": [ |
| "FILE_TYPE_UNSPECIFIED", |
| "BINARY_FILE", |
| "TEXT_FILE", |
| "IMAGE", |
| "WORD", |
| "PDF", |
| "AVRO", |
| "CSV", |
| "TSV" |
| ] |
| }, |
| "type": "array", |
| "description": "List of file type groups to include in the scan. If empty, all files are scanned and available data format processors are applied. In addition, the binary content of the selected files is always scanned as well. Images are scanned only as binary if the specified region does not support image inspection and no file_types were specified. Image inspection is restricted to 'global', 'us', 'asia', and 'europe'." |
| }, |
| "sampleMethod": { |
| "enumDescriptions": [ |
| "", |
| "Scan from the top (default).", |
| "For each file larger than bytes_limit_per_file, randomly pick the offset to start scanning. The scanned bytes are contiguous." |
| ], |
| "enum": [ |
| "SAMPLE_METHOD_UNSPECIFIED", |
| "TOP", |
| "RANDOM_START" |
| ], |
| "type": "string" |
| }, |
| "filesLimitPercent": { |
| "type": "integer", |
| "description": "Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0.", |
| "format": "int32" |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2CloudStorageOptions" |
| }, |
| "GooglePrivacyDlpV2LargeCustomDictionaryStats": { |
| "properties": { |
| "approxNumPhrases": { |
| "description": "Approximate number of distinct phrases in the dictionary.", |
| "type": "string", |
| "format": "int64" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2LargeCustomDictionaryStats", |
| "type": "object", |
| "description": "Summary statistics of a custom dictionary." |
| }, |
| "GooglePrivacyDlpV2BigQueryTable": { |
| "description": "Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: `:.` or `..`.", |
| "properties": { |
| "datasetId": { |
| "description": "Dataset ID of the table.", |
| "type": "string" |
| }, |
| "projectId": { |
| "description": "The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.", |
| "type": "string" |
| }, |
| "tableId": { |
| "description": "Name of the table.", |
| "type": "string" |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2BigQueryTable" |
| }, |
| "GooglePrivacyDlpV2InspectJobConfig": { |
| "type": "object", |
| "description": "Controls what and how to inspect for findings.", |
| "id": "GooglePrivacyDlpV2InspectJobConfig", |
| "properties": { |
| "inspectConfig": { |
| "description": "How and what to scan for.", |
| "$ref": "GooglePrivacyDlpV2InspectConfig" |
| }, |
| "actions": { |
| "description": "Actions to execute at the completion of the job.", |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Action" |
| } |
| }, |
| "inspectTemplateName": { |
| "description": "If provided, will be used as the default for all values in InspectConfig. `inspect_config` will be merged into the values persisted as part of the template.", |
| "type": "string" |
| }, |
| "storageConfig": { |
| "description": "The data to scan.", |
| "$ref": "GooglePrivacyDlpV2StorageConfig" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2InspectResult": { |
| "id": "GooglePrivacyDlpV2InspectResult", |
| "type": "object", |
| "description": "All the findings for a single scanned item.", |
| "properties": { |
| "findings": { |
| "description": "List of findings for an item.", |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2Finding" |
| } |
| }, |
| "findingsTruncated": { |
| "description": "If true, then this item might have more findings than were returned, and the findings returned are an arbitrary subset of all findings. The findings list might be truncated because the input items were too large, or because the server reached the maximum amount of resources allowed for a single API call. For best results, divide the input into smaller batches.", |
| "type": "boolean" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2HybridContentItem": { |
| "description": "An individual hybrid item to inspect. Will be stored temporarily during processing.", |
| "id": "GooglePrivacyDlpV2HybridContentItem", |
| "type": "object", |
| "properties": { |
| "item": { |
| "$ref": "GooglePrivacyDlpV2ContentItem", |
| "description": "The item to inspect." |
| }, |
| "findingDetails": { |
| "description": "Supplementary information that will be added to each finding.", |
| "$ref": "GooglePrivacyDlpV2HybridFindingDetails" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2DeidentifyContentResponse": { |
| "type": "object", |
| "description": "Results of de-identifying a ContentItem.", |
| "id": "GooglePrivacyDlpV2DeidentifyContentResponse", |
| "properties": { |
| "item": { |
| "description": "The de-identified item.", |
| "$ref": "GooglePrivacyDlpV2ContentItem" |
| }, |
| "overview": { |
| "$ref": "GooglePrivacyDlpV2TransformationOverview", |
| "description": "An overview of the changes that were made on the `item`." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2StoredInfoType": { |
| "type": "object", |
| "properties": { |
| "name": { |
| "description": "Resource name.", |
| "type": "string" |
| }, |
| "currentVersion": { |
| "description": "Current version of the stored info type.", |
| "$ref": "GooglePrivacyDlpV2StoredInfoTypeVersion" |
| }, |
| "pendingVersions": { |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2StoredInfoTypeVersion" |
| }, |
| "description": "Pending versions of the stored info type. Empty if no versions are pending." |
| } |
| }, |
| "description": "StoredInfoType resource message that contains information about the current version and any pending updates.", |
| "id": "GooglePrivacyDlpV2StoredInfoType" |
| }, |
| "GooglePrivacyDlpV2ContentItem": { |
| "type": "object", |
| "description": "Container structure for the content to inspect.", |
| "properties": { |
| "byteItem": { |
| "description": "Content data to inspect or redact. Replaces `type` and `data`.", |
| "$ref": "GooglePrivacyDlpV2ByteContentItem" |
| }, |
| "value": { |
| "description": "String data to inspect or redact.", |
| "type": "string" |
| }, |
| "table": { |
| "description": "Structured content for inspection. See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to learn more.", |
| "$ref": "GooglePrivacyDlpV2Table" |
| } |
| }, |
| "id": "GooglePrivacyDlpV2ContentItem" |
| }, |
| "GooglePrivacyDlpV2InfoTypeLimit": { |
| "id": "GooglePrivacyDlpV2InfoTypeLimit", |
| "properties": { |
| "maxFindings": { |
| "description": "Max findings limit for the given infoType.", |
| "type": "integer", |
| "format": "int32" |
| }, |
| "infoType": { |
| "description": "Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.", |
| "$ref": "GooglePrivacyDlpV2InfoType" |
| } |
| }, |
| "description": "Max findings configuration per infoType, per content item or long running DlpJob.", |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2FileSet": { |
| "properties": { |
| "regexFileSet": { |
| "$ref": "GooglePrivacyDlpV2CloudStorageRegexFileSet", |
| "description": "The regex-filtered set of files to scan. Exactly one of `url` or `regex_file_set` must be set." |
| }, |
| "url": { |
| "type": "string", |
| "description": "The Cloud Storage url of the file(s) to scan, in the format `gs:///`. Trailing wildcard in the path is allowed. If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned non-recursively (content in sub-directories will not be scanned). This means that `gs://mybucket/` is equivalent to `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to `gs://mybucket/directory/*`. Exactly one of `url` or `regex_file_set` must be set." |
| } |
| }, |
| "type": "object", |
| "id": "GooglePrivacyDlpV2FileSet", |
| "description": "Set of files to scan." |
| }, |
| "GooglePrivacyDlpV2InspectTemplate": { |
| "id": "GooglePrivacyDlpV2InspectTemplate", |
| "type": "object", |
| "properties": { |
| "updateTime": { |
| "format": "google-datetime", |
| "type": "string", |
| "description": "Output only. The last update timestamp of an inspectTemplate.", |
| "readOnly": true |
| }, |
| "inspectConfig": { |
| "description": "The core content of the template. Configuration of the scanning process.", |
| "$ref": "GooglePrivacyDlpV2InspectConfig" |
| }, |
| "description": { |
| "type": "string", |
| "description": "Short description (max 256 chars)." |
| }, |
| "name": { |
| "type": "string", |
| "readOnly": true, |
| "description": "Output only. The template name. The template will have one of the following formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;" |
| }, |
| "createTime": { |
| "readOnly": true, |
| "description": "Output only. The creation timestamp of an inspectTemplate.", |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "displayName": { |
| "type": "string", |
| "description": "Display name (max 256 chars)." |
| } |
| }, |
| "description": "The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to learn more." |
| }, |
| "GooglePrivacyDlpV2InfoTypeTransformations": { |
| "type": "object", |
| "description": "A type of transformation that will scan unstructured text and apply various `PrimitiveTransformation`s to each finding, where the transformation is applied to only values that were identified as a specific info_type.", |
| "id": "GooglePrivacyDlpV2InfoTypeTransformations", |
| "properties": { |
| "transformations": { |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2InfoTypeTransformation" |
| }, |
| "description": "Required. Transformation for each infoType. Cannot specify more than one for a given infoType." |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2KAnonymityHistogramBucket": { |
| "type": "object", |
| "id": "GooglePrivacyDlpV2KAnonymityHistogramBucket", |
| "description": "Histogram of k-anonymity equivalence classes.", |
| "properties": { |
| "equivalenceClassSizeLowerBound": { |
| "description": "Lower bound on the size of the equivalence classes in this bucket.", |
| "type": "string", |
| "format": "int64" |
| }, |
| "equivalenceClassSizeUpperBound": { |
| "type": "string", |
| "description": "Upper bound on the size of the equivalence classes in this bucket.", |
| "format": "int64" |
| }, |
| "bucketSize": { |
| "format": "int64", |
| "type": "string", |
| "description": "Total number of equivalence classes in this bucket." |
| }, |
| "bucketValues": { |
| "description": "Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.", |
| "type": "array", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2KAnonymityEquivalenceClass" |
| } |
| }, |
| "bucketValueCount": { |
| "type": "string", |
| "description": "Total number of distinct equivalence classes in this bucket.", |
| "format": "int64" |
| } |
| } |
| }, |
| "GooglePrivacyDlpV2InfoTypeStats": { |
| "type": "object", |
| "description": "Statistics regarding a specific InfoType.", |
| "properties": { |
| "infoType": { |
| "description": "The type of finding this stat is for.", |
| "$ref": "GooglePrivacyDlpV2InfoType" |
| }, |
| "count": { |
| "format": "int64", |
| "type": "string", |
| "description": "Number of findings for this infoType." |
| } |
| }, |
| "id": "GooglePrivacyDlpV2InfoTypeStats" |
| }, |
| "GooglePrivacyDlpV2RecordKey": { |
| "id": "GooglePrivacyDlpV2RecordKey", |
| "description": "Message for a unique key indicating a record that contains a finding.", |
| "properties": { |
| "bigQueryKey": { |
| "$ref": "GooglePrivacyDlpV2BigQueryKey" |
| }, |
| "datastoreKey": { |
| "$ref": "GooglePrivacyDlpV2DatastoreKey" |
| }, |
| "idValues": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| }, |
| "description": "Values of identifying columns in the given row. Order of values matches the order of `identifying_fields` specified in the scanning request." |
| } |
| }, |
| "type": "object" |
| }, |
| "GooglePrivacyDlpV2KMapEstimationConfig": { |
| "description": "Reidentifiability metric. This corresponds to a risk model similar to what is called \"journalist risk\" in the literature, except the attack dataset is statistically modeled instead of being perfectly known. This can be done using publicly available data (like the US Census), or using a custom statistical model (indicated as one or several BigQuery tables), or by extrapolating from the distribution of values in the input dataset.", |
| "type": "object", |
| "id": "GooglePrivacyDlpV2KMapEstimationConfig", |
| "properties": { |
| "auxiliaryTables": { |
| "items": { |
| "$ref": "GooglePrivacyDlpV2AuxiliaryTable" |
| }, |
| "description": "Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers column must appear in exactly one column of one auxiliary table.", |
| "type": "array" |
| }, |
| "regionCode": { |
| "type": "string", |
| "description": "ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code." |
| }, |
| "quasiIds": { |
| "type": "array", |
| "description": "Required. Fields considered to be quasi-identifiers. No two columns can have the same tag.", |
| "items": { |
| "$ref": "GooglePrivacyDlpV2TaggedField" |
| } |
| } |
| } |
| } |
| }, |
| "description": "Provides methods for detection, risk analysis, and de-identification of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.", |
| "kind": "discovery#restDescription", |
| "discoveryVersion": "v1", |
| "title": "Cloud Data Loss Prevention (DLP) API" |
| } |