Class: Google::Apis::DisplayvideoV4::CreateAdAssetRequest
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::CreateAdAssetRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb
Overview
A request message for CreateAdAsset.
Instance Attribute Summary collapse
-
#ad_asset ⇒ Google::Apis::DisplayvideoV4::AdAsset
A single ad asset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateAdAssetRequest
constructor
A new instance of CreateAdAssetRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateAdAssetRequest
Returns a new instance of CreateAdAssetRequest.
5229 5230 5231 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 5229 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_asset ⇒ Google::Apis::DisplayvideoV4::AdAsset
A single ad asset.
Corresponds to the JSON property adAsset
5227 5228 5229 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 5227 def ad_asset @ad_asset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5234 5235 5236 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 5234 def update!(**args) @ad_asset = args[:ad_asset] if args.key?(:ad_asset) end |