Google Cloud Vision Ai V1 Client - Class MediaWarehouseConfig (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class MediaWarehouseConfig.

Message describing MediaWarehouseConfig.

Generated from protobuf message google.cloud.visionai.v1.MediaWarehouseConfig

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ corpus string

Resource name of the Media Warehouse corpus. Format: projects/${project_id}/locations/${location_id}/corpora/${corpus_id}

↳ region string

Deprecated.

↳ ttl Google\Protobuf\Duration

The duration for which all media assets, associated metadata, and search documents can exist.

getCorpus

Resource name of the Media Warehouse corpus.

Format: projects/${project_id}/locations/${location_id}/corpora/${corpus_id}

Returns
Type Description
string

setCorpus

Resource name of the Media Warehouse corpus.

Format: projects/${project_id}/locations/${location_id}/corpora/${corpus_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getRegion

Deprecated.

Returns
Type Description
string

setRegion

Deprecated.

Parameter
Name Description
var string
Returns
Type Description
$this

getTtl

The duration for which all media assets, associated metadata, and search documents can exist.

Returns
Type Description
Google\Protobuf\Duration|null

hasTtl

clearTtl

setTtl

The duration for which all media assets, associated metadata, and search documents can exist.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this