Class: Google::Apis::YoutubereportingV1::GdataContentTypeInfo

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

Constructor Details

#initialize(**args) ⇒ GdataContentTypeInfo

Returns a new instance of GdataContentTypeInfo.



200
201
202
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 200

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

Instance Attribute Details

#best_guessString

gdata Corresponds to the JSON property bestGuess

Returns:

  • (String)


178
179
180
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 178

def best_guess
  @best_guess
end

#from_bytesString

gdata Corresponds to the JSON property fromBytes

Returns:

  • (String)


183
184
185
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 183

def from_bytes
  @from_bytes
end

#from_file_nameString

gdata Corresponds to the JSON property fromFileName

Returns:

  • (String)


188
189
190
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 188

def from_file_name
  @from_file_name
end

#from_headerString

gdata Corresponds to the JSON property fromHeader

Returns:

  • (String)


193
194
195
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 193

def from_header
  @from_header
end

#from_url_pathString

gdata Corresponds to the JSON property fromUrlPath

Returns:

  • (String)


198
199
200
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 198

def from_url_path
  @from_url_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



205
206
207
208
209
210
211
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 205

def update!(**args)
  @best_guess = args[:best_guess] if args.key?(:best_guess)
  @from_bytes = args[:from_bytes] if args.key?(:from_bytes)
  @from_file_name = args[:from_file_name] if args.key?(:from_file_name)
  @from_header = args[:from_header] if args.key?(:from_header)
  @from_url_path = args[:from_url_path] if args.key?(:from_url_path)
end