Class: Google::Apis::SlidesV1::UpdateTableColumnPropertiesRequest

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

Overview

Updates the properties of a Table column.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateTableColumnPropertiesRequest

Returns a new instance of UpdateTableColumnPropertiesRequest.



4995
4996
4997
# File 'lib/google/apis/slides_v1/classes.rb', line 4995

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

Instance Attribute Details

#column_indicesArray<Fixnum>

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

Returns:

  • (Array<Fixnum>)


4973
4974
4975
# File 'lib/google/apis/slides_v1/classes.rb', line 4973

def column_indices
  @column_indices
end

#fieldsString

The fields that should be updated. At least one field must be specified. The root tableColumnProperties is implied and should not be specified. A single "*" can be used as short-hand for listing every field. For example to update the column width, set fields to "column_width". If '"column_width"' is included in the field mask but the property is left unset, the column width will default to 406,400 EMU (32 points). Corresponds to the JSON property fields

Returns:

  • (String)


4983
4984
4985
# File 'lib/google/apis/slides_v1/classes.rb', line 4983

def fields
  @fields
end

#object_id_propString

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

Returns:

  • (String)


4988
4989
4990
# File 'lib/google/apis/slides_v1/classes.rb', line 4988

def object_id_prop
  @object_id_prop
end

#table_column_propertiesGoogle::Apis::SlidesV1::TableColumnProperties

Properties of each column in a table. Corresponds to the JSON property tableColumnProperties



4993
4994
4995
# File 'lib/google/apis/slides_v1/classes.rb', line 4993

def table_column_properties
  @table_column_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5000
5001
5002
5003
5004
5005
# File 'lib/google/apis/slides_v1/classes.rb', line 5000

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