Class: Google::Cloud::StorageTransfer::V1::MetadataOptions

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/storagetransfer/v1/transfer_types.rb

Overview

Specifies the metadata options for running a transfer.

Defined Under Namespace

Modules: Acl, GID, KmsKey, Mode, StorageClass, Symlink, TemporaryHold, TimeCreated, UID

Instance Attribute Summary collapse

Instance Attribute Details

#acl::Google::Cloud::StorageTransfer::V1::MetadataOptions::Acl

Returns Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as ACL_DESTINATION_BUCKET_DEFAULT.

Returns:



753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 753

class MetadataOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether symlinks should be skipped or preserved during a transfer job.
  module Symlink
    # Symlink behavior is unspecified.
    SYMLINK_UNSPECIFIED = 0

    # Do not preserve symlinks during a transfer job.
    SYMLINK_SKIP = 1

    # Preserve symlinks during a transfer job.
    SYMLINK_PRESERVE = 2
  end

  # Options for handling file mode attribute.
  module Mode
    # Mode behavior is unspecified.
    MODE_UNSPECIFIED = 0

    # Do not preserve mode during a transfer job.
    MODE_SKIP = 1

    # Preserve mode during a transfer job.
    MODE_PRESERVE = 2
  end

  # Options for handling file GID attribute.
  module GID
    # GID behavior is unspecified.
    GID_UNSPECIFIED = 0

    # Do not preserve GID during a transfer job.
    GID_SKIP = 1

    # Preserve GID during a transfer job.
    GID_NUMBER = 2
  end

  # Options for handling file UID attribute.
  module UID
    # UID behavior is unspecified.
    UID_UNSPECIFIED = 0

    # Do not preserve UID during a transfer job.
    UID_SKIP = 1

    # Preserve UID during a transfer job.
    UID_NUMBER = 2
  end

  # Options for handling Cloud Storage object ACLs.
  module Acl
    # ACL behavior is unspecified.
    ACL_UNSPECIFIED = 0

    # Use the destination bucket's default object ACLS, if applicable.
    ACL_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original ACLs. This requires the service account
    # to have `storage.objects.getIamPolicy` permission for the source object.
    # [Uniform bucket-level
    # access](https://cloud.google.com/storage/docs/uniform-bucket-level-access)
    # must not be enabled on either the source or destination buckets.
    ACL_PRESERVE = 2
  end

  # Options for handling Google Cloud Storage object storage class.
  module StorageClass
    # Storage class behavior is unspecified.
    STORAGE_CLASS_UNSPECIFIED = 0

    # Use the destination bucket's default storage class.
    STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original storage class. This is only supported for
    # transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL
    # storage classes will be mapped to STANDARD to ensure they can be written
    # to the destination bucket.
    STORAGE_CLASS_PRESERVE = 2

    # Set the storage class to STANDARD.
    STORAGE_CLASS_STANDARD = 3

    # Set the storage class to NEARLINE.
    STORAGE_CLASS_NEARLINE = 4

    # Set the storage class to COLDLINE.
    STORAGE_CLASS_COLDLINE = 5

    # Set the storage class to ARCHIVE.
    STORAGE_CLASS_ARCHIVE = 6
  end

  # Options for handling temporary holds for Google Cloud Storage objects.
  module TemporaryHold
    # Temporary hold behavior is unspecified.
    TEMPORARY_HOLD_UNSPECIFIED = 0

    # Do not set a temporary hold on the destination object.
    TEMPORARY_HOLD_SKIP = 1

    # Preserve the object's original temporary hold status.
    TEMPORARY_HOLD_PRESERVE = 2
  end

  # Options for handling the KmsKey setting for Google Cloud Storage objects.
  module KmsKey
    # KmsKey behavior is unspecified.
    KMS_KEY_UNSPECIFIED = 0

    # Use the destination bucket's default encryption settings.
    KMS_KEY_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original Cloud KMS customer-managed encryption key
    # (CMEK) if present. Objects that do not use a Cloud KMS encryption key
    # will be encrypted using the destination bucket's encryption settings.
    KMS_KEY_PRESERVE = 2
  end

  # Options for handling `timeCreated` metadata for Google Cloud Storage
  # objects.
  module TimeCreated
    # TimeCreated behavior is unspecified.
    TIME_CREATED_UNSPECIFIED = 0

    # Do not preserve the `timeCreated` metadata from the source object.
    TIME_CREATED_SKIP = 1

    # Preserves the source object's `timeCreated` or `lastModified` metadata in
    # the `customTime` field in the destination object.  Note that any value
    # stored in the source object's `customTime` field will not be propagated
    # to the destination object.
    TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2
  end
end

#gid::Google::Cloud::StorageTransfer::V1::MetadataOptions::GID

Returns Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer. By default, GID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.

Returns:



753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 753

class MetadataOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether symlinks should be skipped or preserved during a transfer job.
  module Symlink
    # Symlink behavior is unspecified.
    SYMLINK_UNSPECIFIED = 0

    # Do not preserve symlinks during a transfer job.
    SYMLINK_SKIP = 1

    # Preserve symlinks during a transfer job.
    SYMLINK_PRESERVE = 2
  end

  # Options for handling file mode attribute.
  module Mode
    # Mode behavior is unspecified.
    MODE_UNSPECIFIED = 0

    # Do not preserve mode during a transfer job.
    MODE_SKIP = 1

    # Preserve mode during a transfer job.
    MODE_PRESERVE = 2
  end

  # Options for handling file GID attribute.
  module GID
    # GID behavior is unspecified.
    GID_UNSPECIFIED = 0

    # Do not preserve GID during a transfer job.
    GID_SKIP = 1

    # Preserve GID during a transfer job.
    GID_NUMBER = 2
  end

  # Options for handling file UID attribute.
  module UID
    # UID behavior is unspecified.
    UID_UNSPECIFIED = 0

    # Do not preserve UID during a transfer job.
    UID_SKIP = 1

    # Preserve UID during a transfer job.
    UID_NUMBER = 2
  end

  # Options for handling Cloud Storage object ACLs.
  module Acl
    # ACL behavior is unspecified.
    ACL_UNSPECIFIED = 0

    # Use the destination bucket's default object ACLS, if applicable.
    ACL_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original ACLs. This requires the service account
    # to have `storage.objects.getIamPolicy` permission for the source object.
    # [Uniform bucket-level
    # access](https://cloud.google.com/storage/docs/uniform-bucket-level-access)
    # must not be enabled on either the source or destination buckets.
    ACL_PRESERVE = 2
  end

  # Options for handling Google Cloud Storage object storage class.
  module StorageClass
    # Storage class behavior is unspecified.
    STORAGE_CLASS_UNSPECIFIED = 0

    # Use the destination bucket's default storage class.
    STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original storage class. This is only supported for
    # transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL
    # storage classes will be mapped to STANDARD to ensure they can be written
    # to the destination bucket.
    STORAGE_CLASS_PRESERVE = 2

    # Set the storage class to STANDARD.
    STORAGE_CLASS_STANDARD = 3

    # Set the storage class to NEARLINE.
    STORAGE_CLASS_NEARLINE = 4

    # Set the storage class to COLDLINE.
    STORAGE_CLASS_COLDLINE = 5

    # Set the storage class to ARCHIVE.
    STORAGE_CLASS_ARCHIVE = 6
  end

  # Options for handling temporary holds for Google Cloud Storage objects.
  module TemporaryHold
    # Temporary hold behavior is unspecified.
    TEMPORARY_HOLD_UNSPECIFIED = 0

    # Do not set a temporary hold on the destination object.
    TEMPORARY_HOLD_SKIP = 1

    # Preserve the object's original temporary hold status.
    TEMPORARY_HOLD_PRESERVE = 2
  end

  # Options for handling the KmsKey setting for Google Cloud Storage objects.
  module KmsKey
    # KmsKey behavior is unspecified.
    KMS_KEY_UNSPECIFIED = 0

    # Use the destination bucket's default encryption settings.
    KMS_KEY_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original Cloud KMS customer-managed encryption key
    # (CMEK) if present. Objects that do not use a Cloud KMS encryption key
    # will be encrypted using the destination bucket's encryption settings.
    KMS_KEY_PRESERVE = 2
  end

  # Options for handling `timeCreated` metadata for Google Cloud Storage
  # objects.
  module TimeCreated
    # TimeCreated behavior is unspecified.
    TIME_CREATED_UNSPECIFIED = 0

    # Do not preserve the `timeCreated` metadata from the source object.
    TIME_CREATED_SKIP = 1

    # Preserves the source object's `timeCreated` or `lastModified` metadata in
    # the `customTime` field in the destination object.  Note that any value
    # stored in the source object's `customTime` field will not be propagated
    # to the destination object.
    TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2
  end
end

#kms_key::Google::Cloud::StorageTransfer::V1::MetadataOptions::KmsKey

Returns Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as KMS_KEY_DESTINATION_BUCKET_DEFAULT.

Returns:



753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 753

class MetadataOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether symlinks should be skipped or preserved during a transfer job.
  module Symlink
    # Symlink behavior is unspecified.
    SYMLINK_UNSPECIFIED = 0

    # Do not preserve symlinks during a transfer job.
    SYMLINK_SKIP = 1

    # Preserve symlinks during a transfer job.
    SYMLINK_PRESERVE = 2
  end

  # Options for handling file mode attribute.
  module Mode
    # Mode behavior is unspecified.
    MODE_UNSPECIFIED = 0

    # Do not preserve mode during a transfer job.
    MODE_SKIP = 1

    # Preserve mode during a transfer job.
    MODE_PRESERVE = 2
  end

  # Options for handling file GID attribute.
  module GID
    # GID behavior is unspecified.
    GID_UNSPECIFIED = 0

    # Do not preserve GID during a transfer job.
    GID_SKIP = 1

    # Preserve GID during a transfer job.
    GID_NUMBER = 2
  end

  # Options for handling file UID attribute.
  module UID
    # UID behavior is unspecified.
    UID_UNSPECIFIED = 0

    # Do not preserve UID during a transfer job.
    UID_SKIP = 1

    # Preserve UID during a transfer job.
    UID_NUMBER = 2
  end

  # Options for handling Cloud Storage object ACLs.
  module Acl
    # ACL behavior is unspecified.
    ACL_UNSPECIFIED = 0

    # Use the destination bucket's default object ACLS, if applicable.
    ACL_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original ACLs. This requires the service account
    # to have `storage.objects.getIamPolicy` permission for the source object.
    # [Uniform bucket-level
    # access](https://cloud.google.com/storage/docs/uniform-bucket-level-access)
    # must not be enabled on either the source or destination buckets.
    ACL_PRESERVE = 2
  end

  # Options for handling Google Cloud Storage object storage class.
  module StorageClass
    # Storage class behavior is unspecified.
    STORAGE_CLASS_UNSPECIFIED = 0

    # Use the destination bucket's default storage class.
    STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original storage class. This is only supported for
    # transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL
    # storage classes will be mapped to STANDARD to ensure they can be written
    # to the destination bucket.
    STORAGE_CLASS_PRESERVE = 2

    # Set the storage class to STANDARD.
    STORAGE_CLASS_STANDARD = 3

    # Set the storage class to NEARLINE.
    STORAGE_CLASS_NEARLINE = 4

    # Set the storage class to COLDLINE.
    STORAGE_CLASS_COLDLINE = 5

    # Set the storage class to ARCHIVE.
    STORAGE_CLASS_ARCHIVE = 6
  end

  # Options for handling temporary holds for Google Cloud Storage objects.
  module TemporaryHold
    # Temporary hold behavior is unspecified.
    TEMPORARY_HOLD_UNSPECIFIED = 0

    # Do not set a temporary hold on the destination object.
    TEMPORARY_HOLD_SKIP = 1

    # Preserve the object's original temporary hold status.
    TEMPORARY_HOLD_PRESERVE = 2
  end

  # Options for handling the KmsKey setting for Google Cloud Storage objects.
  module KmsKey
    # KmsKey behavior is unspecified.
    KMS_KEY_UNSPECIFIED = 0

    # Use the destination bucket's default encryption settings.
    KMS_KEY_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original Cloud KMS customer-managed encryption key
    # (CMEK) if present. Objects that do not use a Cloud KMS encryption key
    # will be encrypted using the destination bucket's encryption settings.
    KMS_KEY_PRESERVE = 2
  end

  # Options for handling `timeCreated` metadata for Google Cloud Storage
  # objects.
  module TimeCreated
    # TimeCreated behavior is unspecified.
    TIME_CREATED_UNSPECIFIED = 0

    # Do not preserve the `timeCreated` metadata from the source object.
    TIME_CREATED_SKIP = 1

    # Preserves the source object's `timeCreated` or `lastModified` metadata in
    # the `customTime` field in the destination object.  Note that any value
    # stored in the source object's `customTime` field will not be propagated
    # to the destination object.
    TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2
  end
end

#mode::Google::Cloud::StorageTransfer::V1::MetadataOptions::Mode

Returns Specifies how each file's mode attribute should be handled by the transfer. By default, mode is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.

Returns:



753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 753

class MetadataOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether symlinks should be skipped or preserved during a transfer job.
  module Symlink
    # Symlink behavior is unspecified.
    SYMLINK_UNSPECIFIED = 0

    # Do not preserve symlinks during a transfer job.
    SYMLINK_SKIP = 1

    # Preserve symlinks during a transfer job.
    SYMLINK_PRESERVE = 2
  end

  # Options for handling file mode attribute.
  module Mode
    # Mode behavior is unspecified.
    MODE_UNSPECIFIED = 0

    # Do not preserve mode during a transfer job.
    MODE_SKIP = 1

    # Preserve mode during a transfer job.
    MODE_PRESERVE = 2
  end

  # Options for handling file GID attribute.
  module GID
    # GID behavior is unspecified.
    GID_UNSPECIFIED = 0

    # Do not preserve GID during a transfer job.
    GID_SKIP = 1

    # Preserve GID during a transfer job.
    GID_NUMBER = 2
  end

  # Options for handling file UID attribute.
  module UID
    # UID behavior is unspecified.
    UID_UNSPECIFIED = 0

    # Do not preserve UID during a transfer job.
    UID_SKIP = 1

    # Preserve UID during a transfer job.
    UID_NUMBER = 2
  end

  # Options for handling Cloud Storage object ACLs.
  module Acl
    # ACL behavior is unspecified.
    ACL_UNSPECIFIED = 0

    # Use the destination bucket's default object ACLS, if applicable.
    ACL_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original ACLs. This requires the service account
    # to have `storage.objects.getIamPolicy` permission for the source object.
    # [Uniform bucket-level
    # access](https://cloud.google.com/storage/docs/uniform-bucket-level-access)
    # must not be enabled on either the source or destination buckets.
    ACL_PRESERVE = 2
  end

  # Options for handling Google Cloud Storage object storage class.
  module StorageClass
    # Storage class behavior is unspecified.
    STORAGE_CLASS_UNSPECIFIED = 0

    # Use the destination bucket's default storage class.
    STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original storage class. This is only supported for
    # transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL
    # storage classes will be mapped to STANDARD to ensure they can be written
    # to the destination bucket.
    STORAGE_CLASS_PRESERVE = 2

    # Set the storage class to STANDARD.
    STORAGE_CLASS_STANDARD = 3

    # Set the storage class to NEARLINE.
    STORAGE_CLASS_NEARLINE = 4

    # Set the storage class to COLDLINE.
    STORAGE_CLASS_COLDLINE = 5

    # Set the storage class to ARCHIVE.
    STORAGE_CLASS_ARCHIVE = 6
  end

  # Options for handling temporary holds for Google Cloud Storage objects.
  module TemporaryHold
    # Temporary hold behavior is unspecified.
    TEMPORARY_HOLD_UNSPECIFIED = 0

    # Do not set a temporary hold on the destination object.
    TEMPORARY_HOLD_SKIP = 1

    # Preserve the object's original temporary hold status.
    TEMPORARY_HOLD_PRESERVE = 2
  end

  # Options for handling the KmsKey setting for Google Cloud Storage objects.
  module KmsKey
    # KmsKey behavior is unspecified.
    KMS_KEY_UNSPECIFIED = 0

    # Use the destination bucket's default encryption settings.
    KMS_KEY_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original Cloud KMS customer-managed encryption key
    # (CMEK) if present. Objects that do not use a Cloud KMS encryption key
    # will be encrypted using the destination bucket's encryption settings.
    KMS_KEY_PRESERVE = 2
  end

  # Options for handling `timeCreated` metadata for Google Cloud Storage
  # objects.
  module TimeCreated
    # TimeCreated behavior is unspecified.
    TIME_CREATED_UNSPECIFIED = 0

    # Do not preserve the `timeCreated` metadata from the source object.
    TIME_CREATED_SKIP = 1

    # Preserves the source object's `timeCreated` or `lastModified` metadata in
    # the `customTime` field in the destination object.  Note that any value
    # stored in the source object's `customTime` field will not be propagated
    # to the destination object.
    TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2
  end
end

#storage_class::Google::Cloud::StorageTransfer::V1::MetadataOptions::StorageClass

Returns Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets. If unspecified, the default behavior is the same as STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT.

Returns:



753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 753

class MetadataOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether symlinks should be skipped or preserved during a transfer job.
  module Symlink
    # Symlink behavior is unspecified.
    SYMLINK_UNSPECIFIED = 0

    # Do not preserve symlinks during a transfer job.
    SYMLINK_SKIP = 1

    # Preserve symlinks during a transfer job.
    SYMLINK_PRESERVE = 2
  end

  # Options for handling file mode attribute.
  module Mode
    # Mode behavior is unspecified.
    MODE_UNSPECIFIED = 0

    # Do not preserve mode during a transfer job.
    MODE_SKIP = 1

    # Preserve mode during a transfer job.
    MODE_PRESERVE = 2
  end

  # Options for handling file GID attribute.
  module GID
    # GID behavior is unspecified.
    GID_UNSPECIFIED = 0

    # Do not preserve GID during a transfer job.
    GID_SKIP = 1

    # Preserve GID during a transfer job.
    GID_NUMBER = 2
  end

  # Options for handling file UID attribute.
  module UID
    # UID behavior is unspecified.
    UID_UNSPECIFIED = 0

    # Do not preserve UID during a transfer job.
    UID_SKIP = 1

    # Preserve UID during a transfer job.
    UID_NUMBER = 2
  end

  # Options for handling Cloud Storage object ACLs.
  module Acl
    # ACL behavior is unspecified.
    ACL_UNSPECIFIED = 0

    # Use the destination bucket's default object ACLS, if applicable.
    ACL_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original ACLs. This requires the service account
    # to have `storage.objects.getIamPolicy` permission for the source object.
    # [Uniform bucket-level
    # access](https://cloud.google.com/storage/docs/uniform-bucket-level-access)
    # must not be enabled on either the source or destination buckets.
    ACL_PRESERVE = 2
  end

  # Options for handling Google Cloud Storage object storage class.
  module StorageClass
    # Storage class behavior is unspecified.
    STORAGE_CLASS_UNSPECIFIED = 0

    # Use the destination bucket's default storage class.
    STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original storage class. This is only supported for
    # transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL
    # storage classes will be mapped to STANDARD to ensure they can be written
    # to the destination bucket.
    STORAGE_CLASS_PRESERVE = 2

    # Set the storage class to STANDARD.
    STORAGE_CLASS_STANDARD = 3

    # Set the storage class to NEARLINE.
    STORAGE_CLASS_NEARLINE = 4

    # Set the storage class to COLDLINE.
    STORAGE_CLASS_COLDLINE = 5

    # Set the storage class to ARCHIVE.
    STORAGE_CLASS_ARCHIVE = 6
  end

  # Options for handling temporary holds for Google Cloud Storage objects.
  module TemporaryHold
    # Temporary hold behavior is unspecified.
    TEMPORARY_HOLD_UNSPECIFIED = 0

    # Do not set a temporary hold on the destination object.
    TEMPORARY_HOLD_SKIP = 1

    # Preserve the object's original temporary hold status.
    TEMPORARY_HOLD_PRESERVE = 2
  end

  # Options for handling the KmsKey setting for Google Cloud Storage objects.
  module KmsKey
    # KmsKey behavior is unspecified.
    KMS_KEY_UNSPECIFIED = 0

    # Use the destination bucket's default encryption settings.
    KMS_KEY_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original Cloud KMS customer-managed encryption key
    # (CMEK) if present. Objects that do not use a Cloud KMS encryption key
    # will be encrypted using the destination bucket's encryption settings.
    KMS_KEY_PRESERVE = 2
  end

  # Options for handling `timeCreated` metadata for Google Cloud Storage
  # objects.
  module TimeCreated
    # TimeCreated behavior is unspecified.
    TIME_CREATED_UNSPECIFIED = 0

    # Do not preserve the `timeCreated` metadata from the source object.
    TIME_CREATED_SKIP = 1

    # Preserves the source object's `timeCreated` or `lastModified` metadata in
    # the `customTime` field in the destination object.  Note that any value
    # stored in the source object's `customTime` field will not be propagated
    # to the destination object.
    TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2
  end
end

Returns Specifies how symlinks should be handled by the transfer. By default, symlinks are not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.

Returns:



753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 753

class MetadataOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether symlinks should be skipped or preserved during a transfer job.
  module Symlink
    # Symlink behavior is unspecified.
    SYMLINK_UNSPECIFIED = 0

    # Do not preserve symlinks during a transfer job.
    SYMLINK_SKIP = 1

    # Preserve symlinks during a transfer job.
    SYMLINK_PRESERVE = 2
  end

  # Options for handling file mode attribute.
  module Mode
    # Mode behavior is unspecified.
    MODE_UNSPECIFIED = 0

    # Do not preserve mode during a transfer job.
    MODE_SKIP = 1

    # Preserve mode during a transfer job.
    MODE_PRESERVE = 2
  end

  # Options for handling file GID attribute.
  module GID
    # GID behavior is unspecified.
    GID_UNSPECIFIED = 0

    # Do not preserve GID during a transfer job.
    GID_SKIP = 1

    # Preserve GID during a transfer job.
    GID_NUMBER = 2
  end

  # Options for handling file UID attribute.
  module UID
    # UID behavior is unspecified.
    UID_UNSPECIFIED = 0

    # Do not preserve UID during a transfer job.
    UID_SKIP = 1

    # Preserve UID during a transfer job.
    UID_NUMBER = 2
  end

  # Options for handling Cloud Storage object ACLs.
  module Acl
    # ACL behavior is unspecified.
    ACL_UNSPECIFIED = 0

    # Use the destination bucket's default object ACLS, if applicable.
    ACL_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original ACLs. This requires the service account
    # to have `storage.objects.getIamPolicy` permission for the source object.
    # [Uniform bucket-level
    # access](https://cloud.google.com/storage/docs/uniform-bucket-level-access)
    # must not be enabled on either the source or destination buckets.
    ACL_PRESERVE = 2
  end

  # Options for handling Google Cloud Storage object storage class.
  module StorageClass
    # Storage class behavior is unspecified.
    STORAGE_CLASS_UNSPECIFIED = 0

    # Use the destination bucket's default storage class.
    STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original storage class. This is only supported for
    # transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL
    # storage classes will be mapped to STANDARD to ensure they can be written
    # to the destination bucket.
    STORAGE_CLASS_PRESERVE = 2

    # Set the storage class to STANDARD.
    STORAGE_CLASS_STANDARD = 3

    # Set the storage class to NEARLINE.
    STORAGE_CLASS_NEARLINE = 4

    # Set the storage class to COLDLINE.
    STORAGE_CLASS_COLDLINE = 5

    # Set the storage class to ARCHIVE.
    STORAGE_CLASS_ARCHIVE = 6
  end

  # Options for handling temporary holds for Google Cloud Storage objects.
  module TemporaryHold
    # Temporary hold behavior is unspecified.
    TEMPORARY_HOLD_UNSPECIFIED = 0

    # Do not set a temporary hold on the destination object.
    TEMPORARY_HOLD_SKIP = 1

    # Preserve the object's original temporary hold status.
    TEMPORARY_HOLD_PRESERVE = 2
  end

  # Options for handling the KmsKey setting for Google Cloud Storage objects.
  module KmsKey
    # KmsKey behavior is unspecified.
    KMS_KEY_UNSPECIFIED = 0

    # Use the destination bucket's default encryption settings.
    KMS_KEY_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original Cloud KMS customer-managed encryption key
    # (CMEK) if present. Objects that do not use a Cloud KMS encryption key
    # will be encrypted using the destination bucket's encryption settings.
    KMS_KEY_PRESERVE = 2
  end

  # Options for handling `timeCreated` metadata for Google Cloud Storage
  # objects.
  module TimeCreated
    # TimeCreated behavior is unspecified.
    TIME_CREATED_UNSPECIFIED = 0

    # Do not preserve the `timeCreated` metadata from the source object.
    TIME_CREATED_SKIP = 1

    # Preserves the source object's `timeCreated` or `lastModified` metadata in
    # the `customTime` field in the destination object.  Note that any value
    # stored in the source object's `customTime` field will not be propagated
    # to the destination object.
    TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2
  end
