Class: Google::Apis::YoutubereportingV1::GdataContentTypeInfo
- Inherits:
-
Object
- Object
- Google::Apis::YoutubereportingV1::GdataContentTypeInfo
- 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
-
#best_guess ⇒ String
gdata Corresponds to the JSON property
bestGuess
. -
#from_bytes ⇒ String
gdata Corresponds to the JSON property
fromBytes
. -
#from_file_name ⇒ String
gdata Corresponds to the JSON property
fromFileName
. -
#from_header ⇒ String
gdata Corresponds to the JSON property
fromHeader
. -
#from_url_path ⇒ String
gdata Corresponds to the JSON property
fromUrlPath
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GdataContentTypeInfo
constructor
A new instance of GdataContentTypeInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_guess ⇒ String
gdata
Corresponds to the JSON property bestGuess
178 179 180 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 178 def best_guess @best_guess end |
#from_bytes ⇒ String
gdata
Corresponds to the JSON property fromBytes
183 184 185 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 183 def from_bytes @from_bytes end |
#from_file_name ⇒ String
gdata
Corresponds to the JSON property fromFileName
188 189 190 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 188 def from_file_name @from_file_name end |
#from_header ⇒ String
gdata
Corresponds to the JSON property fromHeader
193 194 195 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 193 def from_header @from_header end |
#from_url_path ⇒ String
gdata
Corresponds to the JSON property fromUrlPath
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 |