Class: Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb
Overview
Response message for listing assets.
Defined Under Namespace
Classes: ListAssetsResult
Instance Attribute Summary collapse
-
#list_assets_results ⇒ ::Array<::Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse::ListAssetsResult>
Assets matching the list request.
-
#next_page_token ⇒ ::String
Token to retrieve the next page of results, or empty if there are no more results.
-
#read_time ⇒ ::Google::Protobuf::Timestamp
Time used for executing the list request.
-
#total_size ⇒ ::Integer
The total number of assets matching the query.
Instance Attribute Details
#list_assets_results ⇒ ::Array<::Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse::ListAssetsResult>
Returns Assets matching the list request.
672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 |
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 672 class ListAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Result containing the Asset and its State. # @!attribute [rw] asset # @return [::Google::Cloud::SecurityCenter::V1p1beta1::Asset] # Asset matching the search request. # @!attribute [rw] state_change # @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse::ListAssetsResult::StateChange] # State change of the asset between the points in time. 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 end |
#next_page_token ⇒ ::String
Returns Token to retrieve the next page of results, or empty if there are no more results.
672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 |
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 672 class ListAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Result containing the Asset and its State. # @!attribute [rw] asset # @return [::Google::Cloud::SecurityCenter::V1p1beta1::Asset] # Asset matching the search request. # @!attribute [rw] state_change # @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse::ListAssetsResult::StateChange] # State change of the asset between the points in time. 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 end |
#read_time ⇒ ::Google::Protobuf::Timestamp
Returns Time used for executing the list request.
672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 |
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 672 class ListAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Result containing the Asset and its State. # @!attribute [rw] asset # @return [::Google::Cloud::SecurityCenter::V1p1beta1::Asset] # Asset matching the search request. # @!attribute [rw] state_change # @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse::ListAssetsResult::StateChange] # State change of the asset between the points in time. 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 end |
#total_size ⇒ ::Integer
Returns The total number of assets matching the query.
672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 |
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb', line 672 class ListAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Result containing the Asset and its State. # @!attribute [rw] asset # @return [::Google::Cloud::SecurityCenter::V1p1beta1::Asset] # Asset matching the search request. # @!attribute [rw] state_change # @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse::ListAssetsResult::StateChange] # State change of the asset between the points in time. 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 end |