ObjectStorageLocation

class oci.ai_anomaly_detection.models.ObjectStorageLocation(**kwargs)

Bases: oci.ai_anomaly_detection.models.output_job_details.OutputJobDetails

This is the specialised JSON format with an additional field for ‘locationType’. This is a required field used for deciding if it is an object-storage location.

Attributes

OUTPUT_TYPE_OBJECT_STORAGE str(object=’’) -> str
bucket_name [Required] Gets the bucket_name of this ObjectStorageLocation.
namespace_name [Required] Gets the namespace_name of this ObjectStorageLocation.
output_type [Required] Gets the output_type of this OutputJobDetails.
prefix [Required] Gets the prefix of this ObjectStorageLocation.

Methods

__init__(**kwargs) Initializes a new ObjectStorageLocation 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_TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'
__init__(**kwargs)

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

Parameters:
  • output_type (str) – The value to assign to the output_type property of this ObjectStorageLocation. Allowed values for this property are: “OBJECT_STORAGE”
  • namespace_name (str) – The value to assign to the namespace_name property of this ObjectStorageLocation.
  • bucket_name (str) – The value to assign to the bucket_name property of this ObjectStorageLocation.
  • prefix (str) – The value to assign to the prefix property of this ObjectStorageLocation.
bucket_name

[Required] Gets the bucket_name of this ObjectStorageLocation. Object Storage bucket name.

Returns:The bucket_name of this ObjectStorageLocation.
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 ObjectStorageLocation. Object Storage namespace.

Returns:The namespace_name of this ObjectStorageLocation.
Return type:str
output_type

[Required] Gets the output_type of this OutputJobDetails. The type of output location Allowed values are: - OBJECT_STORAGE: Object store output location.

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_type of this OutputJobDetails.
Return type:str
prefix

[Required] Gets the prefix of this ObjectStorageLocation. Object Storage folder name.

Returns:The prefix of this ObjectStorageLocation.
Return type:str