1.0.0 (latest) 1.0.0-beta01

    public sealed class ImportAssetsRequest : IMessage<ImportAssetsRequest>, IEquatable<ImportAssetsRequest>, IDeepCloneable<ImportAssetsRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class ImportAssetsRequest.

The request message for ImportAssets.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ImportAssetsRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ImportAssetsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.ImportAssetsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ImportAssetsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.ImportAssetsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ImportAssetsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.ImportAssetsRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VisionAI.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1)

## Assembly

Google.Cloud.VisionAI.V1.dll

## Constructors

### ImportAssetsRequest()

    public ImportAssetsRequest()

### ImportAssetsRequest(ImportAssetsRequest)

    public ImportAssetsRequest(ImportAssetsRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### HasAssetsGcsUri

    public bool HasAssetsGcsUri { get; }

Gets whether the "assets_gcs_uri" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsCorpusName

    public CorpusName ParentAsCorpusName { get; set; }

[CorpusName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.CorpusName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.ImportAssetsRequest#Google_Cloud_VisionAI_V1_ImportAssetsRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.CorpusName` |   |

### SourceCase

    public ImportAssetsRequest.SourceOneofCase SourceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.ImportAssetsRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.ImportAssetsRequest.SourceOneofCase` |   |