Class: Google::Apis::BigtableadminV2::DropRowRangeRequest

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

Request message for google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange

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) ⇒ DropRowRangeRequest

Returns a new instance of DropRowRangeRequest.



646
647
648
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 646

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

Instance Attribute Details

#delete_all_data_from_tableBoolean Also known as: delete_all_data_from_table?

Delete all rows in the table. Setting this to false is a no-op. Corresponds to the JSON property deleteAllDataFromTable

Returns:

  • (Boolean)


636
637
638
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 636

def delete_all_data_from_table
  @delete_all_data_from_table
end

#row_key_prefixString

Delete all rows that start with this row key prefix. Prefix cannot be zero length. Corresponds to the JSON property rowKeyPrefix NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


644
645
646
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 644

def row_key_prefix
  @row_key_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



651
652
653
654
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 651

def update!(**args)
  @delete_all_data_from_table = args[:delete_all_data_from_table] if args.key?(:delete_all_data_from_table)
  @row_key_prefix = args[:row_key_prefix] if args.key?(:row_key_prefix)
end