Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class AttackStepNode.
Detailed steps the attack can take between path nodes.
Generated from protobuf message google.cloud.securitycenter.v1.AttackPath.AttackPathNode.AttackStepNode
Namespace
Google \ Cloud \ SecurityCenter \ V1 \ AttackPath \ AttackPathNodeMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uuid |
string
Unique ID for one Node |
↳ type |
int
Attack step type. Can be either AND, OR or DEFENSE |
↳ display_name |
string
User friendly name of the attack step |
↳ labels |
array|Google\Protobuf\Internal\MapField
Attack step labels for metadata |
↳ description |
string
Attack step description |
getUuid
Unique ID for one Node
| Returns | |
|---|---|
| Type | Description |
string |
|
setUuid
Unique ID for one Node
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Attack step type. Can be either AND, OR or DEFENSE
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type NodeType. |
setType
Attack step type. Can be either AND, OR or DEFENSE
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type NodeType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
User friendly name of the attack step
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
User friendly name of the attack step
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabels
Attack step labels for metadata
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setLabels
Attack step labels for metadata
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Attack step description
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Attack step description
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|