Class: Google::Apis::NetworkmanagementV1beta1::ForwardInfo

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

Overview

Details of the final state "forward" and associated resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ForwardInfo

Returns a new instance of ForwardInfo.



675
676
677
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 675

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

Instance Attribute Details

#resource_uriString

URI of the resource that the packet is forwarded to. Corresponds to the JSON property resourceUri

Returns:

  • (String)


668
669
670
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 668

def resource_uri
  @resource_uri
end

#targetString

Target type where this packet is forwarded to. Corresponds to the JSON property target

Returns:

  • (String)


673
674
675
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 673

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



680
681
682
683
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 680

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