ObjectStorageOutputLocation¶
- class oci.ai_vision.models.ObjectStorageOutputLocation(**kwargs)¶
Bases:
StreamOutputLocationThe Object Storage Location.
Attributes:
A constant which can be used with the output_location_type property of a StreamOutputLocation.
[Required] Gets the bucket_name of this ObjectStorageOutputLocation.
[Required] Gets the namespace_name of this ObjectStorageOutputLocation.
[Required] Gets the output_location_type of this StreamOutputLocation.
[Required] Gets the prefix of this ObjectStorageOutputLocation.
Methods:
__init__(**kwargs)Initializes a new ObjectStorageOutputLocation 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 = 'OBJECT_STORAGE'¶
A constant which can be used with the output_location_type property of a StreamOutputLocation. This constant has a value of “OBJECT_STORAGE”
- __init__(**kwargs)¶
Initializes a new ObjectStorageOutputLocation object with values from keyword arguments. The default value of the
output_location_typeattribute of this class isOBJECT_STORAGEand 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 ObjectStorageOutputLocation. Allowed values for this property are: “OBJECT_STORAGE”
namespace_name (str) – The value to assign to the namespace_name property of this ObjectStorageOutputLocation.
bucket_name (str) – The value to assign to the bucket_name property of this ObjectStorageOutputLocation.
prefix (str) – The value to assign to the prefix property of this ObjectStorageOutputLocation.
- property bucket_name¶
[Required] Gets the bucket_name of this ObjectStorageOutputLocation. The Object Storage bucket name.
- Returns
The bucket_name of this ObjectStorageOutputLocation.
- 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 ObjectStorageOutputLocation. The Object Storage namespace.
- Returns
The namespace_name of this ObjectStorageOutputLocation.
- Return type
str
- property output_location_type¶
[Required] Gets the output_location_type of this StreamOutputLocation. Type of output location Allowed values are: - OBJECT_STORAGE
Allowed values for this property are: “OBJECT_STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The output_location_type of this StreamOutputLocation.
- Return type
str
- property prefix¶
[Required] Gets the prefix of this ObjectStorageOutputLocation. The Object Storage folder name.
- Returns
The prefix of this ObjectStorageOutputLocation.
- Return type
str