Class: Google::Apis::ComputeV1::SecurityPolicyRuleHttpHeaderAction
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::SecurityPolicyRuleHttpHeaderAction
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#request_headers_to_adds ⇒ Array<Google::Apis::ComputeV1::SecurityPolicyRuleHttpHeaderActionHttpHeaderOption>
The list of request headers to add or overwrite if they're already present.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPolicyRuleHttpHeaderAction
constructor
A new instance of SecurityPolicyRuleHttpHeaderAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityPolicyRuleHttpHeaderAction
Returns a new instance of SecurityPolicyRuleHttpHeaderAction.
38429 38430 38431 |
# File 'lib/google/apis/compute_v1/classes.rb', line 38429 def initialize(**args) update!(**args) end |
Instance Attribute Details
#request_headers_to_adds ⇒ Array<Google::Apis::ComputeV1::SecurityPolicyRuleHttpHeaderActionHttpHeaderOption>
The list of request headers to add or overwrite if they're already present.
Corresponds to the JSON property requestHeadersToAdds
38427 38428 38429 |
# File 'lib/google/apis/compute_v1/classes.rb', line 38427 def request_headers_to_adds @request_headers_to_adds end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
38434 38435 38436 |
# File 'lib/google/apis/compute_v1/classes.rb', line 38434 def update!(**args) @request_headers_to_adds = args[:request_headers_to_adds] if args.key?(:request_headers_to_adds) end |