networkconnectivitypb

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_google_cloud_networkconnectivity_v1_common_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_networkconnectivity_v1_hub_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_networkconnectivity_v1_policy_based_routing_proto protoreflect.FileDescriptor

Functions

func RegisterHubServiceServer

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

func RegisterPolicyBasedRoutingServiceServer added in v1.8.0

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

Types

type AcceptHubSpokeRequest added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use AcceptHubSpokeRequest.ProtoReflect.Descriptor instead.

func (*AcceptHubSpokeRequest) GetName added in v1.14.0

func (x *AcceptHubSpokeRequest) GetName() string

func (*AcceptHubSpokeRequest) GetRequestId added in v1.14.0

func (x *AcceptHubSpokeRequest) GetRequestId() string

func (*AcceptHubSpokeRequest) GetSpokeUri added in v1.14.0

func (x *AcceptHubSpokeRequest) GetSpokeUri() string

func (*AcceptHubSpokeRequest) ProtoMessage added in v1.14.0

func (*AcceptHubSpokeRequest) ProtoMessage()

func (*AcceptHubSpokeRequest) ProtoReflect added in v1.14.0

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

func (*AcceptHubSpokeRequest) Reset added in v1.14.0

func (x *AcceptHubSpokeRequest) Reset()

func (*AcceptHubSpokeRequest) String added in v1.14.0

func (x *AcceptHubSpokeRequest) String() string

type AcceptHubSpokeResponse added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use AcceptHubSpokeResponse.ProtoReflect.Descriptor instead.

func (*AcceptHubSpokeResponse) GetSpoke added in v1.14.0

func (x *AcceptHubSpokeResponse) GetSpoke() *Spoke

func (*AcceptHubSpokeResponse) ProtoMessage added in v1.14.0

func (*AcceptHubSpokeResponse) ProtoMessage()

func (*AcceptHubSpokeResponse) ProtoReflect added in v1.14.0

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

func (*AcceptHubSpokeResponse) Reset added in v1.14.0

func (x *AcceptHubSpokeResponse) Reset()

func (*AcceptHubSpokeResponse) String added in v1.14.0

func (x *AcceptHubSpokeResponse) String() string

type AutoAccept added in v1.16.0

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 deprecated added in v1.16.0

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

Deprecated: Use AutoAccept.ProtoReflect.Descriptor instead.

func (*AutoAccept) GetAutoAcceptProjects added in v1.16.0

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

func (*AutoAccept) ProtoMessage added in v1.16.0

func (*AutoAccept) ProtoMessage()

func (*AutoAccept) ProtoReflect added in v1.16.0

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

func (*AutoAccept) Reset added in v1.16.0

func (x *AutoAccept) Reset()

func (*AutoAccept) String added in v1.16.0

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 deprecated

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 added in v1.8.0

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 deprecated added in v1.8.0

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

Deprecated: Use CreatePolicyBasedRouteRequest.ProtoReflect.Descriptor instead.

func (*CreatePolicyBasedRouteRequest) GetParent added in v1.8.0

func (x *CreatePolicyBasedRouteRequest) GetParent() string

func (*CreatePolicyBasedRouteRequest) GetPolicyBasedRoute added in v1.8.0

func (x *CreatePolicyBasedRouteRequest) GetPolicyBasedRoute() *PolicyBasedRoute

func (*CreatePolicyBasedRouteRequest) GetPolicyBasedRouteId added in v1.8.0

func (x *CreatePolicyBasedRouteRequest) GetPolicyBasedRouteId() string

func (*CreatePolicyBasedRouteRequest) GetRequestId added in v1.8.0

func (x *CreatePolicyBasedRouteRequest) GetRequestId() string

func (*CreatePolicyBasedRouteRequest) ProtoMessage added in v1.8.0

func (*CreatePolicyBasedRouteRequest) ProtoMessage()

func (*CreatePolicyBasedRouteRequest) ProtoReflect added in v1.8.0

func (*CreatePolicyBasedRouteRequest) Reset added in v1.8.0

func (x *CreatePolicyBasedRouteRequest) Reset()

func (*CreatePolicyBasedRouteRequest) String added in v1.8.0

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 deprecated

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 deprecated

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 added in v1.8.0

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 deprecated added in v1.8.0

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

Deprecated: Use DeletePolicyBasedRouteRequest.ProtoReflect.Descriptor instead.

func (*DeletePolicyBasedRouteRequest) GetName added in v1.8.0

func (*DeletePolicyBasedRouteRequest) GetRequestId added in v1.8.0

func (x *DeletePolicyBasedRouteRequest) GetRequestId() string

func (*DeletePolicyBasedRouteRequest) ProtoMessage added in v1.8.0

func (*DeletePolicyBasedRouteRequest) ProtoMessage()

func (*DeletePolicyBasedRouteRequest) ProtoReflect added in v1.8.0

func (*DeletePolicyBasedRouteRequest) Reset added in v1.8.0

func (x *DeletePolicyBasedRouteRequest) Reset()

func (*DeletePolicyBasedRouteRequest) String added in v1.8.0

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 deprecated

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 added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRequest) GetName added in v1.14.0

func (x *GetGroupRequest) GetName() string

func (*GetGroupRequest) ProtoMessage added in v1.14.0

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) ProtoReflect added in v1.14.0

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

func (*GetGroupRequest) Reset added in v1.14.0

func (x *GetGroupRequest) Reset()

func (*GetGroupRequest) String added in v1.14.0

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 deprecated

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 added in v1.8.0

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 deprecated added in v1.8.0

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

Deprecated: Use GetPolicyBasedRouteRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyBasedRouteRequest) GetName added in v1.8.0

func (x *GetPolicyBasedRouteRequest) GetName() string

func (*GetPolicyBasedRouteRequest) ProtoMessage added in v1.8.0

func (*GetPolicyBasedRouteRequest) ProtoMessage()

func (*GetPolicyBasedRouteRequest) ProtoReflect added in v1.8.0

func (*GetPolicyBasedRouteRequest) Reset added in v1.8.0

func (x *GetPolicyBasedRouteRequest) Reset()

func (*GetPolicyBasedRouteRequest) String added in v1.8.0

func (x *GetPolicyBasedRouteRequest) String() string

type GetRouteRequest added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use GetRouteRequest.ProtoReflect.Descriptor instead.

func (*GetRouteRequest) GetName added in v1.14.0

func (x *GetRouteRequest) GetName() string

func (*GetRouteRequest) ProtoMessage added in v1.14.0

func (*GetRouteRequest) ProtoMessage()

func (*GetRouteRequest) ProtoReflect added in v1.14.0

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

func (*GetRouteRequest) Reset added in v1.14.0

func (x *GetRouteRequest) Reset()

func (*GetRouteRequest) String added in v1.14.0

func (x *GetRouteRequest) String() string

type GetRouteTableRequest added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use GetRouteTableRequest.ProtoReflect.Descriptor instead.

func (*GetRouteTableRequest) GetName added in v1.14.0

func (x *GetRouteTableRequest) GetName() string

func (*GetRouteTableRequest) ProtoMessage added in v1.14.0

func (*GetRouteTableRequest) ProtoMessage()

func (*GetRouteTableRequest) ProtoReflect added in v1.14.0

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

func (*GetRouteTableRequest) Reset added in v1.14.0

func (x *GetRouteTableRequest) Reset()

func (*GetRouteTableRequest) String added in v1.14.0

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 deprecated

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 added in v1.14.0

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 `` /* 153-byte string literal not displayed */
	// 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 deprecated added in v1.14.0

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetAutoAccept added in v1.16.0

