Class: Google::Apis::ComputeAlpha::HttpFilterConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::HttpFilterConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
HttpFilterConfiguration supplies additional contextual settings for networkservices.HttpFilter resources enabled by Traffic Director.
Instance Attribute Summary collapse
-
#config ⇒ String
The configuration needed to enable the networkservices.HttpFilter resource.
-
#config_type_url ⇒ String
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.
-
#filter_name ⇒ String
Name of the networkservices.HttpFilter resource this configuration belongs to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpFilterConfig
constructor
A new instance of HttpFilterConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HttpFilterConfig
Returns a new instance of HttpFilterConfig.
11206 11207 11208 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11206 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ String
The configuration needed to enable the networkservices.HttpFilter resource.
The configuration must be YAML formatted and only contain fields defined in
the protobuf identified in configTypeUrl
Corresponds to the JSON property config
11191 11192 11193 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11191 def config @config end |
#config_type_url ⇒ String
The fully qualified versioned proto3 type url of the protobuf that the filter
expects for its contextual settings, for example: type.googleapis.com/google.
protobuf.Struct
Corresponds to the JSON property configTypeUrl
11198 11199 11200 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11198 def config_type_url @config_type_url end |
#filter_name ⇒ String
Name of the networkservices.HttpFilter resource this configuration belongs to.
This name must be known to the xDS client. Example: envoy.wasm
Corresponds to the JSON property filterName
11204 11205 11206 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11204 def filter_name @filter_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11211 11212 11213 11214 11215 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11211 def update!(**args) @config = args[:config] if args.key?(:config) @config_type_url = args[:config_type_url] if args.key?(:config_type_url) @filter_name = args[:filter_name] if args.key?(:filter_name) end |