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.



1160
1161
1162
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1160

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)


1003
1004
1005
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1003

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)


1009
1010
1011
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1009

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)


1015
1016
1017
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1015

def blob_ref
  @blob_ref
end

#blobstore2_infoGoogle::Apis::CloudsupportV2beta::Blobstore2Info

gdata.* are outside protos with mising documentation

Corresponds to the JSON property blobstore2Info



1020
1021
1022
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1020

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



1025
1026
1027
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1025

def composite_media
  @composite_media
end

#content_typeString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property contentType

Returns:

  • (String)


1030
1031
1032
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1030

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



1035
1036
1037
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1035

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)


1041
1042
1043
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1041

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)


1046
1047
1048
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1046

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



1051
1052
1053
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1051

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



1056
1057
1058
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1056

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



1061
1062
1063
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1061

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



1066
1067
1068
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1066

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



1071
1072
1073
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1071

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



1076
1077
1078
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1076

def download_parameters
  @download_parameters
end

#filenameString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property filename

Returns:

  • (String)


1081
1082
1083
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1081

def filename
  @filename
end

#hash_propString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property hash

Returns:

  • (String)


1086
1087
1088
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1086

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)


1091
1092
1093
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1091

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)


1098
1099
1100
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1098

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)


1103
1104
1105
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1103

def is_potential_retry
  @is_potential_retry
end

#lengthFixnum

gdata.* are outside protos with mising documentation

Corresponds to the JSON property length

Returns:

  • (Fixnum)


1109
1110
1111
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1109

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)


1115
1116
1117
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1115

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)


1121
1122
1123
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1121

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



1126
1127
1128
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1126

def object_id_prop
  @object_id_prop
end

#pathString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property path

Returns:

  • (String)


1131
1132
1133
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1131

def path
  @path
end

#reference_typeString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property referenceType

Returns:

  • (String)


1136
1137
1138
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1136

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)


1142
1143
1144
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1142

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)


1148
1149
1150
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1148

def sha256_hash
  @sha256_hash
end

#timestampFixnum

gdata.* are outside protos with mising documentation

Corresponds to the JSON property timestamp

Returns:

  • (Fixnum)


1153
1154
1155
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1153

def timestamp
  @timestamp
end

#tokenString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property token

Returns:

  • (String)


1158
1159
1160
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1158

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1165

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