class Google::Apis::NetworkmanagementV1::RouteInfo
For display only. Metadata associated with a Compute Engine route.
Attributes
Destination IP range of the route. Corresponds to the JSON property `destIpRange` @return [String]
Name of a Compute Engine route. Corresponds to the JSON property `displayName` @return [String]
URI of a Compute Engine network. Corresponds to the JSON property `networkUri` @return [String]
Next hop of the route. Corresponds to the JSON property `nextHop` @return [String]
Type of next hop. Corresponds to the JSON property `nextHopType` @return [String]
Priority of the route. Corresponds to the JSON property `priority` @return [Fixnum]
Type of route. Corresponds to the JSON property `routeType` @return [String]
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
# File lib/google/apis/networkmanagement_v1/classes.rb, line 1407 def initialize(**args) update!(**args) end
Public Instance Methods
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