Class: Google::Apis::Area120tablesV1alpha1::CreateRowRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateRowRequest

Returns a new instance of CreateRowRequest.



201
202
203
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 201

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

Instance Attribute Details

#parentString

Required. The parent table where this row will be created. Format: tables/ table Corresponds to the JSON property parent

Returns:

  • (String)


188
189
190
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 188

def parent
  @parent
end

#rowGoogle::Apis::Area120tablesV1alpha1::Row

A single row in a table. Corresponds to the JSON property row



193
194
195
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 193

def row
  @row
end

#viewString

Optional. Column key to use for values in the row. Defaults to user entered name. Corresponds to the JSON property view

Returns:

  • (String)


199
200
201
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 199

def view
  @view
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



206
207
208
209
210
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 206

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