OciObjectStorageDatabricksEngineArtifactLocationSummary

class oci.golden_gate.models.OciObjectStorageDatabricksEngineArtifactLocationSummary(**kwargs)

Bases: oci.golden_gate.models.databricks_engine_artifact_location_summary.DatabricksEngineArtifactLocationSummary

Summary of an OCI Object Storage location used to share Databricks application artifacts.

Attributes

LOCATION_TYPE_AZURE_DATE_LAKE_STORAGE str(object=’’) -> str
LOCATION_TYPE_OCI_OBJECT_STORAGE str(object=’’) -> str
LOCATION_TYPE_UC_VOLUME str(object=’’) -> str
configuration [Required] Gets the configuration of this OciObjectStorageDatabricksEngineArtifactLocationSummary.
location_type [Required] Gets the location_type of this DatabricksEngineArtifactLocationSummary.
should_overwrite_existing Gets the should_overwrite_existing of this DatabricksEngineArtifactLocationSummary.

Methods

__init__(**kwargs) Initializes a new OciObjectStorageDatabricksEngineArtifactLocationSummary object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
LOCATION_TYPE_AZURE_DATE_LAKE_STORAGE = 'AZURE_DATE_LAKE_STORAGE'
LOCATION_TYPE_OCI_OBJECT_STORAGE = 'OCI_OBJECT_STORAGE'
LOCATION_TYPE_UC_VOLUME = 'UC_VOLUME'
__init__(**kwargs)

Initializes a new OciObjectStorageDatabricksEngineArtifactLocationSummary object with values from keyword arguments. The default value of the location_type attribute of this class is OCI_OBJECT_STORAGE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • location_type (str) – The value to assign to the location_type property of this OciObjectStorageDatabricksEngineArtifactLocationSummary. Allowed values for this property are: “UC_VOLUME”, “OCI_OBJECT_STORAGE”, “AZURE_DATE_LAKE_STORAGE”
  • should_overwrite_existing (bool) – The value to assign to the should_overwrite_existing property of this OciObjectStorageDatabricksEngineArtifactLocationSummary.
  • configuration (oci.golden_gate.models.DatabricksEngineOciObjectStorageConfig) – The value to assign to the configuration property of this OciObjectStorageDatabricksEngineArtifactLocationSummary.
configuration

[Required] Gets the configuration of this OciObjectStorageDatabricksEngineArtifactLocationSummary.

Returns:The configuration of this OciObjectStorageDatabricksEngineArtifactLocationSummary.
Return type:oci.golden_gate.models.DatabricksEngineOciObjectStorageConfig
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

location_type

[Required] Gets the location_type of this DatabricksEngineArtifactLocationSummary. The type of location used to share Databricks application artifacts.

Allowed values for this property are: “UC_VOLUME”, “OCI_OBJECT_STORAGE”, “AZURE_DATE_LAKE_STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The location_type of this DatabricksEngineArtifactLocationSummary.
Return type:str
should_overwrite_existing

Gets the should_overwrite_existing of this DatabricksEngineArtifactLocationSummary. Controls whether a staged application artifact replaces an existing file or object with the same name at the configured destination. The artifact is typically a GGFAB pipeline package or one of its dependency files.

When set to true, the existing file or object is replaced with the newly staged version. When set to false, staging fails or skips the upload rather than replacing it. This setting does not replace the entire target directory or prefix. It allows an updated pipeline or dependency to be deployed when artifact names remain the same across versions.

Returns:The should_overwrite_existing of this DatabricksEngineArtifactLocationSummary.
Return type:bool