Class: Google::Apis::NetworkmanagementV1beta1::DeliverInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::DeliverInfo
- 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 "deliver" and associated resource.
Instance Attribute Summary collapse
-
#resource_uri ⇒ String
URI of the resource that the packet is delivered to.
-
#target ⇒ String
Target type where the packet is delivered to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeliverInfo
constructor
A new instance of DeliverInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeliverInfo
Returns a new instance of DeliverInfo.
363 364 365 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 363 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_uri ⇒ String
URI of the resource that the packet is delivered to.
Corresponds to the JSON property resourceUri
356 357 358 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 356 def resource_uri @resource_uri end |
#target ⇒ String
Target type where the packet is delivered to.
Corresponds to the JSON property target
361 362 363 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 361 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
368 369 370 371 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 368 def update!(**args) @resource_uri = args[:resource_uri] if args.key?(:resource_uri) @target = args[:target] if args.key?(:target) end |