PreauthenticatedRequestSummary

class oci.object_storage.models.PreauthenticatedRequestSummary(**kwargs)

Bases: object

Get summary information about pre-authenticated requests.

ACCESS_TYPE_ANY_OBJECT_WRITE = 'AnyObjectWrite'

A constant which can be used with the access_type property of a PreauthenticatedRequestSummary. This constant has a value of "AnyObjectWrite"

ACCESS_TYPE_OBJECT_READ = 'ObjectRead'

A constant which can be used with the access_type property of a PreauthenticatedRequestSummary. This constant has a value of "ObjectRead"

ACCESS_TYPE_OBJECT_READ_WRITE = 'ObjectReadWrite'

A constant which can be used with the access_type property of a PreauthenticatedRequestSummary. This constant has a value of "ObjectReadWrite"

ACCESS_TYPE_OBJECT_WRITE = 'ObjectWrite'

A constant which can be used with the access_type property of a PreauthenticatedRequestSummary. This constant has a value of "ObjectWrite"

__init__(**kwargs)

Initializes a new PreauthenticatedRequestSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) -- The value to assign to the id property of this PreauthenticatedRequestSummary.
  • name (str) -- The value to assign to the name property of this PreauthenticatedRequestSummary.
  • object_name (str) -- The value to assign to the object_name property of this PreauthenticatedRequestSummary.
  • access_type (str) -- The value to assign to the access_type property of this PreauthenticatedRequestSummary. Allowed values for this property are: "ObjectRead", "ObjectWrite", "ObjectReadWrite", "AnyObjectWrite", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • time_expires (datetime) -- The value to assign to the time_expires property of this PreauthenticatedRequestSummary.
  • time_created (datetime) -- The value to assign to the time_created property of this PreauthenticatedRequestSummary.
access_type

[Required] Gets the access_type of this PreauthenticatedRequestSummary. The operation that can be performed on this resource.

Allowed values for this property are: "ObjectRead", "ObjectWrite", "ObjectReadWrite", "AnyObjectWrite", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The access_type of this PreauthenticatedRequestSummary.
Return type:str
id

[Required] Gets the id of this PreauthenticatedRequestSummary. The unique identifier to use when directly addressing the pre-authenticated request.

Returns:The id of this PreauthenticatedRequestSummary.
Return type:str
name

[Required] Gets the name of this PreauthenticatedRequestSummary. The user-provided name of the pre-authenticated request.

Returns:The name of this PreauthenticatedRequestSummary.
Return type:str
object_name

Gets the object_name of this PreauthenticatedRequestSummary. The name of object that is being granted access to by the pre-authenticated request. This can be null and if it is, the pre-authenticated request grants access to the entire bucket.

Returns:The object_name of this PreauthenticatedRequestSummary.
Return type:str
time_created

[Required] Gets the time_created of this PreauthenticatedRequestSummary. The date when the pre-authenticated request was created as per RFC 3339.

Returns:The time_created of this PreauthenticatedRequestSummary.
Return type:datetime
time_expires

[Required] Gets the time_expires of this PreauthenticatedRequestSummary. The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

Returns:The time_expires of this PreauthenticatedRequestSummary.
Return type:datetime