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.
9556 9557 9558 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9556 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
9554 9555 9556 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9554 def response_code @response_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9561 9562 9563 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9561 def update!(**args) @response_code = args[:response_code] if args.key?(:response_code) end |