Class ListAssetsResult (1.20.0)

ListAssetsResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Result containing the Asset and its State.

Attributes

NameDescription
asset google.cloud.securitycenter_v1p1beta1.types.Asset
Asset matching the search request.
state_change google.cloud.securitycenter_v1p1beta1.types.ListAssetsResponse.ListAssetsResult.StateChange
State change of the asset between the points in time.

Classes

StateChange

StateChange(value)

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

Values: UNUSED (0): State change is unused, this is the canonical default for this enum. ADDED (1): Asset was added between the points in time. REMOVED (2): Asset was removed between the points in time. ACTIVE (3): Asset was present at both point(s) in time.