Class: Google::Apis::TrafficdirectorV2::Extension
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV2::Extension
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/trafficdirector_v2/classes.rb,
generated/google/apis/trafficdirector_v2/representations.rb,
generated/google/apis/trafficdirector_v2/representations.rb
Overview
Version and identification for an Envoy extension. [#next-free-field: 6]
Instance Attribute Summary collapse
-
#category ⇒ String
Category of the extension.
-
#disabled ⇒ Boolean
(also: #disabled?)
Indicates that the extension is present but was disabled via dynamic configuration.
-
#name ⇒ String
This is the name of the Envoy filter as specified in the Envoy configuration, e.g.
-
#type_descriptor ⇒ String
[#not-implemented-hide:] Type descriptor of extension configuration proto.
-
#version ⇒ Google::Apis::TrafficdirectorV2::BuildVersion
BuildVersion combines SemVer version of extension with free-form build information (i.e. 'alpha', 'private-build') as a set of strings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Extension
constructor
A new instance of Extension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Extension
Returns a new instance of Extension.
469 470 471 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 469 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category ⇒ String
Category of the extension. Extension category names use reverse DNS notation.
For instance "envoy.filters.listener" for Envoy's built-in listener filters or
"com.acme.filters.http" for HTTP filters from acme.com vendor. [#comment:
Corresponds to the JSON property category
442 443 444 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 442 def category @category end |
#disabled ⇒ Boolean Also known as: disabled?
Indicates that the extension is present but was disabled via dynamic
configuration.
Corresponds to the JSON property disabled
448 449 450 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 448 def disabled @disabled end |
#name ⇒ String
This is the name of the Envoy filter as specified in the Envoy configuration,
e.g. envoy.filters.http.router, com.acme.widget.
Corresponds to the JSON property name
455 456 457 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 455 def name @name end |
#type_descriptor ⇒ String
[#not-implemented-hide:] Type descriptor of extension configuration proto. [#
comment:
Corresponds to the JSON property typeDescriptor
461 462 463 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 461 def type_descriptor @type_descriptor end |
#version ⇒ Google::Apis::TrafficdirectorV2::BuildVersion
BuildVersion combines SemVer version of extension with free-form build
information (i.e. 'alpha', 'private-build') as a set of strings.
Corresponds to the JSON property version
467 468 469 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 467 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
474 475 476 477 478 479 480 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 474 def update!(**args) @category = args[:category] if args.key?(:category) @disabled = args[:disabled] if args.key?(:disabled) @name = args[:name] if args.key?(:name) @type_descriptor = args[:type_descriptor] if args.key?(:type_descriptor) @version = args[:version] if args.key?(:version) end |