Class: Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse::ListAssetsResult

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

Overview

Result containing the Asset and its State.

Defined Under Namespace

Modules: StateChange

Instance Attribute Summary collapse

Instance Attribute Details

#asset::Google::Cloud::SecurityCenter::V1p1beta1::Asset

Returns Asset matching the search request.

Returns:



683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 683

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

  # The change in state of the asset.
  #
  # When querying across two points in time this describes
  # the change between the two points: ADDED, REMOVED, or ACTIVE.
  # If there was no compare_duration supplied in the request the state change
  # will be: UNUSED
  module StateChange
    # State change is unused, this is the canonical default for this enum.
    UNUSED = 0

    # Asset was added between the points in time.
    ADDED = 1

    # Asset was removed between the points in time.
    REMOVED = 2

    # Asset was present at both point(s) in time.
    ACTIVE = 3
  end
end

#state_change::Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse::ListAssetsResult::StateChange

Returns State change of the asset between the points in time.

Returns:



683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 683

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

  # The change in state of the asset.
  #
  # When querying across two points in time this describes
  # the change between the two points: ADDED, REMOVED, or ACTIVE.
  # If there was no compare_duration supplied in the request the state change
  # will be: UNUSED
  module StateChange
    # State change is unused, this is the canonical default for this enum.
    UNUSED = 0

    # Asset was added between the points in time.
    ADDED = 1

    # Asset was removed between the points in time.
    REMOVED = 2

    # Asset was present at both point(s) in time.
    ACTIVE = 3
  end
end