class Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

Attributes

content_types[RW]

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type “/” subtype *[“;” parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded. Corresponds to the JSON property `contentTypes` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 32346
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 32351
def update!(**args)
  @content_types = args[:content_types] if args.key?(:content_types)
end