Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::SecurityPolicyRuleRedirectOptions (v2.5.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::SecurityPolicyRuleRedirectOptions.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#target

def target() -> ::String
Returns
  • (::String) — Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

#target=

def target=(value) -> ::String
Parameter
  • value (::String) — Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
Returns
  • (::String) — Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

#type

def type() -> ::String
Returns
  • (::String) — Type of the redirect action. Check the Type enum for the list of possible values.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — Type of the redirect action. Check the Type enum for the list of possible values.
Returns
  • (::String) — Type of the redirect action. Check the Type enum for the list of possible values.