func (x *Group) GetAutoAccept() *AutoAccept

func (*Group) GetCreateTime added in v1.14.0

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

func (*Group) GetDescription added in v1.14.0

func (x *Group) GetDescription() string

func (*Group) GetLabels added in v1.14.0

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

func (*Group) GetName added in v1.14.0

func (x *Group) GetName() string

func (*Group) GetRouteTable added in v1.16.0

func (x *Group) GetRouteTable() string

func (*Group) GetState added in v1.14.0

func (x *Group) GetState() State

func (*Group) GetUid added in v1.14.0

func (x *Group) GetUid() string

func (*Group) GetUpdateTime added in v1.14.0

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

func (*Group) ProtoMessage added in v1.14.0

func (*Group) ProtoMessage()

func (*Group) ProtoReflect added in v1.14.0

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

func (*Group) Reset added in v1.14.0

func (x *Group) Reset()

func (*Group) String added in v1.14.0

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 `` /* 153-byte string literal not displayed */
	// 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 `` /* 145-byte string literal not displayed */
	// 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 `` /* 161-byte string literal not displayed */
	// 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 deprecated

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 added in v1.16.0

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 added in v1.16.0

func (x *Hub) GetPolicyMode() PolicyMode

func (*Hub) GetPresetTopology added in v1.16.0

func (x *Hub) GetPresetTopology() PresetTopology

func (*Hub) GetRouteTables added in v1.14.0

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

func (*Hub) GetRoutingVpcs

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

func (*Hub) GetSpokeSummary added in v1.14.0

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 added in v1.16.0

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 deprecated added in v1.16.0

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

Deprecated: Use HubStatusEntry.ProtoReflect.Descriptor instead.

func (*HubStatusEntry) GetCount added in v1.16.0

func (x *HubStatusEntry) GetCount() int32

func (*HubStatusEntry) GetGroupBy added in v1.16.0

func (x *HubStatusEntry) GetGroupBy() string

func (*HubStatusEntry) GetPscPropagationStatus added in v1.16.0

func (x *HubStatusEntry) GetPscPropagationStatus() *PscPropagationStatus

func (*HubStatusEntry) ProtoMessage added in v1.16.0

func (*HubStatusEntry) ProtoMessage()

func (*HubStatusEntry) ProtoReflect added in v1.16.0

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

func (*HubStatusEntry) Reset added in v1.16.0

func (x *HubStatusEntry) Reset()

func (*HubStatusEntry) String added in v1.16.0

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 `` /* 134-byte string literal not displayed */
	// 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 deprecated

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

Deprecated: Use LinkedInterconnectAttachments.ProtoReflect.Descriptor instead.

func (*LinkedInterconnectAttachments) GetIncludeImportRanges added in v1.16.0

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

func (*LinkedInterconnectAttachments) GetSiteToSiteDataTransfer

func (x *LinkedInterconnectAttachments) GetSiteToSiteDataTransfer() bool

func (*LinkedInterconnectAttachments) GetUris

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

func (*LinkedInterconnectAttachments) GetVpcNetwork added in v1.8.0

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 added in v1.16.0

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 `` /* 134-byte string literal not displayed */
	// 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 deprecated added in v1.16.0

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

Deprecated: Use LinkedProducerVpcNetwork.ProtoReflect.Descriptor instead.

func (*LinkedProducerVpcNetwork) GetExcludeExportRanges added in v1.16.0

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

func (*LinkedProducerVpcNetwork) GetIncludeExportRanges added in v1.16.0

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

func (*LinkedProducerVpcNetwork) GetNetwork added in v1.16.0

func (x *LinkedProducerVpcNetwork) GetNetwork() string

func (*LinkedProducerVpcNetwork) GetPeering added in v1.16.0

func (x *LinkedProducerVpcNetwork) GetPeering() string

func (*LinkedProducerVpcNetwork) GetProducerNetwork added in v1.16.0

func (x *LinkedProducerVpcNetwork) GetProducerNetwork() string

func (*LinkedProducerVpcNetwork) GetServiceConsumerVpcSpoke added in v1.16.0

func (x *LinkedProducerVpcNetwork) GetServiceConsumerVpcSpoke() string

func (*LinkedProducerVpcNetwork) ProtoMessage added in v1.16.0

func (*LinkedProducerVpcNetwork) ProtoMessage()

func (*LinkedProducerVpcNetwork) ProtoReflect added in v1.16.0

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

func (*LinkedProducerVpcNetwork) Reset added in v1.16.0

func (x *LinkedProducerVpcNetwork) Reset()

func (*LinkedProducerVpcNetwork) String added in v1.16.0

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 `` /* 134-byte string literal not displayed */
	// 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 deprecated

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

Deprecated: Use LinkedRouterApplianceInstances.ProtoReflect.Descriptor instead.

func (*LinkedRouterApplianceInstances) GetIncludeImportRanges added in v1.16.0

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

func (*LinkedRouterApplianceInstances) GetInstances

func (*LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer

func (x *LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer() bool

func (*LinkedRouterApplianceInstances) GetVpcNetwork added in v1.8.0

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 added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use LinkedVpcNetwork.ProtoReflect.Descriptor instead.

func (*LinkedVpcNetwork) GetExcludeExportRanges added in v1.14.0

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

func (*LinkedVpcNetwork) GetIncludeExportRanges added in v1.16.0

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

func (*LinkedVpcNetwork) GetProducerVpcSpokes added in v1.16.0

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

func (*LinkedVpcNetwork) GetUri added in v1.14.0

func (x *LinkedVpcNetwork) GetUri() string

func (*LinkedVpcNetwork) ProtoMessage added in v1.14.0

func (*LinkedVpcNetwork) ProtoMessage()

func (*LinkedVpcNetwork) ProtoReflect added in v1.14.0

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

func (*LinkedVpcNetwork) Reset added in v1.14.0

func (x *LinkedVpcNetwork) Reset()

func (*LinkedVpcNetwork) String added in v1.14.0

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 `` /* 134-byte string literal not displayed */
	// 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 deprecated

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

Deprecated: Use LinkedVpnTunnels.ProtoReflect.Descriptor instead.

func (*LinkedVpnTunnels) GetIncludeImportRanges added in v1.16.0

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

func (*LinkedVpnTunnels) GetSiteToSiteDataTransfer

func (x *LinkedVpnTunnels) GetSiteToSiteDataTransfer() bool

func (*LinkedVpnTunnels) GetUris

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

func (*LinkedVpnTunnels) GetVpcNetwork added in v1.8.0

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 added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupsRequest) GetFilter added in v1.14.0

func (x *ListGroupsRequest) GetFilter() string

func (*ListGroupsRequest) GetOrderBy added in v1.14.0

func (x *ListGroupsRequest) GetOrderBy() string

func (*ListGroupsRequest) GetPageSize added in v1.14.0

func (x *ListGroupsRequest) GetPageSize() int32

func (*ListGroupsRequest) GetPageToken added in v1.14.0

func (x *ListGroupsRequest) GetPageToken() string

func (*ListGroupsRequest) GetParent added in v1.14.0

func (x *ListGroupsRequest) GetParent() string

func (*ListGroupsRequest) ProtoMessage added in v1.14.0

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) ProtoReflect added in v1.14.0

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

func (*ListGroupsRequest) Reset added in v1.14.0

func (x *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String added in v1.14.0

func (x *ListGroupsRequest) String() string

type ListGroupsResponse added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupsResponse) GetGroups added in v1.14.0

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

