public sealed class SecurityPolicyRuleRedirectOptions : IMessage<SecurityPolicyRuleRedirectOptions>, IEquatable<SecurityPolicyRuleRedirectOptions>, IDeepCloneable<SecurityPolicyRuleRedirectOptions>, IBufferMessage, IMessageImplements
IMessageSecurityPolicyRuleRedirectOptions, IEquatableSecurityPolicyRuleRedirectOptions, IDeepCloneableSecurityPolicyRuleRedirectOptions, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
SecurityPolicyRuleRedirectOptions()
public SecurityPolicyRuleRedirectOptions()SecurityPolicyRuleRedirectOptions(SecurityPolicyRuleRedirectOptions)
public SecurityPolicyRuleRedirectOptions(SecurityPolicyRuleRedirectOptions other)| Parameter | |
|---|---|
| Name | Description |
other |
SecurityPolicyRuleRedirectOptions |
Properties
HasTarget
public bool HasTarget { get; }Gets whether the "target" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasType
public bool HasType { get; }Gets whether the "type" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Target
public string Target { get; set; }Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Type
public string Type { get; set; }Type of the redirect action. Possible values are: - GOOGLE_RECAPTCHA: redirect to reCAPTCHA for manual challenge assessment. - EXTERNAL_302: redirect to a different URL via a 302 response. Check the Type enum for the list of possible values.
| Property Value | |
|---|---|
| Type | Description |
string |
|