Class: Google::Cloud::Metastore::V1beta::Restore

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/metastore/v1beta/metastore.rb

Overview

The details of a metadata restore operation.

Defined Under Namespace

Modules: RestoreType, State

Instance Attribute Summary collapse

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}.

Returns:

  • (::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}.



675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 675

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.

Returns:

  • (::String)

    Output only. The restore details containing the revision of the service to be restored to, in format of JSON.



675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 675

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.

Returns:



675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 675

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.

Returns:



675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 675

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::V1beta::Restore::State (readonly)

Returns Output only. The current state of the restore.

Returns:



675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 675

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::V1beta::Restore::RestoreType (readonly)

Returns Output only. The type of restore.

Returns:



675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 675

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