Class: Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse

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

Response message for listing findings.

Defined Under Namespace

Classes: ListFindingsResult

Instance Attribute Summary collapse

Instance Attribute Details

#list_findings_results::Array<::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult>

Returns Findings matching the list request.

Returns:



861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 861

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

  # Result containing the Finding and its StateChange.
  # @!attribute [rw] finding
  #   @return [::Google::Cloud::SecurityCenter::V1p1beta1::Finding]
  #     Finding matching the search request.
  # @!attribute [rw] state_change
  #   @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::StateChange]
  #     State change of the finding between the points in time.
  # @!attribute [r] resource
  #   @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::Resource]
  #     Output only. Resource that is associated with this finding.
  class ListFindingsResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information related to the Google Cloud resource that is
    # associated with this finding.
    # @!attribute [rw] name
    #   @return [::String]
    #     The full resource name of the resource. See:
    #     https://cloud.google.com/apis/design/resource_names#full_resource_name
    # @!attribute [rw] project_name
    #   @return [::String]
    #     The full resource name of project that the resource belongs to.
    # @!attribute [rw] project_display_name
    #   @return [::String]
    #     The human readable name of project that the resource belongs to.
    # @!attribute [rw] parent_name
    #   @return [::String]
    #     The full resource name of resource's parent.
    # @!attribute [rw] parent_display_name
    #   @return [::String]
    #     The human readable name of resource's parent.
    # @!attribute [rw] folders
    #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
    #     Contains a Folder message for each folder in the assets ancestry.
    #     The first folder is the deepest nested folder, and the last folder is
    #     the folder directly under the Organization.
    class Resource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # The change in state of the finding.
    #
    # When querying across two points in time this describes
    # the change in the finding between the two points: CHANGED, UNCHANGED,
    # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that
    # the finding at timestamp does not match the filter specified, but it did
    # at timestamp - compare_duration. 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

      # The finding has changed state in some way between the points in time
      # and existed at both points.
      CHANGED = 1

      # The finding has not changed state between the points in time and
      # existed at both points.
      UNCHANGED = 2

      # The finding was created between the points in time.
      ADDED = 3

      # The finding at timestamp does not match the filter specified, but it
      # did at timestamp - compare_duration.
      REMOVED = 4
    end
  end
end

#next_page_token::String

Returns Token to retrieve the next page of results, or empty if there are no more results.

Returns:

  • (::String)

    Token to retrieve the next page of results, or empty if there are no more results.



861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 861

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

  # Result containing the Finding and its StateChange.
  # @!attribute [rw] finding
  #   @return [::Google::Cloud::SecurityCenter::V1p1beta1::Finding]
  #     Finding matching the search request.
  # @!attribute [rw] state_change
  #   @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::StateChange]
  #     State change of the finding between the points in time.
  # @!attribute [r] resource
  #   @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::Resource]
  #     Output only. Resource that is associated with this finding.
  class ListFindingsResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information related to the Google Cloud resource that is
    # associated with this finding.
    # @!attribute [rw] name
    #   @return [::String]
    #     The full resource name of the resource. See:
    #     https://cloud.google.com/apis/design/resource_names#full_resource_name
    # @!attribute [rw] project_name
    #   @return [::String]
    #     The full resource name of project that the resource belongs to.
    # @!attribute [rw] project_display_name
    #   @return [::String]
    #     The human readable name of project that the resource belongs to.
    # @!attribute [rw] parent_name
    #   @return [::String]
    #     The full resource name of resource's parent.
    # @!attribute [rw] parent_display_name
    #   @return [::String]
    #     The human readable name of resource's parent.
    # @!attribute [rw] folders
    #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
    #     Contains a Folder message for each folder in the assets ancestry.
    #     The first folder is the deepest nested folder, and the last folder is
    #     the folder directly under the Organization.
    class Resource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # The change in state of the finding.
    #
    # When querying across two points in time this describes
    # the change in the finding between the two points: CHANGED, UNCHANGED,
    # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that
    # the finding at timestamp does not match the filter specified, but it did
    # at timestamp - compare_duration. 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

      # The finding has changed state in some way between the points in time
      # and existed at both points.
      CHANGED = 1

      # The finding has not changed state between the points in time and
      # existed at both points.
      UNCHANGED = 2

      # The finding was created between the points in time.
      ADDED = 3

      # The finding at timestamp does not match the filter specified, but it
      # did at timestamp - compare_duration.
      REMOVED = 4
    end
  end
