Constants
EdgeNetwork_InitializeZone_FullMethodName, EdgeNetwork_ListZones_FullMethodName, EdgeNetwork_GetZone_FullMethodName, EdgeNetwork_ListNetworks_FullMethodName, EdgeNetwork_GetNetwork_FullMethodName, EdgeNetwork_DiagnoseNetwork_FullMethodName, EdgeNetwork_CreateNetwork_FullMethodName, EdgeNetwork_DeleteNetwork_FullMethodName, EdgeNetwork_ListSubnets_FullMethodName, EdgeNetwork_GetSubnet_FullMethodName, EdgeNetwork_CreateSubnet_FullMethodName, EdgeNetwork_UpdateSubnet_FullMethodName, EdgeNetwork_DeleteSubnet_FullMethodName, EdgeNetwork_ListInterconnects_FullMethodName, EdgeNetwork_GetInterconnect_FullMethodName, EdgeNetwork_DiagnoseInterconnect_FullMethodName, EdgeNetwork_ListInterconnectAttachments_FullMethodName, EdgeNetwork_GetInterconnectAttachment_FullMethodName, EdgeNetwork_CreateInterconnectAttachment_FullMethodName, EdgeNetwork_DeleteInterconnectAttachment_FullMethodName, EdgeNetwork_ListRouters_FullMethodName, EdgeNetwork_GetRouter_FullMethodName, EdgeNetwork_DiagnoseRouter_FullMethodName, EdgeNetwork_CreateRouter_FullMethodName, EdgeNetwork_UpdateRouter_FullMethodName, EdgeNetwork_DeleteRouter_FullMethodName
const (
EdgeNetwork_InitializeZone_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/InitializeZone"
EdgeNetwork_ListZones_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/ListZones"
EdgeNetwork_GetZone_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/GetZone"
EdgeNetwork_ListNetworks_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/ListNetworks"
EdgeNetwork_GetNetwork_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/GetNetwork"
EdgeNetwork_DiagnoseNetwork_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/DiagnoseNetwork"
EdgeNetwork_CreateNetwork_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/CreateNetwork"
EdgeNetwork_DeleteNetwork_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/DeleteNetwork"
EdgeNetwork_ListSubnets_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/ListSubnets"
EdgeNetwork_GetSubnet_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/GetSubnet"
EdgeNetwork_CreateSubnet_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/CreateSubnet"
EdgeNetwork_UpdateSubnet_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/UpdateSubnet"
EdgeNetwork_DeleteSubnet_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/DeleteSubnet"
EdgeNetwork_ListInterconnects_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/ListInterconnects"
EdgeNetwork_GetInterconnect_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/GetInterconnect"
EdgeNetwork_DiagnoseInterconnect_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/DiagnoseInterconnect"
EdgeNetwork_ListInterconnectAttachments_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/ListInterconnectAttachments"
EdgeNetwork_GetInterconnectAttachment_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/GetInterconnectAttachment"
EdgeNetwork_CreateInterconnectAttachment_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/CreateInterconnectAttachment"
EdgeNetwork_DeleteInterconnectAttachment_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/DeleteInterconnectAttachment"
EdgeNetwork_ListRouters_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/ListRouters"
EdgeNetwork_GetRouter_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/GetRouter"
EdgeNetwork_DiagnoseRouter_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/DiagnoseRouter"
EdgeNetwork_CreateRouter_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/CreateRouter"
EdgeNetwork_UpdateRouter_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/UpdateRouter"
EdgeNetwork_DeleteRouter_FullMethodName = "/google.cloud.edgenetwork.v1.EdgeNetwork/DeleteRouter"
)Variables
ResourceState_name, ResourceState_value
var (
ResourceState_name = map[int32]string{
0: "STATE_UNKNOWN",
1: "STATE_PENDING",
2: "STATE_PROVISIONING",
3: "STATE_RUNNING",
4: "STATE_SUSPENDED",
5: "STATE_DELETING",
}
ResourceState_value = map[string]int32{
"STATE_UNKNOWN": 0,
"STATE_PENDING": 1,
"STATE_PROVISIONING": 2,
"STATE_RUNNING": 3,
"STATE_SUSPENDED": 4,
"STATE_DELETING": 5,
}
)Enum value maps for ResourceState.
RemotePeeringNetworkType_name, RemotePeeringNetworkType_value
var (
RemotePeeringNetworkType_name = map[int32]string{
0: "REMOTE_PEERING_NETWORK_TYPE_UNSPECIFIED",
1: "REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNAL",
2: "REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNET",
}
RemotePeeringNetworkType_value = map[string]int32{
"REMOTE_PEERING_NETWORK_TYPE_UNSPECIFIED": 0,
"REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNAL": 1,
"REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNET": 2,
}
)Enum value maps for RemotePeeringNetworkType.
Subnet_BondingType_name, Subnet_BondingType_value
var (
Subnet_BondingType_name = map[int32]string{
0: "BONDING_TYPE_UNSPECIFIED",
1: "BONDED",
2: "NON_BONDED",
}
Subnet_BondingType_value = map[string]int32{
"BONDING_TYPE_UNSPECIFIED": 0,
"BONDED": 1,
"NON_BONDED": 2,
}
)Enum value maps for Subnet_BondingType.
Interconnect_InterconnectType_name, Interconnect_InterconnectType_value
var (
Interconnect_InterconnectType_name = map[int32]string{
0: "INTERCONNECT_TYPE_UNSPECIFIED",
1: "DEDICATED",
}
Interconnect_InterconnectType_value = map[string]int32{
"INTERCONNECT_TYPE_UNSPECIFIED": 0,
"DEDICATED": 1,
}
)Enum value maps for Interconnect_InterconnectType.
InterconnectDiagnostics_LinkLACPStatus_State_name, InterconnectDiagnostics_LinkLACPStatus_State_value
var (
InterconnectDiagnostics_LinkLACPStatus_State_name = map[int32]string{
0: "UNKNOWN",
1: "ACTIVE",
2: "DETACHED",
}
InterconnectDiagnostics_LinkLACPStatus_State_value = map[string]int32{
"UNKNOWN": 0,
"ACTIVE": 1,
"DETACHED": 2,
}
)Enum value maps for InterconnectDiagnostics_LinkLACPStatus_State.
RouterStatus_BgpPeerStatus_BgpStatus_name, RouterStatus_BgpPeerStatus_BgpStatus_value
var (
RouterStatus_BgpPeerStatus_BgpStatus_name = map[int32]string{
0: "UNKNOWN",
1: "UP",
2: "DOWN",
}
RouterStatus_BgpPeerStatus_BgpStatus_value = map[string]int32{
"UNKNOWN": 0,
"UP": 1,
"DOWN": 2,
}
)Enum value maps for RouterStatus_BgpPeerStatus_BgpStatus.
DiagnoseNetworkResponse_NetworkStatus_MacsecStatus_name, DiagnoseNetworkResponse_NetworkStatus_MacsecStatus_value
var (
DiagnoseNetworkResponse_NetworkStatus_MacsecStatus_name = map[int32]string{
0: "MACSEC_STATUS_UNSPECIFIED",
1: "SECURE",
2: "UNSECURE",
}
DiagnoseNetworkResponse_NetworkStatus_MacsecStatus_value = map[string]int32{
"MACSEC_STATUS_UNSPECIFIED": 0,
"SECURE": 1,
"UNSECURE": 2,
}
)Enum value maps for DiagnoseNetworkResponse_NetworkStatus_MacsecStatus.
EdgeNetwork_ServiceDesc
var EdgeNetwork_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.edgenetwork.v1.EdgeNetwork",
HandlerType: (*EdgeNetworkServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "InitializeZone",
Handler: _EdgeNetwork_InitializeZone_Handler,
},
{
MethodName: "ListZones",
Handler: _EdgeNetwork_ListZones_Handler,
},
{
MethodName: "GetZone",
Handler: _EdgeNetwork_GetZone_Handler,
},
{
MethodName: "ListNetworks",
Handler: _EdgeNetwork_ListNetworks_Handler,
},
{
MethodName: "GetNetwork",
Handler: _EdgeNetwork_GetNetwork_Handler,
},
{
MethodName: "DiagnoseNetwork",
Handler: _EdgeNetwork_DiagnoseNetwork_Handler,
},
{
MethodName: "CreateNetwork",
Handler: _EdgeNetwork_CreateNetwork_Handler,
},
{
MethodName: "DeleteNetwork",
Handler: _EdgeNetwork_DeleteNetwork_Handler,
},
{
MethodName: "ListSubnets",
Handler: _EdgeNetwork_ListSubnets_Handler,
},
{
MethodName: "GetSubnet",
Handler: _EdgeNetwork_GetSubnet_Handler,
},
{
MethodName: "CreateSubnet",
Handler: _EdgeNetwork_CreateSubnet_Handler,
},
{
MethodName: "UpdateSubnet",
Handler: _EdgeNetwork_UpdateSubnet_Handler,
},
{
MethodName: "DeleteSubnet",
Handler: _EdgeNetwork_DeleteSubnet_Handler,
},
{
MethodName: "ListInterconnects",
Handler: _EdgeNetwork_ListInterconnects_Handler,
},
{
MethodName: "GetInterconnect",
Handler: _EdgeNetwork_GetInterconnect_Handler,
},
{
MethodName: "DiagnoseInterconnect",
Handler: _EdgeNetwork_DiagnoseInterconnect_Handler,
},
{
MethodName: "ListInterconnectAttachments",
Handler: _EdgeNetwork_ListInterconnectAttachments_Handler,
},
{
MethodName: "GetInterconnectAttachment",
Handler: _EdgeNetwork_GetInterconnectAttachment_Handler,
},
{
MethodName: "CreateInterconnectAttachment",
Handler: _EdgeNetwork_CreateInterconnectAttachment_Handler,
},
{
MethodName: "DeleteInterconnectAttachment",
Handler: _EdgeNetwork_DeleteInterconnectAttachment_Handler,
},
{
MethodName: "ListRouters",
Handler: _EdgeNetwork_ListRouters_Handler,
},
{
MethodName: "GetRouter",
Handler: _EdgeNetwork_GetRouter_Handler,
},
{
MethodName: "DiagnoseRouter",
Handler: _EdgeNetwork_DiagnoseRouter_Handler,
},
{
MethodName: "CreateRouter",
Handler: _EdgeNetwork_CreateRouter_Handler,
},
{
MethodName: "UpdateRouter",
Handler: _EdgeNetwork_UpdateRouter_Handler,
},
{
MethodName: "DeleteRouter",
Handler: _EdgeNetwork_DeleteRouter_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/edgenetwork/v1/service.proto",
}EdgeNetwork_ServiceDesc is the grpc.ServiceDesc for EdgeNetwork service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_edgenetwork_v1_resources_proto
var File_google_cloud_edgenetwork_v1_resources_proto protoreflect.FileDescriptorFile_google_cloud_edgenetwork_v1_service_proto
var File_google_cloud_edgenetwork_v1_service_proto protoreflect.FileDescriptorFunctions
func RegisterEdgeNetworkServer
func RegisterEdgeNetworkServer(s grpc.ServiceRegistrar, srv EdgeNetworkServer)CreateInterconnectAttachmentRequest
type CreateInterconnectAttachmentRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object
// If auto-generating Id server-side, remove this field and
// interconnect_attachment_id from the method_signature of Create RPC
InterconnectAttachmentId string `protobuf:"bytes,2,opt,name=interconnect_attachment_id,json=interconnectAttachmentId,proto3" json:"interconnect_attachment_id,omitempty"`
// Required. The resource being created
InterconnectAttachment *InterconnectAttachment `protobuf:"bytes,3,opt,name=interconnect_attachment,json=interconnectAttachment,proto3" json:"interconnect_attachment,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a InterconnectAttachment
func (*CreateInterconnectAttachmentRequest) Descriptor
func (*CreateInterconnectAttachmentRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateInterconnectAttachmentRequest.ProtoReflect.Descriptor instead.
func (*CreateInterconnectAttachmentRequest) GetInterconnectAttachment
func (x *CreateInterconnectAttachmentRequest) GetInterconnectAttachment() *InterconnectAttachmentfunc (*CreateInterconnectAttachmentRequest) GetInterconnectAttachmentId
func (x *CreateInterconnectAttachmentRequest) GetInterconnectAttachmentId() stringfunc (*CreateInterconnectAttachmentRequest) GetParent
func (x *CreateInterconnectAttachmentRequest) GetParent() stringfunc (*CreateInterconnectAttachmentRequest) GetRequestId
func (x *CreateInterconnectAttachmentRequest) GetRequestId() stringfunc (*CreateInterconnectAttachmentRequest) ProtoMessage
func (*CreateInterconnectAttachmentRequest) ProtoMessage()func (*CreateInterconnectAttachmentRequest) ProtoReflect
func (x *CreateInterconnectAttachmentRequest) ProtoReflect() protoreflect.Messagefunc (*CreateInterconnectAttachmentRequest) Reset
func (x *CreateInterconnectAttachmentRequest) Reset()func (*CreateInterconnectAttachmentRequest) String
func (x *CreateInterconnectAttachmentRequest) String() stringCreateNetworkRequest
type CreateNetworkRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object
// If auto-generating Id server-side, remove this field and
// network_id from the method_signature of Create RPC
NetworkId string `protobuf:"bytes,2,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
// Required. The resource being created
Network *Network `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a Network
func (*CreateNetworkRequest) Descriptor
func (*CreateNetworkRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateNetworkRequest.ProtoReflect.Descriptor instead.
func (*CreateNetworkRequest) GetNetwork
func (x *CreateNetworkRequest) GetNetwork() *Networkfunc (*CreateNetworkRequest) GetNetworkId
func (x *CreateNetworkRequest) GetNetworkId() stringfunc (*CreateNetworkRequest) GetParent
func (x *CreateNetworkRequest) GetParent() stringfunc (*CreateNetworkRequest) GetRequestId
func (x *CreateNetworkRequest) GetRequestId() stringfunc (*CreateNetworkRequest) ProtoMessage
func (*CreateNetworkRequest) ProtoMessage()func (*CreateNetworkRequest) ProtoReflect
func (x *CreateNetworkRequest) ProtoReflect() protoreflect.Messagefunc (*CreateNetworkRequest) Reset
func (x *CreateNetworkRequest) Reset()func (*CreateNetworkRequest) String
func (x *CreateNetworkRequest) String() stringCreateRouterRequest
type CreateRouterRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object
// If auto-generating Id server-side, remove this field and
// router_id from the method_signature of Create RPC
RouterId string `protobuf:"bytes,2,opt,name=router_id,json=routerId,proto3" json:"router_id,omitempty"`
// Required. The resource being created
Router *Router `protobuf:"bytes,3,opt,name=router,proto3" json:"router,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a Router
func (*CreateRouterRequest) Descriptor
func (*CreateRouterRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateRouterRequest.ProtoReflect.Descriptor instead.
func (*CreateRouterRequest) GetParent
func (x *CreateRouterRequest) GetParent() stringfunc (*CreateRouterRequest) GetRequestId
func (x *CreateRouterRequest) GetRequestId() stringfunc (*CreateRouterRequest) GetRouter
func (x *CreateRouterRequest) GetRouter() *Routerfunc (*CreateRouterRequest) GetRouterId
func (x *CreateRouterRequest) GetRouterId() stringfunc (*CreateRouterRequest) ProtoMessage
func (*CreateRouterRequest) ProtoMessage()func (*CreateRouterRequest) ProtoReflect
func (x *CreateRouterRequest) ProtoReflect() protoreflect.Messagefunc (*CreateRouterRequest) Reset
func (x *CreateRouterRequest) Reset()func (*CreateRouterRequest) String
func (x *CreateRouterRequest) String() stringCreateSubnetRequest
type CreateSubnetRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object
// If auto-generating Id server-side, remove this field and
// subnet_id from the method_signature of Create RPC
SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
// Required. The resource being created
Subnet *Subnet `protobuf:"bytes,3,opt,name=subnet,proto3" json:"subnet,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a Subnet
func (*CreateSubnetRequest) Descriptor
func (*CreateSubnetRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateSubnetRequest.ProtoReflect.Descriptor instead.
func (*CreateSubnetRequest) GetParent
func (x *CreateSubnetRequest) GetParent() stringfunc (*CreateSubnetRequest) GetRequestId
func (x *CreateSubnetRequest) GetRequestId() stringfunc (*CreateSubnetRequest) GetSubnet
func (x *CreateSubnetRequest) GetSubnet() *Subnetfunc (*CreateSubnetRequest) GetSubnetId
func (x *CreateSubnetRequest) GetSubnetId() stringfunc (*CreateSubnetRequest) ProtoMessage
func (*CreateSubnetRequest) ProtoMessage()func (*CreateSubnetRequest) ProtoReflect
func (x *CreateSubnetRequest) ProtoReflect() protoreflect.Messagefunc (*CreateSubnetRequest) Reset
func (x *CreateSubnetRequest) Reset()func (*CreateSubnetRequest) String
func (x *CreateSubnetRequest) String() stringDeleteInterconnectAttachmentRequest
type DeleteInterconnectAttachmentRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a InterconnectAttachment
func (*DeleteInterconnectAttachmentRequest) Descriptor
func (*DeleteInterconnectAttachmentRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteInterconnectAttachmentRequest.ProtoReflect.Descriptor instead.
func (*DeleteInterconnectAttachmentRequest) GetName
func (x *DeleteInterconnectAttachmentRequest) GetName() stringfunc (*DeleteInterconnectAttachmentRequest) GetRequestId
func (x *DeleteInterconnectAttachmentRequest) GetRequestId() stringfunc (*DeleteInterconnectAttachmentRequest) ProtoMessage
func (*DeleteInterconnectAttachmentRequest) ProtoMessage()func (*DeleteInterconnectAttachmentRequest) ProtoReflect
func (x *DeleteInterconnectAttachmentRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteInterconnectAttachmentRequest) Reset
func (x *DeleteInterconnectAttachmentRequest) Reset()func (*DeleteInterconnectAttachmentRequest) String
func (x *DeleteInterconnectAttachmentRequest) String() stringDeleteNetworkRequest
type DeleteNetworkRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a Network
func (*DeleteNetworkRequest) Descriptor
func (*DeleteNetworkRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteNetworkRequest.ProtoReflect.Descriptor instead.
func (*DeleteNetworkRequest) GetName
func (x *DeleteNetworkRequest) GetName() stringfunc (*DeleteNetworkRequest) GetRequestId
func (x *DeleteNetworkRequest) GetRequestId() stringfunc (*DeleteNetworkRequest) ProtoMessage
func (*DeleteNetworkRequest) ProtoMessage()func (*DeleteNetworkRequest) ProtoReflect
func (x *DeleteNetworkRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteNetworkRequest) Reset
func (x *DeleteNetworkRequest) Reset()func (*DeleteNetworkRequest) String
func (x *DeleteNetworkRequest) String() stringDeleteRouterRequest
type DeleteRouterRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a Router
func (*DeleteRouterRequest) Descriptor
func (*DeleteRouterRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteRouterRequest.ProtoReflect.Descriptor instead.
func (*DeleteRouterRequest) GetName
func (x *DeleteRouterRequest) GetName() stringfunc (*DeleteRouterRequest) GetRequestId
func (x *DeleteRouterRequest) GetRequestId() stringfunc (*DeleteRouterRequest) ProtoMessage
func (*DeleteRouterRequest) ProtoMessage()func (*DeleteRouterRequest) ProtoReflect
func (x *DeleteRouterRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteRouterRequest) Reset
func (x *DeleteRouterRequest) Reset()func (*DeleteRouterRequest) String
func (x *DeleteRouterRequest) String() stringDeleteSubnetRequest
type DeleteSubnetRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a Subnet
func (*DeleteSubnetRequest) Descriptor
func (*DeleteSubnetRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteSubnetRequest.ProtoReflect.Descriptor instead.
func (*DeleteSubnetRequest) GetName
func (x *DeleteSubnetRequest) GetName() stringfunc (*DeleteSubnetRequest) GetRequestId
func (x *DeleteSubnetRequest) GetRequestId() stringfunc (*DeleteSubnetRequest) ProtoMessage
func (*DeleteSubnetRequest) ProtoMessage()func (*DeleteSubnetRequest) ProtoReflect
func (x *DeleteSubnetRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSubnetRequest) Reset
func (x *DeleteSubnetRequest) Reset()func (*DeleteSubnetRequest) String
func (x *DeleteSubnetRequest) String() stringDiagnoseInterconnectRequest
type DiagnoseInterconnectRequest struct {
// Required. The name of the interconnect resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for requesting the diagnostics of an interconnect within a specific zone.
func (*DiagnoseInterconnectRequest) Descriptor
func (*DiagnoseInterconnectRequest) Descriptor() ([]byte, []int)Deprecated: Use DiagnoseInterconnectRequest.ProtoReflect.Descriptor instead.
func (*DiagnoseInterconnectRequest) GetName
func (x *DiagnoseInterconnectRequest) GetName() stringfunc (*DiagnoseInterconnectRequest) ProtoMessage
func (*DiagnoseInterconnectRequest) ProtoMessage()func (*DiagnoseInterconnectRequest) ProtoReflect
func (x *DiagnoseInterconnectRequest) ProtoReflect() protoreflect.Messagefunc (*DiagnoseInterconnectRequest) Reset
func (x *DiagnoseInterconnectRequest) Reset()func (*DiagnoseInterconnectRequest) String
func (x *DiagnoseInterconnectRequest) String() stringDiagnoseInterconnectResponse
type DiagnoseInterconnectResponse struct {
// The time when the interconnect diagnostics was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The network status of a specific interconnect.
Result *InterconnectDiagnostics `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}DiagnoseInterconnectResponse contains the current diagnostics for a specific interconnect.
func (*DiagnoseInterconnectResponse) Descriptor
func (*DiagnoseInterconnectResponse) Descriptor() ([]byte, []int)Deprecated: Use DiagnoseInterconnectResponse.ProtoReflect.Descriptor instead.
func (*DiagnoseInterconnectResponse) GetResult
func (x *DiagnoseInterconnectResponse) GetResult() *InterconnectDiagnosticsfunc (*DiagnoseInterconnectResponse) GetUpdateTime
func (x *DiagnoseInterconnectResponse) GetUpdateTime() *timestamppb.Timestampfunc (*DiagnoseInterconnectResponse) ProtoMessage
func (*DiagnoseInterconnectResponse) ProtoMessage()func (*DiagnoseInterconnectResponse) ProtoReflect
func (x *DiagnoseInterconnectResponse) ProtoReflect() protoreflect.Messagefunc (*DiagnoseInterconnectResponse) Reset
func (x *DiagnoseInterconnectResponse) Reset()func (*DiagnoseInterconnectResponse) String
func (x *DiagnoseInterconnectResponse) String() stringDiagnoseNetworkRequest
type DiagnoseNetworkRequest struct {
// Required. The name of the network resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for requesting the diagnostics of a network within a specific zone.
func (*DiagnoseNetworkRequest) Descriptor
func (*DiagnoseNetworkRequest) Descriptor() ([]byte, []int)Deprecated: Use DiagnoseNetworkRequest.ProtoReflect.Descriptor instead.
func (*DiagnoseNetworkRequest) GetName
func (x *DiagnoseNetworkRequest) GetName() stringfunc (*DiagnoseNetworkRequest) ProtoMessage
func (*DiagnoseNetworkRequest) ProtoMessage()func (*DiagnoseNetworkRequest) ProtoReflect
func (x *DiagnoseNetworkRequest) ProtoReflect() protoreflect.Messagefunc (*DiagnoseNetworkRequest) Reset
func (x *DiagnoseNetworkRequest) Reset()func (*DiagnoseNetworkRequest) String
func (x *DiagnoseNetworkRequest) String() stringDiagnoseNetworkResponse
type DiagnoseNetworkResponse struct {
// The time when the network status was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The network status of a specific network.
Result *DiagnoseNetworkResponse_NetworkStatus `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}DiagnoseNetworkResponse contains the current status for a specific network.
func (*DiagnoseNetworkResponse) Descriptor
func (*DiagnoseNetworkResponse) Descriptor() ([]byte, []int)Deprecated: Use DiagnoseNetworkResponse.ProtoReflect.Descriptor instead.
func (*DiagnoseNetworkResponse) GetResult
func (x *DiagnoseNetworkResponse) GetResult() *DiagnoseNetworkResponse_NetworkStatusfunc (*DiagnoseNetworkResponse) GetUpdateTime
func (x *DiagnoseNetworkResponse) GetUpdateTime() *timestamppb.Timestampfunc (*DiagnoseNetworkResponse) ProtoMessage
func (*DiagnoseNetworkResponse) ProtoMessage()func (*DiagnoseNetworkResponse) ProtoReflect
func (x *DiagnoseNetworkResponse) ProtoReflect() protoreflect.Messagefunc (*DiagnoseNetworkResponse) Reset
func (x *DiagnoseNetworkResponse) Reset()func (*DiagnoseNetworkResponse) String
func (x *DiagnoseNetworkResponse) String() stringDiagnoseNetworkResponse_NetworkStatus
type DiagnoseNetworkResponse_NetworkStatus struct {
// A list of status for the subnets under the current network.
SubnetStatus []*SubnetStatus `protobuf:"bytes,1,rep,name=subnet_status,json=subnetStatus,proto3" json:"subnet_status,omitempty"`
// The MACsec status of internal links.
MacsecStatusInternalLinks DiagnoseNetworkResponse_NetworkStatus_MacsecStatus `protobuf:"varint,2,opt,name=macsec_status_internal_links,json=macsecStatusInternalLinks,proto3,enum=google.cloud.edgenetwork.v1.DiagnoseNetworkResponse_NetworkStatus_MacsecStatus" json:"macsec_status_internal_links,omitempty"`
// contains filtered or unexported fields
}NetworkStatus has a list of status for the subnets under the current network.
func (*DiagnoseNetworkResponse_NetworkStatus) Descriptor
func (*DiagnoseNetworkResponse_NetworkStatus) Descriptor() ([]byte, []int)Deprecated: Use DiagnoseNetworkResponse_NetworkStatus.ProtoReflect.Descriptor instead.
func (*DiagnoseNetworkResponse_NetworkStatus) GetMacsecStatusInternalLinks
func (x *DiagnoseNetworkResponse_NetworkStatus) GetMacsecStatusInternalLinks() DiagnoseNetworkResponse_NetworkStatus_MacsecStatusfunc (*DiagnoseNetworkResponse_NetworkStatus) GetSubnetStatus
func (x *DiagnoseNetworkResponse_NetworkStatus) GetSubnetStatus() []*SubnetStatusfunc (*DiagnoseNetworkResponse_NetworkStatus) ProtoMessage
func (*DiagnoseNetworkResponse_NetworkStatus) ProtoMessage()func (*DiagnoseNetworkResponse_NetworkStatus) ProtoReflect
func (x *DiagnoseNetworkResponse_NetworkStatus) ProtoReflect() protoreflect.Messagefunc (*DiagnoseNetworkResponse_NetworkStatus) Reset
func (x *DiagnoseNetworkResponse_NetworkStatus) Reset()func (*DiagnoseNetworkResponse_NetworkStatus) String
func (x *DiagnoseNetworkResponse_NetworkStatus) String() stringDiagnoseNetworkResponse_NetworkStatus_MacsecStatus
type DiagnoseNetworkResponse_NetworkStatus_MacsecStatus int32Denotes the status of MACsec sessions for the links of a zone.
DiagnoseNetworkResponse_NetworkStatus_MACSEC_STATUS_UNSPECIFIED, DiagnoseNetworkResponse_NetworkStatus_SECURE, DiagnoseNetworkResponse_NetworkStatus_UNSECURE
const (
// MACsec status not specified, likely due to missing metrics.
DiagnoseNetworkResponse_NetworkStatus_MACSEC_STATUS_UNSPECIFIED DiagnoseNetworkResponse_NetworkStatus_MacsecStatus = 0
// All relevant links have at least one MACsec session up.
DiagnoseNetworkResponse_NetworkStatus_SECURE DiagnoseNetworkResponse_NetworkStatus_MacsecStatus = 1
// At least one relevant link does not have any MACsec sessions up.
DiagnoseNetworkResponse_NetworkStatus_UNSECURE DiagnoseNetworkResponse_NetworkStatus_MacsecStatus = 2
)func (DiagnoseNetworkResponse_NetworkStatus_MacsecStatus) Descriptor
func (DiagnoseNetworkResponse_NetworkStatus_MacsecStatus) Descriptor() protoreflect.EnumDescriptorfunc (DiagnoseNetworkResponse_NetworkStatus_MacsecStatus) Enum
func (x DiagnoseNetworkResponse_NetworkStatus_MacsecStatus) Enum() *DiagnoseNetworkResponse_NetworkStatus_MacsecStatusfunc (DiagnoseNetworkResponse_NetworkStatus_MacsecStatus) EnumDescriptor
func (DiagnoseNetworkResponse_NetworkStatus_MacsecStatus) EnumDescriptor() ([]byte, []int)Deprecated: Use DiagnoseNetworkResponse_NetworkStatus_MacsecStatus.Descriptor instead.
func (DiagnoseNetworkResponse_NetworkStatus_MacsecStatus) Number
func (x DiagnoseNetworkResponse_NetworkStatus_MacsecStatus) Number() protoreflect.EnumNumberfunc (DiagnoseNetworkResponse_NetworkStatus_MacsecStatus) String
func (x DiagnoseNetworkResponse_NetworkStatus_MacsecStatus) String() stringfunc (DiagnoseNetworkResponse_NetworkStatus_MacsecStatus) Type
DiagnoseRouterRequest
type DiagnoseRouterRequest struct {
// Required. The name of the router resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for requesting diagnostics of a router within a specific zone.
func (*DiagnoseRouterRequest) Descriptor
func (*DiagnoseRouterRequest) Descriptor() ([]byte, []int)Deprecated: Use DiagnoseRouterRequest.ProtoReflect.Descriptor instead.
func (*DiagnoseRouterRequest) GetName
func (x *DiagnoseRouterRequest) GetName() stringfunc (*DiagnoseRouterRequest) ProtoMessage
func (*DiagnoseRouterRequest) ProtoMessage()func (*DiagnoseRouterRequest) ProtoReflect
func (x *DiagnoseRouterRequest) ProtoReflect() protoreflect.Messagefunc (*DiagnoseRouterRequest) Reset
func (x *DiagnoseRouterRequest) Reset()func (*DiagnoseRouterRequest) String
func (x *DiagnoseRouterRequest) String() stringDiagnoseRouterResponse
type DiagnoseRouterResponse struct {
// The time when the router status was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The network status of a specific router.
Result *RouterStatus `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}DiagnoseRouterResponse contains the current status for a specific router.
func (*DiagnoseRouterResponse) Descriptor
func (*DiagnoseRouterResponse) Descriptor() ([]byte, []int)Deprecated: Use DiagnoseRouterResponse.ProtoReflect.Descriptor instead.
func (*DiagnoseRouterResponse) GetResult
func (x *DiagnoseRouterResponse) GetResult() *RouterStatusfunc (*DiagnoseRouterResponse) GetUpdateTime
func (x *DiagnoseRouterResponse) GetUpdateTime() *timestamppb.Timestampfunc (*DiagnoseRouterResponse) ProtoMessage
func (*DiagnoseRouterResponse) ProtoMessage()func (*DiagnoseRouterResponse) ProtoReflect
func (x *DiagnoseRouterResponse) ProtoReflect() protoreflect.Messagefunc (*DiagnoseRouterResponse) Reset
func (x *DiagnoseRouterResponse) Reset()func (*DiagnoseRouterResponse) String
func (x *DiagnoseRouterResponse) String() stringEdgeNetworkClient
type EdgeNetworkClient interface {
// InitializeZone will initialize resources for a zone in a project.
InitializeZone(ctx context.Context, in *InitializeZoneRequest, opts ...grpc.CallOption) (*InitializeZoneResponse, error)
// Deprecated: Do not use.
// Deprecated: not implemented.
// Lists Zones in a given project and location.
ListZones(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ListZonesResponse, error)
// Deprecated: Do not use.
// Deprecated: not implemented.
// Gets details of a single Zone.
GetZone(ctx context.Context, in *GetZoneRequest, opts ...grpc.CallOption) (*Zone, error)
// Lists Networks in a given project and location.
ListNetworks(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*ListNetworksResponse, error)
// Gets details of a single Network.
GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*Network, error)
// Get the diagnostics of a single network resource.
DiagnoseNetwork(ctx context.Context, in *DiagnoseNetworkRequest, opts ...grpc.CallOption) (*DiagnoseNetworkResponse, error)
// Creates a new Network in a given project and location.
CreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Network.
DeleteNetwork(ctx context.Context, in *DeleteNetworkRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Subnets in a given project and location.
ListSubnets(ctx context.Context, in *ListSubnetsRequest, opts ...grpc.CallOption) (*ListSubnetsResponse, error)
// Gets details of a single Subnet.
GetSubnet(ctx context.Context, in *GetSubnetRequest, opts ...grpc.CallOption) (*Subnet, error)
// Creates a new Subnet in a given project and location.
CreateSubnet(ctx context.Context, in *CreateSubnetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Subnet.
UpdateSubnet(ctx context.Context, in *UpdateSubnetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Subnet.
DeleteSubnet(ctx context.Context, in *DeleteSubnetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Interconnects in a given project and location.
ListInterconnects(ctx context.Context, in *ListInterconnectsRequest, opts ...grpc.CallOption) (*ListInterconnectsResponse, error)
// Gets details of a single Interconnect.
GetInterconnect(ctx context.Context, in *GetInterconnectRequest, opts ...grpc.CallOption) (*Interconnect, error)
// Get the diagnostics of a single interconnect resource.
DiagnoseInterconnect(ctx context.Context, in *DiagnoseInterconnectRequest, opts ...grpc.CallOption) (*DiagnoseInterconnectResponse, error)
// Lists InterconnectAttachments in a given project and location.
ListInterconnectAttachments(ctx context.Context, in *ListInterconnectAttachmentsRequest, opts ...grpc.CallOption) (*ListInterconnectAttachmentsResponse, error)
// Gets details of a single InterconnectAttachment.
GetInterconnectAttachment(ctx context.Context, in *GetInterconnectAttachmentRequest, opts ...grpc.CallOption) (*InterconnectAttachment, error)
// Creates a new InterconnectAttachment in a given project and location.
CreateInterconnectAttachment(ctx context.Context, in *CreateInterconnectAttachmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single InterconnectAttachment.
DeleteInterconnectAttachment(ctx context.Context, in *DeleteInterconnectAttachmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Routers in a given project and location.
ListRouters(ctx context.Context, in *ListRoutersRequest, opts ...grpc.CallOption) (*ListRoutersResponse, error)
// Gets details of a single Router.
GetRouter(ctx context.Context, in *GetRouterRequest, opts ...grpc.CallOption) (*Router, error)
// Get the diagnostics of a single router resource.
DiagnoseRouter(ctx context.Context, in *DiagnoseRouterRequest, opts ...grpc.CallOption) (*DiagnoseRouterResponse, error)
// Creates a new Router in a given project and location.
CreateRouter(ctx context.Context, in *CreateRouterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Router.
UpdateRouter(ctx context.Context, in *UpdateRouterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Router.
DeleteRouter(ctx context.Context, in *DeleteRouterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}EdgeNetworkClient is the client API for EdgeNetwork service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewEdgeNetworkClient
func NewEdgeNetworkClient(cc grpc.ClientConnInterface) EdgeNetworkClientEdgeNetworkServer
type EdgeNetworkServer interface {
// InitializeZone will initialize resources for a zone in a project.
InitializeZone(context.Context, *InitializeZoneRequest) (*InitializeZoneResponse, error)
// Deprecated: Do not use.
// Deprecated: not implemented.
// Lists Zones in a given project and location.
ListZones(context.Context, *ListZonesRequest) (*ListZonesResponse, error)
// Deprecated: Do not use.
// Deprecated: not implemented.
// Gets details of a single Zone.
GetZone(context.Context, *GetZoneRequest) (*Zone, error)
// Lists Networks in a given project and location.
ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)
// Gets details of a single Network.
GetNetwork(context.Context, *GetNetworkRequest) (*Network, error)
// Get the diagnostics of a single network resource.
DiagnoseNetwork(context.Context, *DiagnoseNetworkRequest) (*DiagnoseNetworkResponse, error)
// Creates a new Network in a given project and location.
CreateNetwork(context.Context, *CreateNetworkRequest) (*longrunningpb.Operation, error)
// Deletes a single Network.
DeleteNetwork(context.Context, *DeleteNetworkRequest) (*longrunningpb.Operation, error)
// Lists Subnets in a given project and location.
ListSubnets(context.Context, *ListSubnetsRequest) (*ListSubnetsResponse, error)
// Gets details of a single Subnet.
GetSubnet(context.Context, *GetSubnetRequest) (*Subnet, error)
// Creates a new Subnet in a given project and location.
CreateSubnet(context.Context, *CreateSubnetRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Subnet.
UpdateSubnet(context.Context, *UpdateSubnetRequest) (*longrunningpb.Operation, error)
// Deletes a single Subnet.
DeleteSubnet(context.Context, *DeleteSubnetRequest) (*longrunningpb.Operation, error)
// Lists Interconnects in a given project and location.
ListInterconnects(context.Context, *ListInterconnectsRequest) (*ListInterconnectsResponse, error)
// Gets details of a single Interconnect.
GetInterconnect(context.Context, *GetInterconnectRequest) (*Interconnect, error)
// Get the diagnostics of a single interconnect resource.
DiagnoseInterconnect(context.Context, *DiagnoseInterconnectRequest) (*DiagnoseInterconnectResponse, error)
// Lists InterconnectAttachments in a given project and location.
ListInterconnectAttachments(context.Context, *ListInterconnectAttachmentsRequest) (*ListInterconnectAttachmentsResponse, error)
// Gets details of a single InterconnectAttachment.
GetInterconnectAttachment(context.Context, *GetInterconnectAttachmentRequest) (*InterconnectAttachment, error)
// Creates a new InterconnectAttachment in a given project and location.
CreateInterconnectAttachment(context.Context, *CreateInterconnectAttachmentRequest) (*longrunningpb.Operation, error)
// Deletes a single InterconnectAttachment.
DeleteInterconnectAttachment(context.Context, *DeleteInterconnectAttachmentRequest) (*longrunningpb.Operation, error)
// Lists Routers in a given project and location.
ListRouters(context.Context, *ListRoutersRequest) (*ListRoutersResponse, error)
// Gets details of a single Router.
GetRouter(context.Context, *GetRouterRequest) (*Router, error)
// Get the diagnostics of a single router resource.
DiagnoseRouter(context.Context, *DiagnoseRouterRequest) (*DiagnoseRouterResponse, error)
// Creates a new Router in a given project and location.
CreateRouter(context.Context, *CreateRouterRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Router.
UpdateRouter(context.Context, *UpdateRouterRequest) (*longrunningpb.Operation, error)
// Deletes a single Router.
DeleteRouter(context.Context, *DeleteRouterRequest) (*longrunningpb.Operation, error)
}EdgeNetworkServer is the server API for EdgeNetwork service. All implementations should embed UnimplementedEdgeNetworkServer for forward compatibility
GetInterconnectAttachmentRequest
type GetInterconnectAttachmentRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a InterconnectAttachment
func (*GetInterconnectAttachmentRequest) Descriptor
func (*GetInterconnectAttachmentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetInterconnectAttachmentRequest.ProtoReflect.Descriptor instead.
func (*GetInterconnectAttachmentRequest) GetName
func (x *GetInterconnectAttachmentRequest) GetName() stringfunc (*GetInterconnectAttachmentRequest) ProtoMessage
func (*GetInterconnectAttachmentRequest) ProtoMessage()func (*GetInterconnectAttachmentRequest) ProtoReflect
func (x *GetInterconnectAttachmentRequest) ProtoReflect() protoreflect.Messagefunc (*GetInterconnectAttachmentRequest) Reset
func (x *GetInterconnectAttachmentRequest) Reset()func (*GetInterconnectAttachmentRequest) String
func (x *GetInterconnectAttachmentRequest) String() stringGetInterconnectRequest
type GetInterconnectRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a Interconnect
func (*GetInterconnectRequest) Descriptor
func (*GetInterconnectRequest) Descriptor() ([]byte, []int)Deprecated: Use GetInterconnectRequest.ProtoReflect.Descriptor instead.
func (*GetInterconnectRequest) GetName
func (x *GetInterconnectRequest) GetName() stringfunc (*GetInterconnectRequest) ProtoMessage
func (*GetInterconnectRequest) ProtoMessage()func (*GetInterconnectRequest) ProtoReflect
func (x *GetInterconnectRequest) ProtoReflect() protoreflect.Messagefunc (*GetInterconnectRequest) Reset
func (x *GetInterconnectRequest) Reset()func (*GetInterconnectRequest) String
func (x *GetInterconnectRequest) String() stringGetNetworkRequest
type GetNetworkRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a Network
func (*GetNetworkRequest) Descriptor
func (*GetNetworkRequest) Descriptor() ([]byte, []int)Deprecated: Use GetNetworkRequest.ProtoReflect.Descriptor instead.
func (*GetNetworkRequest) GetName
func (x *GetNetworkRequest) GetName() stringfunc (*GetNetworkRequest) ProtoMessage
func (*GetNetworkRequest) ProtoMessage()func (*GetNetworkRequest) ProtoReflect
func (x *GetNetworkRequest) ProtoReflect() protoreflect.Messagefunc (*GetNetworkRequest) Reset
func (x *GetNetworkRequest) Reset()func (*GetNetworkRequest) String
func (x *GetNetworkRequest) String() stringGetRouterRequest
type GetRouterRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a Router
func (*GetRouterRequest) Descriptor
func (*GetRouterRequest) Descriptor() ([]byte, []int)Deprecated: Use GetRouterRequest.ProtoReflect.Descriptor instead.
func (*GetRouterRequest) GetName
func (x *GetRouterRequest) GetName() stringfunc (*GetRouterRequest) ProtoMessage
func (*GetRouterRequest) ProtoMessage()func (*GetRouterRequest) ProtoReflect
func (x *GetRouterRequest) ProtoReflect() protoreflect.Messagefunc (*GetRouterRequest) Reset
func (x *GetRouterRequest) Reset()func (*GetRouterRequest) String
func (x *GetRouterRequest) String() stringGetSubnetRequest
type GetSubnetRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a Subnet
func (*GetSubnetRequest) Descriptor
func (*GetSubnetRequest) Descriptor() ([]byte, []int)Deprecated: Use GetSubnetRequest.ProtoReflect.Descriptor instead.
func (*GetSubnetRequest) GetName
func (x *GetSubnetRequest) GetName() stringfunc (*GetSubnetRequest) ProtoMessage
func (*GetSubnetRequest) ProtoMessage()func (*GetSubnetRequest) ProtoReflect
func (x *GetSubnetRequest) ProtoReflect() protoreflect.Messagefunc (*GetSubnetRequest) Reset
func (x *GetSubnetRequest) Reset()func (*GetSubnetRequest) String
func (x *GetSubnetRequest) String() stringGetZoneRequest (deprecated)
type GetZoneRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Deprecated: not implemented. Message for getting a Zone
Deprecated: Marked as deprecated in google/cloud/edgenetwork/v1/service.proto.
func (*GetZoneRequest) Descriptor (deprecated)
func (*GetZoneRequest) Descriptor() ([]byte, []int)Deprecated: Use GetZoneRequest.ProtoReflect.Descriptor instead.
func (*GetZoneRequest) GetName (deprecated)
func (x *GetZoneRequest) GetName() stringfunc (*GetZoneRequest) ProtoMessage (deprecated)
func (*GetZoneRequest) ProtoMessage()func (*GetZoneRequest) ProtoReflect (deprecated)
func (x *GetZoneRequest) ProtoReflect() protoreflect.Messagefunc (*GetZoneRequest) Reset (deprecated)
func (x *GetZoneRequest) Reset()func (*GetZoneRequest) String (deprecated)
func (x *GetZoneRequest) String() stringInitializeZoneRequest
type InitializeZoneRequest struct {
// Required. The name of the zone resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for initializing a specified zone
func (*InitializeZoneRequest) Descriptor
func (*InitializeZoneRequest) Descriptor() ([]byte, []int)Deprecated: Use InitializeZoneRequest.ProtoReflect.Descriptor instead.
func (*InitializeZoneRequest) GetName
func (x *InitializeZoneRequest) GetName() stringfunc (*InitializeZoneRequest) ProtoMessage
func (*InitializeZoneRequest) ProtoMessage()func (*InitializeZoneRequest) ProtoReflect
func (x *InitializeZoneRequest) ProtoReflect() protoreflect.Messagefunc (*InitializeZoneRequest) Reset
func (x *InitializeZoneRequest) Reset()func (*InitializeZoneRequest) String
func (x *InitializeZoneRequest) String() stringInitializeZoneResponse
type InitializeZoneResponse struct {
// contains filtered or unexported fields
}The response of initializing a zone
func (*InitializeZoneResponse) Descriptor
func (*InitializeZoneResponse) Descriptor() ([]byte, []int)Deprecated: Use InitializeZoneResponse.ProtoReflect.Descriptor instead.
func (*InitializeZoneResponse) ProtoMessage
func (*InitializeZoneResponse) ProtoMessage()func (*InitializeZoneResponse) ProtoReflect
func (x *InitializeZoneResponse) ProtoReflect() protoreflect.Messagefunc (*InitializeZoneResponse) Reset
func (x *InitializeZoneResponse) Reset()func (*InitializeZoneResponse) String
func (x *InitializeZoneResponse) String() stringInterconnect
type Interconnect struct {
// Required. The canonical resource name of the interconnect.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when the subnet was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the subnet was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels associated with this resource.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. A free-text description of the resource. Max length 1024
// characters.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Type of interconnect, which takes only the value 'DEDICATED' for
// now.
InterconnectType Interconnect_InterconnectType `protobuf:"varint,6,opt,name=interconnect_type,json=interconnectType,proto3,enum=google.cloud.edgenetwork.v1.Interconnect_InterconnectType" json:"interconnect_type,omitempty"`
// Output only. Unique identifier for the link.
Uuid string `protobuf:"bytes,7,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Output only. Cloud resource name of the switch device.
DeviceCloudResourceName string `protobuf:"bytes,8,opt,name=device_cloud_resource_name,json=deviceCloudResourceName,proto3" json:"device_cloud_resource_name,omitempty"`
// Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
// interconnect.
PhysicalPorts []string `protobuf:"bytes,9,rep,name=physical_ports,json=physicalPorts,proto3" json:"physical_ports,omitempty"`
// Optional. The remote peering network type of the interconnect. It is
// required when peering separation is enabled.
RemotePeeringNetworkType RemotePeeringNetworkType `protobuf:"varint,10,opt,name=remote_peering_network_type,json=remotePeeringNetworkType,proto3,enum=google.cloud.edgenetwork.v1.RemotePeeringNetworkType" json:"remote_peering_network_type,omitempty"`
// contains filtered or unexported fields
}Message describing Interconnect object
func (*Interconnect) Descriptor
func (*Interconnect) Descriptor() ([]byte, []int)Deprecated: Use Interconnect.ProtoReflect.Descriptor instead.
func (*Interconnect) GetCreateTime
func (x *Interconnect) GetCreateTime() *timestamppb.Timestampfunc (*Interconnect) GetDescription
func (x *Interconnect) GetDescription() stringfunc (*Interconnect) GetDeviceCloudResourceName
func (x *Interconnect) GetDeviceCloudResourceName() stringfunc (*Interconnect) GetInterconnectType
func (x *Interconnect) GetInterconnectType() Interconnect_InterconnectTypefunc (*Interconnect) GetLabels
func (x *Interconnect) GetLabels() map[string]stringfunc (*Interconnect) GetName
func (x *Interconnect) GetName() stringfunc (*Interconnect) GetPhysicalPorts
func (x *Interconnect) GetPhysicalPorts() []stringfunc (*Interconnect) GetRemotePeeringNetworkType
func (x *Interconnect) GetRemotePeeringNetworkType() RemotePeeringNetworkTypefunc (*Interconnect) GetUpdateTime
func (x *Interconnect) GetUpdateTime() *timestamppb.Timestampfunc (*Interconnect) GetUuid
func (x *Interconnect) GetUuid() stringfunc (*Interconnect) ProtoMessage
func (*Interconnect) ProtoMessage()func (*Interconnect) ProtoReflect
func (x *Interconnect) ProtoReflect() protoreflect.Messagefunc (*Interconnect) Reset
func (x *Interconnect) Reset()func (*Interconnect) String
func (x *Interconnect) String() stringInterconnectAttachment
type InterconnectAttachment struct {
// Required. The canonical resource name of the interconnect attachment.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when the interconnect attachment was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the interconnect attachment was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels associated with this resource.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. A free-text description of the resource. Max length 1024
// characters.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Required. The canonical name of underlying Interconnect object that this
// attachment's traffic will traverse through. The name is in the form of
// `projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`.
Interconnect string `protobuf:"bytes,6,opt,name=interconnect,proto3" json:"interconnect,omitempty"`
// Optional. The canonical Network name in the form of
// `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
Network string `protobuf:"bytes,11,opt,name=network,proto3" json:"network,omitempty"`
// Required. VLAN id provided by user. Must be site-wise unique.
VlanId int32 `protobuf:"varint,8,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"`
// IP (L3) MTU value of the virtual edge cloud.
// Valid values are: 1500 and 9000.
// Default to 1500 if not set.
Mtu int32 `protobuf:"varint,9,opt,name=mtu,proto3" json:"mtu,omitempty"`
// Output only. Current stage of the resource to the device by config push.
State ResourceState `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.edgenetwork.v1.ResourceState" json:"state,omitempty"`
// Optional. The remote peering network type of the underlying interconnect.
// It is required when peering separation is enabled.
PeeringType RemotePeeringNetworkType `protobuf:"varint,12,opt,name=peering_type,json=peeringType,proto3,enum=google.cloud.edgenetwork.v1.RemotePeeringNetworkType" json:"peering_type,omitempty"`
// contains filtered or unexported fields
}Message describing InterconnectAttachment object
func (*InterconnectAttachment) Descriptor
func (*InterconnectAttachment) Descriptor() ([]byte, []int)Deprecated: Use InterconnectAttachment.ProtoReflect.Descriptor instead.
func (*InterconnectAttachment) GetCreateTime
func (x *InterconnectAttachment) GetCreateTime() *timestamppb.Timestampfunc (*InterconnectAttachment) GetDescription
func (x *InterconnectAttachment) GetDescription() stringfunc (*InterconnectAttachment) GetInterconnect
func (x *InterconnectAttachment) GetInterconnect() stringfunc (*InterconnectAttachment) GetLabels
func (x *InterconnectAttachment) GetLabels() map[string]stringfunc (*InterconnectAttachment) GetMtu
func (x *InterconnectAttachment) GetMtu() int32func (*InterconnectAttachment) GetName
func (x *InterconnectAttachment) GetName() stringfunc (*InterconnectAttachment) GetNetwork
func (x *InterconnectAttachment) GetNetwork() stringfunc (*InterconnectAttachment) GetPeeringType
func (x *InterconnectAttachment) GetPeeringType() RemotePeeringNetworkTypefunc (*InterconnectAttachment) GetState
func (x *InterconnectAttachment) GetState() ResourceStatefunc (*InterconnectAttachment) GetUpdateTime
func (x *InterconnectAttachment) GetUpdateTime() *timestamppb.Timestampfunc (*InterconnectAttachment) GetVlanId
func (x *InterconnectAttachment) GetVlanId() int32func (*InterconnectAttachment) ProtoMessage
func (*InterconnectAttachment) ProtoMessage()func (*InterconnectAttachment) ProtoReflect
func (x *InterconnectAttachment) ProtoReflect() protoreflect.Messagefunc (*InterconnectAttachment) Reset
func (x *InterconnectAttachment) Reset()func (*InterconnectAttachment) String
func (x *InterconnectAttachment) String() stringInterconnectDiagnostics
type InterconnectDiagnostics struct {
// The MAC address of the Interconnect's bundle interface.
MacAddress string `protobuf:"bytes,1,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
// A list of LinkLayerAddress, describing the ip address and corresponding
// link-layer address of the neighbors for this interconnect.
LinkLayerAddresses []*LinkLayerAddress `protobuf:"bytes,2,rep,name=link_layer_addresses,json=linkLayerAddresses,proto3" json:"link_layer_addresses,omitempty"`
// A list of LinkStatus objects, used to describe the status for each link on
// the Interconnect.
Links []*InterconnectDiagnostics_LinkStatus `protobuf:"bytes,3,rep,name=links,proto3" json:"links,omitempty"`
// contains filtered or unexported fields
}Diagnostics information about interconnect, contains detailed and current technical information about Google's side of the connection.
func (*InterconnectDiagnostics) Descriptor
func (*InterconnectDiagnostics) Descriptor() ([]byte, []int)Deprecated: Use InterconnectDiagnostics.ProtoReflect.Descriptor instead.
func (*InterconnectDiagnostics) GetLinkLayerAddresses
func (x *InterconnectDiagnostics) GetLinkLayerAddresses() []*LinkLayerAddressfunc (*InterconnectDiagnostics) GetLinks
func (x *InterconnectDiagnostics) GetLinks() []*InterconnectDiagnostics_LinkStatusfunc (*InterconnectDiagnostics) GetMacAddress
func (x *InterconnectDiagnostics) GetMacAddress() stringfunc (*InterconnectDiagnostics) ProtoMessage
func (*InterconnectDiagnostics) ProtoMessage()func (*InterconnectDiagnostics) ProtoReflect
func (x *InterconnectDiagnostics) ProtoReflect() protoreflect.Messagefunc (*InterconnectDiagnostics) Reset
func (x *InterconnectDiagnostics) Reset()func (*InterconnectDiagnostics) String
func (x *InterconnectDiagnostics) String() stringInterconnectDiagnostics_LinkLACPStatus
type InterconnectDiagnostics_LinkLACPStatus struct {
// The state of a LACP link.
State InterconnectDiagnostics_LinkLACPStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.edgenetwork.v1.InterconnectDiagnostics_LinkLACPStatus_State" json:"state,omitempty"`
// System ID of the port on Google's side of the LACP exchange.
GoogleSystemId string `protobuf:"bytes,2,opt,name=google_system_id,json=googleSystemId,proto3" json:"google_system_id,omitempty"`
// System ID of the port on the neighbor's side of the LACP exchange.
NeighborSystemId string `protobuf:"bytes,3,opt,name=neighbor_system_id,json=neighborSystemId,proto3" json:"neighbor_system_id,omitempty"`
// A true value indicates that the participant will allow the link to be
// used as part of the aggregate.
// A false value indicates the link should be used as an individual link.
Aggregatable bool `protobuf:"varint,4,opt,name=aggregatable,proto3" json:"aggregatable,omitempty"`
// If true, the participant is collecting incoming frames on the link,
// otherwise false
Collecting bool `protobuf:"varint,5,opt,name=collecting,proto3" json:"collecting,omitempty"`
// When true, the participant is distributing outgoing frames; when false,
// distribution is disabled
Distributing bool `protobuf:"varint,6,opt,name=distributing,proto3" json:"distributing,omitempty"`
// contains filtered or unexported fields
}Describing the status of a LACP link.
func (*InterconnectDiagnostics_LinkLACPStatus) Descriptor
func (*InterconnectDiagnostics_LinkLACPStatus) Descriptor() ([]byte, []int)Deprecated: Use InterconnectDiagnostics_LinkLACPStatus.ProtoReflect.Descriptor instead.
func (*InterconnectDiagnostics_LinkLACPStatus) GetAggregatable
func (x *InterconnectDiagnostics_LinkLACPStatus) GetAggregatable() boolfunc (*InterconnectDiagnostics_LinkLACPStatus) GetCollecting
func (x *InterconnectDiagnostics_LinkLACPStatus) GetCollecting() boolfunc (*InterconnectDiagnostics_LinkLACPStatus) GetDistributing
func (x *InterconnectDiagnostics_LinkLACPStatus) GetDistributing() boolfunc (*InterconnectDiagnostics_LinkLACPStatus) GetGoogleSystemId
func (x *InterconnectDiagnostics_LinkLACPStatus) GetGoogleSystemId() stringfunc (*InterconnectDiagnostics_LinkLACPStatus) GetNeighborSystemId
func (x *InterconnectDiagnostics_LinkLACPStatus) GetNeighborSystemId() stringfunc (*InterconnectDiagnostics_LinkLACPStatus) GetState
func (x *InterconnectDiagnostics_LinkLACPStatus) GetState() InterconnectDiagnostics_LinkLACPStatus_Statefunc (*InterconnectDiagnostics_LinkLACPStatus) ProtoMessage
func (*InterconnectDiagnostics_LinkLACPStatus) ProtoMessage()func (*InterconnectDiagnostics_LinkLACPStatus) ProtoReflect
func (x *InterconnectDiagnostics_LinkLACPStatus) ProtoReflect() protoreflect.Messagefunc (*InterconnectDiagnostics_LinkLACPStatus) Reset
func (x *InterconnectDiagnostics_LinkLACPStatus) Reset()func (*InterconnectDiagnostics_LinkLACPStatus) String
func (x *InterconnectDiagnostics_LinkLACPStatus) String() stringInterconnectDiagnostics_LinkLACPStatus_State
type InterconnectDiagnostics_LinkLACPStatus_State int32State enum for LACP link.
InterconnectDiagnostics_LinkLACPStatus_UNKNOWN, InterconnectDiagnostics_LinkLACPStatus_ACTIVE, InterconnectDiagnostics_LinkLACPStatus_DETACHED
const (
// The default state indicating state is in unknown state.
InterconnectDiagnostics_LinkLACPStatus_UNKNOWN InterconnectDiagnostics_LinkLACPStatus_State = 0
// The link is configured and active within the bundle.
InterconnectDiagnostics_LinkLACPStatus_ACTIVE InterconnectDiagnostics_LinkLACPStatus_State = 1
// The link is not configured within the bundle, this means the rest of
// the object should be empty.
InterconnectDiagnostics_LinkLACPStatus_DETACHED InterconnectDiagnostics_LinkLACPStatus_State = 2
)func (InterconnectDiagnostics_LinkLACPStatus_State) Descriptor
func (InterconnectDiagnostics_LinkLACPStatus_State) Descriptor() protoreflect.EnumDescriptorfunc (InterconnectDiagnostics_LinkLACPStatus_State) Enum
func (x InterconnectDiagnostics_LinkLACPStatus_State) Enum() *InterconnectDiagnostics_LinkLACPStatus_Statefunc (InterconnectDiagnostics_LinkLACPStatus_State) EnumDescriptor
func (InterconnectDiagnostics_LinkLACPStatus_State) EnumDescriptor() ([]byte, []int)Deprecated: Use InterconnectDiagnostics_LinkLACPStatus_State.Descriptor instead.
func (InterconnectDiagnostics_LinkLACPStatus_State) Number
func (x InterconnectDiagnostics_LinkLACPStatus_State) Number() protoreflect.EnumNumberfunc (InterconnectDiagnostics_LinkLACPStatus_State) String
func (x InterconnectDiagnostics_LinkLACPStatus_State) String() stringfunc (InterconnectDiagnostics_LinkLACPStatus_State) Type
func (InterconnectDiagnostics_LinkLACPStatus_State) Type() protoreflect.EnumTypeInterconnectDiagnostics_LinkLLDPStatus
type InterconnectDiagnostics_LinkLLDPStatus struct {
// The peer system's administratively assigned name.
PeerSystemName string `protobuf:"bytes,1,opt,name=peer_system_name,json=peerSystemName,proto3" json:"peer_system_name,omitempty"`
// The textual description of the network entity of LLDP peer.
PeerSystemDescription string `protobuf:"bytes,2,opt,name=peer_system_description,json=peerSystemDescription,proto3" json:"peer_system_description,omitempty"`
// The peer chassis component of the endpoint identifier associated with the
// transmitting LLDP agent.
PeerChassisId string `protobuf:"bytes,3,opt,name=peer_chassis_id,json=peerChassisId,proto3" json:"peer_chassis_id,omitempty"`
// The format and source of the peer chassis identifier string.
PeerChassisIdType string `protobuf:"bytes,4,opt,name=peer_chassis_id_type,json=peerChassisIdType,proto3" json:"peer_chassis_id_type,omitempty"`
// The port component of the endpoint identifier associated with the
// transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater
// port, then this TLV is optional.
PeerPortId string `protobuf:"bytes,5,opt,name=peer_port_id,json=peerPortId,proto3" json:"peer_port_id,omitempty"`
// The format and source of the peer port identifier string.
PeerPortIdType string `protobuf:"bytes,6,opt,name=peer_port_id_type,json=peerPortIdType,proto3" json:"peer_port_id_type,omitempty"`
// contains filtered or unexported fields
}Describing a LLDP link.
func (*InterconnectDiagnostics_LinkLLDPStatus) Descriptor
func (*InterconnectDiagnostics_LinkLLDPStatus) Descriptor() ([]byte, []int)Deprecated: Use InterconnectDiagnostics_LinkLLDPStatus.ProtoReflect.Descriptor instead.
func (*InterconnectDiagnostics_LinkLLDPStatus) GetPeerChassisId
func (x *InterconnectDiagnostics_LinkLLDPStatus) GetPeerChassisId() stringfunc (*InterconnectDiagnostics_LinkLLDPStatus) GetPeerChassisIdType
func (x *InterconnectDiagnostics_LinkLLDPStatus) GetPeerChassisIdType() stringfunc (*InterconnectDiagnostics_LinkLLDPStatus) GetPeerPortId
func (x *InterconnectDiagnostics_LinkLLDPStatus) GetPeerPortId() stringfunc (*InterconnectDiagnostics_LinkLLDPStatus) GetPeerPortIdType
func (x *InterconnectDiagnostics_LinkLLDPStatus) GetPeerPortIdType() stringfunc (*InterconnectDiagnostics_LinkLLDPStatus) GetPeerSystemDescription
func (x *InterconnectDiagnostics_LinkLLDPStatus) GetPeerSystemDescription() stringfunc (*InterconnectDiagnostics_LinkLLDPStatus) GetPeerSystemName
func (x *InterconnectDiagnostics_LinkLLDPStatus) GetPeerSystemName() stringfunc (*InterconnectDiagnostics_LinkLLDPStatus) ProtoMessage
func (*InterconnectDiagnostics_LinkLLDPStatus) ProtoMessage()func (*InterconnectDiagnostics_LinkLLDPStatus) ProtoReflect
func (x *InterconnectDiagnostics_LinkLLDPStatus) ProtoReflect() protoreflect.Messagefunc (*InterconnectDiagnostics_LinkLLDPStatus) Reset
func (x *InterconnectDiagnostics_LinkLLDPStatus) Reset()func (*InterconnectDiagnostics_LinkLLDPStatus) String
func (x *InterconnectDiagnostics_LinkLLDPStatus) String() stringInterconnectDiagnostics_LinkStatus
type InterconnectDiagnostics_LinkStatus struct {
// The unique ID for this link assigned during turn up by Google.
CircuitId string `protobuf:"bytes,1,opt,name=circuit_id,json=circuitId,proto3" json:"circuit_id,omitempty"`
// Describing the state of a LACP link.
LacpStatus *InterconnectDiagnostics_LinkLACPStatus `protobuf:"bytes,2,opt,name=lacp_status,json=lacpStatus,proto3" json:"lacp_status,omitempty"`
// A list of LinkLLDPStatus objects, used to describe LLDP status of each
// peer for each link on the Interconnect.
LldpStatuses []*InterconnectDiagnostics_LinkLLDPStatus `protobuf:"bytes,3,rep,name=lldp_statuses,json=lldpStatuses,proto3" json:"lldp_statuses,omitempty"`
// Packet counts specific statistics for this link.
PacketCounts *InterconnectDiagnostics_PacketCounts `protobuf:"bytes,4,opt,name=packet_counts,json=packetCounts,proto3" json:"packet_counts,omitempty"`
// contains filtered or unexported fields
}Describing the status for each link on the Interconnect.
func (*InterconnectDiagnostics_LinkStatus) Descriptor
func (*InterconnectDiagnostics_LinkStatus) Descriptor() ([]byte, []int)Deprecated: Use InterconnectDiagnostics_LinkStatus.ProtoReflect.Descriptor instead.
func (*InterconnectDiagnostics_LinkStatus) GetCircuitId
func (x *InterconnectDiagnostics_LinkStatus) GetCircuitId() stringfunc (*InterconnectDiagnostics_LinkStatus) GetLacpStatus
func (x *InterconnectDiagnostics_LinkStatus) GetLacpStatus() *InterconnectDiagnostics_LinkLACPStatusfunc (*InterconnectDiagnostics_LinkStatus) GetLldpStatuses
func (x *InterconnectDiagnostics_LinkStatus) GetLldpStatuses() []*InterconnectDiagnostics_LinkLLDPStatusfunc (*InterconnectDiagnostics_LinkStatus) GetPacketCounts
func (x *InterconnectDiagnostics_LinkStatus) GetPacketCounts() *InterconnectDiagnostics_PacketCountsfunc (*InterconnectDiagnostics_LinkStatus) ProtoMessage
func (*InterconnectDiagnostics_LinkStatus) ProtoMessage()func (*InterconnectDiagnostics_LinkStatus) ProtoReflect
func (x *InterconnectDiagnostics_LinkStatus) ProtoReflect() protoreflect.Messagefunc (*InterconnectDiagnostics_LinkStatus) Reset
func (x *InterconnectDiagnostics_LinkStatus) Reset()func (*InterconnectDiagnostics_LinkStatus) String
func (x *InterconnectDiagnostics_LinkStatus) String() stringInterconnectDiagnostics_PacketCounts
type InterconnectDiagnostics_PacketCounts struct {
// The number of packets that are delivered.
InboundUnicast int64 `protobuf:"varint,1,opt,name=inbound_unicast,json=inboundUnicast,proto3" json:"inbound_unicast,omitempty"`
// The number of inbound packets that contained errors.
InboundErrors int64 `protobuf:"varint,2,opt,name=inbound_errors,json=inboundErrors,proto3" json:"inbound_errors,omitempty"`
// The number of inbound packets that were chosen to be discarded even
// though no errors had been detected to prevent their being deliverable.
InboundDiscards int64 `protobuf:"varint,3,opt,name=inbound_discards,json=inboundDiscards,proto3" json:"inbound_discards,omitempty"`
// The total number of packets that are requested be transmitted.
OutboundUnicast int64 `protobuf:"varint,4,opt,name=outbound_unicast,json=outboundUnicast,proto3" json:"outbound_unicast,omitempty"`
// The number of outbound packets that could not be transmitted because of
// errors.
OutboundErrors int64 `protobuf:"varint,5,opt,name=outbound_errors,json=outboundErrors,proto3" json:"outbound_errors,omitempty"`
// The number of outbound packets that were chosen to be discarded even
// though no errors had been detected to prevent their being transmitted.
OutboundDiscards int64 `protobuf:"varint,6,opt,name=outbound_discards,json=outboundDiscards,proto3" json:"outbound_discards,omitempty"`
// contains filtered or unexported fields
}Containing a collection of interface-related statistics objects.
func (*InterconnectDiagnostics_PacketCounts) Descriptor
func (*InterconnectDiagnostics_PacketCounts) Descriptor() ([]byte, []int)Deprecated: Use InterconnectDiagnostics_PacketCounts.ProtoReflect.Descriptor instead.
func (*InterconnectDiagnostics_PacketCounts) GetInboundDiscards
func (x *InterconnectDiagnostics_PacketCounts) GetInboundDiscards() int64func (*InterconnectDiagnostics_PacketCounts) GetInboundErrors
func (x *InterconnectDiagnostics_PacketCounts) GetInboundErrors() int64func (*InterconnectDiagnostics_PacketCounts) GetInboundUnicast
func (x *InterconnectDiagnostics_PacketCounts) GetInboundUnicast() int64func (*InterconnectDiagnostics_PacketCounts) GetOutboundDiscards
func (x *InterconnectDiagnostics_PacketCounts) GetOutboundDiscards() int64func (*InterconnectDiagnostics_PacketCounts) GetOutboundErrors
func (x *InterconnectDiagnostics_PacketCounts) GetOutboundErrors() int64func (*InterconnectDiagnostics_PacketCounts) GetOutboundUnicast
func (x *InterconnectDiagnostics_PacketCounts) GetOutboundUnicast() int64func (*InterconnectDiagnostics_PacketCounts) ProtoMessage
func (*InterconnectDiagnostics_PacketCounts) ProtoMessage()func (*InterconnectDiagnostics_PacketCounts) ProtoReflect
func (x *InterconnectDiagnostics_PacketCounts) ProtoReflect() protoreflect.Messagefunc (*InterconnectDiagnostics_PacketCounts) Reset
func (x *InterconnectDiagnostics_PacketCounts) Reset()func (*InterconnectDiagnostics_PacketCounts) String
func (x *InterconnectDiagnostics_PacketCounts) String() stringInterconnect_InterconnectType
type Interconnect_InterconnectType int32Type of interconnect.
Interconnect_INTERCONNECT_TYPE_UNSPECIFIED, Interconnect_DEDICATED
const (
// Unspecified.
Interconnect_INTERCONNECT_TYPE_UNSPECIFIED Interconnect_InterconnectType = 0
// Dedicated Interconnect.
Interconnect_DEDICATED Interconnect_InterconnectType = 1
)func (Interconnect_InterconnectType) Descriptor
func (Interconnect_InterconnectType) Descriptor() protoreflect.EnumDescriptorfunc (Interconnect_InterconnectType) Enum
func (x Interconnect_InterconnectType) Enum() *Interconnect_InterconnectTypefunc (Interconnect_InterconnectType) EnumDescriptor
func (Interconnect_InterconnectType) EnumDescriptor() ([]byte, []int)Deprecated: Use Interconnect_InterconnectType.Descriptor instead.
func (Interconnect_InterconnectType) Number
func (x Interconnect_InterconnectType) Number() protoreflect.EnumNumberfunc (Interconnect_InterconnectType) String
func (x Interconnect_InterconnectType) String() stringfunc (Interconnect_InterconnectType) Type
func (Interconnect_InterconnectType) Type() protoreflect.EnumTypeLinkLayerAddress
type LinkLayerAddress struct {
// The MAC address of this neighbor.
MacAddress string `protobuf:"bytes,1,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
// The IP address of this neighbor.
IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// contains filtered or unexported fields
}LinkLayerAddress contains an IP address and corresponding link-layer address.
func (*LinkLayerAddress) Descriptor
func (*LinkLayerAddress) Descriptor() ([]byte, []int)Deprecated: Use LinkLayerAddress.ProtoReflect.Descriptor instead.
func (*LinkLayerAddress) GetIpAddress
func (x *LinkLayerAddress) GetIpAddress() stringfunc (*LinkLayerAddress) GetMacAddress
func (x *LinkLayerAddress) GetMacAddress() stringfunc (*LinkLayerAddress) ProtoMessage
func (*LinkLayerAddress) ProtoMessage()func (*LinkLayerAddress) ProtoReflect
func (x *LinkLayerAddress) ProtoReflect() protoreflect.Messagefunc (*LinkLayerAddress) Reset
func (x *LinkLayerAddress) Reset()func (*LinkLayerAddress) String
func (x *LinkLayerAddress) String() stringListInterconnectAttachmentsRequest
type ListInterconnectAttachmentsRequest struct {
// Required. Parent value for ListInterconnectAttachmentsRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of InterconnectAttachments
func (*ListInterconnectAttachmentsRequest) Descriptor
func (*ListInterconnectAttachmentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListInterconnectAttachmentsRequest.ProtoReflect.Descriptor instead.
func (*ListInterconnectAttachmentsRequest) GetFilter
func (x *ListInterconnectAttachmentsRequest) GetFilter() stringfunc (*ListInterconnectAttachmentsRequest) GetOrderBy
func (x *ListInterconnectAttachmentsRequest) GetOrderBy() stringfunc (*ListInterconnectAttachmentsRequest) GetPageSize
func (x *ListInterconnectAttachmentsRequest) GetPageSize() int32func (*ListInterconnectAttachmentsRequest) GetPageToken
func (x *ListInterconnectAttachmentsRequest) GetPageToken() stringfunc (*ListInterconnectAttachmentsRequest) GetParent
func (x *ListInterconnectAttachmentsRequest) GetParent() stringfunc (*ListInterconnectAttachmentsRequest) ProtoMessage
func (*ListInterconnectAttachmentsRequest) ProtoMessage()func (*ListInterconnectAttachmentsRequest) ProtoReflect
func (x *ListInterconnectAttachmentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListInterconnectAttachmentsRequest) Reset
func (x *ListInterconnectAttachmentsRequest) Reset()func (*ListInterconnectAttachmentsRequest) String
func (x *ListInterconnectAttachmentsRequest) String() stringListInterconnectAttachmentsResponse
type ListInterconnectAttachmentsResponse struct {
// The list of InterconnectAttachment
InterconnectAttachments []*InterconnectAttachment `protobuf:"bytes,1,rep,name=interconnect_attachments,json=interconnectAttachments,proto3" json:"interconnect_attachments,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing InterconnectAttachments
func (*ListInterconnectAttachmentsResponse) Descriptor
func (*ListInterconnectAttachmentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListInterconnectAttachmentsResponse.ProtoReflect.Descriptor instead.
func (*ListInterconnectAttachmentsResponse) GetInterconnectAttachments
func (x *ListInterconnectAttachmentsResponse) GetInterconnectAttachments() []*InterconnectAttachmentfunc (*ListInterconnectAttachmentsResponse) GetNextPageToken
func (x *ListInterconnectAttachmentsResponse) GetNextPageToken() stringfunc (*ListInterconnectAttachmentsResponse) GetUnreachable
func (x *ListInterconnectAttachmentsResponse) GetUnreachable() []stringfunc (*ListInterconnectAttachmentsResponse) ProtoMessage
func (*ListInterconnectAttachmentsResponse) ProtoMessage()func (*ListInterconnectAttachmentsResponse) ProtoReflect
func (x *ListInterconnectAttachmentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListInterconnectAttachmentsResponse) Reset
func (x *ListInterconnectAttachmentsResponse) Reset()func (*ListInterconnectAttachmentsResponse) String
func (x *ListInterconnectAttachmentsResponse) String() stringListInterconnectsRequest
type ListInterconnectsRequest struct {
// Required. Parent value for ListInterconnectsRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of Interconnects
func (*ListInterconnectsRequest) Descriptor
func (*ListInterconnectsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListInterconnectsRequest.ProtoReflect.Descriptor instead.
func (*ListInterconnectsRequest) GetFilter
func (x *ListInterconnectsRequest) GetFilter() stringfunc (*ListInterconnectsRequest) GetOrderBy
func (x *ListInterconnectsRequest) GetOrderBy() stringfunc (*ListInterconnectsRequest) GetPageSize
func (x *ListInterconnectsRequest) GetPageSize() int32func (*ListInterconnectsRequest) GetPageToken
func (x *ListInterconnectsRequest) GetPageToken() stringfunc (*ListInterconnectsRequest) GetParent
func (x *ListInterconnectsRequest) GetParent() stringfunc (*ListInterconnectsRequest) ProtoMessage
func (*ListInterconnectsRequest) ProtoMessage()func (*ListInterconnectsRequest) ProtoReflect
func (x *ListInterconnectsRequest) ProtoReflect() protoreflect.Messagefunc (*ListInterconnectsRequest) Reset
func (x *ListInterconnectsRequest) Reset()func (*ListInterconnectsRequest) String
func (x *ListInterconnectsRequest) String() stringListInterconnectsResponse
type ListInterconnectsResponse struct {
// The list of Interconnect
Interconnects []*Interconnect `protobuf:"bytes,1,rep,name=interconnects,proto3" json:"interconnects,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing Interconnects
func (*ListInterconnectsResponse) Descriptor
func (*ListInterconnectsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListInterconnectsResponse.ProtoReflect.Descriptor instead.
func (*ListInterconnectsResponse) GetInterconnects
func (x *ListInterconnectsResponse) GetInterconnects() []*Interconnectfunc (*ListInterconnectsResponse) GetNextPageToken
func (x *ListInterconnectsResponse) GetNextPageToken() stringfunc (*ListInterconnectsResponse) GetUnreachable
func (x *ListInterconnectsResponse) GetUnreachable() []stringfunc (*ListInterconnectsResponse) ProtoMessage
func (*ListInterconnectsResponse) ProtoMessage()func (*ListInterconnectsResponse) ProtoReflect
func (x *ListInterconnectsResponse) ProtoReflect() protoreflect.Messagefunc (*ListInterconnectsResponse) Reset
func (x *ListInterconnectsResponse) Reset()func (*ListInterconnectsResponse) String
func (x *ListInterconnectsResponse) String() stringListNetworksRequest
type ListNetworksRequest struct {
// Required. Parent value for ListNetworksRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of Networks
func (*ListNetworksRequest) Descriptor
func (*ListNetworksRequest) Descriptor() ([]byte, []int)Deprecated: Use ListNetworksRequest.ProtoReflect.Descriptor instead.
func (*ListNetworksRequest) GetFilter
func (x *ListNetworksRequest) GetFilter() stringfunc (*ListNetworksRequest) GetOrderBy
func (x *ListNetworksRequest) GetOrderBy() stringfunc (*ListNetworksRequest) GetPageSize
func (x *ListNetworksRequest) GetPageSize() int32func (*ListNetworksRequest) GetPageToken
func (x *ListNetworksRequest) GetPageToken() stringfunc (*ListNetworksRequest) GetParent
func (x *ListNetworksRequest) GetParent() stringfunc (*ListNetworksRequest) ProtoMessage
func (*ListNetworksRequest) ProtoMessage()func (*ListNetworksRequest) ProtoReflect
func (x *ListNetworksRequest) ProtoReflect() protoreflect.Messagefunc (*ListNetworksRequest) Reset
func (x *ListNetworksRequest) Reset()func (*ListNetworksRequest) String
func (x *ListNetworksRequest) String() stringListNetworksResponse
type ListNetworksResponse struct {
// The list of Network
Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing Networks
func (*ListNetworksResponse) Descriptor
func (*ListNetworksResponse) Descriptor() ([]byte, []int)Deprecated: Use ListNetworksResponse.ProtoReflect.Descriptor instead.
func (*ListNetworksResponse) GetNetworks
func (x *ListNetworksResponse) GetNetworks() []*Networkfunc (*ListNetworksResponse) GetNextPageToken
func (x *ListNetworksResponse) GetNextPageToken() stringfunc (*ListNetworksResponse) GetUnreachable
func (x *ListNetworksResponse) GetUnreachable() []stringfunc (*ListNetworksResponse) ProtoMessage
func (*ListNetworksResponse) ProtoMessage()func (*ListNetworksResponse) ProtoReflect
func (x *ListNetworksResponse) ProtoReflect() protoreflect.Messagefunc (*ListNetworksResponse) Reset
func (x *ListNetworksResponse) Reset()func (*ListNetworksResponse) String
func (x *ListNetworksResponse) String() stringListRoutersRequest
type ListRoutersRequest struct {
// Required. Parent value for ListRoutersRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of Routers
func (*ListRoutersRequest) Descriptor
func (*ListRoutersRequest) Descriptor() ([]byte, []int)Deprecated: Use ListRoutersRequest.ProtoReflect.Descriptor instead.
func (*ListRoutersRequest) GetFilter
func (x *ListRoutersRequest) GetFilter() stringfunc (*ListRoutersRequest) GetOrderBy
func (x *ListRoutersRequest) GetOrderBy() stringfunc (*ListRoutersRequest) GetPageSize
func (x *ListRoutersRequest) GetPageSize() int32func (*ListRoutersRequest) GetPageToken
func (x *ListRoutersRequest) GetPageToken() stringfunc (*ListRoutersRequest) GetParent
func (x *ListRoutersRequest) GetParent() stringfunc (*ListRoutersRequest) ProtoMessage
func (*ListRoutersRequest) ProtoMessage()func (*ListRoutersRequest) ProtoReflect
func (x *ListRoutersRequest) ProtoReflect() protoreflect.Messagefunc (*ListRoutersRequest) Reset
func (x *ListRoutersRequest) Reset()func (*ListRoutersRequest) String
func (x *ListRoutersRequest) String() stringListRoutersResponse
type ListRoutersResponse struct {
// The list of Router
Routers []*Router `protobuf:"bytes,1,rep,name=routers,proto3" json:"routers,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing Routers
func (*ListRoutersResponse) Descriptor
func (*ListRoutersResponse) Descriptor() ([]byte, []int)Deprecated: Use ListRoutersResponse.ProtoReflect.Descriptor instead.
func (*ListRoutersResponse) GetNextPageToken
func (x *ListRoutersResponse) GetNextPageToken() stringfunc (*ListRoutersResponse) GetRouters
func (x *ListRoutersResponse) GetRouters() []*Routerfunc (*ListRoutersResponse) GetUnreachable
func (x *ListRoutersResponse) GetUnreachable() []stringfunc (*ListRoutersResponse) ProtoMessage
func (*ListRoutersResponse) ProtoMessage()func (*ListRoutersResponse) ProtoReflect
func (x *ListRoutersResponse) ProtoReflect() protoreflect.Messagefunc (*ListRoutersResponse) Reset
func (x *ListRoutersResponse) Reset()func (*ListRoutersResponse) String
func (x *ListRoutersResponse) String() stringListSubnetsRequest
type ListSubnetsRequest struct {
// Required. Parent value for ListSubnetsRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of Subnets
func (*ListSubnetsRequest) Descriptor
func (*ListSubnetsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSubnetsRequest.ProtoReflect.Descriptor instead.
func (*ListSubnetsRequest) GetFilter
func (x *ListSubnetsRequest) GetFilter() stringfunc (*ListSubnetsRequest) GetOrderBy
func (x *ListSubnetsRequest) GetOrderBy() stringfunc (*ListSubnetsRequest) GetPageSize
func (x *ListSubnetsRequest) GetPageSize() int32func (*ListSubnetsRequest) GetPageToken
func (x *ListSubnetsRequest) GetPageToken() stringfunc (*ListSubnetsRequest) GetParent
func (x *ListSubnetsRequest) GetParent() stringfunc (*ListSubnetsRequest) ProtoMessage
func (*ListSubnetsRequest) ProtoMessage()func (*ListSubnetsRequest) ProtoReflect
func (x *ListSubnetsRequest) ProtoReflect() protoreflect.Messagefunc (*ListSubnetsRequest) Reset
func (x *ListSubnetsRequest) Reset()func (*ListSubnetsRequest) String
func (x *ListSubnetsRequest) String() stringListSubnetsResponse
type ListSubnetsResponse struct {
// The list of Subnet
Subnets []*Subnet `protobuf:"bytes,1,rep,name=subnets,proto3" json:"subnets,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing Subnets
func (*ListSubnetsResponse) Descriptor
func (*ListSubnetsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSubnetsResponse.ProtoReflect.Descriptor instead.
func (*ListSubnetsResponse) GetNextPageToken
func (x *ListSubnetsResponse) GetNextPageToken() stringfunc (*ListSubnetsResponse) GetSubnets
func (x *ListSubnetsResponse) GetSubnets() []*Subnetfunc (*ListSubnetsResponse) GetUnreachable
func (x *ListSubnetsResponse) GetUnreachable() []stringfunc (*ListSubnetsResponse) ProtoMessage
func (*ListSubnetsResponse) ProtoMessage()func (*ListSubnetsResponse) ProtoReflect
func (x *ListSubnetsResponse) ProtoReflect() protoreflect.Messagefunc (*ListSubnetsResponse) Reset
func (x *ListSubnetsResponse) Reset()func (*ListSubnetsResponse) String
func (x *ListSubnetsResponse) String() stringListZonesRequest (deprecated)
type ListZonesRequest struct {
// Required. Parent value for ListZonesRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Deprecated: not implemented. Message for requesting list of Zones
Deprecated: Marked as deprecated in google/cloud/edgenetwork/v1/service.proto.
func (*ListZonesRequest) Descriptor (deprecated)
func (*ListZonesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListZonesRequest.ProtoReflect.Descriptor instead.
func (*ListZonesRequest) GetFilter (deprecated)
func (x *ListZonesRequest) GetFilter() stringfunc (*ListZonesRequest) GetOrderBy (deprecated)
func (x *ListZonesRequest) GetOrderBy() stringfunc (*ListZonesRequest) GetPageSize (deprecated)
func (x *ListZonesRequest) GetPageSize() int32func (*ListZonesRequest) GetPageToken (deprecated)
func (x *ListZonesRequest) GetPageToken() stringfunc (*ListZonesRequest) GetParent (deprecated)
func (x *ListZonesRequest) GetParent() stringfunc (*ListZonesRequest) ProtoMessage (deprecated)
func (*ListZonesRequest) ProtoMessage()func (*ListZonesRequest) ProtoReflect (deprecated)
func (x *ListZonesRequest) ProtoReflect() protoreflect.Messagefunc (*ListZonesRequest) Reset (deprecated)
func (x *ListZonesRequest) Reset()func (*ListZonesRequest) String (deprecated)
func (x *ListZonesRequest) String() stringListZonesResponse (deprecated)
type ListZonesResponse struct {
// The list of Zone
Zones []*Zone `protobuf:"bytes,1,rep,name=zones,proto3" json:"zones,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Deprecated: not implemented. Message for response to listing Zones
Deprecated: Marked as deprecated in google/cloud/edgenetwork/v1/service.proto.
func (*ListZonesResponse) Descriptor (deprecated)
func (*ListZonesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListZonesResponse.ProtoReflect.Descriptor instead.
func (*ListZonesResponse) GetNextPageToken (deprecated)
func (x *ListZonesResponse) GetNextPageToken() stringfunc (*ListZonesResponse) GetUnreachable (deprecated)
func (x *ListZonesResponse) GetUnreachable() []stringfunc (*ListZonesResponse) GetZones (deprecated)
func (x *ListZonesResponse) GetZones() []*Zonefunc (*ListZonesResponse) ProtoMessage (deprecated)
func (*ListZonesResponse) ProtoMessage()func (*ListZonesResponse) ProtoReflect (deprecated)
func (x *ListZonesResponse) ProtoReflect() protoreflect.Messagefunc (*ListZonesResponse) Reset (deprecated)
func (x *ListZonesResponse) Reset()func (*ListZonesResponse) String (deprecated)
func (x *ListZonesResponse) String() stringNetwork
type Network struct {
// Required. The canonical resource name of the network.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when the network was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the network was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels associated with this resource.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. A free-text description of the resource. Max length 1024
// characters.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// IP (L3) MTU value of the network.
// Valid values are: 1500 and 9000.
// Default to 1500 if not set.
Mtu int32 `protobuf:"varint,6,opt,name=mtu,proto3" json:"mtu,omitempty"`
// contains filtered or unexported fields
}Message describing Network object
func (*Network) Descriptor
Deprecated: Use Network.ProtoReflect.Descriptor instead.
func (*Network) GetCreateTime
func (x *Network) GetCreateTime() *timestamppb.Timestampfunc (*Network) GetDescription
func (*Network) GetLabels
func (*Network) GetMtu
func (*Network) GetName
func (*Network) GetUpdateTime
func (x *Network) GetUpdateTime() *timestamppb.Timestampfunc (*Network) ProtoMessage
func (*Network) ProtoMessage()func (*Network) ProtoReflect
func (x *Network) ProtoReflect() protoreflect.Messagefunc (*Network) Reset
func (x *Network) Reset()func (*Network) String
OperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have been cancelled successfully
// have [Operation.error][] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringRemotePeeringNetworkType
type RemotePeeringNetworkType int32Defines the remote peering destination for the interface. It is required when peering separation is enabled.
RemotePeeringNetworkType_REMOTE_PEERING_NETWORK_TYPE_UNSPECIFIED, RemotePeeringNetworkType_REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNAL, RemotePeeringNetworkType_REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNET
const (
// Unspecified.
RemotePeeringNetworkType_REMOTE_PEERING_NETWORK_TYPE_UNSPECIFIED RemotePeeringNetworkType = 0
// Customer's trusted internal network.
RemotePeeringNetworkType_REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNAL RemotePeeringNetworkType = 1
// Customer's untrust network that has internet access.
RemotePeeringNetworkType_REMOTE_PEERING_NETWORK_TYPE_CUSTOMER_INTERNET RemotePeeringNetworkType = 2
)func (RemotePeeringNetworkType) Descriptor
func (RemotePeeringNetworkType) Descriptor() protoreflect.EnumDescriptorfunc (RemotePeeringNetworkType) Enum
func (x RemotePeeringNetworkType) Enum() *RemotePeeringNetworkTypefunc (RemotePeeringNetworkType) EnumDescriptor
func (RemotePeeringNetworkType) EnumDescriptor() ([]byte, []int)Deprecated: Use RemotePeeringNetworkType.Descriptor instead.
func (RemotePeeringNetworkType) Number
func (x RemotePeeringNetworkType) Number() protoreflect.EnumNumberfunc (RemotePeeringNetworkType) String
func (x RemotePeeringNetworkType) String() stringfunc (RemotePeeringNetworkType) Type
func (RemotePeeringNetworkType) Type() protoreflect.EnumTypeResourceState
type ResourceState int32ResourceState describes the state the resource. A normal lifecycle of a new resource being created would be: PENDING -> PROVISIONING -> RUNNING. A normal lifecycle of an existing resource being deleted would be: RUNNING -> DELETING. Any failures during processing will result the resource to be in a SUSPENDED state.
ResourceState_STATE_UNKNOWN, ResourceState_STATE_PENDING, ResourceState_STATE_PROVISIONING, ResourceState_STATE_RUNNING, ResourceState_STATE_SUSPENDED, ResourceState_STATE_DELETING
const (
// Unspecified state.
ResourceState_STATE_UNKNOWN ResourceState = 0
// The resource is being prepared to be applied to the rack.
ResourceState_STATE_PENDING ResourceState = 1
// The resource has started being applied to the rack.
ResourceState_STATE_PROVISIONING ResourceState = 2
// The resource has been pushed to the rack.
ResourceState_STATE_RUNNING ResourceState = 3
// The resource failed to push to the rack.
ResourceState_STATE_SUSPENDED ResourceState = 4
// The resource is under deletion.
ResourceState_STATE_DELETING ResourceState = 5
)func (ResourceState) Descriptor
func (ResourceState) Descriptor() protoreflect.EnumDescriptorfunc (ResourceState) Enum
func (x ResourceState) Enum() *ResourceStatefunc (ResourceState) EnumDescriptor
func (ResourceState) EnumDescriptor() ([]byte, []int)Deprecated: Use ResourceState.Descriptor instead.
func (ResourceState) Number
func (x ResourceState) Number() protoreflect.EnumNumberfunc (ResourceState) String
func (x ResourceState) String() stringfunc (ResourceState) Type
func (ResourceState) Type() protoreflect.EnumTypeRouter
type Router struct {
// Required. The canonical resource name of the router.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when the router was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the router was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels associated with this resource.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. A free-text description of the resource. Max length 1024
// characters.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Required. The canonical name of the network to which this router belongs.
// The name is in the form of
// `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
// Router interfaces.
Interface []*Router_Interface `protobuf:"bytes,7,rep,name=interface,proto3" json:"interface,omitempty"`
// BGP peers.
BgpPeer []*Router_BgpPeer `protobuf:"bytes,8,rep,name=bgp_peer,json=bgpPeer,proto3" json:"bgp_peer,omitempty"`
// BGP information specific to this router.
Bgp *Router_Bgp `protobuf:"bytes,9,opt,name=bgp,proto3" json:"bgp,omitempty"`
// Output only. Current stage of the resource to the device by config push.
State ResourceState `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.edgenetwork.v1.ResourceState" json:"state,omitempty"`
// Optional. A list of CIDRs in IP/Length format to advertise northbound as
// static routes from this router.
RouteAdvertisements []string `protobuf:"bytes,11,rep,name=route_advertisements,json=routeAdvertisements,proto3" json:"route_advertisements,omitempty"`
// contains filtered or unexported fields
}Message describing Router object
func (*Router) Descriptor
Deprecated: Use Router.ProtoReflect.Descriptor instead.
func (*Router) GetBgp
func (x *Router) GetBgp() *Router_Bgpfunc (*Router) GetBgpPeer
func (x *Router) GetBgpPeer() []*Router_BgpPeerfunc (*Router) GetCreateTime
func (x *Router) GetCreateTime() *timestamppb.Timestampfunc (*Router) GetDescription
func (*Router) GetInterface
func (x *Router) GetInterface() []*Router_Interfacefunc (*Router) GetLabels
func (*Router) GetName
func (*Router) GetNetwork
func (*Router) GetRouteAdvertisements
func (*Router) GetState
func (x *Router) GetState() ResourceStatefunc (*Router) GetUpdateTime
func (x *Router) GetUpdateTime() *timestamppb.Timestampfunc (*Router) ProtoMessage
func (*Router) ProtoMessage()func (*Router) ProtoReflect
func (x *Router) ProtoReflect() protoreflect.Messagefunc (*Router) Reset
func (x *Router) Reset()func (*Router) String
RouterStatus
type RouterStatus struct {
// The canonical name of the network to which this router belongs.
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
// A list of BgpPeerStatus objects, describing all BGP peers related to this
// router.
BgpPeerStatus []*RouterStatus_BgpPeerStatus `protobuf:"bytes,2,rep,name=bgp_peer_status,json=bgpPeerStatus,proto3" json:"bgp_peer_status,omitempty"`
// contains filtered or unexported fields
}Describing the current status of a router.
func (*RouterStatus) Descriptor
func (*RouterStatus) Descriptor() ([]byte, []int)Deprecated: Use RouterStatus.ProtoReflect.Descriptor instead.
func (*RouterStatus) GetBgpPeerStatus
func (x *RouterStatus) GetBgpPeerStatus() []*RouterStatus_BgpPeerStatusfunc (*RouterStatus) GetNetwork
func (x *RouterStatus) GetNetwork() stringfunc (*RouterStatus) ProtoMessage
func (*RouterStatus) ProtoMessage()func (*RouterStatus) ProtoReflect
func (x *RouterStatus) ProtoReflect() protoreflect.Messagefunc (*RouterStatus) Reset
func (x *RouterStatus) Reset()func (*RouterStatus) String
func (x *RouterStatus) String() stringRouterStatus_BgpPeerStatus
type RouterStatus_BgpPeerStatus struct {
// Name of this BGP peer. Unique within the Routers resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// IP address of the local BGP interface.
IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// IP address of the remote BGP interface.
PeerIpAddress string `protobuf:"bytes,3,opt,name=peer_ip_address,json=peerIpAddress,proto3" json:"peer_ip_address,omitempty"`
// The current status of BGP.
Status RouterStatus_BgpPeerStatus_BgpStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.cloud.edgenetwork.v1.RouterStatus_BgpPeerStatus_BgpStatus" json:"status,omitempty"`
// BGP state as specified in RFC1771.
State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
// Time this session has been up.
// Format:
//
// 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
Uptime string `protobuf:"bytes,6,opt,name=uptime,proto3" json:"uptime,omitempty"`
// Time this session has been up, in seconds.
UptimeSeconds int64 `protobuf:"varint,7,opt,name=uptime_seconds,json=uptimeSeconds,proto3" json:"uptime_seconds,omitempty"`
// A collection of counts for prefixes.
PrefixCounter *RouterStatus_PrefixCounter `protobuf:"bytes,8,opt,name=prefix_counter,json=prefixCounter,proto3" json:"prefix_counter,omitempty"`
// contains filtered or unexported fields
}Status of a BGP peer.
func (*RouterStatus_BgpPeerStatus) Descriptor
func (*RouterStatus_BgpPeerStatus) Descriptor() ([]byte, []int)Deprecated: Use RouterStatus_BgpPeerStatus.ProtoReflect.Descriptor instead.
func (*RouterStatus_BgpPeerStatus) GetIpAddress
func (x *RouterStatus_BgpPeerStatus) GetIpAddress() stringfunc (*RouterStatus_BgpPeerStatus) GetName
func (x *RouterStatus_BgpPeerStatus) GetName() stringfunc (*RouterStatus_BgpPeerStatus) GetPeerIpAddress
func (x *RouterStatus_BgpPeerStatus) GetPeerIpAddress() stringfunc (*RouterStatus_BgpPeerStatus) GetPrefixCounter
func (x *RouterStatus_BgpPeerStatus) GetPrefixCounter() *RouterStatus_PrefixCounterfunc (*RouterStatus_BgpPeerStatus) GetState
func (x *RouterStatus_BgpPeerStatus) GetState() stringfunc (*RouterStatus_BgpPeerStatus) GetStatus
func (x *RouterStatus_BgpPeerStatus) GetStatus() RouterStatus_BgpPeerStatus_BgpStatusfunc (*RouterStatus_BgpPeerStatus) GetUptime
func (x *RouterStatus_BgpPeerStatus) GetUptime() stringfunc (*RouterStatus_BgpPeerStatus) GetUptimeSeconds
func (x *RouterStatus_BgpPeerStatus) GetUptimeSeconds() int64func (*RouterStatus_BgpPeerStatus) ProtoMessage
func (*RouterStatus_BgpPeerStatus) ProtoMessage()func (*RouterStatus_BgpPeerStatus) ProtoReflect
func (x *RouterStatus_BgpPeerStatus) ProtoReflect() protoreflect.Messagefunc (*RouterStatus_BgpPeerStatus) Reset
func (x *RouterStatus_BgpPeerStatus) Reset()func (*RouterStatus_BgpPeerStatus) String
func (x *RouterStatus_BgpPeerStatus) String() stringRouterStatus_BgpPeerStatus_BgpStatus
type RouterStatus_BgpPeerStatus_BgpStatus int32Status of the BGP peer: {UP, DOWN}
RouterStatus_BgpPeerStatus_UNKNOWN, RouterStatus_BgpPeerStatus_UP, RouterStatus_BgpPeerStatus_DOWN
const (
// The default status indicating BGP session is in unknown state.
RouterStatus_BgpPeerStatus_UNKNOWN RouterStatus_BgpPeerStatus_BgpStatus = 0
// The UP status indicating BGP session is established.
RouterStatus_BgpPeerStatus_UP RouterStatus_BgpPeerStatus_BgpStatus = 1
// The DOWN state indicating BGP session is not established yet.
RouterStatus_BgpPeerStatus_DOWN RouterStatus_BgpPeerStatus_BgpStatus = 2
)func (RouterStatus_BgpPeerStatus_BgpStatus) Descriptor
func (RouterStatus_BgpPeerStatus_BgpStatus) Descriptor() protoreflect.EnumDescriptorfunc (RouterStatus_BgpPeerStatus_BgpStatus) Enum
func (x RouterStatus_BgpPeerStatus_BgpStatus) Enum() *RouterStatus_BgpPeerStatus_BgpStatusfunc (RouterStatus_BgpPeerStatus_BgpStatus) EnumDescriptor
func (RouterStatus_BgpPeerStatus_BgpStatus) EnumDescriptor() ([]byte, []int)Deprecated: Use RouterStatus_BgpPeerStatus_BgpStatus.Descriptor instead.
func (RouterStatus_BgpPeerStatus_BgpStatus) Number
func (x RouterStatus_BgpPeerStatus_BgpStatus) Number() protoreflect.EnumNumberfunc (RouterStatus_BgpPeerStatus_BgpStatus) String
func (x RouterStatus_BgpPeerStatus_BgpStatus) String() stringfunc (RouterStatus_BgpPeerStatus_BgpStatus) Type
func (RouterStatus_BgpPeerStatus_BgpStatus) Type() protoreflect.EnumTypeRouterStatus_PrefixCounter
type RouterStatus_PrefixCounter struct {
// Number of prefixes advertised.
Advertised int64 `protobuf:"varint,1,opt,name=advertised,proto3" json:"advertised,omitempty"`
// Number of prefixes denied.
Denied int64 `protobuf:"varint,2,opt,name=denied,proto3" json:"denied,omitempty"`
// Number of prefixes received.
Received int64 `protobuf:"varint,3,opt,name=received,proto3" json:"received,omitempty"`
// Number of prefixes sent.
Sent int64 `protobuf:"varint,4,opt,name=sent,proto3" json:"sent,omitempty"`
// Number of prefixes suppressed.
Suppressed int64 `protobuf:"varint,5,opt,name=suppressed,proto3" json:"suppressed,omitempty"`
// Number of prefixes withdrawn.
Withdrawn int64 `protobuf:"varint,6,opt,name=withdrawn,proto3" json:"withdrawn,omitempty"`
// contains filtered or unexported fields
}PrefixCounter contains a collection of prefixes related counts.
func (*RouterStatus_PrefixCounter) Descriptor
func (*RouterStatus_PrefixCounter) Descriptor() ([]byte, []int)Deprecated: Use RouterStatus_PrefixCounter.ProtoReflect.Descriptor instead.
func (*RouterStatus_PrefixCounter) GetAdvertised
func (x *RouterStatus_PrefixCounter) GetAdvertised() int64func (*RouterStatus_PrefixCounter) GetDenied
func (x *RouterStatus_PrefixCounter) GetDenied() int64func (*RouterStatus_PrefixCounter) GetReceived
func (x *RouterStatus_PrefixCounter) GetReceived() int64func (*RouterStatus_PrefixCounter) GetSent
func (x *RouterStatus_PrefixCounter) GetSent() int64func (*RouterStatus_PrefixCounter) GetSuppressed
func (x *RouterStatus_PrefixCounter) GetSuppressed() int64func (*RouterStatus_PrefixCounter) GetWithdrawn
func (x *RouterStatus_PrefixCounter) GetWithdrawn() int64func (*RouterStatus_PrefixCounter) ProtoMessage
func (*RouterStatus_PrefixCounter) ProtoMessage()func (*RouterStatus_PrefixCounter) ProtoReflect
func (x *RouterStatus_PrefixCounter) ProtoReflect() protoreflect.Messagefunc (*RouterStatus_PrefixCounter) Reset
func (x *RouterStatus_PrefixCounter) Reset()func (*RouterStatus_PrefixCounter) String
func (x *RouterStatus_PrefixCounter) String() stringRouter_Bgp
type Router_Bgp struct {
// Locally assigned BGP ASN.
Asn uint32 `protobuf:"varint,1,opt,name=asn,proto3" json:"asn,omitempty"`
// The interval in seconds between BGP keepalive messages that are
// sent to the peer. Default is 20 with value between 20 and 60.
KeepaliveIntervalInSeconds uint32 `protobuf:"varint,2,opt,name=keepalive_interval_in_seconds,json=keepaliveIntervalInSeconds,proto3" json:"keepalive_interval_in_seconds,omitempty"`
// contains filtered or unexported fields
}BGP information specific to this router.
func (*Router_Bgp) Descriptor
func (*Router_Bgp) Descriptor() ([]byte, []int)Deprecated: Use Router_Bgp.ProtoReflect.Descriptor instead.
func (*Router_Bgp) GetAsn
func (x *Router_Bgp) GetAsn() uint32func (*Router_Bgp) GetKeepaliveIntervalInSeconds
func (x *Router_Bgp) GetKeepaliveIntervalInSeconds() uint32func (*Router_Bgp) ProtoMessage
func (*Router_Bgp) ProtoMessage()func (*Router_Bgp) ProtoReflect
func (x *Router_Bgp) ProtoReflect() protoreflect.Messagefunc (*Router_Bgp) Reset
func (x *Router_Bgp) Reset()func (*Router_Bgp) String
func (x *Router_Bgp) String() stringRouter_BgpPeer
type Router_BgpPeer struct {
// Name of this BGP peer. Unique within the Zones resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Name of the RouterInterface the BGP peer is associated with.
Interface string `protobuf:"bytes,2,opt,name=interface,proto3" json:"interface,omitempty"`
// IP range of the interface within Google.
InterfaceIpv4Cidr string `protobuf:"bytes,3,opt,name=interface_ipv4_cidr,json=interfaceIpv4Cidr,proto3" json:"interface_ipv4_cidr,omitempty"`
// IPv6 range of the interface within Google.
InterfaceIpv6Cidr string `protobuf:"bytes,7,opt,name=interface_ipv6_cidr,json=interfaceIpv6Cidr,proto3" json:"interface_ipv6_cidr,omitempty"`
// IP range of the BGP interface outside Google.
PeerIpv4Cidr string `protobuf:"bytes,4,opt,name=peer_ipv4_cidr,json=peerIpv4Cidr,proto3" json:"peer_ipv4_cidr,omitempty"`
// IPv6 range of the BGP interface outside Google.
PeerIpv6Cidr string `protobuf:"bytes,6,opt,name=peer_ipv6_cidr,json=peerIpv6Cidr,proto3" json:"peer_ipv6_cidr,omitempty"`
// Peer BGP Autonomous System Number (ASN). Each BGP interface may use
// a different value.
PeerAsn uint32 `protobuf:"varint,5,opt,name=peer_asn,json=peerAsn,proto3" json:"peer_asn,omitempty"`
// Output only. Local BGP Autonomous System Number (ASN).
// This field is ST_NOT_REQUIRED because it stores private ASNs, which are
// meaningless outside the zone in which they are being used.
LocalAsn uint32 `protobuf:"varint,8,opt,name=local_asn,json=localAsn,proto3" json:"local_asn,omitempty"`
// contains filtered or unexported fields
}BGPPeer defines the peer side layer-3 information for building the BGP session.
func (*Router_BgpPeer) Descriptor
func (*Router_BgpPeer) Descriptor() ([]byte, []int)Deprecated: Use Router_BgpPeer.ProtoReflect.Descriptor instead.
func (*Router_BgpPeer) GetInterface
func (x *Router_BgpPeer) GetInterface() stringfunc (*Router_BgpPeer) GetInterfaceIpv4Cidr
func (x *Router_BgpPeer) GetInterfaceIpv4Cidr() stringfunc (*Router_BgpPeer) GetInterfaceIpv6Cidr
func (x *Router_BgpPeer) GetInterfaceIpv6Cidr() stringfunc (*Router_BgpPeer) GetLocalAsn
func (x *Router_BgpPeer) GetLocalAsn() uint32func (*Router_BgpPeer) GetName
func (x *Router_BgpPeer) GetName() stringfunc (*Router_BgpPeer) GetPeerAsn
func (x *Router_BgpPeer) GetPeerAsn() uint32func (*Router_BgpPeer) GetPeerIpv4Cidr
func (x *Router_BgpPeer) GetPeerIpv4Cidr() stringfunc (*Router_BgpPeer) GetPeerIpv6Cidr
func (x *Router_BgpPeer) GetPeerIpv6Cidr() stringfunc (*Router_BgpPeer) ProtoMessage
func (*Router_BgpPeer) ProtoMessage()func (*Router_BgpPeer) ProtoReflect
func (x *Router_BgpPeer) ProtoReflect() protoreflect.Messagefunc (*Router_BgpPeer) Reset
func (x *Router_BgpPeer) Reset()func (*Router_BgpPeer) String
func (x *Router_BgpPeer) String() stringRouter_Interface
type Router_Interface struct {
// Name of this interface entry. Unique within the Zones resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// IP address and range of the interface.
Ipv4Cidr string `protobuf:"bytes,3,opt,name=ipv4_cidr,json=ipv4Cidr,proto3" json:"ipv4_cidr,omitempty"`
// IPv6 address and range of the interface.
Ipv6Cidr string `protobuf:"bytes,6,opt,name=ipv6_cidr,json=ipv6Cidr,proto3" json:"ipv6_cidr,omitempty"`
// The canonical name of the linked Interconnect attachment.
LinkedInterconnectAttachment string `protobuf:"bytes,2,opt,name=linked_interconnect_attachment,json=linkedInterconnectAttachment,proto3" json:"linked_interconnect_attachment,omitempty"`
// The canonical name of the subnetwork resource that this interface
// belongs to.
Subnetwork string `protobuf:"bytes,4,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
// Create loopback interface in the router when specified.
// The number of IP addresses must match the number of TOR devices.
LoopbackIpAddresses []string `protobuf:"bytes,5,rep,name=loopback_ip_addresses,json=loopbackIpAddresses,proto3" json:"loopback_ip_addresses,omitempty"`
// contains filtered or unexported fields
}Router Interface defines the GDCE zone side layer-3 information for building the BGP session.
func (*Router_Interface) Descriptor
func (*Router_Interface) Descriptor() ([]byte, []int)Deprecated: Use Router_Interface.ProtoReflect.Descriptor instead.
func (*Router_Interface) GetIpv4Cidr
func (x *Router_Interface) GetIpv4Cidr() stringfunc (*Router_Interface) GetIpv6Cidr
func (x *Router_Interface) GetIpv6Cidr() stringfunc (*Router_Interface) GetLinkedInterconnectAttachment
func (x *Router_Interface) GetLinkedInterconnectAttachment() stringfunc (*Router_Interface) GetLoopbackIpAddresses
func (x *Router_Interface) GetLoopbackIpAddresses() []stringfunc (*Router_Interface) GetName
func (x *Router_Interface) GetName() stringfunc (*Router_Interface) GetSubnetwork
func (x *Router_Interface) GetSubnetwork() stringfunc (*Router_Interface) ProtoMessage
func (*Router_Interface) ProtoMessage()func (*Router_Interface) ProtoReflect
func (x *Router_Interface) ProtoReflect() protoreflect.Messagefunc (*Router_Interface) Reset
func (x *Router_Interface) Reset()func (*Router_Interface) String
func (x *Router_Interface) String() stringSubnet
type Subnet struct {
// Required. The canonical resource name of the subnet.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when the subnet was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the subnet was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels associated with this resource.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. A free-text description of the resource. Max length 1024
// characters.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Required. The network that this subnetwork belongs to.
Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
// The ranges of ipv4 addresses that are owned by this subnetwork.
Ipv4Cidr []string `protobuf:"bytes,7,rep,name=ipv4_cidr,json=ipv4Cidr,proto3" json:"ipv4_cidr,omitempty"`
// The ranges of ipv6 addresses that are owned by this subnetwork.
Ipv6Cidr []string `protobuf:"bytes,8,rep,name=ipv6_cidr,json=ipv6Cidr,proto3" json:"ipv6_cidr,omitempty"`
// Optional. VLAN id provided by user. If not specified we assign one
// automatically.
VlanId int32 `protobuf:"varint,9,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"`
// Optional. A bonding type in the subnet creation specifies whether a VLAN
// being created will be present on Bonded or Non-Bonded or Both port types.
// In addition, this flag is to be used to set the specific network
// configuration which clusters can then use for their workloads based on the
// bonding choice.
BondingType Subnet_BondingType `protobuf:"varint,11,opt,name=bonding_type,json=bondingType,proto3,enum=google.cloud.edgenetwork.v1.Subnet_BondingType" json:"bonding_type,omitempty"`
// Output only. Current stage of the resource to the device by config push.
State ResourceState `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.edgenetwork.v1.ResourceState" json:"state,omitempty"`
// contains filtered or unexported fields
}Message describing Subnet object
func (*Subnet) Descriptor
Deprecated: Use Subnet.ProtoReflect.Descriptor instead.
func (*Subnet) GetBondingType
func (x *Subnet) GetBondingType() Subnet_BondingTypefunc (*Subnet) GetCreateTime
func (x *Subnet) GetCreateTime() *timestamppb.Timestampfunc (*Subnet) GetDescription
func (*Subnet) GetIpv4Cidr
func (*Subnet) GetIpv6Cidr
func (*Subnet) GetLabels
func (*Subnet) GetName
func (*Subnet) GetNetwork
func (*Subnet) GetState
func (x *Subnet) GetState() ResourceStatefunc (*Subnet) GetUpdateTime
func (x *Subnet) GetUpdateTime() *timestamppb.Timestampfunc (*Subnet) GetVlanId
func (*Subnet) ProtoMessage
func (*Subnet) ProtoMessage()func (*Subnet) ProtoReflect
func (x *Subnet) ProtoReflect() protoreflect.Messagefunc (*Subnet) Reset
func (x *Subnet) Reset()func (*Subnet) String
SubnetStatus
type SubnetStatus struct {
// The name of CCFE subnet resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// BVI MAC address.
MacAddress string `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
// A list of LinkLayerAddress, describing the ip address and corresponding
// link-layer address of the neighbors for this subnet.
LinkLayerAddresses []*LinkLayerAddress `protobuf:"bytes,3,rep,name=link_layer_addresses,json=linkLayerAddresses,proto3" json:"link_layer_addresses,omitempty"`
// contains filtered or unexported fields
}SubnetStatus contains detailed and current technical information about this subnet resource.
func (*SubnetStatus) Descriptor
func (*SubnetStatus) Descriptor() ([]byte, []int)Deprecated: Use SubnetStatus.ProtoReflect.Descriptor instead.
func (*SubnetStatus) GetLinkLayerAddresses
func (x *SubnetStatus) GetLinkLayerAddresses() []*LinkLayerAddressfunc (*SubnetStatus) GetMacAddress
func (x *SubnetStatus) GetMacAddress() stringfunc (*SubnetStatus) GetName
func (x *SubnetStatus) GetName() stringfunc (*SubnetStatus) ProtoMessage
func (*SubnetStatus) ProtoMessage()func (*SubnetStatus) ProtoReflect
func (x *SubnetStatus) ProtoReflect() protoreflect.Messagefunc (*SubnetStatus) Reset
func (x *SubnetStatus) Reset()func (*SubnetStatus) String
func (x *SubnetStatus) String() stringSubnet_BondingType
type Subnet_BondingType int32Bonding type in the subnet.
Subnet_BONDING_TYPE_UNSPECIFIED, Subnet_BONDED, Subnet_NON_BONDED
const (
// Unspecified
// Bonding type will be unspecified by default and if the user chooses to
// not specify a bonding type at time of creating the VLAN. This will be
// treated as mixed bonding where the VLAN will have both bonded and
// non-bonded connectivity to machines.
Subnet_BONDING_TYPE_UNSPECIFIED Subnet_BondingType = 0
// Multi homed.
Subnet_BONDED Subnet_BondingType = 1
// Single homed.
Subnet_NON_BONDED Subnet_BondingType = 2
)func (Subnet_BondingType) Descriptor
func (Subnet_BondingType) Descriptor() protoreflect.EnumDescriptorfunc (Subnet_BondingType) Enum
func (x Subnet_BondingType) Enum() *Subnet_BondingTypefunc (Subnet_BondingType) EnumDescriptor
func (Subnet_BondingType) EnumDescriptor() ([]byte, []int)Deprecated: Use Subnet_BondingType.Descriptor instead.
func (Subnet_BondingType) Number
func (x Subnet_BondingType) Number() protoreflect.EnumNumberfunc (Subnet_BondingType) String
func (x Subnet_BondingType) String() stringfunc (Subnet_BondingType) Type
func (Subnet_BondingType) Type() protoreflect.EnumTypeUnimplementedEdgeNetworkServer
type UnimplementedEdgeNetworkServer struct {
}UnimplementedEdgeNetworkServer should be embedded to have forward compatible implementations.
func (UnimplementedEdgeNetworkServer) CreateInterconnectAttachment
func (UnimplementedEdgeNetworkServer) CreateInterconnectAttachment(context.Context, *CreateInterconnectAttachmentRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeNetworkServer) CreateNetwork
func (UnimplementedEdgeNetworkServer) CreateNetwork(context.Context, *CreateNetworkRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeNetworkServer) CreateRouter
func (UnimplementedEdgeNetworkServer) CreateRouter(context.Context, *CreateRouterRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeNetworkServer) CreateSubnet
func (UnimplementedEdgeNetworkServer) CreateSubnet(context.Context, *CreateSubnetRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeNetworkServer) DeleteInterconnectAttachment
func (UnimplementedEdgeNetworkServer) DeleteInterconnectAttachment(context.Context, *DeleteInterconnectAttachmentRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeNetworkServer) DeleteNetwork
func (UnimplementedEdgeNetworkServer) DeleteNetwork(context.Context, *DeleteNetworkRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeNetworkServer) DeleteRouter
func (UnimplementedEdgeNetworkServer) DeleteRouter(context.Context, *DeleteRouterRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeNetworkServer) DeleteSubnet
func (UnimplementedEdgeNetworkServer) DeleteSubnet(context.Context, *DeleteSubnetRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeNetworkServer) DiagnoseInterconnect
func (UnimplementedEdgeNetworkServer) DiagnoseInterconnect(context.Context, *DiagnoseInterconnectRequest) (*DiagnoseInterconnectResponse, error)func (UnimplementedEdgeNetworkServer) DiagnoseNetwork
func (UnimplementedEdgeNetworkServer) DiagnoseNetwork(context.Context, *DiagnoseNetworkRequest) (*DiagnoseNetworkResponse, error)func (UnimplementedEdgeNetworkServer) DiagnoseRouter
func (UnimplementedEdgeNetworkServer) DiagnoseRouter(context.Context, *DiagnoseRouterRequest) (*DiagnoseRouterResponse, error)func (UnimplementedEdgeNetworkServer) GetInterconnect
func (UnimplementedEdgeNetworkServer) GetInterconnect(context.Context, *GetInterconnectRequest) (*Interconnect, error)func (UnimplementedEdgeNetworkServer) GetInterconnectAttachment
func (UnimplementedEdgeNetworkServer) GetInterconnectAttachment(context.Context, *GetInterconnectAttachmentRequest) (*InterconnectAttachment, error)func (UnimplementedEdgeNetworkServer) GetNetwork
func (UnimplementedEdgeNetworkServer) GetNetwork(context.Context, *GetNetworkRequest) (*Network, error)func (UnimplementedEdgeNetworkServer) GetRouter
func (UnimplementedEdgeNetworkServer) GetRouter(context.Context, *GetRouterRequest) (*Router, error)func (UnimplementedEdgeNetworkServer) GetSubnet
func (UnimplementedEdgeNetworkServer) GetSubnet(context.Context, *GetSubnetRequest) (*Subnet, error)func (UnimplementedEdgeNetworkServer) GetZone
func (UnimplementedEdgeNetworkServer) GetZone(context.Context, *GetZoneRequest) (*Zone, error)func (UnimplementedEdgeNetworkServer) InitializeZone
func (UnimplementedEdgeNetworkServer) InitializeZone(context.Context, *InitializeZoneRequest) (*InitializeZoneResponse, error)func (UnimplementedEdgeNetworkServer) ListInterconnectAttachments
func (UnimplementedEdgeNetworkServer) ListInterconnectAttachments(context.Context, *ListInterconnectAttachmentsRequest) (*ListInterconnectAttachmentsResponse, error)func (UnimplementedEdgeNetworkServer) ListInterconnects
func (UnimplementedEdgeNetworkServer) ListInterconnects(context.Context, *ListInterconnectsRequest) (*ListInterconnectsResponse, error)func (UnimplementedEdgeNetworkServer) ListNetworks
func (UnimplementedEdgeNetworkServer) ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)func (UnimplementedEdgeNetworkServer) ListRouters
func (UnimplementedEdgeNetworkServer) ListRouters(context.Context, *ListRoutersRequest) (*ListRoutersResponse, error)func (UnimplementedEdgeNetworkServer) ListSubnets
func (UnimplementedEdgeNetworkServer) ListSubnets(context.Context, *ListSubnetsRequest) (*ListSubnetsResponse, error)func (UnimplementedEdgeNetworkServer) ListZones
func (UnimplementedEdgeNetworkServer) ListZones(context.Context, *ListZonesRequest) (*ListZonesResponse, error)func (UnimplementedEdgeNetworkServer) UpdateRouter
func (UnimplementedEdgeNetworkServer) UpdateRouter(context.Context, *UpdateRouterRequest) (*longrunningpb.Operation, error)func (UnimplementedEdgeNetworkServer) UpdateSubnet
func (UnimplementedEdgeNetworkServer) UpdateSubnet(context.Context, *UpdateSubnetRequest) (*longrunningpb.Operation, error)UnsafeEdgeNetworkServer
type UnsafeEdgeNetworkServer interface {
// contains filtered or unexported methods
}UnsafeEdgeNetworkServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EdgeNetworkServer will result in compilation errors.
UpdateRouterRequest
type UpdateRouterRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Router resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
Router *Router `protobuf:"bytes,2,opt,name=router,proto3" json:"router,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a Router
func (*UpdateRouterRequest) Descriptor
func (*UpdateRouterRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateRouterRequest.ProtoReflect.Descriptor instead.
func (*UpdateRouterRequest) GetRequestId
func (x *UpdateRouterRequest) GetRequestId() stringfunc (*UpdateRouterRequest) GetRouter
func (x *UpdateRouterRequest) GetRouter() *Routerfunc (*UpdateRouterRequest) GetUpdateMask
func (x *UpdateRouterRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateRouterRequest) ProtoMessage
func (*UpdateRouterRequest) ProtoMessage()func (*UpdateRouterRequest) ProtoReflect
func (x *UpdateRouterRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateRouterRequest) Reset
func (x *UpdateRouterRequest) Reset()func (*UpdateRouterRequest) String
func (x *UpdateRouterRequest) String() stringUpdateSubnetRequest
type UpdateSubnetRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Subnet resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
Subnet *Subnet `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a Subnet
func (*UpdateSubnetRequest) Descriptor
func (*UpdateSubnetRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateSubnetRequest.ProtoReflect.Descriptor instead.
func (*UpdateSubnetRequest) GetRequestId
func (x *UpdateSubnetRequest) GetRequestId() stringfunc (*UpdateSubnetRequest) GetSubnet
func (x *UpdateSubnetRequest) GetSubnet() *Subnetfunc (*UpdateSubnetRequest) GetUpdateMask
func (x *UpdateSubnetRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateSubnetRequest) ProtoMessage
func (*UpdateSubnetRequest) ProtoMessage()func (*UpdateSubnetRequest) ProtoReflect
func (x *UpdateSubnetRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateSubnetRequest) Reset
func (x *UpdateSubnetRequest) Reset()func (*UpdateSubnetRequest) String
func (x *UpdateSubnetRequest) String() stringZone
type Zone struct {
// Required. The resource name of the zone.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when the zone was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the zone was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Deprecated: not implemented.
// Labels as key value pairs.
//
// Deprecated: Marked as deprecated in google/cloud/edgenetwork/v1/resources.proto.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Deprecated: not implemented.
// The deployment layout type.
//
// Deprecated: Marked as deprecated in google/cloud/edgenetwork/v1/resources.proto.
LayoutName string `protobuf:"bytes,5,opt,name=layout_name,json=layoutName,proto3" json:"layout_name,omitempty"`
// contains filtered or unexported fields
}A Google Edge Cloud zone.
func (*Zone) Descriptor
Deprecated: Use Zone.ProtoReflect.Descriptor instead.
func (*Zone) GetCreateTime
func (x *Zone) GetCreateTime() *timestamppb.Timestampfunc (*Zone) GetLabels
Deprecated: Marked as deprecated in google/cloud/edgenetwork/v1/resources.proto.
func (*Zone) GetLayoutName
Deprecated: Marked as deprecated in google/cloud/edgenetwork/v1/resources.proto.
func (*Zone) GetName
func (*Zone) GetUpdateTime
func (x *Zone) GetUpdateTime() *timestamppb.Timestampfunc (*Zone) ProtoMessage
func (*Zone) ProtoMessage()func (*Zone) ProtoReflect
func (x *Zone) ProtoReflect() protoreflect.Messagefunc (*Zone) Reset
func (x *Zone) Reset()