Class: Google::Apis::CloudsupportV2::CompositeMedia

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsupport_v2/classes.rb,
lib/google/apis/cloudsupport_v2/representations.rb,
lib/google/apis/cloudsupport_v2/representations.rb

Overview

gdata.* are outside protos with mising documentation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompositeMedia

Returns a new instance of CompositeMedia.



465
466
467
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 465

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

Instance Attribute Details

#blob_refString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property blobRef NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


409
410
411
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 409

def blob_ref
  @blob_ref
end

#blobstore2_infoGoogle::Apis::CloudsupportV2::Blobstore2Info

gdata.* are outside protos with mising documentation

Corresponds to the JSON property blobstore2Info



414
415
416
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 414

def blobstore2_info
  @blobstore2_info
end

#cosmo_binary_referenceString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property cosmoBinaryReference NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


420
421
422
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 420

def cosmo_binary_reference
  @cosmo_binary_reference
end

#crc32c_hashFixnum

gdata.* are outside protos with mising documentation

Corresponds to the JSON property crc32cHash

Returns:

  • (Fixnum)


425
426
427
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 425

def crc32c_hash
  @crc32c_hash
end

#inlineString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property inline NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


431
432
433
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 431

def inline
  @inline
end

#lengthFixnum

gdata.* are outside protos with mising documentation

Corresponds to the JSON property length

Returns:

  • (Fixnum)


436
437
438
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 436

def length
  @length
end

#md5_hashString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property md5Hash NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


442
443
444
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 442

def md5_hash
  @md5_hash
end

#object_id_propGoogle::Apis::CloudsupportV2::ObjectIdProp

gdata.* are outside protos with mising documentation

Corresponds to the JSON property objectId



447
448
449
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 447

def object_id_prop
  @object_id_prop
end

#pathString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property path

Returns:

  • (String)


452
453
454
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 452

def path
  @path
end

#reference_typeString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property referenceType

Returns:

  • (String)


457
458
459
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 457

def reference_type
  @reference_type
end

#sha1_hashString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property sha1Hash NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


463
464
465
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 463

def sha1_hash
  @sha1_hash
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



470
471
472
473
474
475
476
477
478
479
480
481
482
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 470

def update!(**args)
  @blob_ref = args[:blob_ref] if args.key?(:blob_ref)
  @blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
  @cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
  @crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
  @inline = args[:inline] if args.key?(:inline)
  @length = args[:length] if args.key?(:length)
  @md5_hash = args[:md5_hash] if args.key?(:md5_hash)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
  @path = args[:path] if args.key?(:path)
  @reference_type = args[:reference_type] if args.key?(:reference_type)
  @sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
end