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.
| Parameters | |
|---|---|
| Name | Description |
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: |
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.
| Returns | |
|---|---|
| Type | Description |
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.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getParent
Required. The parent corpus resource where the assets will be imported.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent corpus resource where the assets will be imported.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSource
| Returns | |
|---|---|
| Type | Description |
string |
|