Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::Media.
Represents media information.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String
Returns
- (::String) — URL of the media.
#content=
def content=(value) -> ::String
Parameter
- value (::String) — URL of the media.
Returns
- (::String) — URL of the media.
#title
def title() -> ::String
Returns
- (::String) — Title of the media.
#title=
def title=(value) -> ::String
Parameter
- value (::String) — Title of the media.
Returns
- (::String) — Title of the media.
#type
def type() -> ::Google::Cloud::Channel::V1::MediaType
Returns
- (::Google::Cloud::Channel::V1::MediaType) — Type of the media.
#type=
def type=(value) -> ::Google::Cloud::Channel::V1::MediaType
Parameter
- value (::Google::Cloud::Channel::V1::MediaType) — Type of the media.
Returns
- (::Google::Cloud::Channel::V1::MediaType) — Type of the media.