ObjectStorageOutputLocation¶
-
class
oci.ai_vision.models.
ObjectStorageOutputLocation
(**kwargs)¶ Bases:
oci.ai_vision.models.stream_output_location.StreamOutputLocation
The Object Storage Location.
Attributes
OUTPUT_LOCATION_TYPE_OBJECT_STORAGE
str(object=’’) -> str bucket_name
[Required] Gets the bucket_name of this ObjectStorageOutputLocation. namespace_name
[Required] Gets the namespace_name of this ObjectStorageOutputLocation. output_location_type
[Required] Gets the output_location_type of this StreamOutputLocation. prefix
[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'¶
-
__init__
(**kwargs)¶ Initializes a new ObjectStorageOutputLocation object with values from keyword arguments. The default value of the
output_location_type
attribute of this class isOBJECT_STORAGE
and 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.
-
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.
-
namespace_name
¶ [Required] Gets the namespace_name of this ObjectStorageOutputLocation. The Object Storage namespace.
Returns: The namespace_name of this ObjectStorageOutputLocation. Return type: str
-
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
-
prefix
¶ [Required] Gets the prefix of this ObjectStorageOutputLocation. The Object Storage folder name.
Returns: The prefix of this ObjectStorageOutputLocation. Return type: str
-