Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionDeny

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb

Overview

Message that should be set in case of a Deny Action.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityActionDeny

Returns a new instance of GoogleCloudApigeeV1SecurityActionDeny.



9567
9568
9569
# File 'lib/google/apis/apigee_v1/classes.rb', line 9567

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#response_codeFixnum

Optional. The HTTP response code if the Action = DENY. Corresponds to the JSON property responseCode

Returns:

  • (Fixnum)


9565
9566
9567
# File 'lib/google/apis/apigee_v1/classes.rb', line 9565

def response_code
  @response_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9572
9573
9574
# File 'lib/google/apis/apigee_v1/classes.rb', line 9572

def update!(**args)
  @response_code = args[:response_code] if args.key?(:response_code)
end