image
Creates, updates, deletes, gets or lists an image
resource.
Overview
Name | image |
Type | Resource |
Id | google.dlp.image |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_image_redact | exec | projectsId , locationsId | Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/sensitive-data-protection/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. Only the first frame of each multiframe image is redacted. Metadata and other frames are omitted in the response. | |
projects_image_redact | exec | projectsId | Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/sensitive-data-protection/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. Only the first frame of each multiframe image is redacted. Metadata and other frames are omitted in the response. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
projectsId | string |
Lifecycle Methods
- projects_locations_image_redact
- projects_image_redact
Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/sensitive-data-protection/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. Only the first frame of each multiframe image is redacted. Metadata and other frames are omitted in the response.
EXEC google.dlp.image.projects_locations_image_redact
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"locationId": "{{ locationId }}",
"inspectConfig": "{{ inspectConfig }}",
"imageRedactionConfigs": "{{ imageRedactionConfigs }}",
"includeFindings": {{ includeFindings }},
"byteItem": "{{ byteItem }}"
}';
Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/sensitive-data-protection/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. Only the first frame of each multiframe image is redacted. Metadata and other frames are omitted in the response.
EXEC google.dlp.image.projects_image_redact
@projectsId='{{ projectsId }}' --required
@@json=
'{
"locationId": "{{ locationId }}",
"inspectConfig": "{{ inspectConfig }}",
"imageRedactionConfigs": "{{ imageRedactionConfigs }}",
"includeFindings": {{ includeFindings }},
"byteItem": "{{ byteItem }}"
}';