class Google::Apis::NetworkmanagementV1::RouteInfo

For display only. Metadata associated with a Compute Engine route.

Attributes

dest_ip_range[RW]

Destination IP range of the route. Corresponds to the JSON property `destIpRange` @return [String]

display_name[RW]

Name of a Compute Engine route. Corresponds to the JSON property `displayName` @return [String]

instance_tags[RW]

Instance tags of the route. Corresponds to the JSON property `instanceTags` @return [Array<String>]

network_uri[RW]

URI of a Compute Engine network. Corresponds to the JSON property `networkUri` @return [String]

next_hop[RW]

Next hop of the route. Corresponds to the JSON property `nextHop` @return [String]

next_hop_type[RW]

Type of next hop. Corresponds to the JSON property `nextHopType` @return [String]

priority[RW]

Priority of the route. Corresponds to the JSON property `priority` @return [Fixnum]

route_type[RW]

Type of route. Corresponds to the JSON property `routeType` @return [String]

uri[RW]

URI of a Compute Engine route. Dynamic route from cloud router does not have a URI. Advertised route from Google Cloud VPC to on-premises network also does not have a URI. Corresponds to the JSON property `uri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/networkmanagement_v1/classes.rb, line 1407
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/networkmanagement_v1/classes.rb, line 1412
def update!(**args)
  @dest_ip_range = args[:dest_ip_range] if args.key?(:dest_ip_range)
  @display_name = args[:display_name] if args.key?(:display_name)
  @instance_tags = args[:instance_tags] if args.key?(:instance_tags)
  @network_uri = args[:network_uri] if args.key?(:network_uri)
  @next_hop = args[:next_hop] if args.key?(:next_hop)
  @next_hop_type = args[:next_hop_type] if args.key?(:next_hop_type)
  @priority = args[:priority] if args.key?(:priority)
  @route_type = args[:route_type] if args.key?(:route_type)
  @uri = args[:uri] if args.key?(:uri)
end