func (*ListGroupsResponse) GetNextPageToken added in v1.14.0

func (x *ListGroupsResponse) GetNextPageToken() string

func (*ListGroupsResponse) GetUnreachable added in v1.14.0

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

func (*ListGroupsResponse) ProtoMessage added in v1.14.0

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) ProtoReflect added in v1.14.0

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

func (*ListGroupsResponse) Reset added in v1.14.0

func (x *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String added in v1.14.0

func (x *ListGroupsResponse) String() string

type ListHubSpokesRequest added in v1.14.0

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 `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*ListHubSpokesRequest) Descriptor deprecated added in v1.14.0

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

Deprecated: Use ListHubSpokesRequest.ProtoReflect.Descriptor instead.

func (*ListHubSpokesRequest) GetFilter added in v1.14.0

func (x *ListHubSpokesRequest) GetFilter() string

func (*ListHubSpokesRequest) GetName added in v1.14.0

func (x *ListHubSpokesRequest) GetName() string

func (*ListHubSpokesRequest) GetOrderBy added in v1.14.0

func (x *ListHubSpokesRequest) GetOrderBy() string

func (*ListHubSpokesRequest) GetPageSize added in v1.14.0

func (x *ListHubSpokesRequest) GetPageSize() int32

func (*ListHubSpokesRequest) GetPageToken added in v1.14.0

func (x *ListHubSpokesRequest) GetPageToken() string

func (*ListHubSpokesRequest) GetSpokeLocations added in v1.14.0

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

func (*ListHubSpokesRequest) GetView added in v1.14.0

func (*ListHubSpokesRequest) ProtoMessage added in v1.14.0

func (*ListHubSpokesRequest) ProtoMessage()

func (*ListHubSpokesRequest) ProtoReflect added in v1.14.0

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

func (*ListHubSpokesRequest) Reset added in v1.14.0

func (x *ListHubSpokesRequest) Reset()

func (*ListHubSpokesRequest) String added in v1.14.0

func (x *ListHubSpokesRequest) String() string

type ListHubSpokesRequest_SpokeView added in v1.14.0

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 added in v1.14.0

func (ListHubSpokesRequest_SpokeView) Enum added in v1.14.0

func (ListHubSpokesRequest_SpokeView) EnumDescriptor deprecated added in v1.14.0

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

Deprecated: Use ListHubSpokesRequest_SpokeView.Descriptor instead.

func (ListHubSpokesRequest_SpokeView) Number added in v1.14.0

func (ListHubSpokesRequest_SpokeView) String added in v1.14.0

func (ListHubSpokesRequest_SpokeView) Type added in v1.14.0

type ListHubSpokesResponse added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use ListHubSpokesResponse.ProtoReflect.Descriptor instead.

func (*ListHubSpokesResponse) GetNextPageToken added in v1.14.0

func (x *ListHubSpokesResponse) GetNextPageToken() string

func (*ListHubSpokesResponse) GetSpokes added in v1.14.0

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

func (*ListHubSpokesResponse) GetUnreachable added in v1.14.0

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

func (*ListHubSpokesResponse) ProtoMessage added in v1.14.0

func (*ListHubSpokesResponse) ProtoMessage()

func (*ListHubSpokesResponse) ProtoReflect added in v1.14.0

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

func (*ListHubSpokesResponse) Reset added in v1.14.0

func (x *ListHubSpokesResponse) Reset()

func (*ListHubSpokesResponse) String added in v1.14.0

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 deprecated

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 deprecated

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 added in v1.8.0

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 deprecated added in v1.8.0

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

Deprecated: Use ListPolicyBasedRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListPolicyBasedRoutesRequest) GetFilter added in v1.8.0

func (x *ListPolicyBasedRoutesRequest) GetFilter() string

func (*ListPolicyBasedRoutesRequest) GetOrderBy added in v1.8.0

func (x *ListPolicyBasedRoutesRequest) GetOrderBy() string

func (*ListPolicyBasedRoutesRequest) GetPageSize added in v1.8.0

func (x *ListPolicyBasedRoutesRequest) GetPageSize() int32

func (*ListPolicyBasedRoutesRequest) GetPageToken added in v1.8.0

func (x *ListPolicyBasedRoutesRequest) GetPageToken() string

func (*ListPolicyBasedRoutesRequest) GetParent added in v1.8.0

func (x *ListPolicyBasedRoutesRequest) GetParent() string

func (*ListPolicyBasedRoutesRequest) ProtoMessage added in v1.8.0

func (*ListPolicyBasedRoutesRequest) ProtoMessage()

func (*ListPolicyBasedRoutesRequest) ProtoReflect added in v1.8.0

func (*ListPolicyBasedRoutesRequest) Reset added in v1.8.0

func (x *ListPolicyBasedRoutesRequest) Reset()

func (*ListPolicyBasedRoutesRequest) String added in v1.8.0

type ListPolicyBasedRoutesResponse added in v1.8.0

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 deprecated added in v1.8.0

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

Deprecated: Use ListPolicyBasedRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListPolicyBasedRoutesResponse) GetNextPageToken added in v1.8.0

func (x *ListPolicyBasedRoutesResponse) GetNextPageToken() string

func (*ListPolicyBasedRoutesResponse) GetPolicyBasedRoutes added in v1.8.0

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

func (*ListPolicyBasedRoutesResponse) GetUnreachable added in v1.8.0

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

func (*ListPolicyBasedRoutesResponse) ProtoMessage added in v1.8.0

func (*ListPolicyBasedRoutesResponse) ProtoMessage()

func (*ListPolicyBasedRoutesResponse) ProtoReflect added in v1.8.0

func (*ListPolicyBasedRoutesResponse) Reset added in v1.8.0

func (x *ListPolicyBasedRoutesResponse) Reset()

func (*ListPolicyBasedRoutesResponse) String added in v1.8.0

type ListRouteTablesRequest added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use ListRouteTablesRequest.ProtoReflect.Descriptor instead.

func (*ListRouteTablesRequest) GetFilter added in v1.14.0

func (x *ListRouteTablesRequest) GetFilter() string

func (*ListRouteTablesRequest) GetOrderBy added in v1.14.0

func (x *ListRouteTablesRequest) GetOrderBy() string

func (*ListRouteTablesRequest) GetPageSize added in v1.14.0

func (x *ListRouteTablesRequest) GetPageSize() int32

func (*ListRouteTablesRequest) GetPageToken added in v1.14.0

func (x *ListRouteTablesRequest) GetPageToken() string

func (*ListRouteTablesRequest) GetParent added in v1.14.0

func (x *ListRouteTablesRequest) GetParent() string

func (*ListRouteTablesRequest) ProtoMessage added in v1.14.0

func (*ListRouteTablesRequest) ProtoMessage()

func (*ListRouteTablesRequest) ProtoReflect added in v1.14.0

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

func (*ListRouteTablesRequest) Reset added in v1.14.0

func (x *ListRouteTablesRequest) Reset()

func (*ListRouteTablesRequest) String added in v1.14.0

func (x *ListRouteTablesRequest) String() string

type ListRouteTablesResponse added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use ListRouteTablesResponse.ProtoReflect.Descriptor instead.

func (*ListRouteTablesResponse) GetNextPageToken added in v1.14.0

func (x *ListRouteTablesResponse) GetNextPageToken() string

func (*ListRouteTablesResponse) GetRouteTables added in v1.14.0

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

func (*ListRouteTablesResponse) GetUnreachable added in v1.14.0

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

func (*ListRouteTablesResponse) ProtoMessage added in v1.14.0

func (*ListRouteTablesResponse) ProtoMessage()

func (*ListRouteTablesResponse) ProtoReflect added in v1.14.0

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

func (*ListRouteTablesResponse) Reset added in v1.14.0

func (x *ListRouteTablesResponse) Reset()

func (*ListRouteTablesResponse) String added in v1.14.0

func (x *ListRouteTablesResponse) String() string

type ListRoutesRequest added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use ListRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListRoutesRequest) GetFilter added in v1.14.0

func (x *ListRoutesRequest) GetFilter() string

func (*ListRoutesRequest) GetOrderBy added in v1.14.0

func (x *ListRoutesRequest) GetOrderBy() string

func (*ListRoutesRequest) GetPageSize added in v1.14.0

func (x *ListRoutesRequest) GetPageSize() int32

func (*ListRoutesRequest) GetPageToken added in v1.14.0

func (x *ListRoutesRequest) GetPageToken() string

func (*ListRoutesRequest) GetParent added in v1.14.0

func (x *ListRoutesRequest) GetParent() string

func (*ListRoutesRequest) ProtoMessage added in v1.14.0

func (*ListRoutesRequest) ProtoMessage()

func (*ListRoutesRequest) ProtoReflect added in v1.14.0

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

func (*ListRoutesRequest) Reset added in v1.14.0

func (x *ListRoutesRequest) Reset()

func (*ListRoutesRequest) String added in v1.14.0

func (x *ListRoutesRequest) String() string

type ListRoutesResponse added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use ListRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListRoutesResponse) GetNextPageToken added in v1.14.0

func (x *ListRoutesResponse) GetNextPageToken() string

func (*ListRoutesResponse) GetRoutes added in v1.14.0

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

func (*ListRoutesResponse) GetUnreachable added in v1.14.0

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

func (*ListRoutesResponse) ProtoMessage added in v1.14.0

func (*ListRoutesResponse) ProtoMessage()

func (*ListRoutesResponse) ProtoReflect added in v1.14.0

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

func (*ListRoutesResponse) Reset added in v1.14.0

func (x *ListRoutesResponse) Reset()

func (*ListRoutesResponse) String added in v1.14.0

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 deprecated

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 deprecated

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 deprecated

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 `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata about locations

func (*LocationMetadata) Descriptor deprecated

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 added in v1.16.0

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 `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*NextHopInterconnectAttachment) Descriptor deprecated added in v1.16.0

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

Deprecated: Use NextHopInterconnectAttachment.ProtoReflect.Descriptor instead.

func (*NextHopInterconnectAttachment) GetSiteToSiteDataTransfer added in v1.16.0

func (x *NextHopInterconnectAttachment) GetSiteToSiteDataTransfer() bool

func (*NextHopInterconnectAttachment) GetUri added in v1.16.0

func (*NextHopInterconnectAttachment) GetVpcNetwork added in v1.16.0

func (x *NextHopInterconnectAttachment) GetVpcNetwork() string

func (*NextHopInterconnectAttachment) ProtoMessage added in v1.16.0

func (*NextHopInterconnectAttachment) ProtoMessage()

func (*NextHopInterconnectAttachment) ProtoReflect added in v1.16.0

func (*NextHopInterconnectAttachment) Reset added in v1.16.0

func (x *NextHopInterconnectAttachment) Reset()

func (*NextHopInterconnectAttachment) String added in v1.16.0

type NextHopRouterApplianceInstance added in v1.16.0

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 `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*NextHopRouterApplianceInstance) Descriptor deprecated added in v1.16.0

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

