Google Cloud Security Command Center V2 Client - Class Simulation (1.28.1)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class Simulation.

Attack path simulation

Generated from protobuf message google.cloud.securitycenter.v2.Simulation

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Full resource name of the Simulation: organizations/123/simulations/456

↳ create_time Google\Protobuf\Timestamp

Output only. Time simulation was created

↳ resource_value_configs_metadata array<Google\Cloud\SecurityCenter\V2\ResourceValueConfigMetadata>

Resource value configurations' metadata used in this simulation. Maximum of 100.

getName

Full resource name of the Simulation: organizations/123/simulations/456

Returns
Type Description
string

setName

Full resource name of the Simulation: organizations/123/simulations/456

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. Time simulation was created

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time simulation was created

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getResourceValueConfigsMetadata

Resource value configurations' metadata used in this simulation. Maximum of 100.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setResourceValueConfigsMetadata

Resource value configurations' metadata used in this simulation. Maximum of 100.

Parameter
Name Description
var array<Google\Cloud\SecurityCenter\V2\ResourceValueConfigMetadata>
Returns
Type Description
$this