Google Cloud Security Command Center V1p1beta1 Client - Class RunAssetDiscoveryResponse (1.28.2)

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

Namespace

Google \ Cloud \ SecurityCenter \ V1p1beta1

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