Class: Google::Apis::CloudsupportV2beta::ContentTypeInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2beta::ContentTypeInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2beta/classes.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb,
lib/google/apis/cloudsupport_v2beta/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.
487 488 489 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 487 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
465 466 467 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 465 def best_guess @best_guess end |
#from_bytes ⇒ String
gdata.* are outside protos with mising documentation
Corresponds to the JSON property fromBytes
470 471 472 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 470 def from_bytes @from_bytes end |
#from_file_name ⇒ String
gdata.* are outside protos with mising documentation
Corresponds to the JSON property fromFileName
475 476 477 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 475 def from_file_name @from_file_name end |
#from_header ⇒ String
gdata.* are outside protos with mising documentation
Corresponds to the JSON property fromHeader
480 481 482 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 480 def from_header @from_header end |
#from_url_path ⇒ String
gdata.* are outside protos with mising documentation
Corresponds to the JSON property fromUrlPath
485 486 487 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 485 def from_url_path @from_url_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
492 493 494 495 496 497 498 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 492 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 |