Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DlpJob (v1.15.1)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DlpJob.

Combines all of the information about a DLP job.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action_details

defaction_details()->::Array<::Google::Cloud::Dlp::V2::ActionDetails>
Returns

#action_details=

defaction_details=(value)->::Array<::Google::Cloud::Dlp::V2::ActionDetails>
Parameter
Returns

#create_time

defcreate_time()->::Google::Protobuf::Timestamp
Returns

#create_time=

defcreate_time=(value)->::Google::Protobuf::Timestamp
Parameter
Returns

#end_time

defend_time()->::Google::Protobuf::Timestamp
Returns

#end_time=

defend_time=(value)->::Google::Protobuf::Timestamp
Parameter
Returns

#errors

deferrors()->::Array<::Google::Cloud::Dlp::V2::Error>
Returns

#errors=

deferrors=(value)->::Array<::Google::Cloud::Dlp::V2::Error>
Parameter
Returns

#inspect_details

definspect_details()->::Google::Cloud::Dlp::V2::InspectDataSourceDetails
Returns
  • (::Google::Cloud::Dlp::V2::InspectDataSourceDetails) — Results from inspecting a data source.

    Note: The following fields are mutually exclusive: inspect_details, risk_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

#inspect_details=

definspect_details=(value)->::Google::Cloud::Dlp::V2::InspectDataSourceDetails
Parameter
  • value (::Google::Cloud::Dlp::V2::InspectDataSourceDetails) — Results from inspecting a data source.

    Note: The following fields are mutually exclusive: inspect_details, risk_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::InspectDataSourceDetails) — Results from inspecting a data source.

    Note: The following fields are mutually exclusive: inspect_details, risk_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

#job_trigger_name

defjob_trigger_name()->::String
Returns
  • (::String) — If created by a job trigger, the resource name of the trigger that instantiated the job.

#job_trigger_name=

defjob_trigger_name=(value)->::String
Parameter
  • value (::String) — If created by a job trigger, the resource name of the trigger that instantiated the job.
Returns
  • (::String) — If created by a job trigger, the resource name of the trigger that instantiated the job.

#last_modified

deflast_modified()->::Google::Protobuf::Timestamp
Returns

#last_modified=

deflast_modified=(value)->::Google::Protobuf::Timestamp
Parameter
Returns

#name

defname()->::String
Returns
  • (::String) — The server-assigned name.

#name=

defname=(value)->::String
Parameter
  • value (::String) — The server-assigned name.
Returns
  • (::String) — The server-assigned name.

#risk_details

defrisk_details()->::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails
Returns
  • (::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails) — Results from analyzing risk of a data source.

    Note: The following fields are mutually exclusive: risk_details, inspect_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

#risk_details=

defrisk_details=(value)->::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails
Parameter
  • value (::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails) — Results from analyzing risk of a data source.

    Note: The following fields are mutually exclusive: risk_details, inspect_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails) — Results from analyzing risk of a data source.

    Note: The following fields are mutually exclusive: risk_details, inspect_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

#start_time

defstart_time()->::Google::Protobuf::Timestamp
Returns

#start_time=

defstart_time=(value)->::Google::Protobuf::Timestamp
Parameter
Returns

#state

defstate()->::Google::Cloud::Dlp::V2::DlpJob::JobState
Returns

#state=

defstate=(value)->::Google::Cloud::Dlp::V2::DlpJob::JobState
Parameter
Returns

#type

deftype()->::Google::Cloud::Dlp::V2::DlpJobType
Returns

#type=

deftype=(value)->::Google::Cloud::Dlp::V2::DlpJobType
Parameter
Returns

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.