Class: Google::Apis::TrafficdirectorV3::Extension
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV3::Extension
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/trafficdirector_v3/classes.rb,
lib/google/apis/trafficdirector_v3/representations.rb,
lib/google/apis/trafficdirector_v3/representations.rb
Overview
Version and identification for an Envoy extension. [#next-free-field: 7]
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.
-
#type_urls ⇒ Array<String>
Type URLs of extension configuration protos.
-
#version ⇒ Google::Apis::TrafficdirectorV3::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.
697 698 699 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 697 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
665 666 667 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 665 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
671 672 673 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 671 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
678 679 680 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 678 def name @name end |
#type_descriptor ⇒ String
[#not-implemented-hide:] Type descriptor of extension configuration proto. [#
comment:
Corresponds to the JSON property typeDescriptor
684 685 686 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 684 def type_descriptor @type_descriptor end |
#type_urls ⇒ Array<String>
Type URLs of extension configuration protos.
Corresponds to the JSON property typeUrls
689 690 691 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 689 def type_urls @type_urls end |
#version ⇒ Google::Apis::TrafficdirectorV3::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
695 696 697 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 695 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
702 703 704 705 706 707 708 709 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 702 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) @type_urls = args[:type_urls] if args.key?(:type_urls) @version = args[:version] if args.key?(:version) end |