google_api_slides v0.2.0 GoogleApi.Slides.V1.Model.ReplaceImageRequest View Source

Replaces an existing image with a new image. Replacing an image removes some image effects from the existing image.

Attributes

  • imageObjectId (String.t): The ID of the existing image that will be replaced. Defaults to: null.
  • imageReplaceMethod (String.t): The replacement method. Defaults to: null.

    • Enum - one of [IMAGE_REPLACE_METHOD_UNSPECIFIED, CENTER_INSIDE, CENTER_CROP]
  • url (String.t): The URL of the new image. The image is fetched once at insertion time and a copy is stored for display inside the presentation. Images must be less than 50MB in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format. The provided URL can be at most 2 kB in length. The URL itself is saved with the image, and exposed via the Image.source_url field. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Slides.V1.Model.ReplaceImageRequest{
  imageObjectId: any(),
  imageReplaceMethod: any(),
  url: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.