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.



528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 528

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.


528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 528

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.



528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 528

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.



528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 528

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.



528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 528

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:



528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 528

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