Class: Google::Apis::BigtableadminV2::UpdateTableMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateTableMetadata

Returns a new instance of UpdateTableMetadata.



3865
3866
3867
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3865

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

Instance Attribute Details

#end_timeString

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

Returns:

  • (String)


3853
3854
3855
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3853

def end_time
  @end_time
end

#nameString

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

Returns:

  • (String)


3858
3859
3860
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3858

def name
  @name
end

#start_timeString

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

Returns:

  • (String)


3863
3864
3865
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3863

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3870
3871
3872
3873
3874
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3870

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