class Google::Apis::SlidesV1::UpdateImagePropertiesRequest

Update the properties of an Image.

Attributes

fields[RW]

The fields that should be updated. At least one field must be specified. The root `imageProperties` is implied and should not be specified. A single `“*”` can be used as short-hand for listing every field. For example to update the image outline color, set `fields` to `“outline.outlineFill.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]

image_properties[RW]

The properties of the Image. Corresponds to the JSON property `imageProperties` @return [Google::Apis::SlidesV1::ImageProperties]

object_id_prop[RW]

The object ID of the image the updates are 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 4420
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 4425
def update!(**args)
  @fields = args[:fields] if args.key?(:fields)
  @image_properties = args[:image_properties] if args.key?(:image_properties)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
end