public sealed class DlpServiceClientImpl : DlpServiceClient
DlpService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Remarks
The Cloud Data Loss Prevention (DLP) API is a service that allows clients to detect the presence of Personally Identifiable Information (PII) and other privacy-sensitive data in user-supplied, unstructured data streams, like text blocks or images. The service also includes methods for sensitive data redaction and scheduling of data scans on Google Cloud Platform based data sets.
To learn more about concepts and find how-to guides see https://cloud.google.com/dlp/docs/.
Constructors
DlpServiceClientImpl(DlpService.DlpServiceClient, DlpServiceSettings)
public DlpServiceClientImpl(DlpService.DlpServiceClient grpcClient, DlpServiceSettings settings)
Constructs a client wrapper for the DlpService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | DlpService.DlpServiceClient The underlying gRPC client. |
settings | DlpServiceSettings The base DlpServiceSettings used within this client. |
Properties
GrpcClient
public override DlpService.DlpServiceClient GrpcClient { get; }
The underlying gRPC DlpService client
Property Value | |
---|---|
Type | Description |
DlpService.DlpServiceClient |
Methods
ActivateJobTrigger(ActivateJobTriggerRequest, CallSettings)
public override DlpJob ActivateJobTrigger(ActivateJobTriggerRequest request, CallSettings callSettings = null)
Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.
Parameters | |
---|---|
Name | Description |
request | ActivateJobTriggerRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DlpJob | The RPC response. |
ActivateJobTriggerAsync(ActivateJobTriggerRequest, CallSettings)
public override Task<DlpJob> ActivateJobTriggerAsync(ActivateJobTriggerRequest request, CallSettings callSettings = null)
Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.
Parameters | |
---|---|
Name | Description |
request | ActivateJobTriggerRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<DlpJob> | A Task containing the RPC response. |
CancelDlpJob(CancelDlpJobRequest, CallSettings)
public override void CancelDlpJob(CancelDlpJobRequest request, CallSettings callSettings = null)
Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
request | CancelDlpJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
CancelDlpJobAsync(CancelDlpJobRequest, CallSettings)
public override Task CancelDlpJobAsync(CancelDlpJobRequest request, CallSettings callSettings = null)
Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
request | CancelDlpJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest, CallSettings)
public override DeidentifyTemplate CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest request, CallSettings callSettings = null)
Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
Parameters | |
---|---|
Name | Description |
request | CreateDeidentifyTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DeidentifyTemplate | The RPC response. |
CreateDeidentifyTemplateAsync(CreateDeidentifyTemplateRequest, CallSettings)
public override Task<DeidentifyTemplate> CreateDeidentifyTemplateAsync(CreateDeidentifyTemplateRequest request, CallSettings callSettings = null)
Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
Parameters | |
---|---|
Name | Description |
request | CreateDeidentifyTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<DeidentifyTemplate> | A Task containing the RPC response. |
CreateDlpJob(CreateDlpJobRequest, CallSettings)
public override DlpJob CreateDlpJob(CreateDlpJobRequest request, CallSettings callSettings = null)
Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
When no InfoTypes or CustomInfoTypes are specified in inspect jobs, 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.
Parameters | |
---|---|
Name | Description |
request | CreateDlpJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DlpJob | The RPC response. |
CreateDlpJobAsync(CreateDlpJobRequest, CallSettings)
public override Task<DlpJob> CreateDlpJobAsync(CreateDlpJobRequest request, CallSettings callSettings = null)
Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
When no InfoTypes or CustomInfoTypes are specified in inspect jobs, 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.
Parameters | |
---|---|
Name | Description |
request | CreateDlpJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<DlpJob> | A Task containing the RPC response. |
CreateInspectTemplate(CreateInspectTemplateRequest, CallSettings)
public override InspectTemplate CreateInspectTemplate(CreateInspectTemplateRequest request, CallSettings callSettings = null)
Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request | CreateInspectTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
InspectTemplate | The RPC response. |
CreateInspectTemplateAsync(CreateInspectTemplateRequest, CallSettings)
public override Task<InspectTemplate> CreateInspectTemplateAsync(CreateInspectTemplateRequest request, CallSettings callSettings = null)
Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request | CreateInspectTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<InspectTemplate> | A Task containing the RPC response. |
CreateJobTrigger(CreateJobTriggerRequest, CallSettings)
public override JobTrigger CreateJobTrigger(CreateJobTriggerRequest request, CallSettings callSettings = null)
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
Parameters | |
---|---|
Name | Description |
request | CreateJobTriggerRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
JobTrigger | The RPC response. |
CreateJobTriggerAsync(CreateJobTriggerRequest, CallSettings)
public override Task<JobTrigger> CreateJobTriggerAsync(CreateJobTriggerRequest request, CallSettings callSettings = null)
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
Parameters | |
---|---|
Name | Description |
request | CreateJobTriggerRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<JobTrigger> | A Task containing the RPC response. |
CreateStoredInfoType(CreateStoredInfoTypeRequest, CallSettings)
public override StoredInfoType CreateStoredInfoType(CreateStoredInfoTypeRequest request, CallSettings callSettings = null)
Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request | CreateStoredInfoTypeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
StoredInfoType | The RPC response. |
CreateStoredInfoTypeAsync(CreateStoredInfoTypeRequest, CallSettings)
public override Task<StoredInfoType> CreateStoredInfoTypeAsync(CreateStoredInfoTypeRequest request, CallSettings callSettings = null)
Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request | CreateStoredInfoTypeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<StoredInfoType> | A Task containing the RPC response. |
DeidentifyContent(DeidentifyContentRequest, CallSettings)
public override DeidentifyContentResponse DeidentifyContent(DeidentifyContentRequest request, CallSettings callSettings = null)
De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/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.
Parameters | |
---|---|
Name | Description |
request | DeidentifyContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DeidentifyContentResponse | The RPC response. |
DeidentifyContentAsync(DeidentifyContentRequest, CallSettings)
public override Task<DeidentifyContentResponse> DeidentifyContentAsync(DeidentifyContentRequest request, CallSettings callSettings = null)
De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/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.
Parameters | |
---|---|
Name | Description |
request | DeidentifyContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<DeidentifyContentResponse> | A Task containing the RPC response. |
DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest, CallSettings)
public override void DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request, CallSettings callSettings = null)
Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
Parameters | |
---|---|
Name | Description |
request | DeleteDeidentifyTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteDeidentifyTemplateAsync(DeleteDeidentifyTemplateRequest, CallSettings)
public override Task DeleteDeidentifyTemplateAsync(DeleteDeidentifyTemplateRequest request, CallSettings callSettings = null)
Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
Parameters | |
---|---|
Name | Description |
request | DeleteDeidentifyTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteDlpJob(DeleteDlpJobRequest, CallSettings)
public override void DeleteDlpJob(DeleteDlpJobRequest request, CallSettings callSettings = null)
Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be cancelled if possible. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
request | DeleteDlpJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteDlpJobAsync(DeleteDlpJobRequest, CallSettings)
public override Task DeleteDlpJobAsync(DeleteDlpJobRequest request, CallSettings callSettings = null)
Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be cancelled if possible. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
request | DeleteDlpJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteInspectTemplate(DeleteInspectTemplateRequest, CallSettings)
public override void DeleteInspectTemplate(DeleteInspectTemplateRequest request, CallSettings callSettings = null)
Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request | DeleteInspectTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteInspectTemplateAsync(DeleteInspectTemplateRequest, CallSettings)
public override Task DeleteInspectTemplateAsync(DeleteInspectTemplateRequest request, CallSettings callSettings = null)
Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request | DeleteInspectTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteJobTrigger(DeleteJobTriggerRequest, CallSettings)
public override void DeleteJobTrigger(DeleteJobTriggerRequest request, CallSettings callSettings = null)
Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
Parameters | |
---|---|
Name | Description |
request | DeleteJobTriggerRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteJobTriggerAsync(DeleteJobTriggerRequest, CallSettings)
public override Task DeleteJobTriggerAsync(DeleteJobTriggerRequest request, CallSettings callSettings = null)
Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
Parameters | |
---|---|
Name | Description |
request | DeleteJobTriggerRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteStoredInfoType(DeleteStoredInfoTypeRequest, CallSettings)
public override void DeleteStoredInfoType(DeleteStoredInfoTypeRequest request, CallSettings callSettings = null)
Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request | DeleteStoredInfoTypeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteStoredInfoTypeAsync(DeleteStoredInfoTypeRequest, CallSettings)
public override Task DeleteStoredInfoTypeAsync(DeleteStoredInfoTypeRequest request, CallSettings callSettings = null)
Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request | DeleteStoredInfoTypeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
FinishDlpJob(FinishDlpJobRequest, CallSettings)
public override void FinishDlpJob(FinishDlpJobRequest request, CallSettings callSettings = null)
Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.
Parameters | |
---|---|
Name | Description |
request | FinishDlpJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
FinishDlpJobAsync(FinishDlpJobRequest, CallSettings)
public override Task FinishDlpJobAsync(FinishDlpJobRequest request, CallSettings callSettings = null)
Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.
Parameters | |
---|---|
Name | Description |
request | FinishDlpJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
GetDeidentifyTemplate(GetDeidentifyTemplateRequest, CallSettings)
public override DeidentifyTemplate GetDeidentifyTemplate(GetDeidentifyTemplateRequest request, CallSettings callSettings = null)
Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
Parameters | |
---|---|
Name | Description |
request | GetDeidentifyTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DeidentifyTemplate | The RPC response. |
GetDeidentifyTemplateAsync(GetDeidentifyTemplateRequest, CallSettings)
public override Task<DeidentifyTemplate> GetDeidentifyTemplateAsync(GetDeidentifyTemplateRequest request, CallSettings callSettings = null)
Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
Parameters | |
---|---|
Name | Description |
request | GetDeidentifyTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<DeidentifyTemplate> | A Task containing the RPC response. |
GetDlpJob(GetDlpJobRequest, CallSettings)
public override DlpJob GetDlpJob(GetDlpJobRequest request, CallSettings callSettings = null)
Gets the latest state of a long-running DlpJob. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
request | GetDlpJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DlpJob | The RPC response. |
GetDlpJobAsync(GetDlpJobRequest, CallSettings)
public override Task<DlpJob> GetDlpJobAsync(GetDlpJobRequest request, CallSettings callSettings = null)
Gets the latest state of a long-running DlpJob. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
request | GetDlpJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<DlpJob> | A Task containing the RPC response. |
GetInspectTemplate(GetInspectTemplateRequest, CallSettings)
public override InspectTemplate GetInspectTemplate(GetInspectTemplateRequest request, CallSettings callSettings = null)
Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request | GetInspectTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
InspectTemplate | The RPC response. |
GetInspectTemplateAsync(GetInspectTemplateRequest, CallSettings)
public override Task<InspectTemplate> GetInspectTemplateAsync(GetInspectTemplateRequest request, CallSettings callSettings = null)
Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request | GetInspectTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<InspectTemplate> | A Task containing the RPC response. |
GetJobTrigger(GetJobTriggerRequest, CallSettings)
public override JobTrigger GetJobTrigger(GetJobTriggerRequest request, CallSettings callSettings = null)
Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
Parameters | |
---|---|
Name | Description |
request | GetJobTriggerRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
JobTrigger | The RPC response. |
GetJobTriggerAsync(GetJobTriggerRequest, CallSettings)
public override Task<JobTrigger> GetJobTriggerAsync(GetJobTriggerRequest request, CallSettings callSettings = null)
Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
Parameters | |
---|---|
Name | Description |
request | GetJobTriggerRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<JobTrigger> | A Task containing the RPC response. |
GetStoredInfoType(GetStoredInfoTypeRequest, CallSettings)
public override StoredInfoType GetStoredInfoType(GetStoredInfoTypeRequest request, CallSettings callSettings = null)
Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request | GetStoredInfoTypeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
StoredInfoType | The RPC response. |
GetStoredInfoTypeAsync(GetStoredInfoTypeRequest, CallSettings)
public override Task<StoredInfoType> GetStoredInfoTypeAsync(GetStoredInfoTypeRequest request, CallSettings callSettings = null)
Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request | GetStoredInfoTypeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<StoredInfoType> | A Task containing the RPC response. |
HybridInspectDlpJob(HybridInspectDlpJobRequest, CallSettings)
public override HybridInspectResponse HybridInspectDlpJob(HybridInspectDlpJobRequest request, CallSettings callSettings = null)
Inspect hybrid content and store findings to a job. To review the findings inspect the job. Inspection will occur asynchronously. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.
Parameters | |
---|---|
Name | Description |
request | HybridInspectDlpJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
HybridInspectResponse | The RPC response. |
HybridInspectDlpJobAsync(HybridInspectDlpJobRequest, CallSettings)
public override Task<HybridInspectResponse> HybridInspectDlpJobAsync(HybridInspectDlpJobRequest request, CallSettings callSettings = null)
Inspect hybrid content and store findings to a job. To review the findings inspect the job. Inspection will occur asynchronously. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.
Parameters | |
---|---|
Name | Description |
request | HybridInspectDlpJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<HybridInspectResponse> | A Task containing the RPC response. |
HybridInspectJobTrigger(HybridInspectJobTriggerRequest, CallSettings)
public override HybridInspectResponse HybridInspectJobTrigger(HybridInspectJobTriggerRequest request, CallSettings callSettings = null)
Inspect hybrid content and store findings to a trigger. The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.
Parameters | |
---|---|
Name | Description |
request | HybridInspectJobTriggerRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
HybridInspectResponse | The RPC response. |
HybridInspectJobTriggerAsync(HybridInspectJobTriggerRequest, CallSettings)
public override Task<HybridInspectResponse> HybridInspectJobTriggerAsync(HybridInspectJobTriggerRequest request, CallSettings callSettings = null)
Inspect hybrid content and store findings to a trigger. The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.
Parameters | |
---|---|
Name | Description |
request | HybridInspectJobTriggerRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<HybridInspectResponse> | A Task containing the RPC response. |
InspectContent(InspectContentRequest, CallSettings)
public override InspectContentResponse InspectContent(InspectContentRequest request, CallSettings callSettings = null)
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/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
Parameters | |
---|---|
Name | Description |
request | InspectContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
InspectContentResponse | The RPC response. |
InspectContentAsync(InspectContentRequest, CallSettings)
public override Task<InspectContentResponse> InspectContentAsync(InspectContentRequest request, CallSettings callSettings = null)
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/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
Parameters | |
---|---|
Name | Description |
request | InspectContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<InspectContentResponse> | A Task containing the RPC response. |
ListDeidentifyTemplates(ListDeidentifyTemplatesRequest, CallSettings)
public override PagedEnumerable<ListDeidentifyTemplatesResponse, DeidentifyTemplate> ListDeidentifyTemplates(ListDeidentifyTemplatesRequest request, CallSettings callSettings = null)
Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
Parameters | |
---|---|
Name | Description |
request | ListDeidentifyTemplatesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListDeidentifyTemplatesResponse, DeidentifyTemplate> | A pageable sequence of DeidentifyTemplate resources. |
ListDeidentifyTemplatesAsync(ListDeidentifyTemplatesRequest, CallSettings)
public override PagedAsyncEnumerable<ListDeidentifyTemplatesResponse, DeidentifyTemplate> ListDeidentifyTemplatesAsync(ListDeidentifyTemplatesRequest request, CallSettings callSettings = null)
Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
Parameters | |
---|---|
Name | Description |
request | ListDeidentifyTemplatesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListDeidentifyTemplatesResponse, DeidentifyTemplate> | A pageable asynchronous sequence of DeidentifyTemplate resources. |
ListDlpJobs(ListDlpJobsRequest, CallSettings)
public override PagedEnumerable<ListDlpJobsResponse, DlpJob> ListDlpJobs(ListDlpJobsRequest request, CallSettings callSettings = null)
Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
request | ListDlpJobsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListDlpJobsResponse, DlpJob> | A pageable sequence of DlpJob resources. |
ListDlpJobsAsync(ListDlpJobsRequest, CallSettings)
public override PagedAsyncEnumerable<ListDlpJobsResponse, DlpJob> ListDlpJobsAsync(ListDlpJobsRequest request, CallSettings callSettings = null)
Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
request | ListDlpJobsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListDlpJobsResponse, DlpJob> | A pageable asynchronous sequence of DlpJob resources. |
ListInfoTypes(ListInfoTypesRequest, CallSettings)
public override ListInfoTypesResponse ListInfoTypes(ListInfoTypesRequest request, CallSettings callSettings = null)
Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
Parameters | |
---|---|
Name | Description |
request | ListInfoTypesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ListInfoTypesResponse | The RPC response. |
ListInfoTypesAsync(ListInfoTypesRequest, CallSettings)
public override Task<ListInfoTypesResponse> ListInfoTypesAsync(ListInfoTypesRequest request, CallSettings callSettings = null)
Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
Parameters | |
---|---|
Name | Description |
request | ListInfoTypesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<ListInfoTypesResponse> | A Task containing the RPC response. |
ListInspectTemplates(ListInspectTemplatesRequest, CallSettings)
public override PagedEnumerable<ListInspectTemplatesResponse, InspectTemplate> ListInspectTemplates(ListInspectTemplatesRequest request, CallSettings callSettings = null)
Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request | ListInspectTemplatesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListInspectTemplatesResponse, InspectTemplate> | A pageable sequence of InspectTemplate resources. |
ListInspectTemplatesAsync(ListInspectTemplatesRequest, CallSettings)
public override PagedAsyncEnumerable<ListInspectTemplatesResponse, InspectTemplate> ListInspectTemplatesAsync(ListInspectTemplatesRequest request, CallSettings callSettings = null)
Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request | ListInspectTemplatesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListInspectTemplatesResponse, InspectTemplate> | A pageable asynchronous sequence of InspectTemplate resources. |
ListJobTriggers(ListJobTriggersRequest, CallSettings)
public override PagedEnumerable<ListJobTriggersResponse, JobTrigger> ListJobTriggers(ListJobTriggersRequest request, CallSettings callSettings = null)
Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
Parameters | |
---|---|
Name | Description |
request | ListJobTriggersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListJobTriggersResponse, JobTrigger> | A pageable sequence of JobTrigger resources. |
ListJobTriggersAsync(ListJobTriggersRequest, CallSettings)
public override PagedAsyncEnumerable<ListJobTriggersResponse, JobTrigger> ListJobTriggersAsync(ListJobTriggersRequest request, CallSettings callSettings = null)
Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
Parameters | |
---|---|
Name | Description |
request | ListJobTriggersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListJobTriggersResponse, JobTrigger> | A pageable asynchronous sequence of JobTrigger resources. |
ListStoredInfoTypes(ListStoredInfoTypesRequest, CallSettings)
public override PagedEnumerable<ListStoredInfoTypesResponse, StoredInfoType> ListStoredInfoTypes(ListStoredInfoTypesRequest request, CallSettings callSettings = null)
Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request | ListStoredInfoTypesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListStoredInfoTypesResponse, StoredInfoType> | A pageable sequence of StoredInfoType resources. |
ListStoredInfoTypesAsync(ListStoredInfoTypesRequest, CallSettings)
public override PagedAsyncEnumerable<ListStoredInfoTypesResponse, StoredInfoType> ListStoredInfoTypesAsync(ListStoredInfoTypesRequest request, CallSettings callSettings = null)
Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request | ListStoredInfoTypesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListStoredInfoTypesResponse, StoredInfoType> | A pageable asynchronous sequence of StoredInfoType resources. |
RedactImage(RedactImageRequest, CallSettings)
public override RedactImageResponse RedactImage(RedactImageRequest request, CallSettings callSettings = null)
Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/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.
Parameters | |
---|---|
Name | Description |
request | RedactImageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
RedactImageResponse | The RPC response. |
RedactImageAsync(RedactImageRequest, CallSettings)
public override Task<RedactImageResponse> RedactImageAsync(RedactImageRequest request, CallSettings callSettings = null)
Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/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.
Parameters | |
---|---|
Name | Description |
request | RedactImageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<RedactImageResponse> | A Task containing the RPC response. |
ReidentifyContent(ReidentifyContentRequest, CallSettings)
public override ReidentifyContentResponse ReidentifyContent(ReidentifyContentRequest request, CallSettings callSettings = null)
Re-identifies content that has been de-identified. See https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example to learn more.
Parameters | |
---|---|
Name | Description |
request | ReidentifyContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ReidentifyContentResponse | The RPC response. |
ReidentifyContentAsync(ReidentifyContentRequest, CallSettings)
public override Task<ReidentifyContentResponse> ReidentifyContentAsync(ReidentifyContentRequest request, CallSettings callSettings = null)
Re-identifies content that has been de-identified. See https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example to learn more.
Parameters | |
---|---|
Name | Description |
request | ReidentifyContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<ReidentifyContentResponse> | A Task containing the RPC response. |
UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest, CallSettings)
public override DeidentifyTemplate UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request, CallSettings callSettings = null)
Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
Parameters | |
---|---|
Name | Description |
request | UpdateDeidentifyTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DeidentifyTemplate | The RPC response. |
UpdateDeidentifyTemplateAsync(UpdateDeidentifyTemplateRequest, CallSettings)
public override Task<DeidentifyTemplate> UpdateDeidentifyTemplateAsync(UpdateDeidentifyTemplateRequest request, CallSettings callSettings = null)
Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
Parameters | |
---|---|
Name | Description |
request | UpdateDeidentifyTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<DeidentifyTemplate> | A Task containing the RPC response. |
UpdateInspectTemplate(UpdateInspectTemplateRequest, CallSettings)
public override InspectTemplate UpdateInspectTemplate(UpdateInspectTemplateRequest request, CallSettings callSettings = null)
Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request | UpdateInspectTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
InspectTemplate | The RPC response. |
UpdateInspectTemplateAsync(UpdateInspectTemplateRequest, CallSettings)
public override Task<InspectTemplate> UpdateInspectTemplateAsync(UpdateInspectTemplateRequest request, CallSettings callSettings = null)
Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request | UpdateInspectTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<InspectTemplate> | A Task containing the RPC response. |
UpdateJobTrigger(UpdateJobTriggerRequest, CallSettings)
public override JobTrigger UpdateJobTrigger(UpdateJobTriggerRequest request, CallSettings callSettings = null)
Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
Parameters | |
---|---|
Name | Description |
request | UpdateJobTriggerRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
JobTrigger | The RPC response. |
UpdateJobTriggerAsync(UpdateJobTriggerRequest, CallSettings)
public override Task<JobTrigger> UpdateJobTriggerAsync(UpdateJobTriggerRequest request, CallSettings callSettings = null)
Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
Parameters | |
---|---|
Name | Description |
request | UpdateJobTriggerRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<JobTrigger> | A Task containing the RPC response. |
UpdateStoredInfoType(UpdateStoredInfoTypeRequest, CallSettings)
public override StoredInfoType UpdateStoredInfoType(UpdateStoredInfoTypeRequest request, CallSettings callSettings = null)
Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request | UpdateStoredInfoTypeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
StoredInfoType | The RPC response. |
UpdateStoredInfoTypeAsync(UpdateStoredInfoTypeRequest, CallSettings)
public override Task<StoredInfoType> UpdateStoredInfoTypeAsync(UpdateStoredInfoTypeRequest request, CallSettings callSettings = null)
Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request | UpdateStoredInfoTypeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<StoredInfoType> | A Task containing the RPC response. |