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

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

Returns a new instance of GdataDiffVersionResponse



348
349
350
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 348

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

Instance Attribute Details

#object_size_bytesFixnum

gdata Corresponds to the JSON property objectSizeBytes

Returns:

  • (Fixnum)


341
342
343
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 341

def object_size_bytes
  @object_size_bytes
end

#object_versionString

gdata Corresponds to the JSON property objectVersion

Returns:

  • (String)


346
347
348
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 346

def object_version
  @object_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



353
354
355
356
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 353

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