StorageLocation¶
- class oci.oda.models.StorageLocation(**kwargs)¶
Bases:
objectProperties that point to a specific object in Object Storage.
Methods:
__init__(**kwargs)Initializes a new StorageLocation object with values from keyword arguments.
Attributes:
[Required] Gets the bucket_name of this StorageLocation.
[Required] Gets the compartment_id of this StorageLocation.
[Required] Gets the namespace_name of this StorageLocation.
[Required] Gets the object_name of this StorageLocation.
[Required] Gets the region_id of this StorageLocation.
- __init__(**kwargs)¶
Initializes a new StorageLocation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
region_id (str) – The value to assign to the region_id property of this StorageLocation.
compartment_id (str) – The value to assign to the compartment_id property of this StorageLocation.
namespace_name (str) – The value to assign to the namespace_name property of this StorageLocation.
bucket_name (str) – The value to assign to the bucket_name property of this StorageLocation.
object_name (str) – The value to assign to the object_name property of this StorageLocation.
- property bucket_name¶
[Required] Gets the bucket_name of this StorageLocation. The name of the bucket.
- Returns
The bucket_name of this StorageLocation.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this StorageLocation. The unique identifier for the compartment.
- Returns
The compartment_id of this StorageLocation.
- Return type
str
- property namespace_name¶
[Required] Gets the namespace_name of this StorageLocation. The Object Storage namespace.
- Returns
The namespace_name of this StorageLocation.
- Return type
str
- property object_name¶
[Required] Gets the object_name of this StorageLocation. The name of the object.
- Returns
The object_name of this StorageLocation.
- Return type
str
- property region_id¶
[Required] Gets the region_id of this StorageLocation. The region id.
- Returns
The region_id of this StorageLocation.
- Return type
str