Class: Google::Apis::YoutubereportingV1::GdataDiffVersionResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubereportingV1::GdataDiffVersionResponse
- 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
-
#object_size_bytes ⇒ Fixnum
gdata Corresponds to the JSON property
objectSizeBytes. -
#object_version ⇒ String
gdata Corresponds to the JSON property
objectVersion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GdataDiffVersionResponse
constructor
A new instance of GdataDiffVersionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GdataDiffVersionResponse
Returns a new instance of GdataDiffVersionResponse.
372 373 374 |
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 372 def initialize(**args) update!(**args) end |
Instance Attribute Details
#object_size_bytes ⇒ Fixnum
gdata
Corresponds to the JSON property objectSizeBytes
365 366 367 |
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 365 def object_size_bytes @object_size_bytes end |
#object_version ⇒ String
gdata
Corresponds to the JSON property objectVersion
370 371 372 |
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 370 def object_version @object_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
377 378 379 380 |
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 377 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 |