# Google Cloud Storage Transfer V1 Client - Class TimeCreated (2.4.0)

2.4.0 (latest) 2.3.2 2.2.1 2.1.1 2.0.2 1.5.0 1.4.5 1.3.1 1.2.0 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class TimeCreated.

Options for handling `timeCreated` metadata for Google Cloud Storage
objects.

Protobuf type `google.storagetransfer.v1.MetadataOptions.TimeCreated`

## Namespace

Google \\ Cloud \\ StorageTransfer \\ V1 \\ MetadataOptions

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### TIME_CREATED_UNSPECIFIED

    Value: 0

TimeCreated behavior is unspecified.

Generated from protobuf enum `TIME_CREATED_UNSPECIFIED = 0;`

### TIME_CREATED_SKIP

    Value: 1

Do not preserve the `timeCreated` metadata from the source object.

Generated from protobuf enum `TIME_CREATED_SKIP = 1;`

### TIME_CREATED_PRESERVE_AS_CUSTOM_TIME

    Value: 2

Preserves the source object's `timeCreated` or `lastModified` metadata in
the `customTime` field in the destination object. Note that any value
stored in the source object's `customTime` field will not be propagated
to the destination object.

Generated from protobuf enum `TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2;`