Class: Google::Apis::MetastoreV1alpha::Restore
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::Restore
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1alpha/classes.rb,
lib/google/apis/metastore_v1alpha/representations.rb,
lib/google/apis/metastore_v1alpha/representations.rb
Overview
The details of a metadata restore operation.
Instance Attribute Summary collapse
-
#backup ⇒ String
Output only.
-
#details ⇒ String
Output only.
-
#end_time ⇒ String
Output only.
-
#start_time ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Restore
constructor
A new instance of Restore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Restore
Returns a new instance of Restore.
1667 1668 1669 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1667 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup ⇒ String
Output only. The relative resource name of the metastore service backup to
restore from, in the following form:projects/project_id/locations/
location_id/services/service_id/backups/backup_id.
Corresponds to the JSON property backup
1639 1640 1641 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1639 def backup @backup end |
#details ⇒ String
Output only. The restore details containing the revision of the service to be
restored to, in format of JSON.
Corresponds to the JSON property details
1645 1646 1647 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1645 def details @details end |
#end_time ⇒ String
Output only. The time when the restore ended.
Corresponds to the JSON property endTime
1650 1651 1652 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1650 def end_time @end_time end |
#start_time ⇒ String
Output only. The time when the restore started.
Corresponds to the JSON property startTime
1655 1656 1657 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1655 def start_time @start_time end |
#state ⇒ String
Output only. The current state of the restore.
Corresponds to the JSON property state
1660 1661 1662 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1660 def state @state end |
#type ⇒ String
Output only. The type of restore.
Corresponds to the JSON property type
1665 1666 1667 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1665 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1672 1673 1674 1675 1676 1677 1678 1679 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1672 def update!(**args) @backup = args[:backup] if args.key?(:backup) @details = args[:details] if args.key?(:details) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) end |