Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
Combines all of the information about a DLP job.
Instance Attribute Summary collapse
-
#action_details ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ActionDetails>
Events that should occur after the job has completed.
-
#create_time ⇒ String
Time when the job was created.
-
#end_time ⇒ String
Time when the job finished.
-
#errors ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>
A stream of errors encountered running the job.
-
#inspect_details ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectDataSourceDetails
The results of an inspect DataSource job.
-
#job_trigger_name ⇒ String
If created by a job trigger, the resource name of the trigger that instantiated the job.
-
#last_modified ⇒ String
Time when the job was last modified by the system.
-
#name ⇒ String
The server-assigned name.
-
#risk_details ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails
Result of a risk analysis operation request.
-
#start_time ⇒ String
Time when the job started.
-
#state ⇒ String
State of a job.
-
#type ⇒ String
The type of job.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DlpJob
constructor
A new instance of GooglePrivacyDlpV2DlpJob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DlpJob
Returns a new instance of GooglePrivacyDlpV2DlpJob.
4261 4262 4263 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4261 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_details ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ActionDetails>
Events that should occur after the job has completed.
Corresponds to the JSON property actionDetails
4203 4204 4205 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4203 def action_details @action_details end |
#create_time ⇒ String
Time when the job was created.
Corresponds to the JSON property createTime
4208 4209 4210 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4208 def create_time @create_time end |
#end_time ⇒ String
Time when the job finished.
Corresponds to the JSON property endTime
4213 4214 4215 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4213 def end_time @end_time end |
#errors ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>
A stream of errors encountered running the job.
Corresponds to the JSON property errors
4218 4219 4220 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4218 def errors @errors end |
#inspect_details ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectDataSourceDetails
The results of an inspect DataSource job.
Corresponds to the JSON property inspectDetails
4223 4224 4225 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4223 def inspect_details @inspect_details end |
#job_trigger_name ⇒ String
If created by a job trigger, the resource name of the trigger that
instantiated the job.
Corresponds to the JSON property jobTriggerName
4229 4230 4231 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4229 def job_trigger_name @job_trigger_name end |
#last_modified ⇒ String
Time when the job was last modified by the system.
Corresponds to the JSON property lastModified
4234 4235 4236 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4234 def last_modified @last_modified end |
#name ⇒ String
The server-assigned name.
Corresponds to the JSON property name
4239 4240 4241 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4239 def name @name end |
#risk_details ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails
Result of a risk analysis operation request.
Corresponds to the JSON property riskDetails
4244 4245 4246 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4244 def risk_details @risk_details end |
#start_time ⇒ String
Time when the job started.
Corresponds to the JSON property startTime
4249 4250 4251 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4249 def start_time @start_time end |
#state ⇒ String
State of a job.
Corresponds to the JSON property state
4254 4255 4256 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4254 def state @state end |
#type ⇒ String
The type of job.
Corresponds to the JSON property type
4259 4260 4261 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4259 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4266 def update!(**args) @action_details = args[:action_details] if args.key?(:action_details) @create_time = args[:create_time] if args.key?(:create_time) @end_time = args[:end_time] if args.key?(:end_time) @errors = args[:errors] if args.key?(:errors) @inspect_details = args[:inspect_details] if args.key?(:inspect_details) @job_trigger_name = args[:job_trigger_name] if args.key?(:job_trigger_name) @last_modified = args[:last_modified] if args.key?(:last_modified) @name = args[:name] if args.key?(:name) @risk_details = args[:risk_details] if args.key?(:risk_details) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) end |