Class: Google::Apis::DocsV1::UpdateTableColumnPropertiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::UpdateTableColumnPropertiesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb
Overview
Updates the TableColumnProperties of columns in a table.
Instance Attribute Summary collapse
-
#column_indices ⇒ Array<Fixnum>
The list of zero-based column indices whose property should be updated.
-
#fields ⇒ String
The fields that should be updated.
-
#table_column_properties ⇒ Google::Apis::DocsV1::TableColumnProperties
The properties of a column in a table.
-
#table_start_location ⇒ Google::Apis::DocsV1::Location
A particular location in the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateTableColumnPropertiesRequest
constructor
A new instance of UpdateTableColumnPropertiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateTableColumnPropertiesRequest
Returns a new instance of UpdateTableColumnPropertiesRequest.
6258 6259 6260 |
# File 'generated/google/apis/docs_v1/classes.rb', line 6258 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_indices ⇒ Array<Fixnum>
The list of zero-based column indices whose property should be updated. If
no indices are specified, all columns will be updated.
Corresponds to the JSON property columnIndices
6237 6238 6239 |
# File 'generated/google/apis/docs_v1/classes.rb', line 6237 def column_indices @column_indices end |
#fields ⇒ String
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 "width"
.
Corresponds to the JSON property fields
6246 6247 6248 |
# File 'generated/google/apis/docs_v1/classes.rb', line 6246 def fields @fields end |
#table_column_properties ⇒ Google::Apis::DocsV1::TableColumnProperties
The properties of a column in a table.
Corresponds to the JSON property tableColumnProperties
6251 6252 6253 |
# File 'generated/google/apis/docs_v1/classes.rb', line 6251 def table_column_properties @table_column_properties end |
#table_start_location ⇒ Google::Apis::DocsV1::Location
A particular location in the document.
Corresponds to the JSON property tableStartLocation
6256 6257 6258 |
# File 'generated/google/apis/docs_v1/classes.rb', line 6256 def table_start_location @table_start_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6263 6264 6265 6266 6267 6268 |
# File 'generated/google/apis/docs_v1/classes.rb', line 6263 def update!(**args) @column_indices = args[:column_indices] if args.key?(:column_indices) @fields = args[:fields] if args.key?(:fields) @table_column_properties = args[:table_column_properties] if args.key?(:table_column_properties) @table_start_location = args[:table_start_location] if args.key?(:table_start_location) end |