public sealed class GcsData : IMessage<GcsData>, IEquatable<GcsData>, IDeepCloneable<GcsData>, IBufferMessage, IMessage
Reference documentation and code samples for the Storage Transfer v1 API 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.
Namespace
Google.Cloud.StorageTransfer.V1Assembly
Google.Cloud.StorageTransfer.V1.dll
Constructors
GcsData()
public GcsData()
GcsData(GcsData)
public GcsData(GcsData other)
Parameter | |
---|---|
Name | Description |
other |
GcsData |
Properties
BucketName
public string BucketName { get; set; }
Required. Cloud Storage bucket name. Must meet Bucket Name Requirements.
Property Value | |
---|---|
Type | Description |
string |
ManagedFolderTransferEnabled
public bool ManagedFolderTransferEnabled { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |
Path
public string Path { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |