networkconnectivitycloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb Index | Files

package networkconnectivitypb

import "cloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb"

Index

Variables

var (
	LocationFeature_name = map[int32]string{
		0: "LOCATION_FEATURE_UNSPECIFIED",
		1: "SITE_TO_CLOUD_SPOKES",
		2: "SITE_TO_SITE_SPOKES",
	}
	LocationFeature_value = map[string]int32{
		"LOCATION_FEATURE_UNSPECIFIED": 0,
		"SITE_TO_CLOUD_SPOKES":         1,
		"SITE_TO_SITE_SPOKES":          2,
	}
)

Enum value maps for LocationFeature.

var (
	RouteType_name = map[int32]string{
		0: "ROUTE_TYPE_UNSPECIFIED",
		1: "VPC_PRIMARY_SUBNET",
		2: "VPC_SECONDARY_SUBNET",
		3: "DYNAMIC_ROUTE",
	}
	RouteType_value = map[string]int32{
		"ROUTE_TYPE_UNSPECIFIED": 0,
		"VPC_PRIMARY_SUBNET":     1,
		"VPC_SECONDARY_SUBNET":   2,
		"DYNAMIC_ROUTE":          3,
	}
)

Enum value maps for RouteType.

var (
	State_name = map[int32]string{
		0:  "STATE_UNSPECIFIED",
		1:  "CREATING",
		2:  "ACTIVE",
		3:  "DELETING",
		8:  "ACCEPTING",
		9:  "REJECTING",
		6:  "UPDATING",
		7:  "INACTIVE",
		10: "OBSOLETE",
	}
	State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"DELETING":          3,
		"ACCEPTING":         8,
		"REJECTING":         9,
		"UPDATING":          6,
		"INACTIVE":          7,
		"OBSOLETE":          10,
	}
)

Enum value maps for State.

var (
	SpokeType_name = map[int32]string{
		0: "SPOKE_TYPE_UNSPECIFIED",
		1: "VPN_TUNNEL",
		2: "INTERCONNECT_ATTACHMENT",
		3: "ROUTER_APPLIANCE",
		4: "VPC_NETWORK",
		7: "PRODUCER_VPC_NETWORK",
	}
	SpokeType_value = map[string]int32{
		"SPOKE_TYPE_UNSPECIFIED":  0,
		"VPN_TUNNEL":              1,
		"INTERCONNECT_ATTACHMENT": 2,
		"ROUTER_APPLIANCE":        3,
		"VPC_NETWORK":             4,
		"PRODUCER_VPC_NETWORK":    7,
	}
)

Enum value maps for SpokeType.

var (
	PolicyMode_name = map[int32]string{
		0: "POLICY_MODE_UNSPECIFIED",
		1: "PRESET",
	}
	PolicyMode_value = map[string]int32{
		"POLICY_MODE_UNSPECIFIED": 0,
		"PRESET":                  1,
	}
)

Enum value maps for PolicyMode.

var (
	PresetTopology_name = map[int32]string{
		0: "PRESET_TOPOLOGY_UNSPECIFIED",
		2: "MESH",
		3: "STAR",
	}
	PresetTopology_value = map[string]int32{
		"PRESET_TOPOLOGY_UNSPECIFIED": 0,
		"MESH":                        2,
		"STAR":                        3,
	}
)

Enum value maps for PresetTopology.

var (
	Spoke_StateReason_Code_name = map[int32]string{
		0: "CODE_UNSPECIFIED",
		1: "PENDING_REVIEW",
		2: "REJECTED",
		3: "PAUSED",
		4: "FAILED",
	}
	Spoke_StateReason_Code_value = map[string]int32{
		"CODE_UNSPECIFIED": 0,
		"PENDING_REVIEW":   1,
		"REJECTED":         2,
		"PAUSED":           3,
		"FAILED":           4,
	}
)

Enum value maps for Spoke_StateReason_Code.

var (
	ListHubSpokesRequest_SpokeView_name = map[int32]string{
		0: "SPOKE_VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "DETAILED",
	}
	ListHubSpokesRequest_SpokeView_value = map[string]int32{
		"SPOKE_VIEW_UNSPECIFIED": 0,
		"BASIC":                  1,
		"DETAILED":               2,
	}
)

Enum value maps for ListHubSpokesRequest_SpokeView.

var (
	PscPropagationStatus_Code_name = map[int32]string{
		0: "CODE_UNSPECIFIED",
		1: "READY",
		2: "PROPAGATING",
		3: "ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED",
		4: "ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED",
		5: "ERROR_PRODUCER_QUOTA_EXCEEDED",
		6: "ERROR_CONSUMER_QUOTA_EXCEEDED",
	}
	PscPropagationStatus_Code_value = map[string]int32{
		"CODE_UNSPECIFIED": 0,
		"READY":            1,
		"PROPAGATING":      2,
		"ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED": 3,
		"ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED":               4,
		"ERROR_PRODUCER_QUOTA_EXCEEDED":                       5,
		"ERROR_CONSUMER_QUOTA_EXCEEDED":                       6,
	}
)

Enum value maps for PscPropagationStatus_Code.

var (
	PolicyBasedRoute_OtherRoutes_name = map[int32]string{
		0: "OTHER_ROUTES_UNSPECIFIED",
		1: "DEFAULT_ROUTING",
	}
	PolicyBasedRoute_OtherRoutes_value = map[string]int32{
		"OTHER_ROUTES_UNSPECIFIED": 0,
		"DEFAULT_ROUTING":          1,
	}
)

Enum value maps for PolicyBasedRoute_OtherRoutes.

var (
	PolicyBasedRoute_Filter_ProtocolVersion_name = map[int32]string{
		0: "PROTOCOL_VERSION_UNSPECIFIED",
		1: "IPV4",
	}
	PolicyBasedRoute_Filter_ProtocolVersion_value = map[string]int32{
		"PROTOCOL_VERSION_UNSPECIFIED": 0,
		"IPV4":                         1,
	}
)

Enum value maps for PolicyBasedRoute_Filter_ProtocolVersion.

var (
	PolicyBasedRoute_Warnings_Code_name = map[int32]string{
		0: "WARNING_UNSPECIFIED",
		1: "RESOURCE_NOT_ACTIVE",
		2: "RESOURCE_BEING_MODIFIED",
	}
	PolicyBasedRoute_Warnings_Code_value = map[string]int32{
		"WARNING_UNSPECIFIED":     0,
		"RESOURCE_NOT_ACTIVE":     1,
		"RESOURCE_BEING_MODIFIED": 2,
	}
)

Enum value maps for PolicyBasedRoute_Warnings_Code.

var File_google_cloud_networkconnectivity_v1_common_proto protoreflect.FileDescriptor
var File_google_cloud_networkconnectivity_v1_hub_proto protoreflect.FileDescriptor
var File_google_cloud_networkconnectivity_v1_policy_based_routing_proto protoreflect.FileDescriptor

Functions

func RegisterHubServiceServer

func RegisterHubServiceServer(s *grpc.Server, srv HubServiceServer)

func RegisterPolicyBasedRoutingServiceServer

func RegisterPolicyBasedRoutingServiceServer(s *grpc.Server, srv PolicyBasedRoutingServiceServer)

Types

type AcceptHubSpokeRequest

type AcceptHubSpokeRequest struct {

	// Required. The name of the hub into which to accept the spoke.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The URI of the spoke to accept into the hub.
	SpokeUri string `protobuf:"bytes,2,opt,name=spoke_uri,json=spokeUri,proto3" json:"spoke_uri,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// 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 to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly 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
}

The request for [HubService.AcceptHubSpoke][google.cloud.networkconnectivity.v1.HubService.AcceptHubSpoke].

func (*AcceptHubSpokeRequest) Descriptor

func (*AcceptHubSpokeRequest) Descriptor() ([]byte, []int)

Deprecated: Use AcceptHubSpokeRequest.ProtoReflect.Descriptor instead.

func (*AcceptHubSpokeRequest) GetName

func (x *AcceptHubSpokeRequest) GetName() string

func (*AcceptHubSpokeRequest) GetRequestId

func (x *AcceptHubSpokeRequest) GetRequestId() string

func (*AcceptHubSpokeRequest) GetSpokeUri

func (x *AcceptHubSpokeRequest) GetSpokeUri() string

func (*AcceptHubSpokeRequest) ProtoMessage

func (*AcceptHubSpokeRequest) ProtoMessage()

func (*AcceptHubSpokeRequest) ProtoReflect

func (x *AcceptHubSpokeRequest) ProtoReflect() protoreflect.Message

func (*AcceptHubSpokeRequest) Reset

func (x *AcceptHubSpokeRequest) Reset()

func (*AcceptHubSpokeRequest) String

func (x *AcceptHubSpokeRequest) String() string

type AcceptHubSpokeResponse

type AcceptHubSpokeResponse struct {

	// The spoke that was operated on.
	Spoke *Spoke `protobuf:"bytes,1,opt,name=spoke,proto3" json:"spoke,omitempty"`
	// contains filtered or unexported fields
}

The response for [HubService.AcceptHubSpoke][google.cloud.networkconnectivity.v1.HubService.AcceptHubSpoke].

func (*AcceptHubSpokeResponse) Descriptor

func (*AcceptHubSpokeResponse) Descriptor() ([]byte, []int)

Deprecated: Use AcceptHubSpokeResponse.ProtoReflect.Descriptor instead.

func (*AcceptHubSpokeResponse) GetSpoke

func (x *AcceptHubSpokeResponse) GetSpoke() *Spoke

func (*AcceptHubSpokeResponse) ProtoMessage

func (*AcceptHubSpokeResponse) ProtoMessage()

func (*AcceptHubSpokeResponse) ProtoReflect

func (x *AcceptHubSpokeResponse) ProtoReflect() protoreflect.Message

func (*AcceptHubSpokeResponse) Reset

func (x *AcceptHubSpokeResponse) Reset()

func (*AcceptHubSpokeResponse) String

func (x *AcceptHubSpokeResponse) String() string

type AutoAccept

type AutoAccept struct {

	// A list of project ids or project numbers for which you want
	// to enable auto-accept. The auto-accept setting is applied to
	// spokes being created or updated in these projects.
	AutoAcceptProjects []string `protobuf:"bytes,1,rep,name=auto_accept_projects,json=autoAcceptProjects,proto3" json:"auto_accept_projects,omitempty"`
	// contains filtered or unexported fields
}

The auto-accept setting for a group controls whether proposed spokes are automatically attached to the hub. If auto-accept is enabled, the spoke immediately is attached to the hub and becomes part of the group. In this case, the new spoke is in the ACTIVE state. If auto-accept is disabled, the spoke goes to the INACTIVE state, and it must be reviewed and accepted by a hub administrator.

func (*AutoAccept) Descriptor

func (*AutoAccept) Descriptor() ([]byte, []int)

Deprecated: Use AutoAccept.ProtoReflect.Descriptor instead.

func (*AutoAccept) GetAutoAcceptProjects

func (x *AutoAccept) GetAutoAcceptProjects() []string

func (*AutoAccept) ProtoMessage

func (*AutoAccept) ProtoMessage()

func (*AutoAccept) ProtoReflect

func (x *AutoAccept) ProtoReflect() protoreflect.Message

func (*AutoAccept) Reset

func (x *AutoAccept) Reset()

func (*AutoAccept) String

func (x *AutoAccept) String() string

type CreateHubRequest

type CreateHubRequest struct {

	// Required. The parent resource.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. A unique identifier for the hub.
	HubId string `protobuf:"bytes,2,opt,name=hub_id,json=hubId,proto3" json:"hub_id,omitempty"`
	// Required. The initial values for a new hub.
	Hub *Hub `protobuf:"bytes,3,opt,name=hub,proto3" json:"hub,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// 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 to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly 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
}

Request for [HubService.CreateHub][google.cloud.networkconnectivity.v1.HubService.CreateHub] method.

func (*CreateHubRequest) Descriptor

func (*CreateHubRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateHubRequest.ProtoReflect.Descriptor instead.

func (*CreateHubRequest) GetHub

func (x *CreateHubRequest) GetHub() *Hub

func (*CreateHubRequest) GetHubId

func (x *CreateHubRequest) GetHubId() string

func (*CreateHubRequest) GetParent

func (x *CreateHubRequest) GetParent() string

func (*CreateHubRequest) GetRequestId

func (x *CreateHubRequest) GetRequestId() string

func (*CreateHubRequest) ProtoMessage

func (*CreateHubRequest) ProtoMessage()

func (*CreateHubRequest) ProtoReflect

func (x *CreateHubRequest) ProtoReflect() protoreflect.Message

func (*CreateHubRequest) Reset

func (x *CreateHubRequest) Reset()

func (*CreateHubRequest) String

func (x *CreateHubRequest) String() string

type CreatePolicyBasedRouteRequest

type CreatePolicyBasedRouteRequest struct {

	// Required. The parent resource's name of the PolicyBasedRoute.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Unique id for the Policy Based Route to create.
	PolicyBasedRouteId string `protobuf:"bytes,2,opt,name=policy_based_route_id,json=policyBasedRouteId,proto3" json:"policy_based_route_id,omitempty"`
	// Required. Initial values for a new Policy Based Route.
	PolicyBasedRoute *PolicyBasedRoute `protobuf:"bytes,3,opt,name=policy_based_route,json=policyBasedRoute,proto3" json:"policy_based_route,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
}

Request for [PolicyBasedRouting.CreatePolicyBasedRoute][] method.

func (*CreatePolicyBasedRouteRequest) Descriptor

func (*CreatePolicyBasedRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreatePolicyBasedRouteRequest.ProtoReflect.Descriptor instead.

func (*CreatePolicyBasedRouteRequest) GetParent

func (x *CreatePolicyBasedRouteRequest) GetParent() string

func (*CreatePolicyBasedRouteRequest) GetPolicyBasedRoute

func (x *CreatePolicyBasedRouteRequest) GetPolicyBasedRoute() *PolicyBasedRoute

func (*CreatePolicyBasedRouteRequest) GetPolicyBasedRouteId

func (x *CreatePolicyBasedRouteRequest) GetPolicyBasedRouteId() string

func (*CreatePolicyBasedRouteRequest) GetRequestId

func (x *CreatePolicyBasedRouteRequest) GetRequestId() string

func (*CreatePolicyBasedRouteRequest) ProtoMessage

func (*CreatePolicyBasedRouteRequest) ProtoMessage()

func (*CreatePolicyBasedRouteRequest) ProtoReflect

func (*CreatePolicyBasedRouteRequest) Reset

func (x *CreatePolicyBasedRouteRequest) Reset()

func (*CreatePolicyBasedRouteRequest) String

type CreateSpokeRequest

type CreateSpokeRequest struct {

	// Required. The parent resource.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Unique id for the spoke to create.
	SpokeId string `protobuf:"bytes,2,opt,name=spoke_id,json=spokeId,proto3" json:"spoke_id,omitempty"`
	// Required. The initial values for a new spoke.
	Spoke *Spoke `protobuf:"bytes,3,opt,name=spoke,proto3" json:"spoke,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// 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 to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly 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
}

The request for [HubService.CreateSpoke][google.cloud.networkconnectivity.v1.HubService.CreateSpoke].

func (*CreateSpokeRequest) Descriptor

func (*CreateSpokeRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSpokeRequest.ProtoReflect.Descriptor instead.

func (*CreateSpokeRequest) GetParent

func (x *CreateSpokeRequest) GetParent() string

func (*CreateSpokeRequest) GetRequestId

func (x *CreateSpokeRequest) GetRequestId() string

func (*CreateSpokeRequest) GetSpoke

func (x *CreateSpokeRequest) GetSpoke() *Spoke

func (*CreateSpokeRequest) GetSpokeId

func (x *CreateSpokeRequest) GetSpokeId() string

func (*CreateSpokeRequest) ProtoMessage

func (*CreateSpokeRequest) ProtoMessage()

func (*CreateSpokeRequest) ProtoReflect

func (x *CreateSpokeRequest) ProtoReflect() protoreflect.Message

func (*CreateSpokeRequest) Reset

func (x *CreateSpokeRequest) Reset()

func (*CreateSpokeRequest) String

func (x *CreateSpokeRequest) String() string

type DeleteHubRequest

type DeleteHubRequest struct {

	// Required. The name of the hub to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// 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 to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly 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
}

The request for [HubService.DeleteHub][google.cloud.networkconnectivity.v1.HubService.DeleteHub].

func (*DeleteHubRequest) Descriptor

func (*DeleteHubRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteHubRequest.ProtoReflect.Descriptor instead.

func (*DeleteHubRequest) GetName

func (x *DeleteHubRequest) GetName() string

func (*DeleteHubRequest) GetRequestId

func (x *DeleteHubRequest) GetRequestId() string

func (*DeleteHubRequest) ProtoMessage

func (*DeleteHubRequest) ProtoMessage()

func (*DeleteHubRequest) ProtoReflect

func (x *DeleteHubRequest) ProtoReflect() protoreflect.Message

func (*DeleteHubRequest) Reset

func (x *DeleteHubRequest) Reset()

func (*DeleteHubRequest) String

func (x *DeleteHubRequest) String() string

type DeletePolicyBasedRouteRequest

type DeletePolicyBasedRouteRequest struct {

	// Required. Name of the PolicyBasedRoute resource to delete.
	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
}

Request for [PolicyBasedRouting.DeletePolicyBasedRoute][] method.

func (*DeletePolicyBasedRouteRequest) Descriptor

func (*DeletePolicyBasedRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePolicyBasedRouteRequest.ProtoReflect.Descriptor instead.

func (*DeletePolicyBasedRouteRequest) GetName

func (*DeletePolicyBasedRouteRequest) GetRequestId

func (x *DeletePolicyBasedRouteRequest) GetRequestId() string

func (*DeletePolicyBasedRouteRequest) ProtoMessage

func (*DeletePolicyBasedRouteRequest) ProtoMessage()

func (*DeletePolicyBasedRouteRequest) ProtoReflect

func (*DeletePolicyBasedRouteRequest) Reset

func (x *DeletePolicyBasedRouteRequest) Reset()

func (*DeletePolicyBasedRouteRequest) String

type DeleteSpokeRequest

type DeleteSpokeRequest struct {

	// Required. The name of the spoke to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// 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 to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly 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
}

The request for [HubService.DeleteSpoke][google.cloud.networkconnectivity.v1.HubService.DeleteSpoke].

func (*DeleteSpokeRequest) Descriptor

func (*DeleteSpokeRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSpokeRequest.ProtoReflect.Descriptor instead.

func (*DeleteSpokeRequest) GetName

func (x *DeleteSpokeRequest) GetName() string

func (*DeleteSpokeRequest) GetRequestId

func (x *DeleteSpokeRequest) GetRequestId() string

func (*DeleteSpokeRequest) ProtoMessage

func (*DeleteSpokeRequest) ProtoMessage()

func (*DeleteSpokeRequest) ProtoReflect

func (x *DeleteSpokeRequest) ProtoReflect() protoreflect.Message

func (*DeleteSpokeRequest) Reset

func (x *DeleteSpokeRequest) Reset()

func (*DeleteSpokeRequest) String

func (x *DeleteSpokeRequest) String() string

type GetGroupRequest

type GetGroupRequest struct {

	// Required. The name of the route table resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request for [HubService.GetGroup][google.cloud.networkconnectivity.v1.HubService.GetGroup].

func (*GetGroupRequest) Descriptor

func (*GetGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRequest) GetName

func (x *GetGroupRequest) GetName() string

func (*GetGroupRequest) ProtoMessage

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) ProtoReflect

func (x *GetGroupRequest) ProtoReflect() protoreflect.Message

func (*GetGroupRequest) Reset

func (x *GetGroupRequest) Reset()

func (*GetGroupRequest) String

func (x *GetGroupRequest) String() string

type GetHubRequest

type GetHubRequest struct {

	// Required. The name of the hub resource to get.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for [HubService.GetHub][google.cloud.networkconnectivity.v1.HubService.GetHub] method.

func (*GetHubRequest) Descriptor

func (*GetHubRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetHubRequest.ProtoReflect.Descriptor instead.

func (*GetHubRequest) GetName

func (x *GetHubRequest) GetName() string

func (*GetHubRequest) ProtoMessage

func (*GetHubRequest) ProtoMessage()

func (*GetHubRequest) ProtoReflect

func (x *GetHubRequest) ProtoReflect() protoreflect.Message

func (*GetHubRequest) Reset

func (x *GetHubRequest) Reset()

func (*GetHubRequest) String

func (x *GetHubRequest) String() string

type GetPolicyBasedRouteRequest

type GetPolicyBasedRouteRequest struct {

	// Required. Name of the PolicyBasedRoute resource to get.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for [PolicyBasedRouting.GetPolicyBasedRoute][] method.

func (*GetPolicyBasedRouteRequest) Descriptor

func (*GetPolicyBasedRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPolicyBasedRouteRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyBasedRouteRequest) GetName

func (x *GetPolicyBasedRouteRequest) GetName() string

func (*GetPolicyBasedRouteRequest) ProtoMessage

func (*GetPolicyBasedRouteRequest) ProtoMessage()

func (*GetPolicyBasedRouteRequest) ProtoReflect

func (*GetPolicyBasedRouteRequest) Reset

func (x *GetPolicyBasedRouteRequest) Reset()

func (*GetPolicyBasedRouteRequest) String

func (x *GetPolicyBasedRouteRequest) String() string

type GetRouteRequest

type GetRouteRequest struct {

	// Required. The name of the route resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request for [HubService.GetRoute][google.cloud.networkconnectivity.v1.HubService.GetRoute].

func (*GetRouteRequest) Descriptor

func (*GetRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRouteRequest.ProtoReflect.Descriptor instead.

func (*GetRouteRequest) GetName

func (x *GetRouteRequest) GetName() string

func (*GetRouteRequest) ProtoMessage

func (*GetRouteRequest) ProtoMessage()

func (*GetRouteRequest) ProtoReflect

func (x *GetRouteRequest) ProtoReflect() protoreflect.Message

func (*GetRouteRequest) Reset

func (x *GetRouteRequest) Reset()

func (*GetRouteRequest) String

func (x *GetRouteRequest) String() string

type GetRouteTableRequest

type GetRouteTableRequest struct {

	// Required. The name of the route table resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request for [HubService.GetRouteTable][google.cloud.networkconnectivity.v1.HubService.GetRouteTable].

func (*GetRouteTableRequest) Descriptor

func (*GetRouteTableRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRouteTableRequest.ProtoReflect.Descriptor instead.

func (*GetRouteTableRequest) GetName

func (x *GetRouteTableRequest) GetName() string

func (*GetRouteTableRequest) ProtoMessage

func (*GetRouteTableRequest) ProtoMessage()

func (*GetRouteTableRequest) ProtoReflect

func (x *GetRouteTableRequest) ProtoReflect() protoreflect.Message

func (*GetRouteTableRequest) Reset

func (x *GetRouteTableRequest) Reset()

func (*GetRouteTableRequest) String

func (x *GetRouteTableRequest) String() string

type GetSpokeRequest

type GetSpokeRequest struct {

	// Required. The name of the spoke resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request for [HubService.GetSpoke][google.cloud.networkconnectivity.v1.HubService.GetSpoke].

func (*GetSpokeRequest) Descriptor

func (*GetSpokeRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSpokeRequest.ProtoReflect.Descriptor instead.

func (*GetSpokeRequest) GetName

func (x *GetSpokeRequest) GetName() string

func (*GetSpokeRequest) ProtoMessage

func (*GetSpokeRequest) ProtoMessage()

func (*GetSpokeRequest) ProtoReflect

func (x *GetSpokeRequest) ProtoReflect() protoreflect.Message

func (*GetSpokeRequest) Reset

func (x *GetSpokeRequest) Reset()

func (*GetSpokeRequest) String

func (x *GetSpokeRequest) String() string

type Group

type Group struct {

	// Immutable. The name of the group. Group names must be unique. They
	// use the following form:
	//
	//	`projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The time the group was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the group was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. Labels in key-value pair format. For more information about
	// labels, see [Requirements for
	// labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Optional. The description of the group.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The Google-generated UUID for the group. This value is unique
	// across all group resources. If a group is deleted and
	// another with the same name is created, the new route table is assigned
	// a different unique_id.
	Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
	// Output only. The current lifecycle state of this group.
	State State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"`
	// Optional. The auto-accept setting for this group.
	AutoAccept *AutoAccept `protobuf:"bytes,8,opt,name=auto_accept,json=autoAccept,proto3" json:"auto_accept,omitempty"`
	// Output only. The name of the route table that corresponds to this group.
	// They use the following form:
	// `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}`
	RouteTable string `protobuf:"bytes,9,opt,name=route_table,json=routeTable,proto3" json:"route_table,omitempty"`
	// contains filtered or unexported fields
}

A group represents a subset of spokes attached to a hub.

func (*Group) Descriptor

func (*Group) Descriptor() ([]byte, []int)

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetAutoAccept

func (x *Group) GetAutoAccept() *AutoAccept

func (*Group) GetCreateTime

func (x *Group) GetCreateTime() *timestamppb.Timestamp

func (*Group) GetDescription

func (x *Group) GetDescription() string

func (*Group) GetLabels

func (x *Group) GetLabels() map[string]string

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetRouteTable

func (x *Group) GetRouteTable() string

func (*Group) GetState

func (x *Group) GetState() State

func (*Group) GetUid

func (x *Group) GetUid() string

func (*Group) GetUpdateTime

func (x *Group) GetUpdateTime() *timestamppb.Timestamp

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

func (x *Group) ProtoReflect() protoreflect.Message

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type Hub

type Hub struct {

	// Immutable. The name of the hub. Hub names must be unique. They use the
	// following form:
	//
	//	`projects/{project_number}/locations/global/hubs/{hub_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The time the hub was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the hub was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional labels in key-value pair format. For more information about
	// labels, see [Requirements for
	// labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// An optional description of the hub.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The Google-generated UUID for the hub. This value is unique
	// across all hub resources. If a hub is deleted and another with the same
	// name is created, the new hub is assigned a different unique_id.
	UniqueId string `protobuf:"bytes,8,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	// Output only. The current lifecycle state of this hub.
	State State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"`
	// The VPC networks associated with this hub's spokes.
	//
	// This field is read-only. Network Connectivity Center automatically
	// populates it based on the set of spokes attached to the hub.
	RoutingVpcs []*RoutingVPC `protobuf:"bytes,10,rep,name=routing_vpcs,json=routingVpcs,proto3" json:"routing_vpcs,omitempty"`
	// Output only. The route tables that belong to this hub. They use the
	// following form:
	//
	//	`projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}`
	//
	// This field is read-only. Network Connectivity Center automatically
	// populates it based on the route tables nested under the hub.
	RouteTables []string `protobuf:"bytes,11,rep,name=route_tables,json=routeTables,proto3" json:"route_tables,omitempty"`
	// Output only. A summary of the spokes associated with a hub. The
	// summary includes a count of spokes according to type
	// and according to state. If any spokes are inactive,
	// the summary also lists the reasons they are inactive,
	// including a count for each reason.
	SpokeSummary *SpokeSummary `protobuf:"bytes,12,opt,name=spoke_summary,json=spokeSummary,proto3" json:"spoke_summary,omitempty"`
	// Optional. The policy mode of this hub. This field can be either
	// PRESET or CUSTOM. If unspecified, the
	// policy_mode defaults to PRESET.
	PolicyMode PolicyMode `protobuf:"varint,13,opt,name=policy_mode,json=policyMode,proto3,enum=google.cloud.networkconnectivity.v1.PolicyMode" json:"policy_mode,omitempty"`
	// Optional. The topology implemented in this hub. Currently, this field is
	// only used when policy_mode = PRESET. The available preset topologies are
	// MESH and STAR. If preset_topology is unspecified and policy_mode = PRESET,
	// the preset_topology defaults to MESH. When policy_mode = CUSTOM,
	// the preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED.
	PresetTopology PresetTopology `protobuf:"varint,14,opt,name=preset_topology,json=presetTopology,proto3,enum=google.cloud.networkconnectivity.v1.PresetTopology" json:"preset_topology,omitempty"`
	// Optional. Whether Private Service Connect transitivity is enabled for the
	// hub. If true, Private Service Connect endpoints in VPC spokes attached to
	// the hub are made accessible to other VPC spokes attached to the hub.
	// The default value is false.
	ExportPsc *bool `protobuf:"varint,15,opt,name=export_psc,json=exportPsc,proto3,oneof" json:"export_psc,omitempty"`
	// contains filtered or unexported fields
}

A Network Connectivity Center hub is a global management resource to which you attach spokes. A single hub can contain spokes from multiple regions. However, if any of a hub's spokes use the site-to-site data transfer feature, the resources associated with those spokes must all be in the same VPC network. Spokes that do not use site-to-site data transfer can be associated with any VPC network in your project.

func (*Hub) Descriptor

func (*Hub) Descriptor() ([]byte, []int)

Deprecated: Use Hub.ProtoReflect.Descriptor instead.

func (*Hub) GetCreateTime

func (x *Hub) GetCreateTime() *timestamppb.Timestamp

func (*Hub) GetDescription

func (x *Hub) GetDescription() string

func (*Hub) GetExportPsc

func (x *Hub) GetExportPsc() bool

func (*Hub) GetLabels

func (x *Hub) GetLabels() map[string]string

func (*Hub) GetName

func (x *Hub) GetName() string

func (*Hub) GetPolicyMode

func (x *Hub) GetPolicyMode() PolicyMode

func (*Hub) GetPresetTopology

func (x *Hub) GetPresetTopology() PresetTopology

func (*Hub) GetRouteTables

func (x *Hub) GetRouteTables() []string

func (*Hub) GetRoutingVpcs

func (x *Hub) GetRoutingVpcs() []*RoutingVPC

func (*Hub) GetSpokeSummary

func (x *Hub) GetSpokeSummary() *SpokeSummary

func (*Hub) GetState

func (x *Hub) GetState() State

func (*Hub) GetUniqueId

func (x *Hub) GetUniqueId() string

func (*Hub) GetUpdateTime

func (x *Hub) GetUpdateTime() *timestamppb.Timestamp

func (*Hub) ProtoMessage

func (*Hub) ProtoMessage()

func (*Hub) ProtoReflect

func (x *Hub) ProtoReflect() protoreflect.Message

func (*Hub) Reset

func (x *Hub) Reset()

func (*Hub) String

func (x *Hub) String() string

type HubServiceClient

type HubServiceClient interface {
	// Lists the Network Connectivity Center hubs associated with a given project.
	ListHubs(ctx context.Context, in *ListHubsRequest, opts ...grpc.CallOption) (*ListHubsResponse, error)
	// Gets details about a Network Connectivity Center hub.
	GetHub(ctx context.Context, in *GetHubRequest, opts ...grpc.CallOption) (*Hub, error)
	// Creates a new Network Connectivity Center hub in the specified project.
	CreateHub(ctx context.Context, in *CreateHubRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the description and/or labels of a Network Connectivity Center
	// hub.
	UpdateHub(ctx context.Context, in *UpdateHubRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a Network Connectivity Center hub.
	DeleteHub(ctx context.Context, in *DeleteHubRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists the Network Connectivity Center spokes associated with a
	// specified hub and location. The list includes both spokes that are attached
	// to the hub and spokes that have been proposed but not yet accepted.
	ListHubSpokes(ctx context.Context, in *ListHubSpokesRequest, opts ...grpc.CallOption) (*ListHubSpokesResponse, error)
	// Query the Private Service Connect propagation status of a Network
	// Connectivity Center hub.
	QueryHubStatus(ctx context.Context, in *QueryHubStatusRequest, opts ...grpc.CallOption) (*QueryHubStatusResponse, error)
	// Lists the Network Connectivity Center spokes in a specified project and
	// location.
	ListSpokes(ctx context.Context, in *ListSpokesRequest, opts ...grpc.CallOption) (*ListSpokesResponse, error)
	// Gets details about a Network Connectivity Center spoke.
	GetSpoke(ctx context.Context, in *GetSpokeRequest, opts ...grpc.CallOption) (*Spoke, error)
	// Creates a Network Connectivity Center spoke.
	CreateSpoke(ctx context.Context, in *CreateSpokeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a Network Connectivity Center spoke.
	UpdateSpoke(ctx context.Context, in *UpdateSpokeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Rejects a Network Connectivity Center spoke from being attached to a hub.
	// If the spoke was previously in the `ACTIVE` state, it
	// transitions to the `INACTIVE` state and is no longer able to
	// connect to other spokes that are attached to the hub.
	RejectHubSpoke(ctx context.Context, in *RejectHubSpokeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Accepts a proposal to attach a Network Connectivity Center spoke
	// to a hub.
	AcceptHubSpoke(ctx context.Context, in *AcceptHubSpokeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a Network Connectivity Center spoke.
	DeleteSpoke(ctx context.Context, in *DeleteSpokeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets details about a Network Connectivity Center route table.
	GetRouteTable(ctx context.Context, in *GetRouteTableRequest, opts ...grpc.CallOption) (*RouteTable, error)
	// Gets details about the specified route.
	GetRoute(ctx context.Context, in *GetRouteRequest, opts ...grpc.CallOption) (*Route, error)
	// Lists routes in a given route table.
	ListRoutes(ctx context.Context, in *ListRoutesRequest, opts ...grpc.CallOption) (*ListRoutesResponse, error)
	// Lists route tables in a given hub.
	ListRouteTables(ctx context.Context, in *ListRouteTablesRequest, opts ...grpc.CallOption) (*ListRouteTablesResponse, error)
	// Gets details about a Network Connectivity Center group.
	GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*Group, error)
	// Lists groups in a given hub.
	ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error)
	// Updates the parameters of a Network Connectivity Center group.
	UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

HubServiceClient is the client API for HubService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewHubServiceClient

func NewHubServiceClient(cc grpc.ClientConnInterface) HubServiceClient

type HubServiceServer

type HubServiceServer interface {
	// Lists the Network Connectivity Center hubs associated with a given project.
	ListHubs(context.Context, *ListHubsRequest) (*ListHubsResponse, error)
	// Gets details about a Network Connectivity Center hub.
	GetHub(context.Context, *GetHubRequest) (*Hub, error)
	// Creates a new Network Connectivity Center hub in the specified project.
	CreateHub(context.Context, *CreateHubRequest) (*longrunningpb.Operation, error)
	// Updates the description and/or labels of a Network Connectivity Center
	// hub.
	UpdateHub(context.Context, *UpdateHubRequest) (*longrunningpb.Operation, error)
	// Deletes a Network Connectivity Center hub.
	DeleteHub(context.Context, *DeleteHubRequest) (*longrunningpb.Operation, error)
	// Lists the Network Connectivity Center spokes associated with a
	// specified hub and location. The list includes both spokes that are attached
	// to the hub and spokes that have been proposed but not yet accepted.
	ListHubSpokes(context.Context, *ListHubSpokesRequest) (*ListHubSpokesResponse, error)
	// Query the Private Service Connect propagation status of a Network
	// Connectivity Center hub.
	QueryHubStatus(context.Context, *QueryHubStatusRequest) (*QueryHubStatusResponse, error)
	// Lists the Network Connectivity Center spokes in a specified project and
	// location.
	ListSpokes(context.Context, *ListSpokesRequest) (*ListSpokesResponse, error)
	// Gets details about a Network Connectivity Center spoke.
	GetSpoke(context.Context, *GetSpokeRequest) (*Spoke, error)
	// Creates a Network Connectivity Center spoke.
	CreateSpoke(context.Context, *CreateSpokeRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a Network Connectivity Center spoke.
	UpdateSpoke(context.Context, *UpdateSpokeRequest) (*longrunningpb.Operation, error)
	// Rejects a Network Connectivity Center spoke from being attached to a hub.
	// If the spoke was previously in the `ACTIVE` state, it
	// transitions to the `INACTIVE` state and is no longer able to
	// connect to other spokes that are attached to the hub.
	RejectHubSpoke(context.Context, *RejectHubSpokeRequest) (*longrunningpb.Operation, error)
	// Accepts a proposal to attach a Network Connectivity Center spoke
	// to a hub.
	AcceptHubSpoke(context.Context, *AcceptHubSpokeRequest) (*longrunningpb.Operation, error)
	// Deletes a Network Connectivity Center spoke.
	DeleteSpoke(context.Context, *DeleteSpokeRequest) (*longrunningpb.Operation, error)
	// Gets details about a Network Connectivity Center route table.
	GetRouteTable(context.Context, *GetRouteTableRequest) (*RouteTable, error)
	// Gets details about the specified route.
	GetRoute(context.Context, *GetRouteRequest) (*Route, error)
	// Lists routes in a given route table.
	ListRoutes(context.Context, *ListRoutesRequest) (*ListRoutesResponse, error)
	// Lists route tables in a given hub.
	ListRouteTables(context.Context, *ListRouteTablesRequest) (*ListRouteTablesResponse, error)
	// Gets details about a Network Connectivity Center group.
	GetGroup(context.Context, *GetGroupRequest) (*Group, error)
	// Lists groups in a given hub.
	ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
	// Updates the parameters of a Network Connectivity Center group.
	UpdateGroup(context.Context, *UpdateGroupRequest) (*longrunningpb.Operation, error)
}

HubServiceServer is the server API for HubService service.

type HubStatusEntry

type HubStatusEntry struct {

	// The number of propagated Private Service Connect connections with this
	// status. If the `group_by` field was not set in the request message, the
	// value of this field is 1.
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// The fields that this entry is grouped by. This has the same value as the
	// `group_by` field in the request message.
	GroupBy string `protobuf:"bytes,2,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
	// The Private Service Connect propagation status.
	PscPropagationStatus *PscPropagationStatus `protobuf:"bytes,3,opt,name=psc_propagation_status,json=pscPropagationStatus,proto3" json:"psc_propagation_status,omitempty"`
	// contains filtered or unexported fields
}

A hub status entry represents the status of a set of propagated Private Service Connect connections grouped by certain fields.

func (*HubStatusEntry) Descriptor

func (*HubStatusEntry) Descriptor() ([]byte, []int)

Deprecated: Use HubStatusEntry.ProtoReflect.Descriptor instead.

func (*HubStatusEntry) GetCount

func (x *HubStatusEntry) GetCount() int32

func (*HubStatusEntry) GetGroupBy

func (x *HubStatusEntry) GetGroupBy() string

func (*HubStatusEntry) GetPscPropagationStatus

func (x *HubStatusEntry) GetPscPropagationStatus() *PscPropagationStatus

func (*HubStatusEntry) ProtoMessage

func (*HubStatusEntry) ProtoMessage()

func (*HubStatusEntry) ProtoReflect

func (x *HubStatusEntry) ProtoReflect() protoreflect.Message

func (*HubStatusEntry) Reset

func (x *HubStatusEntry) Reset()

func (*HubStatusEntry) String

func (x *HubStatusEntry) String() string

type LinkedInterconnectAttachments

type LinkedInterconnectAttachments struct {

	// The URIs of linked interconnect attachment resources
	Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
	// A value that controls whether site-to-site data transfer is enabled for
	// these resources. Data transfer is available only in [supported
	// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
	SiteToSiteDataTransfer bool `protobuf:"varint,2,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
	// Output only. The VPC network where these VLAN attachments are located.
	VpcNetwork string `protobuf:"bytes,3,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
	// Optional. IP ranges allowed to be included during import from hub (does not
	// control transit connectivity). The only allowed value for now is
	// "ALL_IPV4_RANGES".
	IncludeImportRanges []string `protobuf:"bytes,5,rep,name=include_import_ranges,json=includeImportRanges,proto3" json:"include_import_ranges,omitempty"`
	// contains filtered or unexported fields
}

A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.

func (*LinkedInterconnectAttachments) Descriptor

func (*LinkedInterconnectAttachments) Descriptor() ([]byte, []int)

Deprecated: Use LinkedInterconnectAttachments.ProtoReflect.Descriptor instead.

func (*LinkedInterconnectAttachments) GetIncludeImportRanges

func (x *LinkedInterconnectAttachments) GetIncludeImportRanges() []string

func (*LinkedInterconnectAttachments) GetSiteToSiteDataTransfer

func (x *LinkedInterconnectAttachments) GetSiteToSiteDataTransfer() bool

func (*LinkedInterconnectAttachments) GetUris

func (x *LinkedInterconnectAttachments) GetUris() []string

func (*LinkedInterconnectAttachments) GetVpcNetwork

func (x *LinkedInterconnectAttachments) GetVpcNetwork() string

func (*LinkedInterconnectAttachments) ProtoMessage

func (*LinkedInterconnectAttachments) ProtoMessage()

func (*LinkedInterconnectAttachments) ProtoReflect

func (*LinkedInterconnectAttachments) Reset

func (x *LinkedInterconnectAttachments) Reset()

func (*LinkedInterconnectAttachments) String

type LinkedProducerVpcNetwork

type LinkedProducerVpcNetwork struct {

	// Immutable. The URI of the Service Consumer VPC that the Producer VPC is
	// peered with.
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// Output only. The Service Consumer Network spoke.
	ServiceConsumerVpcSpoke string `protobuf:"bytes,6,opt,name=service_consumer_vpc_spoke,json=serviceConsumerVpcSpoke,proto3" json:"service_consumer_vpc_spoke,omitempty"`
	// Immutable. The name of the VPC peering between the Service Consumer VPC and
	// the Producer VPC (defined in the Tenant project) which is added to the NCC
	// hub. This peering must be in ACTIVE state.
	Peering string `protobuf:"bytes,2,opt,name=peering,proto3" json:"peering,omitempty"`
	// Output only. The URI of the Producer VPC.
	ProducerNetwork string `protobuf:"bytes,5,opt,name=producer_network,json=producerNetwork,proto3" json:"producer_network,omitempty"`
	// Optional. IP ranges encompassing the subnets to be excluded from peering.
	ExcludeExportRanges []string `protobuf:"bytes,3,rep,name=exclude_export_ranges,json=excludeExportRanges,proto3" json:"exclude_export_ranges,omitempty"`
	// Optional. IP ranges allowed to be included from peering.
	IncludeExportRanges []string `protobuf:"bytes,4,rep,name=include_export_ranges,json=includeExportRanges,proto3" json:"include_export_ranges,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkedProducerVpcNetwork) Descriptor

func (*LinkedProducerVpcNetwork) Descriptor() ([]byte, []int)

Deprecated: Use LinkedProducerVpcNetwork.ProtoReflect.Descriptor instead.

func (*LinkedProducerVpcNetwork) GetExcludeExportRanges

func (x *LinkedProducerVpcNetwork) GetExcludeExportRanges() []string

func (*LinkedProducerVpcNetwork) GetIncludeExportRanges

func (x *LinkedProducerVpcNetwork) GetIncludeExportRanges() []string

func (*LinkedProducerVpcNetwork) GetNetwork

func (x *LinkedProducerVpcNetwork) GetNetwork() string

func (*LinkedProducerVpcNetwork) GetPeering

func (x *LinkedProducerVpcNetwork) GetPeering() string

func (*LinkedProducerVpcNetwork) GetProducerNetwork

func (x *LinkedProducerVpcNetwork) GetProducerNetwork() string

func (*LinkedProducerVpcNetwork) GetServiceConsumerVpcSpoke

func (x *LinkedProducerVpcNetwork) GetServiceConsumerVpcSpoke() string

func (*LinkedProducerVpcNetwork) ProtoMessage

func (*LinkedProducerVpcNetwork) ProtoMessage()

func (*LinkedProducerVpcNetwork) ProtoReflect

func (x *LinkedProducerVpcNetwork) ProtoReflect() protoreflect.Message

func (*LinkedProducerVpcNetwork) Reset

func (x *LinkedProducerVpcNetwork) Reset()

func (*LinkedProducerVpcNetwork) String

func (x *LinkedProducerVpcNetwork) String() string

type LinkedRouterApplianceInstances

type LinkedRouterApplianceInstances struct {

	// The list of router appliance instances.
	Instances []*RouterApplianceInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// A value that controls whether site-to-site data transfer is enabled for
	// these resources. Data transfer is available only in [supported
	// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
	SiteToSiteDataTransfer bool `protobuf:"varint,2,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
	// Output only. The VPC network where these router appliance instances are
	// located.
	VpcNetwork string `protobuf:"bytes,3,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
	// Optional. IP ranges allowed to be included during import from hub (does not
	// control transit connectivity). The only allowed value for now is
	// "ALL_IPV4_RANGES".
	IncludeImportRanges []string `protobuf:"bytes,5,rep,name=include_import_ranges,json=includeImportRanges,proto3" json:"include_import_ranges,omitempty"`
	// contains filtered or unexported fields
}

A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke.

func (*LinkedRouterApplianceInstances) Descriptor

func (*LinkedRouterApplianceInstances) Descriptor() ([]byte, []int)

Deprecated: Use LinkedRouterApplianceInstances.ProtoReflect.Descriptor instead.

func (*LinkedRouterApplianceInstances) GetIncludeImportRanges

func (x *LinkedRouterApplianceInstances) GetIncludeImportRanges() []string

func (*LinkedRouterApplianceInstances) GetInstances

func (*LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer

func (x *LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer() bool

func (*LinkedRouterApplianceInstances) GetVpcNetwork

func (x *LinkedRouterApplianceInstances) GetVpcNetwork() string

func (*LinkedRouterApplianceInstances) ProtoMessage

func (*LinkedRouterApplianceInstances) ProtoMessage()

func (*LinkedRouterApplianceInstances) ProtoReflect

func (*LinkedRouterApplianceInstances) Reset

func (x *LinkedRouterApplianceInstances) Reset()

func (*LinkedRouterApplianceInstances) String

type LinkedVpcNetwork

type LinkedVpcNetwork struct {

	// Required. The URI of the VPC network resource.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Optional. IP ranges encompassing the subnets to be excluded from peering.
	ExcludeExportRanges []string `protobuf:"bytes,2,rep,name=exclude_export_ranges,json=excludeExportRanges,proto3" json:"exclude_export_ranges,omitempty"`
	// Optional. IP ranges allowed to be included from peering.
	IncludeExportRanges []string `protobuf:"bytes,3,rep,name=include_export_ranges,json=includeExportRanges,proto3" json:"include_export_ranges,omitempty"`
	// Output only. The list of Producer VPC spokes that this VPC spoke is a
	// service consumer VPC spoke for. These producer VPCs are connected through
	// VPC peering to this spoke's backing VPC network.
	ProducerVpcSpokes []string `protobuf:"bytes,4,rep,name=producer_vpc_spokes,json=producerVpcSpokes,proto3" json:"producer_vpc_spokes,omitempty"`
	// contains filtered or unexported fields
}

An existing VPC network.

func (*LinkedVpcNetwork) Descriptor

func (*LinkedVpcNetwork) Descriptor() ([]byte, []int)

Deprecated: Use LinkedVpcNetwork.ProtoReflect.Descriptor instead.

func (*LinkedVpcNetwork) GetExcludeExportRanges

func (x *LinkedVpcNetwork) GetExcludeExportRanges() []string

func (*LinkedVpcNetwork) GetIncludeExportRanges

func (x *LinkedVpcNetwork) GetIncludeExportRanges() []string

func (*LinkedVpcNetwork) GetProducerVpcSpokes

func (x *LinkedVpcNetwork) GetProducerVpcSpokes() []string

func (*LinkedVpcNetwork) GetUri

func (x *LinkedVpcNetwork) GetUri() string

func (*LinkedVpcNetwork) ProtoMessage

func (*LinkedVpcNetwork) ProtoMessage()

func (*LinkedVpcNetwork) ProtoReflect

func (x *LinkedVpcNetwork) ProtoReflect() protoreflect.Message

func (*LinkedVpcNetwork) Reset

func (x *LinkedVpcNetwork) Reset()

func (*LinkedVpcNetwork) String

func (x *LinkedVpcNetwork) String() string

type LinkedVpnTunnels

type LinkedVpnTunnels struct {

	// The URIs of linked VPN tunnel resources.
	Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
	// A value that controls whether site-to-site data transfer is enabled for
	// these resources. Data transfer is available only in [supported
	// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
	SiteToSiteDataTransfer bool `protobuf:"varint,2,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
	// Output only. The VPC network where these VPN tunnels are located.
	VpcNetwork string `protobuf:"bytes,3,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
	// Optional. IP ranges allowed to be included during import from hub (does not
	// control transit connectivity). The only allowed value for now is
	// "ALL_IPV4_RANGES".
	IncludeImportRanges []string `protobuf:"bytes,5,rep,name=include_import_ranges,json=includeImportRanges,proto3" json:"include_import_ranges,omitempty"`
	// contains filtered or unexported fields
}

A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes.

func (*LinkedVpnTunnels) Descriptor

func (*LinkedVpnTunnels) Descriptor() ([]byte, []int)

Deprecated: Use LinkedVpnTunnels.ProtoReflect.Descriptor instead.

func (*LinkedVpnTunnels) GetIncludeImportRanges

func (x *LinkedVpnTunnels) GetIncludeImportRanges() []string

func (*LinkedVpnTunnels) GetSiteToSiteDataTransfer

func (x *LinkedVpnTunnels) GetSiteToSiteDataTransfer() bool

func (*LinkedVpnTunnels) GetUris

func (x *LinkedVpnTunnels) GetUris() []string

func (*LinkedVpnTunnels) GetVpcNetwork

func (x *LinkedVpnTunnels) GetVpcNetwork() string

func (*LinkedVpnTunnels) ProtoMessage

func (*LinkedVpnTunnels) ProtoMessage()

func (*LinkedVpnTunnels) ProtoReflect

func (x *LinkedVpnTunnels) ProtoReflect() protoreflect.Message

func (*LinkedVpnTunnels) Reset

func (x *LinkedVpnTunnels) Reset()

func (*LinkedVpnTunnels) String

func (x *LinkedVpnTunnels) String() string

type ListGroupsRequest

type ListGroupsRequest struct {

	// Required. The parent resource's name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of results to return per page.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// An expression that filters the list of results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Sort the results by a certain order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request for [HubService.ListGroups][google.cloud.networkconnectivity.v1.HubService.ListGroups] method.

func (*ListGroupsRequest) Descriptor

func (*ListGroupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupsRequest) GetFilter

func (x *ListGroupsRequest) GetFilter() string

func (*ListGroupsRequest) GetOrderBy

func (x *ListGroupsRequest) GetOrderBy() string

func (*ListGroupsRequest) GetPageSize

func (x *ListGroupsRequest) GetPageSize() int32

func (*ListGroupsRequest) GetPageToken

func (x *ListGroupsRequest) GetPageToken() string

func (*ListGroupsRequest) GetParent

func (x *ListGroupsRequest) GetParent() string

func (*ListGroupsRequest) ProtoMessage

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) ProtoReflect

func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message

func (*ListGroupsRequest) Reset

func (x *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String

func (x *ListGroupsRequest) String() string

type ListGroupsResponse

type ListGroupsResponse struct {

	// The requested groups.
	Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// The token for the next page of the response. To see more results,
	// use this value as the page_token for your next request. If this value
	// is empty, there are no more results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Hubs that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response for [HubService.ListGroups][google.cloud.networkconnectivity.v1.HubService.ListGroups] method.

func (*ListGroupsResponse) Descriptor

func (*ListGroupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupsResponse) GetGroups

func (x *ListGroupsResponse) GetGroups() []*Group

func (*ListGroupsResponse) GetNextPageToken

func (x *ListGroupsResponse) GetNextPageToken() string

func (*ListGroupsResponse) GetUnreachable

func (x *ListGroupsResponse) GetUnreachable() []string

func (*ListGroupsResponse) ProtoMessage

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) ProtoReflect

func (x *ListGroupsResponse) ProtoReflect() protoreflect.Message

func (*ListGroupsResponse) Reset

func (x *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String

func (x *ListGroupsResponse) String() string

type ListHubSpokesRequest

type ListHubSpokesRequest struct {

	// Required. The name of the hub.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A list of locations.
	// Specify one of the following: `[global]`, a single region (for
	// example, `[us-central1]`), or a combination of
	// values (for example, `[global, us-central1, us-west1]`).
	// If the spoke_locations field is populated, the list of results
	// includes only spokes in the specified location.
	// If the spoke_locations field is not populated, the list of results
	// includes spokes in all locations.
	SpokeLocations []string `protobuf:"bytes,2,rep,name=spoke_locations,json=spokeLocations,proto3" json:"spoke_locations,omitempty"`
	// The maximum number of results to return per page.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// An expression that filters the list of results.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// Sort the results by name or create_time.
	OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// The view of the spoke to return.
	// The view that you use determines which spoke fields are included in the
	// response.
	View ListHubSpokesRequest_SpokeView `protobuf:"varint,7,opt,name=view,proto3,enum=google.cloud.networkconnectivity.v1.ListHubSpokesRequest_SpokeView" json:"view,omitempty"`
	// contains filtered or unexported fields
}

The request for [HubService.ListHubSpokes][google.cloud.networkconnectivity.v1.HubService.ListHubSpokes].

func (*ListHubSpokesRequest) Descriptor

func (*ListHubSpokesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListHubSpokesRequest.ProtoReflect.Descriptor instead.

func (*ListHubSpokesRequest) GetFilter

func (x *ListHubSpokesRequest) GetFilter() string

func (*ListHubSpokesRequest) GetName

func (x *ListHubSpokesRequest) GetName() string

func (*ListHubSpokesRequest) GetOrderBy

func (x *ListHubSpokesRequest) GetOrderBy() string

func (*ListHubSpokesRequest) GetPageSize

func (x *ListHubSpokesRequest) GetPageSize() int32

func (*ListHubSpokesRequest) GetPageToken

func (x *ListHubSpokesRequest) GetPageToken() string

func (*ListHubSpokesRequest) GetSpokeLocations

func (x *ListHubSpokesRequest) GetSpokeLocations() []string

func (*ListHubSpokesRequest) GetView

func (*ListHubSpokesRequest) ProtoMessage

func (*ListHubSpokesRequest) ProtoMessage()

func (*ListHubSpokesRequest) ProtoReflect

func (x *ListHubSpokesRequest) ProtoReflect() protoreflect.Message

func (*ListHubSpokesRequest) Reset

func (x *ListHubSpokesRequest) Reset()

func (*ListHubSpokesRequest) String

func (x *ListHubSpokesRequest) String() string

type ListHubSpokesRequest_SpokeView

type ListHubSpokesRequest_SpokeView int32

Enum that controls which spoke fields are included in the response.

const (
	// The spoke view is unspecified. When the spoke view is unspecified, the
	// API returns the same fields as the `BASIC` view.
	ListHubSpokesRequest_SPOKE_VIEW_UNSPECIFIED ListHubSpokesRequest_SpokeView = 0
	// Includes `name`, `create_time`, `hub`, `unique_id`, `state`, `reasons`,
	// and `spoke_type`. This is the default value.
	ListHubSpokesRequest_BASIC ListHubSpokesRequest_SpokeView = 1
	// Includes all spoke fields except `labels`.
	// You can use the `DETAILED` view only when you set the `spoke_locations`
	// field to `[global]`.
	ListHubSpokesRequest_DETAILED ListHubSpokesRequest_SpokeView = 2
)

func (ListHubSpokesRequest_SpokeView) Descriptor

func (ListHubSpokesRequest_SpokeView) Enum

func (ListHubSpokesRequest_SpokeView) EnumDescriptor

func (ListHubSpokesRequest_SpokeView) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListHubSpokesRequest_SpokeView.Descriptor instead.

func (ListHubSpokesRequest_SpokeView) Number

func (ListHubSpokesRequest_SpokeView) String

func (ListHubSpokesRequest_SpokeView) Type

type ListHubSpokesResponse

type ListHubSpokesResponse struct {

	// The requested spokes.
	// The spoke fields can be partially populated based on the `view` field in
	// the request message.
	Spokes []*Spoke `protobuf:"bytes,1,rep,name=spokes,proto3" json:"spokes,omitempty"`
	// The token for the next page of the response. To see more results,
	// use this value as the page_token for your next request. If this value
	// is empty, there are no more results.
	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
}

The response for [HubService.ListHubSpokes][google.cloud.networkconnectivity.v1.HubService.ListHubSpokes].

func (*ListHubSpokesResponse) Descriptor

func (*ListHubSpokesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListHubSpokesResponse.ProtoReflect.Descriptor instead.

func (*ListHubSpokesResponse) GetNextPageToken

func (x *ListHubSpokesResponse) GetNextPageToken() string

func (*ListHubSpokesResponse) GetSpokes

func (x *ListHubSpokesResponse) GetSpokes() []*Spoke

func (*ListHubSpokesResponse) GetUnreachable

func (x *ListHubSpokesResponse) GetUnreachable() []string

func (*ListHubSpokesResponse) ProtoMessage

func (*ListHubSpokesResponse) ProtoMessage()

func (*ListHubSpokesResponse) ProtoReflect

func (x *ListHubSpokesResponse) ProtoReflect() protoreflect.Message

func (*ListHubSpokesResponse) Reset

func (x *ListHubSpokesResponse) Reset()

func (*ListHubSpokesResponse) String

func (x *ListHubSpokesResponse) String() string

type ListHubsRequest

type ListHubsRequest struct {

	// Required. The parent resource's name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of results per page to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// An expression that filters the list of results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Sort the results by a certain order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request for [HubService.ListHubs][google.cloud.networkconnectivity.v1.HubService.ListHubs] method.

func (*ListHubsRequest) Descriptor

func (*ListHubsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListHubsRequest.ProtoReflect.Descriptor instead.

func (*ListHubsRequest) GetFilter

func (x *ListHubsRequest) GetFilter() string

func (*ListHubsRequest) GetOrderBy

func (x *ListHubsRequest) GetOrderBy() string

func (*ListHubsRequest) GetPageSize

func (x *ListHubsRequest) GetPageSize() int32

func (*ListHubsRequest) GetPageToken

func (x *ListHubsRequest) GetPageToken() string

func (*ListHubsRequest) GetParent

func (x *ListHubsRequest) GetParent() string

func (*ListHubsRequest) ProtoMessage

func (*ListHubsRequest) ProtoMessage()

func (*ListHubsRequest) ProtoReflect

func (x *ListHubsRequest) ProtoReflect() protoreflect.Message

func (*ListHubsRequest) Reset

func (x *ListHubsRequest) Reset()

func (*ListHubsRequest) String

func (x *ListHubsRequest) String() string

type ListHubsResponse

type ListHubsResponse struct {

	// The requested hubs.
	Hubs []*Hub `protobuf:"bytes,1,rep,name=hubs,proto3" json:"hubs,omitempty"`
	// The token for the next page of the response. To see more results,
	// use this value as the page_token for your next request. If this value
	// is empty, there are no more results.
	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
}

Response for [HubService.ListHubs][google.cloud.networkconnectivity.v1.HubService.ListHubs] method.

func (*ListHubsResponse) Descriptor

func (*ListHubsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListHubsResponse.ProtoReflect.Descriptor instead.

func (*ListHubsResponse) GetHubs

func (x *ListHubsResponse) GetHubs() []*Hub

func (*ListHubsResponse) GetNextPageToken

func (x *ListHubsResponse) GetNextPageToken() string

func (*ListHubsResponse) GetUnreachable

func (x *ListHubsResponse) GetUnreachable() []string

func (*ListHubsResponse) ProtoMessage

func (*ListHubsResponse) ProtoMessage()

func (*ListHubsResponse) ProtoReflect

func (x *ListHubsResponse) ProtoReflect() protoreflect.Message

func (*ListHubsResponse) Reset

func (x *ListHubsResponse) Reset()

func (*ListHubsResponse) String

func (x *ListHubsResponse) String() string

type ListPolicyBasedRoutesRequest

type ListPolicyBasedRoutesRequest struct {

	// Required. The parent resource's name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of results per page that should be returned.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters the results listed in the response.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Sort the results by a certain order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request for [PolicyBasedRouting.ListPolicyBasedRoutes][] method.

func (*ListPolicyBasedRoutesRequest) Descriptor

func (*ListPolicyBasedRoutesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPolicyBasedRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListPolicyBasedRoutesRequest) GetFilter

func (x *ListPolicyBasedRoutesRequest) GetFilter() string

func (*ListPolicyBasedRoutesRequest) GetOrderBy

func (x *ListPolicyBasedRoutesRequest) GetOrderBy() string

func (*ListPolicyBasedRoutesRequest) GetPageSize

func (x *ListPolicyBasedRoutesRequest) GetPageSize() int32

func (*ListPolicyBasedRoutesRequest) GetPageToken

func (x *ListPolicyBasedRoutesRequest) GetPageToken() string

func (*ListPolicyBasedRoutesRequest) GetParent

func (x *ListPolicyBasedRoutesRequest) GetParent() string

func (*ListPolicyBasedRoutesRequest) ProtoMessage

func (*ListPolicyBasedRoutesRequest) ProtoMessage()

func (*ListPolicyBasedRoutesRequest) ProtoReflect

func (*ListPolicyBasedRoutesRequest) Reset

func (x *ListPolicyBasedRoutesRequest) Reset()

func (*ListPolicyBasedRoutesRequest) String

type ListPolicyBasedRoutesResponse

type ListPolicyBasedRoutesResponse struct {

	// Policy based routes to be returned.
	PolicyBasedRoutes []*PolicyBasedRoute `protobuf:"bytes,1,rep,name=policy_based_routes,json=policyBasedRoutes,proto3" json:"policy_based_routes,omitempty"`
	// The next pagination token in the List response. It should be used as
	// page_token for the following request. An empty value means no more result.
	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
}

Response for [PolicyBasedRouting.ListPolicyBasedRoutes][] method.

func (*ListPolicyBasedRoutesResponse) Descriptor

func (*ListPolicyBasedRoutesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPolicyBasedRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListPolicyBasedRoutesResponse) GetNextPageToken

func (x *ListPolicyBasedRoutesResponse) GetNextPageToken() string

func (*ListPolicyBasedRoutesResponse) GetPolicyBasedRoutes

func (x *ListPolicyBasedRoutesResponse) GetPolicyBasedRoutes() []*PolicyBasedRoute

func (*ListPolicyBasedRoutesResponse) GetUnreachable

func (x *ListPolicyBasedRoutesResponse) GetUnreachable() []string

func (*ListPolicyBasedRoutesResponse) ProtoMessage

func (*ListPolicyBasedRoutesResponse) ProtoMessage()

func (*ListPolicyBasedRoutesResponse) ProtoReflect

func (*ListPolicyBasedRoutesResponse) Reset

func (x *ListPolicyBasedRoutesResponse) Reset()

func (*ListPolicyBasedRoutesResponse) String

type ListRouteTablesRequest

type ListRouteTablesRequest struct {

	// Required. The parent resource's name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of results to return per page.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// An expression that filters the list of results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Sort the results by a certain order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request for [HubService.ListRouteTables][google.cloud.networkconnectivity.v1.HubService.ListRouteTables] method.

func (*ListRouteTablesRequest) Descriptor

func (*ListRouteTablesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRouteTablesRequest.ProtoReflect.Descriptor instead.

func (*ListRouteTablesRequest) GetFilter

func (x *ListRouteTablesRequest) GetFilter() string

func (*ListRouteTablesRequest) GetOrderBy

func (x *ListRouteTablesRequest) GetOrderBy() string

func (*ListRouteTablesRequest) GetPageSize

func (x *ListRouteTablesRequest) GetPageSize() int32

func (*ListRouteTablesRequest) GetPageToken

func (x *ListRouteTablesRequest) GetPageToken() string

func (*ListRouteTablesRequest) GetParent

func (x *ListRouteTablesRequest) GetParent() string

func (*ListRouteTablesRequest) ProtoMessage

func (*ListRouteTablesRequest) ProtoMessage()

func (*ListRouteTablesRequest) ProtoReflect

func (x *ListRouteTablesRequest) ProtoReflect() protoreflect.Message

func (*ListRouteTablesRequest) Reset

func (x *ListRouteTablesRequest) Reset()

func (*ListRouteTablesRequest) String

func (x *ListRouteTablesRequest) String() string

type ListRouteTablesResponse

type ListRouteTablesResponse struct {

	// The requested route tables.
	RouteTables []*RouteTable `protobuf:"bytes,1,rep,name=route_tables,json=routeTables,proto3" json:"route_tables,omitempty"`
	// The token for the next page of the response. To see more results,
	// use this value as the page_token for your next request. If this value
	// is empty, there are no more results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Hubs that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response for [HubService.ListRouteTables][google.cloud.networkconnectivity.v1.HubService.ListRouteTables] method.

func (*ListRouteTablesResponse) Descriptor

func (*ListRouteTablesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRouteTablesResponse.ProtoReflect.Descriptor instead.

func (*ListRouteTablesResponse) GetNextPageToken

func (x *ListRouteTablesResponse) GetNextPageToken() string

func (*ListRouteTablesResponse) GetRouteTables

func (x *ListRouteTablesResponse) GetRouteTables() []*RouteTable

func (*ListRouteTablesResponse) GetUnreachable

func (x *ListRouteTablesResponse) GetUnreachable() []string

func (*ListRouteTablesResponse) ProtoMessage

func (*ListRouteTablesResponse) ProtoMessage()

func (*ListRouteTablesResponse) ProtoReflect

func (x *ListRouteTablesResponse) ProtoReflect() protoreflect.Message

func (*ListRouteTablesResponse) Reset

func (x *ListRouteTablesResponse) Reset()

func (*ListRouteTablesResponse) String

func (x *ListRouteTablesResponse) String() string

type ListRoutesRequest

type ListRoutesRequest struct {

	// Required. The parent resource's name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of results to return per page.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// An expression that filters the list of results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Sort the results by a certain order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request for [HubService.ListRoutes][google.cloud.networkconnectivity.v1.HubService.ListRoutes] method.

func (*ListRoutesRequest) Descriptor

func (*ListRoutesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListRoutesRequest) GetFilter

func (x *ListRoutesRequest) GetFilter() string

func (*ListRoutesRequest) GetOrderBy

func (x *ListRoutesRequest) GetOrderBy() string

func (*ListRoutesRequest) GetPageSize

func (x *ListRoutesRequest) GetPageSize() int32

func (*ListRoutesRequest) GetPageToken

func (x *ListRoutesRequest) GetPageToken() string

func (*ListRoutesRequest) GetParent

func (x *ListRoutesRequest) GetParent() string

func (*ListRoutesRequest) ProtoMessage

func (*ListRoutesRequest) ProtoMessage()

func (*ListRoutesRequest) ProtoReflect

func (x *ListRoutesRequest) ProtoReflect() protoreflect.Message

func (*ListRoutesRequest) Reset

func (x *ListRoutesRequest) Reset()

func (*ListRoutesRequest) String

func (x *ListRoutesRequest) String() string

type ListRoutesResponse

type ListRoutesResponse struct {

	// The requested routes.
	Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	// The token for the next page of the response. To see more results,
	// use this value as the page_token for your next request. If this value
	// is empty, there are no more results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// RouteTables that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response for [HubService.ListRoutes][google.cloud.networkconnectivity.v1.HubService.ListRoutes] method.

func (*ListRoutesResponse) Descriptor

func (*ListRoutesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListRoutesResponse) GetNextPageToken

func (x *ListRoutesResponse) GetNextPageToken() string

func (*ListRoutesResponse) GetRoutes

func (x *ListRoutesResponse) GetRoutes() []*Route

func (*ListRoutesResponse) GetUnreachable

func (x *ListRoutesResponse) GetUnreachable() []string

func (*ListRoutesResponse) ProtoMessage

func (*ListRoutesResponse) ProtoMessage()

func (*ListRoutesResponse) ProtoReflect

func (x *ListRoutesResponse) ProtoReflect() protoreflect.Message

func (*ListRoutesResponse) Reset

func (x *ListRoutesResponse) Reset()

func (*ListRoutesResponse) String

func (x *ListRoutesResponse) String() string

type ListSpokesRequest

type ListSpokesRequest struct {

	// Required. The parent resource.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of results to return per page.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// An expression that filters the list of results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Sort the results by a certain order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

The request for [HubService.ListSpokes][google.cloud.networkconnectivity.v1.HubService.ListSpokes].

func (*ListSpokesRequest) Descriptor

func (*ListSpokesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSpokesRequest.ProtoReflect.Descriptor instead.

func (*ListSpokesRequest) GetFilter

func (x *ListSpokesRequest) GetFilter() string

func (*ListSpokesRequest) GetOrderBy

func (x *ListSpokesRequest) GetOrderBy() string

func (*ListSpokesRequest) GetPageSize

func (x *ListSpokesRequest) GetPageSize() int32

func (*ListSpokesRequest) GetPageToken

func (x *ListSpokesRequest) GetPageToken() string

func (*ListSpokesRequest) GetParent

func (x *ListSpokesRequest) GetParent() string

func (*ListSpokesRequest) ProtoMessage

func (*ListSpokesRequest) ProtoMessage()

func (*ListSpokesRequest) ProtoReflect

func (x *ListSpokesRequest) ProtoReflect() protoreflect.Message

func (*ListSpokesRequest) Reset

func (x *ListSpokesRequest) Reset()

func (*ListSpokesRequest) String

func (x *ListSpokesRequest) String() string

type ListSpokesResponse

type ListSpokesResponse struct {

	// The requested spokes.
	Spokes []*Spoke `protobuf:"bytes,1,rep,name=spokes,proto3" json:"spokes,omitempty"`
	// The token for the next page of the response. To see more results,
	// use this value as the page_token for your next request. If this value
	// is empty, there are no more results.
	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
}

The response for [HubService.ListSpokes][google.cloud.networkconnectivity.v1.HubService.ListSpokes].

func (*ListSpokesResponse) Descriptor

func (*ListSpokesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSpokesResponse.ProtoReflect.Descriptor instead.

func (*ListSpokesResponse) GetNextPageToken

func (x *ListSpokesResponse) GetNextPageToken() string

func (*ListSpokesResponse) GetSpokes

func (x *ListSpokesResponse) GetSpokes() []*Spoke

func (*ListSpokesResponse) GetUnreachable

func (x *ListSpokesResponse) GetUnreachable() []string

func (*ListSpokesResponse) ProtoMessage

func (*ListSpokesResponse) ProtoMessage()

func (*ListSpokesResponse) ProtoReflect

func (x *ListSpokesResponse) ProtoReflect() protoreflect.Message

func (*ListSpokesResponse) Reset

func (x *ListSpokesResponse) Reset()

func (*ListSpokesResponse) String

func (x *ListSpokesResponse) String() string

type LocationFeature

type LocationFeature int32

Supported features for a location

const (
	// No publicly supported feature in this location
	LocationFeature_LOCATION_FEATURE_UNSPECIFIED LocationFeature = 0
	// Site-to-cloud spokes are supported in this location
	LocationFeature_SITE_TO_CLOUD_SPOKES LocationFeature = 1
	// Site-to-site spokes are supported in this location
	LocationFeature_SITE_TO_SITE_SPOKES LocationFeature = 2
)

func (LocationFeature) Descriptor

func (LocationFeature) Enum

func (x LocationFeature) Enum() *LocationFeature

func (LocationFeature) EnumDescriptor

func (LocationFeature) EnumDescriptor() ([]byte, []int)

Deprecated: Use LocationFeature.Descriptor instead.

func (LocationFeature) Number

func (LocationFeature) String

func (x LocationFeature) String() string

func (LocationFeature) Type

type LocationMetadata

type LocationMetadata struct {

	// List of supported features
	LocationFeatures []LocationFeature `protobuf:"varint,1,rep,packed,name=location_features,json=locationFeatures,proto3,enum=google.cloud.networkconnectivity.v1.LocationFeature" json:"location_features,omitempty"`
	// contains filtered or unexported fields
}

Metadata about locations

func (*LocationMetadata) Descriptor

func (*LocationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.

func (*LocationMetadata) GetLocationFeatures

func (x *LocationMetadata) GetLocationFeatures() []LocationFeature

func (*LocationMetadata) ProtoMessage

func (*LocationMetadata) ProtoMessage()

func (*LocationMetadata) ProtoReflect

func (x *LocationMetadata) ProtoReflect() protoreflect.Message

func (*LocationMetadata) Reset

func (x *LocationMetadata) Reset()

func (*LocationMetadata) String

func (x *LocationMetadata) String() string

type NextHopInterconnectAttachment

type NextHopInterconnectAttachment struct {

	// The URI of the interconnect attachment resource.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// The VPC network where this interconnect attachment is located.
	VpcNetwork string `protobuf:"bytes,2,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
	// Indicates whether site-to-site data transfer is allowed for this
	// interconnect attachment resource. Data transfer is available only in
	// [supported
	// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
	SiteToSiteDataTransfer bool `protobuf:"varint,3,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
	// contains filtered or unexported fields
}

A route next hop that leads to an interconnect attachment resource.

func (*NextHopInterconnectAttachment) Descriptor

func (*NextHopInterconnectAttachment) Descriptor() ([]byte, []int)

Deprecated: Use NextHopInterconnectAttachment.ProtoReflect.Descriptor instead.

func (*NextHopInterconnectAttachment) GetSiteToSiteDataTransfer

func (x *NextHopInterconnectAttachment) GetSiteToSiteDataTransfer() bool

func (*NextHopInterconnectAttachment) GetUri

func (*NextHopInterconnectAttachment) GetVpcNetwork

func (x *NextHopInterconnectAttachment) GetVpcNetwork() string

func (*NextHopInterconnectAttachment) ProtoMessage

func (*NextHopInterconnectAttachment) ProtoMessage()

func (*NextHopInterconnectAttachment) ProtoReflect

func (*NextHopInterconnectAttachment) Reset

func (x *NextHopInterconnectAttachment) Reset()

func (*NextHopInterconnectAttachment) String

type NextHopRouterApplianceInstance

type NextHopRouterApplianceInstance struct {

	// The URI of the Router appliance instance.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// The VPC network where this VM is located.
	VpcNetwork string `protobuf:"bytes,2,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
	// Indicates whether site-to-site data transfer is allowed for this Router
	// appliance instance resource. Data transfer is available only in [supported
	// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
	SiteToSiteDataTransfer bool `protobuf:"varint,3,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
	// contains filtered or unexported fields
}

A route next hop that leads to a Router appliance instance.

func (*NextHopRouterApplianceInstance) Descriptor

func (*NextHopRouterApplianceInstance) Descriptor() ([]byte, []int)

Deprecated: Use NextHopRouterApplianceInstance.ProtoReflect.Descriptor instead.

func (*NextHopRouterApplianceInstance) GetSiteToSiteDataTransfer

func (x *NextHopRouterApplianceInstance) GetSiteToSiteDataTransfer() bool

func (*NextHopRouterApplianceInstance) GetUri

func (*NextHopRouterApplianceInstance) GetVpcNetwork

func (x *NextHopRouterApplianceInstance) GetVpcNetwork() string

func (*NextHopRouterApplianceInstance) ProtoMessage

func (*NextHopRouterApplianceInstance) ProtoMessage()

func (*NextHopRouterApplianceInstance) ProtoReflect

func (*NextHopRouterApplianceInstance) Reset

func (x *NextHopRouterApplianceInstance) Reset()

func (*NextHopRouterApplianceInstance) String

type NextHopVPNTunnel

type NextHopVPNTunnel struct {

	// The URI of the VPN tunnel resource.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// The VPC network where this VPN tunnel is located.
	VpcNetwork string `protobuf:"bytes,2,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
	// Indicates whether site-to-site data transfer is allowed for this VPN tunnel
	// resource. Data transfer is available only in [supported
	// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
	SiteToSiteDataTransfer bool `protobuf:"varint,3,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
	// contains filtered or unexported fields
}

A route next hop that leads to a VPN tunnel resource.

func (*NextHopVPNTunnel) Descriptor

func (*NextHopVPNTunnel) Descriptor() ([]byte, []int)

Deprecated: Use NextHopVPNTunnel.ProtoReflect.Descriptor instead.

func (*NextHopVPNTunnel) GetSiteToSiteDataTransfer

func (x *NextHopVPNTunnel) GetSiteToSiteDataTransfer() bool

func (*NextHopVPNTunnel) GetUri

func (x *NextHopVPNTunnel) GetUri() string

func (*NextHopVPNTunnel) GetVpcNetwork

func (x *NextHopVPNTunnel) GetVpcNetwork() string

func (*NextHopVPNTunnel) ProtoMessage

func (*NextHopVPNTunnel) ProtoMessage()

func (*NextHopVPNTunnel) ProtoReflect

func (x *NextHopVPNTunnel) ProtoReflect() protoreflect.Message

func (*NextHopVPNTunnel) Reset

func (x *NextHopVPNTunnel) Reset()

func (*NextHopVPNTunnel) String

func (x *NextHopVPNTunnel) String() string

type NextHopVpcNetwork

type NextHopVpcNetwork struct {

	// The URI of the VPC network resource
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

func (*NextHopVpcNetwork) Descriptor

func (*NextHopVpcNetwork) Descriptor() ([]byte, []int)

Deprecated: Use NextHopVpcNetwork.ProtoReflect.Descriptor instead.

func (*NextHopVpcNetwork) GetUri

func (x *NextHopVpcNetwork) GetUri() string

func (*NextHopVpcNetwork) ProtoMessage

func (*NextHopVpcNetwork) ProtoMessage()

func (*NextHopVpcNetwork) ProtoReflect

func (x *NextHopVpcNetwork) ProtoReflect() protoreflect.Message

func (*NextHopVpcNetwork) Reset

func (x *NextHopVpcNetwork) Reset()

func (*NextHopVpcNetwork) String

func (x *NextHopVpcNetwork) String() string

type 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() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type PolicyBasedRoute

type PolicyBasedRoute struct {

	// Target specifies network endpoints to which this policy based route applies
	// to. If none of the target is specified, the PBR will be installed on all
	// network endpoints (e.g. VMs, VPNs, and Interconnects) in the VPC.
	//
	// Types that are assignable to Target:
	//
	//	*PolicyBasedRoute_VirtualMachine_
	//	*PolicyBasedRoute_InterconnectAttachment_
	Target isPolicyBasedRoute_Target `protobuf_oneof:"target"`
	// Types that are assignable to NextHop:
	//
	//	*PolicyBasedRoute_NextHopIlbIp
	//	*PolicyBasedRoute_NextHopOtherRoutes
	NextHop isPolicyBasedRoute_NextHop `protobuf_oneof:"next_hop"`
	// Immutable. A unique name of the resource in the form of
	// `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Time when the PolicyBasedRoute was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when the PolicyBasedRoute was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined labels.
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Optional. An optional description of this resource. Provide this field when
	// you create the resource.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Required. Fully-qualified URL of the network that this route applies to.
	// e.g. projects/my-project/global/networks/my-network.
	Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
	// Required. The filter to match L4 traffic.
	Filter *PolicyBasedRoute_Filter `protobuf:"bytes,10,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The priority of this policy based route. Priority is used to
	// break ties in cases where there are more than one matching policy based
	// routes found. In cases where multiple policy based routes are matched, the
	// one with the lowest-numbered priority value wins. The default value is
	// 1000. The priority value must be from 1 to 65535, inclusive.
	Priority int32 `protobuf:"varint,11,opt,name=priority,proto3" json:"priority,omitempty"`
	// Output only. If potential misconfigurations are detected for this route,
	// this field will be populated with warning messages.
	Warnings []*PolicyBasedRoute_Warnings `protobuf:"bytes,14,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// Output only. Server-defined fully-qualified URL for this resource.
	SelfLink string `protobuf:"bytes,15,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// Output only. Type of this resource. Always
	// networkconnectivity#policyBasedRoute for Policy Based Route resources.
	Kind string `protobuf:"bytes,16,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Policy Based Routes (PBR) are more powerful routes that allows GCP customers to route their L4 network traffic based on not just destination IP, but also source IP, protocol and more. A PBR always take precedence when it conflicts with other types of routes. Next id: 22

func (*PolicyBasedRoute) Descriptor

func (*PolicyBasedRoute) Descriptor() ([]byte, []int)

Deprecated: Use PolicyBasedRoute.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute) GetCreateTime

func (x *PolicyBasedRoute) GetCreateTime() *timestamppb.Timestamp

func (*PolicyBasedRoute) GetDescription

func (x *PolicyBasedRoute) GetDescription() string

func (*PolicyBasedRoute) GetFilter

func (x *PolicyBasedRoute) GetFilter() *PolicyBasedRoute_Filter

func (*PolicyBasedRoute) GetInterconnectAttachment

func (x *PolicyBasedRoute) GetInterconnectAttachment() *PolicyBasedRoute_InterconnectAttachment

func (*PolicyBasedRoute) GetKind

func (x *PolicyBasedRoute) GetKind() string

func (*PolicyBasedRoute) GetLabels

func (x *PolicyBasedRoute) GetLabels() map[string]string

func (*PolicyBasedRoute) GetName

func (x *PolicyBasedRoute) GetName() string

func (*PolicyBasedRoute) GetNetwork

func (x *PolicyBasedRoute) GetNetwork() string

func (*PolicyBasedRoute) GetNextHop

func (m *PolicyBasedRoute) GetNextHop() isPolicyBasedRoute_NextHop

func (*PolicyBasedRoute) GetNextHopIlbIp

func (x *PolicyBasedRoute) GetNextHopIlbIp() string

func (*PolicyBasedRoute) GetNextHopOtherRoutes

func (x *PolicyBasedRoute) GetNextHopOtherRoutes() PolicyBasedRoute_OtherRoutes

func (*PolicyBasedRoute) GetPriority

func (x *PolicyBasedRoute) GetPriority() int32
func (x *PolicyBasedRoute) GetSelfLink() string

func (*PolicyBasedRoute) GetTarget

func (m *PolicyBasedRoute) GetTarget() isPolicyBasedRoute_Target

func (*PolicyBasedRoute) GetUpdateTime

func (x *PolicyBasedRoute) GetUpdateTime() *timestamppb.Timestamp

func (*PolicyBasedRoute) GetVirtualMachine

func (x *PolicyBasedRoute) GetVirtualMachine() *PolicyBasedRoute_VirtualMachine

func (*PolicyBasedRoute) GetWarnings

func (x *PolicyBasedRoute) GetWarnings() []*PolicyBasedRoute_Warnings

func (*PolicyBasedRoute) ProtoMessage

func (*PolicyBasedRoute) ProtoMessage()

func (*PolicyBasedRoute) ProtoReflect

func (x *PolicyBasedRoute) ProtoReflect() protoreflect.Message

func (*PolicyBasedRoute) Reset

func (x *PolicyBasedRoute) Reset()

func (*PolicyBasedRoute) String

func (x *PolicyBasedRoute) String() string

type PolicyBasedRoute_Filter

type PolicyBasedRoute_Filter struct {

	// Optional. The IP protocol that this policy based route applies to. Valid
	// values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
	IpProtocol string `protobuf:"bytes,1,opt,name=ip_protocol,json=ipProtocol,proto3" json:"ip_protocol,omitempty"`
	// Optional. The source IP range of outgoing packets that this policy based
	// route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
	SrcRange string `protobuf:"bytes,2,opt,name=src_range,json=srcRange,proto3" json:"src_range,omitempty"`
	// Optional. The destination IP range of outgoing packets that this policy
	// based route applies to. Default is "0.0.0.0/0" if protocol version is
	// IPv4.
	DestRange string `protobuf:"bytes,3,opt,name=dest_range,json=destRange,proto3" json:"dest_range,omitempty"`
	// Required. Internet protocol versions this policy based route applies to.
	// For this version, only IPV4 is supported.
	ProtocolVersion PolicyBasedRoute_Filter_ProtocolVersion `protobuf:"varint,6,opt,name=protocol_version,json=protocolVersion,proto3,enum=google.cloud.networkconnectivity.v1.PolicyBasedRoute_Filter_ProtocolVersion" json:"protocol_version,omitempty"`
	// contains filtered or unexported fields
}

Filter matches L4 traffic.

func (*PolicyBasedRoute_Filter) Descriptor

func (*PolicyBasedRoute_Filter) Descriptor() ([]byte, []int)

Deprecated: Use PolicyBasedRoute_Filter.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_Filter) GetDestRange

func (x *PolicyBasedRoute_Filter) GetDestRange() string

func (*PolicyBasedRoute_Filter) GetIpProtocol

func (x *PolicyBasedRoute_Filter) GetIpProtocol() string

func (*PolicyBasedRoute_Filter) GetProtocolVersion

func (*PolicyBasedRoute_Filter) GetSrcRange

func (x *PolicyBasedRoute_Filter) GetSrcRange() string

func (*PolicyBasedRoute_Filter) ProtoMessage

func (*PolicyBasedRoute_Filter) ProtoMessage()

func (*PolicyBasedRoute_Filter) ProtoReflect

func (x *PolicyBasedRoute_Filter) ProtoReflect() protoreflect.Message

func (*PolicyBasedRoute_Filter) Reset

func (x *PolicyBasedRoute_Filter) Reset()

func (*PolicyBasedRoute_Filter) String

func (x *PolicyBasedRoute_Filter) String() string

type PolicyBasedRoute_Filter_ProtocolVersion

type PolicyBasedRoute_Filter_ProtocolVersion int32

The internet protocol version.

const (
	// Default value.
	PolicyBasedRoute_Filter_PROTOCOL_VERSION_UNSPECIFIED PolicyBasedRoute_Filter_ProtocolVersion = 0
	// The PBR is for IPv4 internet protocol traffic.
	PolicyBasedRoute_Filter_IPV4 PolicyBasedRoute_Filter_ProtocolVersion = 1
)

func (PolicyBasedRoute_Filter_ProtocolVersion) Descriptor

func (PolicyBasedRoute_Filter_ProtocolVersion) Enum

func (PolicyBasedRoute_Filter_ProtocolVersion) EnumDescriptor

func (PolicyBasedRoute_Filter_ProtocolVersion) EnumDescriptor() ([]byte, []int)

Deprecated: Use PolicyBasedRoute_Filter_ProtocolVersion.Descriptor instead.

func (PolicyBasedRoute_Filter_ProtocolVersion) Number

func (PolicyBasedRoute_Filter_ProtocolVersion) String

func (PolicyBasedRoute_Filter_ProtocolVersion) Type

type PolicyBasedRoute_InterconnectAttachment

type PolicyBasedRoute_InterconnectAttachment struct {

	// Optional. Cloud region to install this policy based route on interconnect
	// attachment. Use `all` to install it on all interconnect attachments.
	Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

InterconnectAttachment to which this route applies to.

func (*PolicyBasedRoute_InterconnectAttachment) Descriptor

func (*PolicyBasedRoute_InterconnectAttachment) Descriptor() ([]byte, []int)

Deprecated: Use PolicyBasedRoute_InterconnectAttachment.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_InterconnectAttachment) GetRegion

func (*PolicyBasedRoute_InterconnectAttachment) ProtoMessage

func (*PolicyBasedRoute_InterconnectAttachment) ProtoReflect

func (*PolicyBasedRoute_InterconnectAttachment) Reset

func (*PolicyBasedRoute_InterconnectAttachment) String

type PolicyBasedRoute_InterconnectAttachment_

type PolicyBasedRoute_InterconnectAttachment_ struct {
	// Optional. The interconnect attachments to which this route applies to.
	InterconnectAttachment *PolicyBasedRoute_InterconnectAttachment `protobuf:"bytes,9,opt,name=interconnect_attachment,json=interconnectAttachment,proto3,oneof"`
}

type PolicyBasedRoute_NextHopIlbIp

type PolicyBasedRoute_NextHopIlbIp struct {
	// Optional. The IP of a global access enabled L4 ILB that should be the
	// next hop to handle matching packets. For this version, only
	// next_hop_ilb_ip is supported.
	NextHopIlbIp string `protobuf:"bytes,12,opt,name=next_hop_ilb_ip,json=nextHopIlbIp,proto3,oneof"`
}

type PolicyBasedRoute_NextHopOtherRoutes

type PolicyBasedRoute_NextHopOtherRoutes struct {
	// Optional. Other routes that will be referenced to determine the next hop
	// of the packet.
	NextHopOtherRoutes PolicyBasedRoute_OtherRoutes `protobuf:"varint,21,opt,name=next_hop_other_routes,json=nextHopOtherRoutes,proto3,enum=google.cloud.networkconnectivity.v1.PolicyBasedRoute_OtherRoutes,oneof"`
}

type PolicyBasedRoute_OtherRoutes

type PolicyBasedRoute_OtherRoutes int32

The other routing cases.

const (
	// Default value.
	PolicyBasedRoute_OTHER_ROUTES_UNSPECIFIED PolicyBasedRoute_OtherRoutes = 0
	// Use the routes from the default routing tables (system-generated routes,
	// custom routes, peering route) to determine the next hop. This will
	// effectively exclude matching packets being applied on other PBRs with a
	// lower priority.
	PolicyBasedRoute_DEFAULT_ROUTING PolicyBasedRoute_OtherRoutes = 1
)

func (PolicyBasedRoute_OtherRoutes) Descriptor

func (PolicyBasedRoute_OtherRoutes) Enum

func (PolicyBasedRoute_OtherRoutes) EnumDescriptor

func (PolicyBasedRoute_OtherRoutes) EnumDescriptor() ([]byte, []int)

Deprecated: Use PolicyBasedRoute_OtherRoutes.Descriptor instead.

func (PolicyBasedRoute_OtherRoutes) Number

func (PolicyBasedRoute_OtherRoutes) String

func (PolicyBasedRoute_OtherRoutes) Type

type PolicyBasedRoute_VirtualMachine

type PolicyBasedRoute_VirtualMachine struct {

	// Optional. A list of VM instance tags to which this policy based route
	// applies to. VM instances that have ANY of tags specified here will
	// install this PBR.
	Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

VM instances to which this policy based route applies to.

func (*PolicyBasedRoute_VirtualMachine) Descriptor

func (*PolicyBasedRoute_VirtualMachine) Descriptor() ([]byte, []int)

Deprecated: Use PolicyBasedRoute_VirtualMachine.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_VirtualMachine) GetTags

func (x *PolicyBasedRoute_VirtualMachine) GetTags() []string

func (*PolicyBasedRoute_VirtualMachine) ProtoMessage

func (*PolicyBasedRoute_VirtualMachine) ProtoMessage()

func (*PolicyBasedRoute_VirtualMachine) ProtoReflect

func (*PolicyBasedRoute_VirtualMachine) Reset

func (*PolicyBasedRoute_VirtualMachine) String

type PolicyBasedRoute_VirtualMachine_

type PolicyBasedRoute_VirtualMachine_ struct {
	// Optional. VM instances to which this policy based route applies to.
	VirtualMachine *PolicyBasedRoute_VirtualMachine `protobuf:"bytes,18,opt,name=virtual_machine,json=virtualMachine,proto3,oneof"`
}

type PolicyBasedRoute_Warnings

type PolicyBasedRoute_Warnings struct {

	// Output only. A warning code, if applicable.
	Code PolicyBasedRoute_Warnings_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.networkconnectivity.v1.PolicyBasedRoute_Warnings_Code" json:"code,omitempty"`
	// Output only. Metadata about this warning in key: value format. The key
	// should provides more detail on the warning being returned. For example,
	// for warnings where there are no results in a list request for a
	// particular zone, this key might be scope and the key value might be the
	// zone name. Other examples might be a key indicating a deprecated resource
	// and a suggested replacement.
	Data map[string]string `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Output only. A human-readable description of the warning code.
	WarningMessage string `protobuf:"bytes,3,opt,name=warning_message,json=warningMessage,proto3" json:"warning_message,omitempty"`
	// contains filtered or unexported fields
}

Informational warning message.

func (*PolicyBasedRoute_Warnings) Descriptor

func (*PolicyBasedRoute_Warnings) Descriptor() ([]byte, []int)

Deprecated: Use PolicyBasedRoute_Warnings.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_Warnings) GetCode

func (*PolicyBasedRoute_Warnings) GetData

func (x *PolicyBasedRoute_Warnings) GetData() map[string]string

func (*PolicyBasedRoute_Warnings) GetWarningMessage

func (x *PolicyBasedRoute_Warnings) GetWarningMessage() string

func (*PolicyBasedRoute_Warnings) ProtoMessage

func (*PolicyBasedRoute_Warnings) ProtoMessage()

func (*PolicyBasedRoute_Warnings) ProtoReflect

func (*PolicyBasedRoute_Warnings) Reset

func (x *PolicyBasedRoute_Warnings) Reset()

func (*PolicyBasedRoute_Warnings) String

func (x *PolicyBasedRoute_Warnings) String() string

type PolicyBasedRoute_Warnings_Code

type PolicyBasedRoute_Warnings_Code int32

Warning code for Policy Based Routing. Expect to add values in the future.

const (
	// Default value.
	PolicyBasedRoute_Warnings_WARNING_UNSPECIFIED PolicyBasedRoute_Warnings_Code = 0
	// The policy based route is not active and functioning. Common causes are
	// the dependent network was deleted or the resource project was turned
	// off.
	PolicyBasedRoute_Warnings_RESOURCE_NOT_ACTIVE PolicyBasedRoute_Warnings_Code = 1
	// The policy based route is being modified (e.g. created/deleted) at this
	// time.
	PolicyBasedRoute_Warnings_RESOURCE_BEING_MODIFIED PolicyBasedRoute_Warnings_Code = 2
)

func (PolicyBasedRoute_Warnings_Code) Descriptor

func (PolicyBasedRoute_Warnings_Code) Enum

func (PolicyBasedRoute_Warnings_Code) EnumDescriptor

func (PolicyBasedRoute_Warnings_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use PolicyBasedRoute_Warnings_Code.Descriptor instead.

func (PolicyBasedRoute_Warnings_Code) Number

func (PolicyBasedRoute_Warnings_Code) String

func (PolicyBasedRoute_Warnings_Code) Type

type PolicyBasedRoutingServiceClient

type PolicyBasedRoutingServiceClient interface {
	// Lists PolicyBasedRoutes in a given project and location.
	ListPolicyBasedRoutes(ctx context.Context, in *ListPolicyBasedRoutesRequest, opts ...grpc.CallOption) (*ListPolicyBasedRoutesResponse, error)
	// Gets details of a single PolicyBasedRoute.
	GetPolicyBasedRoute(ctx context.Context, in *GetPolicyBasedRouteRequest, opts ...grpc.CallOption) (*PolicyBasedRoute, error)
	// Creates a new PolicyBasedRoute in a given project and location.
	CreatePolicyBasedRoute(ctx context.Context, in *CreatePolicyBasedRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single PolicyBasedRoute.
	DeletePolicyBasedRoute(ctx context.Context, in *DeletePolicyBasedRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

PolicyBasedRoutingServiceClient is the client API for PolicyBasedRoutingService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPolicyBasedRoutingServiceClient

func NewPolicyBasedRoutingServiceClient(cc grpc.ClientConnInterface) PolicyBasedRoutingServiceClient

type PolicyBasedRoutingServiceServer

type PolicyBasedRoutingServiceServer interface {
	// Lists PolicyBasedRoutes in a given project and location.
	ListPolicyBasedRoutes(context.Context, *ListPolicyBasedRoutesRequest) (*ListPolicyBasedRoutesResponse, error)
	// Gets details of a single PolicyBasedRoute.
	GetPolicyBasedRoute(context.Context, *GetPolicyBasedRouteRequest) (*PolicyBasedRoute, error)
	// Creates a new PolicyBasedRoute in a given project and location.
	CreatePolicyBasedRoute(context.Context, *CreatePolicyBasedRouteRequest) (*longrunningpb.Operation, error)
	// Deletes a single PolicyBasedRoute.
	DeletePolicyBasedRoute(context.Context, *DeletePolicyBasedRouteRequest) (*longrunningpb.Operation, error)
}

PolicyBasedRoutingServiceServer is the server API for PolicyBasedRoutingService service.

type PolicyMode

type PolicyMode int32

This enum controls the policy mode used in a hub.

const (
	// Policy mode is unspecified. It defaults to PRESET
	// with preset_topology = MESH.
	PolicyMode_POLICY_MODE_UNSPECIFIED PolicyMode = 0
	// Hub uses one of the preset topologies.
	PolicyMode_PRESET PolicyMode = 1
)

func (PolicyMode) Descriptor

func (PolicyMode) Descriptor() protoreflect.EnumDescriptor

func (PolicyMode) Enum

func (x PolicyMode) Enum() *PolicyMode

func (PolicyMode) EnumDescriptor

func (PolicyMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use PolicyMode.Descriptor instead.

func (PolicyMode) Number

func (x PolicyMode) Number() protoreflect.EnumNumber

func (PolicyMode) String

func (x PolicyMode) String() string

func (PolicyMode) Type

type PresetTopology

type PresetTopology int32

The list of available preset topologies.

const (
	// Preset topology is unspecified. When policy_mode = PRESET,
	// it defaults to MESH.
	PresetTopology_PRESET_TOPOLOGY_UNSPECIFIED PresetTopology = 0
	// Mesh topology is implemented. Group `default` is automatically created.
	// All spokes in the hub are added to group `default`.
	PresetTopology_MESH PresetTopology = 2
	// Star topology is implemented. Two groups, `center` and `edge`, are
	// automatically created along with hub creation. Spokes have to join one of
	// the groups during creation.
	PresetTopology_STAR PresetTopology = 3
)

func (PresetTopology) Descriptor

func (PresetTopology) Enum

func (x PresetTopology) Enum() *PresetTopology

func (PresetTopology) EnumDescriptor

func (PresetTopology) EnumDescriptor() ([]byte, []int)

Deprecated: Use PresetTopology.Descriptor instead.

func (PresetTopology) Number

func (PresetTopology) String

func (x PresetTopology) String() string

func (PresetTopology) Type

type PscPropagationStatus

type PscPropagationStatus struct {

	// The name of the spoke that the source forwarding rule belongs to.
	SourceSpoke string `protobuf:"bytes,1,opt,name=source_spoke,json=sourceSpoke,proto3" json:"source_spoke,omitempty"`
	// The name of the group that the source spoke belongs to.
	SourceGroup string `protobuf:"bytes,2,opt,name=source_group,json=sourceGroup,proto3" json:"source_group,omitempty"`
	// The name of the forwarding rule exported to the hub.
	SourceForwardingRule string `protobuf:"bytes,3,opt,name=source_forwarding_rule,json=sourceForwardingRule,proto3" json:"source_forwarding_rule,omitempty"`
	// The name of the spoke that the source forwarding rule propagates to.
	TargetSpoke string `protobuf:"bytes,4,opt,name=target_spoke,json=targetSpoke,proto3" json:"target_spoke,omitempty"`
	// The name of the group that the target spoke belongs to.
	TargetGroup string `protobuf:"bytes,5,opt,name=target_group,json=targetGroup,proto3" json:"target_group,omitempty"`
	// The propagation status.
	Code PscPropagationStatus_Code `protobuf:"varint,6,opt,name=code,proto3,enum=google.cloud.networkconnectivity.v1.PscPropagationStatus_Code" json:"code,omitempty"`
	// The human-readable summary of the Private Service Connect connection
	// propagation status.
	Message string `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

The status of one or more propagated Private Service Connect connections in a hub.

func (*PscPropagationStatus) Descriptor

func (*PscPropagationStatus) Descriptor() ([]byte, []int)

Deprecated: Use PscPropagationStatus.ProtoReflect.Descriptor instead.

func (*PscPropagationStatus) GetCode

func (*PscPropagationStatus) GetMessage

func (x *PscPropagationStatus) GetMessage() string

func (*PscPropagationStatus) GetSourceForwardingRule

func (x *PscPropagationStatus) GetSourceForwardingRule() string

func (*PscPropagationStatus) GetSourceGroup

func (x *PscPropagationStatus) GetSourceGroup() string

func (*PscPropagationStatus) GetSourceSpoke

func (x *PscPropagationStatus) GetSourceSpoke() string

func (*PscPropagationStatus) GetTargetGroup

func (x *PscPropagationStatus) GetTargetGroup() string

func (*PscPropagationStatus) GetTargetSpoke

func (x *PscPropagationStatus) GetTargetSpoke() string

func (*PscPropagationStatus) ProtoMessage

func (*PscPropagationStatus) ProtoMessage()

func (*PscPropagationStatus) ProtoReflect

func (x *PscPropagationStatus) ProtoReflect() protoreflect.Message

func (*PscPropagationStatus) Reset

func (x *PscPropagationStatus) Reset()

func (*PscPropagationStatus) String

func (x *PscPropagationStatus) String() string

type PscPropagationStatus_Code

type PscPropagationStatus_Code int32

The Code enum represents the state of the Private Service Connect propagation.

const (
	// The code is unspecified.
	PscPropagationStatus_CODE_UNSPECIFIED PscPropagationStatus_Code = 0
	// The propagated Private Service Connect connection is ready.
	PscPropagationStatus_READY PscPropagationStatus_Code = 1
	// The Private Service Connect connection is propagating. This is a
	// transient state.
	PscPropagationStatus_PROPAGATING PscPropagationStatus_Code = 2
	// The Private Service Connect connection propagation failed because the VPC
	// network or the project of the target spoke has exceeded the connection
	// limit set by the producer.
	PscPropagationStatus_ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED PscPropagationStatus_Code = 3
	// The Private Service Connect connection propagation failed because the NAT
	// IP subnet space has been exhausted. It is equivalent to the `Needs
	// attention` status of the Private Service Connect connection. See
	// https://cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints#connection-statuses.
	PscPropagationStatus_ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED PscPropagationStatus_Code = 4
	// The Private Service Connect connection propagation failed because the
	// `PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK` quota in the
	// producer VPC network has been exceeded.
	PscPropagationStatus_ERROR_PRODUCER_QUOTA_EXCEEDED PscPropagationStatus_Code = 5
	// The Private Service Connect connection propagation failed because the
	// `PSC_PROPAGATED_CONNECTIONS_PER_VPC_NETWORK` quota in the consumer
	// VPC network has been exceeded.
	PscPropagationStatus_ERROR_CONSUMER_QUOTA_EXCEEDED PscPropagationStatus_Code = 6
)

func (PscPropagationStatus_Code) Descriptor

func (PscPropagationStatus_Code) Enum

func (PscPropagationStatus_Code) EnumDescriptor

func (PscPropagationStatus_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use PscPropagationStatus_Code.Descriptor instead.

func (PscPropagationStatus_Code) Number

func (PscPropagationStatus_Code) String

func (x PscPropagationStatus_Code) String() string

func (PscPropagationStatus_Code) Type

type QueryHubStatusRequest

type QueryHubStatusRequest struct {

	// Required. The name of the hub.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The maximum number of results to return per page.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. The page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. An expression that filters the list of results.
	// The filter can be used to filter the results by the following fields:
	//   - `psc_propagation_status.source_spoke`
	//   - `psc_propagation_status.source_group`
	//   - `psc_propagation_status.source_forwarding_rule`
	//   - `psc_propagation_status.target_spoke`
	//   - `psc_propagation_status.target_group`
	//   - `psc_propagation_status.code`
	//   - `psc_propagation_status.message`
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Sort the results in ascending order by the specified fields.
	// A comma-separated list of any of these fields:
	//   - `psc_propagation_status.source_spoke`
	//   - `psc_propagation_status.source_group`
	//   - `psc_propagation_status.source_forwarding_rule`
	//   - `psc_propagation_status.target_spoke`
	//   - `psc_propagation_status.target_group`
	//   - `psc_propagation_status.code`
	//
	// If `group_by` is set, the value of the `order_by` field must be the
	// same as or a subset of the `group_by` field.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Optional. Aggregate the results by the specified fields.
	// A comma-separated list of any of these fields:
	//   - `psc_propagation_status.source_spoke`
	//   - `psc_propagation_status.source_group`
	//   - `psc_propagation_status.source_forwarding_rule`
	//   - `psc_propagation_status.target_spoke`
	//   - `psc_propagation_status.target_group`
	//   - `psc_propagation_status.code`
	GroupBy string `protobuf:"bytes,6,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
	// contains filtered or unexported fields
}

The request for [HubService.QueryHubStatus][google.cloud.networkconnectivity.v1.HubService.QueryHubStatus].

func (*QueryHubStatusRequest) Descriptor

func (*QueryHubStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryHubStatusRequest.ProtoReflect.Descriptor instead.

func (*QueryHubStatusRequest) GetFilter

func (x *QueryHubStatusRequest) GetFilter() string

func (*QueryHubStatusRequest) GetGroupBy

func (x *QueryHubStatusRequest) GetGroupBy() string

func (*QueryHubStatusRequest) GetName

func (x *QueryHubStatusRequest) GetName() string

func (*QueryHubStatusRequest) GetOrderBy

func (x *QueryHubStatusRequest) GetOrderBy() string

func (*QueryHubStatusRequest) GetPageSize

func (x *QueryHubStatusRequest) GetPageSize() int32

func (*QueryHubStatusRequest) GetPageToken

func (x *QueryHubStatusRequest) GetPageToken() string

func (*QueryHubStatusRequest) ProtoMessage

func (*QueryHubStatusRequest) ProtoMessage()

func (*QueryHubStatusRequest) ProtoReflect

func (x *QueryHubStatusRequest) ProtoReflect() protoreflect.Message

func (*QueryHubStatusRequest) Reset

func (x *QueryHubStatusRequest) Reset()

func (*QueryHubStatusRequest) String

func (x *QueryHubStatusRequest) String() string

type QueryHubStatusResponse

type QueryHubStatusResponse struct {

	// The list of hub status.
	HubStatusEntries []*HubStatusEntry `protobuf:"bytes,1,rep,name=hub_status_entries,json=hubStatusEntries,proto3" json:"hub_status_entries,omitempty"`
	// The token for the next page of the response. To see more results,
	// use this value as the page_token for your next request. If this value
	// is empty, there are no more results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response for [HubService.QueryHubStatus][google.cloud.networkconnectivity.v1.HubService.QueryHubStatus].

func (*QueryHubStatusResponse) Descriptor

func (*QueryHubStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryHubStatusResponse.ProtoReflect.Descriptor instead.

func (*QueryHubStatusResponse) GetHubStatusEntries

func (x *QueryHubStatusResponse) GetHubStatusEntries() []*HubStatusEntry

func (*QueryHubStatusResponse) GetNextPageToken

func (x *QueryHubStatusResponse) GetNextPageToken() string

func (*QueryHubStatusResponse) ProtoMessage

func (*QueryHubStatusResponse) ProtoMessage()

func (*QueryHubStatusResponse) ProtoReflect

func (x *QueryHubStatusResponse) ProtoReflect() protoreflect.Message

func (*QueryHubStatusResponse) Reset

func (x *QueryHubStatusResponse) Reset()

func (*QueryHubStatusResponse) String

func (x *QueryHubStatusResponse) String() string

type RejectHubSpokeRequest

type RejectHubSpokeRequest struct {

	// Required. The name of the hub from which to reject the spoke.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The URI of the spoke to reject from the hub.
	SpokeUri string `protobuf:"bytes,2,opt,name=spoke_uri,json=spokeUri,proto3" json:"spoke_uri,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// 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 to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly 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"`
	// Optional. Additional information provided by the hub administrator.
	Details string `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

The request for [HubService.RejectHubSpoke][google.cloud.networkconnectivity.v1.HubService.RejectHubSpoke].

func (*RejectHubSpokeRequest) Descriptor

func (*RejectHubSpokeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RejectHubSpokeRequest.ProtoReflect.Descriptor instead.

func (*RejectHubSpokeRequest) GetDetails

func (x *RejectHubSpokeRequest) GetDetails() string

func (*RejectHubSpokeRequest) GetName

func (x *RejectHubSpokeRequest) GetName() string

func (*RejectHubSpokeRequest) GetRequestId

func (x *RejectHubSpokeRequest) GetRequestId() string

func (*RejectHubSpokeRequest) GetSpokeUri

func (x *RejectHubSpokeRequest) GetSpokeUri() string

func (*RejectHubSpokeRequest) ProtoMessage

func (*RejectHubSpokeRequest) ProtoMessage()

func (*RejectHubSpokeRequest) ProtoReflect

func (x *RejectHubSpokeRequest) ProtoReflect() protoreflect.Message

func (*RejectHubSpokeRequest) Reset

func (x *RejectHubSpokeRequest) Reset()

func (*RejectHubSpokeRequest) String

func (x *RejectHubSpokeRequest) String() string

type RejectHubSpokeResponse

type RejectHubSpokeResponse struct {

	// The spoke that was operated on.
	Spoke *Spoke `protobuf:"bytes,1,opt,name=spoke,proto3" json:"spoke,omitempty"`
	// contains filtered or unexported fields
}

The response for [HubService.RejectHubSpoke][google.cloud.networkconnectivity.v1.HubService.RejectHubSpoke].

func (*RejectHubSpokeResponse) Descriptor

func (*RejectHubSpokeResponse) Descriptor() ([]byte, []int)

Deprecated: Use RejectHubSpokeResponse.ProtoReflect.Descriptor instead.

func (*RejectHubSpokeResponse) GetSpoke

func (x *RejectHubSpokeResponse) GetSpoke() *Spoke

func (*RejectHubSpokeResponse) ProtoMessage

func (*RejectHubSpokeResponse) ProtoMessage()

func (*RejectHubSpokeResponse) ProtoReflect

func (x *RejectHubSpokeResponse) ProtoReflect() protoreflect.Message

func (*RejectHubSpokeResponse) Reset

func (x *RejectHubSpokeResponse) Reset()

func (*RejectHubSpokeResponse) String

func (x *RejectHubSpokeResponse) String() string

type Route

type Route struct {

	// Immutable. The name of the route. Route names must be unique. Route names
	// use the following form:
	//
	//	`projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}/routes/{route_id}`
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The time the route was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the route was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The destination IP address range.
	IpCidrRange string `protobuf:"bytes,1,opt,name=ip_cidr_range,json=ipCidrRange,proto3" json:"ip_cidr_range,omitempty"`
	// Output only. The route's type. Its type is determined by the properties of
	// its IP address range.
	Type RouteType `protobuf:"varint,10,opt,name=type,proto3,enum=google.cloud.networkconnectivity.v1.RouteType" json:"type,omitempty"`
	// Immutable. The destination VPC network for packets on this route.
	NextHopVpcNetwork *NextHopVpcNetwork `protobuf:"bytes,2,opt,name=next_hop_vpc_network,json=nextHopVpcNetwork,proto3" json:"next_hop_vpc_network,omitempty"`
	// Optional labels in key-value pair format. For more information about
	// labels, see [Requirements for
	// labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
	Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// An optional description of the route.
	Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The Google-generated UUID for the route. This value is unique
	// across all Network Connectivity Center route resources. If a
	// route is deleted and another with the same name is created,
	// the new route is assigned a different `uid`.
	Uid string `protobuf:"bytes,8,opt,name=uid,proto3" json:"uid,omitempty"`
	// Output only. The current lifecycle state of the route.
	State State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"`
	// Immutable. The spoke that this route leads to.
	// Example: projects/12345/locations/global/spokes/SPOKE
	Spoke string `protobuf:"bytes,11,opt,name=spoke,proto3" json:"spoke,omitempty"`
	// Output only. The origin location of the route.
	// Uses the following form: "projects/{project}/locations/{location}"
	// Example: projects/1234/locations/us-central1
	Location string `protobuf:"bytes,12,opt,name=location,proto3" json:"location,omitempty"`
	// Output only. The priority of this route. Priority is used to break ties in
	// cases where a destination matches more than one route. In these cases the
	// route with the lowest-numbered priority value wins.
	Priority int64 `protobuf:"varint,13,opt,name=priority,proto3" json:"priority,omitempty"`
	// Immutable. The next-hop VPN tunnel for packets on this route.
	NextHopVpnTunnel *NextHopVPNTunnel `protobuf:"bytes,14,opt,name=next_hop_vpn_tunnel,json=nextHopVpnTunnel,proto3" json:"next_hop_vpn_tunnel,omitempty"`
	// Immutable. The next-hop Router appliance instance for packets on this
	// route.
	NextHopRouterApplianceInstance *NextHopRouterApplianceInstance `protobuf:"bytes,15,opt,name=next_hop_router_appliance_instance,json=nextHopRouterApplianceInstance,proto3" json:"next_hop_router_appliance_instance,omitempty"`
	// Immutable. The next-hop VLAN attachment for packets on this route.
	NextHopInterconnectAttachment *NextHopInterconnectAttachment `protobuf:"bytes,16,opt,name=next_hop_interconnect_attachment,json=nextHopInterconnectAttachment,proto3" json:"next_hop_interconnect_attachment,omitempty"`
	// contains filtered or unexported fields
}

A route defines a path from VM instances within a spoke to a specific destination resource. Only VPC spokes have routes.

func (*Route) Descriptor

func (*Route) Descriptor() ([]byte, []int)

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetCreateTime

func (x *Route) GetCreateTime() *timestamppb.Timestamp

func (*Route) GetDescription

func (x *Route) GetDescription() string

func (*Route) GetIpCidrRange

func (x *Route) GetIpCidrRange() string

func (*Route) GetLabels

func (x *Route) GetLabels() map[string]string

func (*Route) GetLocation

func (x *Route) GetLocation() string

func (*Route) GetName

func (x *Route) GetName() string

func (*Route) GetNextHopInterconnectAttachment

func (x *Route) GetNextHopInterconnectAttachment() *NextHopInterconnectAttachment

func (*Route) GetNextHopRouterApplianceInstance

func (x *Route) GetNextHopRouterApplianceInstance() *NextHopRouterApplianceInstance

func (*Route) GetNextHopVpcNetwork

func (x *Route) GetNextHopVpcNetwork() *NextHopVpcNetwork

func (*Route) GetNextHopVpnTunnel

func (x *Route) GetNextHopVpnTunnel() *NextHopVPNTunnel

func (*Route) GetPriority

func (x *Route) GetPriority() int64

func (*Route) GetSpoke

func (x *Route) GetSpoke() string

func (*Route) GetState

func (x *Route) GetState() State

func (*Route) GetType

func (x *Route) GetType() RouteType

func (*Route) GetUid

func (x *Route) GetUid() string

func (*Route) GetUpdateTime

func (x *Route) GetUpdateTime() *timestamppb.Timestamp

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) ProtoReflect

func (x *Route) ProtoReflect() protoreflect.Message

func (*Route) Reset

func (x *Route) Reset()

func (*Route) String

func (x *Route) String() string

type RouteTable

type RouteTable struct {

	// Immutable. The name of the route table. Route table names must be unique.
	// They use the following form:
	//
	//	`projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The time the route table was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the route table was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional labels in key-value pair format. For more information about
	// labels, see [Requirements for
	// labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// An optional description of the route table.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The Google-generated UUID for the route table. This value is
	// unique across all route table resources. If a route table is deleted and
	// another with the same name is created, the new route table is assigned
	// a different `uid`.
	Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
	// Output only. The current lifecycle state of this route table.
	State State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteTable) Descriptor

func (*RouteTable) Descriptor() ([]byte, []int)

Deprecated: Use RouteTable.ProtoReflect.Descriptor instead.

func (*RouteTable) GetCreateTime

func (x *RouteTable) GetCreateTime() *timestamppb.Timestamp

func (*RouteTable) GetDescription

func (x *RouteTable) GetDescription() string

func (*RouteTable) GetLabels

func (x *RouteTable) GetLabels() map[string]string

func (*RouteTable) GetName

func (x *RouteTable) GetName() string

func (*RouteTable) GetState

func (x *RouteTable) GetState() State

func (*RouteTable) GetUid

func (x *RouteTable) GetUid() string

func (*RouteTable) GetUpdateTime

func (x *RouteTable) GetUpdateTime() *timestamppb.Timestamp

func (*RouteTable) ProtoMessage

func (*RouteTable) ProtoMessage()

func (*RouteTable) ProtoReflect

func (x *RouteTable) ProtoReflect() protoreflect.Message

func (*RouteTable) Reset

func (x *RouteTable) Reset()

func (*RouteTable) String

func (x *RouteTable) String() string

type RouteType

type RouteType int32

The route's type

const (
	// No route type information specified
	RouteType_ROUTE_TYPE_UNSPECIFIED RouteType = 0
	// The route leads to a destination within the primary address range of the
	// VPC network's subnet.
	RouteType_VPC_PRIMARY_SUBNET RouteType = 1
	// The route leads to a destination within the secondary address range of the
	// VPC network's subnet.
	RouteType_VPC_SECONDARY_SUBNET RouteType = 2
	// The route leads to a destination in a dynamic route. Dynamic routes are
	// derived from Border Gateway Protocol (BGP) advertisements received from an
	// NCC hybrid spoke.
	RouteType_DYNAMIC_ROUTE RouteType = 3
)

func (RouteType) Descriptor

func (RouteType) Descriptor() protoreflect.EnumDescriptor

func (RouteType) Enum

func (x RouteType) Enum() *RouteType

func (RouteType) EnumDescriptor

func (RouteType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RouteType.Descriptor instead.

func (RouteType) Number

func (x RouteType) Number() protoreflect.EnumNumber

func (RouteType) String

func (x RouteType) String() string

func (RouteType) Type

type RouterApplianceInstance

type RouterApplianceInstance struct {

	// The URI of the VM.
	VirtualMachine string `protobuf:"bytes,1,opt,name=virtual_machine,json=virtualMachine,proto3" json:"virtual_machine,omitempty"`
	// The IP address on the VM to use for peering.
	IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	// contains filtered or unexported fields
}

A router appliance instance is a Compute Engine virtual machine (VM) instance that acts as a BGP speaker. A router appliance instance is specified by the URI of the VM and the internal IP address of one of the VM's network interfaces.

func (*RouterApplianceInstance) Descriptor

func (*RouterApplianceInstance) Descriptor() ([]byte, []int)

Deprecated: Use RouterApplianceInstance.ProtoReflect.Descriptor instead.

func (*RouterApplianceInstance) GetIpAddress

func (x *RouterApplianceInstance) GetIpAddress() string

func (*RouterApplianceInstance) GetVirtualMachine

func (x *RouterApplianceInstance) GetVirtualMachine() string

func (*RouterApplianceInstance) ProtoMessage

func (*RouterApplianceInstance) ProtoMessage()

func (*RouterApplianceInstance) ProtoReflect

func (x *RouterApplianceInstance) ProtoReflect() protoreflect.Message

func (*RouterApplianceInstance) Reset

func (x *RouterApplianceInstance) Reset()

func (*RouterApplianceInstance) String

func (x *RouterApplianceInstance) String() string

type RoutingVPC

type RoutingVPC struct {

	// The URI of the VPC network.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Output only. If true, indicates that this VPC network is currently
	// associated with spokes that use the data transfer feature (spokes where the
	// site_to_site_data_transfer field is set to true). If you create new spokes
	// that use data transfer, they must be associated with this VPC network. At
	// most, one VPC network will have this field set to true.
	RequiredForNewSiteToSiteDataTransferSpokes bool `protobuf:"varint,2,opt,name=required_for_new_site_to_site_data_transfer_spokes,json=requiredForNewSiteToSiteDataTransferSpokes,proto3" json:"required_for_new_site_to_site_data_transfer_spokes,omitempty"`
	// contains filtered or unexported fields
}

RoutingVPC contains information about the VPC networks associated with the spokes of a Network Connectivity Center hub.

func (*RoutingVPC) Descriptor

func (*RoutingVPC) Descriptor() ([]byte, []int)

Deprecated: Use RoutingVPC.ProtoReflect.Descriptor instead.

func (*RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes

func (x *RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes() bool

func (*RoutingVPC) GetUri

func (x *RoutingVPC) GetUri() string

func (*RoutingVPC) ProtoMessage

func (*RoutingVPC) ProtoMessage()

func (*RoutingVPC) ProtoReflect

func (x *RoutingVPC) ProtoReflect() protoreflect.Message

func (*RoutingVPC) Reset

func (x *RoutingVPC) Reset()

func (*RoutingVPC) String

func (x *RoutingVPC) String() string

type Spoke

type Spoke struct {

	// Immutable. The name of the spoke. Spoke names must be unique. They use the
	// following form:
	//
	//	`projects/{project_number}/locations/{region}/spokes/{spoke_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The time the spoke was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the spoke was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional labels in key-value pair format. For more information about
	// labels, see [Requirements for
	// labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// An optional description of the spoke.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Immutable. The name of the hub that this spoke is attached to.
	Hub string `protobuf:"bytes,6,opt,name=hub,proto3" json:"hub,omitempty"`
	// Optional. The name of the group that this spoke is associated with.
	Group string `protobuf:"bytes,23,opt,name=group,proto3" json:"group,omitempty"`
	// VPN tunnels that are associated with the spoke.
	LinkedVpnTunnels *LinkedVpnTunnels `protobuf:"bytes,17,opt,name=linked_vpn_tunnels,json=linkedVpnTunnels,proto3" json:"linked_vpn_tunnels,omitempty"`
	// VLAN attachments that are associated with the spoke.
	LinkedInterconnectAttachments *LinkedInterconnectAttachments `protobuf:"bytes,18,opt,name=linked_interconnect_attachments,json=linkedInterconnectAttachments,proto3" json:"linked_interconnect_attachments,omitempty"`
	// Router appliance instances that are associated with the spoke.
	LinkedRouterApplianceInstances *LinkedRouterApplianceInstances `protobuf:"bytes,19,opt,name=linked_router_appliance_instances,json=linkedRouterApplianceInstances,proto3" json:"linked_router_appliance_instances,omitempty"`
	// Optional. VPC network that is associated with the spoke.
	LinkedVpcNetwork *LinkedVpcNetwork `protobuf:"bytes,20,opt,name=linked_vpc_network,json=linkedVpcNetwork,proto3" json:"linked_vpc_network,omitempty"`
	// Optional. The linked producer VPC that is associated with the spoke.
	LinkedProducerVpcNetwork *LinkedProducerVpcNetwork `protobuf:"bytes,26,opt,name=linked_producer_vpc_network,json=linkedProducerVpcNetwork,proto3" json:"linked_producer_vpc_network,omitempty"`
	// Output only. The Google-generated UUID for the spoke. This value is unique
	// across all spoke resources. If a spoke is deleted and another with the same
	// name is created, the new spoke is assigned a different `unique_id`.
	UniqueId string `protobuf:"bytes,11,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	// Output only. The current lifecycle state of this spoke.
	State State `protobuf:"varint,15,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"`
	// Output only. The reasons for current state of the spoke. Only present when
	// the spoke is in the `INACTIVE` state.
	Reasons []*Spoke_StateReason `protobuf:"bytes,21,rep,name=reasons,proto3" json:"reasons,omitempty"`
	// Output only. The type of resource associated with the spoke.
	SpokeType SpokeType `protobuf:"varint,22,opt,name=spoke_type,json=spokeType,proto3,enum=google.cloud.networkconnectivity.v1.SpokeType" json:"spoke_type,omitempty"`
	// contains filtered or unexported fields
}

A Network Connectivity Center spoke represents one or more network connectivity resources.

When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields:

* linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances * linked_vpc_network

func (*Spoke) Descriptor

func (*Spoke) Descriptor() ([]byte, []int)

Deprecated: Use Spoke.ProtoReflect.Descriptor instead.

func (*Spoke) GetCreateTime

func (x *Spoke) GetCreateTime() *timestamppb.Timestamp

func (*Spoke) GetDescription

func (x *Spoke) GetDescription() string

func (*Spoke) GetGroup

func (x *Spoke) GetGroup() string

func (*Spoke) GetHub

func (x *Spoke) GetHub() string

func (*Spoke) GetLabels

func (x *Spoke) GetLabels() map[string]string

func (*Spoke) GetLinkedInterconnectAttachments

func (x *Spoke) GetLinkedInterconnectAttachments() *LinkedInterconnectAttachments

func (*Spoke) GetLinkedProducerVpcNetwork

func (x *Spoke) GetLinkedProducerVpcNetwork() *LinkedProducerVpcNetwork

func (*Spoke) GetLinkedRouterApplianceInstances

func (x *Spoke) GetLinkedRouterApplianceInstances() *LinkedRouterApplianceInstances

func (*Spoke) GetLinkedVpcNetwork

func (x *Spoke) GetLinkedVpcNetwork() *LinkedVpcNetwork

func (*Spoke) GetLinkedVpnTunnels

func (x *Spoke) GetLinkedVpnTunnels() *LinkedVpnTunnels

func (*Spoke) GetName

func (x *Spoke) GetName() string

func (*Spoke) GetReasons

func (x *Spoke) GetReasons() []*Spoke_StateReason

func (*Spoke) GetSpokeType

func (x *Spoke) GetSpokeType() SpokeType

func (*Spoke) GetState

func (x *Spoke) GetState() State

func (*Spoke) GetUniqueId

func (x *Spoke) GetUniqueId() string

func (*Spoke) GetUpdateTime

func (x *Spoke) GetUpdateTime() *timestamppb.Timestamp

func (*Spoke) ProtoMessage

func (*Spoke) ProtoMessage()

func (*Spoke) ProtoReflect

func (x *Spoke) ProtoReflect() protoreflect.Message

func (*Spoke) Reset

func (x *Spoke) Reset()

func (*Spoke) String

func (x *Spoke) String() string

type SpokeSummary

type SpokeSummary struct {

	// Output only. Counts the number of spokes of each type that are
	// associated with a specific hub.
	SpokeTypeCounts []*SpokeSummary_SpokeTypeCount `protobuf:"bytes,1,rep,name=spoke_type_counts,json=spokeTypeCounts,proto3" json:"spoke_type_counts,omitempty"`
	// Output only. Counts the number of spokes that are in each state
	// and associated with a given hub.
	SpokeStateCounts []*SpokeSummary_SpokeStateCount `protobuf:"bytes,2,rep,name=spoke_state_counts,json=spokeStateCounts,proto3" json:"spoke_state_counts,omitempty"`
	// Output only. Counts the number of spokes that are inactive for each
	// possible reason and associated with a given hub.
	SpokeStateReasonCounts []*SpokeSummary_SpokeStateReasonCount `protobuf:"bytes,3,rep,name=spoke_state_reason_counts,json=spokeStateReasonCounts,proto3" json:"spoke_state_reason_counts,omitempty"`
	// contains filtered or unexported fields
}

Summarizes information about the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason.

func (*SpokeSummary) Descriptor

func (*SpokeSummary) Descriptor() ([]byte, []int)

Deprecated: Use SpokeSummary.ProtoReflect.Descriptor instead.

func (*SpokeSummary) GetSpokeStateCounts

func (x *SpokeSummary) GetSpokeStateCounts() []*SpokeSummary_SpokeStateCount

func (*SpokeSummary) GetSpokeStateReasonCounts

func (x *SpokeSummary) GetSpokeStateReasonCounts() []*SpokeSummary_SpokeStateReasonCount

func (*SpokeSummary) GetSpokeTypeCounts

func (x *SpokeSummary) GetSpokeTypeCounts() []*SpokeSummary_SpokeTypeCount

func (*SpokeSummary) ProtoMessage

func (*SpokeSummary) ProtoMessage()

func (*SpokeSummary) ProtoReflect

func (x *SpokeSummary) ProtoReflect() protoreflect.Message

func (*SpokeSummary) Reset

func (x *SpokeSummary) Reset()

func (*SpokeSummary) String

func (x *SpokeSummary) String() string

type SpokeSummary_SpokeStateCount

type SpokeSummary_SpokeStateCount struct {

	// Output only. The state of the spokes.
	State State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"`
	// Output only. The total number of spokes that are in this state
	// and associated with a given hub.
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

The number of spokes that are in a particular state and associated with a given hub.

func (*SpokeSummary_SpokeStateCount) Descriptor

func (*SpokeSummary_SpokeStateCount) Descriptor() ([]byte, []int)

Deprecated: Use SpokeSummary_SpokeStateCount.ProtoReflect.Descriptor instead.

func (*SpokeSummary_SpokeStateCount) GetCount

func (x *SpokeSummary_SpokeStateCount) GetCount() int64

func (*SpokeSummary_SpokeStateCount) GetState

func (x *SpokeSummary_SpokeStateCount) GetState() State

func (*SpokeSummary_SpokeStateCount) ProtoMessage

func (*SpokeSummary_SpokeStateCount) ProtoMessage()

func (*SpokeSummary_SpokeStateCount) ProtoReflect

func (*SpokeSummary_SpokeStateCount) Reset

func (x *SpokeSummary_SpokeStateCount) Reset()

func (*SpokeSummary_SpokeStateCount) String

type SpokeSummary_SpokeStateReasonCount

type SpokeSummary_SpokeStateReasonCount struct {

	// Output only. The reason that a spoke is inactive.
	StateReasonCode Spoke_StateReason_Code `protobuf:"varint,1,opt,name=state_reason_code,json=stateReasonCode,proto3,enum=google.cloud.networkconnectivity.v1.Spoke_StateReason_Code" json:"state_reason_code,omitempty"`
	// Output only. The total number of spokes that are inactive for a
	// particular reason and associated with a given hub.
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

The number of spokes in the hub that are inactive for this reason.

func (*SpokeSummary_SpokeStateReasonCount) Descriptor

func (*SpokeSummary_SpokeStateReasonCount) Descriptor() ([]byte, []int)

Deprecated: Use SpokeSummary_SpokeStateReasonCount.ProtoReflect.Descriptor instead.

func (*SpokeSummary_SpokeStateReasonCount) GetCount

func (*SpokeSummary_SpokeStateReasonCount) GetStateReasonCode

func (*SpokeSummary_SpokeStateReasonCount) ProtoMessage

func (*SpokeSummary_SpokeStateReasonCount) ProtoMessage()

func (*SpokeSummary_SpokeStateReasonCount) ProtoReflect

func (*SpokeSummary_SpokeStateReasonCount) Reset

func (*SpokeSummary_SpokeStateReasonCount) String

type SpokeSummary_SpokeTypeCount

type SpokeSummary_SpokeTypeCount struct {

	// Output only. The type of the spokes.
	SpokeType SpokeType `protobuf:"varint,1,opt,name=spoke_type,json=spokeType,proto3,enum=google.cloud.networkconnectivity.v1.SpokeType" json:"spoke_type,omitempty"`
	// Output only. The total number of spokes of this type that are
	// associated with the hub.
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

The number of spokes of a given type that are associated with a specific hub. The type indicates what kind of resource is associated with the spoke.

func (*SpokeSummary_SpokeTypeCount) Descriptor

func (*SpokeSummary_SpokeTypeCount) Descriptor() ([]byte, []int)

Deprecated: Use SpokeSummary_SpokeTypeCount.ProtoReflect.Descriptor instead.

func (*SpokeSummary_SpokeTypeCount) GetCount

func (x *SpokeSummary_SpokeTypeCount) GetCount() int64

func (*SpokeSummary_SpokeTypeCount) GetSpokeType

func (x *SpokeSummary_SpokeTypeCount) GetSpokeType() SpokeType

func (*SpokeSummary_SpokeTypeCount) ProtoMessage

func (*SpokeSummary_SpokeTypeCount) ProtoMessage()

func (*SpokeSummary_SpokeTypeCount) ProtoReflect

func (*SpokeSummary_SpokeTypeCount) Reset

func (x *SpokeSummary_SpokeTypeCount) Reset()

func (*SpokeSummary_SpokeTypeCount) String

func (x *SpokeSummary_SpokeTypeCount) String() string

type SpokeType

type SpokeType int32

The SpokeType enum represents the type of spoke. The type reflects the kind of resource that a spoke is associated with.

const (
	// Unspecified spoke type.
	SpokeType_SPOKE_TYPE_UNSPECIFIED SpokeType = 0
	// Spokes associated with VPN tunnels.
	SpokeType_VPN_TUNNEL SpokeType = 1
	// Spokes associated with VLAN attachments.
	SpokeType_INTERCONNECT_ATTACHMENT SpokeType = 2
	// Spokes associated with router appliance instances.
	SpokeType_ROUTER_APPLIANCE SpokeType = 3
	// Spokes associated with VPC networks.
	SpokeType_VPC_NETWORK SpokeType = 4
	// Spokes that are backed by a producer VPC network.
	SpokeType_PRODUCER_VPC_NETWORK SpokeType = 7
)

func (SpokeType) Descriptor

func (SpokeType) Descriptor() protoreflect.EnumDescriptor

func (SpokeType) Enum

func (x SpokeType) Enum() *SpokeType

func (SpokeType) EnumDescriptor

func (SpokeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SpokeType.Descriptor instead.

func (SpokeType) Number

func (x SpokeType) Number() protoreflect.EnumNumber

func (SpokeType) String

func (x SpokeType) String() string

func (SpokeType) Type

type Spoke_StateReason

type Spoke_StateReason struct {

	// The code associated with this reason.
	Code Spoke_StateReason_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.networkconnectivity.v1.Spoke_StateReason_Code" json:"code,omitempty"`
	// Human-readable details about this reason.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Additional information provided by the user in the RejectSpoke call.
	UserDetails string `protobuf:"bytes,3,opt,name=user_details,json=userDetails,proto3" json:"user_details,omitempty"`
	// contains filtered or unexported fields
}

The reason a spoke is inactive.

func (*Spoke_StateReason) Descriptor

func (*Spoke_StateReason) Descriptor() ([]byte, []int)

Deprecated: Use Spoke_StateReason.ProtoReflect.Descriptor instead.

func (*Spoke_StateReason) GetCode

func (*Spoke_StateReason) GetMessage

func (x *Spoke_StateReason) GetMessage() string

func (*Spoke_StateReason) GetUserDetails

func (x *Spoke_StateReason) GetUserDetails() string

func (*Spoke_StateReason) ProtoMessage

func (*Spoke_StateReason) ProtoMessage()

func (*Spoke_StateReason) ProtoReflect

func (x *Spoke_StateReason) ProtoReflect() protoreflect.Message

func (*Spoke_StateReason) Reset

func (x *Spoke_StateReason) Reset()

func (*Spoke_StateReason) String

func (x *Spoke_StateReason) String() string

type Spoke_StateReason_Code

type Spoke_StateReason_Code int32

The Code enum represents the various reasons a state can be `INACTIVE`.

const (
	// No information available.
	Spoke_StateReason_CODE_UNSPECIFIED Spoke_StateReason_Code = 0
	// The proposed spoke is pending review.
	Spoke_StateReason_PENDING_REVIEW Spoke_StateReason_Code = 1
	// The proposed spoke has been rejected by the hub administrator.
	Spoke_StateReason_REJECTED Spoke_StateReason_Code = 2
	// The spoke has been deactivated internally.
	Spoke_StateReason_PAUSED Spoke_StateReason_Code = 3
	// Network Connectivity Center encountered errors while accepting
	// the spoke.
	Spoke_StateReason_FAILED Spoke_StateReason_Code = 4
)

func (Spoke_StateReason_Code) Descriptor

func (Spoke_StateReason_Code) Enum

func (Spoke_StateReason_Code) EnumDescriptor

func (Spoke_StateReason_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use Spoke_StateReason_Code.Descriptor instead.

func (Spoke_StateReason_Code) Number

func (Spoke_StateReason_Code) String

func (x Spoke_StateReason_Code) String() string

func (Spoke_StateReason_Code) Type

type State

type State int32

The State enum represents the lifecycle stage of a Network Connectivity Center resource.

const (
	// No state information available
	State_STATE_UNSPECIFIED State = 0
	// The resource's create operation is in progress.
	State_CREATING State = 1
	// The resource is active
	State_ACTIVE State = 2
	// The resource's delete operation is in progress.
	State_DELETING State = 3
	// The resource's accept operation is in progress.
	State_ACCEPTING State = 8
	// The resource's reject operation is in progress.
	State_REJECTING State = 9
	// The resource's update operation is in progress.
	State_UPDATING State = 6
	// The resource is inactive.
	State_INACTIVE State = 7
	// The hub associated with this spoke resource has been deleted.
	// This state applies to spoke resources only.
	State_OBSOLETE State = 10
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor

func (State) EnumDescriptor() ([]byte, []int)

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type UnimplementedHubServiceServer

type UnimplementedHubServiceServer struct {
}

UnimplementedHubServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedHubServiceServer) AcceptHubSpoke

func (*UnimplementedHubServiceServer) CreateHub

func (*UnimplementedHubServiceServer) CreateSpoke

func (*UnimplementedHubServiceServer) DeleteHub

func (*UnimplementedHubServiceServer) DeleteSpoke

func (*UnimplementedHubServiceServer) GetGroup

func (*UnimplementedHubServiceServer) GetHub

func (*UnimplementedHubServiceServer) GetRoute

func (*UnimplementedHubServiceServer) GetRouteTable

func (*UnimplementedHubServiceServer) GetSpoke

func (*UnimplementedHubServiceServer) ListGroups

func (*UnimplementedHubServiceServer) ListHubSpokes

func (*UnimplementedHubServiceServer) ListHubs

func (*UnimplementedHubServiceServer) ListRouteTables

func (*UnimplementedHubServiceServer) ListRoutes

func (*UnimplementedHubServiceServer) ListSpokes

func (*UnimplementedHubServiceServer) QueryHubStatus

func (*UnimplementedHubServiceServer) RejectHubSpoke

func (*UnimplementedHubServiceServer) UpdateGroup

func (*UnimplementedHubServiceServer) UpdateHub

func (*UnimplementedHubServiceServer) UpdateSpoke

type UnimplementedPolicyBasedRoutingServiceServer

type UnimplementedPolicyBasedRoutingServiceServer struct {
}

UnimplementedPolicyBasedRoutingServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedPolicyBasedRoutingServiceServer) CreatePolicyBasedRoute

func (*UnimplementedPolicyBasedRoutingServiceServer) DeletePolicyBasedRoute

func (*UnimplementedPolicyBasedRoutingServiceServer) GetPolicyBasedRoute

func (*UnimplementedPolicyBasedRoutingServiceServer) ListPolicyBasedRoutes

type UpdateGroupRequest

type UpdateGroupRequest struct {

	// Optional. In the case of an update to an existing group, field mask is used
	// to specify the fields to be overwritten. The fields specified in the
	// update_mask are relative to the resource, not the full request. A field is
	// overwritten if it is in the mask. If the user does not provide a mask, then
	// all fields are overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The state that the group should be in after the update.
	Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// 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 to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly 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
}

Request for [HubService.UpdateGroup][google.cloud.networkconnectivity.v1.HubService.UpdateGroup] method.

func (*UpdateGroupRequest) Descriptor

func (*UpdateGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) GetGroup

func (x *UpdateGroupRequest) GetGroup() *Group

func (*UpdateGroupRequest) GetRequestId

func (x *UpdateGroupRequest) GetRequestId() string

func (*UpdateGroupRequest) GetUpdateMask

func (x *UpdateGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect

func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message

func (*UpdateGroupRequest) Reset

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (x *UpdateGroupRequest) String() string

type UpdateHubRequest

type UpdateHubRequest struct {

	// Optional. In the case of an update to an existing hub, field mask is used
	// to specify the fields to be overwritten. The fields specified in the
	// update_mask are relative to the resource, not the full request. A field is
	// overwritten if it is in the mask. If the user does not provide a mask, then
	// all fields are overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The state that the hub should be in after the update.
	Hub *Hub `protobuf:"bytes,2,opt,name=hub,proto3" json:"hub,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// 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 to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly 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
}

Request for [HubService.UpdateHub][google.cloud.networkconnectivity.v1.HubService.UpdateHub] method.

func (*UpdateHubRequest) Descriptor

func (*UpdateHubRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateHubRequest.ProtoReflect.Descriptor instead.

func (*UpdateHubRequest) GetHub

func (x *UpdateHubRequest) GetHub() *Hub

func (*UpdateHubRequest) GetRequestId

func (x *UpdateHubRequest) GetRequestId() string

func (*UpdateHubRequest) GetUpdateMask

func (x *UpdateHubRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateHubRequest) ProtoMessage

func (*UpdateHubRequest) ProtoMessage()

func (*UpdateHubRequest) ProtoReflect

func (x *UpdateHubRequest) ProtoReflect() protoreflect.Message

func (*UpdateHubRequest) Reset

func (x *UpdateHubRequest) Reset()

func (*UpdateHubRequest) String

func (x *UpdateHubRequest) String() string

type UpdateSpokeRequest

type UpdateSpokeRequest struct {

	// Optional. In the case of an update to an existing spoke, field mask is used
	// to specify the fields to be overwritten. The fields specified in the
	// update_mask are relative to the resource, not the full request. A field is
	// overwritten if it is in the mask. If the user does not provide a mask, then
	// all fields are overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The state that the spoke should be in after the update.
	Spoke *Spoke `protobuf:"bytes,2,opt,name=spoke,proto3" json:"spoke,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// 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 to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly 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
}

Request for [HubService.UpdateSpoke][google.cloud.networkconnectivity.v1.HubService.UpdateSpoke] method.

func (*UpdateSpokeRequest) Descriptor

func (*UpdateSpokeRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSpokeRequest.ProtoReflect.Descriptor instead.

func (*UpdateSpokeRequest) GetRequestId

func (x *UpdateSpokeRequest) GetRequestId() string

func (*UpdateSpokeRequest) GetSpoke

func (x *UpdateSpokeRequest) GetSpoke() *Spoke

func (*UpdateSpokeRequest) GetUpdateMask

func (x *UpdateSpokeRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateSpokeRequest) ProtoMessage

func (*UpdateSpokeRequest) ProtoMessage()

func (*UpdateSpokeRequest) ProtoReflect

func (x *UpdateSpokeRequest) ProtoReflect() protoreflect.Message

func (*UpdateSpokeRequest) Reset

func (x *UpdateSpokeRequest) Reset()

func (*UpdateSpokeRequest) String

func (x *UpdateSpokeRequest) String() string

Source Files

common.pb.go hub.pb.go policy_based_routing.pb.go

Version
v1.16.1 (latest)
Published
Jan 2, 2025
Platform
linux/amd64
Imports
13 packages
Last checked
5 days ago

Tools for package owners.