Class: Google::Bigtable::Admin::V2::Backup

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb

Overview

A backup of a Cloud Bigtable table.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#end_timeGoogle::Protobuf::Timestamp

Returns Output only. end_time is the time that the backup was finished. The row data in the backup will be no newer than this timestamp.

Returns:

  • (Google::Protobuf::Timestamp)

    Output only. end_time is the time that the backup was finished. The row data in the backup will be no newer than this timestamp.



260
261
262
263
264
265
266
267
268
269
270
271
272
273
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260

class Backup
  # Indicates the current state of the backup.
  module State
    # Not specified.
    STATE_UNSPECIFIED = 0

    # The pending backup is still being created. Operations on the
    # backup may fail with `FAILED_PRECONDITION` in this state.
    CREATING = 1

    # The backup is complete and ready for use.
    READY = 2
  end
end

#expire_timeGoogle::Protobuf::Timestamp

Returns Required. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the expire_time has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.

Returns:

  • (Google::Protobuf::Timestamp)

    Required. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the expire_time has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.



260
261
262
263
264
265
266
267
268
269
270
271
272
273
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260

class Backup
  # Indicates the current state of the backup.
  module State
    # Not specified.
    STATE_UNSPECIFIED = 0

    # The pending backup is still being created. Operations on the
    # backup may fail with `FAILED_PRECONDITION` in this state.
    CREATING = 1

    # The backup is complete and ready for use.
    READY = 2
  end
end

#nameString

Returns Output only. A globally unique identifier for the backup which cannot be changed. Values are of the form projects/{project}/instances/{instance}/clusters/{cluster}/ backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]* The final segment of the name must be between 1 and 50 characters in length.

The backup is stored in the cluster identified by the prefix of the backup name of the form projects/{project}/instances/{instance}/clusters/{cluster}.

Returns:

  • (String)

    Output only. A globally unique identifier for the backup which cannot be changed. Values are of the form projects/{project}/instances/{instance}/clusters/{cluster}/ backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]* The final segment of the name must be between 1 and 50 characters in length.

    The backup is stored in the cluster identified by the prefix of the backup name of the form projects/{project}/instances/{instance}/clusters/{cluster}.



260
261
262
263
264
265
266
267
268
269
270
271
272
273
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260

class Backup
  # Indicates the current state of the backup.
  module State
    # Not specified.
    STATE_UNSPECIFIED = 0

    # The pending backup is still being created. Operations on the
    # backup may fail with `FAILED_PRECONDITION` in this state.
    CREATING = 1

    # The backup is complete and ready for use.
    READY = 2
  end
end

#size_bytesInteger

Returns Output only. Size of the backup in bytes.

Returns:

  • (Integer)

    Output only. Size of the backup in bytes.



260
261
262
263
264
265
266
267
268
269
270
271
272
273
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260

class Backup
  # Indicates the current state of the backup.
  module State
    # Not specified.
    STATE_UNSPECIFIED = 0

    # The pending backup is still being created. Operations on the
    # backup may fail with `FAILED_PRECONDITION` in this state.
    CREATING = 1

    # The backup is complete and ready for use.
    READY = 2
  end
end

#source_tableString

Returns Required. Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form projects/{project}/instances/{instance}/tables/{source_table}.

Returns:

  • (String)

    Required. Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form projects/{project}/instances/{instance}/tables/{source_table}.



260
261
262
263
264
265
266
267
268
269
270
271
272
273
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260

class Backup
  # Indicates the current state of the backup.
  module State
    # Not specified.
    STATE_UNSPECIFIED = 0

    # The pending backup is still being created. Operations on the
    # backup may fail with `FAILED_PRECONDITION` in this state.
    CREATING = 1

    # The backup is complete and ready for use.
    READY = 2
  end
end

#start_timeGoogle::Protobuf::Timestamp

Returns Output only. start_time is the time that the backup was started (i.e. approximately the time the CreateBackup request is received). The row data in this backup will be no older than this timestamp.

Returns:

  • (Google::Protobuf::Timestamp)

    Output only. start_time is the time that the backup was started (i.e. approximately the time the CreateBackup request is received). The row data in this backup will be no older than this timestamp.



260
261
262
263
264
265
266
267
268
269
270
271
272
273
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260

class Backup
  # Indicates the current state of the backup.
  module State
    # Not specified.
    STATE_UNSPECIFIED = 0

    # The pending backup is still being created. Operations on the
    # backup may fail with `FAILED_PRECONDITION` in this state.
    CREATING = 1

    # The backup is complete and ready for use.
    READY = 2
  end
end

#stateGoogle::Bigtable::Admin::V2::Backup::State

Returns Output only. The current state of the backup.

Returns:



260
261
262
263
264
265
266
267
268
269
270
271
272
273
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260

class Backup
  # Indicates the current state of the backup.
  module State
    # Not specified.
    STATE_UNSPECIFIED = 0

    # The pending backup is still being created. Operations on the
    # backup may fail with `FAILED_PRECONDITION` in this state.
    CREATING = 1

    # The backup is complete and ready for use.
    READY = 2
  end
end