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

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

Overview

gdata

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GdataDiffUploadResponse

Returns a new instance of GdataDiffUploadResponse.



320
321
322
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 320

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

Instance Attribute Details

#object_versionString

gdata Corresponds to the JSON property objectVersion

Returns:

  • (String)


313
314
315
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 313

def object_version
  @object_version
end

#original_objectGoogle::Apis::YoutubereportingV1::GdataCompositeMedia

gdata Corresponds to the JSON property originalObject



318
319
320
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 318

def original_object
  @original_object
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



325
326
327
328
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 325

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