Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/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.
-
#error_results ⇒ Array<Google::Apis::DlpV2beta2::GoogleRpcStatus>
A stream of errors encountered running the job.
-
#inspect_details ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectDataSourceDetails
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::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails
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) ⇒ GooglePrivacyDlpV2beta2DlpJob
constructor
A new instance of GooglePrivacyDlpV2beta2DlpJob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2DlpJob
Returns a new instance of GooglePrivacyDlpV2beta2DlpJob
2993 2994 2995 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2993 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Time when the job was created.
Corresponds to the JSON property createTime
2945 2946 2947 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2945 def create_time @create_time end |
#end_time ⇒ String
Time when the job finished.
Corresponds to the JSON property endTime
2950 2951 2952 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2950 def end_time @end_time end |
#error_results ⇒ Array<Google::Apis::DlpV2beta2::GoogleRpcStatus>
A stream of errors encountered running the job.
Corresponds to the JSON property errorResults
2955 2956 2957 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2955 def error_results @error_results end |
#inspect_details ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectDataSourceDetails
The results of an inspect DataSource job.
Corresponds to the JSON property inspectDetails
2960 2961 2962 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2960 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
2966 2967 2968 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2966 def job_trigger_name @job_trigger_name end |
#name ⇒ String
The server-assigned name.
Corresponds to the JSON property name
2971 2972 2973 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2971 def name @name end |
#risk_details ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails
Result of a risk analysis operation request.
Corresponds to the JSON property riskDetails
2976 2977 2978 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2976 def risk_details @risk_details end |
#start_time ⇒ String
Time when the job started.
Corresponds to the JSON property startTime
2981 2982 2983 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2981 def start_time @start_time end |
#state ⇒ String
State of a job.
Corresponds to the JSON property state
2986 2987 2988 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2986 def state @state end |
#type ⇒ String
The type of job.
Corresponds to the JSON property type
2991 2992 2993 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2991 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2998 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @end_time = args[:end_time] if args.key?(:end_time) @error_results = args[:error_results] if args.key?(:error_results) @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 |