Class: Google::Privacy::Dlp::V2::DlpJob

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb

Overview

Combines all of the information about a DLP job.

Defined Under Namespace

Modules: JobState

Instance Attribute Summary collapse

Instance Attribute Details

#create_timeGoogle::Protobuf::Timestamp

Returns Time when the job was created.

Returns:



2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2251

class DlpJob
  module JobState
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

    # The job was canceled before it could complete.
    CANCELED = 4

    # The job had an error and did not complete.
    FAILED = 5
  end
end

#end_timeGoogle::Protobuf::Timestamp

Returns Time when the job finished.

Returns:



2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2251

class DlpJob
  module JobState
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

    # The job was canceled before it could complete.
    CANCELED = 4

    # The job had an error and did not complete.
    FAILED = 5
  end
end

#errorsArray<Google::Privacy::Dlp::V2::Error>

Returns A stream of errors encountered running the job.

Returns:



2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2251

class DlpJob
  module JobState
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

    # The job was canceled before it could complete.
    CANCELED = 4

    # The job had an error and did not complete.
    FAILED = 5
  end
end

#inspect_detailsGoogle::Privacy::Dlp::V2::InspectDataSourceDetails

Returns Results from inspecting a data source.

Returns:



2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2251

class DlpJob
  module JobState
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

    # The job was canceled before it could complete.
    CANCELED = 4

    # The job had an error and did not complete.
    FAILED = 5
  end
end

#job_trigger_nameString

Returns If created by a job trigger, the resource name of the trigger that instantiated the job.

Returns:

  • (String)

    If created by a job trigger, the resource name of the trigger that instantiated the job.



2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2251

class DlpJob
  module JobState
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

    # The job was canceled before it could complete.
    CANCELED = 4

    # The job had an error and did not complete.
    FAILED = 5
  end
end

#nameString

Returns The server-assigned name.

Returns:

  • (String)

    The server-assigned name.



2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2251

class DlpJob
  module JobState
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

    # The job was canceled before it could complete.
    CANCELED = 4

    # The job had an error and did not complete.
    FAILED = 5
  end
end

#risk_detailsGoogle::Privacy::Dlp::V2::AnalyzeDataSourceRiskDetails

Returns Results from analyzing risk of a data source.

Returns:



2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2251

class DlpJob
  module JobState
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

    # The job was canceled before it could complete.
    CANCELED = 4

    # The job had an error and did not complete.
    FAILED = 5
  end
end

#start_timeGoogle::Protobuf::Timestamp

Returns Time when the job started.

Returns:



2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2251

class DlpJob
  module JobState
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

    # The job was canceled before it could complete.
    CANCELED = 4

    # The job had an error and did not complete.
    FAILED = 5
  end
end

#stateGoogle::Privacy::Dlp::V2::DlpJob::JobState

Returns State of a job.

Returns:



2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2251

class DlpJob
  module JobState
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

    # The job was canceled before it could complete.
    CANCELED = 4

    # The job had an error and did not complete.
    FAILED = 5
  end
end

#typeGoogle::Privacy::Dlp::V2::DlpJobType

Returns The type of job.

Returns:



2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2251

class DlpJob
  module JobState
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

    # The job was canceled before it could complete.
    CANCELED = 4

    # The job had an error and did not complete.
    FAILED = 5
  end
end