end

#temporary_hold::Google::Cloud::StorageTransfer::V1::MetadataOptions::TemporaryHold

Returns Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as TEMPORARY_HOLD_PRESERVE.

Returns:



753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 753

class MetadataOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether symlinks should be skipped or preserved during a transfer job.
  module Symlink
    # Symlink behavior is unspecified.
    SYMLINK_UNSPECIFIED = 0

    # Do not preserve symlinks during a transfer job.
    SYMLINK_SKIP = 1

    # Preserve symlinks during a transfer job.
    SYMLINK_PRESERVE = 2
  end

  # Options for handling file mode attribute.
  module Mode
    # Mode behavior is unspecified.
    MODE_UNSPECIFIED = 0

    # Do not preserve mode during a transfer job.
    MODE_SKIP = 1

    # Preserve mode during a transfer job.
    MODE_PRESERVE = 2
  end

  # Options for handling file GID attribute.
  module GID
    # GID behavior is unspecified.
    GID_UNSPECIFIED = 0

    # Do not preserve GID during a transfer job.
    GID_SKIP = 1

    # Preserve GID during a transfer job.
    GID_NUMBER = 2
  end

  # Options for handling file UID attribute.
  module UID
    # UID behavior is unspecified.
    UID_UNSPECIFIED = 0

    # Do not preserve UID during a transfer job.
    UID_SKIP = 1

    # Preserve UID during a transfer job.
    UID_NUMBER = 2
  end

  # Options for handling Cloud Storage object ACLs.
  module Acl
    # ACL behavior is unspecified.
    ACL_UNSPECIFIED = 0

    # Use the destination bucket's default object ACLS, if applicable.
    ACL_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original ACLs. This requires the service account
    # to have `storage.objects.getIamPolicy` permission for the source object.
    # [Uniform bucket-level
    # access](https://cloud.google.com/storage/docs/uniform-bucket-level-access)
    # must not be enabled on either the source or destination buckets.
    ACL_PRESERVE = 2
  end

  # Options for handling Google Cloud Storage object storage class.
  module StorageClass
    # Storage class behavior is unspecified.
    STORAGE_CLASS_UNSPECIFIED = 0

    # Use the destination bucket's default storage class.
    STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original storage class. This is only supported for
    # transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL
    # storage classes will be mapped to STANDARD to ensure they can be written
    # to the destination bucket.
    STORAGE_CLASS_PRESERVE = 2

    # Set the storage class to STANDARD.
    STORAGE_CLASS_STANDARD = 3

    # Set the storage class to NEARLINE.
    STORAGE_CLASS_NEARLINE = 4

    # Set the storage class to COLDLINE.
    STORAGE_CLASS_COLDLINE = 5

    # Set the storage class to ARCHIVE.
    STORAGE_CLASS_ARCHIVE = 6
  end

  # Options for handling temporary holds for Google Cloud Storage objects.
  module TemporaryHold
    # Temporary hold behavior is unspecified.
    TEMPORARY_HOLD_UNSPECIFIED = 0

    # Do not set a temporary hold on the destination object.
    TEMPORARY_HOLD_SKIP = 1

    # Preserve the object's original temporary hold status.
    TEMPORARY_HOLD_PRESERVE = 2
  end

  # Options for handling the KmsKey setting for Google Cloud Storage objects.
  module KmsKey
    # KmsKey behavior is unspecified.
    KMS_KEY_UNSPECIFIED = 0

    # Use the destination bucket's default encryption settings.
    KMS_KEY_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original Cloud KMS customer-managed encryption key
    # (CMEK) if present. Objects that do not use a Cloud KMS encryption key
    # will be encrypted using the destination bucket's encryption settings.
    KMS_KEY_PRESERVE = 2
  end

  # Options for handling `timeCreated` metadata for Google Cloud Storage
  # objects.
  module TimeCreated
    # TimeCreated behavior is unspecified.
    TIME_CREATED_UNSPECIFIED = 0

    # Do not preserve the `timeCreated` metadata from the source object.
    TIME_CREATED_SKIP = 1

    # Preserves the source object's `timeCreated` or `lastModified` metadata in
    # the `customTime` field in the destination object.  Note that any value
    # stored in the source object's `customTime` field will not be propagated
    # to the destination object.
    TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2
  end
