class Google::Apis::TrafficdirectorV2::Extension

Version and identification for an Envoy extension. [#next-free-field: 6]

Attributes

category[RW]

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` @return [String]

disabled[RW]

Indicates that the extension is present but was disabled via dynamic configuration. Corresponds to the JSON property `disabled` @return [Boolean]

disabled?[RW]

Indicates that the extension is present but was disabled via dynamic configuration. Corresponds to the JSON property `disabled` @return [Boolean]

name[RW]

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` @return [String]

type_descriptor[RW]
not-implemented-hide:

Type descriptor of extension configuration proto. [#

comment: Corresponds to the JSON property `typeDescriptor` @return [String]

version[RW]

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` @return [Google::Apis::TrafficdirectorV2::BuildVersion]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/trafficdirector_v2/classes.rb, line 469
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/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