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

Constructor Details

#initialize(**args) ⇒ UpdateTableColumnPropertiesRequest

Returns a new instance of UpdateTableColumnPropertiesRequest.



4826
4827
4828
# File 'generated/google/apis/slides_v1/classes.rb', line 4826

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


4804
4805
4806
# File 'generated/google/apis/slides_v1/classes.rb', line 4804

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)


4814
4815
4816
# File 'generated/google/apis/slides_v1/classes.rb', line 4814

def fields
  @fields
end

#object_id_propString

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

Returns:

  • (String)


4819
4820
4821
# File 'generated/google/apis/slides_v1/classes.rb', line 4819

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



4824
4825
4826
# File 'generated/google/apis/slides_v1/classes.rb', line 4824

def table_column_properties
  @table_column_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4831
4832
4833
4834
4835
4836
# File 'generated/google/apis/slides_v1/classes.rb', line 4831

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