Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class 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.
Generated from protobuf message google.storagetransfer.v1.GcsData
Namespace
Google \ Cloud \ StorageTransfer \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ bucket_name
↳ path
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 .
↳ managed_folder_transfer_enabled
bool
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 .
getBucketName
Required. Cloud Storage bucket name. Must meet Bucket Name Requirements .
string
setBucketName
Required. Cloud Storage bucket name. Must meet Bucket Name Requirements .
var
string
$this
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
setPath
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 .
var
string
$this
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
setManagedFolderTransferEnabled
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 .
var
bool
$this