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
def action_details() -> ::Array<::Google::Cloud::Dlp::V2::ActionDetails>
Returns
- (::Array<::Google::Cloud::Dlp::V2::ActionDetails>) — Events that should occur after the job has completed.
#action_details=
def action_details=(value) -> ::Array<::Google::Cloud::Dlp::V2::ActionDetails>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::ActionDetails>) — Events that should occur after the job has completed.
Returns
- (::Array<::Google::Cloud::Dlp::V2::ActionDetails>) — Events that should occur after the job has completed.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Time when the job was created.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Time when the job was created.
Returns
- (::Google::Protobuf::Timestamp) — Time when the job was created.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Time when the job finished.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Time when the job finished.
Returns
- (::Google::Protobuf::Timestamp) — Time when the job finished.
#errors
def errors() -> ::Array<::Google::Cloud::Dlp::V2::Error>
Returns
- (::Array<::Google::Cloud::Dlp::V2::Error>) — A stream of errors encountered running the job.
#errors=
def errors=(value) -> ::Array<::Google::Cloud::Dlp::V2::Error>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::Error>) — A stream of errors encountered running the job.
Returns
- (::Array<::Google::Cloud::Dlp::V2::Error>) — A stream of errors encountered running the job.
#inspect_details
def inspect_details() -> ::Google::Cloud::Dlp::V2::InspectDataSourceDetails
Returns
- (::Google::Cloud::Dlp::V2::InspectDataSourceDetails) — Results from inspecting a data source.
#inspect_details=
def inspect_details=(value) -> ::Google::Cloud::Dlp::V2::InspectDataSourceDetails
Parameter
- value (::Google::Cloud::Dlp::V2::InspectDataSourceDetails) — Results from inspecting a data source.
Returns
- (::Google::Cloud::Dlp::V2::InspectDataSourceDetails) — Results from inspecting a data source.
#job_trigger_name
def job_trigger_name() -> ::String
Returns
- (::String) — If created by a job trigger, the resource name of the trigger that instantiated the job.
#job_trigger_name=
def job_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
def last_modified() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Time when the job was last modified by the system.
#last_modified=
def last_modified=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Time when the job was last modified by the system.
Returns
- (::Google::Protobuf::Timestamp) — Time when the job was last modified by the system.
#name
def name() -> ::String
Returns
- (::String) — The server-assigned name.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The server-assigned name.
Returns
- (::String) — The server-assigned name.
#risk_details
def risk_details() -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails
Returns
- (::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails) — Results from analyzing risk of a data source.
#risk_details=
def risk_details=(value) -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails
Parameter
- value (::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails) — Results from analyzing risk of a data source.
Returns
- (::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails) — Results from analyzing risk of a data source.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Time when the job started.
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Time when the job started.
Returns
- (::Google::Protobuf::Timestamp) — Time when the job started.
#state
def state() -> ::Google::Cloud::Dlp::V2::DlpJob::JobState
Returns
- (::Google::Cloud::Dlp::V2::DlpJob::JobState) — State of a job.
#state=
def state=(value) -> ::Google::Cloud::Dlp::V2::DlpJob::JobState
Parameter
- value (::Google::Cloud::Dlp::V2::DlpJob::JobState) — State of a job.
Returns
- (::Google::Cloud::Dlp::V2::DlpJob::JobState) — State of a job.
#type
def type() -> ::Google::Cloud::Dlp::V2::DlpJobType
Returns
- (::Google::Cloud::Dlp::V2::DlpJobType) — The type of job.
#type=
def type=(value) -> ::Google::Cloud::Dlp::V2::DlpJobType
Parameter
- value (::Google::Cloud::Dlp::V2::DlpJobType) — The type of job.
Returns
- (::Google::Cloud::Dlp::V2::DlpJobType) — The type of job.