Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesMediaAudio
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesMediaAudio
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
Encapsulates an Audio.
Instance Attribute Summary collapse
-
#ad_duration_millis ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesMediaAudio
constructor
A new instance of GoogleAdsSearchads360V23ResourcesMediaAudio.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesMediaAudio
Returns a new instance of GoogleAdsSearchads360V23ResourcesMediaAudio.
31326 31327 31328 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_duration_millis ⇒ Fixnum
Output only. The duration of the Audio in milliseconds.
Corresponds to the JSON property adDurationMillis
31324 31325 31326 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31324 def ad_duration_millis @ad_duration_millis end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31331 31332 31333 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31331 def update!(**args) @ad_duration_millis = args[:ad_duration_millis] if args.key?(:ad_duration_millis) end |