AccessTargetDetails

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

Bases: object

Details of the targets that can be accessed by the private endpoint.

Methods

__init__(**kwargs) Initializes a new AccessTargetDetails object with values from keyword arguments.

Attributes

bucket [Required] Gets the bucket of this AccessTargetDetails.
compartment_id [Required] Gets the compartment_id of this AccessTargetDetails.
namespace [Required] Gets the namespace of this AccessTargetDetails.
__init__(**kwargs)

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

Parameters:
  • namespace (str) – The value to assign to the namespace property of this AccessTargetDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this AccessTargetDetails.
  • bucket (str) – The value to assign to the bucket property of this AccessTargetDetails.
bucket

[Required] Gets the bucket of this AccessTargetDetails. The name of the bucket. Avoid entering confidential information. Wildcards (‘*’) are allowed. If value is ‘*’, it means all buckets in the specified namespace and compartment can be accessed. It cannot be a regex. Example: my-new-bucket1

Returns:The bucket of this AccessTargetDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this AccessTargetDetails. The compartment ID which the private endpoint can access. Wildcards (‘*’) are allowed. If value is ‘*’, it means all compartments in the specified namespace can be accessed. It cannot be a regex.

Returns:The compartment_id of this AccessTargetDetails.
Return type:str
namespace

[Required] Gets the namespace of this AccessTargetDetails. The Object Storage namespace which the private endpoint can access. Wildcards (‘*’) are allowed. If value is ‘*’, it means all namespaces can be accessed. It cannot be a regex.

Returns:The namespace of this AccessTargetDetails.
Return type:str