Class: Google::Apis::Area120tablesV1alpha1::BatchCreateRowsRequest

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

Overview

Request message for TablesService.BatchCreateRows.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchCreateRowsRequest

Returns a new instance of BatchCreateRowsRequest.



35
36
37
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 35

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

Instance Attribute Details

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

Required. The request message specifying the rows to create. A maximum of 500 rows can be created in a single batch. Corresponds to the JSON property requests



33
34
35
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 33

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40
41
42
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 40

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