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.



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

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)


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

def blob_ref
  @blob_ref
end

#blobstore2_infoGoogle::Apis::CloudsupportV2::Blobstore2Info

gdata.* are outside protos with mising documentation

Corresponds to the JSON property blobstore2Info



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

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)


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

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)


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

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)


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

def inline
  @inline
end

#lengthFixnum

gdata.* are outside protos with mising documentation

Corresponds to the JSON property length

Returns:

  • (Fixnum)


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

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)


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

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



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

def object_id_prop
  @object_id_prop
end

#pathString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property path

Returns:

  • (String)


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

def path
  @path
end

#reference_typeString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property referenceType

Returns:

  • (String)


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

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)


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

def sha1_hash
  @sha1_hash
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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