Gemini Enterprise for Customer Experience v1 API - Class ImportAppRequest (1.0.0-beta01)

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 > ImportAppRequest

Namespace

Google.Cloud.Ces.V1

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 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-typed view over the Parent resource name property.

Property Value
Type Description
LocationName