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

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

#bucket_name=

def bucket_name=(value) -> ::String
Parameter
Returns

#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.

#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.

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.

#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.

#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.

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.