# Google Cloud Storage Insights V1 Client - Class ObjectMetadataReportOptions (1.4.0)

1.4.0 (latest) 1.3.3 1.2.1 1.1.0 1.0.3 0.3.5 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Storage Insights V1 Client class ObjectMetadataReportOptions.

Report specification for exporting object metadata.

Next ID: 4

Generated from protobuf message `google.cloud.storageinsights.v1.ObjectMetadataReportOptions`

## Namespace

Google \\ Cloud \\ StorageInsights \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ metadata_fields` | `string[]` Metadata fields to be included in the report. |
| `↳ storage_filters` | `https://docs.cloud.google.com/php/docs/reference/cloud-storageinsights/latest/V1.CloudStorageFilters` Cloud Storage as the storage system. |
| `↳ storage_destination_options` | `https://docs.cloud.google.com/php/docs/reference/cloud-storageinsights/latest/V1.CloudStorageDestinationOptions` Cloud Storage as the storage system. |

### getMetadataFields

Metadata fields to be included in the report.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setMetadataFields

Metadata fields to be included in the report.

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

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

### getStorageFilters

Cloud Storage as the storage system.

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

### hasStorageFilters

### setStorageFilters

Cloud Storage as the storage system.

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

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

### getStorageDestinationOptions

Cloud Storage as the storage system.

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

### hasStorageDestinationOptions

### setStorageDestinationOptions

Cloud Storage as the storage system.

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

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

### getFilter

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

### getDestinationOptions

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