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.



1429
1430
1431
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1429

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)


1427
1428
1429
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1427

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1434
1435
1436
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1434

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