Package cloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb (v1.14.5)

Variables

LocationFeature_name, LocationFeature_value

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.

RouteType_name, RouteType_value

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

Enum value maps for RouteType.

State_name, State_value

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.

SpokeType_name, SpokeType_value

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

Enum value maps for SpokeType.

Spoke_StateReason_Code_name, Spoke_StateReason_Code_value

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.

ListHubSpokesRequest_SpokeView_name, ListHubSpokesRequest_SpokeView_value

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.

PolicyBasedRoute_OtherRoutes_name, PolicyBasedRoute_OtherRoutes_value

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.

PolicyBasedRoute_Filter_ProtocolVersion_name, PolicyBasedRoute_Filter_ProtocolVersion_value

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.

PolicyBasedRoute_Warnings_Code_name, PolicyBasedRoute_Warnings_Code_value

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.

File_google_cloud_networkconnectivity_v1_common_proto

var File_google_cloud_networkconnectivity_v1_common_proto protoreflect.FileDescriptor

File_google_cloud_networkconnectivity_v1_hub_proto

var File_google_cloud_networkconnectivity_v1_hub_proto protoreflect.FileDescriptor

File_google_cloud_networkconnectivity_v1_policy_based_routing_proto

var File_google_cloud_networkconnectivity_v1_policy_based_routing_proto protoreflect.FileDescriptor

Functions

func RegisterHubServiceServer

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

func RegisterPolicyBasedRoutingServiceServer

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

AcceptHubSpokeRequest

