Class: Google::Apis::CloudsupportV2::ContentTypeInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2::ContentTypeInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2/classes.rb,
lib/google/apis/cloudsupport_v2/representations.rb,
lib/google/apis/cloudsupport_v2/representations.rb
Overview
gdata.* are outside protos with mising documentation
Instance Attribute Summary collapse
-
#best_guess ⇒ String
gdata.* are outside protos with mising documentation Corresponds to the JSON property
bestGuess
. -
#from_bytes ⇒ String
gdata.* are outside protos with mising documentation Corresponds to the JSON property
fromBytes
. -
#from_file_name ⇒ String
gdata.* are outside protos with mising documentation Corresponds to the JSON property
fromFileName
. -
#from_header ⇒ String
gdata.* are outside protos with mising documentation Corresponds to the JSON property
fromHeader
. -
#from_url_path ⇒ String
gdata.* are outside protos with mising documentation Corresponds to the JSON property
fromUrlPath
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContentTypeInfo
constructor
A new instance of ContentTypeInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContentTypeInfo
Returns a new instance of ContentTypeInfo.
513 514 515 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 513 def initialize(**args) update!(**args) end |
Instance Attribute Details
#best_guess ⇒ String
gdata.* are outside protos with mising documentation
Corresponds to the JSON property bestGuess
491 492 493 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 491 def best_guess @best_guess end |
#from_bytes ⇒ String
gdata.* are outside protos with mising documentation
Corresponds to the JSON property fromBytes
496 497 498 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 496 def from_bytes @from_bytes end |
#from_file_name ⇒ String
gdata.* are outside protos with mising documentation
Corresponds to the JSON property fromFileName
501 502 503 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 501 def from_file_name @from_file_name end |
#from_header ⇒ String
gdata.* are outside protos with mising documentation
Corresponds to the JSON property fromHeader
506 507 508 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 506 def from_header @from_header end |
#from_url_path ⇒ String
gdata.* are outside protos with mising documentation
Corresponds to the JSON property fromUrlPath
511 512 513 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 511 def from_url_path @from_url_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
518 519 520 521 522 523 524 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 518 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 |