class Google::Apis::ComputeV1::SecurityPolicyRuleRedirectOptions
Attributes
target[RW]
Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. Corresponds to the JSON property `target` @return [String]
type[RW]
Type of the redirect action. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 32862 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 32867 def update!(**args) @target = args[:target] if args.key?(:target) @type = args[:type] if args.key?(:type) end