Class: Google::Apis::Area120tablesV1alpha1::BatchUpdateRowsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchUpdateRowsRequest

Returns a new instance of BatchUpdateRowsRequest.



95
96
97
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 95

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

Instance Attribute Details

#requestsArray<Google::Apis::Area120tablesV1alpha1::UpdateRowRequest>

Required. The request messages specifying the rows to update. A maximum of 500 rows can be modified in a single batch. Corresponds to the JSON property requests



93
94
95
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 93

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



100
101
102
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 100

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