Class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionTo

Inherits:
Object
  • Object
show all
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

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.



1234
1235
1236
# File 'lib/google/apis/networkservices_v1/classes.rb', line 1234

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

Instance Attribute Details

#destinationGoogle::Apis::NetworkservicesV1::ExtensionBindingMatchConditionToDestination

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



1227
1228
1229
# File 'lib/google/apis/networkservices_v1/classes.rb', line 1227

def destination
  @destination
end

#not_destinationGoogle::Apis::NetworkservicesV1::ExtensionBindingMatchConditionToDestination

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



1232
1233
1234
# File 'lib/google/apis/networkservices_v1/classes.rb', line 1232

def not_destination
  @not_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1239
1240
1241
1242
# File 'lib/google/apis/networkservices_v1/classes.rb', line 1239

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