Class: Google::Apis::Area120tablesV1alpha1::UpdateRowRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateRowRequest

Returns a new instance of UpdateRowRequest.



527
528
529
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 527

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

Instance Attribute Details

#rowGoogle::Apis::Area120tablesV1alpha1::Row

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



514
515
516
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 514

def row
  @row
end

#update_maskString

The list of fields to update. Corresponds to the JSON property updateMask

Returns:

  • (String)


519
520
521
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 519

def update_mask
  @update_mask
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)


525
526
527
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 525

def view
  @view
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



532
533
534
535
536
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 532

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