Class: Google::Cloud::Metastore::V1::Restore
- Inherits:
-
Object
- Object
- Google::Cloud::Metastore::V1::Restore
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/metastore/v1/metastore.rb
Overview
The details of a metadata restore operation.
Defined Under Namespace
Modules: RestoreType, State
Instance Attribute Summary collapse
-
#backup ⇒ ::String
readonly
Output only.
-
#details ⇒ ::String
readonly
Output only.
-
#end_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Metastore::V1::Restore::State
readonly
Output only.
-
#type ⇒ ::Google::Cloud::Metastore::V1::Restore::RestoreType
readonly
Output only.
Instance Attribute Details
#backup ⇒ ::String (readonly)
Returns 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}
.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 612 class Restore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The current state of the restore. module State # The state of the metadata restore is unknown. STATE_UNSPECIFIED = 0 # The metadata restore is running. RUNNING = 1 # The metadata restore completed successfully. SUCCEEDED = 2 # The metadata restore failed. FAILED = 3 # The metadata restore is cancelled. CANCELLED = 4 end # The type of restore. If unspecified, defaults to `METADATA_ONLY`. module RestoreType # The restore type is unknown. RESTORE_TYPE_UNSPECIFIED = 0 # The service's metadata and configuration are restored. FULL = 1 # Only the service's metadata is restored. METADATA_ONLY = 2 end end |
#details ⇒ ::String (readonly)
Returns Output only. The restore details containing the revision of the service to be restored to, in format of JSON.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 612 class Restore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The current state of the restore. module State # The state of the metadata restore is unknown. STATE_UNSPECIFIED = 0 # The metadata restore is running. RUNNING = 1 # The metadata restore completed successfully. SUCCEEDED = 2 # The metadata restore failed. FAILED = 3 # The metadata restore is cancelled. CANCELLED = 4 end # The type of restore. If unspecified, defaults to `METADATA_ONLY`. module RestoreType # The restore type is unknown. RESTORE_TYPE_UNSPECIFIED = 0 # The service's metadata and configuration are restored. FULL = 1 # Only the service's metadata is restored. METADATA_ONLY = 2 end end |
#end_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the restore ended.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 612 class Restore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The current state of the restore. module State # The state of the metadata restore is unknown. STATE_UNSPECIFIED = 0 # The metadata restore is running. RUNNING = 1 # The metadata restore completed successfully. SUCCEEDED = 2 # The metadata restore failed. FAILED = 3 # The metadata restore is cancelled. CANCELLED = 4 end # The type of restore. If unspecified, defaults to `METADATA_ONLY`. module RestoreType # The restore type is unknown. RESTORE_TYPE_UNSPECIFIED = 0 # The service's metadata and configuration are restored. FULL = 1 # Only the service's metadata is restored. METADATA_ONLY = 2 end end |
#start_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the restore started.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 612 class Restore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The current state of the restore. module State # The state of the metadata restore is unknown. STATE_UNSPECIFIED = 0 # The metadata restore is running. RUNNING = 1 # The metadata restore completed successfully. SUCCEEDED = 2 # The metadata restore failed. FAILED = 3 # The metadata restore is cancelled. CANCELLED = 4 end # The type of restore. If unspecified, defaults to `METADATA_ONLY`. module RestoreType # The restore type is unknown. RESTORE_TYPE_UNSPECIFIED = 0 # The service's metadata and configuration are restored. FULL = 1 # Only the service's metadata is restored. METADATA_ONLY = 2 end end |
#state ⇒ ::Google::Cloud::Metastore::V1::Restore::State (readonly)
Returns Output only. The current state of the restore.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 612 class Restore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The current state of the restore. module State # The state of the metadata restore is unknown. STATE_UNSPECIFIED = 0 # The metadata restore is running. RUNNING = 1 # The metadata restore completed successfully. SUCCEEDED = 2 # The metadata restore failed. FAILED = 3 # The metadata restore is cancelled. CANCELLED = 4 end # The type of restore. If unspecified, defaults to `METADATA_ONLY`. module RestoreType # The restore type is unknown. RESTORE_TYPE_UNSPECIFIED = 0 # The service's metadata and configuration are restored. FULL = 1 # Only the service's metadata is restored. METADATA_ONLY = 2 end end |
#type ⇒ ::Google::Cloud::Metastore::V1::Restore::RestoreType (readonly)
Returns Output only. The type of restore.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 612 class Restore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The current state of the restore. module State # The state of the metadata restore is unknown. STATE_UNSPECIFIED = 0 # The metadata restore is running. RUNNING = 1 # The metadata restore completed successfully. SUCCEEDED = 2 # The metadata restore failed. FAILED = 3 # The metadata restore is cancelled. CANCELLED = 4 end # The type of restore. If unspecified, defaults to `METADATA_ONLY`. module RestoreType # The restore type is unknown. RESTORE_TYPE_UNSPECIFIED = 0 # The service's metadata and configuration are restored. FULL = 1 # Only the service's metadata is restored. METADATA_ONLY = 2 end end |