Class: Google::Apis::NetworkservicesV1beta1::ProducerExtensionExtensionSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkservices_v1beta1/classes.rb,
lib/google/apis/networkservices_v1beta1/representations.rb,
lib/google/apis/networkservices_v1beta1/representations.rb

Overview

The configuration for the service that this ProducerExtension offers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProducerExtensionExtensionSettings

Returns a new instance of ProducerExtensionExtensionSettings.



4532
4533
4534
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 4532

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#authorityString

Optional. The :authority header in the request sent to the extension service. Corresponds to the JSON property authority

Returns:

  • (String)


4514
4515
4516
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 4514

def authority
  @authority
end

#observability_modeBoolean Also known as: observability_mode?

Optional. Whether the extension should function in observability mode. Corresponds to the JSON property observabilityMode

Returns:

  • (Boolean)


4519
4520
4521
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 4519

def observability_mode
  @observability_mode
end

#serviceString

Required. URI of the PSC attachment. Corresponds to the JSON property service

Returns:

  • (String)


4525
4526
4527
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 4525

def service
  @service
end

#supported_eventsArray<String>

Required. The event types supported by the extension. Corresponds to the JSON property supportedEvents

Returns:

  • (Array<String>)


4530
4531
4532
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 4530

def supported_events
  @supported_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4537
4538
4539
4540
4541
4542
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 4537

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