Google Cloud Storage Insights V1 Client - Class ObjectMetadataReportOptions (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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetadataFields

Metadata fields to be included in the report.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getStorageFilters

Cloud Storage as the storage system.

Returns
TypeDescription
Google\Cloud\StorageInsights\V1\CloudStorageFilters|null

hasStorageFilters

setStorageFilters

Cloud Storage as the storage system.

Parameter
NameDescription
var Google\Cloud\StorageInsights\V1\CloudStorageFilters
Returns
TypeDescription
$this

getStorageDestinationOptions

Cloud Storage as the storage system.

Returns
TypeDescription
Google\Cloud\StorageInsights\V1\CloudStorageDestinationOptions|null

hasStorageDestinationOptions

setStorageDestinationOptions

Cloud Storage as the storage system.

Parameter
NameDescription
var Google\Cloud\StorageInsights\V1\CloudStorageDestinationOptions
Returns
TypeDescription
$this

getFilter

Returns
TypeDescription
string

getDestinationOptions

Returns
TypeDescription
string