Class: Google::Cloud::VmwareEngine::V1::PeeringRoute

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

Overview

Exchanged network peering route.

Defined Under Namespace

Modules: Direction, Type

Instance Attribute Summary collapse

Instance Attribute Details

#dest_range::String (readonly)

Returns Output only. Destination range of the peering route in CIDR notation.

Returns:

  • (::String)

    Output only. Destination range of the peering route in CIDR notation.



1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 1180

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

  # The type of the peering route.
  module Type
    # Unspecified peering route type. This is the default value.
    TYPE_UNSPECIFIED = 0

    # Dynamic routes in the peer network.
    DYNAMIC_PEERING_ROUTE = 1

    # Static routes in the peer network.
    STATIC_PEERING_ROUTE = 2

    # Created, updated, and removed automatically by Google Cloud when subnets
    # are created, modified, or deleted in the peer network.
    SUBNET_PEERING_ROUTE = 3
  end

  # The direction of the exchanged routes.
  module Direction
    # Unspecified exchanged routes direction. This is default.
    DIRECTION_UNSPECIFIED = 0

    # Routes imported from the peer network.
    INCOMING = 1

    # Routes exported to the peer network.
    OUTGOING = 2
  end
end

#direction::Google::Cloud::VmwareEngine::V1::PeeringRoute::Direction (readonly)

Returns Output only. Direction of the routes exchanged with the peer network, from the VMware Engine network perspective:

  • Routes of direction INCOMING are imported from the peer network.
  • Routes of direction OUTGOING are exported from the intranet VPC network of the VMware Engine network.

Returns:

  • (::Google::Cloud::VmwareEngine::V1::PeeringRoute::Direction)

    Output only. Direction of the routes exchanged with the peer network, from the VMware Engine network perspective:

    • Routes of direction INCOMING are imported from the peer network.
    • Routes of direction OUTGOING are exported from the intranet VPC network of the VMware Engine network.


1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 1180

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

  # The type of the peering route.
  module Type
    # Unspecified peering route type. This is the default value.
    TYPE_UNSPECIFIED = 0

    # Dynamic routes in the peer network.
    DYNAMIC_PEERING_ROUTE = 1

    # Static routes in the peer network.
    STATIC_PEERING_ROUTE = 2

    # Created, updated, and removed automatically by Google Cloud when subnets
    # are created, modified, or deleted in the peer network.
    SUBNET_PEERING_ROUTE = 3
  end

  # The direction of the exchanged routes.
  module Direction
    # Unspecified exchanged routes direction. This is default.
    DIRECTION_UNSPECIFIED = 0

    # Routes imported from the peer network.
    INCOMING = 1

    # Routes exported to the peer network.
    OUTGOING = 2
  end
end

#imported::Boolean (readonly)

Returns Output only. True if the peering route has been imported from a peered VPC network; false otherwise. The import happens if the field NetworkPeering.importCustomRoutes is true for this network, NetworkPeering.exportCustomRoutes is true for the peer VPC network, and the import does not result in a route conflict.

Returns:

  • (::Boolean)

    Output only. True if the peering route has been imported from a peered VPC network; false otherwise. The import happens if the field NetworkPeering.importCustomRoutes is true for this network, NetworkPeering.exportCustomRoutes is true for the peer VPC network, and the import does not result in a route conflict.



1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 1180

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

  # The type of the peering route.
  module Type
    # Unspecified peering route type. This is the default value.
    TYPE_UNSPECIFIED = 0

    # Dynamic routes in the peer network.
    DYNAMIC_PEERING_ROUTE = 1

    # Static routes in the peer network.
    STATIC_PEERING_ROUTE = 2

    # Created, updated, and removed automatically by Google Cloud when subnets
    # are created, modified, or deleted in the peer network.
    SUBNET_PEERING_ROUTE = 3
  end

  # The direction of the exchanged routes.
  module Direction
    # Unspecified exchanged routes direction. This is default.
    DIRECTION_UNSPECIFIED = 0

    # Routes imported from the peer network.
    INCOMING = 1

    # Routes exported to the peer network.
    OUTGOING = 2
  end
end

#next_hop_region::String (readonly)

Returns Output only. Region containing the next hop of the peering route. This field only applies to dynamic routes in the peer VPC network.

Returns:

  • (::String)

    Output only. Region containing the next hop of the peering route. This field only applies to dynamic routes in the peer VPC network.



1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 1180

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

  # The type of the peering route.
  module Type
    # Unspecified peering route type. This is the default value.
    TYPE_UNSPECIFIED = 0

    # Dynamic routes in the peer network.
    DYNAMIC_PEERING_ROUTE = 1

    # Static routes in the peer network.
    STATIC_PEERING_ROUTE = 2

    # Created, updated, and removed automatically by Google Cloud when subnets
    # are created, modified, or deleted in the peer network.
    SUBNET_PEERING_ROUTE = 3
  end

  # The direction of the exchanged routes.
  module Direction
    # Unspecified exchanged routes direction. This is default.
    DIRECTION_UNSPECIFIED = 0

    # Routes imported from the peer network.
    INCOMING = 1

    # Routes exported to the peer network.
    OUTGOING = 2
  end
end

#priority::Integer (readonly)

Returns Output only. The priority of the peering route.

Returns:

  • (::Integer)

    Output only. The priority of the peering route.



1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 1180

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

  # The type of the peering route.
  module Type
    # Unspecified peering route type. This is the default value.
    TYPE_UNSPECIFIED = 0

    # Dynamic routes in the peer network.
    DYNAMIC_PEERING_ROUTE = 1

    # Static routes in the peer network.
    STATIC_PEERING_ROUTE = 2

    # Created, updated, and removed automatically by Google Cloud when subnets
    # are created, modified, or deleted in the peer network.
    SUBNET_PEERING_ROUTE = 3
  end

  # The direction of the exchanged routes.
  module Direction
    # Unspecified exchanged routes direction. This is default.
    DIRECTION_UNSPECIFIED = 0

    # Routes imported from the peer network.
    INCOMING = 1

    # Routes exported to the peer network.
    OUTGOING = 2
  end
end

#type::Google::Cloud::VmwareEngine::V1::PeeringRoute::Type (readonly)

Returns Output only. Type of the route in the peer VPC network.

Returns:



1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 1180

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

  # The type of the peering route.
  module Type
    # Unspecified peering route type. This is the default value.
    TYPE_UNSPECIFIED = 0

    # Dynamic routes in the peer network.
    DYNAMIC_PEERING_ROUTE = 1

    # Static routes in the peer network.
    STATIC_PEERING_ROUTE = 2

    # Created, updated, and removed automatically by Google Cloud when subnets
    # are created, modified, or deleted in the peer network.
    SUBNET_PEERING_ROUTE = 3
  end

  # The direction of the exchanged routes.
  module Direction
    # Unspecified exchanged routes direction. This is default.
    DIRECTION_UNSPECIFIED = 0

    # Routes imported from the peer network.
    INCOMING = 1

    # Routes exported to the peer network.
    OUTGOING = 2
  end
end