Reference documentation and code samples for the Storage Transfer Service V1 API class Google::Cloud::StorageTransfer::V1::GcsData.
In a GcsData resource, an object's name is the Cloud Storage object's
name and its "last modification time" refers to the object's updated
property of Cloud Storage objects, which changes when the content or the
metadata of the object is updated.
Must be an empty string or full path name that ends with a '/'. This field
is treated as an object prefix. As such, it should generally not begin with
a '/'.
Must be an empty string or full path name that ends with a '/'. This field
is treated as an object prefix. As such, it should generally not begin with
a '/'.
Must be an empty string or full path name that ends with a '/'. This field
is treated as an object prefix. As such, it should generally not begin with
a '/'.
[[["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-03 UTC."],[],[],null,["# Storage Transfer Service V1 API - Class Google::Cloud::StorageTransfer::V1::GcsData (v1.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.0 (latest)](/ruby/docs/reference/google-cloud-storage_transfer-v1/latest/Google-Cloud-StorageTransfer-V1-GcsData)\n- [1.5.0](/ruby/docs/reference/google-cloud-storage_transfer-v1/1.5.0/Google-Cloud-StorageTransfer-V1-GcsData)\n- [1.4.1](/ruby/docs/reference/google-cloud-storage_transfer-v1/1.4.1/Google-Cloud-StorageTransfer-V1-GcsData)\n- [1.3.0](/ruby/docs/reference/google-cloud-storage_transfer-v1/1.3.0/Google-Cloud-StorageTransfer-V1-GcsData)\n- [1.2.0](/ruby/docs/reference/google-cloud-storage_transfer-v1/1.2.0/Google-Cloud-StorageTransfer-V1-GcsData)\n- [1.1.1](/ruby/docs/reference/google-cloud-storage_transfer-v1/1.1.1/Google-Cloud-StorageTransfer-V1-GcsData)\n- [1.0.0](/ruby/docs/reference/google-cloud-storage_transfer-v1/1.0.0/Google-Cloud-StorageTransfer-V1-GcsData)\n- [0.10.0](/ruby/docs/reference/google-cloud-storage_transfer-v1/0.10.0/Google-Cloud-StorageTransfer-V1-GcsData)\n- [0.9.2](/ruby/docs/reference/google-cloud-storage_transfer-v1/0.9.2/Google-Cloud-StorageTransfer-V1-GcsData)\n- [0.8.0](/ruby/docs/reference/google-cloud-storage_transfer-v1/0.8.0/Google-Cloud-StorageTransfer-V1-GcsData)\n- [0.7.0](/ruby/docs/reference/google-cloud-storage_transfer-v1/0.7.0/Google-Cloud-StorageTransfer-V1-GcsData)\n- [0.6.1](/ruby/docs/reference/google-cloud-storage_transfer-v1/0.6.1/Google-Cloud-StorageTransfer-V1-GcsData)\n- [0.5.0](/ruby/docs/reference/google-cloud-storage_transfer-v1/0.5.0/Google-Cloud-StorageTransfer-V1-GcsData)\n- [0.4.0](/ruby/docs/reference/google-cloud-storage_transfer-v1/0.4.0/Google-Cloud-StorageTransfer-V1-GcsData)\n- [0.3.0](/ruby/docs/reference/google-cloud-storage_transfer-v1/0.3.0/Google-Cloud-StorageTransfer-V1-GcsData)\n- [0.2.0](/ruby/docs/reference/google-cloud-storage_transfer-v1/0.2.0/Google-Cloud-StorageTransfer-V1-GcsData)\n- [0.1.2](/ruby/docs/reference/google-cloud-storage_transfer-v1/0.1.2/Google-Cloud-StorageTransfer-V1-GcsData) \nReference documentation and code samples for the Storage Transfer Service V1 API class Google::Cloud::StorageTransfer::V1::GcsData.\n\nIn a GcsData resource, an object's name is the Cloud Storage object's\nname and its \"last modification time\" refers to the object's `updated`\nproperty of Cloud Storage objects, which changes when the content or the\nmetadata of the object is updated. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #bucket_name\n\n def bucket_name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Cloud Storage bucket name. Must meet [Bucket Name Requirements](/storage/docs/naming#requirements).\n\n### #bucket_name=\n\n def bucket_name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Cloud Storage bucket name. Must meet [Bucket Name Requirements](/storage/docs/naming#requirements). \n**Returns**\n\n- (::String) --- Required. Cloud Storage bucket name. Must meet [Bucket Name Requirements](/storage/docs/naming#requirements).\n\n### #managed_folder_transfer_enabled\n\n def managed_folder_transfer_enabled() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Preview. Enables the transfer of managed folders between Cloud Storage buckets. Set this option on the gcs_data_source.\n\n If set to true:\n - Managed folders in the source bucket are transferred to the destination bucket.\n - Managed folders in the destination bucket are overwritten. Other OVERWRITE options are not supported.\n\n See\n [Transfer Cloud Storage managed\n folders](/storage-transfer/docs/managed-folders).\n\n### #managed_folder_transfer_enabled=\n\n def managed_folder_transfer_enabled=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Preview. Enables the transfer of managed folders between Cloud Storage buckets. Set this option on the gcs_data_source.\n\n\n If set to true:\n - Managed folders in the source bucket are transferred to the destination bucket.\n - Managed folders in the destination bucket are overwritten. Other OVERWRITE options are not supported.\n\n See\n [Transfer Cloud Storage managed\nfolders](/storage-transfer/docs/managed-folders). \n**Returns**\n\n- (::Boolean) --- Preview. Enables the transfer of managed folders between Cloud Storage buckets. Set this option on the gcs_data_source.\n\n If set to true:\n - Managed folders in the source bucket are transferred to the destination bucket.\n - Managed folders in the destination bucket are overwritten. Other OVERWRITE options are not supported.\n\n See\n [Transfer Cloud Storage managed\n folders](/storage-transfer/docs/managed-folders).\n\n### #path\n\n def path() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Root path to transfer objects.\n\n Must be an empty string or full path name that ends with a '/'. This field\n is treated as an object prefix. As such, it should generally not begin with\n a '/'.\n\n The root path value must meet\n [Object Name Requirements](/storage/docs/naming#objectnames).\n\n### #path=\n\n def path=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Root path to transfer objects.\n\n\n Must be an empty string or full path name that ends with a '/'. This field\n is treated as an object prefix. As such, it should generally not begin with\n a '/'.\n\n The root path value must meet\n[Object Name Requirements](/storage/docs/naming#objectnames). \n**Returns**\n\n- (::String) --- Root path to transfer objects.\n\n Must be an empty string or full path name that ends with a '/'. This field\n is treated as an object prefix. As such, it should generally not begin with\n a '/'.\n\n The root path value must meet\n [Object Name Requirements](/storage/docs/naming#objectnames)."]]