Class ImportAppRequest (0.3.0)

ImportAppRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for AgentService.ImportApp.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
gcs_uri str
The `Google Cloud Storage
app_content bytes
Raw bytes representing the compressed zip file with the app folder structure. This field is a member of oneof_ app.
parent str
Required. The parent resource name with the location of the app to import.
display_name str
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.
app_id str
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.
import_options google.cloud.ces_v1.types.ImportAppRequest.ImportOptions
Optional. Options governing the import process for the app.
ignore_app_lock bool
Optional. Flag for overriding the app lock during import. If set to true, the import process will ignore the app lock.

Classes

ImportOptions

ImportOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration options for the app import process. These options control how the import behaves, particularly when conflicts arise with existing app data.