Class: Google::Apis::YoutubereportingV1::GdataDiffVersionResponse

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

Returns a new instance of GdataDiffVersionResponse.



345
346
347
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 345

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

Instance Attribute Details

#object_size_bytesFixnum

gdata Corresponds to the JSON property objectSizeBytes

Returns:

  • (Fixnum)


338
339
340
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 338

def object_size_bytes
  @object_size_bytes
end

#object_versionString

gdata Corresponds to the JSON property objectVersion

Returns:

  • (String)


343
344
345
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 343

def object_version
  @object_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



350
351
352
353
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 350

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