Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_timeString

Time when the job was created. Corresponds to the JSON property createTime

Returns:

  • (String)


2945
2946
2947
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2945

def create_time
  @create_time
end

#end_timeString

Time when the job finished. Corresponds to the JSON property endTime

Returns:

  • (String)


2950
2951
2952
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2950

def end_time
  @end_time
end

#error_resultsArray<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_detailsGoogle::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_nameString

If created by a job trigger, the resource name of the trigger that instantiated the job. Corresponds to the JSON property jobTriggerName

Returns:

  • (String)


2966
2967
2968
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2966

def job_trigger_name
  @job_trigger_name
end

#nameString

The server-assigned name. Corresponds to the JSON property name

Returns:

  • (String)


2971
2972
2973
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2971

def name
  @name
end

#risk_detailsGoogle::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_timeString

Time when the job started. Corresponds to the JSON property startTime

Returns:

  • (String)


2981
2982
2983
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2981

def start_time
  @start_time
end

#stateString

State of a job. Corresponds to the JSON property state

Returns:

  • (String)


2986
2987
2988
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2986

def state
  @state
end

#typeString

The type of job. Corresponds to the JSON property type

Returns:

  • (String)


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