Class: Google::Apis::NetworkservicesV1::ProducerExtensionExtensionSettings
- Inherits:
-
Object
- Object
- Google::Apis::NetworkservicesV1::ProducerExtensionExtensionSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkservices_v1/classes.rb,
lib/google/apis/networkservices_v1/representations.rb,
lib/google/apis/networkservices_v1/representations.rb
Overview
The configuration for the service that this ProducerExtension offers.
Instance Attribute Summary collapse
-
#authority ⇒ String
Optional.
-
#observability_mode ⇒ Boolean
(also: #observability_mode?)
Optional.
-
#service ⇒ String
Required.
-
#supported_events ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProducerExtensionExtensionSettings
constructor
A new instance of ProducerExtensionExtensionSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProducerExtensionExtensionSettings
Returns a new instance of ProducerExtensionExtensionSettings.
5019 5020 5021 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 5019 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authority ⇒ String
Optional. The :authority header in the request sent to the extension service.
Corresponds to the JSON property authority
5001 5002 5003 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 5001 def @authority end |
#observability_mode ⇒ Boolean Also known as: observability_mode?
Optional. Whether the extension should function in observability mode.
Corresponds to the JSON property observabilityMode
5006 5007 5008 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 5006 def observability_mode @observability_mode end |
#service ⇒ String
Required. URI of the PSC attachment.
Corresponds to the JSON property service
5012 5013 5014 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 5012 def service @service end |
#supported_events ⇒ Array<String>
Required. The event types supported by the extension.
Corresponds to the JSON property supportedEvents
5017 5018 5019 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 5017 def supported_events @supported_events end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5024 5025 5026 5027 5028 5029 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 5024 def update!(**args) @authority = args[:authority] if args.key?(:authority) @observability_mode = args[:observability_mode] if args.key?(:observability_mode) @service = args[:service] if args.key?(:service) @supported_events = args[:supported_events] if args.key?(:supported_events) end |