Class: Google::Apis::AndroidpublisherV3::VideoAsset

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb

Overview

A video asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VideoAsset

Returns a new instance of VideoAsset.



12023
12024
12025
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 12023

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#video_urlString

The URL of the video asset. Corresponds to the JSON property videoUrl

Returns:

  • (String)


12021
12022
12023
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 12021

def video_url
  @video_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12028
12029
12030
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 12028

def update!(**args)
  @video_url = args[:video_url] if args.key?(:video_url)
end