class Google::Apis::SlidesV1::Image

A PageElement kind representing an image.

Attributes

content_url[RW]

An URL to an image with a default lifetime of 30 minutes. This URL is tagged with the account of the requester. Anyone with the URL effectively accesses the image as the original requester. Access to the image may be lost if the presentation's sharing settings change. Corresponds to the JSON property `contentUrl` @return [String]

image_properties[RW]

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

placeholder[RW]

The placeholder information that uniquely identifies a placeholder shape. Corresponds to the JSON property `placeholder` @return [Google::Apis::SlidesV1::Placeholder]

source_url[RW]

The source URL is the URL used to insert the image. The source URL can be empty. Corresponds to the JSON property `sourceUrl` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 1221
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 1226
def update!(**args)
  @content_url = args[:content_url] if args.key?(:content_url)
  @image_properties = args[:image_properties] if args.key?(:image_properties)
  @placeholder = args[:placeholder] if args.key?(:placeholder)
  @source_url = args[:source_url] if args.key?(:source_url)
end