Class RenameFolderRequest (0.2.0)

RenameFolderRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for RenameFolder. This operation is only applicable to a hierarchical namespace enabled bucket. Hierarchical namespace buckets are in allowlist preview.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
name str
Required. Name of the source folder being renamed. Format: projects/{project}/buckets/{bucket}/folders/{folder}
destination_folder_id str
Required. The destination folder ID, e.g. foo/bar/.
if_metageneration_match int
Makes the operation only succeed conditional on whether the source folder's current metageneration matches the given value. This field is a member of oneof_ _if_metageneration_match.
if_metageneration_not_match int
Makes the operation only succeed conditional on whether the source folder's current metageneration does not match the given value. This field is a member of oneof_ _if_metageneration_not_match.
request_id str
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a request_id is provided.