Deprecated: Use NextHopRouterApplianceInstance.ProtoReflect.Descriptor instead.

func (*NextHopRouterApplianceInstance) GetSiteToSiteDataTransfer added in v1.16.0

func (x *NextHopRouterApplianceInstance) GetSiteToSiteDataTransfer() bool

func (*NextHopRouterApplianceInstance) GetUri added in v1.16.0

func (*NextHopRouterApplianceInstance) GetVpcNetwork added in v1.16.0

func (x *NextHopRouterApplianceInstance) GetVpcNetwork() string

func (*NextHopRouterApplianceInstance) ProtoMessage added in v1.16.0

func (*NextHopRouterApplianceInstance) ProtoMessage()

func (*NextHopRouterApplianceInstance) ProtoReflect added in v1.16.0

func (*NextHopRouterApplianceInstance) Reset added in v1.16.0

func (x *NextHopRouterApplianceInstance) Reset()

func (*NextHopRouterApplianceInstance) String added in v1.16.0

type NextHopVPNTunnel added in v1.16.0

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 `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*NextHopVPNTunnel) Descriptor deprecated added in v1.16.0

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

Deprecated: Use NextHopVPNTunnel.ProtoReflect.Descriptor instead.

func (*NextHopVPNTunnel) GetSiteToSiteDataTransfer added in v1.16.0

func (x *NextHopVPNTunnel) GetSiteToSiteDataTransfer() bool

func (*NextHopVPNTunnel) GetUri added in v1.16.0

func (x *NextHopVPNTunnel) GetUri() string

func (*NextHopVPNTunnel) GetVpcNetwork added in v1.16.0

func (x *NextHopVPNTunnel) GetVpcNetwork() string

func (*NextHopVPNTunnel) ProtoMessage added in v1.16.0

func (*NextHopVPNTunnel) ProtoMessage()

func (*NextHopVPNTunnel) ProtoReflect added in v1.16.0

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

func (*NextHopVPNTunnel) Reset added in v1.16.0

func (x *NextHopVPNTunnel) Reset()

func (*NextHopVPNTunnel) String added in v1.16.0

func (x *NextHopVPNTunnel) String() string

type NextHopVpcNetwork added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use NextHopVpcNetwork.ProtoReflect.Descriptor instead.

func (*NextHopVpcNetwork) GetUri added in v1.14.0

func (x *NextHopVpcNetwork) GetUri() string

func (*NextHopVpcNetwork) ProtoMessage added in v1.14.0

func (*NextHopVpcNetwork) ProtoMessage()

func (*NextHopVpcNetwork) ProtoReflect added in v1.14.0

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

func (*NextHopVpcNetwork) Reset added in v1.14.0

func (x *NextHopVpcNetwork) Reset()

func (*NextHopVpcNetwork) String added in v1.14.0

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 deprecated

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 added in v1.8.0

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 `` /* 153-byte string literal not displayed */
	// 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 deprecated added in v1.8.0

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

Deprecated: Use PolicyBasedRoute.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute) GetCreateTime added in v1.8.0

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

func (*PolicyBasedRoute) GetDescription added in v1.8.0

func (x *PolicyBasedRoute) GetDescription() string

func (*PolicyBasedRoute) GetFilter added in v1.8.0

func (x *PolicyBasedRoute) GetFilter() *PolicyBasedRoute_Filter

func (*PolicyBasedRoute) GetInterconnectAttachment added in v1.8.0

func (x *PolicyBasedRoute) GetInterconnectAttachment() *PolicyBasedRoute_InterconnectAttachment

func (*PolicyBasedRoute) GetKind added in v1.8.0

func (x *PolicyBasedRoute) GetKind() string

func (*PolicyBasedRoute) GetLabels added in v1.8.0

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

func (*PolicyBasedRoute) GetName added in v1.8.0

func (x *PolicyBasedRoute) GetName() string

func (*PolicyBasedRoute) GetNetwork added in v1.8.0

func (x *PolicyBasedRoute) GetNetwork() string

func (*PolicyBasedRoute) GetNextHop added in v1.8.0

func (m *PolicyBasedRoute) GetNextHop() isPolicyBasedRoute_NextHop

func (*PolicyBasedRoute) GetNextHopIlbIp added in v1.8.0

func (x *PolicyBasedRoute) GetNextHopIlbIp() string

func (*PolicyBasedRoute) GetNextHopOtherRoutes added in v1.13.0

func (x *PolicyBasedRoute) GetNextHopOtherRoutes() PolicyBasedRoute_OtherRoutes

func (*PolicyBasedRoute) GetPriority added in v1.8.0

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

func (*PolicyBasedRoute) GetTarget added in v1.8.0

func (m *PolicyBasedRoute) GetTarget() isPolicyBasedRoute_Target

func (*PolicyBasedRoute) GetUpdateTime added in v1.8.0

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

func (*PolicyBasedRoute) GetVirtualMachine added in v1.8.0

func (x *PolicyBasedRoute) GetVirtualMachine() *PolicyBasedRoute_VirtualMachine

func (*PolicyBasedRoute) GetWarnings added in v1.8.0

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

func (*PolicyBasedRoute) ProtoMessage added in v1.8.0

func (*PolicyBasedRoute) ProtoMessage()

func (*PolicyBasedRoute) ProtoReflect added in v1.8.0

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

func (*PolicyBasedRoute) Reset added in v1.8.0

func (x *PolicyBasedRoute) Reset()

func (*PolicyBasedRoute) String added in v1.8.0

func (x *PolicyBasedRoute) String() string

type PolicyBasedRoute_Filter added in v1.8.0

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 `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

Filter matches L4 traffic.

func (*PolicyBasedRoute_Filter) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PolicyBasedRoute_Filter.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_Filter) GetDestRange added in v1.8.0

func (x *PolicyBasedRoute_Filter) GetDestRange() string

func (*PolicyBasedRoute_Filter) GetIpProtocol added in v1.8.0

func (x *PolicyBasedRoute_Filter) GetIpProtocol() string

func (*PolicyBasedRoute_Filter) GetProtocolVersion added in v1.8.0

func (*PolicyBasedRoute_Filter) GetSrcRange added in v1.8.0

func (x *PolicyBasedRoute_Filter) GetSrcRange() string

func (*PolicyBasedRoute_Filter) ProtoMessage added in v1.8.0

func (*PolicyBasedRoute_Filter) ProtoMessage()

func (*PolicyBasedRoute_Filter) ProtoReflect added in v1.8.0

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

func (*PolicyBasedRoute_Filter) Reset added in v1.8.0

func (x *PolicyBasedRoute_Filter) Reset()

func (*PolicyBasedRoute_Filter) String added in v1.8.0

func (x *PolicyBasedRoute_Filter) String() string

type PolicyBasedRoute_Filter_ProtocolVersion added in v1.8.0

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 added in v1.8.0

func (PolicyBasedRoute_Filter_ProtocolVersion) Enum added in v1.8.0

func (PolicyBasedRoute_Filter_ProtocolVersion) EnumDescriptor deprecated added in v1.8.0

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

Deprecated: Use PolicyBasedRoute_Filter_ProtocolVersion.Descriptor instead.

func (PolicyBasedRoute_Filter_ProtocolVersion) Number added in v1.8.0

func (PolicyBasedRoute_Filter_ProtocolVersion) String added in v1.8.0

func (PolicyBasedRoute_Filter_ProtocolVersion) Type added in v1.8.0

type PolicyBasedRoute_InterconnectAttachment added in v1.8.0

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 deprecated added in v1.8.0

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

Deprecated: Use PolicyBasedRoute_InterconnectAttachment.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_InterconnectAttachment) GetRegion added in v1.8.0

func (*PolicyBasedRoute_InterconnectAttachment) ProtoMessage added in v1.8.0

func (*PolicyBasedRoute_InterconnectAttachment) ProtoReflect added in v1.8.0

func (*PolicyBasedRoute_InterconnectAttachment) Reset added in v1.8.0

func (*PolicyBasedRoute_InterconnectAttachment) String added in v1.8.0

type PolicyBasedRoute_InterconnectAttachment_ added in v1.8.0

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 added in v1.8.0

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 added in v1.13.0

type PolicyBasedRoute_NextHopOtherRoutes struct {
	// Optional. Other routes that will be referenced to determine the next hop
	// of the packet.
	NextHopOtherRoutes PolicyBasedRoute_OtherRoutes `` /* 158-byte string literal not displayed */
}

type PolicyBasedRoute_OtherRoutes added in v1.13.0

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 added in v1.13.0

func (PolicyBasedRoute_OtherRoutes) Enum added in v1.13.0

func (PolicyBasedRoute_OtherRoutes) EnumDescriptor deprecated added in v1.13.0

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

Deprecated: Use PolicyBasedRoute_OtherRoutes.Descriptor instead.

func (PolicyBasedRoute_OtherRoutes) Number added in v1.13.0

func (PolicyBasedRoute_OtherRoutes) String added in v1.13.0

func (PolicyBasedRoute_OtherRoutes) Type added in v1.13.0

type PolicyBasedRoute_VirtualMachine added in v1.8.0

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 deprecated added in v1.8.0

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

Deprecated: Use PolicyBasedRoute_VirtualMachine.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_VirtualMachine) GetTags added in v1.8.0

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

func (*PolicyBasedRoute_VirtualMachine) ProtoMessage added in v1.8.0

func (*PolicyBasedRoute_VirtualMachine) ProtoMessage()

func (*PolicyBasedRoute_VirtualMachine) ProtoReflect added in v1.8.0

func (*PolicyBasedRoute_VirtualMachine) Reset added in v1.8.0

func (*PolicyBasedRoute_VirtualMachine) String added in v1.8.0

type PolicyBasedRoute_VirtualMachine_ added in v1.8.0

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 added in v1.8.0

type PolicyBasedRoute_Warnings struct {

	// Output only. A warning code, if applicable.
	Code PolicyBasedRoute_Warnings_Code `` /* 134-byte string literal not displayed */
	// 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 `` /* 149-byte string literal not displayed */
	// 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 deprecated added in v1.8.0

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

Deprecated: Use PolicyBasedRoute_Warnings.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_Warnings) GetCode added in v1.8.0

func (*PolicyBasedRoute_Warnings) GetData added in v1.8.0

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

func (*PolicyBasedRoute_Warnings) GetWarningMessage added in v1.8.0

func (x *PolicyBasedRoute_Warnings) GetWarningMessage() string

func (*PolicyBasedRoute_Warnings) ProtoMessage added in v1.8.0

func (*PolicyBasedRoute_Warnings) ProtoMessage()

func (*PolicyBasedRoute_Warnings) ProtoReflect added in v1.8.0

func (*PolicyBasedRoute_Warnings) Reset added in v1.8.0

func (x *PolicyBasedRoute_Warnings) Reset()

func (*PolicyBasedRoute_Warnings) String added in v1.8.0

func (x *PolicyBasedRoute_Warnings) String() string

type PolicyBasedRoute_Warnings_Code added in v1.8.0

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 added in v1.8.0

func (PolicyBasedRoute_Warnings_Code) Enum added in v1.8.0

func (PolicyBasedRoute_Warnings_Code) EnumDescriptor deprecated added in v1.8.0

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

