Class: Google::Apis::SpannerV1::RestoreInfo
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::RestoreInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/spanner_v1/classes.rb,
generated/google/apis/spanner_v1/representations.rb,
generated/google/apis/spanner_v1/representations.rb
Overview
Information about the database restore.
Instance Attribute Summary collapse
-
#backup_info ⇒ Google::Apis::SpannerV1::BackupInfo
Information about a backup.
-
#source_type ⇒ String
The type of the restore source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RestoreInfo
constructor
A new instance of RestoreInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RestoreInfo
Returns a new instance of RestoreInfo.
2686 2687 2688 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 2686 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_info ⇒ Google::Apis::SpannerV1::BackupInfo
Information about a backup.
Corresponds to the JSON property backupInfo
2679 2680 2681 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 2679 def backup_info @backup_info end |
#source_type ⇒ String
The type of the restore source.
Corresponds to the JSON property sourceType
2684 2685 2686 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 2684 def source_type @source_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2691 2692 2693 2694 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 2691 def update!(**args) @backup_info = args[:backup_info] if args.key?(:backup_info) @source_type = args[:source_type] if args.key?(:source_type) end |