Google Cloud Storage Control V2 Client - Class RenameFolderMetadata (1.0.2)

Reference documentation and code samples for the Google Cloud Storage Control V2 Client class RenameFolderMetadata.

Message returned in the metadata field of the Operation resource for RenameFolder operations.

Generated from protobuf message google.storage.control.v2.RenameFolderMetadata

Namespace

Google \ Cloud \ Storage \ Control \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ common_metadata CommonLongRunningOperationMetadata

Generic metadata for the long running operation.

↳ source_folder_id string

The path of the source folder.

↳ destination_folder_id string

The path of the destination folder.

getCommonMetadata

Generic metadata for the long running operation.

Returns
Type Description
CommonLongRunningOperationMetadata|null

hasCommonMetadata

clearCommonMetadata

setCommonMetadata

Generic metadata for the long running operation.

Parameter
Name Description
var CommonLongRunningOperationMetadata
Returns
Type Description
$this

getSourceFolderId

The path of the source folder.

Returns
Type Description
string

setSourceFolderId

The path of the source folder.

Parameter
Name Description
var string
Returns
Type Description
$this

getDestinationFolderId

The path of the destination folder.

Returns
Type Description
string

setDestinationFolderId

The path of the destination folder.

Parameter
Name Description
var string
Returns
Type Description
$this