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

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.

↳ cloud_provider int

Indicates which cloud provider was used in this simulation.

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

getCloudProvider

Indicates which cloud provider was used in this simulation.

Returns
Type Description
int

setCloudProvider

Indicates which cloud provider was used in this simulation.

Parameter
Name Description
var int
Returns
Type Description
$this