Class: Google::Apis::CloudsupportV2beta::ContentTypeInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_guessString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property bestGuess

Returns:

  • (String)


465
466
467
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 465

def best_guess
  @best_guess
end

#from_bytesString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property fromBytes

Returns:

  • (String)


470
471
472
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 470

def from_bytes
  @from_bytes
end

#from_file_nameString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property fromFileName

Returns:

  • (String)


475
476
477
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 475

def from_file_name
  @from_file_name
end

#from_headerString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property fromHeader

Returns:

  • (String)


480
481
482
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 480

def from_header
  @from_header
end

#from_url_pathString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property fromUrlPath

Returns:

  • (String)


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