Class: Google::Apis::DisplayvideoV3::CreateAssetRequest
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::CreateAssetRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
A request message for CreateAsset.
Instance Attribute Summary collapse
-
#filename ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateAssetRequest
constructor
A new instance of CreateAssetRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateAssetRequest
Returns a new instance of CreateAssetRequest.
5147 5148 5149 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filename ⇒ String
Required. The filename of the asset, including the file extension. The
filename must be UTF-8 encoded with a maximum size of 240 bytes.
Corresponds to the JSON property filename
5145 5146 5147 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5145 def filename @filename end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5152 5153 5154 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5152 def update!(**args) @filename = args[:filename] if args.key?(:filename) end |