Gemini Enterprise for Customer Experience v1 API - Class ChannelProfile.Types.WebWidgetConfig.Types.SecuritySettings (1.0.0-beta01)

public sealed class ChannelProfile.Types.WebWidgetConfig.Types.SecuritySettings : IMessage<ChannelProfile.Types.WebWidgetConfig.Types.SecuritySettings>, IEquatable<ChannelProfile.Types.WebWidgetConfig.Types.SecuritySettings>, IDeepCloneable<ChannelProfile.Types.WebWidgetConfig.Types.SecuritySettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class ChannelProfile.Types.WebWidgetConfig.Types.SecuritySettings.

Security settings for the web widget.

Inheritance

object > ChannelProfile.Types.WebWidgetConfig.Types.SecuritySettings

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

SecuritySettings()

public SecuritySettings()

SecuritySettings(SecuritySettings)

public SecuritySettings(ChannelProfile.Types.WebWidgetConfig.Types.SecuritySettings other)
Parameter
Name Description
other ChannelProfileTypesWebWidgetConfigTypesSecuritySettings

Properties

AllowedOrigins

public RepeatedField<string> AllowedOrigins { get; }

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"

Property Value
Type Description
RepeatedFieldstring

EnableOriginCheck

public bool EnableOriginCheck { get; set; }

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.

Property Value
Type Description
bool

EnablePublicAccess

public bool EnablePublicAccess { get; set; }

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.

Property Value
Type Description
bool

EnableRecaptcha

public bool EnableRecaptcha { get; set; }

Optional. Indicates whether reCAPTCHA verification for the web widget is enabled.

Property Value
Type Description
bool