Class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionTo

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

Describes properties of one or more destinations of a request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExtensionBindingMatchConditionTo

Returns a new instance of ExtensionBindingMatchConditionTo.



952
953
954
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 952

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

Instance Attribute Details

#destinationGoogle::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionToDestination

Describes properties of a single destination. Corresponds to the JSON property destination



945
946
947
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 945

def destination
  @destination
end

#not_destinationGoogle::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionToDestination

Describes properties of a single destination. Corresponds to the JSON property notDestination



950
951
952
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 950

def not_destination
  @not_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



957
958
959
960
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 957

def update!(**args)
  @destination = args[:destination] if args.key?(:destination)
  @not_destination = args[:not_destination] if args.key?(:not_destination)
end