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.



9556
9557
9558
# File 'lib/google/apis/apigee_v1/classes.rb', line 9556

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)


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