Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class ListAssetsResult.
Result containing the Asset and its State.
Generated from protobuf message google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult
Namespace
Google \ Cloud \ SecurityCenter \ V1 \ ListAssetsResponseMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ asset |
Google\Cloud\SecurityCenter\V1\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 | |
|---|---|
| Type | Description |
Google\Cloud\SecurityCenter\V1\Asset|null |
|
hasAsset
clearAsset
setAsset
Asset matching the search request.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\SecurityCenter\V1\Asset
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStateChange
State change of the asset between the points in time.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type StateChange. |
setStateChange
State change of the asset between the points in time.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type StateChange. |
| Returns | |
|---|---|
| Type | Description |
$this |
|