# Google Cloud Cloud Controls Partner V1beta Client - Class Instructions (0.5.3)

0.5.3 (latest) 0.5.2 0.4.1 0.3.0 0.2.2 0.1.4

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class Instructions.

Instructions to remediate violation

Generated from protobuf message `google.cloud.cloudcontrolspartner.v1beta.Violation.Remediation.Instructions`

## Namespace

Google \\ Cloud \\ CloudControlsPartner \\ V1beta \\ Violation \\ Remediation

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ gcloud_instructions` | `https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.Violation.Remediation.Instructions.Gcloud` Remediation instructions to resolve violation via gcloud cli |
| `↳ console_instructions` | `https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.Violation.Remediation.Instructions.Console` Remediation instructions to resolve violation via cloud console |

### getGcloudInstructions

Remediation instructions to resolve violation via gcloud cli

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.Violation.Remediation.Instructions.Gcloud|null` |   |

### hasGcloudInstructions

### clearGcloudInstructions

### setGcloudInstructions

Remediation instructions to resolve violation via gcloud cli

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.Violation.Remediation.Instructions.Gcloud` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConsoleInstructions

Remediation instructions to resolve violation via cloud console

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.Violation.Remediation.Instructions.Console|null` |   |

### hasConsoleInstructions

### clearConsoleInstructions

### setConsoleInstructions

Remediation instructions to resolve violation via cloud console

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.Violation.Remediation.Instructions.Console` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |