Class: Google::Apis::TranscoderV1::Output

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

Overview

Location of output file(s) in a Cloud Storage bucket.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Output

Returns a new instance of Output.



1778
1779
1780
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1778

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

Instance Attribute Details

#uriString

URI for the output file(s). For example, gs://my-bucket/outputs/. Must be a directory and not a top-level bucket. If empty, the value is populated from Job.output_uri. See Supported input and output formats. Corresponds to the JSON property uri

Returns:

  • (String)


1776
1777
1778
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1776

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1783
1784
1785
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1783

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