end

#read_time::Google::Protobuf::Timestamp

Returns Time used for executing the list request.

Returns:



861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 861

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

  # Result containing the Finding and its StateChange.
  # @!attribute [rw] finding
  #   @return [::Google::Cloud::SecurityCenter::V1p1beta1::Finding]
  #     Finding matching the search request.
  # @!attribute [rw] state_change
  #   @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::StateChange]
  #     State change of the finding between the points in time.
  # @!attribute [r] resource
  #   @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::Resource]
  #     Output only. Resource that is associated with this finding.
  class ListFindingsResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information related to the Google Cloud resource that is
    # associated with this finding.
    # @!attribute [rw] name
    #   @return [::String]
    #     The full resource name of the resource. See:
    #     https://cloud.google.com/apis/design/resource_names#full_resource_name
    # @!attribute [rw] project_name
    #   @return [::String]
    #     The full resource name of project that the resource belongs to.
    # @!attribute [rw] project_display_name
    #   @return [::String]
    #     The human readable name of project that the resource belongs to.
    # @!attribute [rw] parent_name
    #   @return [::String]
    #     The full resource name of resource's parent.
    # @!attribute [rw] parent_display_name
    #   @return [::String]
    #     The human readable name of resource's parent.
    # @!attribute [rw] folders
    #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
    #     Contains a Folder message for each folder in the assets ancestry.
    #     The first folder is the deepest nested folder, and the last folder is
    #     the folder directly under the Organization.
    class Resource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # The change in state of the finding.
    #
    # When querying across two points in time this describes
    # the change in the finding between the two points: CHANGED, UNCHANGED,
    # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that
    # the finding at timestamp does not match the filter specified, but it did
    # at timestamp - compare_duration. 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

      # The finding has changed state in some way between the points in time
      # and existed at both points.
      CHANGED = 1

      # The finding has not changed state between the points in time and
      # existed at both points.
      UNCHANGED = 2

      # The finding was created between the points in time.
      ADDED = 3

      # The finding at timestamp does not match the filter specified, but it
      # did at timestamp - compare_duration.
      REMOVED = 4
    end
  end
end

#total_size::Integer

Returns The total number of findings matching the query.

Returns:

  • (::Integer)

    The total number of findings matching the query.



861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 861

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

  # Result containing the Finding and its StateChange.
  # @!attribute [rw] finding
  #   @return [::Google::Cloud::SecurityCenter::V1p1beta1::Finding]
  #     Finding matching the search request.
  # @!attribute [rw] state_change
  #   @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::StateChange]
  #     State change of the finding between the points in time.
  # @!attribute [r] resource
  #   @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::Resource]
  #     Output only. Resource that is associated with this finding.
  class ListFindingsResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information related to the Google Cloud resource that is
    # associated with this finding.
    # @!attribute [rw] name
    #   @return [::String]
    #     The full resource name of the resource. See:
    #     https://cloud.google.com/apis/design/resource_names#full_resource_name
    # @!attribute [rw] project_name
    #   @return [::String]
    #     The full resource name of project that the resource belongs to.
    # @!attribute [rw] project_display_name
    #   @return [::String]
    #     The human readable name of project that the resource belongs to.
    # @!attribute [rw] parent_name
    #   @return [::String]
    #     The full resource name of resource's parent.
    # @!attribute [rw] parent_display_name
    #   @return [::String]
    #     The human readable name of resource's parent.
    # @!attribute [rw] folders
    #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
    #     Contains a Folder message for each folder in the assets ancestry.
    #     The first folder is the deepest nested folder, and the last folder is
    #     the folder directly under the Organization.
    class Resource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # The change in state of the finding.
    #
    # When querying across two points in time this describes
    # the change in the finding between the two points: CHANGED, UNCHANGED,
    # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that
    # the finding at timestamp does not match the filter specified, but it did
    # at timestamp - compare_duration. 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

      # The finding has changed state in some way between the points in time
      # and existed at both points.
      CHANGED = 1

      # The finding has not changed state between the points in time and
      # existed at both points.
      UNCHANGED = 2

      # The finding was created between the points in time.
      ADDED = 3

      # The finding at timestamp does not match the filter specified, but it
      # did at timestamp - compare_duration.
      REMOVED = 4
    end
  end
end