Class: Google::Apis::SlidesV1::StretchedPictureFill
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::StretchedPictureFill
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
The stretched picture fill. The page or page element is filled entirely with the specified picture. The picture is stretched to fit its container.
Instance Attribute Summary collapse
-
#content_url ⇒ String
Reading the content_url: An URL to a picture with a default lifetime of 30 minutes.
-
#size ⇒ Google::Apis::SlidesV1::Size
A width and height.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StretchedPictureFill
constructor
A new instance of StretchedPictureFill.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StretchedPictureFill
Returns a new instance of StretchedPictureFill
2898 2899 2900 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2898 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_url ⇒ String
Reading the content_url:
An URL to a picture with a default lifetime of 30 minutes.
This URL is tagged with the account of the requester. Anyone with the URL
effectively accesses the picture as the original requester. Access to the
picture may be lost if the presentation's sharing settings change.
Writing the content_url:
The picture is fetched once at insertion time and a copy is stored for
display inside the presentation. Pictures must be less than 50MB in size,
cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
format.
Corresponds to the JSON property contentUrl
2891 2892 2893 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2891 def content_url @content_url end |
#size ⇒ Google::Apis::SlidesV1::Size
A width and height.
Corresponds to the JSON property size
2896 2897 2898 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2896 def size @size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2903 2904 2905 2906 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2903 def update!(**args) @content_url = args[:content_url] if args.key?(:content_url) @size = args[:size] if args.key?(:size) end |