end

#time_created::Google::Cloud::StorageTransfer::V1::MetadataOptions::TimeCreated

Returns Specifies how each object's timeCreated metadata is preserved for transfers. If unspecified, the default behavior is the same as TIME_CREATED_SKIP. This behavior is supported for transfers to Cloud Storage buckets from Cloud Storage, Amazon S3, S3-compatible storage, and Azure sources.

Returns:



753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 753

class MetadataOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether symlinks should be skipped or preserved during a transfer job.
  module Symlink
    # Symlink behavior is unspecified.
    SYMLINK_UNSPECIFIED = 0

    # Do not preserve symlinks during a transfer job.
    SYMLINK_SKIP = 1

    # Preserve symlinks during a transfer job.
    SYMLINK_PRESERVE = 2
  end

  # Options for handling file mode attribute.
  module Mode
    # Mode behavior is unspecified.
    MODE_UNSPECIFIED = 0

    # Do not preserve mode during a transfer job.
    MODE_SKIP = 1

    # Preserve mode during a transfer job.
    MODE_PRESERVE = 2
  end

  # Options for handling file GID attribute.
  module GID
    # GID behavior is unspecified.
    GID_UNSPECIFIED = 0

    # Do not preserve GID during a transfer job.
    GID_SKIP = 1

    # Preserve GID during a transfer job.
    GID_NUMBER = 2
  end

  # Options for handling file UID attribute.
  module UID
    # UID behavior is unspecified.
    UID_UNSPECIFIED = 0

    # Do not preserve UID during a transfer job.
    UID_SKIP = 1

    # Preserve UID during a transfer job.
    UID_NUMBER = 2
  end

  # Options for handling Cloud Storage object ACLs.
  module Acl
    # ACL behavior is unspecified.
    ACL_UNSPECIFIED = 0

    # Use the destination bucket's default object ACLS, if applicable.
    ACL_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original ACLs. This requires the service account
    # to have `storage.objects.getIamPolicy` permission for the source object.
    # [Uniform bucket-level
    # access](https://cloud.google.com/storage/docs/uniform-bucket-level-access)
    # must not be enabled on either the source or destination buckets.
    ACL_PRESERVE = 2
  end

  # Options for handling Google Cloud Storage object storage class.
  module StorageClass
    # Storage class behavior is unspecified.
    STORAGE_CLASS_UNSPECIFIED = 0

    # Use the destination bucket's default storage class.
    STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original storage class. This is only supported for
    # transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL
    # storage classes will be mapped to STANDARD to ensure they can be written
    # to the destination bucket.
    STORAGE_CLASS_PRESERVE = 2

    # Set the storage class to STANDARD.
    STORAGE_CLASS_STANDARD = 3

    # Set the storage class to NEARLINE.
    STORAGE_CLASS_NEARLINE = 4

    # Set the storage class to COLDLINE.
    STORAGE_CLASS_COLDLINE = 5

    # Set the storage class to ARCHIVE.
    STORAGE_CLASS_ARCHIVE = 6
  end

  # Options for handling temporary holds for Google Cloud Storage objects.
  module TemporaryHold
    # Temporary hold behavior is unspecified.
    TEMPORARY_HOLD_UNSPECIFIED = 0

    # Do not set a temporary hold on the destination object.
    TEMPORARY_HOLD_SKIP = 1

    # Preserve the object's original temporary hold status.
    TEMPORARY_HOLD_PRESERVE = 2
  end

  # Options for handling the KmsKey setting for Google Cloud Storage objects.
  module KmsKey
    # KmsKey behavior is unspecified.
    KMS_KEY_UNSPECIFIED = 0

    # Use the destination bucket's default encryption settings.
    KMS_KEY_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original Cloud KMS customer-managed encryption key
    # (CMEK) if present. Objects that do not use a Cloud KMS encryption key
    # will be encrypted using the destination bucket's encryption settings.
    KMS_KEY_PRESERVE = 2
  end

  # Options for handling `timeCreated` metadata for Google Cloud Storage
  # objects.
  module TimeCreated
    # TimeCreated behavior is unspecified.
    TIME_CREATED_UNSPECIFIED = 0

    # Do not preserve the `timeCreated` metadata from the source object.
    TIME_CREATED_SKIP = 1

    # Preserves the source object's `timeCreated` or `lastModified` metadata in
    # the `customTime` field in the destination object.  Note that any value
    # stored in the source object's `customTime` field will not be propagated
    # to the destination object.
    TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2
  end
