Class: Google::Apis::BigtableadminV2::UndeleteTableMetadata

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

Overview

Metadata type for the operation returned by google.bigtable.admin.v2. BigtableTableAdmin.UndeleteTable.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UndeleteTableMetadata

Returns a new instance of UndeleteTableMetadata.



3716
3717
3718
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3716

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)


3704
3705
3706
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3704

def end_time
  @end_time
end

#nameString

The name of the table being restored. Corresponds to the JSON property name

Returns:

  • (String)


3709
3710
3711
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3709

def name
  @name
end

#start_timeString

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

Returns:

  • (String)


3714
3715
3716
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3714

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3721
3722
3723
3724
3725
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3721

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