class Google::Apis::ComputeV1::ExchangedPeeringRoute

Attributes

dest_range[RW]

The destination range of the route. Corresponds to the JSON property `destRange` @return [String]

imported[RW]

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]

imported?[RW]

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]

next_hop_region[RW]

The region of peering route next hop, only applies to dynamic routes. Corresponds to the JSON property `nextHopRegion` @return [String]

priority[RW]

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

type[RW]

The type of the peering route. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 6459
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