ObjectStorageGenericArtifactLocationDetails¶
-
class
oci.devops.models.
ObjectStorageGenericArtifactLocationDetails
(**kwargs)¶ Bases:
oci.devops.models.generic_artifact_location_details.GenericArtifactLocationDetails
ObjectStorage bucket details where artifact is located.
Attributes
STORAGE_TYPE_OBJECT_STORAGE
str(object=’’) -> str bucket_name
[Required] Gets the bucket_name of this ObjectStorageGenericArtifactLocationDetails. namespace
[Required] Gets the namespace of this ObjectStorageGenericArtifactLocationDetails. object_name
[Required] Gets the object_name of this ObjectStorageGenericArtifactLocationDetails. region
[Required] Gets the region of this ObjectStorageGenericArtifactLocationDetails. storage_type
[Required] Gets the storage_type of this GenericArtifactLocationDetails. Methods
__init__
(**kwargs)Initializes a new ObjectStorageGenericArtifactLocationDetails 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. -
STORAGE_TYPE_OBJECT_STORAGE
= 'OBJECT_STORAGE'¶
-
__init__
(**kwargs)¶ Initializes a new ObjectStorageGenericArtifactLocationDetails object with values from keyword arguments. The default value of the
storage_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: - storage_type (str) – The value to assign to the storage_type property of this ObjectStorageGenericArtifactLocationDetails. Allowed values for this property are: “OBJECT_STORAGE”
- namespace (str) – The value to assign to the namespace property of this ObjectStorageGenericArtifactLocationDetails.
- bucket_name (str) – The value to assign to the bucket_name property of this ObjectStorageGenericArtifactLocationDetails.
- object_name (str) – The value to assign to the object_name property of this ObjectStorageGenericArtifactLocationDetails.
- region (str) – The value to assign to the region property of this ObjectStorageGenericArtifactLocationDetails.
-
bucket_name
¶ [Required] Gets the bucket_name of this ObjectStorageGenericArtifactLocationDetails. Specifies the Object Storage bucket.
Returns: The bucket_name of this ObjectStorageGenericArtifactLocationDetails. 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
¶ [Required] Gets the namespace of this ObjectStorageGenericArtifactLocationDetails. Unique namespace in the tenancy which contains the bucket
Returns: The namespace of this ObjectStorageGenericArtifactLocationDetails. Return type: str
-
object_name
¶ [Required] Gets the object_name of this ObjectStorageGenericArtifactLocationDetails. Specifies the name of object inside the bucket.
Returns: The object_name of this ObjectStorageGenericArtifactLocationDetails. Return type: str
-
region
¶ [Required] Gets the region of this ObjectStorageGenericArtifactLocationDetails. Region identifier.
Returns: The region of this ObjectStorageGenericArtifactLocationDetails. Return type: str
-
storage_type
¶ [Required] Gets the storage_type of this GenericArtifactLocationDetails. Storage source like ObjectStorage, etc.
Allowed values for this property are: “OBJECT_STORAGE”
Returns: The storage_type of this GenericArtifactLocationDetails. Return type: str
-