Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class UploadAssetRequest.
Request message for UploadAsset.
Generated from protobuf message google.cloud.visionai.v1.UploadAssetRequest
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource name of the asset to upload. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
↳ asset_source
getName
Required. The resource name of the asset to upload.
Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
string
setName
Required. The resource name of the asset to upload.
Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
var
string
$this
getAssetSource
The source of the asset.
hasAssetSource
clearAssetSource
setAssetSource
The source of the asset.
$this

