Google Cloud Chronicle V1 Client - Class SourceDeletionOption (0.7.1)

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 \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SOURCE_DELETION_OPTION_UNSPECIFIED

Value: 0

If encountered, will be treated as SOURCE_DELETION_NEVER.

Generated from protobuf enum SOURCE_DELETION_OPTION_UNSPECIFIED = 0;

SOURCE_DELETION_NEVER

Value: 1

Never delete files from the source.

Generated from protobuf enum SOURCE_DELETION_NEVER = 1;

SOURCE_DELETION_ON_SUCCESS

Value: 2

After 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: 3

After 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;