Class: Google::Cloud::Compute::V1::SecurityPolicyRuleRedirectOptions

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#target::String

Returns 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.



22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22514

class SecurityPolicyRuleRedirectOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of the redirect action.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    EXTERNAL_302 = 395733761

    GOOGLE_RECAPTCHA = 518803009
  end
end

#type::String

Returns 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.



22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22514

class SecurityPolicyRuleRedirectOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of the redirect action.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    EXTERNAL_302 = 395733761

    GOOGLE_RECAPTCHA = 518803009
  end
end