ObjectStoragePrefixOutputLocation¶
- class oci.generative_ai_agent.models.ObjectStoragePrefixOutputLocation(**kwargs)¶
Bases:
OutputLocationThe config of object storage.
Attributes:
A constant which can be used with the output_location_type property of a OutputLocation.
[Required] Gets the bucket_name of this ObjectStoragePrefixOutputLocation.
[Required] Gets the namespace_name of this ObjectStoragePrefixOutputLocation.
[Required] Gets the output_location_type of this OutputLocation.
Gets the prefix of this ObjectStoragePrefixOutputLocation.
Methods:
__init__(**kwargs)Initializes a new ObjectStoragePrefixOutputLocation 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.
- OUTPUT_LOCATION_TYPE_OBJECT_STORAGE_PREFIX = 'OBJECT_STORAGE_PREFIX'¶
A constant which can be used with the output_location_type property of a OutputLocation. This constant has a value of “OBJECT_STORAGE_PREFIX”
- __init__(**kwargs)¶
Initializes a new ObjectStoragePrefixOutputLocation object with values from keyword arguments. The default value of the
output_location_typeattribute of this class isOBJECT_STORAGE_PREFIXand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
output_location_type (str) – The value to assign to the output_location_type property of this ObjectStoragePrefixOutputLocation. Allowed values for this property are: “OBJECT_STORAGE_PREFIX”
namespace_name (str) – The value to assign to the namespace_name property of this ObjectStoragePrefixOutputLocation.
bucket_name (str) – The value to assign to the bucket_name property of this ObjectStoragePrefixOutputLocation.
prefix (str) – The value to assign to the prefix property of this ObjectStoragePrefixOutputLocation.
- property bucket_name¶
[Required] Gets the bucket_name of this ObjectStoragePrefixOutputLocation. The name of the bucket.
- Returns
The bucket_name of this ObjectStoragePrefixOutputLocation.
- Return type
str
- 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.
- property namespace_name¶
[Required] Gets the namespace_name of this ObjectStoragePrefixOutputLocation. The namespace of the object storage.
- Returns
The namespace_name of this ObjectStoragePrefixOutputLocation.
- Return type
str
- property output_location_type¶
[Required] Gets the output_location_type of this OutputLocation. Type of OutputLocation.
Allowed values for this property are: “OBJECT_STORAGE_PREFIX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The output_location_type of this OutputLocation.
- Return type
str
- property prefix¶
Gets the prefix of this ObjectStoragePrefixOutputLocation. The prefix of the object storage.
- Returns
The prefix of this ObjectStoragePrefixOutputLocation.
- Return type
str