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.



559
560
561
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 559

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



546
547
548
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 546

def row
  @row
end

#update_maskString

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

Returns:

  • (String)


551
552
553
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 551

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)


557
558
559
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 557

def view
  @view
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



564
565
566
567
568
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 564

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