Google Cloud Vision Ai V1 Client - Class AssetSource (0.3.0)

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

The source of the asset.

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

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ asset_gcs_source
AssetSource\AssetGcsSource

The source of the asset is from Cloud Storage.

↳ asset_content_data
AssetSource\AssetContentData

The source of the asset is from content bytes.

getAssetGcsSource

The source of the asset is from Cloud Storage.

Returns
Type
Description

hasAssetGcsSource

setAssetGcsSource

The source of the asset is from Cloud Storage.

Parameter
Name
Description
Returns
Type
Description
$this

getAssetContentData

The source of the asset is from content bytes.

Returns
Type
Description

hasAssetContentData

setAssetContentData

The source of the asset is from content bytes.

Parameter
Name
Description
Returns
Type
Description
$this

getSourceForm

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: