Class: Google::Apis::DisplayvideoV1::SdfDownloadTask

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

Overview

Type for the response returned by [SdfDownloadTaskService.CreateSdfDownloadTask].

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SdfDownloadTask

Returns a new instance of SdfDownloadTask.



300
301
302
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 300

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

Instance Attribute Details

#resource_nameString

A resource name to be used in media.download to Download the prepared files. Resource names have the format download/sdfdownloadtasks/media/media_id`.media_idwill be made available by the long running operation service once the task status is done. Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


298
299
300
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 298

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



305
306
307
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 305

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