Deprecated: Use PolicyBasedRoute_Warnings_Code.Descriptor instead.

func (PolicyBasedRoute_Warnings_Code) Number added in v1.8.0

func (PolicyBasedRoute_Warnings_Code) String added in v1.8.0

func (PolicyBasedRoute_Warnings_Code) Type added in v1.8.0

type PolicyBasedRoutingServiceClient added in v1.8.0

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 added in v1.8.0

func NewPolicyBasedRoutingServiceClient(cc grpc.ClientConnInterface) PolicyBasedRoutingServiceClient

type PolicyBasedRoutingServiceServer added in v1.8.0

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 added in v1.16.0

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 added in v1.16.0

func (PolicyMode) Descriptor() protoreflect.EnumDescriptor

func (PolicyMode) Enum added in v1.16.0

func (x PolicyMode) Enum() *PolicyMode

func (PolicyMode) EnumDescriptor deprecated added in v1.16.0

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

Deprecated: Use PolicyMode.Descriptor instead.

func (PolicyMode) Number added in v1.16.0

func (x PolicyMode) Number() protoreflect.EnumNumber

func (PolicyMode) String added in v1.16.0

func (x PolicyMode) String() string

func (PolicyMode) Type added in v1.16.0

type PresetTopology added in v1.16.0

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 added in v1.16.0

func (PresetTopology) Enum added in v1.16.0

func (x PresetTopology) Enum() *PresetTopology

func (PresetTopology) EnumDescriptor deprecated added in v1.16.0

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

Deprecated: Use PresetTopology.Descriptor instead.

func (PresetTopology) Number added in v1.16.0

func (PresetTopology) String added in v1.16.0

func (x PresetTopology) String() string

func (PresetTopology) Type added in v1.16.0

type PscPropagationStatus added in v1.16.0

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 `` /* 129-byte string literal not displayed */
	// 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 deprecated added in v1.16.0

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

Deprecated: Use PscPropagationStatus.ProtoReflect.Descriptor instead.

func (*PscPropagationStatus) GetCode added in v1.16.0

func (*PscPropagationStatus) GetMessage added in v1.16.0

func (x *PscPropagationStatus) GetMessage() string

func (*PscPropagationStatus) GetSourceForwardingRule added in v1.16.0

func (x *PscPropagationStatus) GetSourceForwardingRule() string

func (*PscPropagationStatus) GetSourceGroup added in v1.16.0

func (x *PscPropagationStatus) GetSourceGroup() string

func (*PscPropagationStatus) GetSourceSpoke added in v1.16.0

func (x *PscPropagationStatus) GetSourceSpoke() string

func (*PscPropagationStatus) GetTargetGroup added in v1.16.0

func (x *PscPropagationStatus) GetTargetGroup() string

func (*PscPropagationStatus) GetTargetSpoke added in v1.16.0

func (x *PscPropagationStatus) GetTargetSpoke() string

func (*PscPropagationStatus) ProtoMessage added in v1.16.0

func (*PscPropagationStatus) ProtoMessage()

func (*PscPropagationStatus) ProtoReflect added in v1.16.0

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

func (*PscPropagationStatus) Reset added in v1.16.0

func (x *PscPropagationStatus) Reset()

func (*PscPropagationStatus) String added in v1.16.0

func (x *PscPropagationStatus) String() string

type PscPropagationStatus_Code added in v1.16.0

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 added in v1.16.0

func (PscPropagationStatus_Code) Enum added in v1.16.0

func (PscPropagationStatus_Code) EnumDescriptor deprecated added in v1.16.0

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

Deprecated: Use PscPropagationStatus_Code.Descriptor instead.

func (PscPropagationStatus_Code) Number added in v1.16.0

func (PscPropagationStatus_Code) String added in v1.16.0

func (x PscPropagationStatus_Code) String() string

func (PscPropagationStatus_Code) Type added in v1.16.0

type QueryHubStatusRequest added in v1.16.0

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 deprecated added in v1.16.0

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

Deprecated: Use QueryHubStatusRequest.ProtoReflect.Descriptor instead.

func (*QueryHubStatusRequest) GetFilter added in v1.16.0

func (x *QueryHubStatusRequest) GetFilter() string

func (*QueryHubStatusRequest) GetGroupBy added in v1.16.0

func (x *QueryHubStatusRequest) GetGroupBy() string

func (*QueryHubStatusRequest) GetName added in v1.16.0

func (x *QueryHubStatusRequest) GetName() string

func (*QueryHubStatusRequest) GetOrderBy added in v1.16.0

func (x *QueryHubStatusRequest) GetOrderBy() string

func (*QueryHubStatusRequest) GetPageSize added in v1.16.0

func (x *QueryHubStatusRequest) GetPageSize() int32

func (*QueryHubStatusRequest) GetPageToken added in v1.16.0

func (x *QueryHubStatusRequest) GetPageToken() string

func (*QueryHubStatusRequest) ProtoMessage added in v1.16.0

func (*QueryHubStatusRequest) ProtoMessage()

func (*QueryHubStatusRequest) ProtoReflect added in v1.16.0

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

func (*QueryHubStatusRequest) Reset added in v1.16.0

func (x *QueryHubStatusRequest) Reset()

func (*QueryHubStatusRequest) String added in v1.16.0

func (x *QueryHubStatusRequest) String() string

type QueryHubStatusResponse added in v1.16.0

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 deprecated added in v1.16.0

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

Deprecated: Use QueryHubStatusResponse.ProtoReflect.Descriptor instead.

func (*QueryHubStatusResponse) GetHubStatusEntries added in v1.16.0

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

func (*QueryHubStatusResponse) GetNextPageToken added in v1.16.0

func (x *QueryHubStatusResponse) GetNextPageToken() string

func (*QueryHubStatusResponse) ProtoMessage added in v1.16.0

func (*QueryHubStatusResponse) ProtoMessage()

func (*QueryHubStatusResponse) ProtoReflect added in v1.16.0

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

func (*QueryHubStatusResponse) Reset added in v1.16.0

func (x *QueryHubStatusResponse) Reset()

func (*QueryHubStatusResponse) String added in v1.16.0

func (x *QueryHubStatusResponse) String() string

type RejectHubSpokeRequest added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use RejectHubSpokeRequest.ProtoReflect.Descriptor instead.

func (*RejectHubSpokeRequest) GetDetails added in v1.14.0

func (x *RejectHubSpokeRequest) GetDetails() string

func (*RejectHubSpokeRequest) GetName added in v1.14.0

func (x *RejectHubSpokeRequest) GetName() string

func (*RejectHubSpokeRequest) GetRequestId added in v1.14.0

func (x *RejectHubSpokeRequest) GetRequestId() string

func (*RejectHubSpokeRequest) GetSpokeUri added in v1.14.0

func (x *RejectHubSpokeRequest) GetSpokeUri() string

func (*RejectHubSpokeRequest) ProtoMessage added in v1.14.0

func (*RejectHubSpokeRequest) ProtoMessage()

func (*RejectHubSpokeRequest) ProtoReflect added in v1.14.0

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

func (*RejectHubSpokeRequest) Reset added in v1.14.0

func (x *RejectHubSpokeRequest) Reset()

func (*RejectHubSpokeRequest) String added in v1.14.0

func (x *RejectHubSpokeRequest) String() string

type RejectHubSpokeResponse added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use RejectHubSpokeResponse.ProtoReflect.Descriptor instead.

func (*RejectHubSpokeResponse) GetSpoke added in v1.14.0

func (x *RejectHubSpokeResponse) GetSpoke() *Spoke

