Class: Google::Apis::IapV1::CorsSettings
- Inherits:
-
Object
- Object
- Google::Apis::IapV1::CorsSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iap_v1/classes.rb,
lib/google/apis/iap_v1/representations.rb,
lib/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
-
#allow_http_options ⇒ Boolean
(also: #allow_http_options?)
Configuration to allow HTTP
OPTIONScalls to skip authentication and authorization.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CorsSettings
constructor
A new instance of CorsSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CorsSettings
Returns a new instance of CorsSettings.
410 411 412 |
# File 'lib/google/apis/iap_v1/classes.rb', line 410 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_http_options ⇒ Boolean Also known as: allow_http_options?
Configuration to allow HTTP OPTIONS calls to skip authentication and
authorization. If undefined, IAP will not apply any special logic to OPTIONS
requests.
Corresponds to the JSON property allowHttpOptions
407 408 409 |
# File 'lib/google/apis/iap_v1/classes.rb', line 407 def @allow_http_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
415 416 417 |
# File 'lib/google/apis/iap_v1/classes.rb', line 415 def update!(**args) @allow_http_options = args[:allow_http_options] if args.key?(:allow_http_options) end |