Compute Engine v1 API - Class SecurityPolicyRecaptchaOptionsConfig (3.2.0)

public sealed class SecurityPolicyRecaptchaOptionsConfig : IMessage<SecurityPolicyRecaptchaOptionsConfig>, IEquatable<SecurityPolicyRecaptchaOptionsConfig>, IDeepCloneable<SecurityPolicyRecaptchaOptionsConfig>, IBufferMessage, IMessage

Inheritance

object > SecurityPolicyRecaptchaOptionsConfig

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SecurityPolicyRecaptchaOptionsConfig()

public SecurityPolicyRecaptchaOptionsConfig()

SecurityPolicyRecaptchaOptionsConfig(SecurityPolicyRecaptchaOptionsConfig)

public SecurityPolicyRecaptchaOptionsConfig(SecurityPolicyRecaptchaOptionsConfig other)
Parameter
Name Description
other SecurityPolicyRecaptchaOptionsConfig

Properties

HasRedirectSiteKey

public bool HasRedirectSiteKey { get; }

Gets whether the "redirect_site_key" field is set

Property Value
Type Description
bool

RedirectSiteKey

public string RedirectSiteKey { get; set; }

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.

Property Value
Type Description
string