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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/transcoder_v1beta1/classes.rb,
generated/google/apis/transcoder_v1beta1/representations.rb,
generated/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.



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

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)


1130
1131
1132
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1130

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)


1136
1137
1138
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1136

def hls
  @hls
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1143
1144
1145
1146
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1143

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