Class: Google::Apis::PlusDomainsV1::Videostream
- Inherits:
-
Object
- Object
- Google::Apis::PlusDomainsV1::Videostream
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_domains_v1/classes.rb,
generated/google/apis/plus_domains_v1/representations.rb,
generated/google/apis/plus_domains_v1/representations.rb
Instance Attribute Summary collapse
-
#height ⇒ Fixnum
The height, in pixels, of the video resource.
-
#type ⇒ String
MIME type of the video stream.
-
#url ⇒ String
URL of the video stream.
-
#width ⇒ Fixnum
The width, in pixels, of the video resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Videostream
constructor
A new instance of Videostream.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Videostream
Returns a new instance of Videostream
2595 2596 2597 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2595 def initialize(**args) update!(**args) end |
Instance Attribute Details
#height ⇒ Fixnum
The height, in pixels, of the video resource.
Corresponds to the JSON property height
2578 2579 2580 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2578 def height @height end |
#type ⇒ String
MIME type of the video stream.
Corresponds to the JSON property type
2583 2584 2585 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2583 def type @type end |
#url ⇒ String
URL of the video stream.
Corresponds to the JSON property url
2588 2589 2590 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2588 def url @url end |
#width ⇒ Fixnum
The width, in pixels, of the video resource.
Corresponds to the JSON property width
2593 2594 2595 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2593 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2600 2601 2602 2603 2604 2605 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2600 def update!(**args) @height = args[:height] if args.key?(:height) @type = args[:type] if args.key?(:type) @url = args[:url] if args.key?(:url) @width = args[:width] if args.key?(:width) end |