UpdateObjectStorageArchiveSourceDetails

class oci.functions.models.UpdateObjectStorageArchiveSourceDetails(**kwargs)

Bases: oci.functions.models.update_archive_source_details.UpdateArchiveSourceDetails

Source details required for updating an archive based function from Object Storage.

Attributes

ARCHIVE_SOURCE_TYPE_DIRECT_ARCHIVE str(object=’’) -> str
ARCHIVE_SOURCE_TYPE_OBJECT_STORAGE_ARCHIVE str(object=’’) -> str
archive_source_type [Required] Gets the archive_source_type of this UpdateArchiveSourceDetails.
bucket_name Gets the bucket_name of this UpdateObjectStorageArchiveSourceDetails.
namespace Gets the namespace of this UpdateObjectStorageArchiveSourceDetails.
object_name Gets the object_name of this UpdateObjectStorageArchiveSourceDetails.
object_version_id Gets the object_version_id of this UpdateObjectStorageArchiveSourceDetails.

Methods

__init__(**kwargs) Initializes a new UpdateObjectStorageArchiveSourceDetails 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.
ARCHIVE_SOURCE_TYPE_DIRECT_ARCHIVE = 'DIRECT_ARCHIVE'
ARCHIVE_SOURCE_TYPE_OBJECT_STORAGE_ARCHIVE = 'OBJECT_STORAGE_ARCHIVE'
__init__(**kwargs)

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

Parameters:
  • archive_source_type (str) – The value to assign to the archive_source_type property of this UpdateObjectStorageArchiveSourceDetails. Allowed values for this property are: “OBJECT_STORAGE_ARCHIVE”, “DIRECT_ARCHIVE”
  • bucket_name (str) – The value to assign to the bucket_name property of this UpdateObjectStorageArchiveSourceDetails.
  • namespace (str) – The value to assign to the namespace property of this UpdateObjectStorageArchiveSourceDetails.
  • object_name (str) – The value to assign to the object_name property of this UpdateObjectStorageArchiveSourceDetails.
  • object_version_id (str) – The value to assign to the object_version_id property of this UpdateObjectStorageArchiveSourceDetails.
archive_source_type

[Required] Gets the archive_source_type of this UpdateArchiveSourceDetails. Type of the Archive Source. Possible values: OBJECT_STORAGE_ARCHIVE and DIRECT_ARCHIVE.

Allowed values for this property are: “OBJECT_STORAGE_ARCHIVE”, “DIRECT_ARCHIVE”

Returns:The archive_source_type of this UpdateArchiveSourceDetails.
Return type:str
bucket_name

Gets the bucket_name of this UpdateObjectStorageArchiveSourceDetails. The name of the Object Storage bucket.

Returns:The bucket_name of this UpdateObjectStorageArchiveSourceDetails.
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

Gets the namespace of this UpdateObjectStorageArchiveSourceDetails. The Object Storage namespace.

Returns:The namespace of this UpdateObjectStorageArchiveSourceDetails.
Return type:str
object_name

Gets the object_name of this UpdateObjectStorageArchiveSourceDetails. The name of the Object Storage object.

Returns:The object_name of this UpdateObjectStorageArchiveSourceDetails.
Return type:str
object_version_id

Gets the object_version_id of this UpdateObjectStorageArchiveSourceDetails. VersionId used to identify a particular version of the object. If not specified, the latest version of the object is used.

Returns:The object_version_id of this UpdateObjectStorageArchiveSourceDetails.
Return type:str