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
Methods
__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.
Generated from protobuf field .google.cloud.securitycenter.v1.Asset asset = 1;
Returns | |
---|---|
Type | Description |
Google\Cloud\SecurityCenter\V1\Asset|null |
hasAsset
clearAsset
setAsset
Asset matching the search request.
Generated from protobuf field .google.cloud.securitycenter.v1.Asset asset = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\SecurityCenter\V1\Asset
|
Returns | |
---|---|
Type | Description |
$this |
getStateChange
State change of the asset between the points in time.
Generated from protobuf field .google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange state_change = 2;
Returns | |
---|---|
Type | Description |
int |
setStateChange
State change of the asset between the points in time.
Generated from protobuf field .google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange state_change = 2;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |