# Google Cloud Security Compliance V1 Client - Class GetFrameworkAuditRequest (0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class GetFrameworkAuditRequest.

The request message for GetFrameworkAudit.

Generated from protobuf message `google.cloud.cloudsecuritycompliance.v1.GetFrameworkAuditRequest`

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the framework audit to retrieve. Supported formats are the following: \* \* `organizations/{organization_id}/locations/{location}/frameworkAudits/{frameworkAuditName}` \* \* `folders/{folder_id}/locations/{location}/frameworkAudits/{frameworkAuditName}` \* \* `projects/{project_id}/locations/{location}/frameworkAudits/{frameworkAuditName}` |

### getName

Required. The name of the framework audit to retrieve.

Supported formats are the following:

- `organizations/{organization_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`
- `folders/{folder_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`
- `projects/{project_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. The name of the framework audit to retrieve.

Supported formats are the following:

- `organizations/{organization_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`
- `folders/{folder_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`
- `projects/{project_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the framework audit to retrieve. Supported formats are the following: - - `organizations/{organization_id}/locations/{location}/frameworkAudits/{frameworkAuditName}` - - `folders/{folder_id}/locations/{location}/frameworkAudits/{frameworkAuditName}` - - `projects/{project_id}/locations/{location}/frameworkAudits/{frameworkAuditName}` Please see AuditClient::frameworkAuditName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.GetFrameworkAuditRequest` |   |