Class: Google::Apis::NetworkmanagementV1::DeliverInfo

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeliverInfo

Returns a new instance of DeliverInfo.



542
543
544
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 542

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

Instance Attribute Details

#resource_uriString

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

Returns:

  • (String)


535
536
537
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 535

def resource_uri
  @resource_uri
end

#targetString

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

Returns:

  • (String)


540
541
542
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 540

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



547
548
549
550
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 547

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