Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class Mode.
Options for handling file mode attribute.
Protobuf type google.storagetransfer.v1.MetadataOptions.Mode
Namespace
Google \ Cloud \ StorageTransfer \ V1 \ MetadataOptionsMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
MODE_UNSPECIFIED
Value: 0
Mode behavior is unspecified.
Generated from protobuf enum MODE_UNSPECIFIED = 0;
MODE_SKIP
Value: 1
Do not preserve mode during a transfer job.
Generated from protobuf enum MODE_SKIP = 1;
MODE_PRESERVE
Value: 2
Preserve mode during a transfer job.
Generated from protobuf enum MODE_PRESERVE = 2;