Google Cloud Chronicle V1 Client - Class SourceDeletionOptionV2 (0.7.1)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class SourceDeletionOptionV2.

Source deletion option determines whether source files should be deleted after transferring.

Protobuf type google.cloud.chronicle.v1.SourceDeletionOptionV2

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SOURCE_DELETION_OPTION_V2_UNSPECIFIED

Value: 0

If encountered, will be treated as SOURCE_DELETION_NEVER.

Generated from protobuf enum SOURCE_DELETION_OPTION_V2_UNSPECIFIED = 0;

NEVER

Value: 1

Never delete files from the source.

Generated from protobuf enum NEVER = 1;

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 ON_SUCCESS = 2;