class Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest

Update an embedded object's position (such as a moving or resizing a chart or image).

Attributes

fields[RW]

The fields of OverlayPosition that should be updated when setting a new position. Used only if newPosition.overlayPosition is set, in which case at least one field must be specified. The root `newPosition.overlayPosition` is implied and should not be specified. A single `“*”` can be used as short-hand for listing every field. Corresponds to the JSON property `fields` @return [String]

new_position[RW]

The position of an embedded object such as a chart. Corresponds to the JSON property `newPosition` @return [Google::Apis::SheetsV4::EmbeddedObjectPosition]

object_id_prop[RW]

The ID of the object to moved. Corresponds to the JSON property `objectId` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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