class Google::Apis::ComputeV1::ExchangedPeeringRoute
Attributes
The destination range of the route. Corresponds to the JSON property `destRange` @return [String]
True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict. Corresponds to the JSON property `imported` @return [Boolean]
True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict. Corresponds to the JSON property `imported` @return [Boolean]
The region of peering route next hop, only applies to dynamic routes. Corresponds to the JSON property `nextHopRegion` @return [String]
The priority of the peering route. Corresponds to the JSON property `priority` @return [Fixnum]
The type of the peering route. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/compute_v1/classes.rb, line 7175 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 7180 def update!(**args) @dest_range = args[:dest_range] if args.key?(:dest_range) @imported = args[:imported] if args.key?(:imported) @next_hop_region = args[:next_hop_region] if args.key?(:next_hop_region) @priority = args[:priority] if args.key?(:priority) @type = args[:type] if args.key?(:type) end