Compute Engine v1 API - Class SecurityPolicyRuleRedirectOptions (3.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
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. Check the Type enum for the list of possible values.

Property Value
Type Description
string