Show / Hide Table of Contents

Class ProjectsResource.ImageResource

The "image" collection of methods.

Inheritance
object
ProjectsResource.ImageResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class ProjectsResource.ImageResource

Constructors

ImageResource(IClientService)

Constructs a new resource.

Declaration
public ImageResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Redact(GooglePrivacyDlpV2RedactImageRequest, string)

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.

Declaration
public virtual ProjectsResource.ImageResource.RedactRequest Redact(GooglePrivacyDlpV2RedactImageRequest body, string parent)
Parameters
Type Name Description
GooglePrivacyDlpV2RedactImageRequest body

The body of the request.

string parent

Parent resource name. The format of this value varies depending on whether you have specified a processing 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

Returns
Type Description
ProjectsResource.ImageResource.RedactRequest
In this article
Back to top Generated by DocFX