class Google::Apis::SlidesV1::UpdateLinePropertiesRequest

Updates the properties of a Line.

Attributes

fields[RW]

The fields that should be updated. At least one field must be specified. The root `lineProperties` is implied and should not be specified. A single `“*”` can be used as short-hand for listing every field. For example to update the line solid fill color, set `fields` to `“lineFill.solidFill.color”`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset. Corresponds to the JSON property `fields` @return [String]

line_properties[RW]

The properties of the Line. When unset, these fields default to values that match the appearance of new lines created in the Slides editor. Corresponds to the JSON property `lineProperties` @return [Google::Apis::SlidesV1::LineProperties]

object_id_prop[RW]

The object ID of the line the update is applied to. Corresponds to the JSON property `objectId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 4485
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/slides_v1/classes.rb, line 4490
def update!(**args)
  @fields = args[:fields] if args.key?(:fields)
  @line_properties = args[:line_properties] if args.key?(:line_properties)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
end