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;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Storage Transfer V1 Client - Class TimeCreated (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-storage-transfer/latest/V1.MetadataOptions.TimeCreated)\n- [2.2.0](/php/docs/reference/cloud-storage-transfer/2.2.0/V1.MetadataOptions.TimeCreated)\n- [2.1.1](/php/docs/reference/cloud-storage-transfer/2.1.1/V1.MetadataOptions.TimeCreated)\n- [2.0.2](/php/docs/reference/cloud-storage-transfer/2.0.2/V1.MetadataOptions.TimeCreated)\n- [1.5.0](/php/docs/reference/cloud-storage-transfer/1.5.0/V1.MetadataOptions.TimeCreated)\n- [1.4.5](/php/docs/reference/cloud-storage-transfer/1.4.5/V1.MetadataOptions.TimeCreated)\n- [1.3.1](/php/docs/reference/cloud-storage-transfer/1.3.1/V1.MetadataOptions.TimeCreated)\n- [1.2.0](/php/docs/reference/cloud-storage-transfer/1.2.0/V1.MetadataOptions.TimeCreated)\n- [1.1.1](/php/docs/reference/cloud-storage-transfer/1.1.1/V1.MetadataOptions.TimeCreated)\n- [1.0.6](/php/docs/reference/cloud-storage-transfer/1.0.6/V1.MetadataOptions.TimeCreated) \nReference documentation and code samples for the Google Cloud Storage Transfer V1 Client class TimeCreated.\n\nOptions for handling `timeCreated` metadata for Google Cloud Storage\nobjects.\n\nProtobuf type `google.storagetransfer.v1.MetadataOptions.TimeCreated`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ StorageTransfer \\\\ V1 \\\\ MetadataOptions\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### TIME_CREATED_UNSPECIFIED\n\n Value: 0\n\nTimeCreated behavior is unspecified.\n\nGenerated from protobuf enum `TIME_CREATED_UNSPECIFIED = 0;`\n\n### TIME_CREATED_SKIP\n\n Value: 1\n\nDo not preserve the `timeCreated` metadata from the source object.\n\nGenerated from protobuf enum `TIME_CREATED_SKIP = 1;`\n\n### TIME_CREATED_PRESERVE_AS_CUSTOM_TIME\n\n Value: 2\n\nPreserves the source object's `timeCreated` or `lastModified` metadata in\nthe `customTime` field in the destination object. Note that any value\nstored in the source object's `customTime` field will not be propagated\nto the destination object.\n\nGenerated from protobuf enum `TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2;`"]]