1.1.0 (latest) 1.0.0

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class ImportAppRequest.

Request message for
\[AgentService.ImportApp\]\[google.cloud.ces.v1.AgentService.ImportApp\].

## Inheritance

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

## Implements

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

## 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.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### ImportAppRequest()

    public ImportAppRequest()

### ImportAppRequest(ImportAppRequest)

    public ImportAppRequest(ImportAppRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ImportAppRequest` |

## Properties

### AppCase

    public ImportAppRequest.AppOneofCase AppCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ImportAppRequestAppOneofCase` |   |

### AppContent

    public ByteString AppContent { get; set; }

Raw bytes representing the compressed zip file with the app folder
structure.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ByteString` |   |

### AppId

    public string AppId { get; set; }

Optional. The ID to use for the imported app.

- If not specified, a unique ID will be automatically assigned for the app.
- Otherwise, the imported app will use this ID as the final component of its resource name. If an app with the same ID already exists at the specified location in the project, the content of the existing app will be replaced.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DisplayName

    public string DisplayName { get; set; }

Optional. The display name of the app to import.

- If the app is created on import, and the display name is specified, the imported app will use this display name. If a conflict is detected with an existing app, a timestamp will be appended to the display name to make it unique.
- If the app is a reimport, this field should not be set. Providing a display name during reimport will result in an INVALID_ARGUMENT error.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### GcsUri

    public string GcsUri { get; set; }

The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
from which to import app. The format of this URI must be
`gs://<bucket-name>/<object-name>`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### HasAppContent

    public bool HasAppContent { get; }

Gets whether the "app_content" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasGcsUri

    public bool HasGcsUri { get; }

Gets whether the "gcs_uri" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### IgnoreAppLock

    public bool IgnoreAppLock { get; set; }

Optional. Flag for overriding the app lock during import.
If set to true, the import process will ignore the app lock.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### ImportOptions

    public ImportAppRequest.Types.ImportOptions ImportOptions { get; set; }

Optional. Options governing the import process for the app.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ImportAppRequestTypesImportOptions` |   |

### Parent

    public string Parent { get; set; }

Required. The parent resource name with the location of the app to import.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.ImportAppRequest.md.txt#Google_Cloud_Ces_V1_ImportAppRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationName` |   |