Class: Google::Apis::PlusDomainsV1::Videostream

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#heightFixnum

The height, in pixels, of the video resource. Corresponds to the JSON property height

Returns:

  • (Fixnum)


2578
2579
2580
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2578

def height
  @height
end

#typeString

MIME type of the video stream. Corresponds to the JSON property type

Returns:

  • (String)


2583
2584
2585
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2583

def type
  @type
end

#urlString

URL of the video stream. Corresponds to the JSON property url

Returns:

  • (String)


2588
2589
2590
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2588

def url
  @url
end

#widthFixnum

The width, in pixels, of the video resource. Corresponds to the JSON property width

Returns:

  • (Fixnum)


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