RenameObjectDetails¶
- class oci.object_storage.models.RenameObjectDetails(**kwargs)¶
Bases:
objectTo use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.
Methods:
__init__(**kwargs)Initializes a new RenameObjectDetails object with values from keyword arguments.
Attributes:
[Required] Gets the new_name of this RenameObjectDetails.
Gets the new_obj_if_match_e_tag of this RenameObjectDetails.
Gets the new_obj_if_none_match_e_tag of this RenameObjectDetails.
[Required] Gets the source_name of this RenameObjectDetails.
Gets the src_obj_if_match_e_tag of this RenameObjectDetails.
- __init__(**kwargs)¶
Initializes a new RenameObjectDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
source_name (str) – The value to assign to the source_name property of this RenameObjectDetails.
new_name (str) – The value to assign to the new_name property of this RenameObjectDetails.
src_obj_if_match_e_tag (str) – The value to assign to the src_obj_if_match_e_tag property of this RenameObjectDetails.
new_obj_if_match_e_tag (str) – The value to assign to the new_obj_if_match_e_tag property of this RenameObjectDetails.
new_obj_if_none_match_e_tag (str) – The value to assign to the new_obj_if_none_match_e_tag property of this RenameObjectDetails.
- property new_name¶
[Required] Gets the new_name of this RenameObjectDetails. The new name of the source object. Avoid entering confidential information.
- Returns
The new_name of this RenameObjectDetails.
- Return type
str
- property new_obj_if_match_e_tag¶
Gets the new_obj_if_match_e_tag of this RenameObjectDetails. The if-match entity tag (ETag) of the new object.
- Returns
The new_obj_if_match_e_tag of this RenameObjectDetails.
- Return type
str
- property new_obj_if_none_match_e_tag¶
Gets the new_obj_if_none_match_e_tag of this RenameObjectDetails. The if-none-match entity tag (ETag) of the new object. The only valid value is ‘*’, which indicates request should fail if the new object already exists.
- Returns
The new_obj_if_none_match_e_tag of this RenameObjectDetails.
- Return type
str
- property source_name¶
[Required] Gets the source_name of this RenameObjectDetails. The name of the source object to be renamed.
- Returns
The source_name of this RenameObjectDetails.
- Return type
str
- property src_obj_if_match_e_tag¶
Gets the src_obj_if_match_e_tag of this RenameObjectDetails. The if-match entity tag (ETag) of the source object.
- Returns
The src_obj_if_match_e_tag of this RenameObjectDetails.
- Return type
str