Class: Google::Apis::YoutubereportingV1::GdataCompositeMedia

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

Returns a new instance of GdataCompositeMedia



153
154
155
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 153

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

Instance Attribute Details

#blob_refString

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

Returns:

  • (String)


97
98
99
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 97

def blob_ref
  @blob_ref
end

#blobstore2_infoGoogle::Apis::YoutubereportingV1::GdataBlobstore2Info

gdata Corresponds to the JSON property blobstore2Info



102
103
104
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 102

def blobstore2_info
  @blobstore2_info
end

#cosmo_binary_referenceString

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

Returns:

  • (String)


108
109
110
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 108

def cosmo_binary_reference
  @cosmo_binary_reference
end

#crc32c_hashFixnum

gdata Corresponds to the JSON property crc32cHash

Returns:

  • (Fixnum)


113
114
115
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 113

def crc32c_hash
  @crc32c_hash
end

#inlineString

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

Returns:

  • (String)


119
120
121
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 119

def inline
  @inline
end

#lengthFixnum

gdata Corresponds to the JSON property length

Returns:

  • (Fixnum)


124
125
126
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 124

def length
  @length
end

#md5_hashString

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

Returns:

  • (String)


130
131
132
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 130

def md5_hash
  @md5_hash
end

#object_id_propGoogle::Apis::YoutubereportingV1::GdataObjectId

gdata Corresponds to the JSON property objectId



135
136
137
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 135

def object_id_prop
  @object_id_prop
end

#pathString

gdata Corresponds to the JSON property path

Returns:

  • (String)


140
141
142
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 140

def path
  @path
end

#reference_typeString

gdata Corresponds to the JSON property referenceType

Returns:

  • (String)


145
146
147
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 145

def reference_type
  @reference_type
end

#sha1_hashString

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

Returns:

  • (String)


151
152
153
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 151

def sha1_hash
  @sha1_hash
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



158
159
160
161
162
163
164
165
166
167
168
169
170
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 158

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