Class: Google::Cloud::Storage::Control::V2::RenameFolderRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/storage/control/v2/storage_control.rb

Overview

Request message for RenameFolder. This operation is only applicable to a hierarchical namespace enabled bucket.

Instance Attribute Summary collapse

Instance Attribute Details

#destination_folder_id::String

Returns Required. The destination folder ID, e.g. foo/bar/.

Returns:

  • (::String)

    Required. The destination folder ID, e.g. foo/bar/.



219
220
221
222
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 219

class RenameFolderRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#if_metageneration_match::Integer

Returns Makes the operation only succeed conditional on whether the source folder's current metageneration matches the given value.

Returns:

  • (::Integer)

    Makes the operation only succeed conditional on whether the source folder's current metageneration matches the given value.



219
220
221
222
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 219

class RenameFolderRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#if_metageneration_not_match::Integer

Returns Makes the operation only succeed conditional on whether the source folder's current metageneration does not match the given value.

Returns:

  • (::Integer)

    Makes the operation only succeed conditional on whether the source folder's current metageneration does not match the given value.



219
220
221
222
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 219

class RenameFolderRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Required. Name of the source folder being renamed. Format: projects/{project}/buckets/{bucket}/folders/{folder}.

Returns:

  • (::String)

    Required. Name of the source folder being renamed. Format: projects/{project}/buckets/{bucket}/folders/{folder}



219
220
221
222
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 219

class RenameFolderRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#request_id::String

Returns 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.

Returns:

  • (::String)

    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.



219
220
221
222
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 219

class RenameFolderRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end