# Google Cloud Audit Manager V1 Client - Class GenerateAuditReportRequest (0.1.1)

0.1.1 (latest) 0.1.0 Reference documentation and code samples for the Google Cloud Audit Manager V1 Client class GenerateAuditReportRequest.

Message for requesting the Audit Report.

Generated from protobuf message `google.cloud.auditmanager.v1.GenerateAuditReportRequest`

## Namespace

Google \\ Cloud \\ AuditManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ gcs_uri` | `string` Destination Cloud storage bucket where report and evidence must be uploaded. The Cloud storage bucket provided here must be selected among the buckets entered during the enrollment process. |
| `↳ scope` | `string` Required. Scope for which the AuditScopeReport is required. Must be of format resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location} |
| `↳ compliance_standard` | `string` Required. Compliance Standard against which the Scope Report must be generated. Eg: FEDRAMP_MODERATE |
| `↳ report_format` | `int` Required. The format in which the audit report should be created. |
| `↳ compliance_framework` | `string` Required. Compliance framework against which the Report must be generated. |

### getGcsUri

Destination Cloud storage bucket where report and evidence must be
uploaded. The Cloud storage bucket provided here must be selected among
the buckets entered during the enrollment process.

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

### hasGcsUri

### setGcsUri

Destination Cloud storage bucket where report and evidence must be
uploaded. The Cloud storage bucket provided here must be selected among
the buckets entered during the enrollment process.

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

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

### getScope

Required. Scope for which the AuditScopeReport is required. Must be of
format resource_type/resource_identifier Eg:
projects/{project}/locations/{location},
folders/{folder}/locations/{location}

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

### setScope

Required. Scope for which the AuditScopeReport is required. Must be of
format resource_type/resource_identifier Eg:
projects/{project}/locations/{location},
folders/{folder}/locations/{location}

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

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

### getComplianceStandard

Required. Compliance Standard against which the Scope Report must be
generated. Eg: FEDRAMP_MODERATE

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

### setComplianceStandard

Required. Compliance Standard against which the Scope Report must be
generated. Eg: FEDRAMP_MODERATE

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

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

### getReportFormat

Required. The format in which the audit report should be created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [AuditReportFormat](https://docs.cloud.google.com/php/docs/reference/cloud-auditmanager/latest/V1.GenerateAuditReportRequest.AuditReportFormat). |

### setReportFormat

Required. The format in which the audit report should be created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [AuditReportFormat](https://docs.cloud.google.com/php/docs/reference/cloud-auditmanager/latest/V1.GenerateAuditReportRequest.AuditReportFormat). |

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

### getComplianceFramework

Required. Compliance framework against which the Report must be generated.

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

### setComplianceFramework

Required. Compliance framework against which the Report must be generated.

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

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

### getDestination

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `scope` | `string` Required. Scope for which the AuditScopeReport is required. Must be of format resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location} |
| `gcsUri` | `string` Destination Cloud storage bucket where report and evidence must be uploaded. The Cloud storage bucket provided here must be selected among the buckets entered during the enrollment process. |
| `complianceStandard` | `string` Required. Compliance Standard against which the Scope Report must be generated. Eg: FEDRAMP_MODERATE |
| `reportFormat` | `int` Required. The format in which the audit report should be created. For allowed values, use constants defined on [GenerateAuditReportRequest\\AuditReportFormat](https://docs.cloud.google.com/php/docs/reference/cloud-auditmanager/latest/V1.GenerateAuditReportRequest.AuditReportFormat) |

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