class Google::Apis::DocsV1::InsertInlineImageRequest
Inserts an InlineObject
containing an image at the given location.
Attributes
Location
at the end of a body, header, footer or footnote. The location is immediately before the last newline in the document segment. Corresponds to the JSON property `endOfSegmentLocation` @return [Google::Apis::DocsV1::EndOfSegmentLocation]
A particular location in the document. Corresponds to the JSON property `location` @return [Google::Apis::DocsV1::Location]
A width and height. Corresponds to the JSON property `objectSize` @return [Google::Apis::DocsV1::Size]
The image URI. The image is fetched once at insertion time and a copy is stored for display inside the document. 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 URI can be at most 2 kB in length. The URI itself is saved with the image, and exposed via the ImageProperties.content_uri
field. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
# File lib/google/apis/docs_v1/classes.rb, line 2102 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/docs_v1/classes.rb, line 2107 def update!(**args) @end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location) @location = args[:location] if args.key?(:location) @object_size = args[:object_size] if args.key?(:object_size) @uri = args[:uri] if args.key?(:uri) end