Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
 generated/google/apis/dlp_v2/representations.rb,
 generated/google/apis/dlp_v2/representations.rb
Overview
Combines all of the information about a DLP job.
Instance Attribute Summary collapse
- 
  
    
      #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. 
- 
  
    
      #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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DlpJob
Returns a new instance of GooglePrivacyDlpV2DlpJob
| 1578 1579 1580 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1578 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#create_time ⇒ String
Time when the job was created.
Corresponds to the JSON property createTime
| 1530 1531 1532 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1530 def create_time @create_time end | 
#end_time ⇒ String
Time when the job finished.
Corresponds to the JSON property endTime
| 1535 1536 1537 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1535 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
| 1540 1541 1542 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1540 def errors @errors end | 
#inspect_details ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectDataSourceDetails
The results of an inspect DataSource job.
Corresponds to the JSON property inspectDetails
| 1545 1546 1547 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1545 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
| 1551 1552 1553 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1551 def job_trigger_name @job_trigger_name end | 
#name ⇒ String
The server-assigned name.
Corresponds to the JSON property name
| 1556 1557 1558 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1556 def name @name end | 
#risk_details ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails
Result of a risk analysis operation request.
Corresponds to the JSON property riskDetails
| 1561 1562 1563 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1561 def risk_details @risk_details end | 
#start_time ⇒ String
Time when the job started.
Corresponds to the JSON property startTime
| 1566 1567 1568 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1566 def start_time @start_time end | 
#state ⇒ String
State of a job.
Corresponds to the JSON property state
| 1571 1572 1573 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1571 def state @state end | 
#type ⇒ String
The type of job.
Corresponds to the JSON property type
| 1576 1577 1578 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1576 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1583 def update!(**args) @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) @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 |