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

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

Overlaid 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 image in Cloud Storage. For example, gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — Required. URI of the image in Cloud Storage. For example, gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.
Returns
  • (::String) — Required. URI of the image in Cloud Storage. For example, gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.