end

#uid::Google::Cloud::StorageTransfer::V1::MetadataOptions::UID

Returns Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer. By default, UID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.

Returns:



753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 753

class MetadataOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether symlinks should be skipped or preserved during a transfer job.
  module Symlink
    # Symlink behavior is unspecified.
    SYMLINK_UNSPECIFIED = 0

    # Do not preserve symlinks during a transfer job.
    SYMLINK_SKIP = 1

    # Preserve symlinks during a transfer job.
    SYMLINK_PRESERVE = 2
  end

  # Options for handling file mode attribute.
  module Mode
    # Mode behavior is unspecified.
    MODE_UNSPECIFIED = 0

    # Do not preserve mode during a transfer job.
    MODE_SKIP = 1

    # Preserve mode during a transfer job.
    MODE_PRESERVE = 2
  end

  # Options for handling file GID attribute.
  module GID
    # GID behavior is unspecified.
    GID_UNSPECIFIED = 0

    # Do not preserve GID during a transfer job.
    GID_SKIP = 1

    # Preserve GID during a transfer job.
    GID_NUMBER = 2
  end

  # Options for handling file UID attribute.
  module UID
    # UID behavior is unspecified.
    UID_UNSPECIFIED = 0

    # Do not preserve UID during a transfer job.
    UID_SKIP = 1

    # Preserve UID during a transfer job.
    UID_NUMBER = 2
  end

  # Options for handling Cloud Storage object ACLs.
  module Acl
    # ACL behavior is unspecified.
    ACL_UNSPECIFIED = 0

    # Use the destination bucket's default object ACLS, if applicable.
    ACL_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original ACLs. This requires the service account
    # to have `storage.objects.getIamPolicy` permission for the source object.
    # [Uniform bucket-level
    # access](https://cloud.google.com/storage/docs/uniform-bucket-level-access)
    # must not be enabled on either the source or destination buckets.
    ACL_PRESERVE = 2
  end

  # Options for handling Google Cloud Storage object storage class.
  module StorageClass
    # Storage class behavior is unspecified.
    STORAGE_CLASS_UNSPECIFIED = 0

    # Use the destination bucket's default storage class.
    STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original storage class. This is only supported for
    # transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL
    # storage classes will be mapped to STANDARD to ensure they can be written
    # to the destination bucket.
    STORAGE_CLASS_PRESERVE = 2

    # Set the storage class to STANDARD.
    STORAGE_CLASS_STANDARD = 3

    # Set the storage class to NEARLINE.
    STORAGE_CLASS_NEARLINE = 4

    # Set the storage class to COLDLINE.
    STORAGE_CLASS_COLDLINE = 5

    # Set the storage class to ARCHIVE.
    STORAGE_CLASS_ARCHIVE = 6
  end

  # Options for handling temporary holds for Google Cloud Storage objects.
  module TemporaryHold
    # Temporary hold behavior is unspecified.
    TEMPORARY_HOLD_UNSPECIFIED = 0

    # Do not set a temporary hold on the destination object.
    TEMPORARY_HOLD_SKIP = 1

    # Preserve the object's original temporary hold status.
    TEMPORARY_HOLD_PRESERVE = 2
  end

  # Options for handling the KmsKey setting for Google Cloud Storage objects.
  module KmsKey
    # KmsKey behavior is unspecified.
    KMS_KEY_UNSPECIFIED = 0

    # Use the destination bucket's default encryption settings.
    KMS_KEY_DESTINATION_BUCKET_DEFAULT = 1

    # Preserve the object's original Cloud KMS customer-managed encryption key
    # (CMEK) if present. Objects that do not use a Cloud KMS encryption key
    # will be encrypted using the destination bucket's encryption settings.
    KMS_KEY_PRESERVE = 2
  end

  # Options for handling `timeCreated` metadata for Google Cloud Storage
  # objects.
  module TimeCreated
    # TimeCreated behavior is unspecified.
    TIME_CREATED_UNSPECIFIED = 0

    # Do not preserve the `timeCreated` metadata from the source object.
    TIME_CREATED_SKIP = 1

    # Preserves the source object's `timeCreated` or `lastModified` metadata in
    # the `customTime` field in the destination object.  Note that any value
    # stored in the source object's `customTime` field will not be propagated
    # to the destination object.
    TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2
  end
end