overwriteWhen property

String? overwriteWhen
getter/setter pair

When to overwrite objects that already exist in the sink.

If not set, overwrite behavior is determined by overwrite_objects_already_existing_in_sink. Possible string values are:

  • "OVERWRITE_WHEN_UNSPECIFIED" : Overwrite behavior is unspecified.
  • "DIFFERENT" : Overwrites destination objects with the source objects, only if the objects have the same name but different HTTP ETags or checksum values.
  • "NEVER" : Never overwrites a destination object if a source object has the same name. In this case, the source object is not transferred.
  • "ALWAYS" : Always overwrite the destination object with the source object, even if the HTTP Etags or checksum values are the same.

Implementation

core.String? overwriteWhen;