public sealed class ImportAssetsRequest : IMessage<ImportAssetsRequest>, IEquatable<ImportAssetsRequest>, IDeepCloneable<ImportAssetsRequest>, IBufferMessage, IMessageReference documentation and code samples for the Vision AI v1 API class ImportAssetsRequest.
The request message for ImportAssets.
Implements
IMessageImportAssetsRequest, IEquatableImportAssetsRequest, IDeepCloneableImportAssetsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Constructors
ImportAssetsRequest()
public ImportAssetsRequest()ImportAssetsRequest(ImportAssetsRequest)
public ImportAssetsRequest(ImportAssetsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportAssetsRequest |
Properties
AssetsGcsUri
public string AssetsGcsUri { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasAssetsGcsUri
public bool HasAssetsGcsUri { get; }Gets whether the "assets_gcs_uri" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Parent
public string Parent { get; set; }Required. The parent corpus resource where the assets will be imported.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsCorpusName
public CorpusName ParentAsCorpusName { get; set; }CorpusName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
CorpusName |
|
SourceCase
public ImportAssetsRequest.SourceOneofCase SourceCase { get; }| Property Value | |
|---|---|
| Type | Description |
ImportAssetsRequestSourceOneofCase |
|