Class: Google::Apis::SlidesV1::TableCellBackgroundFill

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

The table cell background fill.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TableCellBackgroundFill

Returns a new instance of TableCellBackgroundFill.



3824
3825
3826
# File 'generated/google/apis/slides_v1/classes.rb', line 3824

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

Instance Attribute Details

#property_stateString

The background fill property state. Updating the fill on a table cell will implicitly update this field to RENDERED, unless another value is specified in the same request. To have no fill on a table cell, set this field to NOT_RENDERED. In this case, any other fill fields set in the same request will be ignored. Corresponds to the JSON property propertyState

Returns:

  • (String)


3815
3816
3817
# File 'generated/google/apis/slides_v1/classes.rb', line 3815

def property_state
  @property_state
end

#solid_fillGoogle::Apis::SlidesV1::SolidFill

A solid color fill. The page or page element is filled entirely with the specified color value. If any field is unset, its value may be inherited from a parent placeholder if it exists. Corresponds to the JSON property solidFill



3822
3823
3824
# File 'generated/google/apis/slides_v1/classes.rb', line 3822

def solid_fill
  @solid_fill
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3829
3830
3831
3832
# File 'generated/google/apis/slides_v1/classes.rb', line 3829

def update!(**args)
  @property_state = args[:property_state] if args.key?(:property_state)
  @solid_fill = args[:solid_fill] if args.key?(:solid_fill)
end