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

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

Request message for IngestAsset API.

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

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ config IngestAssetRequest\Config

Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

↳ time_indexed_data IngestAssetRequest\TimeIndexedData

Data to be ingested.

getConfig

Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

Returns
Type Description
IngestAssetRequest\Config|null

hasConfig

setConfig

Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

Parameter
Name Description
var IngestAssetRequest\Config
Returns
Type Description
$this

getTimeIndexedData

Data to be ingested.

Returns
Type Description
IngestAssetRequest\TimeIndexedData|null

hasTimeIndexedData

setTimeIndexedData

Data to be ingested.

Parameter
Name Description
var IngestAssetRequest\TimeIndexedData
Returns
Type Description
$this

getStreamingRequest

Returns
Type Description
string