func (*RejectHubSpokeResponse) ProtoMessage added in v1.14.0

func (*RejectHubSpokeResponse) ProtoMessage()

func (*RejectHubSpokeResponse) ProtoReflect added in v1.14.0

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

func (*RejectHubSpokeResponse) Reset added in v1.14.0

func (x *RejectHubSpokeResponse) Reset()

func (*RejectHubSpokeResponse) String added in v1.14.0

func (x *RejectHubSpokeResponse) String() string

type Route added in v1.14.0

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 `` /* 153-byte string literal not displayed */
	// 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 `` /* 158-byte string literal not displayed */
	// Immutable. The next-hop VLAN attachment for packets on this route.
	NextHopInterconnectAttachment *NextHopInterconnectAttachment `` /* 153-byte string literal not displayed */
	// 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 deprecated added in v1.14.0

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

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetCreateTime added in v1.14.0

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

func (*Route) GetDescription added in v1.14.0

func (x *Route) GetDescription() string

func (*Route) GetIpCidrRange added in v1.14.0

func (x *Route) GetIpCidrRange() string

func (*Route) GetLabels added in v1.14.0

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

func (*Route) GetLocation added in v1.14.0

func (x *Route) GetLocation() string

func (*Route) GetName added in v1.14.0

func (x *Route) GetName() string

func (*Route) GetNextHopInterconnectAttachment added in v1.16.0

func (x *Route) GetNextHopInterconnectAttachment() *NextHopInterconnectAttachment

func (*Route) GetNextHopRouterApplianceInstance added in v1.16.0

func (x *Route) GetNextHopRouterApplianceInstance() *NextHopRouterApplianceInstance

func (*Route) GetNextHopVpcNetwork added in v1.14.0

func (x *Route) GetNextHopVpcNetwork() *NextHopVpcNetwork

func (*Route) GetNextHopVpnTunnel added in v1.16.0

func (x *Route) GetNextHopVpnTunnel() *NextHopVPNTunnel

func (*Route) GetPriority added in v1.16.0

func (x *Route) GetPriority() int64

func (*Route) GetSpoke added in v1.14.0

func (x *Route) GetSpoke() string

func (*Route) GetState added in v1.14.0

func (x *Route) GetState() State

func (*Route) GetType added in v1.14.0

func (x *Route) GetType() RouteType

func (*Route) GetUid added in v1.14.0

func (x *Route) GetUid() string

func (*Route) GetUpdateTime added in v1.14.0

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

func (*Route) ProtoMessage added in v1.14.0

func (*Route) ProtoMessage()

func (*Route) ProtoReflect added in v1.14.0

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

func (*Route) Reset added in v1.14.0

func (x *Route) Reset()

func (*Route) String added in v1.14.0

func (x *Route) String() string

type RouteTable added in v1.14.0

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 `` /* 153-byte string literal not displayed */
	// 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 deprecated added in v1.14.0

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

Deprecated: Use RouteTable.ProtoReflect.Descriptor instead.

func (*RouteTable) GetCreateTime added in v1.14.0

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

func (*RouteTable) GetDescription added in v1.14.0

func (x *RouteTable) GetDescription() string

func (*RouteTable) GetLabels added in v1.14.0

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

func (*RouteTable) GetName added in v1.14.0

func (x *RouteTable) GetName() string

func (*RouteTable) GetState added in v1.14.0

func (x *RouteTable) GetState() State

func (*RouteTable) GetUid added in v1.14.0

func (x *RouteTable) GetUid() string

func (*RouteTable) GetUpdateTime added in v1.14.0

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

func (*RouteTable) ProtoMessage added in v1.14.0

func (*RouteTable) ProtoMessage()

func (*RouteTable) ProtoReflect added in v1.14.0

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

func (*RouteTable) Reset added in v1.14.0

func (x *RouteTable) Reset()

func (*RouteTable) String added in v1.14.0

func (x *RouteTable) String() string

type RouteType added in v1.14.0

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 added in v1.14.0

func (RouteType) Descriptor() protoreflect.EnumDescriptor

func (RouteType) Enum added in v1.14.0

func (x RouteType) Enum() *RouteType

func (RouteType) EnumDescriptor deprecated added in v1.14.0

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

Deprecated: Use RouteType.Descriptor instead.

func (RouteType) Number added in v1.14.0

func (x RouteType) Number() protoreflect.EnumNumber

func (RouteType) String added in v1.14.0

func (x RouteType) String() string

func (RouteType) Type added in v1.14.0

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 deprecated

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 `` /* 202-byte string literal not displayed */
	// 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 deprecated

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 `` /* 153-byte string literal not displayed */
	// 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 `` /* 151-byte string literal not displayed */
	// Router appliance instances that are associated with the spoke.
	LinkedRouterApplianceInstances *LinkedRouterApplianceInstances `` /* 156-byte string literal not displayed */
	// 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 `` /* 138-byte string literal not displayed */
	// 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 `` /* 141-byte string literal not displayed */
	// 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 deprecated

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 added in v1.14.0

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 added in v1.16.0

func (x *Spoke) GetLinkedProducerVpcNetwork() *LinkedProducerVpcNetwork

func (*Spoke) GetLinkedRouterApplianceInstances

func (x *Spoke) GetLinkedRouterApplianceInstances() *LinkedRouterApplianceInstances

func (*Spoke) GetLinkedVpcNetwork added in v1.14.0

func (x *Spoke) GetLinkedVpcNetwork() *LinkedVpcNetwork

func (*Spoke) GetLinkedVpnTunnels

func (x *Spoke) GetLinkedVpnTunnels() *LinkedVpnTunnels

func (*Spoke) GetName

func (x *Spoke) GetName() string

func (*Spoke) GetReasons added in v1.14.0

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

func (*Spoke) GetSpokeType added in v1.14.0

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 added in v1.14.0

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 `` /* 131-byte string literal not displayed */
	// 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 deprecated added in v1.14.0

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

Deprecated: Use SpokeSummary.ProtoReflect.Descriptor instead.

func (*SpokeSummary) GetSpokeStateCounts added in v1.14.0

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

func (*SpokeSummary) GetSpokeStateReasonCounts added in v1.14.0

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

func (*SpokeSummary) GetSpokeTypeCounts added in v1.14.0

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

func (*SpokeSummary) ProtoMessage added in v1.14.0

func (*SpokeSummary) ProtoMessage()

func (*SpokeSummary) ProtoReflect added in v1.14.0

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

func (*SpokeSummary) Reset added in v1.14.0

func (x *SpokeSummary) Reset()

func (*SpokeSummary) String added in v1.14.0

func (x *SpokeSummary) String() string

type SpokeSummary_SpokeStateCount added in v1.14.0

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 deprecated added in v1.14.0

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

Deprecated: Use SpokeSummary_SpokeStateCount.ProtoReflect.Descriptor instead.

func (*SpokeSummary_SpokeStateCount) GetCount added in v1.14.0

func (x *SpokeSummary_SpokeStateCount) GetCount() int64

func (*SpokeSummary_SpokeStateCount) GetState added in v1.14.0

func (x *SpokeSummary_SpokeStateCount) GetState() State

func (*SpokeSummary_SpokeStateCount) ProtoMessage added in v1.14.0

func (*SpokeSummary_SpokeStateCount) ProtoMessage()

func (*SpokeSummary_SpokeStateCount) ProtoReflect added in v1.14.0

func (*SpokeSummary_SpokeStateCount) Reset added in v1.14.0

