Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionDeny
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionDeny
- 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
-
#response_code ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityActionDeny
constructor
A new instance of GoogleCloudApigeeV1SecurityActionDeny.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_code ⇒ Fixnum
Optional. The HTTP response code if the Action = DENY.
Corresponds to the JSON property responseCode
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 |