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