# Grafeas V1 Client - Class DSSEAttestationOccurrence (1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.2 1.2.2 1.1.3 1.0.0 0.10.3 0.9.0 0.8.3 0.7.1 0.6.0 0.5.0 0.4.4 Reference documentation and code samples for the Grafeas V1 Client class DSSEAttestationOccurrence.

Deprecated. Prefer to use a regular Occurrence, and populate the
Envelope at the top level of the Occurrence.

Generated from protobuf message `grafeas.v1.DSSEAttestationOccurrence`

## Namespace

Grafeas \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ envelope` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.Envelope` If doing something security critical, make sure to verify the signatures in this metadata. |
| `↳ statement` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.InTotoStatement` |

### getEnvelope

If doing something security critical, make sure to verify the signatures in
this metadata.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.Envelope|null` |   |

### hasEnvelope

### clearEnvelope

### setEnvelope

If doing something security critical, make sure to verify the signatures in
this metadata.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.Envelope` |

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

### getStatement

Generated from protobuf field `.grafeas.v1.InTotoStatement statement = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.InTotoStatement|null` |   |

### hasStatement

### setStatement

Generated from protobuf field `.grafeas.v1.InTotoStatement statement = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.InTotoStatement` |

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

### getDecodedPayload

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