Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ImageResource.RedactRequest

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.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>
ProjectsResource.LocationsResource.ImageResource.RedactRequest
Implements
IClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>
IClientServiceRequest
Inherited Members
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.Xgafv
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.AccessToken
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.Alt
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.Callback
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.Fields
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.Key
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.OauthToken
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.PrettyPrint
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.QuotaUser
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.UploadType
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.UploadProtocol
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.Execute()
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.ExecuteAsStream()
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.ExecuteAsync()
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.CreateRequest(bool?)
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.GenerateRequestUri()
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.ETagAction
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.ModifyRequest
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.ValidateParameters
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.ApiVersion
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.RequestParameters
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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.LocationsResource.ImageResource.RedactRequest : DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>, IClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>, IClientServiceRequest

Constructors

RedactRequest(IClientService, GooglePrivacyDlpV2RedactImageRequest, string)

Constructs a new Redact request.

Declaration
public RedactRequest(IClientService service, GooglePrivacyDlpV2RedactImageRequest body, string parent)
Parameters
Type Name Description
IClientService service
GooglePrivacyDlpV2RedactImageRequest body
string parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.MethodName

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

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.GetBody()

InitParameters()

Initializes Redact parameter list.

Declaration
protected override void InitParameters()
Overrides
DLPBaseServiceRequest<GooglePrivacyDlpV2RedactImageResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX