ObjectStorageBucketContentDetails

class oci.fleet_apps_management.models.ObjectStorageBucketContentDetails(**kwargs)

Bases: oci.fleet_apps_management.models.content_details.ContentDetails

Details about Object Storage Bucket source. Restricted to the region this is called

Attributes

SOURCE_TYPE_OBJECT_STORAGE_BUCKET str(object=’’) -> str
bucket_name [Required] Gets the bucket_name of this ObjectStorageBucketContentDetails.
checksum [Required] Gets the checksum of this ObjectStorageBucketContentDetails.
namespace_name [Required] Gets the namespace_name of this ObjectStorageBucketContentDetails.
object_name [Required] Gets the object_name of this ObjectStorageBucketContentDetails.
source_type [Required] Gets the source_type of this ContentDetails.

Methods

__init__(**kwargs) Initializes a new ObjectStorageBucketContentDetails 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.
SOURCE_TYPE_OBJECT_STORAGE_BUCKET = 'OBJECT_STORAGE_BUCKET'
__init__(**kwargs)

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

Parameters:
  • source_type (str) – The value to assign to the source_type property of this ObjectStorageBucketContentDetails. Allowed values for this property are: “OBJECT_STORAGE_BUCKET”
  • namespace_name (str) – The value to assign to the namespace_name property of this ObjectStorageBucketContentDetails.
  • bucket_name (str) – The value to assign to the bucket_name property of this ObjectStorageBucketContentDetails.
  • object_name (str) – The value to assign to the object_name property of this ObjectStorageBucketContentDetails.
  • checksum (str) – The value to assign to the checksum property of this ObjectStorageBucketContentDetails.
bucket_name

[Required] Gets the bucket_name of this ObjectStorageBucketContentDetails. Bucket Name.

Returns:The bucket_name of this ObjectStorageBucketContentDetails.
Return type:str
checksum

[Required] Gets the checksum of this ObjectStorageBucketContentDetails. SHA256 checksum of the artifact.

Returns:The checksum of this ObjectStorageBucketContentDetails.
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 ObjectStorageBucketContentDetails. Namespace.

Returns:The namespace_name of this ObjectStorageBucketContentDetails.
Return type:str
object_name

[Required] Gets the object_name of this ObjectStorageBucketContentDetails. Object Name.

Returns:The object_name of this ObjectStorageBucketContentDetails.
Return type:str
source_type

[Required] Gets the source_type of this ContentDetails. Content Source Details.

Allowed values for this property are: “OBJECT_STORAGE_BUCKET”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The source_type of this ContentDetails.
Return type:str