Reference documentation and code samples for the Compute Engine v1 API enum RouterBgpPeer.Types.ManagementType.
[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.
The BGP peer is automatically created for PARTNER type InterconnectAttachment; Google will automatically create/delete this BGP peer when the PARTNER InterconnectAttachment is created/deleted, and Google will update the ipAddress and peerIpAddress when the PARTNER InterconnectAttachment is provisioned. This type of BGP peer cannot be created or deleted, but can be modified for all fields except for name, ipAddress and peerIpAddress.
ManagedByUser
Default value, the BGP peer is manually created and managed by user.
UndefinedManagementType
A value indicating that the enum field is not set.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e API for the \u003ccode\u003eRouterBgpPeer.Types.ManagementType\u003c/code\u003e is 3.6.0, and there are multiple versions available ranging from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouterBgpPeer.Types.ManagementType\u003c/code\u003e enum defines how a BGP peer is managed, with options including \u003ccode\u003eManagedByAttachment\u003c/code\u003e (managed by Cloud Interconnect), \u003ccode\u003eManagedByUser\u003c/code\u003e (manually managed), and \u003ccode\u003eUndefinedManagementType\u003c/code\u003e (field not set).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eManagedByAttachment\u003c/code\u003e BGP peers are automatically managed by Google when a PARTNER InterconnectAttachment is created or deleted, while \u003ccode\u003eManagedByUser\u003c/code\u003e peers are manually created and managed by the user.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eManagedByAttachment\u003c/code\u003e type cannot be created or deleted manually, but its fields, excluding name, ipAddress and peerIpAddress, can be modified.\u003c/p\u003e\n"]]],[],null,[]]