Class: Google::Apis::Area120tablesV1alpha1::BatchDeleteRowsRequest

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

Overview

Request message for TablesService.BatchDeleteRows

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchDeleteRowsRequest

Returns a new instance of BatchDeleteRowsRequest.



75
76
77
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 75

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

Instance Attribute Details

#namesArray<String>

Required. The names of the rows to delete. All rows must belong to the parent table or else the entire batch will fail. A maximum of 500 rows can be deleted in a batch. Format: tables/table/rows/row Corresponds to the JSON property names

Returns:

  • (Array<String>)


73
74
75
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 73

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



80
81
82
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 80

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