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

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

Returns a new instance of GdataDiffChecksumsResponse



245
246
247
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 245

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

Instance Attribute Details

#checksums_locationGoogle::Apis::YoutubereportingV1::GdataCompositeMedia

gdata Corresponds to the JSON property checksumsLocation



223
224
225
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 223

def checksums_location
  @checksums_location
end

#chunk_size_bytesFixnum

gdata Corresponds to the JSON property chunkSizeBytes

Returns:

  • (Fixnum)


228
229
230
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 228

def chunk_size_bytes
  @chunk_size_bytes
end

#object_locationGoogle::Apis::YoutubereportingV1::GdataCompositeMedia

gdata Corresponds to the JSON property objectLocation



233
234
235
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 233

def object_location
  @object_location
end

#object_size_bytesFixnum

gdata Corresponds to the JSON property objectSizeBytes

Returns:

  • (Fixnum)


238
239
240
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 238

def object_size_bytes
  @object_size_bytes
end

#object_versionString

gdata Corresponds to the JSON property objectVersion

Returns:

  • (String)


243
244
245
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 243

def object_version
  @object_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



250
251
252
253
254
255
256
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 250

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