Class: Google::Apis::DisplayvideoV1::CreateAssetRequest
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::CreateAssetRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/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.
2465 2466 2467 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2465 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
2463 2464 2465 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2463 def filename @filename end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2470 2471 2472 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2470 def update!(**args) @filename = args[:filename] if args.key?(:filename) end |