Storage Control V2 API - Class Google::Cloud::Storage::Control::V2::DeleteFolderRequest (v1.1.0)

Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::DeleteFolderRequest.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#if_metageneration_match

def if_metageneration_match() -> ::Integer
Returns
  • (::Integer) — Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value.

#if_metageneration_match=

def if_metageneration_match=(value) -> ::Integer
Parameter
  • value (::Integer) — Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value.
Returns
  • (::Integer) — Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value.

#if_metageneration_not_match

def if_metageneration_not_match() -> ::Integer
Returns
  • (::Integer) — Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.

#if_metageneration_not_match=

def if_metageneration_not_match=(value) -> ::Integer
Parameter
  • value (::Integer) — Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.
Returns
  • (::Integer) — Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the folder. Format: projects/{project}/buckets/{bucket}/folders/{folder}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the folder. Format: projects/{project}/buckets/{bucket}/folders/{folder}
Returns
  • (::String) — Required. Name of the folder. Format: projects/{project}/buckets/{bucket}/folders/{folder}

#request_id

def request_id() -> ::String
Returns
  • (::String) — Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

#request_id=

def request_id=(value) -> ::String
Parameter
  • value (::String) — Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.
Returns
  • (::String) — Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.