Google Cloud Security Command Center V1p1beta1 Client - Class ListAssetsResult (1.20.2)

Reference documentation and code samples for the Google Cloud Security Command Center V1p1beta1 Client class ListAssetsResult.

Result containing the Asset and its State.

Generated from protobuf message google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult

Namespace

Google \ Cloud \ SecurityCenter \ V1p1beta1 \ ListAssetsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ asset Google\Cloud\SecurityCenter\V1p1beta1\Asset

Asset matching the search request.

↳ state_change int

State change of the asset between the points in time.

getAsset

Asset matching the search request.

Returns
TypeDescription
Google\Cloud\SecurityCenter\V1p1beta1\Asset|null

hasAsset

clearAsset

setAsset

Asset matching the search request.

Parameter
NameDescription
var Google\Cloud\SecurityCenter\V1p1beta1\Asset
Returns
TypeDescription
$this

getStateChange

State change of the asset between the points in time.

Returns
TypeDescription
int

setStateChange

State change of the asset between the points in time.

Parameter
NameDescription
var int
Returns
TypeDescription
$this