Class: Google::Apis::YoutubereportingV1::GdataDiffChecksumsResponse

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

Returns a new instance of GdataDiffChecksumsResponse.



242
243
244
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 242

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

Instance Attribute Details

#checksums_locationGoogle::Apis::YoutubereportingV1::GdataCompositeMedia

gdata Corresponds to the JSON property checksumsLocation



220
221
222
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 220

def checksums_location
  @checksums_location
end

#chunk_size_bytesFixnum

gdata Corresponds to the JSON property chunkSizeBytes

Returns:

  • (Fixnum)


225
226
227
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 225

def chunk_size_bytes
  @chunk_size_bytes
end

#object_locationGoogle::Apis::YoutubereportingV1::GdataCompositeMedia

gdata Corresponds to the JSON property objectLocation



230
231
232
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 230

def object_location
  @object_location
end

#object_size_bytesFixnum

gdata Corresponds to the JSON property objectSizeBytes

Returns:

  • (Fixnum)


235
236
237
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 235

def object_size_bytes
  @object_size_bytes
end

#object_versionString

gdata Corresponds to the JSON property objectVersion

Returns:

  • (String)


240
241
242
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 240

def object_version
  @object_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



247
248
249
250
251
252
253
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 247

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