Class: Google::Apis::NetworkmanagementV1beta1::ForwardInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::ForwardInfo
- 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
-
#resource_uri ⇒ String
URI of the resource that the packet is forwarded to.
-
#target ⇒ String
Target type where this packet is forwarded to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ForwardInfo
constructor
A new instance of ForwardInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ForwardInfo
Returns a new instance of ForwardInfo.
671 672 673 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_uri ⇒ String
URI of the resource that the packet is forwarded to.
Corresponds to the JSON property resourceUri
664 665 666 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 664 def resource_uri @resource_uri end |
#target ⇒ String
Target type where this packet is forwarded to.
Corresponds to the JSON property target
669 670 671 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 669 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
676 677 678 679 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 676 def update!(**args) @resource_uri = args[:resource_uri] if args.key?(:resource_uri) @target = args[:target] if args.key?(:target) end |