Class: Google::Apis::YoutubereportingV1::GdataDiffUploadResponse

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

Overview

gdata

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) ⇒ GdataDiffUploadResponse

Returns a new instance of GdataDiffUploadResponse



323
324
325
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 323

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

Instance Attribute Details

#object_versionString

gdata Corresponds to the JSON property objectVersion

Returns:

  • (String)


316
317
318
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 316

def object_version
  @object_version
end

#original_objectGoogle::Apis::YoutubereportingV1::GdataCompositeMedia

gdata Corresponds to the JSON property originalObject



321
322
323
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 321

def original_object
  @original_object
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



328
329
330
331
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 328

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