Class: Google::Apis::CloudsupportV2beta::Media

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

Overview

gdata.* are outside protos with mising documentation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Media

Returns a new instance of Media.



982
983
984
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 982

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

Instance Attribute Details

#algorithmString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property algorithm

Returns:

  • (String)


825
826
827
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 825

def algorithm
  @algorithm
end

#bigstore_object_refString

gdata.* are outside protos with mising documentation

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

Returns:

  • (String)


831
832
833
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 831

def bigstore_object_ref
  @bigstore_object_ref
end

#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)


837
838
839
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 837

def blob_ref
  @blob_ref
end

#blobstore2_infoGoogle::Apis::CloudsupportV2beta::Blobstore2Info

gdata.* are outside protos with mising documentation

Corresponds to the JSON property blobstore2Info



842
843
844
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 842

def blobstore2_info
  @blobstore2_info
end

#composite_mediaArray<Google::Apis::CloudsupportV2beta::CompositeMedia>

gdata.* are outside protos with mising documentation

Corresponds to the JSON property compositeMedia



847
848
849
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 847

def composite_media
  @composite_media
end

#content_typeString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property contentType

Returns:

  • (String)


852
853
854
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 852

def content_type
  @content_type
end

#content_type_infoGoogle::Apis::CloudsupportV2beta::ContentTypeInfo

gdata.* are outside protos with mising documentation

Corresponds to the JSON property contentTypeInfo



857
858
859
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 857

def content_type_info
  @content_type_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)


863
864
865
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 863

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)


868
869
870
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 868

def crc32c_hash
  @crc32c_hash
end

#diff_checksums_responseGoogle::Apis::CloudsupportV2beta::DiffChecksumsResponse

gdata.* are outside protos with mising documentation

Corresponds to the JSON property diffChecksumsResponse



873
874
875
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 873

def diff_checksums_response
  @diff_checksums_response
end

#diff_download_responseGoogle::Apis::CloudsupportV2beta::DiffDownloadResponse

gdata.* are outside protos with mising documentation

Corresponds to the JSON property diffDownloadResponse



878
879
880
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 878

def diff_download_response
  @diff_download_response
end

#diff_upload_requestGoogle::Apis::CloudsupportV2beta::DiffUploadRequest

gdata.* are outside protos with mising documentation

Corresponds to the JSON property diffUploadRequest



883
884
885
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 883

def diff_upload_request
  @diff_upload_request
end

#diff_upload_responseGoogle::Apis::CloudsupportV2beta::DiffUploadResponse

gdata.* are outside protos with mising documentation

Corresponds to the JSON property diffUploadResponse



888
889
890
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 888

def diff_upload_response
  @diff_upload_response
end

#diff_version_responseGoogle::Apis::CloudsupportV2beta::DiffVersionResponse

gdata.* are outside protos with mising documentation

Corresponds to the JSON property diffVersionResponse



893
894
895
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 893

def diff_version_response
  @diff_version_response
end

#download_parametersGoogle::Apis::CloudsupportV2beta::DownloadParameters

gdata.* are outside protos with mising documentation

Corresponds to the JSON property downloadParameters



898
899
900
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 898

def download_parameters
  @download_parameters
end

#filenameString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property filename

Returns:

  • (String)


903
904
905
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 903

def filename
  @filename
end

#hash_propString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property hash

Returns:

  • (String)


908
909
910
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 908

def hash_prop
  @hash_prop
end

#hash_verifiedBoolean Also known as: hash_verified?

gdata.* are outside protos with mising documentation

Corresponds to the JSON property hashVerified

Returns:

  • (Boolean)


913
914
915
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 913

def hash_verified
  @hash_verified
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)


920
921
922
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 920

def inline
  @inline
end

#is_potential_retryBoolean Also known as: is_potential_retry?

gdata.* are outside protos with mising documentation

Corresponds to the JSON property isPotentialRetry

Returns:

  • (Boolean)


925
926
927
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 925

def is_potential_retry
  @is_potential_retry
end

#lengthFixnum

gdata.* are outside protos with mising documentation

Corresponds to the JSON property length

Returns:

  • (Fixnum)


931
932
933
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 931

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)


937
938
939
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 937

def md5_hash
  @md5_hash
end

#media_idString

gdata.* are outside protos with mising documentation

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

Returns:

  • (String)


943
944
945
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 943

def media_id
  @media_id
end

#object_id_propGoogle::Apis::CloudsupportV2beta::ObjectIdProp

gdata.* are outside protos with mising documentation

Corresponds to the JSON property objectId



948
949
950
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 948

def object_id_prop
  @object_id_prop
end

#pathString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property path

Returns:

  • (String)


953
954
955
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 953

def path
  @path
end

#reference_typeString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property referenceType

Returns:

  • (String)


958
959
960
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 958

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)


964
965
966
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 964

def sha1_hash
  @sha1_hash
end

#sha256_hashString

gdata.* are outside protos with mising documentation

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

Returns:

  • (String)


970
971
972
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 970

def sha256_hash
  @sha256_hash
end

#timestampFixnum

gdata.* are outside protos with mising documentation

Corresponds to the JSON property timestamp

Returns:

  • (Fixnum)


975
976
977
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 975

def timestamp
  @timestamp
end

#tokenString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property token

Returns:

  • (String)


980
981
982
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 980

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 987

def update!(**args)
  @algorithm = args[:algorithm] if args.key?(:algorithm)
  @bigstore_object_ref = args[:bigstore_object_ref] if args.key?(:bigstore_object_ref)
  @blob_ref = args[:blob_ref] if args.key?(:blob_ref)
  @blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
  @composite_media = args[:composite_media] if args.key?(:composite_media)
  @content_type = args[:content_type] if args.key?(:content_type)
  @content_type_info = args[:content_type_info] if args.key?(:content_type_info)
  @cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
  @crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
  @diff_checksums_response = args[:diff_checksums_response] if args.key?(:diff_checksums_response)
  @diff_download_response = args[:diff_download_response] if args.key?(:diff_download_response)
  @diff_upload_request = args[:diff_upload_request] if args.key?(:diff_upload_request)
  @diff_upload_response = args[:diff_upload_response] if args.key?(:diff_upload_response)
  @diff_version_response = args[:diff_version_response] if args.key?(:diff_version_response)
  @download_parameters = args[:download_parameters] if args.key?(:download_parameters)
  @filename = args[:filename] if args.key?(:filename)
  @hash_prop = args[:hash_prop] if args.key?(:hash_prop)
  @hash_verified = args[:hash_verified] if args.key?(:hash_verified)
  @inline = args[:inline] if args.key?(:inline)
  @is_potential_retry = args[:is_potential_retry] if args.key?(:is_potential_retry)
  @length = args[:length] if args.key?(:length)
  @md5_hash = args[:md5_hash] if args.key?(:md5_hash)
  @media_id = args[:media_id] if args.key?(:media_id)
  @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)
  @sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
  @timestamp = args[:timestamp] if args.key?(:timestamp)
  @token = args[:token] if args.key?(:token)
end