Class SecurityPolicyRuleRedirectOptions (1.1.0)

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

Inheritance

Object > SecurityPolicyRuleRedirectOptions

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SecurityPolicyRuleRedirectOptions()

public SecurityPolicyRuleRedirectOptions()

SecurityPolicyRuleRedirectOptions(SecurityPolicyRuleRedirectOptions)

public SecurityPolicyRuleRedirectOptions(SecurityPolicyRuleRedirectOptions other)
Parameter
NameDescription
otherSecurityPolicyRuleRedirectOptions

Properties

HasTarget

public bool HasTarget { get; }

Gets whether the "target" field is set

Property Value
TypeDescription
Boolean

HasType

public bool HasType { get; }

Gets whether the "type" field is set

Property Value
TypeDescription
Boolean

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
TypeDescription
String

Type

public string Type { get; set; }

Type of the redirect action. Check the Type enum for the list of possible values.

Property Value
TypeDescription
String