Class: Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest

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 the table borders in a Table.

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) ⇒ UpdateTableBorderPropertiesRequest

Returns a new instance of UpdateTableBorderPropertiesRequest



4775
4776
4777
# File 'generated/google/apis/slides_v1/classes.rb', line 4775

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

Instance Attribute Details

#border_positionString

The border position in the table range the updates should apply to. If a border position is not specified, the updates will apply to all borders in the table range. Corresponds to the JSON property borderPosition

Returns:

  • (String)


4735
4736
4737
# File 'generated/google/apis/slides_v1/classes.rb', line 4735

def border_position
  @border_position
end

#fieldsString

The fields that should be updated. At least one field must be specified. The root tableBorderProperties is implied and should not be specified. A single "*" can be used as short-hand for listing every field. For example to update the table border solid fill color, set fields to "tableBorderFill.solidFill.color". To reset a property to its default value, include its field name in the field mask but leave the field itself unset. Corresponds to the JSON property fields

Returns:

  • (String)


4747
4748
4749
# File 'generated/google/apis/slides_v1/classes.rb', line 4747

def fields
  @fields
end

#object_id_propString

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

Returns:

  • (String)


4752
4753
4754
# File 'generated/google/apis/slides_v1/classes.rb', line 4752

def object_id_prop
  @object_id_prop
end

#table_border_propertiesGoogle::Apis::SlidesV1::TableBorderProperties

The border styling properties of the TableBorderCell. Corresponds to the JSON property tableBorderProperties



4758
4759
4760
# File 'generated/google/apis/slides_v1/classes.rb', line 4758

def table_border_properties
  @table_border_properties
end

#table_rangeGoogle::Apis::SlidesV1::TableRange

A table range represents a reference to a subset of a table. It's important to note that the cells specified by a table range do not necessarily form a rectangle. For example, let's say we have a 3 x 3 table where all the cells of the last row are merged together. The table looks like this:

[ ] A table range with location = (0, 0), row span = 3 and column span = 2 specifies the following cells: x x [ x ] Corresponds to the JSON property tableRange



4773
4774
4775
# File 'generated/google/apis/slides_v1/classes.rb', line 4773

def table_range
  @table_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4780
4781
4782
4783
4784
4785
4786
# File 'generated/google/apis/slides_v1/classes.rb', line 4780

def update!(**args)
  @border_position = args[:border_position] if args.key?(:border_position)
  @fields = args[:fields] if args.key?(:fields)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
  @table_border_properties = args[:table_border_properties] if args.key?(:table_border_properties)
  @table_range = args[:table_range] if args.key?(:table_range)
end