Class: Google::Apis::DisplayvideoV4::GoogleBytestreamMedia
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::GoogleBytestreamMedia
- 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
Media resource.
Instance Attribute Summary collapse
-
#resource_name ⇒ String
Name of the media resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleBytestreamMedia
constructor
A new instance of GoogleBytestreamMedia.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleBytestreamMedia
Returns a new instance of GoogleBytestreamMedia.
8388 8389 8390 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 8388 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_name ⇒ String
Name of the media resource.
Corresponds to the JSON property resourceName
8386 8387 8388 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 8386 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8393 8394 8395 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 8393 def update!(**args) @resource_name = args[:resource_name] if args.key?(:resource_name) end |