PreauthenticatedRequestSummary

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

Bases: object

Get summary information about pre-authenticated requests.

Attributes

ACCESS_TYPE_ANY_OBJECT_READ A constant which can be used with the access_type property of a PreauthenticatedRequestSummary.
ACCESS_TYPE_ANY_OBJECT_READ_WRITE A constant which can be used with the access_type property of a PreauthenticatedRequestSummary.
ACCESS_TYPE_ANY_OBJECT_WRITE A constant which can be used with the access_type property of a PreauthenticatedRequestSummary.
ACCESS_TYPE_OBJECT_READ A constant which can be used with the access_type property of a PreauthenticatedRequestSummary.
ACCESS_TYPE_OBJECT_READ_WRITE A constant which can be used with the access_type property of a PreauthenticatedRequestSummary.
ACCESS_TYPE_OBJECT_WRITE A constant which can be used with the access_type property of a PreauthenticatedRequestSummary.
access_type [Required] Gets the access_type of this PreauthenticatedRequestSummary.
bucket_listing_action Gets the bucket_listing_action of this PreauthenticatedRequestSummary.
id [Required] Gets the id of this PreauthenticatedRequestSummary.
name [Required] Gets the name of this PreauthenticatedRequestSummary.
object_name Gets the object_name of this PreauthenticatedRequestSummary.
time_created [Required] Gets the time_created of this PreauthenticatedRequestSummary.
time_expires [Required] Gets the time_expires of this PreauthenticatedRequestSummary.

Methods

__init__(**kwargs) Initializes a new PreauthenticatedRequestSummary object with values from keyword arguments.
ACCESS_TYPE_ANY_OBJECT_READ = 'AnyObjectRead'

A constant which can be used with the access_type property of a PreauthenticatedRequestSummary. This constant has a value of “AnyObjectRead”

ACCESS_TYPE_ANY_OBJECT_READ_WRITE = 'AnyObjectReadWrite'

A constant which can be used with the access_type property of a PreauthenticatedRequestSummary. This constant has a value of “AnyObjectReadWrite”

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.
  • bucket_listing_action (str) – The value to assign to the bucket_listing_action 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”, “AnyObjectRead”, “AnyObjectReadWrite”, ‘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”, “AnyObjectRead”, “AnyObjectReadWrite”, ‘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
bucket_listing_action

Gets the bucket_listing_action of this PreauthenticatedRequestSummary. Specifies whether a list operation is allowed on a PAR with accessType “AnyObjectRead” or “AnyObjectReadWrite”. Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.

Returns:The bucket_listing_action 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