Class: Google::Apis::WorkstationsV1beta::HttpOptions

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

Overview

Http options for the running workstations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HttpOptions

Returns a new instance of HttpOptions.



933
934
935
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 933

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

Instance Attribute Details

#allowed_unauthenticated_cors_preflight_requestsBoolean Also known as: allowed_unauthenticated_cors_preflight_requests?

Optional. By default, the workstations service makes sure that all requests to the workstation are authenticated. CORS preflight requests do not include cookies or custom headers, and so are considered unauthenticated and blocked by the workstations service. Enabling this option allows these unauthenticated CORS preflight requests through to the workstation, where it becomes the responsibility of the destination server in the workstation to validate the request. Corresponds to the JSON property allowedUnauthenticatedCorsPreflightRequests

Returns:

  • (Boolean)


930
931
932
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 930

def allowed_unauthenticated_cors_preflight_requests
  @allowed_unauthenticated_cors_preflight_requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



938
939
940
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 938

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