Class: Google::Cloud::Compute::V1::ExchangedPeeringRoute

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#dest_range::String

Returns The destination range of the route.

Returns:

  • (::String)

    The destination range of the route.



6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 6653

class ExchangedPeeringRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the peering route.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    # For routes exported from local network.
    DYNAMIC_PEERING_ROUTE = 469794858

    # The peering route.
    STATIC_PEERING_ROUTE = 473407545

    # The peering route corresponding to subnetwork range.
    SUBNET_PEERING_ROUTE = 465782504
  end
end

#imported::Boolean

Returns 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.

Returns:

  • (::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.



6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 6653

class ExchangedPeeringRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the peering route.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    # For routes exported from local network.
    DYNAMIC_PEERING_ROUTE = 469794858

    # The peering route.
    STATIC_PEERING_ROUTE = 473407545

    # The peering route corresponding to subnetwork range.
    SUBNET_PEERING_ROUTE = 465782504
  end
end

#next_hop_region::String

Returns The region of peering route next hop, only applies to dynamic routes.

Returns:

  • (::String)

    The region of peering route next hop, only applies to dynamic routes.



6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 6653

class ExchangedPeeringRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the peering route.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    # For routes exported from local network.
    DYNAMIC_PEERING_ROUTE = 469794858

    # The peering route.
    STATIC_PEERING_ROUTE = 473407545

    # The peering route corresponding to subnetwork range.
    SUBNET_PEERING_ROUTE = 465782504
  end
end

#priority::Integer

Returns The priority of the peering route.

Returns:

  • (::Integer)

    The priority of the peering route.



6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 6653

class ExchangedPeeringRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the peering route.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    # For routes exported from local network.
    DYNAMIC_PEERING_ROUTE = 469794858

    # The peering route.
    STATIC_PEERING_ROUTE = 473407545

    # The peering route corresponding to subnetwork range.
    SUBNET_PEERING_ROUTE = 465782504
  end
end

#type::String

Returns The type of the peering route. Check the Type enum for the list of possible values.

Returns:

  • (::String)

    The type of the peering route. Check the Type enum for the list of possible values.



6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 6653

class ExchangedPeeringRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the peering route.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    # For routes exported from local network.
    DYNAMIC_PEERING_ROUTE = 469794858

    # The peering route.
    STATIC_PEERING_ROUTE = 473407545

    # The peering route corresponding to subnetwork range.
    SUBNET_PEERING_ROUTE = 465782504
  end
end