Class: Google::Cloud::SecurityCenter::V1::RunAssetDiscoveryResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1/run_asset_discovery_response.rb

Overview

Response of asset discovery run

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#duration::Google::Protobuf::Duration

Returns The duration between asset discovery run start and end.

Returns:



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'proto_docs/google/cloud/securitycenter/v1/run_asset_discovery_response.rb', line 31

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

  # The state of an asset discovery run.
  module State
    # Asset discovery run state was unspecified.
    STATE_UNSPECIFIED = 0

    # Asset discovery run completed successfully.
    COMPLETED = 1

    # Asset discovery run was cancelled with tasks still pending, as another
    # run for the same organization was started with a higher priority.
    SUPERSEDED = 2

    # Asset discovery run was killed and terminated.
    TERMINATED = 3
  end
end

#state::Google::Cloud::SecurityCenter::V1::RunAssetDiscoveryResponse::State

Returns The state of an asset discovery run.

Returns:



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'proto_docs/google/cloud/securitycenter/v1/run_asset_discovery_response.rb', line 31

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

  # The state of an asset discovery run.
  module State
    # Asset discovery run state was unspecified.
    STATE_UNSPECIFIED = 0

    # Asset discovery run completed successfully.
    COMPLETED = 1

    # Asset discovery run was cancelled with tasks still pending, as another
    # run for the same organization was started with a higher priority.
    SUPERSEDED = 2

    # Asset discovery run was killed and terminated.
    TERMINATED = 3
  end
end