Google Cloud Assured Workloads V1 Client - Class Instructions (0.9.1)

Reference documentation and code samples for the Google Cloud Assured Workloads V1 Client class Instructions.

Instructions to remediate violation

Generated from protobuf message google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions

Namespace

Google \ Cloud \ AssuredWorkloads \ V1 \ Violation \ Remediation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcloud_instructions Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Gcloud

Remediation instructions to resolve violation via gcloud cli

↳ console_instructions Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Console

Remediation instructions to resolve violation via cloud console

getGcloudInstructions

Remediation instructions to resolve violation via gcloud cli

Returns
TypeDescription
Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Gcloud|null

hasGcloudInstructions

clearGcloudInstructions

setGcloudInstructions

Remediation instructions to resolve violation via gcloud cli

Parameter
NameDescription
var Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Gcloud
Returns
TypeDescription
$this

getConsoleInstructions

Remediation instructions to resolve violation via cloud console

Returns
TypeDescription
Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Console|null

hasConsoleInstructions

clearConsoleInstructions

setConsoleInstructions

Remediation instructions to resolve violation via cloud console

Parameter
NameDescription
var Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Console
Returns
TypeDescription
$this