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

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

A managed folder.

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

Namespace

Google \ Cloud \ Storage \ Control \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ metageneration int|string

Output only. The metadata version of this managed folder. It increases whenever the metadata is updated. Used for preconditions and for detecting changes in metadata. Managed folders don't have a generation number.

↳ create_time Google\Protobuf\Timestamp

Output only. The creation time of the managed folder.

↳ update_time Google\Protobuf\Timestamp

Output only. The modification time of the managed folder.

getName

Identifier. The name of this managed folder.

Format: projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}

Returns
Type Description
string

setName

Identifier. The name of this managed folder.

Format: projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}

Parameter
Name Description
var string
Returns
Type Description
$this

getMetageneration

Output only. The metadata version of this managed folder. It increases whenever the metadata is updated. Used for preconditions and for detecting changes in metadata. Managed folders don't have a generation number.

Returns
Type Description
int|string

setMetageneration

Output only. The metadata version of this managed folder. It increases whenever the metadata is updated. Used for preconditions and for detecting changes in metadata. Managed folders don't have a generation number.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getCreateTime

Output only. The creation time of the managed folder.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The creation time of the managed folder.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The modification time of the managed folder.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The modification time of the managed folder.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this