Interface TransferTypes.GcsDataOrBuilder (1.48.0)

public static interface TransferTypes.GcsDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucketName()

public abstract String getBucketName()

Required. Cloud Storage bucket name. Must meet Bucket Name Requirements.

string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The bucketName.

getBucketNameBytes()

public abstract ByteString getBucketNameBytes()

Required. Cloud Storage bucket name. Must meet Bucket Name Requirements.

string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for bucketName.

getManagedFolderTransferEnabled()

public abstract boolean getManagedFolderTransferEnabled()

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.

bool managed_folder_transfer_enabled = 4;

Returns
Type Description
boolean

The managedFolderTransferEnabled.

getPath()

public abstract String getPath()

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.

string path = 3;

Returns
Type Description
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

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.

string path = 3;

Returns
Type Description
ByteString

The bytes for path.