# Google Cloud Storage Control V2 Client - Class IntelligenceFindingRevision (1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.3 1.5.0 1.4.1 1.3.0 1.1.0 1.0.3 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Storage Control V2 Client class IntelligenceFindingRevision.

An `IntelligenceFindingRevision` represents a specific revision of an
`IntelligenceFinding` resource.

Generated from protobuf message `google.storage.control.v2.IntelligenceFindingRevision`

## Namespace

Google \\ Cloud \\ Storage \\ Control \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of `IntelligenceFindingRevision`. Format: `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}` |
| `↳ snapshot` | `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceFinding` Output only. The snapshot of the `IntelligenceFinding` at the time the revision was created. This field contains the full finding details as they existed for the revision. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The timestamp when the revision was created. |

### getName

Identifier. The resource name of `IntelligenceFindingRevision`.

Format:
`projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}`

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

### setName

Identifier. The resource name of `IntelligenceFindingRevision`.

Format:
`projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}`

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

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

### getSnapshot

Output only. The snapshot of the `IntelligenceFinding` at the time the
revision was created. This field contains the full finding details as they
existed for the revision.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceFinding|null` |   |

### hasSnapshot

### clearSnapshot

### setSnapshot

Output only. The snapshot of the `IntelligenceFinding` at the time the
revision was created. This field contains the full finding details as they
existed for the revision.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceFinding` |

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

### getCreateTime

Output only. The timestamp when the revision was created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. The timestamp when the revision was created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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