Class: Google::Apis::DisplayvideoV2::GoogleBytestreamMedia
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::GoogleBytestreamMedia
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/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.
6006 6007 6008 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6006 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_name ⇒ String
Name of the media resource.
Corresponds to the JSON property resourceName
6004 6005 6006 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6004 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6011 6012 6013 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6011 def update!(**args) @resource_name = args[:resource_name] if args.key?(:resource_name) end |