Live Stream V1 API - Class Google::Cloud::Video::LiveStream::V1::NormalizedResolution (v1.2.0)

Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::NormalizedResolution.

Normalized resolution.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#h

def h() -> ::Float
Returns
  • (::Float) — Optional. Normalized height. Valid range is [0.0, 1.0]. Default is 0.

#h=

def h=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Normalized height. Valid range is [0.0, 1.0]. Default is 0.
Returns
  • (::Float) — Optional. Normalized height. Valid range is [0.0, 1.0]. Default is 0.

#w

def w() -> ::Float
Returns
  • (::Float) — Optional. Normalized width. Valid range is [0.0, 1.0]. Default is 0.

#w=

def w=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Normalized width. Valid range is [0.0, 1.0]. Default is 0.
Returns
  • (::Float) — Optional. Normalized width. Valid range is [0.0, 1.0]. Default is 0.