type AcceptHubSpokeRequest struct {

	// Required. The name of the hub into which to accept the spoke.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The URI of the spoke to accept into the hub.
	SpokeUri string `protobuf:"bytes,2,opt,name=spoke_uri,json=spokeUri,proto3" json:"spoke_uri,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly creating duplicate commitments.
	//
	// The request ID must be a valid UUID, with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*AcceptHubSpokeRequest) Descriptor

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

Deprecated: Use AcceptHubSpokeRequest.ProtoReflect.Descriptor instead.

func (*AcceptHubSpokeRequest) GetName

func (x *AcceptHubSpokeRequest) GetName() string

func (*AcceptHubSpokeRequest) GetRequestId

func (x *AcceptHubSpokeRequest) GetRequestId() string

func (*AcceptHubSpokeRequest) GetSpokeUri

func (x *AcceptHubSpokeRequest) GetSpokeUri() string

func (*AcceptHubSpokeRequest) ProtoMessage

func (*AcceptHubSpokeRequest) ProtoMessage()

func (*AcceptHubSpokeRequest) ProtoReflect

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

func (*AcceptHubSpokeRequest) Reset

func (x *AcceptHubSpokeRequest) Reset()

func (*AcceptHubSpokeRequest) String

func (x *AcceptHubSpokeRequest) String() string

AcceptHubSpokeResponse

type AcceptHubSpokeResponse struct {

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

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

func (*AcceptHubSpokeResponse) Descriptor

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

Deprecated: Use AcceptHubSpokeResponse.ProtoReflect.Descriptor instead.

func (*AcceptHubSpokeResponse) GetSpoke

func (x *AcceptHubSpokeResponse) GetSpoke() *Spoke

func (*AcceptHubSpokeResponse) ProtoMessage

func (*AcceptHubSpokeResponse) ProtoMessage()

func (*AcceptHubSpokeResponse) ProtoReflect

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

func (*AcceptHubSpokeResponse) Reset

func (x *AcceptHubSpokeResponse) Reset()

func (*AcceptHubSpokeResponse) String

func (x *AcceptHubSpokeResponse) String() string

CreateHubRequest

type CreateHubRequest struct {

	// Required. The parent resource.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. A unique identifier for the hub.
	HubId string `protobuf:"bytes,2,opt,name=hub_id,json=hubId,proto3" json:"hub_id,omitempty"`
	// Required. The initial values for a new hub.
	Hub *Hub `protobuf:"bytes,3,opt,name=hub,proto3" json:"hub,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly creating duplicate commitments.
	//
	// The request ID must be a valid UUID, with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateHubRequest) Descriptor

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

Deprecated: Use CreateHubRequest.ProtoReflect.Descriptor instead.

func (*CreateHubRequest) GetHub

func (x *CreateHubRequest) GetHub() *Hub

func (*CreateHubRequest) GetHubId

func (x *CreateHubRequest) GetHubId() string

func (*CreateHubRequest) GetParent

func (x *CreateHubRequest) GetParent() string

func (*CreateHubRequest) GetRequestId

func (x *CreateHubRequest) GetRequestId() string

func (*CreateHubRequest) ProtoMessage

func (*CreateHubRequest) ProtoMessage()

func (*CreateHubRequest) ProtoReflect

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

func (*CreateHubRequest) Reset

func (x *CreateHubRequest) Reset()

func (*CreateHubRequest) String

func (x *CreateHubRequest) String() string

CreatePolicyBasedRouteRequest

type CreatePolicyBasedRouteRequest struct {

	// Required. The parent resource's name of the PolicyBasedRoute.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Unique id for the Policy Based Route to create.
	PolicyBasedRouteId string `protobuf:"bytes,2,opt,name=policy_based_route_id,json=policyBasedRouteId,proto3" json:"policy_based_route_id,omitempty"`
	// Required. Initial values for a new Policy Based Route.
	PolicyBasedRoute *PolicyBasedRoute `protobuf:"bytes,3,opt,name=policy_based_route,json=policyBasedRoute,proto3" json:"policy_based_route,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request for [PolicyBasedRouting.CreatePolicyBasedRoute][] method.

func (*CreatePolicyBasedRouteRequest) Descriptor

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

Deprecated: Use CreatePolicyBasedRouteRequest.ProtoReflect.Descriptor instead.

func (*CreatePolicyBasedRouteRequest) GetParent

func (x *CreatePolicyBasedRouteRequest) GetParent() string

func (*CreatePolicyBasedRouteRequest) GetPolicyBasedRoute

func (x *CreatePolicyBasedRouteRequest) GetPolicyBasedRoute() *PolicyBasedRoute

func (*CreatePolicyBasedRouteRequest) GetPolicyBasedRouteId

func (x *CreatePolicyBasedRouteRequest) GetPolicyBasedRouteId() string

func (*CreatePolicyBasedRouteRequest) GetRequestId

func (x *CreatePolicyBasedRouteRequest) GetRequestId() string

func (*CreatePolicyBasedRouteRequest) ProtoMessage

func (*CreatePolicyBasedRouteRequest) ProtoMessage()

func (*CreatePolicyBasedRouteRequest) ProtoReflect

func (*CreatePolicyBasedRouteRequest) Reset

func (x *CreatePolicyBasedRouteRequest) Reset()

func (*CreatePolicyBasedRouteRequest) String

CreateSpokeRequest

type CreateSpokeRequest struct {

	// Required. The parent resource.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Unique id for the spoke to create.
	SpokeId string `protobuf:"bytes,2,opt,name=spoke_id,json=spokeId,proto3" json:"spoke_id,omitempty"`
	// Required. The initial values for a new spoke.
	Spoke *Spoke `protobuf:"bytes,3,opt,name=spoke,proto3" json:"spoke,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly creating duplicate commitments.
	//
	// The request ID must be a valid UUID, with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateSpokeRequest) Descriptor

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

Deprecated: Use CreateSpokeRequest.ProtoReflect.Descriptor instead.

func (*CreateSpokeRequest) GetParent

func (x *CreateSpokeRequest) GetParent() string

func (*CreateSpokeRequest) GetRequestId

func (x *CreateSpokeRequest) GetRequestId() string

func (*CreateSpokeRequest) GetSpoke

func (x *CreateSpokeRequest) GetSpoke() *Spoke

func (*CreateSpokeRequest) GetSpokeId

func (x *CreateSpokeRequest) GetSpokeId() string

func (*CreateSpokeRequest) ProtoMessage

func (*CreateSpokeRequest) ProtoMessage()

func (*CreateSpokeRequest) ProtoReflect

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

func (*CreateSpokeRequest) Reset

func (x *CreateSpokeRequest) Reset()

func (*CreateSpokeRequest) String

func (x *CreateSpokeRequest) String() string

DeleteHubRequest

type DeleteHubRequest struct {

	// Required. The name of the hub to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly creating duplicate commitments.
	//
	// The request ID must be a valid UUID, with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteHubRequest) Descriptor

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

Deprecated: Use DeleteHubRequest.ProtoReflect.Descriptor instead.

func (*DeleteHubRequest) GetName

func (x *DeleteHubRequest) GetName() string

func (*DeleteHubRequest) GetRequestId

func (x *DeleteHubRequest) GetRequestId() string

func (*DeleteHubRequest) ProtoMessage

func (*DeleteHubRequest) ProtoMessage()

func (*DeleteHubRequest) ProtoReflect

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

func (*DeleteHubRequest) Reset

func (x *DeleteHubRequest) Reset()

func (*DeleteHubRequest) String

func (x *DeleteHubRequest) String() string

DeletePolicyBasedRouteRequest

type DeletePolicyBasedRouteRequest struct {

	// Required. Name of the PolicyBasedRoute resource to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request for [PolicyBasedRouting.DeletePolicyBasedRoute][] method.

func (*DeletePolicyBasedRouteRequest) Descriptor

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

Deprecated: Use DeletePolicyBasedRouteRequest.ProtoReflect.Descriptor instead.

func (*DeletePolicyBasedRouteRequest) GetName

func (*DeletePolicyBasedRouteRequest) GetRequestId

func (x *DeletePolicyBasedRouteRequest) GetRequestId() string

func (*DeletePolicyBasedRouteRequest) ProtoMessage

func (*DeletePolicyBasedRouteRequest) ProtoMessage()

func (*DeletePolicyBasedRouteRequest) ProtoReflect

func (*DeletePolicyBasedRouteRequest) Reset

func (x *DeletePolicyBasedRouteRequest) Reset()

func (*DeletePolicyBasedRouteRequest) String

DeleteSpokeRequest

type DeleteSpokeRequest struct {

	// Required. The name of the spoke to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly creating duplicate commitments.
	//
	// The request ID must be a valid UUID, with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteSpokeRequest) Descriptor

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

Deprecated: Use DeleteSpokeRequest.ProtoReflect.Descriptor instead.

func (*DeleteSpokeRequest) GetName

func (x *DeleteSpokeRequest) GetName() string

func (*DeleteSpokeRequest) GetRequestId

func (x *DeleteSpokeRequest) GetRequestId() string

func (*DeleteSpokeRequest) ProtoMessage

func (*DeleteSpokeRequest) ProtoMessage()

func (*DeleteSpokeRequest) ProtoReflect

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

func (*DeleteSpokeRequest) Reset

func (x *DeleteSpokeRequest) Reset()

func (*DeleteSpokeRequest) String

func (x *DeleteSpokeRequest) String() string

GetGroupRequest

type GetGroupRequest struct {

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

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

func (*GetGroupRequest) Descriptor

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

Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRequest) GetName

func (x *GetGroupRequest) GetName() string

func (*GetGroupRequest) ProtoMessage

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) ProtoReflect

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

func (*GetGroupRequest) Reset

func (x *GetGroupRequest) Reset()

func (*GetGroupRequest) String

func (x *GetGroupRequest) String() string

GetHubRequest

type GetHubRequest struct {

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

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

func (*GetHubRequest) Descriptor

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

Deprecated: Use GetHubRequest.ProtoReflect.Descriptor instead.

func (*GetHubRequest) GetName

func (x *GetHubRequest) GetName() string

func (*GetHubRequest) ProtoMessage

func (*GetHubRequest) ProtoMessage()

func (*GetHubRequest) ProtoReflect

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

func (*GetHubRequest) Reset

func (x *GetHubRequest) Reset()

func (*GetHubRequest) String

func (x *GetHubRequest) String() string

GetPolicyBasedRouteRequest

type GetPolicyBasedRouteRequest struct {

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

Request for [PolicyBasedRouting.GetPolicyBasedRoute][] method.

func (*GetPolicyBasedRouteRequest) Descriptor

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

Deprecated: Use GetPolicyBasedRouteRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyBasedRouteRequest) GetName

func (x *GetPolicyBasedRouteRequest) GetName() string

func (*GetPolicyBasedRouteRequest) ProtoMessage

func (*GetPolicyBasedRouteRequest) ProtoMessage()

func (*GetPolicyBasedRouteRequest) ProtoReflect

func (*GetPolicyBasedRouteRequest) Reset

func (x *GetPolicyBasedRouteRequest) Reset()

func (*GetPolicyBasedRouteRequest) String

func (x *GetPolicyBasedRouteRequest) String() string

GetRouteRequest

type GetRouteRequest struct {

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

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

func (*GetRouteRequest) Descriptor

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

Deprecated: Use GetRouteRequest.ProtoReflect.Descriptor instead.

func (*GetRouteRequest) GetName

func (x *GetRouteRequest) GetName() string

func (*GetRouteRequest) ProtoMessage

func (*GetRouteRequest) ProtoMessage()

func (*GetRouteRequest) ProtoReflect

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

func (*GetRouteRequest) Reset

func (x *GetRouteRequest) Reset()

func (*GetRouteRequest) String

func (x *GetRouteRequest) String() string

GetRouteTableRequest

type GetRouteTableRequest struct {

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

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

func (*GetRouteTableRequest) Descriptor

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

Deprecated: Use GetRouteTableRequest.ProtoReflect.Descriptor instead.

func (*GetRouteTableRequest) GetName

func (x *GetRouteTableRequest) GetName() string

func (*GetRouteTableRequest) ProtoMessage

func (*GetRouteTableRequest) ProtoMessage()

func (*GetRouteTableRequest) ProtoReflect

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

func (*GetRouteTableRequest) Reset

func (x *GetRouteTableRequest) Reset()

func (*GetRouteTableRequest) String

func (x *GetRouteTableRequest) String() string

GetSpokeRequest

type GetSpokeRequest struct {

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

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

func (*GetSpokeRequest) Descriptor

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

Deprecated: Use GetSpokeRequest.ProtoReflect.Descriptor instead.

func (*GetSpokeRequest) GetName

func (x *GetSpokeRequest) GetName() string

func (*GetSpokeRequest) ProtoMessage

func (*GetSpokeRequest) ProtoMessage()

func (*GetSpokeRequest) ProtoReflect

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

func (*GetSpokeRequest) Reset

func (x *GetSpokeRequest) Reset()

func (*GetSpokeRequest) String

func (x *GetSpokeRequest) String() string

Group

type Group struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`

	Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`

	State State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"`

}

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

func (*Group) Descriptor

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetCreateTime

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

func (*Group) GetDescription

func (x *Group) GetDescription() string

func (*Group) GetLabels

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

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetState

func (x *Group) GetState() State

func (*Group) GetUid

func (x *Group) GetUid() string

func (*Group) GetUpdateTime

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

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

Hub

type Hub struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`

	UniqueId string `protobuf:"bytes,8,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`

	State State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"`

	RoutingVpcs []*RoutingVPC `protobuf:"bytes,10,rep,name=routing_vpcs,json=routingVpcs,proto3" json:"routing_vpcs,omitempty"`

	RouteTables []string `protobuf:"bytes,11,rep,name=route_tables,json=routeTables,proto3" json:"route_tables,omitempty"`

	SpokeSummary *SpokeSummary `protobuf:"bytes,12,opt,name=spoke_summary,json=spokeSummary,proto3" json:"spoke_summary,omitempty"`

}

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

func (*Hub) Descriptor

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

Deprecated: Use Hub.ProtoReflect.Descriptor instead.

func (*Hub) GetCreateTime

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

func (*Hub) GetDescription

func (x *Hub) GetDescription() string

func (*Hub) GetLabels

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

func (*Hub) GetName

func (x *Hub) GetName() string

func (*Hub) GetRouteTables

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

func (*Hub) GetRoutingVpcs

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

func (*Hub) GetSpokeSummary

func (x *Hub) GetSpokeSummary() *SpokeSummary

func (*Hub) GetState

func (x *Hub) GetState() State

func (*Hub) GetUniqueId

func (x *Hub) GetUniqueId() string

func (*Hub) GetUpdateTime

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

func (*Hub) ProtoMessage

func (*Hub) ProtoMessage()

func (*Hub) ProtoReflect

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

func (*Hub) Reset

func (x *Hub) Reset()

func (*Hub) String

func (x *Hub) String() string

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)
	// 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 project.
	ListRoutes(ctx context.Context, in *ListRoutesRequest, opts ...grpc.CallOption) (*ListRoutesResponse, error)
	// Lists route tables in a given project.
	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)
}

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

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)
	// 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 project.
	ListRoutes(context.Context, *ListRoutesRequest) (*ListRoutesResponse, error)
	// Lists route tables in a given project.
	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)
}

HubServiceServer is the server API for HubService service.

LinkedInterconnectAttachments

type LinkedInterconnectAttachments struct {
	Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`

	SiteToSiteDataTransfer bool "" /* 134 byte string literal not displayed */

	VpcNetwork string `protobuf:"bytes,3,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`

}

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

func (*LinkedInterconnectAttachments) Descriptor

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

Deprecated: Use LinkedInterconnectAttachments.ProtoReflect.Descriptor instead.

func (*LinkedInterconnectAttachments) GetSiteToSiteDataTransfer

func (x *LinkedInterconnectAttachments) GetSiteToSiteDataTransfer() bool

func (*LinkedInterconnectAttachments) GetUris

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

func (*LinkedInterconnectAttachments) GetVpcNetwork

