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

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

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

Returns a new instance of UpdateTableColumnPropertiesRequest



5072
5073
5074
# File 'generated/google/apis/slides_v1/classes.rb', line 5072

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


5049
5050
5051
# File 'generated/google/apis/slides_v1/classes.rb', line 5049

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)


5060
5061
5062
# File 'generated/google/apis/slides_v1/classes.rb', line 5060

def fields
  @fields
end

#object_id_propString

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

Returns:

  • (String)


5065
5066
5067
# File 'generated/google/apis/slides_v1/classes.rb', line 5065

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



5070
5071
5072
# File 'generated/google/apis/slides_v1/classes.rb', line 5070

def table_column_properties
  @table_column_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5077
5078
5079
5080
5081
5082
# File 'generated/google/apis/slides_v1/classes.rb', line 5077

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