OciObjectStorageSourceLocation

class oci.generative_ai_agent_runtime.models.OciObjectStorageSourceLocation(**kwargs)

Bases: oci.generative_ai_agent_runtime.models.source_location.SourceLocation

The OCI Object Storage that contains the data files.

Attributes

SOURCE_LOCATION_TYPE_OCI_DATABASE str(object=’’) -> str
SOURCE_LOCATION_TYPE_OCI_OBJECT_STORAGE str(object=’’) -> str
SOURCE_LOCATION_TYPE_OCI_OPEN_SEARCH str(object=’’) -> str
source_location_type [Required] Gets the source_location_type of this SourceLocation.
url Gets the url of this OciObjectStorageSourceLocation.

Methods

__init__(**kwargs) Initializes a new OciObjectStorageSourceLocation 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.
SOURCE_LOCATION_TYPE_OCI_DATABASE = 'OCI_DATABASE'
SOURCE_LOCATION_TYPE_OCI_OBJECT_STORAGE = 'OCI_OBJECT_STORAGE'
__init__(**kwargs)

Initializes a new OciObjectStorageSourceLocation object with values from keyword arguments. The default value of the source_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:
  • source_location_type (str) – The value to assign to the source_location_type property of this OciObjectStorageSourceLocation. Allowed values for this property are: “OCI_OBJECT_STORAGE”, “OCI_OPEN_SEARCH”, “OCI_DATABASE”
  • url (str) – The value to assign to the url property of this OciObjectStorageSourceLocation.
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.

source_location_type

[Required] Gets the source_location_type of this SourceLocation. The type of the data source that contains data files for the agent.

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

Returns:The source_location_type of this SourceLocation.
Return type:str
url

Gets the url of this OciObjectStorageSourceLocation. The URL of the OCI Object Storage data source.

Returns:The url of this OciObjectStorageSourceLocation.
Return type:str