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
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
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 | |
|---|---|
| Type | Description | 
Google\Cloud\SecurityCenter\V1p1beta1\Asset|null | 
        |
hasAsset
clearAsset
setAsset
Asset matching the search request.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          Google\Cloud\SecurityCenter\V1p1beta1\Asset
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getStateChange
State change of the asset between the points in time.
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
setStateChange
State change of the asset between the points in time.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          int
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |