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.



1413
1414
1415
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1413

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

Instance Attribute Details

#uriString

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

Returns:

  • (String)


1411
1412
1413
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1411

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1418
1419
1420
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1418

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