Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Simulation.
Attack path simulation
Generated from protobuf message google.cloud.securitycenter.v1.Simulation
Namespace
Google \ Cloud \ SecurityCenter \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Full resource name of the Simulation: |
↳ create_time |
Google\Protobuf\Timestamp
Output only. Time simulation was created |
↳ resource_value_configs_metadata |
array<Google\Cloud\SecurityCenter\V1\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\V1\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 |