Reference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class Gcloud.
Remediation instructions to resolve violation via gcloud cli
Generated from protobuf message google.cloud.cloudcontrolspartner.v1beta.Violation.Remediation.Instructions.Gcloud
Namespace
Google \ Cloud \ CloudControlsPartner \ V1beta \ 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 |