class Google::Apis::MirrorV1::Attachment
Represents media content, such as a photo, that can be attached to a timeline item.
Attributes
The MIME type of the attachment. Corresponds to the JSON property `contentType` @return [String]
The URL for the content. Corresponds to the JSON property `contentUrl` @return [String]
The ID of the attachment. Corresponds to the JSON property `id` @return [String]
Indicates that the contentUrl is not available because the attachment content is still being processed. If the caller wishes to retrieve the content, it should try again later. Corresponds to the JSON property `isProcessingContent` @return [Boolean]
Indicates that the contentUrl is not available because the attachment content is still being processed. If the caller wishes to retrieve the content, it should try again later. Corresponds to the JSON property `isProcessingContent` @return [Boolean]
Public Class Methods
# File generated/google/apis/mirror_v1/classes.rb, line 90 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/mirror_v1/classes.rb, line 95 def update!(**args) @content_type = args[:content_type] if args.key?(:content_type) @content_url = args[:content_url] if args.key?(:content_url) @id = args[:id] if args.key?(:id) @is_processing_content = args[:is_processing_content] if args.key?(:is_processing_content) end