func (x *LinkedInterconnectAttachments) GetVpcNetwork() string

func (*LinkedInterconnectAttachments) ProtoMessage

func (*LinkedInterconnectAttachments) ProtoMessage()

func (*LinkedInterconnectAttachments) ProtoReflect

func (*LinkedInterconnectAttachments) Reset

func (x *LinkedInterconnectAttachments) Reset()

func (*LinkedInterconnectAttachments) String

LinkedRouterApplianceInstances

type LinkedRouterApplianceInstances struct {
	Instances []*RouterApplianceInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`

	SiteToSiteDataTransfer bool "" /* 134 byte string literal not displayed */

	VpcNetwork string `protobuf:"bytes,3,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`

}

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

func (*LinkedRouterApplianceInstances) Descriptor

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

Deprecated: Use LinkedRouterApplianceInstances.ProtoReflect.Descriptor instead.

func (*LinkedRouterApplianceInstances) GetInstances

func (*LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer

func (x *LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer() bool

func (*LinkedRouterApplianceInstances) GetVpcNetwork

func (x *LinkedRouterApplianceInstances) GetVpcNetwork() string

func (*LinkedRouterApplianceInstances) ProtoMessage

func (*LinkedRouterApplianceInstances) ProtoMessage()

func (*LinkedRouterApplianceInstances) ProtoReflect

func (*LinkedRouterApplianceInstances) Reset

func (x *LinkedRouterApplianceInstances) Reset()

func (*LinkedRouterApplianceInstances) String

LinkedVpcNetwork

type LinkedVpcNetwork struct {

	// Required. The URI of the VPC network resource.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Optional. IP ranges encompassing the subnets to be excluded from peering.
	ExcludeExportRanges []string `protobuf:"bytes,2,rep,name=exclude_export_ranges,json=excludeExportRanges,proto3" json:"exclude_export_ranges,omitempty"`
	// contains filtered or unexported fields
}

An existing VPC network.

func (*LinkedVpcNetwork) Descriptor

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

Deprecated: Use LinkedVpcNetwork.ProtoReflect.Descriptor instead.

func (*LinkedVpcNetwork) GetExcludeExportRanges

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

func (*LinkedVpcNetwork) GetUri

func (x *LinkedVpcNetwork) GetUri() string

func (*LinkedVpcNetwork) ProtoMessage

func (*LinkedVpcNetwork) ProtoMessage()

func (*LinkedVpcNetwork) ProtoReflect

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

func (*LinkedVpcNetwork) Reset

func (x *LinkedVpcNetwork) Reset()

func (*LinkedVpcNetwork) String

func (x *LinkedVpcNetwork) String() string

LinkedVpnTunnels

type LinkedVpnTunnels struct {
	Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`

	SiteToSiteDataTransfer bool "" /* 134 byte string literal not displayed */

	VpcNetwork string `protobuf:"bytes,3,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`

}

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

func (*LinkedVpnTunnels) Descriptor

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

Deprecated: Use LinkedVpnTunnels.ProtoReflect.Descriptor instead.

func (*LinkedVpnTunnels) GetSiteToSiteDataTransfer

func (x *LinkedVpnTunnels) GetSiteToSiteDataTransfer() bool

func (*LinkedVpnTunnels) GetUris

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

func (*LinkedVpnTunnels) GetVpcNetwork

func (x *LinkedVpnTunnels) GetVpcNetwork() string

func (*LinkedVpnTunnels) ProtoMessage

func (*LinkedVpnTunnels) ProtoMessage()

func (*LinkedVpnTunnels) ProtoReflect

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

func (*LinkedVpnTunnels) Reset

func (x *LinkedVpnTunnels) Reset()

func (*LinkedVpnTunnels) String

func (x *LinkedVpnTunnels) String() string

ListGroupsRequest

type ListGroupsRequest struct {

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

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

func (*ListGroupsRequest) Descriptor

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

Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupsRequest) GetFilter

func (x *ListGroupsRequest) GetFilter() string

func (*ListGroupsRequest) GetOrderBy

func (x *ListGroupsRequest) GetOrderBy() string

func (*ListGroupsRequest) GetPageSize

func (x *ListGroupsRequest) GetPageSize() int32

func (*ListGroupsRequest) GetPageToken

func (x *ListGroupsRequest) GetPageToken() string

func (*ListGroupsRequest) GetParent

func (x *ListGroupsRequest) GetParent() string

func (*ListGroupsRequest) ProtoMessage

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) ProtoReflect

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

func (*ListGroupsRequest) Reset

func (x *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String

func (x *ListGroupsRequest) String() string

ListGroupsResponse

type ListGroupsResponse struct {

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

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

func (*ListGroupsResponse) Descriptor

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

Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupsResponse) GetGroups

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

func (*ListGroupsResponse) GetNextPageToken

func (x *ListGroupsResponse) GetNextPageToken() string

func (*ListGroupsResponse) GetUnreachable

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

func (*ListGroupsResponse) ProtoMessage

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) ProtoReflect

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

func (*ListGroupsResponse) Reset

func (x *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String

func (x *ListGroupsResponse) String() string

ListHubSpokesRequest

type ListHubSpokesRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	SpokeLocations []string `protobuf:"bytes,2,rep,name=spoke_locations,json=spokeLocations,proto3" json:"spoke_locations,omitempty"`

	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`

	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`

	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`

	OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`

	View ListHubSpokesRequest_SpokeView "" /* 134 byte string literal not displayed */

}

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

func (*ListHubSpokesRequest) Descriptor

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

Deprecated: Use ListHubSpokesRequest.ProtoReflect.Descriptor instead.

func (*ListHubSpokesRequest) GetFilter

func (x *ListHubSpokesRequest) GetFilter() string

func (*ListHubSpokesRequest) GetName

func (x *ListHubSpokesRequest) GetName() string

func (*ListHubSpokesRequest) GetOrderBy

func (x *ListHubSpokesRequest) GetOrderBy() string

func (*ListHubSpokesRequest) GetPageSize

func (x *ListHubSpokesRequest) GetPageSize() int32

func (*ListHubSpokesRequest) GetPageToken

func (x *ListHubSpokesRequest) GetPageToken() string

func (*ListHubSpokesRequest) GetSpokeLocations

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

func (*ListHubSpokesRequest) GetView

func (*ListHubSpokesRequest) ProtoMessage

func (*ListHubSpokesRequest) ProtoMessage()

func (*ListHubSpokesRequest) ProtoReflect

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

func (*ListHubSpokesRequest) Reset

func (x *ListHubSpokesRequest) Reset()

func (*ListHubSpokesRequest) String

func (x *ListHubSpokesRequest) String() string

ListHubSpokesRequest_SpokeView

type ListHubSpokesRequest_SpokeView int32

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

ListHubSpokesRequest_SPOKE_VIEW_UNSPECIFIED, ListHubSpokesRequest_BASIC, ListHubSpokesRequest_DETAILED

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

func (ListHubSpokesRequest_SpokeView) Descriptor

func (ListHubSpokesRequest_SpokeView) Enum

func (ListHubSpokesRequest_SpokeView) EnumDescriptor

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

Deprecated: Use ListHubSpokesRequest_SpokeView.Descriptor instead.

func (ListHubSpokesRequest_SpokeView) Number

func (ListHubSpokesRequest_SpokeView) String

func (ListHubSpokesRequest_SpokeView) Type

ListHubSpokesResponse

type ListHubSpokesResponse struct {

	// The requested spokes.
	// The spoke fields can be partially populated based on the `view` field in
	// the request message.
	Spokes []*Spoke `protobuf:"bytes,1,rep,name=spokes,proto3" json:"spokes,omitempty"`
	// The token for the next page of the response. To see more results,
	// use this value as the page_token for your next request. If this value
	// is empty, there are no more results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListHubSpokesResponse) Descriptor

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

Deprecated: Use ListHubSpokesResponse.ProtoReflect.Descriptor instead.

func (*ListHubSpokesResponse) GetNextPageToken

func (x *ListHubSpokesResponse) GetNextPageToken() string

func (*ListHubSpokesResponse) GetSpokes

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

func (*ListHubSpokesResponse) GetUnreachable

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

func (*ListHubSpokesResponse) ProtoMessage

func (*ListHubSpokesResponse) ProtoMessage()

func (*ListHubSpokesResponse) ProtoReflect

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

func (*ListHubSpokesResponse) Reset

func (x *ListHubSpokesResponse) Reset()

func (*ListHubSpokesResponse) String

func (x *ListHubSpokesResponse) String() string

ListHubsRequest

type ListHubsRequest struct {

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

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

func (*ListHubsRequest) Descriptor

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

Deprecated: Use ListHubsRequest.ProtoReflect.Descriptor instead.

func (*ListHubsRequest) GetFilter

func (x *ListHubsRequest) GetFilter() string

func (*ListHubsRequest) GetOrderBy

func (x *ListHubsRequest) GetOrderBy() string

func (*ListHubsRequest) GetPageSize

func (x *ListHubsRequest) GetPageSize() int32

func (*ListHubsRequest) GetPageToken

func (x *ListHubsRequest) GetPageToken() string

func (*ListHubsRequest) GetParent

func (x *ListHubsRequest) GetParent() string

func (*ListHubsRequest) ProtoMessage

func (*ListHubsRequest) ProtoMessage()

func (*ListHubsRequest) ProtoReflect

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

func (*ListHubsRequest) Reset

func (x *ListHubsRequest) Reset()

func (*ListHubsRequest) String

func (x *ListHubsRequest) String() string

ListHubsResponse

type ListHubsResponse struct {

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

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

func (*ListHubsResponse) Descriptor

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

Deprecated: Use ListHubsResponse.ProtoReflect.Descriptor instead.

func (*ListHubsResponse) GetHubs

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

func (*ListHubsResponse) GetNextPageToken

func (x *ListHubsResponse) GetNextPageToken() string

func (*ListHubsResponse) GetUnreachable

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

func (*ListHubsResponse) ProtoMessage

func (*ListHubsResponse) ProtoMessage()

func (*ListHubsResponse) ProtoReflect

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

func (*ListHubsResponse) Reset

func (x *ListHubsResponse) Reset()

func (*ListHubsResponse) String

func (x *ListHubsResponse) String() string

ListPolicyBasedRoutesRequest

type ListPolicyBasedRoutesRequest struct {

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

Request for [PolicyBasedRouting.ListPolicyBasedRoutes][] method.

func (*ListPolicyBasedRoutesRequest) Descriptor

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

Deprecated: Use ListPolicyBasedRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListPolicyBasedRoutesRequest) GetFilter

func (x *ListPolicyBasedRoutesRequest) GetFilter() string

func (*ListPolicyBasedRoutesRequest) GetOrderBy

func (x *ListPolicyBasedRoutesRequest) GetOrderBy() string

func (*ListPolicyBasedRoutesRequest) GetPageSize

func (x *ListPolicyBasedRoutesRequest) GetPageSize() int32

func (*ListPolicyBasedRoutesRequest) GetPageToken

func (x *ListPolicyBasedRoutesRequest) GetPageToken() string

func (*ListPolicyBasedRoutesRequest) GetParent

func (x *ListPolicyBasedRoutesRequest) GetParent() string

func (*ListPolicyBasedRoutesRequest) ProtoMessage

func (*ListPolicyBasedRoutesRequest) ProtoMessage()

func (*ListPolicyBasedRoutesRequest) ProtoReflect

func (*ListPolicyBasedRoutesRequest) Reset

func (x *ListPolicyBasedRoutesRequest) Reset()

func (*ListPolicyBasedRoutesRequest) String

ListPolicyBasedRoutesResponse

type ListPolicyBasedRoutesResponse struct {

	// Policy based routes to be returned.
	PolicyBasedRoutes []*PolicyBasedRoute `protobuf:"bytes,1,rep,name=policy_based_routes,json=policyBasedRoutes,proto3" json:"policy_based_routes,omitempty"`
	// The next pagination token in the List response. It should be used as
	// page_token for the following request. An empty value means no more result.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response for [PolicyBasedRouting.ListPolicyBasedRoutes][] method.

func (*ListPolicyBasedRoutesResponse) Descriptor

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

Deprecated: Use ListPolicyBasedRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListPolicyBasedRoutesResponse) GetNextPageToken

func (x *ListPolicyBasedRoutesResponse) GetNextPageToken() string

func (*ListPolicyBasedRoutesResponse) GetPolicyBasedRoutes

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

func (*ListPolicyBasedRoutesResponse) GetUnreachable

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

func (*ListPolicyBasedRoutesResponse) ProtoMessage

func (*ListPolicyBasedRoutesResponse) ProtoMessage()

func (*ListPolicyBasedRoutesResponse) ProtoReflect

func (*ListPolicyBasedRoutesResponse) Reset

func (x *ListPolicyBasedRoutesResponse) Reset()

func (*ListPolicyBasedRoutesResponse) String

ListRouteTablesRequest

type ListRouteTablesRequest struct {

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

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

func (*ListRouteTablesRequest) Descriptor

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

Deprecated: Use ListRouteTablesRequest.ProtoReflect.Descriptor instead.

func (*ListRouteTablesRequest) GetFilter

func (x *ListRouteTablesRequest) GetFilter() string

func (*ListRouteTablesRequest) GetOrderBy

func (x *ListRouteTablesRequest) GetOrderBy() string

func (*ListRouteTablesRequest) GetPageSize

func (x *ListRouteTablesRequest) GetPageSize() int32

func (*ListRouteTablesRequest) GetPageToken

func (x *ListRouteTablesRequest) GetPageToken() string

func (*ListRouteTablesRequest) GetParent

func (x *ListRouteTablesRequest) GetParent() string

func (*ListRouteTablesRequest) ProtoMessage

func (*ListRouteTablesRequest) ProtoMessage()

func (*ListRouteTablesRequest) ProtoReflect

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

func (*ListRouteTablesRequest) Reset

func (x *ListRouteTablesRequest) Reset()

func (*ListRouteTablesRequest) String

func (x *ListRouteTablesRequest) String() string

ListRouteTablesResponse

type ListRouteTablesResponse struct {

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

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

func (*ListRouteTablesResponse) Descriptor

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

Deprecated: Use ListRouteTablesResponse.ProtoReflect.Descriptor instead.

func (*ListRouteTablesResponse) GetNextPageToken

func (x *ListRouteTablesResponse) GetNextPageToken() string

func (*ListRouteTablesResponse) GetRouteTables

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

func (*ListRouteTablesResponse) GetUnreachable

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

func (*ListRouteTablesResponse) ProtoMessage

func (*ListRouteTablesResponse) ProtoMessage()

func (*ListRouteTablesResponse) ProtoReflect

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

func (*ListRouteTablesResponse) Reset

func (x *ListRouteTablesResponse) Reset()

func (*ListRouteTablesResponse) String

func (x *ListRouteTablesResponse) String() string

ListRoutesRequest

type ListRoutesRequest struct {

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

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

func (*ListRoutesRequest) Descriptor

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

Deprecated: Use ListRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListRoutesRequest) GetFilter

func (x *ListRoutesRequest) GetFilter() string

func (*ListRoutesRequest) GetOrderBy

func (x *ListRoutesRequest) GetOrderBy() string

func (*ListRoutesRequest) GetPageSize

func (x *ListRoutesRequest) GetPageSize() int32

func (*ListRoutesRequest) GetPageToken

func (x *ListRoutesRequest) GetPageToken() string

func (*ListRoutesRequest) GetParent

func (x *ListRoutesRequest) GetParent() string

func (*ListRoutesRequest) ProtoMessage

func (*ListRoutesRequest) ProtoMessage()

func (*ListRoutesRequest) ProtoReflect

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

func (*ListRoutesRequest) Reset

func (x *ListRoutesRequest) Reset()

func (*ListRoutesRequest) String

func (x *ListRoutesRequest) String() string

ListRoutesResponse

type ListRoutesResponse struct {

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

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

func (*ListRoutesResponse) Descriptor

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

Deprecated: Use ListRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListRoutesResponse) GetNextPageToken

func (x *ListRoutesResponse) GetNextPageToken() string

func (*ListRoutesResponse) GetRoutes

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

func (*ListRoutesResponse) GetUnreachable

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

func (*ListRoutesResponse) ProtoMessage

func (*ListRoutesResponse) ProtoMessage()

func (*ListRoutesResponse) ProtoReflect

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

func (*ListRoutesResponse) Reset

func (x *ListRoutesResponse) Reset()

func (*ListRoutesResponse) String

func (x *ListRoutesResponse) String() string

ListSpokesRequest

type ListSpokesRequest struct {

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

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

func (*ListSpokesRequest) Descriptor

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

Deprecated: Use ListSpokesRequest.ProtoReflect.Descriptor instead.

func (*ListSpokesRequest) GetFilter

func (x *ListSpokesRequest) GetFilter() string

func (*ListSpokesRequest) GetOrderBy

func (x *ListSpokesRequest) GetOrderBy() string

func (*ListSpokesRequest) GetPageSize

func (x *ListSpokesRequest) GetPageSize() int32

func (*ListSpokesRequest) GetPageToken

func (x *ListSpokesRequest) GetPageToken() string

func (*ListSpokesRequest) GetParent

func (x *ListSpokesRequest) GetParent() string

func (*ListSpokesRequest) ProtoMessage

func (*ListSpokesRequest) ProtoMessage()

func (*ListSpokesRequest) ProtoReflect

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

func (*ListSpokesRequest) Reset

func (x *ListSpokesRequest) Reset()

func (*ListSpokesRequest) String

func (x *ListSpokesRequest) String() string

ListSpokesResponse

type ListSpokesResponse struct {

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

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

func (*ListSpokesResponse) Descriptor

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

Deprecated: Use ListSpokesResponse.ProtoReflect.Descriptor instead.

func (*ListSpokesResponse) GetNextPageToken

func (x *ListSpokesResponse) GetNextPageToken() string

func (*ListSpokesResponse) GetSpokes

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

func (*ListSpokesResponse) GetUnreachable

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

func (*ListSpokesResponse) ProtoMessage

func (*ListSpokesResponse) ProtoMessage()

func (*ListSpokesResponse) ProtoReflect

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

func (*ListSpokesResponse) Reset

func (x *ListSpokesResponse) Reset()

func (*ListSpokesResponse) String

func (x *ListSpokesResponse) String() string

LocationFeature

type LocationFeature int32

Supported features for a location

LocationFeature_LOCATION_FEATURE_UNSPECIFIED, LocationFeature_SITE_TO_CLOUD_SPOKES, LocationFeature_SITE_TO_SITE_SPOKES

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

func (LocationFeature) Descriptor

func (LocationFeature) Enum

func (x LocationFeature) Enum() *LocationFeature

func (LocationFeature) EnumDescriptor

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

Deprecated: Use LocationFeature.Descriptor instead.

func (LocationFeature) Number

func (LocationFeature) String

func (x LocationFeature) String() string

func (LocationFeature) Type

LocationMetadata

type LocationMetadata struct {
	LocationFeatures []LocationFeature "" /* 174 byte string literal not displayed */

}

Metadata about locations

func (*LocationMetadata) Descriptor

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

Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.

func (*LocationMetadata) GetLocationFeatures

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

func (*LocationMetadata) ProtoMessage

func (*LocationMetadata) ProtoMessage()

func (*LocationMetadata) ProtoReflect

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

func (*LocationMetadata) Reset

func (x *LocationMetadata) Reset()

func (*LocationMetadata) String

func (x *LocationMetadata) String() string

NextHopVpcNetwork

type NextHopVpcNetwork struct {

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

func (*NextHopVpcNetwork) Descriptor

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

Deprecated: Use NextHopVpcNetwork.ProtoReflect.Descriptor instead.

func (*NextHopVpcNetwork) GetUri

func (x *NextHopVpcNetwork) GetUri() string

func (*NextHopVpcNetwork) ProtoMessage

func (*NextHopVpcNetwork) ProtoMessage()

func (*NextHopVpcNetwork) ProtoReflect

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

func (*NextHopVpcNetwork) Reset

func (x *NextHopVpcNetwork) Reset()

func (*NextHopVpcNetwork) String

func (x *NextHopVpcNetwork) String() string

OperationMetadata

type OperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Output only. Identifies whether the user has requested cancellation
	// of the operation. Operations that have been cancelled successfully
	// have [Operation.error][] value with a
	// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
	// `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor

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

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

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

func (*OperationMetadata) GetEndTime

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

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

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

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

PolicyBasedRoute

type PolicyBasedRoute struct {
	Target isPolicyBasedRoute_Target `protobuf_oneof:"target"`

	NextHop isPolicyBasedRoute_NextHop `protobuf_oneof:"next_hop"`

	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`

	Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`

	Filter *PolicyBasedRoute_Filter `protobuf:"bytes,10,opt,name=filter,proto3" json:"filter,omitempty"`

	Priority int32 `protobuf:"varint,11,opt,name=priority,proto3" json:"priority,omitempty"`

	Warnings []*PolicyBasedRoute_Warnings `protobuf:"bytes,14,rep,name=warnings,proto3" json:"warnings,omitempty"`

	SelfLink string `protobuf:"bytes,15,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`

	Kind string `protobuf:"bytes,16,opt,name=kind,proto3" json:"kind,omitempty"`

}

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

func (*PolicyBasedRoute) Descriptor

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

Deprecated: Use PolicyBasedRoute.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute) GetCreateTime

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

func (*PolicyBasedRoute) GetDescription

func (x *PolicyBasedRoute) GetDescription() string

func (*PolicyBasedRoute) GetFilter

func (x *PolicyBasedRoute) GetFilter() *PolicyBasedRoute_Filter

func (*PolicyBasedRoute) GetInterconnectAttachment

func (x *PolicyBasedRoute) GetInterconnectAttachment() *PolicyBasedRoute_InterconnectAttachment

func (*PolicyBasedRoute) GetKind

func (x *PolicyBasedRoute) GetKind() string

func (*PolicyBasedRoute) GetLabels

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

func (*PolicyBasedRoute) GetName

func (x *PolicyBasedRoute) GetName() string

func (*PolicyBasedRoute) GetNetwork

func (x *PolicyBasedRoute) GetNetwork() string

func (*PolicyBasedRoute) GetNextHop

func (m *PolicyBasedRoute) GetNextHop() isPolicyBasedRoute_NextHop

func (*PolicyBasedRoute) GetNextHopIlbIp

func (x *PolicyBasedRoute) GetNextHopIlbIp() string

func (*PolicyBasedRoute) GetNextHopOtherRoutes

func (x *PolicyBasedRoute) GetNextHopOtherRoutes() PolicyBasedRoute_OtherRoutes

func (*PolicyBasedRoute) GetPriority

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

func (*PolicyBasedRoute) GetTarget

func (m *PolicyBasedRoute) GetTarget() isPolicyBasedRoute_Target

func (*PolicyBasedRoute) GetUpdateTime

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

func (*PolicyBasedRoute) GetVirtualMachine

func (x *PolicyBasedRoute) GetVirtualMachine() *PolicyBasedRoute_VirtualMachine

func (*PolicyBasedRoute) GetWarnings

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

func (*PolicyBasedRoute) ProtoMessage

func (*PolicyBasedRoute) ProtoMessage()

func (*PolicyBasedRoute) ProtoReflect

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

func (*PolicyBasedRoute) Reset

func (x *PolicyBasedRoute) Reset()

func (*PolicyBasedRoute) String

func (x *PolicyBasedRoute) String() string

PolicyBasedRoute_Filter

type PolicyBasedRoute_Filter struct {
	IpProtocol string `protobuf:"bytes,1,opt,name=ip_protocol,json=ipProtocol,proto3" json:"ip_protocol,omitempty"`

	SrcRange string `protobuf:"bytes,2,opt,name=src_range,json=srcRange,proto3" json:"src_range,omitempty"`

	DestRange string `protobuf:"bytes,3,opt,name=dest_range,json=destRange,proto3" json:"dest_range,omitempty"`

	ProtocolVersion PolicyBasedRoute_Filter_ProtocolVersion "" /* 188 byte string literal not displayed */

}

Filter matches L4 traffic.

func (*PolicyBasedRoute_Filter) Descriptor

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

Deprecated: Use PolicyBasedRoute_Filter.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_Filter) GetDestRange

func (x *PolicyBasedRoute_Filter) GetDestRange() string

func (*PolicyBasedRoute_Filter) GetIpProtocol

func (x *PolicyBasedRoute_Filter) GetIpProtocol() string

func (*PolicyBasedRoute_Filter) GetProtocolVersion

func (*PolicyBasedRoute_Filter) GetSrcRange

func (x *PolicyBasedRoute_Filter) GetSrcRange() string

func (*PolicyBasedRoute_Filter) ProtoMessage

func (*PolicyBasedRoute_Filter) ProtoMessage()

func (*PolicyBasedRoute_Filter) ProtoReflect

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

func (*PolicyBasedRoute_Filter) Reset

func (x *PolicyBasedRoute_Filter) Reset()

func (*PolicyBasedRoute_Filter) String

func (x *PolicyBasedRoute_Filter) String() string

PolicyBasedRoute_Filter_ProtocolVersion

type PolicyBasedRoute_Filter_ProtocolVersion int32

The internet protocol version.

PolicyBasedRoute_Filter_PROTOCOL_VERSION_UNSPECIFIED, PolicyBasedRoute_Filter_IPV4

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

func (PolicyBasedRoute_Filter_ProtocolVersion) Descriptor

func (PolicyBasedRoute_Filter_ProtocolVersion) Enum

func (PolicyBasedRoute_Filter_ProtocolVersion) EnumDescriptor

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

Deprecated: Use PolicyBasedRoute_Filter_ProtocolVersion.Descriptor instead.

func (PolicyBasedRoute_Filter_ProtocolVersion) Number

func (PolicyBasedRoute_Filter_ProtocolVersion) String

func (PolicyBasedRoute_Filter_ProtocolVersion) Type

PolicyBasedRoute_InterconnectAttachment

type PolicyBasedRoute_InterconnectAttachment struct {

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

InterconnectAttachment to which this route applies to.

func (*PolicyBasedRoute_InterconnectAttachment) Descriptor

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

Deprecated: Use PolicyBasedRoute_InterconnectAttachment.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_InterconnectAttachment) GetRegion

func (*PolicyBasedRoute_InterconnectAttachment) ProtoMessage

func (*PolicyBasedRoute_InterconnectAttachment) ProtoReflect

func (*PolicyBasedRoute_InterconnectAttachment) Reset

func (*PolicyBasedRoute_InterconnectAttachment) String

PolicyBasedRoute_InterconnectAttachment_

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

PolicyBasedRoute_NextHopIlbIp

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

PolicyBasedRoute_NextHopOtherRoutes

type PolicyBasedRoute_NextHopOtherRoutes struct {
	NextHopOtherRoutes PolicyBasedRoute_OtherRoutes "" /* 158 byte string literal not displayed */
}

PolicyBasedRoute_OtherRoutes

type PolicyBasedRoute_OtherRoutes int32

The other routing cases.

PolicyBasedRoute_OTHER_ROUTES_UNSPECIFIED, PolicyBasedRoute_DEFAULT_ROUTING

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

func (PolicyBasedRoute_OtherRoutes) Descriptor

func (PolicyBasedRoute_OtherRoutes) Enum

func (PolicyBasedRoute_OtherRoutes) EnumDescriptor

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

Deprecated: Use PolicyBasedRoute_OtherRoutes.Descriptor instead.

func (PolicyBasedRoute_OtherRoutes) Number

func (PolicyBasedRoute_OtherRoutes) String

func (PolicyBasedRoute_OtherRoutes) Type

PolicyBasedRoute_VirtualMachine

type PolicyBasedRoute_VirtualMachine struct {

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

VM instances to which this policy based route applies to.

func (*PolicyBasedRoute_VirtualMachine) Descriptor

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

Deprecated: Use PolicyBasedRoute_VirtualMachine.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_VirtualMachine) GetTags

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

func (*PolicyBasedRoute_VirtualMachine) ProtoMessage

func (*PolicyBasedRoute_VirtualMachine) ProtoMessage()

func (*PolicyBasedRoute_VirtualMachine) ProtoReflect

func (*PolicyBasedRoute_VirtualMachine) Reset

func (*PolicyBasedRoute_VirtualMachine) String

PolicyBasedRoute_VirtualMachine_

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

PolicyBasedRoute_Warnings

type PolicyBasedRoute_Warnings struct {
	Code PolicyBasedRoute_Warnings_Code "" /* 134 byte string literal not displayed */

	Data map[string]string "" /* 149 byte string literal not displayed */

	WarningMessage string `protobuf:"bytes,3,opt,name=warning_message,json=warningMessage,proto3" json:"warning_message,omitempty"`

}

Informational warning message.

func (*PolicyBasedRoute_Warnings) Descriptor

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

Deprecated: Use PolicyBasedRoute_Warnings.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_Warnings) GetCode

func (*PolicyBasedRoute_Warnings) GetData

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

func (*PolicyBasedRoute_Warnings) GetWarningMessage

func (x *PolicyBasedRoute_Warnings) GetWarningMessage() string

func (*PolicyBasedRoute_Warnings) ProtoMessage

func (*PolicyBasedRoute_Warnings) ProtoMessage()

func (*PolicyBasedRoute_Warnings) ProtoReflect

func (*PolicyBasedRoute_Warnings) Reset

func (x *PolicyBasedRoute_Warnings) Reset()

func (*PolicyBasedRoute_Warnings) String

func (x *PolicyBasedRoute_Warnings) String() string

PolicyBasedRoute_Warnings_Code

type PolicyBasedRoute_Warnings_Code int32

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

PolicyBasedRoute_Warnings_WARNING_UNSPECIFIED, PolicyBasedRoute_Warnings_RESOURCE_NOT_ACTIVE, PolicyBasedRoute_Warnings_RESOURCE_BEING_MODIFIED

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

func (PolicyBasedRoute_Warnings_Code) Descriptor

func (PolicyBasedRoute_Warnings_Code) Enum

func (PolicyBasedRoute_Warnings_Code) EnumDescriptor

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

Deprecated: Use PolicyBasedRoute_Warnings_Code.Descriptor instead.

func (PolicyBasedRoute_Warnings_Code) Number

func (PolicyBasedRoute_Warnings_Code) String

func (PolicyBasedRoute_Warnings_Code) Type

PolicyBasedRoutingServiceClient

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

PolicyBasedRoutingServiceClient is the client API for PolicyBasedRoutingService service.

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

func NewPolicyBasedRoutingServiceClient

func NewPolicyBasedRoutingServiceClient(cc grpc.ClientConnInterface) PolicyBasedRoutingServiceClient

PolicyBasedRoutingServiceServer

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

PolicyBasedRoutingServiceServer is the server API for PolicyBasedRoutingService service.

RejectHubSpokeRequest

type RejectHubSpokeRequest struct {

	// Required. The name of the hub from which to reject the spoke.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The URI of the spoke to reject from the hub.
	SpokeUri string `protobuf:"bytes,2,opt,name=spoke_uri,json=spokeUri,proto3" json:"spoke_uri,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly creating duplicate commitments.
	//
	// The request ID must be a valid UUID, with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. Additional information provided by the hub administrator.
	Details string `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

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

func (*RejectHubSpokeRequest) Descriptor

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

Deprecated: Use RejectHubSpokeRequest.ProtoReflect.Descriptor instead.

func (*RejectHubSpokeRequest) GetDetails

func (x *RejectHubSpokeRequest) GetDetails() string

func (*RejectHubSpokeRequest) GetName

func (x *RejectHubSpokeRequest) GetName() string

func (*RejectHubSpokeRequest) GetRequestId

func (x *RejectHubSpokeRequest) GetRequestId() string

func (*RejectHubSpokeRequest) GetSpokeUri

func (x *RejectHubSpokeRequest) GetSpokeUri() string

func (*RejectHubSpokeRequest) ProtoMessage

func (*RejectHubSpokeRequest) ProtoMessage()

func (*RejectHubSpokeRequest) ProtoReflect

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

func (*RejectHubSpokeRequest) Reset

func (x *RejectHubSpokeRequest) Reset()

func (*RejectHubSpokeRequest) String

func (x *RejectHubSpokeRequest) String() string

RejectHubSpokeResponse

type RejectHubSpokeResponse struct {

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

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

func (*RejectHubSpokeResponse) Descriptor

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

Deprecated: Use RejectHubSpokeResponse.ProtoReflect.Descriptor instead.

func (*RejectHubSpokeResponse) GetSpoke

func (x *RejectHubSpokeResponse) GetSpoke() *Spoke

func (*RejectHubSpokeResponse) ProtoMessage

func (*RejectHubSpokeResponse) ProtoMessage()

func (*RejectHubSpokeResponse) ProtoReflect

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

func (*RejectHubSpokeResponse) Reset

func (x *RejectHubSpokeResponse) Reset()

func (*RejectHubSpokeResponse) String

func (x *RejectHubSpokeResponse) String() string

Route

type Route struct {
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	IpCidrRange string `protobuf:"bytes,1,opt,name=ip_cidr_range,json=ipCidrRange,proto3" json:"ip_cidr_range,omitempty"`

	Type RouteType `protobuf:"varint,10,opt,name=type,proto3,enum=google.cloud.networkconnectivity.v1.RouteType" json:"type,omitempty"`

	NextHopVpcNetwork *NextHopVpcNetwork `protobuf:"bytes,2,opt,name=next_hop_vpc_network,json=nextHopVpcNetwork,proto3" json:"next_hop_vpc_network,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`

	Uid string `protobuf:"bytes,8,opt,name=uid,proto3" json:"uid,omitempty"`

	State State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"`

	Spoke string `protobuf:"bytes,11,opt,name=spoke,proto3" json:"spoke,omitempty"`

	Location string `protobuf:"bytes,12,opt,name=location,proto3" json:"location,omitempty"`

}

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

func (*Route) Descriptor

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

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetCreateTime

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

func (*Route) GetDescription

func (x *Route) GetDescription() string

func (*Route) GetIpCidrRange

func (x *Route) GetIpCidrRange() string

func (*Route) GetLabels

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

func (*Route) GetLocation

func (x *Route) GetLocation() string

func (*Route) GetName

func (x *Route) GetName() string

func (*Route) GetNextHopVpcNetwork

func (x *Route) GetNextHopVpcNetwork() *NextHopVpcNetwork

func (*Route) GetSpoke

func (x *Route) GetSpoke() string

func (*Route) GetState

func (x *Route) GetState() State

func (*Route) GetType

func (x *Route) GetType() RouteType

func (*Route) GetUid

func (x *Route) GetUid() string

func (*Route) GetUpdateTime

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

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) ProtoReflect

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

func (*Route) Reset

func (x *Route) Reset()

func (*Route) String

func (x *Route) String() string

RouteTable

type RouteTable struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`

	Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`

	State State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"`

}

func (*RouteTable) Descriptor

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

Deprecated: Use RouteTable.ProtoReflect.Descriptor instead.

func (*RouteTable) GetCreateTime

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

func (*RouteTable) GetDescription

func (x *RouteTable) GetDescription() string

func (*RouteTable) GetLabels

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

func (*RouteTable) GetName

func (x *RouteTable) GetName() string

func (*RouteTable) GetState

func (x *RouteTable) GetState() State

func (*RouteTable) GetUid

func (x *RouteTable) GetUid() string

func (*RouteTable) GetUpdateTime

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

func (*RouteTable) ProtoMessage

func (*RouteTable) ProtoMessage()

func (*RouteTable) ProtoReflect

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

func (*RouteTable) Reset

func (x *RouteTable) Reset()

func (*RouteTable) String

func (x *RouteTable) String() string

RouteType

type RouteType int32

The route's type

RouteType_ROUTE_TYPE_UNSPECIFIED, RouteType_VPC_PRIMARY_SUBNET, RouteType_VPC_SECONDARY_SUBNET

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
)

func (RouteType) Descriptor

func (RouteType) Descriptor() protoreflect.EnumDescriptor

func (RouteType) Enum

func (x RouteType) Enum() *RouteType

func (RouteType) EnumDescriptor

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

Deprecated: Use RouteType.Descriptor instead.

func (RouteType) Number

func (x RouteType) Number() protoreflect.EnumNumber

func (RouteType) String

func (x RouteType) String() string

func (RouteType) Type

RouterApplianceInstance

type RouterApplianceInstance struct {

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

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

func (*RouterApplianceInstance) Descriptor

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

Deprecated: Use RouterApplianceInstance.ProtoReflect.Descriptor instead.

func (*RouterApplianceInstance) GetIpAddress

func (x *RouterApplianceInstance) GetIpAddress() string

func (*RouterApplianceInstance) GetVirtualMachine

func (x *RouterApplianceInstance) GetVirtualMachine() string

func (*RouterApplianceInstance) ProtoMessage

func (*RouterApplianceInstance) ProtoMessage()

func (*RouterApplianceInstance) ProtoReflect

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

func (*RouterApplianceInstance) Reset

func (x *RouterApplianceInstance) Reset()

func (*RouterApplianceInstance) String

func (x *RouterApplianceInstance) String() string

RoutingVPC

type RoutingVPC struct {
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`

	RequiredForNewSiteToSiteDataTransferSpokes bool "" /* 202 byte string literal not displayed */

}

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

func (*RoutingVPC) Descriptor

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

Deprecated: Use RoutingVPC.ProtoReflect.Descriptor instead.

func (*RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes

func (x *RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes() bool

func (*RoutingVPC) GetUri

func (x *RoutingVPC) GetUri() string

func (*RoutingVPC) ProtoMessage

func (*RoutingVPC) ProtoMessage()

func (*RoutingVPC) ProtoReflect

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

func (*RoutingVPC) Reset

func (x *RoutingVPC) Reset()

func (*RoutingVPC) String

func (x *RoutingVPC) String() string

Spoke

type Spoke struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`

	Hub string `protobuf:"bytes,6,opt,name=hub,proto3" json:"hub,omitempty"`

	Group string `protobuf:"bytes,23,opt,name=group,proto3" json:"group,omitempty"`

	LinkedVpnTunnels *LinkedVpnTunnels `protobuf:"bytes,17,opt,name=linked_vpn_tunnels,json=linkedVpnTunnels,proto3" json:"linked_vpn_tunnels,omitempty"`

	LinkedInterconnectAttachments *LinkedInterconnectAttachments "" /* 151 byte string literal not displayed */

	LinkedRouterApplianceInstances *LinkedRouterApplianceInstances "" /* 156 byte string literal not displayed */

	LinkedVpcNetwork *LinkedVpcNetwork `protobuf:"bytes,20,opt,name=linked_vpc_network,json=linkedVpcNetwork,proto3" json:"linked_vpc_network,omitempty"`

	UniqueId string `protobuf:"bytes,11,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`

	State State `protobuf:"varint,15,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"`

	Reasons []*Spoke_StateReason `protobuf:"bytes,21,rep,name=reasons,proto3" json:"reasons,omitempty"`

	SpokeType SpokeType "" /* 141 byte string literal not displayed */

}

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

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

  • linked_vpn_tunnels
  • linked_interconnect_attachments
  • linked_router_appliance_instances
  • linked_vpc_network

func (*Spoke) Descriptor

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

Deprecated: Use Spoke.ProtoReflect.Descriptor instead.

func (*Spoke) GetCreateTime

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

func (*Spoke) GetDescription

func (x *Spoke) GetDescription() string

func (*Spoke) GetGroup

func (x *Spoke) GetGroup() string

func (*Spoke) GetHub

func (x *Spoke) GetHub() string

func (*Spoke) GetLabels

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

func (*Spoke) GetLinkedInterconnectAttachments

func (x *Spoke) GetLinkedInterconnectAttachments() *LinkedInterconnectAttachments

func (*Spoke) GetLinkedRouterApplianceInstances

func (x *Spoke) GetLinkedRouterApplianceInstances() *LinkedRouterApplianceInstances

func (*Spoke) GetLinkedVpcNetwork

func (x *Spoke) GetLinkedVpcNetwork() *LinkedVpcNetwork

func (*Spoke) GetLinkedVpnTunnels

func (x *Spoke) GetLinkedVpnTunnels() *LinkedVpnTunnels

func (*Spoke) GetName

func (x *Spoke) GetName() string

func (*Spoke) GetReasons

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

func (*Spoke) GetSpokeType

func (x *Spoke) GetSpokeType() SpokeType

func (*Spoke) GetState

func (x *Spoke) GetState() State

func (*Spoke) GetUniqueId

func (x *Spoke) GetUniqueId() string

func (*Spoke) GetUpdateTime

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

func (*Spoke) ProtoMessage

func (*Spoke) ProtoMessage()

func (*Spoke) ProtoReflect

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

func (*Spoke) Reset

func (x *Spoke) Reset()

func (*Spoke) String

func (x *Spoke) String() string

SpokeSummary

type SpokeSummary struct {
	SpokeTypeCounts []*SpokeSummary_SpokeTypeCount `protobuf:"bytes,1,rep,name=spoke_type_counts,json=spokeTypeCounts,proto3" json:"spoke_type_counts,omitempty"`

	SpokeStateCounts []*SpokeSummary_SpokeStateCount `protobuf:"bytes,2,rep,name=spoke_state_counts,json=spokeStateCounts,proto3" json:"spoke_state_counts,omitempty"`

	SpokeStateReasonCounts []*SpokeSummary_SpokeStateReasonCount "" /* 131 byte string literal not displayed */

}

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

func (*SpokeSummary) Descriptor

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

Deprecated: Use SpokeSummary.ProtoReflect.Descriptor instead.

func (*SpokeSummary) GetSpokeStateCounts

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

func (*SpokeSummary) GetSpokeStateReasonCounts

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

func (*SpokeSummary) GetSpokeTypeCounts

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

func (*SpokeSummary) ProtoMessage

func (*SpokeSummary) ProtoMessage()

func (*SpokeSummary) ProtoReflect

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

func (*SpokeSummary) Reset

func (x *SpokeSummary) Reset()

func (*SpokeSummary) String

func (x *SpokeSummary) String() string

SpokeSummary_SpokeStateCount

type SpokeSummary_SpokeStateCount struct {

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

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

func (*SpokeSummary_SpokeStateCount) Descriptor

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

Deprecated: Use SpokeSummary_SpokeStateCount.ProtoReflect.Descriptor instead.

func (*SpokeSummary_SpokeStateCount) GetCount

func (x *SpokeSummary_SpokeStateCount) GetCount() int64

func (*SpokeSummary_SpokeStateCount) GetState

func (x *SpokeSummary_SpokeStateCount) GetState() State

func (*SpokeSummary_SpokeStateCount) ProtoMessage

func (*SpokeSummary_SpokeStateCount) ProtoMessage()

func (*SpokeSummary_SpokeStateCount) ProtoReflect

func (*SpokeSummary_SpokeStateCount) Reset

func (x *SpokeSummary_SpokeStateCount) Reset()

func (*SpokeSummary_SpokeStateCount) String

SpokeSummary_SpokeStateReasonCount

type SpokeSummary_SpokeStateReasonCount struct {
	StateReasonCode Spoke_StateReason_Code "" /* 173 byte string literal not displayed */

	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`

}

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

func (*SpokeSummary_SpokeStateReasonCount) Descriptor

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

Deprecated: Use SpokeSummary_SpokeStateReasonCount.ProtoReflect.Descriptor instead.

func (*SpokeSummary_SpokeStateReasonCount) GetCount

func (*SpokeSummary_SpokeStateReasonCount) GetStateReasonCode

func (*SpokeSummary_SpokeStateReasonCount) ProtoMessage

func (*SpokeSummary_SpokeStateReasonCount) ProtoMessage()

func (*SpokeSummary_SpokeStateReasonCount) ProtoReflect

func (*SpokeSummary_SpokeStateReasonCount) Reset

func (*SpokeSummary_SpokeStateReasonCount) String

SpokeSummary_SpokeTypeCount

type SpokeSummary_SpokeTypeCount struct {
	SpokeType SpokeType "" /* 140 byte string literal not displayed */

	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`

}

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

func (*SpokeSummary_SpokeTypeCount) Descriptor

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

Deprecated: Use SpokeSummary_SpokeTypeCount.ProtoReflect.Descriptor instead.

func (*SpokeSummary_SpokeTypeCount) GetCount

func (x *SpokeSummary_SpokeTypeCount) GetCount() int64

func (*SpokeSummary_SpokeTypeCount) GetSpokeType

func (x *SpokeSummary_SpokeTypeCount) GetSpokeType() SpokeType

func (*SpokeSummary_SpokeTypeCount) ProtoMessage

func (*SpokeSummary_SpokeTypeCount) ProtoMessage()

func (*SpokeSummary_SpokeTypeCount) ProtoReflect

func (*SpokeSummary_SpokeTypeCount) Reset

func (x *SpokeSummary_SpokeTypeCount) Reset()

func (*SpokeSummary_SpokeTypeCount) String

func (x *SpokeSummary_SpokeTypeCount) String() string

SpokeType

type SpokeType int32

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

SpokeType_SPOKE_TYPE_UNSPECIFIED, SpokeType_VPN_TUNNEL, SpokeType_INTERCONNECT_ATTACHMENT, SpokeType_ROUTER_APPLIANCE, SpokeType_VPC_NETWORK

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
)

func (SpokeType) Descriptor

func (SpokeType) Descriptor() protoreflect.EnumDescriptor

func (SpokeType) Enum

func (x SpokeType) Enum() *SpokeType

func (SpokeType) EnumDescriptor

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

Deprecated: Use SpokeType.Descriptor instead.

func (SpokeType) Number

func (x SpokeType) Number() protoreflect.EnumNumber

func (SpokeType) String

func (x SpokeType) String() string

func (SpokeType) Type

Spoke_StateReason

type Spoke_StateReason struct {

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

The reason a spoke is inactive.

func (*Spoke_StateReason) Descriptor

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

Deprecated: Use Spoke_StateReason.ProtoReflect.Descriptor instead.

func (*Spoke_StateReason) GetCode

func (*Spoke_StateReason) GetMessage

func (x *Spoke_StateReason) GetMessage() string

func (*Spoke_StateReason) GetUserDetails

func (x *Spoke_StateReason) GetUserDetails() string

func (*Spoke_StateReason) ProtoMessage

func (*Spoke_StateReason) ProtoMessage()

func (*Spoke_StateReason) ProtoReflect

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

func (*Spoke_StateReason) Reset

func (x *Spoke_StateReason) Reset()

func (*Spoke_StateReason) String

func (x *Spoke_StateReason) String() string

Spoke_StateReason_Code

type Spoke_StateReason_Code int32

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

Spoke_StateReason_CODE_UNSPECIFIED, Spoke_StateReason_PENDING_REVIEW, Spoke_StateReason_REJECTED, Spoke_StateReason_PAUSED, Spoke_StateReason_FAILED

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

func (Spoke_StateReason_Code) Descriptor

func (Spoke_StateReason_Code) Enum

func (Spoke_StateReason_Code) EnumDescriptor

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

Deprecated: Use Spoke_StateReason_Code.Descriptor instead.

func (Spoke_StateReason_Code) Number

func (Spoke_StateReason_Code) String

func (x Spoke_StateReason_Code) String() string

func (Spoke_StateReason_Code) Type

State

type State int32

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

State_STATE_UNSPECIFIED, State_CREATING, State_ACTIVE, State_DELETING, State_ACCEPTING, State_REJECTING, State_UPDATING, State_INACTIVE, State_OBSOLETE

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

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor

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

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

UnimplementedHubServiceServer

type UnimplementedHubServiceServer struct {
}

UnimplementedHubServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedHubServiceServer) AcceptHubSpoke

func (*UnimplementedHubServiceServer) CreateHub

func (*UnimplementedHubServiceServer) CreateSpoke

func (*UnimplementedHubServiceServer) DeleteHub

func (*UnimplementedHubServiceServer) DeleteSpoke

func (*UnimplementedHubServiceServer) GetGroup

func (*UnimplementedHubServiceServer) GetHub

func (*UnimplementedHubServiceServer) GetRoute

func (*UnimplementedHubServiceServer) GetRouteTable

func (*UnimplementedHubServiceServer) GetSpoke

func (*UnimplementedHubServiceServer) ListGroups

func (*UnimplementedHubServiceServer) ListHubSpokes

func (*UnimplementedHubServiceServer) ListHubs

func (*UnimplementedHubServiceServer) ListRouteTables

func (*UnimplementedHubServiceServer) ListRoutes

func (*UnimplementedHubServiceServer) ListSpokes

func (*UnimplementedHubServiceServer) RejectHubSpoke

func (*UnimplementedHubServiceServer) UpdateHub

func (*UnimplementedHubServiceServer) UpdateSpoke

UnimplementedPolicyBasedRoutingServiceServer

type UnimplementedPolicyBasedRoutingServiceServer struct {
}

UnimplementedPolicyBasedRoutingServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedPolicyBasedRoutingServiceServer) CreatePolicyBasedRoute

func (*UnimplementedPolicyBasedRoutingServiceServer) DeletePolicyBasedRoute

func (*UnimplementedPolicyBasedRoutingServiceServer) GetPolicyBasedRoute

func (*UnimplementedPolicyBasedRoutingServiceServer) ListPolicyBasedRoutes

UpdateHubRequest

type UpdateHubRequest struct {

	// Optional. In the case of an update to an existing hub, field mask is used
	// to specify the fields to be overwritten. The fields specified in the
	// update_mask are relative to the resource, not the full request. A field is
	// overwritten if it is in the mask. If the user does not provide a mask, then
	// all fields are overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The state that the hub should be in after the update.
	Hub *Hub `protobuf:"bytes,2,opt,name=hub,proto3" json:"hub,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly creating duplicate commitments.
	//
	// The request ID must be a valid UUID, with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*UpdateHubRequest) Descriptor

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

Deprecated: Use UpdateHubRequest.ProtoReflect.Descriptor instead.

func (*UpdateHubRequest) GetHub

func (x *UpdateHubRequest) GetHub() *Hub

func (*UpdateHubRequest) GetRequestId

func (x *UpdateHubRequest) GetRequestId() string

func (*UpdateHubRequest) GetUpdateMask

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

func (*UpdateHubRequest) ProtoMessage

func (*UpdateHubRequest) ProtoMessage()

func (*UpdateHubRequest) ProtoReflect

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

func (*UpdateHubRequest) Reset

func (x *UpdateHubRequest) Reset()

func (*UpdateHubRequest) String

func (x *UpdateHubRequest) String() string

UpdateSpokeRequest

type UpdateSpokeRequest struct {

	// Optional. In the case of an update to an existing spoke, field mask is used
	// to specify the fields to be overwritten. The fields specified in the
	// update_mask are relative to the resource, not the full request. A field is
	// overwritten if it is in the mask. If the user does not provide a mask, then
	// all fields are overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The state that the spoke should be in after the update.
	Spoke *Spoke `protobuf:"bytes,2,opt,name=spoke,proto3" json:"spoke,omitempty"`
	// Optional. A request ID to identify requests. Specify a unique request ID so
	// that if you must retry your request, the server knows to ignore the request
	// if it has already been completed. The server guarantees that a request
	// doesn't result in creation of duplicate commitments for at least 60
	// minutes.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check to see whether the original operation
	// was received. If it was, the server ignores the second request. This
	// behavior prevents clients from mistakenly creating duplicate commitments.
	//
	// The request ID must be a valid UUID, with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*UpdateSpokeRequest) Descriptor

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

Deprecated: Use UpdateSpokeRequest.ProtoReflect.Descriptor instead.

func (*UpdateSpokeRequest) GetRequestId

func (x *UpdateSpokeRequest) GetRequestId() string

func (*UpdateSpokeRequest) GetSpoke

func (x *UpdateSpokeRequest) GetSpoke() *Spoke

func (*UpdateSpokeRequest) GetUpdateMask

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

func (*UpdateSpokeRequest) ProtoMessage

func (*UpdateSpokeRequest) ProtoMessage()

func (*UpdateSpokeRequest) ProtoReflect

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

func (*UpdateSpokeRequest) Reset

func (x *UpdateSpokeRequest) Reset()

func (*UpdateSpokeRequest) String

func (x *UpdateSpokeRequest) String() string