Class: Google::Apis::TranscoderV1beta1::OriginUri

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/transcoder_v1beta1/classes.rb,
lib/google/apis/transcoder_v1beta1/representations.rb,
lib/google/apis/transcoder_v1beta1/representations.rb

Overview

The origin URI.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OriginUri

Returns a new instance of OriginUri.



1199
1200
1201
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1199

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dashString

Dash manifest URI. If multiple Dash manifests are created, only the first one is listed. Corresponds to the JSON property dash

Returns:

  • (String)


1191
1192
1193
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1191

def dash
  @dash
end

#hlsString

HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4. If multiple HLS manifests are created, only the first one is listed. Corresponds to the JSON property hls

Returns:

  • (String)


1197
1198
1199
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1197

def hls
  @hls
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1204
1205
1206
1207
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1204

def update!(**args)
  @dash = args[:dash] if args.key?(:dash)
  @hls = args[:hls] if args.key?(:hls)
end