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.



8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8240

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 = 469_794_858

    # The peering route.
    STATIC_PEERING_ROUTE = 473_407_545

    # The peering route corresponding to subnetwork range.
    SUBNET_PEERING_ROUTE = 465_782_504
  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.



8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8240

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 = 469_794_858

    # The peering route.
    STATIC_PEERING_ROUTE = 473_407_545

    # The peering route corresponding to subnetwork range.
    SUBNET_PEERING_ROUTE = 465_782_504
  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.



8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8240

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 = 469_794_858

    # The peering route.
    STATIC_PEERING_ROUTE = 473_407_545

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

#priority::Integer

Returns The priority of the peering route.

Returns:

  • (::Integer)

    The priority of the peering route.



8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8240

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 = 469_794_858

    # The peering route.
    STATIC_PEERING_ROUTE = 473_407_545

    # The peering route corresponding to subnetwork range.
    SUBNET_PEERING_ROUTE = 465_782_504
  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.



8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8240

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 = 469_794_858

    # The peering route.
    STATIC_PEERING_ROUTE = 473_407_545

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