Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::Folder.
A folder resource. This resource can only exist in a hierarchical namespace enabled bucket.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The creation time of the folder.
#metageneration
def metageneration() -> ::Integer
Returns
- (::Integer) — Output only. The version of the metadata for this folder. Used for preconditions and for detecting changes in metadata.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. The name of this folder.
Format:
projects/{project}/buckets/{bucket}/folders/{folder}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — 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}
#pending_rename_info
def pending_rename_info() -> ::Google::Cloud::Storage::Control::V2::PendingRenameInfo
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.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The modification time of the folder.