class Google::Apis::TranscoderV1beta1::Image
Overlaid jpeg image.
Attributes
alpha[RW]
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`. Corresponds to the JSON property `alpha` @return [Float]
resolution[RW]
2D normalized coordinates. Default: “0.0, 0.0“ Corresponds to the JSON property `resolution` @return [Google::Apis::TranscoderV1beta1::NormalizedCoordinate]
uri[RW]
Required. URI of the JPEG image in Cloud Storage. For example, `gs://bucket/ inputs/image.jpeg`. JPEG is the only supported image type. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/transcoder_v1beta1/classes.rb, line 669 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/transcoder_v1beta1/classes.rb, line 674 def update!(**args) @alpha = args[:alpha] if args.key?(:alpha) @resolution = args[:resolution] if args.key?(:resolution) @uri = args[:uri] if args.key?(:uri) end