Class ProjectsResource.ContentResource.InspectRequest
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/sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/sensitive-data-protection/docs/inspecting-text,
Inheritance
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class ProjectsResource.ContentResource.InspectRequest : DLPBaseServiceRequest<GooglePrivacyDlpV2InspectContentResponse>, IClientServiceRequest<GooglePrivacyDlpV2InspectContentResponse>, IClientServiceRequest
Constructors
InspectRequest(IClientService, GooglePrivacyDlpV2InspectContentRequest, string)
Constructs a new Inspect request.
Declaration
public InspectRequest(IClientService service, GooglePrivacyDlpV2InspectContentRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GooglePrivacyDlpV2InspectContentRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Inspect parameter list.
Declaration
protected override void InitParameters()