Class: Google::Apis::BigtableadminV2::DropRowRangeRequest
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::DropRowRangeRequest
- 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
Request message for google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange
Instance Attribute Summary collapse
-
#delete_all_data_from_table ⇒ Boolean
(also: #delete_all_data_from_table?)
Delete all rows in the table.
-
#row_key_prefix ⇒ String
Delete all rows that start with this row key prefix.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DropRowRangeRequest
constructor
A new instance of DropRowRangeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DropRowRangeRequest
Returns a new instance of DropRowRangeRequest.
1289 1290 1291 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1289 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delete_all_data_from_table ⇒ Boolean 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
1279 1280 1281 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1279 def delete_all_data_from_table @delete_all_data_from_table end |
#row_key_prefix ⇒ String
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.
1287 1288 1289 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1287 def row_key_prefix @row_key_prefix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1294 1295 1296 1297 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1294 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 |