Google Cloud Storage Insights V1 Client - Class ObjectMetadataReportOptions (0.3.5)

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 array

Metadata fields to be included in the report.

↳ storage_filters Google\Cloud\StorageInsights\V1\CloudStorageFilters

Cloud Storage as the storage system.

↳ storage_destination_options Google\Cloud\StorageInsights\V1\CloudStorageDestinationOptions

Cloud Storage as the storage system.

getMetadataFields

Metadata fields to be included in the report.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

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
Google\Cloud\StorageInsights\V1\CloudStorageFilters|null

hasStorageFilters

setStorageFilters

Cloud Storage as the storage system.

Parameter
Name Description
var Google\Cloud\StorageInsights\V1\CloudStorageFilters
Returns
Type Description
$this

getStorageDestinationOptions

Cloud Storage as the storage system.

Returns
Type Description
Google\Cloud\StorageInsights\V1\CloudStorageDestinationOptions|null

hasStorageDestinationOptions

setStorageDestinationOptions

Cloud Storage as the storage system.

Parameter
Name Description
var Google\Cloud\StorageInsights\V1\CloudStorageDestinationOptions
Returns
Type Description
$this

getFilter

Returns
Type Description
string

getDestinationOptions

Returns
Type Description
string