Gemini Enterprise for Customer Experience V1 API - Class Google::Cloud::Ces::V1::ChannelProfile::WebWidgetConfig::SecuritySettings (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::ChannelProfile::WebWidgetConfig::SecuritySettings.

Security settings for the web widget.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowed_origins

def allowed_origins() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. The origins that are allowed to host the web widget. An origin is defined by RFC 6454. If empty, all origins are allowed. A maximum of 100 origins is allowed. Example: "https://example.com"

#allowed_origins=

def allowed_origins=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. The origins that are allowed to host the web widget. An origin is defined by RFC 6454. If empty, all origins are allowed. A maximum of 100 origins is allowed. Example: "https://example.com"
Returns
  • (::Array<::String>) — Optional. The origins that are allowed to host the web widget. An origin is defined by RFC 6454. If empty, all origins are allowed. A maximum of 100 origins is allowed. Example: "https://example.com"

#enable_origin_check

def enable_origin_check() -> ::Boolean
Returns
  • (::Boolean) — Optional. Indicates whether origin check for the web widget is enabled. If true, the web widget will check the origin of the website that loads the web widget and only allow it to be loaded in the same origin or any of the allowed origins.

#enable_origin_check=

def enable_origin_check=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Indicates whether origin check for the web widget is enabled. If true, the web widget will check the origin of the website that loads the web widget and only allow it to be loaded in the same origin or any of the allowed origins.
Returns
  • (::Boolean) — Optional. Indicates whether origin check for the web widget is enabled. If true, the web widget will check the origin of the website that loads the web widget and only allow it to be loaded in the same origin or any of the allowed origins.

#enable_public_access

def enable_public_access() -> ::Boolean
Returns
  • (::Boolean) — Optional. Indicates whether public access to the web widget is enabled. If true, the web widget will be publicly accessible. If false, the web widget must be integrated with your own authentication and authorization system to return valid credentials for accessing the CES agent.

#enable_public_access=

def enable_public_access=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Indicates whether public access to the web widget is enabled. If true, the web widget will be publicly accessible. If false, the web widget must be integrated with your own authentication and authorization system to return valid credentials for accessing the CES agent.
Returns
  • (::Boolean) — Optional. Indicates whether public access to the web widget is enabled. If true, the web widget will be publicly accessible. If false, the web widget must be integrated with your own authentication and authorization system to return valid credentials for accessing the CES agent.

#enable_recaptcha

def enable_recaptcha() -> ::Boolean
Returns
  • (::Boolean) — Optional. Indicates whether reCAPTCHA verification for the web widget is enabled.

#enable_recaptcha=

def enable_recaptcha=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Indicates whether reCAPTCHA verification for the web widget is enabled.
Returns
  • (::Boolean) — Optional. Indicates whether reCAPTCHA verification for the web widget is enabled.