Compute Engine v1 API - Class SecurityPolicyRuleRedirectOptions (2.10.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
bool

HasType

public bool HasType { get; }

Gets whether the "type" field is set

Property Value
TypeDescription
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
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