Class: Google::Apis::SlidesV1::UpdateTableRowPropertiesRequest

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

Overview

Updates the properties of a Table row.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UpdateTableRowPropertiesRequest

Returns a new instance of UpdateTableRowPropertiesRequest



5117
5118
5119
# File 'generated/google/apis/slides_v1/classes.rb', line 5117

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

Instance Attribute Details

#fieldsString

The fields that should be updated. At least one field must be specified. The root tableRowProperties is implied and should not be specified. A single "*" can be used as short-hand for listing every field. For example to update the minimum row height, set fields to "min_row_height". If '"min_row_height"' is included in the field mask but the property is left unset, the minimum row height will default to 0. Corresponds to the JSON property fields

Returns:

  • (String)


5099
5100
5101
# File 'generated/google/apis/slides_v1/classes.rb', line 5099

def fields
  @fields
end

#object_id_propString

The object ID of the table. Corresponds to the JSON property objectId

Returns:

  • (String)


5104
5105
5106
# File 'generated/google/apis/slides_v1/classes.rb', line 5104

def object_id_prop
  @object_id_prop
end

#row_indicesArray<Fixnum>

The list of zero-based indices specifying which rows to update. If no indices are provided, all rows in the table will be updated. Corresponds to the JSON property rowIndices

Returns:

  • (Array<Fixnum>)


5110
5111
5112
# File 'generated/google/apis/slides_v1/classes.rb', line 5110

def row_indices
  @row_indices
end

#table_row_propertiesGoogle::Apis::SlidesV1::TableRowProperties

Properties of each row in a table. Corresponds to the JSON property tableRowProperties



5115
5116
5117
# File 'generated/google/apis/slides_v1/classes.rb', line 5115

def table_row_properties
  @table_row_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5122
5123
5124
5125
5126
5127
# File 'generated/google/apis/slides_v1/classes.rb', line 5122

def update!(**args)
  @fields = args[:fields] if args.key?(:fields)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
  @row_indices = args[:row_indices] if args.key?(:row_indices)
  @table_row_properties = args[:table_row_properties] if args.key?(:table_row_properties)
end