Class: Google::Apis::NetworkmanagementV1beta1::DeliverInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkmanagement_v1beta1/classes.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb,
lib/google/apis/networkmanagement_v1beta1/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.



585
586
587
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 585

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

Instance Attribute Details

#ip_addressString

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

Returns:

  • (String)


573
574
575
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 573

def ip_address
  @ip_address
end

#resource_uriString

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

Returns:

  • (String)


578
579
580
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 578

def resource_uri
  @resource_uri
end

#targetString

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

Returns:

  • (String)


583
584
585
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 583

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



590
591
592
593
594
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 590

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