class Google::Apis::PlusDomainsV1::Media
Attributes
The display name for this media. Corresponds to the JSON property `displayName` @return [String]
ETag of this response for caching purposes. Corresponds to the JSON property `etag` @return [String]
Exif information of the media item. Corresponds to the JSON property `exif` @return [Google::Apis::PlusDomainsV1::Media::Exif]
The height in pixels of the original image. Corresponds to the JSON property `height` @return [Fixnum]
ID of this media, which is generated by the API. Corresponds to the JSON property `id` @return [String]
The type of resource. Corresponds to the JSON property `kind` @return [String]
The time at which this media was originally created in UTC. Formatted as an RFC 3339 timestamp that matches this example: 2010-11-25T14:30:27.655Z Corresponds to the JSON property `mediaCreatedTime` @return [DateTime]
The URL of this photo or video's still image. Corresponds to the JSON property `mediaUrl` @return [String]
The time at which this media was uploaded. Formatted as an RFC 3339 timestamp. Corresponds to the JSON property `published` @return [DateTime]
The size in bytes of this video. Corresponds to the JSON property `sizeBytes` @return [String]
The list of video streams for this video. There might be several different streams available for a single video, either Flash or MPEG, of various sizes Corresponds to the JSON property `streams` @return [Array<Google::Apis::PlusDomainsV1::Videostream>]
A description, or caption, for this media. Corresponds to the JSON property `summary` @return [String]
The time at which this media was last updated. This includes changes to media metadata. Formatted as an RFC 3339 timestamp. Corresponds to the JSON property `updated` @return [DateTime]
The URL for the page that hosts this media. Corresponds to the JSON property `url` @return [String]
The duration in milliseconds of this video. Corresponds to the JSON property `videoDuration` @return [String]
The encoding status of this video. Possible values are:
-
“UPLOADING” - Not all the video bytes have been received.
-
“PENDING” - Video not yet processed.
-
“FAILED” - Video processing failed.
-
“READY” - A single video stream is playable.
-
“FINAL” - All video streams are playable.
Corresponds to the JSON property `videoStatus` @return [String]
The width in pixels of the original image. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
# File generated/google/apis/plus_domains_v1/classes.rb, line 1741 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/plus_domains_v1/classes.rb, line 1746 def update!(**args) @author = args[:author] if args.key?(:author) @display_name = args[:display_name] if args.key?(:display_name) @etag = args[:etag] if args.key?(:etag) @exif = args[:exif] if args.key?(:exif) @height = args[:height] if args.key?(:height) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @media_created_time = args[:media_created_time] if args.key?(:media_created_time) @media_url = args[:media_url] if args.key?(:media_url) @published = args[:published] if args.key?(:published) @size_bytes = args[:size_bytes] if args.key?(:size_bytes) @streams = args[:streams] if args.key?(:streams) @summary = args[:summary] if args.key?(:summary) @updated = args[:updated] if args.key?(:updated) @url = args[:url] if args.key?(:url) @video_duration = args[:video_duration] if args.key?(:video_duration) @video_status = args[:video_status] if args.key?(:video_status) @width = args[:width] if args.key?(:width) end