public sealed class DlpServiceClientImpl : DlpServiceClient
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DlpServiceClientImpl.
DlpService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Remarks
Sensitive Data Protection provides access to a powerful sensitive data inspection, classification, and de-identification platform that works on text, images, and Google Cloud storage repositories. To learn more about concepts and find how-to guides see https://cloud.google.com/sensitive-data-protection/docs/.
Constructors
DlpServiceClientImpl(DlpServiceClient, DlpServiceSettings, ILogger)
public DlpServiceClientImpl(DlpService.DlpServiceClient grpcClient, DlpServiceSettings settings, ILogger logger)
Constructs a client wrapper for the DlpService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
DlpServiceDlpServiceClient The underlying gRPC client. |
settings |
DlpServiceSettings The base DlpServiceSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override DlpService.DlpServiceClient GrpcClient { get; }
The underlying gRPC DlpService client
Property Value | |
---|---|
Type | Description |
DlpServiceDlpServiceClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
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 |
TaskDlpJob |
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/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/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/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/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. |
CreateConnection(CreateConnectionRequest, CallSettings)
public override Connection CreateConnection(CreateConnectionRequest request, CallSettings callSettings = null)
Create a Connection to an external data source.
Parameters | |
---|---|
Name | Description |
request |
CreateConnectionRequest 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 |
Connection |
The RPC response. |
CreateConnectionAsync(CreateConnectionRequest, CallSettings)
public override Task<Connection> CreateConnectionAsync(CreateConnectionRequest request, CallSettings callSettings = null)
Create a Connection to an external data source.
Parameters | |
---|---|
Name | Description |
request |
CreateConnectionRequest 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 |
TaskConnection |
A Task containing the RPC response. |
CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest, CallSettings)
public override DeidentifyTemplate CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest request, CallSettings callSettings = null)
Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/sensitive-data-protection/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 reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/sensitive-data-protection/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 |
TaskDeidentifyTemplate |
A Task containing the RPC response. |
CreateDiscoveryConfig(CreateDiscoveryConfigRequest, CallSettings)
public override DiscoveryConfig CreateDiscoveryConfig(CreateDiscoveryConfigRequest request, CallSettings callSettings = null)
Creates a config for discovery to scan and profile storage.
Parameters | |
---|---|
Name | Description |
request |
CreateDiscoveryConfigRequest 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 |
DiscoveryConfig |
The RPC response. |
CreateDiscoveryConfigAsync(CreateDiscoveryConfigRequest, CallSettings)
public override Task<DiscoveryConfig> CreateDiscoveryConfigAsync(CreateDiscoveryConfigRequest request, CallSettings callSettings = null)
Creates a config for discovery to scan and profile storage.
Parameters | |
---|---|
Name | Description |
request |
CreateDiscoveryConfigRequest 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 |
TaskDiscoveryConfig |
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/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/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/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/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 |
TaskDlpJob |
A Task containing the RPC response. |
CreateInspectTemplate(CreateInspectTemplateRequest, CallSettings)
public override InspectTemplate CreateInspectTemplate(CreateInspectTemplateRequest request, CallSettings callSettings = null)
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/sensitive-data-protection/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 reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/sensitive-data-protection/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 |
TaskInspectTemplate |
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/sensitive-data-protection/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/sensitive-data-protection/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 |
TaskJobTrigger |
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/sensitive-data-protection/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/sensitive-data-protection/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 |
TaskStoredInfoType |
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/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.
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/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.
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 |
TaskDeidentifyContentResponse |
A Task containing the RPC response. |
DeleteConnection(DeleteConnectionRequest, CallSettings)
public override void DeleteConnection(DeleteConnectionRequest request, CallSettings callSettings = null)
Delete a Connection.
Parameters | |
---|---|
Name | Description |
request |
DeleteConnectionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
DeleteConnectionAsync(DeleteConnectionRequest, CallSettings)
public override Task DeleteConnectionAsync(DeleteConnectionRequest request, CallSettings callSettings = null)
Delete a Connection.
Parameters | |
---|---|
Name | Description |
request |
DeleteConnectionRequest 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. |
DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest, CallSettings)
public override void DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request, CallSettings callSettings = null)
Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/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/sensitive-data-protection/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. |
DeleteDiscoveryConfig(DeleteDiscoveryConfigRequest, CallSettings)
public override void DeleteDiscoveryConfig(DeleteDiscoveryConfigRequest request, CallSettings callSettings = null)
Deletes a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
DeleteDiscoveryConfigRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
DeleteDiscoveryConfigAsync(DeleteDiscoveryConfigRequest, CallSettings)
public override Task DeleteDiscoveryConfigAsync(DeleteDiscoveryConfigRequest request, CallSettings callSettings = null)
Deletes a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
DeleteDiscoveryConfigRequest 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 canceled if possible. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/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 canceled if possible. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/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. |
DeleteFileStoreDataProfile(DeleteFileStoreDataProfileRequest, CallSettings)
public override void DeleteFileStoreDataProfile(DeleteFileStoreDataProfileRequest request, CallSettings callSettings = null)
Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
DeleteFileStoreDataProfileRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
DeleteFileStoreDataProfileAsync(DeleteFileStoreDataProfileRequest, CallSettings)
public override Task DeleteFileStoreDataProfileAsync(DeleteFileStoreDataProfileRequest request, CallSettings callSettings = null)
Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
DeleteFileStoreDataProfileRequest 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/sensitive-data-protection/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/sensitive-data-protection/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/sensitive-data-protection/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/sensitive-data-protection/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/sensitive-data-protection/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/sensitive-data-protection/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. |
DeleteTableDataProfile(DeleteTableDataProfileRequest, CallSettings)
public override void DeleteTableDataProfile(DeleteTableDataProfileRequest request, CallSettings callSettings = null)
Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
DeleteTableDataProfileRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
DeleteTableDataProfileAsync(DeleteTableDataProfileRequest, CallSettings)
public override Task DeleteTableDataProfileAsync(DeleteTableDataProfileRequest request, CallSettings callSettings = null)
Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
DeleteTableDataProfileRequest 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.
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.
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. |
GetColumnDataProfile(GetColumnDataProfileRequest, CallSettings)
public override ColumnDataProfile GetColumnDataProfile(GetColumnDataProfileRequest request, CallSettings callSettings = null)
Gets a column data profile.
Parameters | |
---|---|
Name | Description |
request |
GetColumnDataProfileRequest 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 |
ColumnDataProfile |
The RPC response. |
GetColumnDataProfileAsync(GetColumnDataProfileRequest, CallSettings)
public override Task<ColumnDataProfile> GetColumnDataProfileAsync(GetColumnDataProfileRequest request, CallSettings callSettings = null)
Gets a column data profile.
Parameters | |
---|---|
Name | Description |
request |
GetColumnDataProfileRequest 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 |
TaskColumnDataProfile |
A Task containing the RPC response. |
GetConnection(GetConnectionRequest, CallSettings)
public override Connection GetConnection(GetConnectionRequest request, CallSettings callSettings = null)
Get a Connection by name.
Parameters | |
---|---|
Name | Description |
request |
GetConnectionRequest 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 |
Connection |
The RPC response. |
GetConnectionAsync(GetConnectionRequest, CallSettings)
public override Task<Connection> GetConnectionAsync(GetConnectionRequest request, CallSettings callSettings = null)
Get a Connection by name.
Parameters | |
---|---|
Name | Description |
request |
GetConnectionRequest 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 |
TaskConnection |
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/sensitive-data-protection/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/sensitive-data-protection/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 |
TaskDeidentifyTemplate |
A Task containing the RPC response. |
GetDiscoveryConfig(GetDiscoveryConfigRequest, CallSettings)
public override DiscoveryConfig GetDiscoveryConfig(GetDiscoveryConfigRequest request, CallSettings callSettings = null)
Gets a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
GetDiscoveryConfigRequest 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 |
DiscoveryConfig |
The RPC response. |
GetDiscoveryConfigAsync(GetDiscoveryConfigRequest, CallSettings)
public override Task<DiscoveryConfig> GetDiscoveryConfigAsync(GetDiscoveryConfigRequest request, CallSettings callSettings = null)
Gets a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
GetDiscoveryConfigRequest 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 |
TaskDiscoveryConfig |
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/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/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/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/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 |
TaskDlpJob |
A Task containing the RPC response. |
GetFileStoreDataProfile(GetFileStoreDataProfileRequest, CallSettings)
public override FileStoreDataProfile GetFileStoreDataProfile(GetFileStoreDataProfileRequest request, CallSettings callSettings = null)
Gets a file store data profile.
Parameters | |
---|---|
Name | Description |
request |
GetFileStoreDataProfileRequest 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 |
FileStoreDataProfile |
The RPC response. |
GetFileStoreDataProfileAsync(GetFileStoreDataProfileRequest, CallSettings)
public override Task<FileStoreDataProfile> GetFileStoreDataProfileAsync(GetFileStoreDataProfileRequest request, CallSettings callSettings = null)
Gets a file store data profile.
Parameters | |
---|---|
Name | Description |
request |
GetFileStoreDataProfileRequest 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 |
TaskFileStoreDataProfile |
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/sensitive-data-protection/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/sensitive-data-protection/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 |
TaskInspectTemplate |
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/sensitive-data-protection/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/sensitive-data-protection/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 |
TaskJobTrigger |
A Task containing the RPC response. |
GetProjectDataProfile(GetProjectDataProfileRequest, CallSettings)
public override ProjectDataProfile GetProjectDataProfile(GetProjectDataProfileRequest request, CallSettings callSettings = null)
Gets a project data profile.
Parameters | |
---|---|
Name | Description |
request |
GetProjectDataProfileRequest 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 |
ProjectDataProfile |
The RPC response. |
GetProjectDataProfileAsync(GetProjectDataProfileRequest, CallSettings)
public override Task<ProjectDataProfile> GetProjectDataProfileAsync(GetProjectDataProfileRequest request, CallSettings callSettings = null)
Gets a project data profile.
Parameters | |
---|---|
Name | Description |
request |
GetProjectDataProfileRequest 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 |
TaskProjectDataProfile |
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/sensitive-data-protection/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/sensitive-data-protection/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 |
TaskStoredInfoType |
A Task containing the RPC response. |
GetTableDataProfile(GetTableDataProfileRequest, CallSettings)
public override TableDataProfile GetTableDataProfile(GetTableDataProfileRequest request, CallSettings callSettings = null)
Gets a table data profile.
Parameters | |
---|---|
Name | Description |
request |
GetTableDataProfileRequest 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 |
TableDataProfile |
The RPC response. |
GetTableDataProfileAsync(GetTableDataProfileRequest, CallSettings)
public override Task<TableDataProfile> GetTableDataProfileAsync(GetTableDataProfileRequest request, CallSettings callSettings = null)
Gets a table data profile.
Parameters | |
---|---|
Name | Description |
request |
GetTableDataProfileRequest 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 |
TaskTableDataProfile |
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.
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.
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 |
TaskHybridInspectResponse |
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.
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.
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 |
TaskHybridInspectResponse |
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/sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/sensitive-data-protection/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/sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/sensitive-data-protection/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 |
TaskInspectContentResponse |
A Task containing the RPC response. |
ListColumnDataProfiles(ListColumnDataProfilesRequest, CallSettings)
public override PagedEnumerable<ListColumnDataProfilesResponse, ColumnDataProfile> ListColumnDataProfiles(ListColumnDataProfilesRequest request, CallSettings callSettings = null)
Lists column data profiles for an organization.
Parameters | |
---|---|
Name | Description |
request |
ListColumnDataProfilesRequest 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 |
PagedEnumerableListColumnDataProfilesResponseColumnDataProfile |
A pageable sequence of ColumnDataProfile resources. |
ListColumnDataProfilesAsync(ListColumnDataProfilesRequest, CallSettings)
public override PagedAsyncEnumerable<ListColumnDataProfilesResponse, ColumnDataProfile> ListColumnDataProfilesAsync(ListColumnDataProfilesRequest request, CallSettings callSettings = null)
Lists column data profiles for an organization.
Parameters | |
---|---|
Name | Description |
request |
ListColumnDataProfilesRequest 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 |
PagedAsyncEnumerableListColumnDataProfilesResponseColumnDataProfile |
A pageable asynchronous sequence of ColumnDataProfile resources. |
ListConnections(ListConnectionsRequest, CallSettings)
public override PagedEnumerable<ListConnectionsResponse, Connection> ListConnections(ListConnectionsRequest request, CallSettings callSettings = null)
Lists Connections in a parent. Use SearchConnections to see all connections within an organization.
Parameters | |
---|---|
Name | Description |
request |
ListConnectionsRequest 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 |
PagedEnumerableListConnectionsResponseConnection |
A pageable sequence of Connection resources. |
ListConnectionsAsync(ListConnectionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListConnectionsResponse, Connection> ListConnectionsAsync(ListConnectionsRequest request, CallSettings callSettings = null)
Lists Connections in a parent. Use SearchConnections to see all connections within an organization.
Parameters | |
---|---|
Name | Description |
request |
ListConnectionsRequest 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 |
PagedAsyncEnumerableListConnectionsResponseConnection |
A pageable asynchronous sequence of Connection resources. |
ListDeidentifyTemplates(ListDeidentifyTemplatesRequest, CallSettings)
public override PagedEnumerable<ListDeidentifyTemplatesResponse, DeidentifyTemplate> ListDeidentifyTemplates(ListDeidentifyTemplatesRequest request, CallSettings callSettings = null)
Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-protection/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 |
PagedEnumerableListDeidentifyTemplatesResponseDeidentifyTemplate |
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/sensitive-data-protection/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 |
PagedAsyncEnumerableListDeidentifyTemplatesResponseDeidentifyTemplate |
A pageable asynchronous sequence of DeidentifyTemplate resources. |
ListDiscoveryConfigs(ListDiscoveryConfigsRequest, CallSettings)
public override PagedEnumerable<ListDiscoveryConfigsResponse, DiscoveryConfig> ListDiscoveryConfigs(ListDiscoveryConfigsRequest request, CallSettings callSettings = null)
Lists discovery configurations.
Parameters | |
---|---|
Name | Description |
request |
ListDiscoveryConfigsRequest 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 |
PagedEnumerableListDiscoveryConfigsResponseDiscoveryConfig |
A pageable sequence of DiscoveryConfig resources. |
ListDiscoveryConfigsAsync(ListDiscoveryConfigsRequest, CallSettings)
public override PagedAsyncEnumerable<ListDiscoveryConfigsResponse, DiscoveryConfig> ListDiscoveryConfigsAsync(ListDiscoveryConfigsRequest request, CallSettings callSettings = null)
Lists discovery configurations.
Parameters | |
---|---|
Name | Description |
request |
ListDiscoveryConfigsRequest 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 |
PagedAsyncEnumerableListDiscoveryConfigsResponseDiscoveryConfig |
A pageable asynchronous sequence of DiscoveryConfig 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/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/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 |
PagedEnumerableListDlpJobsResponseDlpJob |
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/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/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 |
PagedAsyncEnumerableListDlpJobsResponseDlpJob |
A pageable asynchronous sequence of DlpJob resources. |
ListFileStoreDataProfiles(ListFileStoreDataProfilesRequest, CallSettings)
public override PagedEnumerable<ListFileStoreDataProfilesResponse, FileStoreDataProfile> ListFileStoreDataProfiles(ListFileStoreDataProfilesRequest request, CallSettings callSettings = null)
Lists file store data profiles for an organization.
Parameters | |
---|---|
Name | Description |
request |
ListFileStoreDataProfilesRequest 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 |
PagedEnumerableListFileStoreDataProfilesResponseFileStoreDataProfile |
A pageable sequence of FileStoreDataProfile resources. |
ListFileStoreDataProfilesAsync(ListFileStoreDataProfilesRequest, CallSettings)
public override PagedAsyncEnumerable<ListFileStoreDataProfilesResponse, FileStoreDataProfile> ListFileStoreDataProfilesAsync(ListFileStoreDataProfilesRequest request, CallSettings callSettings = null)
Lists file store data profiles for an organization.
Parameters | |
---|---|
Name | Description |
request |
ListFileStoreDataProfilesRequest 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 |
PagedAsyncEnumerableListFileStoreDataProfilesResponseFileStoreDataProfile |
A pageable asynchronous sequence of FileStoreDataProfile resources. |
ListInfoTypes(ListInfoTypesRequest, CallSettings)
public override ListInfoTypesResponse ListInfoTypes(ListInfoTypesRequest request, CallSettings callSettings = null)
Returns a list of the sensitive information types that DLP API supports. See https://cloud.google.com/sensitive-data-protection/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 DLP API supports. See https://cloud.google.com/sensitive-data-protection/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 |
TaskListInfoTypesResponse |
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/sensitive-data-protection/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 |
PagedEnumerableListInspectTemplatesResponseInspectTemplate |
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/sensitive-data-protection/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 |
PagedAsyncEnumerableListInspectTemplatesResponseInspectTemplate |
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/sensitive-data-protection/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 |
PagedEnumerableListJobTriggersResponseJobTrigger |
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/sensitive-data-protection/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 |
PagedAsyncEnumerableListJobTriggersResponseJobTrigger |
A pageable asynchronous sequence of JobTrigger resources. |
ListProjectDataProfiles(ListProjectDataProfilesRequest, CallSettings)
public override PagedEnumerable<ListProjectDataProfilesResponse, ProjectDataProfile> ListProjectDataProfiles(ListProjectDataProfilesRequest request, CallSettings callSettings = null)
Lists project data profiles for an organization.
Parameters | |
---|---|
Name | Description |
request |
ListProjectDataProfilesRequest 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 |
PagedEnumerableListProjectDataProfilesResponseProjectDataProfile |
A pageable sequence of ProjectDataProfile resources. |
ListProjectDataProfilesAsync(ListProjectDataProfilesRequest, CallSettings)
public override PagedAsyncEnumerable<ListProjectDataProfilesResponse, ProjectDataProfile> ListProjectDataProfilesAsync(ListProjectDataProfilesRequest request, CallSettings callSettings = null)
Lists project data profiles for an organization.
Parameters | |
---|---|
Name | Description |
request |
ListProjectDataProfilesRequest 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 |
PagedAsyncEnumerableListProjectDataProfilesResponseProjectDataProfile |
A pageable asynchronous sequence of ProjectDataProfile resources. |
ListStoredInfoTypes(ListStoredInfoTypesRequest, CallSettings)
public override PagedEnumerable<ListStoredInfoTypesResponse, StoredInfoType> ListStoredInfoTypes(ListStoredInfoTypesRequest request, CallSettings callSettings = null)
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/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 |
PagedEnumerableListStoredInfoTypesResponseStoredInfoType |
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/sensitive-data-protection/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 |
PagedAsyncEnumerableListStoredInfoTypesResponseStoredInfoType |
A pageable asynchronous sequence of StoredInfoType resources. |
ListTableDataProfiles(ListTableDataProfilesRequest, CallSettings)
public override PagedEnumerable<ListTableDataProfilesResponse, TableDataProfile> ListTableDataProfiles(ListTableDataProfilesRequest request, CallSettings callSettings = null)
Lists table data profiles for an organization.
Parameters | |
---|---|
Name | Description |
request |
ListTableDataProfilesRequest 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 |
PagedEnumerableListTableDataProfilesResponseTableDataProfile |
A pageable sequence of TableDataProfile resources. |
ListTableDataProfilesAsync(ListTableDataProfilesRequest, CallSettings)
public override PagedAsyncEnumerable<ListTableDataProfilesResponse, TableDataProfile> ListTableDataProfilesAsync(ListTableDataProfilesRequest request, CallSettings callSettings = null)
Lists table data profiles for an organization.
Parameters | |
---|---|
Name | Description |
request |
ListTableDataProfilesRequest 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 |
PagedAsyncEnumerableListTableDataProfilesResponseTableDataProfile |
A pageable asynchronous sequence of TableDataProfile 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/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.
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/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.
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 |
TaskRedactImageResponse |
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/sensitive-data-protection/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/sensitive-data-protection/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 |
TaskReidentifyContentResponse |
A Task containing the RPC response. |
SearchConnections(SearchConnectionsRequest, CallSettings)
public override PagedEnumerable<SearchConnectionsResponse, Connection> SearchConnections(SearchConnectionsRequest request, CallSettings callSettings = null)
Searches for Connections in a parent.
Parameters | |
---|---|
Name | Description |
request |
SearchConnectionsRequest 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 |
PagedEnumerableSearchConnectionsResponseConnection |
A pageable sequence of Connection resources. |
SearchConnectionsAsync(SearchConnectionsRequest, CallSettings)
public override PagedAsyncEnumerable<SearchConnectionsResponse, Connection> SearchConnectionsAsync(SearchConnectionsRequest request, CallSettings callSettings = null)
Searches for Connections in a parent.
Parameters | |
---|---|
Name | Description |
request |
SearchConnectionsRequest 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 |
PagedAsyncEnumerableSearchConnectionsResponseConnection |
A pageable asynchronous sequence of Connection resources. |
UpdateConnection(UpdateConnectionRequest, CallSettings)
public override Connection UpdateConnection(UpdateConnectionRequest request, CallSettings callSettings = null)
Update a Connection.
Parameters | |
---|---|
Name | Description |
request |
UpdateConnectionRequest 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 |
Connection |
The RPC response. |
UpdateConnectionAsync(UpdateConnectionRequest, CallSettings)
public override Task<Connection> UpdateConnectionAsync(UpdateConnectionRequest request, CallSettings callSettings = null)
Update a Connection.
Parameters | |
---|---|
Name | Description |
request |
UpdateConnectionRequest 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 |
TaskConnection |
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/sensitive-data-protection/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/sensitive-data-protection/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 |
TaskDeidentifyTemplate |
A Task containing the RPC response. |
UpdateDiscoveryConfig(UpdateDiscoveryConfigRequest, CallSettings)
public override DiscoveryConfig UpdateDiscoveryConfig(UpdateDiscoveryConfigRequest request, CallSettings callSettings = null)
Updates a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
UpdateDiscoveryConfigRequest 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 |
DiscoveryConfig |
The RPC response. |
UpdateDiscoveryConfigAsync(UpdateDiscoveryConfigRequest, CallSettings)
public override Task<DiscoveryConfig> UpdateDiscoveryConfigAsync(UpdateDiscoveryConfigRequest request, CallSettings callSettings = null)
Updates a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
UpdateDiscoveryConfigRequest 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 |
TaskDiscoveryConfig |
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/sensitive-data-protection/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/sensitive-data-protection/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 |
TaskInspectTemplate |
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/sensitive-data-protection/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/sensitive-data-protection/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 |
TaskJobTrigger |
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/sensitive-data-protection/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/sensitive-data-protection/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 |
TaskStoredInfoType |
A Task containing the RPC response. |