Class ProjectsResource.LocationsResource.ContentResource
The "content" collection of methods.
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ContentResource
Constructors
ContentResource(IClientService)
Constructs a new resource.
Declaration
public ContentResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Deidentify(GooglePrivacyDlpV2DeidentifyContentRequest, string)
De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/sensitive-data-protection/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.
Declaration
public virtual ProjectsResource.LocationsResource.ContentResource.DeidentifyRequest Deidentify(GooglePrivacyDlpV2DeidentifyContentRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GooglePrivacyDlpV2DeidentifyContentRequest | 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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ContentResource.DeidentifyRequest |
Inspect(GooglePrivacyDlpV2InspectContentRequest, string)
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,
Declaration
public virtual ProjectsResource.LocationsResource.ContentResource.InspectRequest Inspect(GooglePrivacyDlpV2InspectContentRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GooglePrivacyDlpV2InspectContentRequest | 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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ContentResource.InspectRequest |
Reidentify(GooglePrivacyDlpV2ReidentifyContentRequest, string)
Re-identifies content that has been de-identified. See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example to learn more.
Declaration
public virtual ProjectsResource.LocationsResource.ContentResource.ReidentifyRequest Reidentify(GooglePrivacyDlpV2ReidentifyContentRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GooglePrivacyDlpV2ReidentifyContentRequest | body | The body of the request. |
string | parent | Required. Parent resource name. The format of this value varies depending on whether you have
specified a processing
location: + Projects
scope, location specified: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ContentResource.ReidentifyRequest |