func (x *SpokeSummary_SpokeStateCount) Reset()

func (*SpokeSummary_SpokeStateCount) String added in v1.14.0

type SpokeSummary_SpokeStateReasonCount added in v1.14.0

type SpokeSummary_SpokeStateReasonCount struct {

	// Output only. The reason that a spoke is inactive.
	StateReasonCode Spoke_StateReason_Code `` /* 173-byte string literal not displayed */
	// 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 deprecated added in v1.14.0

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

Deprecated: Use SpokeSummary_SpokeStateReasonCount.ProtoReflect.Descriptor instead.

func (*SpokeSummary_SpokeStateReasonCount) GetCount added in v1.14.0

func (*SpokeSummary_SpokeStateReasonCount) GetStateReasonCode added in v1.14.0

func (*SpokeSummary_SpokeStateReasonCount) ProtoMessage added in v1.14.0

func (*SpokeSummary_SpokeStateReasonCount) ProtoMessage()

func (*SpokeSummary_SpokeStateReasonCount) ProtoReflect added in v1.14.0

func (*SpokeSummary_SpokeStateReasonCount) Reset added in v1.14.0

func (*SpokeSummary_SpokeStateReasonCount) String added in v1.14.0

type SpokeSummary_SpokeTypeCount added in v1.14.0

type SpokeSummary_SpokeTypeCount struct {

	// Output only. The type of the spokes.
	SpokeType SpokeType `` /* 140-byte string literal not displayed */
	// 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 deprecated added in v1.14.0

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

Deprecated: Use SpokeSummary_SpokeTypeCount.ProtoReflect.Descriptor instead.

func (*SpokeSummary_SpokeTypeCount) GetCount added in v1.14.0

func (x *SpokeSummary_SpokeTypeCount) GetCount() int64

func (*SpokeSummary_SpokeTypeCount) GetSpokeType added in v1.14.0

func (x *SpokeSummary_SpokeTypeCount) GetSpokeType() SpokeType

func (*SpokeSummary_SpokeTypeCount) ProtoMessage added in v1.14.0

func (*SpokeSummary_SpokeTypeCount) ProtoMessage()

func (*SpokeSummary_SpokeTypeCount) ProtoReflect added in v1.14.0

func (*SpokeSummary_SpokeTypeCount) Reset added in v1.14.0

func (x *SpokeSummary_SpokeTypeCount) Reset()

func (*SpokeSummary_SpokeTypeCount) String added in v1.14.0

func (x *SpokeSummary_SpokeTypeCount) String() string

type SpokeType added in v1.14.0

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 added in v1.14.0

func (SpokeType) Descriptor() protoreflect.EnumDescriptor

func (SpokeType) Enum added in v1.14.0

func (x SpokeType) Enum() *SpokeType

func (SpokeType) EnumDescriptor deprecated added in v1.14.0

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

Deprecated: Use SpokeType.Descriptor instead.

func (SpokeType) Number added in v1.14.0

func (x SpokeType) Number() protoreflect.EnumNumber

func (SpokeType) String added in v1.14.0

func (x SpokeType) String() string

func (SpokeType) Type added in v1.14.0

type Spoke_StateReason added in v1.14.0

type Spoke_StateReason struct {

	// The code associated with this reason.
	Code Spoke_StateReason_Code `` /* 126-byte string literal not displayed */
	// 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 deprecated added in v1.14.0

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

Deprecated: Use Spoke_StateReason.ProtoReflect.Descriptor instead.

func (*Spoke_StateReason) GetCode added in v1.14.0

func (*Spoke_StateReason) GetMessage added in v1.14.0

func (x *Spoke_StateReason) GetMessage() string

func (*Spoke_StateReason) GetUserDetails added in v1.14.0

func (x *Spoke_StateReason) GetUserDetails() string

func (*Spoke_StateReason) ProtoMessage added in v1.14.0

func (*Spoke_StateReason) ProtoMessage()

func (*Spoke_StateReason) ProtoReflect added in v1.14.0

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

func (*Spoke_StateReason) Reset added in v1.14.0

func (x *Spoke_StateReason) Reset()

func (*Spoke_StateReason) String added in v1.14.0

func (x *Spoke_StateReason) String() string

type Spoke_StateReason_Code added in v1.14.0

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 added in v1.14.0

func (Spoke_StateReason_Code) Enum added in v1.14.0

func (Spoke_StateReason_Code) EnumDescriptor deprecated added in v1.14.0

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

Deprecated: Use Spoke_StateReason_Code.Descriptor instead.

func (Spoke_StateReason_Code) Number added in v1.14.0

func (Spoke_StateReason_Code) String added in v1.14.0

func (x Spoke_StateReason_Code) String() string

func (Spoke_StateReason_Code) Type added in v1.14.0

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 deprecated

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 added in v1.14.0

func (*UnimplementedHubServiceServer) CreateHub

func (*UnimplementedHubServiceServer) CreateSpoke

func (*UnimplementedHubServiceServer) DeleteHub

func (*UnimplementedHubServiceServer) DeleteSpoke

func (*UnimplementedHubServiceServer) GetGroup added in v1.14.0

func (*UnimplementedHubServiceServer) GetHub

func (*UnimplementedHubServiceServer) GetRoute added in v1.14.0

func (*UnimplementedHubServiceServer) GetRouteTable added in v1.14.0

func (*UnimplementedHubServiceServer) GetSpoke

func (*UnimplementedHubServiceServer) ListGroups added in v1.14.0

func (*UnimplementedHubServiceServer) ListHubSpokes added in v1.14.0

func (*UnimplementedHubServiceServer) ListHubs

func (*UnimplementedHubServiceServer) ListRouteTables added in v1.14.0

func (*UnimplementedHubServiceServer) ListRoutes added in v1.14.0

func (*UnimplementedHubServiceServer) ListSpokes

func (*UnimplementedHubServiceServer) QueryHubStatus added in v1.16.0

func (*UnimplementedHubServiceServer) RejectHubSpoke added in v1.14.0

func (*UnimplementedHubServiceServer) UpdateGroup added in v1.16.0

func (*UnimplementedHubServiceServer) UpdateHub

func (*UnimplementedHubServiceServer) UpdateSpoke

type UnimplementedPolicyBasedRoutingServiceServer added in v1.8.0

type UnimplementedPolicyBasedRoutingServiceServer struct {
}

UnimplementedPolicyBasedRoutingServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedPolicyBasedRoutingServiceServer) CreatePolicyBasedRoute added in v1.8.0

func (*UnimplementedPolicyBasedRoutingServiceServer) DeletePolicyBasedRoute added in v1.8.0

func (*UnimplementedPolicyBasedRoutingServiceServer) GetPolicyBasedRoute added in v1.8.0

func (*UnimplementedPolicyBasedRoutingServiceServer) ListPolicyBasedRoutes added in v1.8.0

type UpdateGroupRequest added in v1.16.0

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 deprecated added in v1.16.0

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

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) GetGroup added in v1.16.0

func (x *UpdateGroupRequest) GetGroup() *Group

func (*UpdateGroupRequest) GetRequestId added in v1.16.0

func (x *UpdateGroupRequest) GetRequestId() string

func (*UpdateGroupRequest) GetUpdateMask added in v1.16.0

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

func (*UpdateGroupRequest) ProtoMessage added in v1.16.0

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect added in v1.16.0

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

func (*UpdateGroupRequest) Reset added in v1.16.0

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String added in v1.16.0

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 deprecated

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 deprecated

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL