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

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
NameDescription
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
TypeDescription
int

setState

The state of an asset discovery run.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDuration

The duration between asset discovery run start and end

Returns
TypeDescription
Google\Protobuf\Duration|null

hasDuration

clearDuration

setDuration

The duration between asset discovery run start and end

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this