Struct googapis::google::cloud::compute::v1::RouterBgpPeer[][src]

pub struct RouterBgpPeer {
Show 13 fields pub advertise_mode: Option<String>, pub advertised_groups: Vec<String>, pub advertised_ip_ranges: Vec<RouterAdvertisedIpRange>, pub advertised_route_priority: Option<u32>, pub bfd: Option<RouterBgpPeerBfd>, pub enable: Option<String>, pub interface_name: Option<String>, pub ip_address: Option<String>, pub management_type: Option<String>, pub name: Option<String>, pub peer_asn: Option<u32>, pub peer_ip_address: Option<String>, pub router_appliance_instance: Option<String>,
}
Expand description

Fields

advertise_mode: Option<String>

User-specified flag to indicate which mode to use for advertisement. Check the AdvertiseMode enum for the list of possible values.

advertised_groups: Vec<String>

User-specified list of prefix groups to advertise in custom mode, which can take one of the following options: - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets. - ALL_VPC_SUBNETS: Advertises the router’s own VPC subnets. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the “bgp” message). These groups are 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.

advertised_ip_ranges: Vec<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 overrides the list defined for the router (in the “bgp” message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.

advertised_route_priority: Option<u32>

The priority of routes advertised to this BGP peer. Where there is more than one matching route of maximum length, the routes with the lowest priority value win.

bfd: Option<RouterBgpPeerBfd>

BFD configuration for the BGP peering.

enable: Option<String>

The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE. Check the Enable enum for the list of possible values.

interface_name: Option<String>

Name of the interface the BGP peer is associated with.

ip_address: Option<String>

IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.

management_type: Option<String>

[Output Only] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted. Check the ManagementType enum for the list of possible values.

name: Option<String>

Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression \[a-z]([-a-z0-9]*[a-z0-9\])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

peer_asn: Option<u32>

Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.

peer_ip_address: Option<String>

IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.

router_appliance_instance: Option<String>

URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance must be located in zones contained in the same region as this Cloud Router. The VM instance is the peer side of the BGP session.

Implementations

Returns the value of name, or the default value if name is unset.

Returns the value of peer_asn, or the default value if peer_asn is unset.

Returns the value of management_type, or the default value if management_type is unset.

Returns the value of advertised_route_priority, or the default value if advertised_route_priority is unset.

Returns the value of peer_ip_address, or the default value if peer_ip_address is unset.

Returns the value of enable, or the default value if enable is unset.

Returns the value of advertise_mode, or the default value if advertise_mode is unset.

Returns the value of ip_address, or the default value if ip_address is unset.

Returns the value of interface_name, or the default value if interface_name is unset.

Returns the value of router_appliance_instance, or the default value if router_appliance_instance is unset.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

Encodes the message to a buffer. Read more

Encodes the message to a newly allocated buffer.

Encodes the message with a length-delimiter to a buffer. Read more

Encodes the message with a length-delimiter to a newly allocated buffer.

Decodes an instance of the message from a buffer. Read more

Decodes a length-delimited instance of the message from the buffer.

Decodes an instance of the message from a buffer, and merges it into self. Read more

Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more