Reference documentation and code samples for the Google Cloud Chronicle V1 Client class SourceDeletionOption.
Source deletion option controls whether source files should be deleted after transferring.
Protobuf type google.cloud.chronicle.v1.SourceDeletionOption
Namespace
Google \ Cloud \ Chronicle \ V1Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SOURCE_DELETION_OPTION_UNSPECIFIED
Value: 0If encountered, will be treated as SOURCE_DELETION_NEVER.
Generated from protobuf enum SOURCE_DELETION_OPTION_UNSPECIFIED = 0;
SOURCE_DELETION_NEVER
Value: 1Never delete files from the source.
Generated from protobuf enum SOURCE_DELETION_NEVER = 1;
SOURCE_DELETION_ON_SUCCESS
Value: 2After the fetch completes, if there are no errors, delete files and any directories made empty by the file deletion from the source.
Generated from protobuf enum SOURCE_DELETION_ON_SUCCESS = 2;
SOURCE_DELETION_ON_SUCCESS_FILES_ONLY
Value: 3After the fetch completes, if there are no errors, delete files (leaving any directories) from the source.
Generated from protobuf enum SOURCE_DELETION_ON_SUCCESS_FILES_ONLY = 3;