# Storage Transfer Service V1 API - Class Google::Cloud::StorageTransfer::V1::GcsData (v1.11.0)

1.11.0 (latest) 1.10.0 1.9.0 1.8.1 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #bucket_name

    def bucket_name() -> ::String

**Returns**

- (::String) --- Required. Cloud Storage bucket name. Must meet [Bucket Name Requirements](https://docs.cloud.google.com/storage/docs/naming#requirements).

### #bucket_name=

    def bucket_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Cloud Storage bucket name. Must meet [Bucket Name Requirements](https://docs.cloud.google.com/storage/docs/naming#requirements).
**Returns**

- (::String) --- Required. Cloud Storage bucket name. Must meet [Bucket Name Requirements](https://docs.cloud.google.com/storage/docs/naming#requirements).

### #managed_folder_transfer_enabled

    def managed_folder_transfer_enabled() -> ::Boolean

**Returns**

- (::Boolean) --- Preview. Enables the transfer of managed folders between Cloud Storage buckets. Set this option on the gcs_data_source.

  If set to true:
  - Managed folders in the source bucket are transferred to the destination bucket.
  - Managed folders in the destination bucket are overwritten. Other OVERWRITE options are not supported.

  See
  [Transfer Cloud Storage managed
  folders](https://docs.cloud.google.com/storage-transfer/docs/managed-folders).

### #managed_folder_transfer_enabled=

    def managed_folder_transfer_enabled=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Preview. Enables the transfer of managed folders between Cloud Storage buckets. Set this option on the gcs_data_source.


  If set to true:
  - Managed folders in the source bucket are transferred to the destination bucket.
  - Managed folders in the destination bucket are overwritten. Other OVERWRITE options are not supported.

  See
  [Transfer Cloud Storage managed
  folders](https://docs.cloud.google.com/storage-transfer/docs/managed-folders).
**Returns**

- (::Boolean) --- Preview. Enables the transfer of managed folders between Cloud Storage buckets. Set this option on the gcs_data_source.

  If set to true:
  - Managed folders in the source bucket are transferred to the destination bucket.
  - Managed folders in the destination bucket are overwritten. Other OVERWRITE options are not supported.

  See
  [Transfer Cloud Storage managed
  folders](https://docs.cloud.google.com/storage-transfer/docs/managed-folders).

### #path

    def path() -> ::String

**Returns**

- (::String) --- Root path to transfer objects.

  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 '/'.

  The root path value must meet
  [Object Name Requirements](https://docs.cloud.google.com/storage/docs/naming#objectnames).

### #path=

    def path=(value) -> ::String

**Parameter**

- **value** (::String) --- Root path to transfer objects.


  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 '/'.

  The root path value must meet
  [Object Name Requirements](https://docs.cloud.google.com/storage/docs/naming#objectnames).
**Returns**

- (::String) --- Root path to transfer objects.

  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 '/'.

  The root path value must meet
  [Object Name Requirements](https://docs.cloud.google.com/storage/docs/naming#objectnames).