Class: Google::Apis::ParallelstoreV1::TransferMetadataOptions
- Inherits:
-
Object
- Object
- Google::Apis::ParallelstoreV1::TransferMetadataOptions
- 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
-
#gid ⇒ String
Optional.
-
#mode ⇒ String
Optional.
-
#uid ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransferMetadataOptions
constructor
A new instance of TransferMetadataOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#gid ⇒ String
Optional. The GID preservation behavior.
Corresponds to the JSON property gid
703 704 705 |
# File 'lib/google/apis/parallelstore_v1/classes.rb', line 703 def gid @gid end |
#mode ⇒ String
Optional. The mode preservation behavior.
Corresponds to the JSON property mode
708 709 710 |
# File 'lib/google/apis/parallelstore_v1/classes.rb', line 708 def mode @mode end |
#uid ⇒ String
Optional. The UID preservation behavior.
Corresponds to the JSON property uid
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 |