Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::ImportAppRequest (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::ImportAppRequest.

Request message for AgentService.ImportApp.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#app_content

def app_content() -> ::String
Returns
  • (::String) — Raw bytes representing the compressed zip file with the app folder structure.

    Note: The following fields are mutually exclusive: app_content, gcs_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

#app_content=

def app_content=(value) -> ::String
Parameter
  • value (::String) — Raw bytes representing the compressed zip file with the app folder structure.

    Note: The following fields are mutually exclusive: app_content, gcs_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Raw bytes representing the compressed zip file with the app folder structure.

    Note: The following fields are mutually exclusive: app_content, gcs_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

#app_id

def app_id() -> ::String
Returns
  • (::String) —

    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.

#app_id=

def app_id=(value) -> ::String
Parameter
  • value (::String) —

    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.
Returns
  • (::String) —

    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.

#display_name

def display_name() -> ::String
Returns
  • (::String) —

    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.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) —

    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.
Returns
  • (::String) —

    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.

#gcs_uri

def gcs_uri() -> ::String
Returns
  • (::String) — The Google Cloud Storage URI from which to import app. The format of this URI must be gs://<bucket-name>/<object-name>.

    Note: The following fields are mutually exclusive: gcs_uri, app_content. If a field in that set is populated, all other fields in the set will automatically be cleared.

#gcs_uri=

def gcs_uri=(value) -> ::String
Parameter
  • value (::String) — The Google Cloud Storage URI from which to import app. The format of this URI must be gs://<bucket-name>/<object-name>.

    Note: The following fields are mutually exclusive: gcs_uri, app_content. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — The Google Cloud Storage URI from which to import app. The format of this URI must be gs://<bucket-name>/<object-name>.

    Note: The following fields are mutually exclusive: gcs_uri, app_content. If a field in that set is populated, all other fields in the set will automatically be cleared.

#ignore_app_lock

def ignore_app_lock() -> ::Boolean
Returns
  • (::Boolean) — Optional. Flag for overriding the app lock during import. If set to true, the import process will ignore the app lock.

#ignore_app_lock=

def ignore_app_lock=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Flag for overriding the app lock during import. If set to true, the import process will ignore the app lock.
Returns
  • (::Boolean) — Optional. Flag for overriding the app lock during import. If set to true, the import process will ignore the app lock.

#import_options

def import_options() -> ::Google::Cloud::Ces::V1beta::ImportAppRequest::ImportOptions
Returns

#import_options=

def import_options=(value) -> ::Google::Cloud::Ces::V1beta::ImportAppRequest::ImportOptions
Parameter
Returns

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent resource name with the location of the app to import.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent resource name with the location of the app to import.
Returns
  • (::String) — Required. The parent resource name with the location of the app to import.