Class: Google::Apis::CloudsupportV2::ContentTypeInfo

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

Instance Method Summary collapse

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_guessString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property bestGuess

Returns:

  • (String)


491
492
493
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 491

def best_guess
  @best_guess
end

#from_bytesString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property fromBytes

Returns:

  • (String)


496
497
498
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 496

def from_bytes
  @from_bytes
end

#from_file_nameString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property fromFileName

Returns:

  • (String)


501
502
503
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 501

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)


506
507
508
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 506

def from_header
  @from_header
end

#from_url_pathString

gdata.* are outside protos with mising documentation

Corresponds to the JSON property fromUrlPath

Returns:

  • (String)


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