Class: Google::Cloud::Storage::Control::V2::Folder

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

A folder resource. This resource can only exist in a hierarchical namespace enabled bucket.

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The creation time of the folder.

Returns:



57
58
59
60
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 57

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

#metageneration::Integer (readonly)

Returns Output only. The version of the metadata for this folder. Used for preconditions and for detecting changes in metadata.

Returns:

  • (::Integer)

    Output only. The version of the metadata for this folder. Used for preconditions and for detecting changes in metadata.



57
58
59
60
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 57

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

#name::String

Returns Identifier. The name of this folder. Format: projects/{project}/buckets/{bucket}/folders/{folder}.

Returns:

  • (::String)

    Identifier. The name of this folder. Format: projects/{project}/buckets/{bucket}/folders/{folder}



57
58
59
60
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 57

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

#pending_rename_info::Google::Cloud::Storage::Control::V2::PendingRenameInfo (readonly)

Returns Output only. Only present if the folder is part of an ongoing RenameFolder operation. Contains information which can be used to query the operation status. The presence of this field also indicates all write operations are blocked for this folder, including folder, managed folder, and object operations.

Returns:

  • (::Google::Cloud::Storage::Control::V2::PendingRenameInfo)

    Output only. Only present if the folder is part of an ongoing RenameFolder operation. Contains information which can be used to query the operation status. The presence of this field also indicates all write operations are blocked for this folder, including folder, managed folder, and object operations.



57
58
59
60
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 57

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

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The modification time of the folder.

Returns:



57
58
59
60
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 57

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