Class: Google::Apis::DisplayvideoV3::CreateAssetRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateAssetRequest

Returns a new instance of CreateAssetRequest.



4039
4040
4041
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4039

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

Instance Attribute Details

#filenameString

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

Returns:

  • (String)


4037
4038
4039
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4037

def filename
  @filename
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4044
4045
4046
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4044

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