Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ImportAssetsRequest.
The request message for ImportAssets.
Generated from protobuf message google.cloud.visionai.v1.ImportAssetsRequest
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ assets_gcs_uri
string
The file contains all assets information to be imported. * * The file is in JSONL format. * * Each line corresponding to one asset. * * Each line will be converted into InputImageAsset proto.
↳ parent
string
Required. The parent corpus resource where the assets will be imported. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
getAssetsGcsUri
The file contains all assets information to be imported.
- The file is in JSONL format.
- Each line corresponding to one asset.
- Each line will be converted into InputImageAsset proto.
string
hasAssetsGcsUri
setAssetsGcsUri
The file contains all assets information to be imported.
- The file is in JSONL format.
- Each line corresponding to one asset.
- Each line will be converted into InputImageAsset proto.
var
string
$this
getParent
Required. The parent corpus resource where the assets will be imported.
Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
string
setParent
Required. The parent corpus resource where the assets will be imported.
Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
var
string
$this
getSource
string

