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.



1140
1141
1142
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1140

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)


1132
1133
1134
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1132

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)


1138
1139
1140
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1138

def hls
  @hls
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1145
1146
1147
1148
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1145

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