Class: Google::Apis::DisplayvideoV1::CreateAssetRequest

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreateAssetRequest

Returns a new instance of CreateAssetRequest.



2003
2004
2005
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2003

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)


2001
2002
2003
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2001

def filename
  @filename
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2008
2009
2010
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2008

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