Class: Google::Apis::IapV1::CorsSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/iap_v1/classes.rb,
generated/google/apis/iap_v1/representations.rb,
generated/google/apis/iap_v1/representations.rb

Overview

Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS call to bypass authentication and authorization.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CorsSettings

Returns a new instance of CorsSettings.



265
266
267
# File 'generated/google/apis/iap_v1/classes.rb', line 265

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allow_http_optionsBoolean Also known as: allow_http_options?

Configuration to allow HTTP OPTIONS calls to skip authorization. If undefined, IAP will not apply any special logic to OPTIONS requests. Corresponds to the JSON property allowHttpOptions

Returns:

  • (Boolean)


262
263
264
# File 'generated/google/apis/iap_v1/classes.rb', line 262

def allow_http_options
  @allow_http_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



270
271
272
# File 'generated/google/apis/iap_v1/classes.rb', line 270

def update!(**args)
  @allow_http_options = args[:allow_http_options] if args.key?(:allow_http_options)
end