Transcoder V1 API - Class Google::Cloud::Video::Transcoder::V1::Overlay::Image (v0.2.2)

Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::Overlay::Image.

Overlaid jpeg image.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#alpha

def alpha() -> ::Float
Returns
  • (::Float) — Target image opacity. Valid values are from 1.0 (solid, default) to 0.0 (transparent), exclusive. Set this to a value greater than 0.0.

#alpha=

def alpha=(value) -> ::Float
Parameter
  • value (::Float) — Target image opacity. Valid values are from 1.0 (solid, default) to 0.0 (transparent), exclusive. Set this to a value greater than 0.0.
Returns
  • (::Float) — Target image opacity. Valid values are from 1.0 (solid, default) to 0.0 (transparent), exclusive. Set this to a value greater than 0.0.

#resolution

def resolution() -> ::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate
Returns

#resolution=

def resolution=(value) -> ::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate
Parameter
Returns

#uri

def uri() -> ::String
Returns
  • (::String) — Required. URI of the JPEG image in Cloud Storage. For example, gs://bucket/inputs/image.jpeg. JPEG is the only supported image type.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — Required. URI of the JPEG image in Cloud Storage. For example, gs://bucket/inputs/image.jpeg. JPEG is the only supported image type.
Returns
  • (::String) — Required. URI of the JPEG image in Cloud Storage. For example, gs://bucket/inputs/image.jpeg. JPEG is the only supported image type.