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

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 Google\Cloud\Storage\Control\V2\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
Google\Cloud\Storage\Control\V2\CommonLongRunningOperationMetadata|null

hasCommonMetadata

clearCommonMetadata

setCommonMetadata

Generic metadata for the long running operation.

Parameter
Name Description
var Google\Cloud\Storage\Control\V2\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