Reference documentation and code samples for the Google Cloud Security Command Center V1p1beta1 Client class RunAssetDiscoveryResponse.
Response of asset discovery run
Generated from protobuf message google.cloud.securitycenter.v1p1beta1.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.
Generated from protobuf field .google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State state = 1;
Returns | |
---|---|
Type | Description |
int |
setState
The state of an asset discovery run.
Generated from protobuf field .google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State state = 1;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDuration
The duration between asset discovery run start and end
Generated from protobuf field .google.protobuf.Duration duration = 2;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasDuration
clearDuration
setDuration
The duration between asset discovery run start and end
Generated from protobuf field .google.protobuf.Duration duration = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |