Class: Google::Cloud::Metastore::V1::Backup

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

Overview

The details of a backup resource.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time when the backup was started.

Returns:



563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 563

class Backup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The current state of the backup.
  module State
    # The state of the backup is unknown.
    STATE_UNSPECIFIED = 0

    # The backup is being created.
    CREATING = 1

    # The backup is being deleted.
    DELETING = 2

    # The backup is active and ready to use.
    ACTIVE = 3

    # The backup failed.
    FAILED = 4

    # The backup is being restored.
    RESTORING = 5
  end
end

#description::String

Returns The description of the backup.

Returns:

  • (::String)

    The description of the backup.



563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 563

class Backup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The current state of the backup.
  module State
    # The state of the backup is unknown.
    STATE_UNSPECIFIED = 0

    # The backup is being created.
    CREATING = 1

    # The backup is being deleted.
    DELETING = 2

    # The backup is active and ready to use.
    ACTIVE = 3

    # The backup failed.
    FAILED = 4

    # The backup is being restored.
    RESTORING = 5
  end
end

#end_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time when the backup finished creating.

Returns:



563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 563

class Backup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The current state of the backup.
  module State
    # The state of the backup is unknown.
    STATE_UNSPECIFIED = 0

    # The backup is being created.
    CREATING = 1

    # The backup is being deleted.
    DELETING = 2

    # The backup is active and ready to use.
    ACTIVE = 3

    # The backup failed.
    FAILED = 4

    # The backup is being restored.
    RESTORING = 5
  end
end

#name::String

Returns Immutable. The relative resource name of the backup, in the following form:

projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.

Returns:

  • (::String)

    Immutable. The relative resource name of the backup, in the following form:

    projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}



563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 563

class Backup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The current state of the backup.
  module State
    # The state of the backup is unknown.
    STATE_UNSPECIFIED = 0

    # The backup is being created.
    CREATING = 1

    # The backup is being deleted.
    DELETING = 2

    # The backup is active and ready to use.
    ACTIVE = 3

    # The backup failed.
    FAILED = 4

    # The backup is being restored.
    RESTORING = 5
  end
end

#restoring_services::Array<::String> (readonly)

Returns Output only. Services that are restoring from the backup.

Returns:

  • (::Array<::String>)

    Output only. Services that are restoring from the backup.



563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 563

class Backup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The current state of the backup.
  module State
    # The state of the backup is unknown.
    STATE_UNSPECIFIED = 0

    # The backup is being created.
    CREATING = 1

    # The backup is being deleted.
    DELETING = 2

    # The backup is active and ready to use.
    ACTIVE = 3

    # The backup failed.
    FAILED = 4

    # The backup is being restored.
    RESTORING = 5
  end
end

#service_revision::Google::Cloud::Metastore::V1::Service (readonly)

Returns Output only. The revision of the service at the time of backup.

Returns:



563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 563

class Backup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The current state of the backup.
  module State
    # The state of the backup is unknown.
    STATE_UNSPECIFIED = 0

    # The backup is being created.
    CREATING = 1

    # The backup is being deleted.
    DELETING = 2

    # The backup is active and ready to use.
    ACTIVE = 3

    # The backup failed.
    FAILED = 4

    # The backup is being restored.
    RESTORING = 5
  end
end

#state::Google::Cloud::Metastore::V1::Backup::State (readonly)

Returns Output only. The current state of the backup.

Returns:



563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 563

class Backup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The current state of the backup.
  module State
    # The state of the backup is unknown.
    STATE_UNSPECIFIED = 0

    # The backup is being created.
    CREATING = 1

    # The backup is being deleted.
    DELETING = 2

    # The backup is active and ready to use.
    ACTIVE = 3

    # The backup failed.
    FAILED = 4

    # The backup is being restored.
    RESTORING = 5
  end
end