Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class RunAssetDiscoveryResponse.
Response of asset discovery run
Generated from protobuf message google.cloud.securitycenter.v1.RunAssetDiscoveryResponse
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ state |
int
The state of an asset discovery run. |
↳ duration |
Google\Protobuf\Duration
The duration between asset discovery run start and end |
getState
The state of an asset discovery run.
Returns | |
---|---|
Type | Description |
int |
setState
The state of an asset discovery run.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDuration
The duration between asset discovery run start and end
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasDuration
clearDuration
setDuration
The duration between asset discovery run start and end
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |