Class: Google::Apis::BigtableadminV2::CreateBackupMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigtableadmin_v2/classes.rb,
generated/google/apis/bigtableadmin_v2/representations.rb,
generated/google/apis/bigtableadmin_v2/representations.rb

Overview

Metadata type for the operation returned by CreateBackup.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreateBackupMetadata

Returns a new instance of CreateBackupMetadata.


553
554
555
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 553

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#end_timeString

If set, the time at which this operation finished or was cancelled. Corresponds to the JSON property endTime

Returns:

  • (String)

536
537
538
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 536

def end_time
  @end_time
end

#nameString

The name of the backup being created. Corresponds to the JSON property name

Returns:

  • (String)

541
542
543
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 541

def name
  @name
end

#source_tableString

The name of the table the backup is created from. Corresponds to the JSON property sourceTable

Returns:

  • (String)

546
547
548
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 546

def source_table
  @source_table
end

#start_timeString

The time at which this operation started. Corresponds to the JSON property startTime

Returns:

  • (String)

551
552
553
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 551

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


558
559
560
561
562
563
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 558

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @name = args[:name] if args.key?(:name)
  @source_table = args[:source_table] if args.key?(:source_table)
  @start_time = args[:start_time] if args.key?(:start_time)
end