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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GdataContentTypeInfo
Returns a new instance of GdataContentTypeInfo
202 203 204 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 202 def initialize(**args) update!(**args) end |
Instance Attribute Details
#best_guess ⇒ String
gdata
Corresponds to the JSON property bestGuess
180 181 182 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 180 def best_guess @best_guess end |
#from_bytes ⇒ String
gdata
Corresponds to the JSON property fromBytes
185 186 187 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 185 def from_bytes @from_bytes end |
#from_file_name ⇒ String
gdata
Corresponds to the JSON property fromFileName
190 191 192 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 190 def from_file_name @from_file_name end |
#from_header ⇒ String
gdata
Corresponds to the JSON property fromHeader
195 196 197 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 195 def from_header @from_header end |
#from_url_path ⇒ String
gdata
Corresponds to the JSON property fromUrlPath
200 201 202 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 200 def from_url_path @from_url_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
207 208 209 210 211 212 213 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 207 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 |