Class: Google::Apis::FileV1beta1::RestoreConfig
- Inherits:
-
Object
- Object
- Google::Apis::FileV1beta1::RestoreConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/file_v1beta1/classes.rb,
lib/google/apis/file_v1beta1/representations.rb,
lib/google/apis/file_v1beta1/representations.rb
Overview
Optional configuration for restore backup operations.
Instance Attribute Summary collapse
-
#path_patterns ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RestoreConfig
constructor
A new instance of RestoreConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RestoreConfig
Returns a new instance of RestoreConfig.
2049 2050 2051 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 2049 def initialize(**args) update!(**args) end |
Instance Attribute Details
#path_patterns ⇒ Array<String>
Optional. Example: If you want to restore /mnt/share/dir1/file.txt, the path
pattern must be /dir1/file.txt. If you want to restore /mnt/share/dir1/,
the path pattern must be /dir1. Currently only single path is supported,
Glob patterns are not supported.
Corresponds to the JSON property pathPatterns
2047 2048 2049 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 2047 def path_patterns @path_patterns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2054 2055 2056 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 2054 def update!(**args) @path_patterns = args[:path_patterns] if args.key?(:path_patterns) end |