Class: Google::Apis::ParallelstoreV1::TransferMetadataOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/parallelstore_v1/classes.rb,
lib/google/apis/parallelstore_v1/representations.rb,
lib/google/apis/parallelstore_v1/representations.rb

Overview

Transfer metadata options for the instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TransferMetadataOptions

Returns a new instance of TransferMetadataOptions.



715
716
717
# File 'lib/google/apis/parallelstore_v1/classes.rb', line 715

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gidString

Optional. The GID preservation behavior. Corresponds to the JSON property gid

Returns:

  • (String)


703
704
705
# File 'lib/google/apis/parallelstore_v1/classes.rb', line 703

def gid
  @gid
end

#modeString

Optional. The mode preservation behavior. Corresponds to the JSON property mode

Returns:

  • (String)


708
709
710
# File 'lib/google/apis/parallelstore_v1/classes.rb', line 708

def mode
  @mode
end

#uidString

Optional. The UID preservation behavior. Corresponds to the JSON property uid

Returns:

  • (String)


713
714
715
# File 'lib/google/apis/parallelstore_v1/classes.rb', line 713

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



720
721
722
723
724
# File 'lib/google/apis/parallelstore_v1/classes.rb', line 720

def update!(**args)
  @gid = args[:gid] if args.key?(:gid)
  @mode = args[:mode] if args.key?(:mode)
  @uid = args[:uid] if args.key?(:uid)
end