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.



577
578
579
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 577

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

Instance Attribute Details

#ip_address ⇒ String

IP address of the target (if applicable). Corresponds to the JSON property ipAddress

Returns:

  • (String)


565
566
567
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 565

def ip_address
  @ip_address
end

#resource_uri ⇒ String

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

Returns:

  • (String)


570
571
572
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 570

def resource_uri
  @resource_uri
end

#target ⇒ String

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

Returns:

  • (String)


575
576
577
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 575

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



582
583
584
585
586
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 582

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