Class: Google::Cloud::Compute::V1::RouterBgp

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: AdvertiseMode, AdvertisedGroups

Instance Attribute Summary collapse

Instance Attribute Details

Returns User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. Check the AdvertiseMode enum for the list of possible values.

Returns:

  • (::String)

    User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. Check the AdvertiseMode enum for the list of possible values.



27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27239

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

  # User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM.
  module AdvertiseMode
    # A value indicating that the enum field is not set.
    UNDEFINED_ADVERTISE_MODE = 0

    CUSTOM = 388_595_569

    DEFAULT = 115_302_945
  end

  module AdvertisedGroups
    # A value indicating that the enum field is not set.
    UNDEFINED_ADVERTISED_GROUPS = 0

    # Advertise all available subnets (including peer VPC subnets).
    ALL_SUBNETS = 3_622_872
  end
end

#advertised_groups::Array<::String>

Returns User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. Check the AdvertisedGroups enum for the list of possible values.

Returns:

  • (::Array<::String>)

    User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. Check the AdvertisedGroups enum for the list of possible values.



27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27239

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

  # User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM.
  module AdvertiseMode
    # A value indicating that the enum field is not set.
    UNDEFINED_ADVERTISE_MODE = 0

    CUSTOM = 388_595_569

    DEFAULT = 115_302_945
  end

  module AdvertisedGroups
    # A value indicating that the enum field is not set.
    UNDEFINED_ADVERTISED_GROUPS = 0

    # Advertise all available subnets (including peer VPC subnets).
    ALL_SUBNETS = 3_622_872
  end
end

#advertised_ip_ranges::Array<::Google::Cloud::Compute::V1::RouterAdvertisedIpRange>

Returns User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.

Returns:

  • (::Array<::Google::Cloud::Compute::V1::RouterAdvertisedIpRange>)

    User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.



27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27239

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

  # User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM.
  module AdvertiseMode
    # A value indicating that the enum field is not set.
    UNDEFINED_ADVERTISE_MODE = 0

    CUSTOM = 388_595_569

    DEFAULT = 115_302_945
  end

  module AdvertisedGroups
    # A value indicating that the enum field is not set.
    UNDEFINED_ADVERTISED_GROUPS = 0

    # Advertise all available subnets (including peer VPC subnets).
    ALL_SUBNETS = 3_622_872
  end
end

#asn::Integer

Returns Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.

Returns:

  • (::Integer)

    Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.



27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27239

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

  # User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM.
  module AdvertiseMode
    # A value indicating that the enum field is not set.
    UNDEFINED_ADVERTISE_MODE = 0

    CUSTOM = 388_595_569

    DEFAULT = 115_302_945
  end

  module AdvertisedGroups
    # A value indicating that the enum field is not set.
    UNDEFINED_ADVERTISED_GROUPS = 0

    # Advertise all available subnets (including peer VPC subnets).
    ALL_SUBNETS = 3_622_872
  end
end

#identifier_range::String

Returns Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".

Returns:

  • (::String)

    Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".



27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27239

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

  # User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM.
  module AdvertiseMode
    # A value indicating that the enum field is not set.
    UNDEFINED_ADVERTISE_MODE = 0

    CUSTOM = 388_595_569

    DEFAULT = 115_302_945
  end

  module AdvertisedGroups
    # A value indicating that the enum field is not set.
    UNDEFINED_ADVERTISED_GROUPS = 0

    # Advertise all available subnets (including peer VPC subnets).
    ALL_SUBNETS = 3_622_872
  end
end

#keepalive_interval::Integer

Returns The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.

Returns:

  • (::Integer)

    The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.



27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27239

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

  # User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM.
  module AdvertiseMode
    # A value indicating that the enum field is not set.
    UNDEFINED_ADVERTISE_MODE = 0

    CUSTOM = 388_595_569

    DEFAULT = 115_302_945
  end

  module AdvertisedGroups
    # A value indicating that the enum field is not set.
    UNDEFINED_ADVERTISED_GROUPS = 0

    # Advertise all available subnets (including peer VPC subnets).
    ALL_SUBNETS = 3_622_872
  end
end