ObjectSummary¶
- class oci.opsi.models.ObjectSummary(**kwargs)¶
Bases:
objectSummary resource object.
Attributes:
A constant which can be used with the archival_state property of a ObjectSummary.
A constant which can be used with the archival_state property of a ObjectSummary.
A constant which can be used with the archival_state property of a ObjectSummary.
A constant which can be used with the storage_tier property of a ObjectSummary.
A constant which can be used with the storage_tier property of a ObjectSummary.
A constant which can be used with the storage_tier property of a ObjectSummary.
Gets the archival_state of this ObjectSummary.
Gets the etag of this ObjectSummary.
Gets the md5 of this ObjectSummary.
Gets the name of this ObjectSummary.
Gets the size of this ObjectSummary.
Gets the storage_tier of this ObjectSummary.
Gets the time_created of this ObjectSummary.
Gets the time_modified of this ObjectSummary.
Methods:
__init__(**kwargs)Initializes a new ObjectSummary object with values from keyword arguments.
- ARCHIVAL_STATE_ARCHIVED = 'ARCHIVED'¶
A constant which can be used with the archival_state property of a ObjectSummary. This constant has a value of “ARCHIVED”
- ARCHIVAL_STATE_RESTORED = 'RESTORED'¶
A constant which can be used with the archival_state property of a ObjectSummary. This constant has a value of “RESTORED”
- ARCHIVAL_STATE_RESTORING = 'RESTORING'¶
A constant which can be used with the archival_state property of a ObjectSummary. This constant has a value of “RESTORING”
- STORAGE_TIER_ARCHIVE = 'ARCHIVE'¶
A constant which can be used with the storage_tier property of a ObjectSummary. This constant has a value of “ARCHIVE”
- STORAGE_TIER_INFREQUENTACCESS = 'INFREQUENTACCESS'¶
A constant which can be used with the storage_tier property of a ObjectSummary. This constant has a value of “INFREQUENTACCESS”
- STORAGE_TIER_STANDARD = 'STANDARD'¶
A constant which can be used with the storage_tier property of a ObjectSummary. This constant has a value of “STANDARD”
- __init__(**kwargs)¶
Initializes a new ObjectSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this ObjectSummary.
size (int) – The value to assign to the size property of this ObjectSummary.
md5 (str) – The value to assign to the md5 property of this ObjectSummary.
time_created (datetime) – The value to assign to the time_created property of this ObjectSummary.
etag (str) – The value to assign to the etag property of this ObjectSummary.
storage_tier (str) – The value to assign to the storage_tier property of this ObjectSummary. Allowed values for this property are: “STANDARD”, “INFREQUENTACCESS”, “ARCHIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
archival_state (str) – The value to assign to the archival_state property of this ObjectSummary. Allowed values for this property are: “ARCHIVED”, “RESTORING”, “RESTORED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_modified (datetime) – The value to assign to the time_modified property of this ObjectSummary.
- property archival_state¶
Gets the archival_state of this ObjectSummary. Archival state of an object for those in the archival tier.
Allowed values for this property are: “ARCHIVED”, “RESTORING”, “RESTORED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The archival_state of this ObjectSummary.
- Return type
str
- property etag¶
Gets the etag of this ObjectSummary. For optimistic concurrency control. See if-match.
- Returns
The etag of this ObjectSummary.
- Return type
str
- property md5¶
Gets the md5 of this ObjectSummary. Base64-encoded MD5 hash of the Awr Hub object data.
- Returns
The md5 of this ObjectSummary.
- Return type
str
- property name¶
Gets the name of this ObjectSummary. The name of the Awr Hub object.
- Returns
The name of this ObjectSummary.
- Return type
str
- property size¶
Gets the size of this ObjectSummary. Size of the Awr Hub object in bytes.
- Returns
The size of this ObjectSummary.
- Return type
int
- property storage_tier¶
Gets the storage_tier of this ObjectSummary. The object’s storage tier.
Allowed values for this property are: “STANDARD”, “INFREQUENTACCESS”, “ARCHIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The storage_tier of this ObjectSummary.
- Return type
str
- property time_created¶
Gets the time_created of this ObjectSummary. The time at which the resource was first created. An RFC3339 formatted datetime string
- Returns
The time_created of this ObjectSummary.
- Return type
datetime
- property time_modified¶
Gets the time_modified of this ObjectSummary. The date and time the Awr Hub object was modified
- Returns
The time_modified of this ObjectSummary.
- Return type
datetime