Class: Google::Cloud::Dlp::V2::DlpJob

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/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

#action_details::Array<::Google::Cloud::Dlp::V2::ActionDetails>

Returns Events that should occur after the job has completed.

Returns:



5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5951

class DlpJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of a job. New items may be added.
  module JobState
    # Unused.
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running. Once a job has finished it will transition
    # to FAILED or DONE.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

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

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

    # The job is currently accepting findings via hybridInspect.
    # A hybrid job in ACTIVE state may continue to have findings added to it
    # through the calling of hybridInspect. After the job has finished no more
    # calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
    ACTIVE = 6
  end
end

#create_time::Google::Protobuf::Timestamp

Returns Time when the job was created.

Returns:



5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5951

class DlpJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of a job. New items may be added.
  module JobState
    # Unused.
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running. Once a job has finished it will transition
    # to FAILED or DONE.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

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

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

    # The job is currently accepting findings via hybridInspect.
    # A hybrid job in ACTIVE state may continue to have findings added to it
    # through the calling of hybridInspect. After the job has finished no more
    # calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
    ACTIVE = 6
  end
end

#end_time::Google::Protobuf::Timestamp

Returns Time when the job finished.

Returns:



5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5951

class DlpJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of a job. New items may be added.
  module JobState
    # Unused.
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running. Once a job has finished it will transition
    # to FAILED or DONE.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

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

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

    # The job is currently accepting findings via hybridInspect.
    # A hybrid job in ACTIVE state may continue to have findings added to it
    # through the calling of hybridInspect. After the job has finished no more
    # calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
    ACTIVE = 6
  end
end

#errors::Array<::Google::Cloud::Dlp::V2::Error>

Returns A stream of errors encountered running the job.

Returns:



5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5951

class DlpJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of a job. New items may be added.
  module JobState
    # Unused.
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running. Once a job has finished it will transition
    # to FAILED or DONE.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

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

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

    # The job is currently accepting findings via hybridInspect.
    # A hybrid job in ACTIVE state may continue to have findings added to it
    # through the calling of hybridInspect. After the job has finished no more
    # calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
    ACTIVE = 6
  end
end

#inspect_details::Google::Cloud::Dlp::V2::InspectDataSourceDetails

Returns Results from inspecting a data source.

Note: The following fields are mutually exclusive: inspect_details, risk_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::InspectDataSourceDetails)

    Results from inspecting a data source.

    Note: The following fields are mutually exclusive: inspect_details, risk_details. If a field in that set is populated, all other fields in the set will automatically be cleared.



5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5951

class DlpJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of a job. New items may be added.
  module JobState
    # Unused.
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running. Once a job has finished it will transition
    # to FAILED or DONE.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

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

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

    # The job is currently accepting findings via hybridInspect.
    # A hybrid job in ACTIVE state may continue to have findings added to it
    # through the calling of hybridInspect. After the job has finished no more
    # calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
    ACTIVE = 6
  end
end

#job_trigger_name::String

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.



5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5951

class DlpJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of a job. New items may be added.
  module JobState
    # Unused.
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running. Once a job has finished it will transition
    # to FAILED or DONE.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

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

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

    # The job is currently accepting findings via hybridInspect.
    # A hybrid job in ACTIVE state may continue to have findings added to it
    # through the calling of hybridInspect. After the job has finished no more
    # calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
    ACTIVE = 6
  end
end

#last_modified::Google::Protobuf::Timestamp

Returns Time when the job was last modified by the system.

Returns:



5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5951

class DlpJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of a job. New items may be added.
  module JobState
    # Unused.
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running. Once a job has finished it will transition
    # to FAILED or DONE.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

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

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

    # The job is currently accepting findings via hybridInspect.
    # A hybrid job in ACTIVE state may continue to have findings added to it
    # through the calling of hybridInspect. After the job has finished no more
    # calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
    ACTIVE = 6
  end
end

#name::String

Returns The server-assigned name.

Returns:

  • (::String)

    The server-assigned name.



5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5951

class DlpJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of a job. New items may be added.
  module JobState
    # Unused.
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running. Once a job has finished it will transition
    # to FAILED or DONE.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

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

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

    # The job is currently accepting findings via hybridInspect.
    # A hybrid job in ACTIVE state may continue to have findings added to it
    # through the calling of hybridInspect. After the job has finished no more
    # calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
    ACTIVE = 6
  end
end

#risk_details::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails

Returns Results from analyzing risk of a data source.

Note: The following fields are mutually exclusive: risk_details, inspect_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails)

    Results from analyzing risk of a data source.

    Note: The following fields are mutually exclusive: risk_details, inspect_details. If a field in that set is populated, all other fields in the set will automatically be cleared.



5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5951

class DlpJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of a job. New items may be added.
  module JobState
    # Unused.
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running. Once a job has finished it will transition
    # to FAILED or DONE.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

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

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

    # The job is currently accepting findings via hybridInspect.
    # A hybrid job in ACTIVE state may continue to have findings added to it
    # through the calling of hybridInspect. After the job has finished no more
    # calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
    ACTIVE = 6
  end
end

#start_time::Google::Protobuf::Timestamp

Returns Time when the job started.

Returns:



5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5951

class DlpJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of a job. New items may be added.
  module JobState
    # Unused.
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running. Once a job has finished it will transition
    # to FAILED or DONE.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

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

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

    # The job is currently accepting findings via hybridInspect.
    # A hybrid job in ACTIVE state may continue to have findings added to it
    # through the calling of hybridInspect. After the job has finished no more
    # calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
    ACTIVE = 6
  end
end

#state::Google::Cloud::Dlp::V2::DlpJob::JobState

Returns State of a job.

Returns:



5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5951

class DlpJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of a job. New items may be added.
  module JobState
    # Unused.
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running. Once a job has finished it will transition
    # to FAILED or DONE.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

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

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

    # The job is currently accepting findings via hybridInspect.
    # A hybrid job in ACTIVE state may continue to have findings added to it
    # through the calling of hybridInspect. After the job has finished no more
    # calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
    ACTIVE = 6
  end
end

#type::Google::Cloud::Dlp::V2::DlpJobType

Returns The type of job.

Returns:



5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5951

class DlpJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible states of a job. New items may be added.
  module JobState
    # Unused.
    JOB_STATE_UNSPECIFIED = 0

    # The job has not yet started.
    PENDING = 1

    # The job is currently running. Once a job has finished it will transition
    # to FAILED or DONE.
    RUNNING = 2

    # The job is no longer running.
    DONE = 3

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

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

    # The job is currently accepting findings via hybridInspect.
    # A hybrid job in ACTIVE state may continue to have findings added to it
    # through the calling of hybridInspect. After the job has finished no more
    # calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
    ACTIVE = 6
  end
end