Show / Hide Table of Contents

Class CreatePreauthenticatedRequestDetails

Inheritance
object
CreatePreauthenticatedRequestDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ObjectstorageService.Models
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class CreatePreauthenticatedRequestDetails

Properties

AccessType

Declaration
[Required(ErrorMessage = "AccessType is required.")]
[JsonProperty(PropertyName = "accessType")]
[JsonConverter(typeof(StringEnumConverter))]
public CreatePreauthenticatedRequestDetails.AccessTypeEnum? AccessType { get; set; }
Property Value
Type Description
CreatePreauthenticatedRequestDetails.AccessTypeEnum?

The operation that can be performed on this resource.

Remarks

Required

BucketListingAction

Declaration
[JsonProperty(PropertyName = "bucketListingAction")]
[JsonConverter(typeof(StringEnumConverter))]
public PreauthenticatedRequest.BucketListingActionEnum? BucketListingAction { get; set; }
Property Value
Type Description
PreauthenticatedRequest.BucketListingActionEnum?

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.

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.

Remarks

Required

ObjectName

Declaration
[JsonProperty(PropertyName = "objectName")]
public string ObjectName { get; set; }
Property Value
Type Description
string

The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

TimeExpires

Declaration
[Required(ErrorMessage = "TimeExpires is required.")]
[JsonProperty(PropertyName = "timeExpires")]
public DateTime? TimeExpires { get; set; }
Property Value
Type Description
DateTime?

The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

Remarks

Required

In this article
Back to top