Reference documentation and code samples for the Google Cloud Assured Workloads V1 Client class Gcloud.
Remediation instructions to resolve violation via gcloud cli
Generated from protobuf message google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud
Namespace
Google \ Cloud \ AssuredWorkloads \ V1 \ Violation \ Remediation \ InstructionsMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ gcloud_commands |
array
Gcloud command to resolve violation |
↳ steps |
array
Steps to resolve violation via gcloud cli |
↳ additional_links |
array
Additional urls for more information about steps |
getGcloudCommands
Gcloud command to resolve violation
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setGcloudCommands
Gcloud command to resolve violation
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getSteps
Steps to resolve violation via gcloud cli
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSteps
Steps to resolve violation via gcloud cli
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getAdditionalLinks
Additional urls for more information about steps
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAdditionalLinks
Additional urls for more information about steps
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |