Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionFlag

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

The message that should be set in the case of a Flag action.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityActionFlag

Returns a new instance of GoogleCloudApigeeV1SecurityActionFlag.



9587
9588
9589
# File 'lib/google/apis/apigee_v1/classes.rb', line 9587

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

Instance Attribute Details

#headersArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionHttpHeader>

Optional. A list of HTTP headers to be sent to the target in case of a FLAG SecurityAction. Limit 5 headers per SecurityAction. At least one is mandatory. Corresponds to the JSON property headers



9585
9586
9587
# File 'lib/google/apis/apigee_v1/classes.rb', line 9585

def headers
  @headers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9592
9593
9594
# File 'lib/google/apis/apigee_v1/classes.rb', line 9592

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