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

package networkconnectivitypb

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

Index

Variables

var (
	Infrastructure_name = map[int32]string{
		0: "INFRASTRUCTURE_UNSPECIFIED",
		1: "PSC",
	}
	Infrastructure_value = map[string]int32{
		"INFRASTRUCTURE_UNSPECIFIED": 0,
		"PSC":                        1,
	}
)

Enum value maps for Infrastructure.

var (
	ConnectionErrorType_name = map[int32]string{
		0: "CONNECTION_ERROR_TYPE_UNSPECIFIED",
		1: "ERROR_INTERNAL",
		2: "ERROR_CONSUMER_SIDE",
		3: "ERROR_PRODUCER_SIDE",
	}
	ConnectionErrorType_value = map[string]int32{
		"CONNECTION_ERROR_TYPE_UNSPECIFIED": 0,
		"ERROR_INTERNAL":                    1,
		"ERROR_CONSUMER_SIDE":               2,
		"ERROR_PRODUCER_SIDE":               3,
	}
)

Enum value maps for ConnectionErrorType.

var (
	IPVersion_name = map[int32]string{
		0: "IP_VERSION_UNSPECIFIED",
		1: "IPV4",
		2: "IPV6",
	}
	IPVersion_value = map[string]int32{
		"IP_VERSION_UNSPECIFIED": 0,
		"IPV4":                   1,
		"IPV6":                   2,
	}
)

Enum value maps for IPVersion.

var (
	ServiceConnectionMap_ConsumerPscConfig_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "VALID",
		2: "CONNECTION_POLICY_MISSING",
		3: "POLICY_LIMIT_REACHED",
		4: "CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED",
	}
	ServiceConnectionMap_ConsumerPscConfig_State_value = map[string]int32{
		"STATE_UNSPECIFIED":         0,
		"VALID":                     1,
		"CONNECTION_POLICY_MISSING": 2,
		"POLICY_LIMIT_REACHED":      3,
		"CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED": 4,
	}
)

Enum value maps for ServiceConnectionMap_ConsumerPscConfig_State.

var (
	ServiceConnectionMap_ConsumerPscConnection_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "FAILED",
		3: "CREATING",
		4: "DELETING",
		5: "CREATE_REPAIRING",
		6: "DELETE_REPAIRING",
	}
	ServiceConnectionMap_ConsumerPscConnection_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTIVE":            1,
		"FAILED":            2,
		"CREATING":          3,
		"DELETING":          4,
		"CREATE_REPAIRING":  5,
		"DELETE_REPAIRING":  6,
	}
)

Enum value maps for ServiceConnectionMap_ConsumerPscConnection_State.

var (
	ServiceConnectionPolicy_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "FAILED",
		3: "CREATING",
		4: "DELETING",
		5: "CREATE_REPAIRING",
		6: "DELETE_REPAIRING",
	}
	ServiceConnectionPolicy_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTIVE":            1,
		"FAILED":            2,
		"CREATING":          3,
		"DELETING":          4,
		"CREATE_REPAIRING":  5,
		"DELETE_REPAIRING":  6,
	}
)

Enum value maps for ServiceConnectionPolicy_State.

var (
	ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation_name = map[int32]string{
		0: "PRODUCER_INSTANCE_LOCATION_UNSPECIFIED",
		1: "CUSTOM_RESOURCE_HIERARCHY_LEVELS",
	}
	ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation_value = map[string]int32{
		"PRODUCER_INSTANCE_LOCATION_UNSPECIFIED": 0,
		"CUSTOM_RESOURCE_HIERARCHY_LEVELS":       1,
	}
)

Enum value maps for ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation.

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

Enum value maps for LocationFeature.

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

Enum value maps for RouteType.

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

Enum value maps for State.

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

Enum value maps for SpokeType.

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

Enum value maps for PolicyMode.

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

Enum value maps for PresetTopology.

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

Enum value maps for Spoke_StateReason_Code.

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

Enum value maps for ListHubSpokesRequest_SpokeView.

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

Enum value maps for PscPropagationStatus_Code.

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

Enum value maps for PolicyBasedRoute_OtherRoutes.

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

Enum value maps for PolicyBasedRoute_Filter_ProtocolVersion.

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

Enum value maps for PolicyBasedRoute_Warnings_Code.

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

Functions

func RegisterCrossNetworkAutomationServiceServer

func RegisterCrossNetworkAutomationServiceServer(s *grpc.Server, srv CrossNetworkAutomationServiceServer)

func RegisterHubServiceServer

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

func RegisterPolicyBasedRoutingServiceServer

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

Types

type AcceptHubSpokeRequest

type AcceptHubSpokeRequest struct {

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

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

func (*AcceptHubSpokeRequest) Descriptor

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

Deprecated: Use AcceptHubSpokeRequest.ProtoReflect.Descriptor instead.

func (*AcceptHubSpokeRequest) GetName

func (x *AcceptHubSpokeRequest) GetName() string

func (*AcceptHubSpokeRequest) GetRequestId

func (x *AcceptHubSpokeRequest) GetRequestId() string

func (*AcceptHubSpokeRequest) GetSpokeUri

func (x *AcceptHubSpokeRequest) GetSpokeUri() string

func (*AcceptHubSpokeRequest) ProtoMessage

func (*AcceptHubSpokeRequest) ProtoMessage()

func (*AcceptHubSpokeRequest) ProtoReflect

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

func (*AcceptHubSpokeRequest) Reset

func (x *AcceptHubSpokeRequest) Reset()

func (*AcceptHubSpokeRequest) String

func (x *AcceptHubSpokeRequest) String() string

type AcceptHubSpokeResponse

type AcceptHubSpokeResponse struct {

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

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

func (*AcceptHubSpokeResponse) Descriptor

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

Deprecated: Use AcceptHubSpokeResponse.ProtoReflect.Descriptor instead.

func (*AcceptHubSpokeResponse) GetSpoke

func (x *AcceptHubSpokeResponse) GetSpoke() *Spoke

func (*AcceptHubSpokeResponse) ProtoMessage

func (*AcceptHubSpokeResponse) ProtoMessage()

func (*AcceptHubSpokeResponse) ProtoReflect

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

func (*AcceptHubSpokeResponse) Reset

func (x *AcceptHubSpokeResponse) Reset()

func (*AcceptHubSpokeResponse) String

func (x *AcceptHubSpokeResponse) String() string

type AcceptSpokeUpdateRequest

type AcceptSpokeUpdateRequest struct {

	// Required. The name of the hub to accept spoke update.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The URI of the spoke to accept update.
	SpokeUri string `protobuf:"bytes,2,opt,name=spoke_uri,json=spokeUri,proto3" json:"spoke_uri,omitempty"`
	// Required. The etag of the spoke to accept update.
	SpokeEtag string `protobuf:"bytes,3,opt,name=spoke_etag,json=spokeEtag,proto3" json:"spoke_etag,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.AcceptSpokeUpdate][google.cloud.networkconnectivity.v1.HubService.AcceptSpokeUpdate].

func (*AcceptSpokeUpdateRequest) Descriptor

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

Deprecated: Use AcceptSpokeUpdateRequest.ProtoReflect.Descriptor instead.

func (*AcceptSpokeUpdateRequest) GetName

func (x *AcceptSpokeUpdateRequest) GetName() string

func (*AcceptSpokeUpdateRequest) GetRequestId

func (x *AcceptSpokeUpdateRequest) GetRequestId() string

func (*AcceptSpokeUpdateRequest) GetSpokeEtag

func (x *AcceptSpokeUpdateRequest) GetSpokeEtag() string

func (*AcceptSpokeUpdateRequest) GetSpokeUri

func (x *AcceptSpokeUpdateRequest) GetSpokeUri() string

func (*AcceptSpokeUpdateRequest) ProtoMessage

func (*AcceptSpokeUpdateRequest) ProtoMessage()

func (*AcceptSpokeUpdateRequest) ProtoReflect

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

func (*AcceptSpokeUpdateRequest) Reset

func (x *AcceptSpokeUpdateRequest) Reset()

func (*AcceptSpokeUpdateRequest) String

func (x *AcceptSpokeUpdateRequest) String() string

type AcceptSpokeUpdateResponse

type AcceptSpokeUpdateResponse 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.AcceptSpokeUpdate][google.cloud.networkconnectivity.v1.HubService.AcceptSpokeUpdate].

func (*AcceptSpokeUpdateResponse) Descriptor

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

Deprecated: Use AcceptSpokeUpdateResponse.ProtoReflect.Descriptor instead.

func (*AcceptSpokeUpdateResponse) GetSpoke

func (x *AcceptSpokeUpdateResponse) GetSpoke() *Spoke

func (*AcceptSpokeUpdateResponse) ProtoMessage

func (*AcceptSpokeUpdateResponse) ProtoMessage()

func (*AcceptSpokeUpdateResponse) ProtoReflect

func (*AcceptSpokeUpdateResponse) Reset

func (x *AcceptSpokeUpdateResponse) Reset()

func (*AcceptSpokeUpdateResponse) String

func (x *AcceptSpokeUpdateResponse) String() string

type AutoAccept

type AutoAccept struct {

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

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

func (*AutoAccept) Descriptor

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

Deprecated: Use AutoAccept.ProtoReflect.Descriptor instead.

func (*AutoAccept) GetAutoAcceptProjects

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

func (*AutoAccept) ProtoMessage

func (*AutoAccept) ProtoMessage()

func (*AutoAccept) ProtoReflect

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

func (*AutoAccept) Reset

func (x *AutoAccept) Reset()

func (*AutoAccept) String

func (x *AutoAccept) String() string

type ConnectionErrorType

type ConnectionErrorType int32

The error type indicates whether a connection error is consumer facing, producer facing or system internal.

const (
	// An invalid error type as the default case.
	ConnectionErrorType_CONNECTION_ERROR_TYPE_UNSPECIFIED ConnectionErrorType = 0
	// The error is due to Service Automation system internal.
	ConnectionErrorType_ERROR_INTERNAL ConnectionErrorType = 1
	// The error is due to the setup on consumer side.
	ConnectionErrorType_ERROR_CONSUMER_SIDE ConnectionErrorType = 2
	// The error is due to the setup on producer side.
	ConnectionErrorType_ERROR_PRODUCER_SIDE ConnectionErrorType = 3
)

func (ConnectionErrorType) Descriptor

func (ConnectionErrorType) Enum

func (ConnectionErrorType) EnumDescriptor

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

Deprecated: Use ConnectionErrorType.Descriptor instead.

func (ConnectionErrorType) Number

func (ConnectionErrorType) String

func (x ConnectionErrorType) String() string

func (ConnectionErrorType) Type

type CreateHubRequest

type CreateHubRequest struct {

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

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

func (*CreateHubRequest) Descriptor

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

Deprecated: Use CreateHubRequest.ProtoReflect.Descriptor instead.

func (*CreateHubRequest) GetHub

func (x *CreateHubRequest) GetHub() *Hub

func (*CreateHubRequest) GetHubId

func (x *CreateHubRequest) GetHubId() string

func (*CreateHubRequest) GetParent

func (x *CreateHubRequest) GetParent() string

func (*CreateHubRequest) GetRequestId

func (x *CreateHubRequest) GetRequestId() string

func (*CreateHubRequest) ProtoMessage

func (*CreateHubRequest) ProtoMessage()

func (*CreateHubRequest) ProtoReflect

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

func (*CreateHubRequest) Reset

func (x *CreateHubRequest) Reset()

func (*CreateHubRequest) String

func (x *CreateHubRequest) String() string

type CreatePolicyBasedRouteRequest

type CreatePolicyBasedRouteRequest struct {

	// Required. The parent resource's name of the PolicyBasedRoute.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Unique id for the policy-based route to create. Provided by the
	// client when the resource is created. The name must comply with
	// https://google.aip.dev/122#resource-id-segments. Specifically, the name
	// must be 1-63 characters long and match the regular expression
	// [a-z]([a-z0-9-]*[a-z0-9])?. The first character must be a lowercase letter,
	// and all following characters (except for the last character) must be a
	// dash, lowercase letter, or digit. The last character must be a lowercase
	// letter or digit.
	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 knows to
	// ignore the request if it has already been completed. The server guarantees
	// 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, ignores 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 [PolicyBasedRoutingService.CreatePolicyBasedRoute][google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.CreatePolicyBasedRoute] method.

func (*CreatePolicyBasedRouteRequest) Descriptor

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

Deprecated: Use CreatePolicyBasedRouteRequest.ProtoReflect.Descriptor instead.

func (*CreatePolicyBasedRouteRequest) GetParent

func (x *CreatePolicyBasedRouteRequest) GetParent() string

func (*CreatePolicyBasedRouteRequest) GetPolicyBasedRoute

func (x *CreatePolicyBasedRouteRequest) GetPolicyBasedRoute() *PolicyBasedRoute

func (*CreatePolicyBasedRouteRequest) GetPolicyBasedRouteId

func (x *CreatePolicyBasedRouteRequest) GetPolicyBasedRouteId() string

func (*CreatePolicyBasedRouteRequest) GetRequestId

func (x *CreatePolicyBasedRouteRequest) GetRequestId() string

func (*CreatePolicyBasedRouteRequest) ProtoMessage

func (*CreatePolicyBasedRouteRequest) ProtoMessage()

func (*CreatePolicyBasedRouteRequest) ProtoReflect

func (*CreatePolicyBasedRouteRequest) Reset

func (x *CreatePolicyBasedRouteRequest) Reset()

func (*CreatePolicyBasedRouteRequest) String

type CreateServiceConnectionMapRequest

type CreateServiceConnectionMapRequest struct {

	// Required. The parent resource's name of the ServiceConnectionMap. ex.
	// projects/123/locations/us-east1
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Resource ID
	// (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo')
	// See https://google.aip.dev/122#resource-id-segments
	// Unique per location.
	// If one is not provided, one will be generated.
	ServiceConnectionMapId string `protobuf:"bytes,2,opt,name=service_connection_map_id,json=serviceConnectionMapId,proto3" json:"service_connection_map_id,omitempty"`
	// Required. Initial values for a new ServiceConnectionMaps
	ServiceConnectionMap *ServiceConnectionMap `protobuf:"bytes,3,opt,name=service_connection_map,json=serviceConnectionMap,proto3" json:"service_connection_map,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 CreateServiceConnectionMap.

func (*CreateServiceConnectionMapRequest) Descriptor

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

Deprecated: Use CreateServiceConnectionMapRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceConnectionMapRequest) GetParent

func (*CreateServiceConnectionMapRequest) GetRequestId

func (x *CreateServiceConnectionMapRequest) GetRequestId() string

func (*CreateServiceConnectionMapRequest) GetServiceConnectionMap

func (x *CreateServiceConnectionMapRequest) GetServiceConnectionMap() *ServiceConnectionMap

func (*CreateServiceConnectionMapRequest) GetServiceConnectionMapId

func (x *CreateServiceConnectionMapRequest) GetServiceConnectionMapId() string

func (*CreateServiceConnectionMapRequest) ProtoMessage

func (*CreateServiceConnectionMapRequest) ProtoMessage()

func (*CreateServiceConnectionMapRequest) ProtoReflect

func (*CreateServiceConnectionMapRequest) Reset

func (*CreateServiceConnectionMapRequest) String

type CreateServiceConnectionPolicyRequest

type CreateServiceConnectionPolicyRequest struct {

	// Required. The parent resource's name of the ServiceConnectionPolicy. ex.
	// projects/123/locations/us-east1
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Resource ID
	// (i.e. 'foo' in
	// '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See
	// https://google.aip.dev/122#resource-id-segments Unique per location.
	ServiceConnectionPolicyId string `protobuf:"bytes,2,opt,name=service_connection_policy_id,json=serviceConnectionPolicyId,proto3" json:"service_connection_policy_id,omitempty"`
	// Required. Initial values for a new ServiceConnectionPolicies
	ServiceConnectionPolicy *ServiceConnectionPolicy `protobuf:"bytes,3,opt,name=service_connection_policy,json=serviceConnectionPolicy,proto3" json:"service_connection_policy,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 CreateServiceConnectionPolicy.

func (*CreateServiceConnectionPolicyRequest) Descriptor

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

Deprecated: Use CreateServiceConnectionPolicyRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceConnectionPolicyRequest) GetParent

func (*CreateServiceConnectionPolicyRequest) GetRequestId

func (x *CreateServiceConnectionPolicyRequest) GetRequestId() string

func (*CreateServiceConnectionPolicyRequest) GetServiceConnectionPolicy

func (x *CreateServiceConnectionPolicyRequest) GetServiceConnectionPolicy() *ServiceConnectionPolicy

func (*CreateServiceConnectionPolicyRequest) GetServiceConnectionPolicyId

func (x *CreateServiceConnectionPolicyRequest) GetServiceConnectionPolicyId() string

func (*CreateServiceConnectionPolicyRequest) ProtoMessage

func (*CreateServiceConnectionPolicyRequest) ProtoMessage()

func (*CreateServiceConnectionPolicyRequest) ProtoReflect

func (*CreateServiceConnectionPolicyRequest) Reset

func (*CreateServiceConnectionPolicyRequest) String

type CreateServiceConnectionTokenRequest

type CreateServiceConnectionTokenRequest struct {

	// Required. The parent resource's name of the ServiceConnectionToken. ex.
	// projects/123/locations/us-east1
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Resource ID
	// (i.e. 'foo' in '[...]/projects/p/locations/l/ServiceConnectionTokens/foo')
	// See https://google.aip.dev/122#resource-id-segments
	// Unique per location.
	// If one is not provided, one will be generated.
	ServiceConnectionTokenId string `protobuf:"bytes,2,opt,name=service_connection_token_id,json=serviceConnectionTokenId,proto3" json:"service_connection_token_id,omitempty"`
	// Required. Initial values for a new ServiceConnectionTokens
	ServiceConnectionToken *ServiceConnectionToken `protobuf:"bytes,3,opt,name=service_connection_token,json=serviceConnectionToken,proto3" json:"service_connection_token,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 CreateServiceConnectionToken.

func (*CreateServiceConnectionTokenRequest) Descriptor

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

Deprecated: Use CreateServiceConnectionTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceConnectionTokenRequest) GetParent

func (*CreateServiceConnectionTokenRequest) GetRequestId

func (x *CreateServiceConnectionTokenRequest) GetRequestId() string

func (*CreateServiceConnectionTokenRequest) GetServiceConnectionToken

func (x *CreateServiceConnectionTokenRequest) GetServiceConnectionToken() *ServiceConnectionToken

func (*CreateServiceConnectionTokenRequest) GetServiceConnectionTokenId

func (x *CreateServiceConnectionTokenRequest) GetServiceConnectionTokenId() string

func (*CreateServiceConnectionTokenRequest) ProtoMessage

func (*CreateServiceConnectionTokenRequest) ProtoMessage()

func (*CreateServiceConnectionTokenRequest) ProtoReflect

func (*CreateServiceConnectionTokenRequest) Reset

func (*CreateServiceConnectionTokenRequest) String

type CreateSpokeRequest

type CreateSpokeRequest struct {

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

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

func (*CreateSpokeRequest) Descriptor

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

Deprecated: Use CreateSpokeRequest.ProtoReflect.Descriptor instead.

func (*CreateSpokeRequest) GetParent

func (x *CreateSpokeRequest) GetParent() string

func (*CreateSpokeRequest) GetRequestId

func (x *CreateSpokeRequest) GetRequestId() string

func (*CreateSpokeRequest) GetSpoke

func (x *CreateSpokeRequest) GetSpoke() *Spoke

func (*CreateSpokeRequest) GetSpokeId

func (x *CreateSpokeRequest) GetSpokeId() string

func (*CreateSpokeRequest) ProtoMessage

func (*CreateSpokeRequest) ProtoMessage()

func (*CreateSpokeRequest) ProtoReflect

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

func (*CreateSpokeRequest) Reset

func (x *CreateSpokeRequest) Reset()

func (*CreateSpokeRequest) String

func (x *CreateSpokeRequest) String() string

type CrossNetworkAutomationServiceClient

type CrossNetworkAutomationServiceClient interface {
	// Lists ServiceConnectionMaps in a given project and location.
	ListServiceConnectionMaps(ctx context.Context, in *ListServiceConnectionMapsRequest, opts ...grpc.CallOption) (*ListServiceConnectionMapsResponse, error)
	// Gets details of a single ServiceConnectionMap.
	GetServiceConnectionMap(ctx context.Context, in *GetServiceConnectionMapRequest, opts ...grpc.CallOption) (*ServiceConnectionMap, error)
	// Creates a new ServiceConnectionMap in a given project and location.
	CreateServiceConnectionMap(ctx context.Context, in *CreateServiceConnectionMapRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a single ServiceConnectionMap.
	UpdateServiceConnectionMap(ctx context.Context, in *UpdateServiceConnectionMapRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single ServiceConnectionMap.
	DeleteServiceConnectionMap(ctx context.Context, in *DeleteServiceConnectionMapRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists ServiceConnectionPolicies in a given project and location.
	ListServiceConnectionPolicies(ctx context.Context, in *ListServiceConnectionPoliciesRequest, opts ...grpc.CallOption) (*ListServiceConnectionPoliciesResponse, error)
	// Gets details of a single ServiceConnectionPolicy.
	GetServiceConnectionPolicy(ctx context.Context, in *GetServiceConnectionPolicyRequest, opts ...grpc.CallOption) (*ServiceConnectionPolicy, error)
	// Creates a new ServiceConnectionPolicy in a given project and location.
	CreateServiceConnectionPolicy(ctx context.Context, in *CreateServiceConnectionPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a single ServiceConnectionPolicy.
	UpdateServiceConnectionPolicy(ctx context.Context, in *UpdateServiceConnectionPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single ServiceConnectionPolicy.
	DeleteServiceConnectionPolicy(ctx context.Context, in *DeleteServiceConnectionPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists ServiceClasses in a given project and location.
	ListServiceClasses(ctx context.Context, in *ListServiceClassesRequest, opts ...grpc.CallOption) (*ListServiceClassesResponse, error)
	// Gets details of a single ServiceClass.
	GetServiceClass(ctx context.Context, in *GetServiceClassRequest, opts ...grpc.CallOption) (*ServiceClass, error)
	// Updates the parameters of a single ServiceClass.
	UpdateServiceClass(ctx context.Context, in *UpdateServiceClassRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single ServiceClass.
	DeleteServiceClass(ctx context.Context, in *DeleteServiceClassRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets details of a single ServiceConnectionToken.
	GetServiceConnectionToken(ctx context.Context, in *GetServiceConnectionTokenRequest, opts ...grpc.CallOption) (*ServiceConnectionToken, error)
	// Lists ServiceConnectionTokens in a given project and location.
	ListServiceConnectionTokens(ctx context.Context, in *ListServiceConnectionTokensRequest, opts ...grpc.CallOption) (*ListServiceConnectionTokensResponse, error)
	// Creates a new ServiceConnectionToken in a given project and location.
	CreateServiceConnectionToken(ctx context.Context, in *CreateServiceConnectionTokenRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single ServiceConnectionToken.
	DeleteServiceConnectionToken(ctx context.Context, in *DeleteServiceConnectionTokenRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

CrossNetworkAutomationServiceClient is the client API for CrossNetworkAutomationService service.

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

func NewCrossNetworkAutomationServiceClient

func NewCrossNetworkAutomationServiceClient(cc grpc.ClientConnInterface) CrossNetworkAutomationServiceClient

type CrossNetworkAutomationServiceServer

type CrossNetworkAutomationServiceServer interface {
	// Lists ServiceConnectionMaps in a given project and location.
	ListServiceConnectionMaps(context.Context, *ListServiceConnectionMapsRequest) (*ListServiceConnectionMapsResponse, error)
	// Gets details of a single ServiceConnectionMap.
	GetServiceConnectionMap(context.Context, *GetServiceConnectionMapRequest) (*ServiceConnectionMap, error)
	// Creates a new ServiceConnectionMap in a given project and location.
	CreateServiceConnectionMap(context.Context, *CreateServiceConnectionMapRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a single ServiceConnectionMap.
	UpdateServiceConnectionMap(context.Context, *UpdateServiceConnectionMapRequest) (*longrunningpb.Operation, error)
	// Deletes a single ServiceConnectionMap.
	DeleteServiceConnectionMap(context.Context, *DeleteServiceConnectionMapRequest) (*longrunningpb.Operation, error)
	// Lists ServiceConnectionPolicies in a given project and location.
	ListServiceConnectionPolicies(context.Context, *ListServiceConnectionPoliciesRequest) (*ListServiceConnectionPoliciesResponse, error)
	// Gets details of a single ServiceConnectionPolicy.
	GetServiceConnectionPolicy(context.Context, *GetServiceConnectionPolicyRequest) (*ServiceConnectionPolicy, error)
	// Creates a new ServiceConnectionPolicy in a given project and location.
	CreateServiceConnectionPolicy(context.Context, *CreateServiceConnectionPolicyRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a single ServiceConnectionPolicy.
	UpdateServiceConnectionPolicy(context.Context, *UpdateServiceConnectionPolicyRequest) (*longrunningpb.Operation, error)
	// Deletes a single ServiceConnectionPolicy.
	DeleteServiceConnectionPolicy(context.Context, *DeleteServiceConnectionPolicyRequest) (*longrunningpb.Operation, error)
	// Lists ServiceClasses in a given project and location.
	ListServiceClasses(context.Context, *ListServiceClassesRequest) (*ListServiceClassesResponse, error)
	// Gets details of a single ServiceClass.
	GetServiceClass(context.Context, *GetServiceClassRequest) (*ServiceClass, error)
	// Updates the parameters of a single ServiceClass.
	UpdateServiceClass(context.Context, *UpdateServiceClassRequest) (*longrunningpb.Operation, error)
	// Deletes a single ServiceClass.
	DeleteServiceClass(context.Context, *DeleteServiceClassRequest) (*longrunningpb.Operation, error)
	// Gets details of a single ServiceConnectionToken.
	GetServiceConnectionToken(context.Context, *GetServiceConnectionTokenRequest) (*ServiceConnectionToken, error)
	// Lists ServiceConnectionTokens in a given project and location.
	ListServiceConnectionTokens(context.Context, *ListServiceConnectionTokensRequest) (*ListServiceConnectionTokensResponse, error)
	// Creates a new ServiceConnectionToken in a given project and location.
	CreateServiceConnectionToken(context.Context, *CreateServiceConnectionTokenRequest) (*longrunningpb.Operation, error)
	// Deletes a single ServiceConnectionToken.
	DeleteServiceConnectionToken(context.Context, *DeleteServiceConnectionTokenRequest) (*longrunningpb.Operation, error)
}

CrossNetworkAutomationServiceServer is the server API for CrossNetworkAutomationService service.

type DeleteHubRequest

type DeleteHubRequest struct {

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

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

func (*DeleteHubRequest) Descriptor

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

Deprecated: Use DeleteHubRequest.ProtoReflect.Descriptor instead.

func (*DeleteHubRequest) GetName

func (x *DeleteHubRequest) GetName() string

func (*DeleteHubRequest) GetRequestId

func (x *DeleteHubRequest) GetRequestId() string

func (*DeleteHubRequest) ProtoMessage

func (*DeleteHubRequest) ProtoMessage()

func (*DeleteHubRequest) ProtoReflect

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

func (*DeleteHubRequest) Reset

func (x *DeleteHubRequest) Reset()

func (*DeleteHubRequest) String

func (x *DeleteHubRequest) String() string

type DeletePolicyBasedRouteRequest

type DeletePolicyBasedRouteRequest struct {

	// Required. Name of the policy-based route 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 knows to
	// ignore the request if it has already been completed. The server guarantees
	// 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, ignores 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 [PolicyBasedRoutingService.DeletePolicyBasedRoute][google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.DeletePolicyBasedRoute] method.

func (*DeletePolicyBasedRouteRequest) Descriptor

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

Deprecated: Use DeletePolicyBasedRouteRequest.ProtoReflect.Descriptor instead.

func (*DeletePolicyBasedRouteRequest) GetName

func (*DeletePolicyBasedRouteRequest) GetRequestId

func (x *DeletePolicyBasedRouteRequest) GetRequestId() string

func (*DeletePolicyBasedRouteRequest) ProtoMessage

func (*DeletePolicyBasedRouteRequest) ProtoMessage()

func (*DeletePolicyBasedRouteRequest) ProtoReflect

func (*DeletePolicyBasedRouteRequest) Reset

func (x *DeletePolicyBasedRouteRequest) Reset()

func (*DeletePolicyBasedRouteRequest) String

type DeleteServiceClassRequest

type DeleteServiceClassRequest struct {

	// Required. The name of the ServiceClass 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"`
	// Optional. The etag is computed by the server, and may be sent on update and
	// delete requests to ensure the client has an up-to-date value before
	// proceeding.
	Etag *string `protobuf:"bytes,3,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Request for DeleteServiceClass.

func (*DeleteServiceClassRequest) Descriptor

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

Deprecated: Use DeleteServiceClassRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceClassRequest) GetEtag

func (x *DeleteServiceClassRequest) GetEtag() string

func (*DeleteServiceClassRequest) GetName

func (x *DeleteServiceClassRequest) GetName() string

func (*DeleteServiceClassRequest) GetRequestId

func (x *DeleteServiceClassRequest) GetRequestId() string

func (*DeleteServiceClassRequest) ProtoMessage

func (*DeleteServiceClassRequest) ProtoMessage()

func (*DeleteServiceClassRequest) ProtoReflect

func (*DeleteServiceClassRequest) Reset

func (x *DeleteServiceClassRequest) Reset()

func (*DeleteServiceClassRequest) String

func (x *DeleteServiceClassRequest) String() string

type DeleteServiceConnectionMapRequest

type DeleteServiceConnectionMapRequest struct {

	// Required. The name of the ServiceConnectionMap 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"`
	// Optional. The etag is computed by the server, and may be sent on update and
	// delete requests to ensure the client has an up-to-date value before
	// proceeding.
	Etag *string `protobuf:"bytes,3,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Request for DeleteServiceConnectionMap.

func (*DeleteServiceConnectionMapRequest) Descriptor

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

Deprecated: Use DeleteServiceConnectionMapRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceConnectionMapRequest) GetEtag

func (*DeleteServiceConnectionMapRequest) GetName

func (*DeleteServiceConnectionMapRequest) GetRequestId

func (x *DeleteServiceConnectionMapRequest) GetRequestId() string

func (*DeleteServiceConnectionMapRequest) ProtoMessage

func (*DeleteServiceConnectionMapRequest) ProtoMessage()

func (*DeleteServiceConnectionMapRequest) ProtoReflect

func (*DeleteServiceConnectionMapRequest) Reset

func (*DeleteServiceConnectionMapRequest) String

type DeleteServiceConnectionPolicyRequest

type DeleteServiceConnectionPolicyRequest struct {

	// Required. The name of the ServiceConnectionPolicy 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"`
	// Optional. The etag is computed by the server, and may be sent on update and
	// delete requests to ensure the client has an up-to-date value before
	// proceeding.
	Etag *string `protobuf:"bytes,3,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Request for DeleteServiceConnectionPolicy.

func (*DeleteServiceConnectionPolicyRequest) Descriptor

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

Deprecated: Use DeleteServiceConnectionPolicyRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceConnectionPolicyRequest) GetEtag

func (*DeleteServiceConnectionPolicyRequest) GetName

func (*DeleteServiceConnectionPolicyRequest) GetRequestId

func (x *DeleteServiceConnectionPolicyRequest) GetRequestId() string

func (*DeleteServiceConnectionPolicyRequest) ProtoMessage

func (*DeleteServiceConnectionPolicyRequest) ProtoMessage()

func (*DeleteServiceConnectionPolicyRequest) ProtoReflect

func (*DeleteServiceConnectionPolicyRequest) Reset

func (*DeleteServiceConnectionPolicyRequest) String

type DeleteServiceConnectionTokenRequest

type DeleteServiceConnectionTokenRequest struct {

	// Required. The name of the ServiceConnectionToken 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"`
	// Optional. The etag is computed by the server, and may be sent on update and
	// delete requests to ensure the client has an up-to-date value before
	// proceeding.
	Etag *string `protobuf:"bytes,3,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Request for DeleteServiceConnectionToken.

func (*DeleteServiceConnectionTokenRequest) Descriptor

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

Deprecated: Use DeleteServiceConnectionTokenRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceConnectionTokenRequest) GetEtag

func (*DeleteServiceConnectionTokenRequest) GetName

func (*DeleteServiceConnectionTokenRequest) GetRequestId

func (x *DeleteServiceConnectionTokenRequest) GetRequestId() string

func (*DeleteServiceConnectionTokenRequest) ProtoMessage

func (*DeleteServiceConnectionTokenRequest) ProtoMessage()

func (*DeleteServiceConnectionTokenRequest) ProtoReflect

func (*DeleteServiceConnectionTokenRequest) Reset

func (*DeleteServiceConnectionTokenRequest) String

type DeleteSpokeRequest

type DeleteSpokeRequest struct {

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

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

func (*DeleteSpokeRequest) Descriptor

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

Deprecated: Use DeleteSpokeRequest.ProtoReflect.Descriptor instead.

func (*DeleteSpokeRequest) GetName

func (x *DeleteSpokeRequest) GetName() string

func (*DeleteSpokeRequest) GetRequestId

func (x *DeleteSpokeRequest) GetRequestId() string

func (*DeleteSpokeRequest) ProtoMessage

func (*DeleteSpokeRequest) ProtoMessage()

func (*DeleteSpokeRequest) ProtoReflect

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

func (*DeleteSpokeRequest) Reset

func (x *DeleteSpokeRequest) Reset()

func (*DeleteSpokeRequest) String

func (x *DeleteSpokeRequest) String() string

type GetGroupRequest

type GetGroupRequest struct {

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

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

func (*GetGroupRequest) Descriptor

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

Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRequest) GetName

func (x *GetGroupRequest) GetName() string

func (*GetGroupRequest) ProtoMessage

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) ProtoReflect

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

func (*GetGroupRequest) Reset

func (x *GetGroupRequest) Reset()

func (*GetGroupRequest) String

func (x *GetGroupRequest) String() string

type GetHubRequest

type GetHubRequest struct {

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

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

func (*GetHubRequest) Descriptor

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

Deprecated: Use GetHubRequest.ProtoReflect.Descriptor instead.

func (*GetHubRequest) GetName

func (x *GetHubRequest) GetName() string

func (*GetHubRequest) ProtoMessage

func (*GetHubRequest) ProtoMessage()

func (*GetHubRequest) ProtoReflect

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

func (*GetHubRequest) Reset

func (x *GetHubRequest) Reset()

func (*GetHubRequest) String

func (x *GetHubRequest) String() string

type GetPolicyBasedRouteRequest

type GetPolicyBasedRouteRequest struct {

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

Request for [PolicyBasedRoutingService.GetPolicyBasedRoute][google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.GetPolicyBasedRoute] method.

func (*GetPolicyBasedRouteRequest) Descriptor

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

Deprecated: Use GetPolicyBasedRouteRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyBasedRouteRequest) GetName

func (x *GetPolicyBasedRouteRequest) GetName() string

func (*GetPolicyBasedRouteRequest) ProtoMessage

func (*GetPolicyBasedRouteRequest) ProtoMessage()

func (*GetPolicyBasedRouteRequest) ProtoReflect

func (*GetPolicyBasedRouteRequest) Reset

func (x *GetPolicyBasedRouteRequest) Reset()

func (*GetPolicyBasedRouteRequest) String

func (x *GetPolicyBasedRouteRequest) String() string

type GetRouteRequest

type GetRouteRequest struct {

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

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

func (*GetRouteRequest) Descriptor

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

Deprecated: Use GetRouteRequest.ProtoReflect.Descriptor instead.

func (*GetRouteRequest) GetName

func (x *GetRouteRequest) GetName() string

func (*GetRouteRequest) ProtoMessage

func (*GetRouteRequest) ProtoMessage()

func (*GetRouteRequest) ProtoReflect

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

func (*GetRouteRequest) Reset

func (x *GetRouteRequest) Reset()

func (*GetRouteRequest) String

func (x *GetRouteRequest) String() string

type GetRouteTableRequest

type GetRouteTableRequest struct {

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

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

func (*GetRouteTableRequest) Descriptor

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

Deprecated: Use GetRouteTableRequest.ProtoReflect.Descriptor instead.

func (*GetRouteTableRequest) GetName

func (x *GetRouteTableRequest) GetName() string

func (*GetRouteTableRequest) ProtoMessage

func (*GetRouteTableRequest) ProtoMessage()

func (*GetRouteTableRequest) ProtoReflect

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

func (*GetRouteTableRequest) Reset

func (x *GetRouteTableRequest) Reset()

func (*GetRouteTableRequest) String

func (x *GetRouteTableRequest) String() string

type GetServiceClassRequest

type GetServiceClassRequest struct {

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

Request for GetServiceClass.

func (*GetServiceClassRequest) Descriptor

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

Deprecated: Use GetServiceClassRequest.ProtoReflect.Descriptor instead.

func (*GetServiceClassRequest) GetName

func (x *GetServiceClassRequest) GetName() string

func (*GetServiceClassRequest) ProtoMessage

func (*GetServiceClassRequest) ProtoMessage()

func (*GetServiceClassRequest) ProtoReflect

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

func (*GetServiceClassRequest) Reset

func (x *GetServiceClassRequest) Reset()

func (*GetServiceClassRequest) String

func (x *GetServiceClassRequest) String() string

type GetServiceConnectionMapRequest

type GetServiceConnectionMapRequest struct {

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

Request for GetServiceConnectionMap.

func (*GetServiceConnectionMapRequest) Descriptor

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

Deprecated: Use GetServiceConnectionMapRequest.ProtoReflect.Descriptor instead.

func (*GetServiceConnectionMapRequest) GetName

func (*GetServiceConnectionMapRequest) ProtoMessage

func (*GetServiceConnectionMapRequest) ProtoMessage()

func (*GetServiceConnectionMapRequest) ProtoReflect

func (*GetServiceConnectionMapRequest) Reset

func (x *GetServiceConnectionMapRequest) Reset()

func (*GetServiceConnectionMapRequest) String

type GetServiceConnectionPolicyRequest

type GetServiceConnectionPolicyRequest struct {

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

Request for GetServiceConnectionPolicy.

func (*GetServiceConnectionPolicyRequest) Descriptor

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

Deprecated: Use GetServiceConnectionPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetServiceConnectionPolicyRequest) GetName

func (*GetServiceConnectionPolicyRequest) ProtoMessage

func (*GetServiceConnectionPolicyRequest) ProtoMessage()

func (*GetServiceConnectionPolicyRequest) ProtoReflect

func (*GetServiceConnectionPolicyRequest) Reset

func (*GetServiceConnectionPolicyRequest) String

type GetServiceConnectionTokenRequest

type GetServiceConnectionTokenRequest struct {

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

Request for GetServiceConnectionToken.

func (*GetServiceConnectionTokenRequest) Descriptor

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

Deprecated: Use GetServiceConnectionTokenRequest.ProtoReflect.Descriptor instead.

func (*GetServiceConnectionTokenRequest) GetName

func (*GetServiceConnectionTokenRequest) ProtoMessage

func (*GetServiceConnectionTokenRequest) ProtoMessage()

func (*GetServiceConnectionTokenRequest) ProtoReflect

func (*GetServiceConnectionTokenRequest) Reset

func (*GetServiceConnectionTokenRequest) String

type GetSpokeRequest

type GetSpokeRequest struct {

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

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

func (*GetSpokeRequest) Descriptor

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

Deprecated: Use GetSpokeRequest.ProtoReflect.Descriptor instead.

func (*GetSpokeRequest) GetName

func (x *GetSpokeRequest) GetName() string

func (*GetSpokeRequest) ProtoMessage

func (*GetSpokeRequest) ProtoMessage()

func (*GetSpokeRequest) ProtoReflect

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

func (*GetSpokeRequest) Reset

func (x *GetSpokeRequest) Reset()

func (*GetSpokeRequest) String

func (x *GetSpokeRequest) String() string

type Group

type Group struct {

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

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

func (*Group) Descriptor

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetAutoAccept

func (x *Group) GetAutoAccept() *AutoAccept

func (*Group) GetCreateTime

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

func (*Group) GetDescription

func (x *Group) GetDescription() string

func (*Group) GetLabels

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

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetRouteTable

func (x *Group) GetRouteTable() string

func (*Group) GetState

func (x *Group) GetState() State

func (*Group) GetUid

func (x *Group) GetUid() string

func (*Group) GetUpdateTime

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

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type Hub

type Hub struct {

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

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

func (*Hub) Descriptor

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

Deprecated: Use Hub.ProtoReflect.Descriptor instead.

func (*Hub) GetCreateTime

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

func (*Hub) GetDescription

func (x *Hub) GetDescription() string

func (*Hub) GetExportPsc

func (x *Hub) GetExportPsc() bool

func (*Hub) GetLabels

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

func (*Hub) GetName

func (x *Hub) GetName() string

func (*Hub) GetPolicyMode

func (x *Hub) GetPolicyMode() PolicyMode

func (*Hub) GetPresetTopology

func (x *Hub) GetPresetTopology() PresetTopology

func (*Hub) GetRouteTables

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

func (*Hub) GetRoutingVpcs

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

func (*Hub) GetSpokeSummary

func (x *Hub) GetSpokeSummary() *SpokeSummary

func (*Hub) GetState

func (x *Hub) GetState() State

func (*Hub) GetUniqueId

func (x *Hub) GetUniqueId() string

func (*Hub) GetUpdateTime

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

func (*Hub) ProtoMessage

func (*Hub) ProtoMessage()

func (*Hub) ProtoReflect

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

func (*Hub) Reset

func (x *Hub) Reset()

func (*Hub) String

func (x *Hub) String() string

type HubServiceClient

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

HubServiceClient is the client API for HubService service.

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

func NewHubServiceClient

func NewHubServiceClient(cc grpc.ClientConnInterface) HubServiceClient

type HubServiceServer

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

HubServiceServer is the server API for HubService service.

type HubStatusEntry

type HubStatusEntry struct {

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

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

func (*HubStatusEntry) Descriptor

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

Deprecated: Use HubStatusEntry.ProtoReflect.Descriptor instead.

func (*HubStatusEntry) GetCount

func (x *HubStatusEntry) GetCount() int32

func (*HubStatusEntry) GetGroupBy

func (x *HubStatusEntry) GetGroupBy() string

func (*HubStatusEntry) GetPscPropagationStatus

func (x *HubStatusEntry) GetPscPropagationStatus() *PscPropagationStatus

func (*HubStatusEntry) ProtoMessage

func (*HubStatusEntry) ProtoMessage()

func (*HubStatusEntry) ProtoReflect

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

func (*HubStatusEntry) Reset

func (x *HubStatusEntry) Reset()

func (*HubStatusEntry) String

func (x *HubStatusEntry) String() string

type IPVersion

type IPVersion int32

The requested IP version for the PSC connection.

const (
	// Default value. We will use IPv4 or IPv6 depending on the IP version of
	// first available subnetwork.
	IPVersion_IP_VERSION_UNSPECIFIED IPVersion = 0
	// Will use IPv4 only.
	IPVersion_IPV4 IPVersion = 1
	// Will use IPv6 only.
	IPVersion_IPV6 IPVersion = 2
)

func (IPVersion) Descriptor

func (IPVersion) Descriptor() protoreflect.EnumDescriptor

func (IPVersion) Enum

func (x IPVersion) Enum() *IPVersion

func (IPVersion) EnumDescriptor

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

Deprecated: Use IPVersion.Descriptor instead.

func (IPVersion) Number

func (x IPVersion) Number() protoreflect.EnumNumber

func (IPVersion) String

func (x IPVersion) String() string

func (IPVersion) Type

type Infrastructure

type Infrastructure int32

The infrastructure used for connections between consumers/producers.

const (
	// An invalid infrastructure as the default case.
	Infrastructure_INFRASTRUCTURE_UNSPECIFIED Infrastructure = 0
	// Private Service Connect is used for connections.
	Infrastructure_PSC Infrastructure = 1
)

func (Infrastructure) Descriptor

func (Infrastructure) Enum

func (x Infrastructure) Enum() *Infrastructure

func (Infrastructure) EnumDescriptor

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

Deprecated: Use Infrastructure.Descriptor instead.

func (Infrastructure) Number

func (Infrastructure) String

func (x Infrastructure) String() string

func (Infrastructure) Type

type LinkedInterconnectAttachments

type LinkedInterconnectAttachments struct {

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

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

func (*LinkedInterconnectAttachments) Descriptor

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

Deprecated: Use LinkedInterconnectAttachments.ProtoReflect.Descriptor instead.

func (*LinkedInterconnectAttachments) GetIncludeImportRanges

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

func (*LinkedInterconnectAttachments) GetSiteToSiteDataTransfer

func (x *LinkedInterconnectAttachments) GetSiteToSiteDataTransfer() bool

func (*LinkedInterconnectAttachments) GetUris

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

func (*LinkedInterconnectAttachments) GetVpcNetwork

func (x *LinkedInterconnectAttachments) GetVpcNetwork() string

func (*LinkedInterconnectAttachments) ProtoMessage

func (*LinkedInterconnectAttachments) ProtoMessage()

func (*LinkedInterconnectAttachments) ProtoReflect

func (*LinkedInterconnectAttachments) Reset

func (x *LinkedInterconnectAttachments) Reset()

func (*LinkedInterconnectAttachments) String

type LinkedProducerVpcNetwork

type LinkedProducerVpcNetwork struct {

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

func (*LinkedProducerVpcNetwork) Descriptor

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

Deprecated: Use LinkedProducerVpcNetwork.ProtoReflect.Descriptor instead.

func (*LinkedProducerVpcNetwork) GetExcludeExportRanges

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

func (*LinkedProducerVpcNetwork) GetIncludeExportRanges

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

func (*LinkedProducerVpcNetwork) GetNetwork

func (x *LinkedProducerVpcNetwork) GetNetwork() string

func (*LinkedProducerVpcNetwork) GetPeering

func (x *LinkedProducerVpcNetwork) GetPeering() string

func (*LinkedProducerVpcNetwork) GetProducerNetwork

func (x *LinkedProducerVpcNetwork) GetProducerNetwork() string

func (*LinkedProducerVpcNetwork) GetProposedExcludeExportRanges

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

func (*LinkedProducerVpcNetwork) GetProposedIncludeExportRanges

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

func (*LinkedProducerVpcNetwork) GetServiceConsumerVpcSpoke

func (x *LinkedProducerVpcNetwork) GetServiceConsumerVpcSpoke() string

func (*LinkedProducerVpcNetwork) ProtoMessage

func (*LinkedProducerVpcNetwork) ProtoMessage()

func (*LinkedProducerVpcNetwork) ProtoReflect

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

func (*LinkedProducerVpcNetwork) Reset

func (x *LinkedProducerVpcNetwork) Reset()

func (*LinkedProducerVpcNetwork) String

func (x *LinkedProducerVpcNetwork) String() string

type LinkedRouterApplianceInstances

type LinkedRouterApplianceInstances struct {

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

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

func (*LinkedRouterApplianceInstances) Descriptor

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

Deprecated: Use LinkedRouterApplianceInstances.ProtoReflect.Descriptor instead.

func (*LinkedRouterApplianceInstances) GetIncludeImportRanges

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

func (*LinkedRouterApplianceInstances) GetInstances

func (*LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer

func (x *LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer() bool

func (*LinkedRouterApplianceInstances) GetVpcNetwork

func (x *LinkedRouterApplianceInstances) GetVpcNetwork() string

func (*LinkedRouterApplianceInstances) ProtoMessage

func (*LinkedRouterApplianceInstances) ProtoMessage()

func (*LinkedRouterApplianceInstances) ProtoReflect

func (*LinkedRouterApplianceInstances) Reset

func (x *LinkedRouterApplianceInstances) Reset()

func (*LinkedRouterApplianceInstances) String

type LinkedVpcNetwork

type LinkedVpcNetwork struct {

	// Required. The URI of the VPC network resource.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Optional. IP ranges encompassing the subnets to be excluded from peering.
	ExcludeExportRanges []string `protobuf:"bytes,2,rep,name=exclude_export_ranges,json=excludeExportRanges,proto3" json:"exclude_export_ranges,omitempty"`
	// Optional. IP ranges allowed to be included from peering.
	IncludeExportRanges []string `protobuf:"bytes,3,rep,name=include_export_ranges,json=includeExportRanges,proto3" json:"include_export_ranges,omitempty"`
	// Optional. The proposed include export IP ranges waiting for hub
	// administration's approval.
	ProposedIncludeExportRanges []string `protobuf:"bytes,5,rep,name=proposed_include_export_ranges,json=proposedIncludeExportRanges,proto3" json:"proposed_include_export_ranges,omitempty"`
	// Output only. The proposed exclude export IP ranges waiting for hub
	// administration's approval.
	ProposedExcludeExportRanges []string `protobuf:"bytes,6,rep,name=proposed_exclude_export_ranges,json=proposedExcludeExportRanges,proto3" json:"proposed_exclude_export_ranges,omitempty"`
	// Output only. The list of Producer VPC spokes that this VPC spoke is a
	// service consumer VPC spoke for. These producer VPCs are connected through
	// VPC peering to this spoke's backing VPC network. Because they are directly
	// connected throuh VPC peering, NCC export filters do not apply between the
	// service consumer VPC spoke and any of its producer VPC spokes. This VPC
	// spoke cannot be deleted as long as any of these producer VPC spokes are
	// connected to the NCC Hub.
	ProducerVpcSpokes []string `protobuf:"bytes,4,rep,name=producer_vpc_spokes,json=producerVpcSpokes,proto3" json:"producer_vpc_spokes,omitempty"`
	// contains filtered or unexported fields
}

An existing VPC network.

func (*LinkedVpcNetwork) Descriptor

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

Deprecated: Use LinkedVpcNetwork.ProtoReflect.Descriptor instead.

func (*LinkedVpcNetwork) GetExcludeExportRanges

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

func (*LinkedVpcNetwork) GetIncludeExportRanges

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

func (*LinkedVpcNetwork) GetProducerVpcSpokes

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

func (*LinkedVpcNetwork) GetProposedExcludeExportRanges

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

func (*LinkedVpcNetwork) GetProposedIncludeExportRanges

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

func (*LinkedVpcNetwork) GetUri

func (x *LinkedVpcNetwork) GetUri() string

func (*LinkedVpcNetwork) ProtoMessage

func (*LinkedVpcNetwork) ProtoMessage()

func (*LinkedVpcNetwork) ProtoReflect

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

func (*LinkedVpcNetwork) Reset

func (x *LinkedVpcNetwork) Reset()

func (*LinkedVpcNetwork) String

func (x *LinkedVpcNetwork) String() string

type LinkedVpnTunnels

type LinkedVpnTunnels struct {

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

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

func (*LinkedVpnTunnels) Descriptor

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

Deprecated: Use LinkedVpnTunnels.ProtoReflect.Descriptor instead.

func (*LinkedVpnTunnels) GetIncludeImportRanges

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

func (*LinkedVpnTunnels) GetSiteToSiteDataTransfer

func (x *LinkedVpnTunnels) GetSiteToSiteDataTransfer() bool

func (*LinkedVpnTunnels) GetUris

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

func (*LinkedVpnTunnels) GetVpcNetwork

func (x *LinkedVpnTunnels) GetVpcNetwork() string

func (*LinkedVpnTunnels) ProtoMessage

func (*LinkedVpnTunnels) ProtoMessage()

func (*LinkedVpnTunnels) ProtoReflect

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

func (*LinkedVpnTunnels) Reset

func (x *LinkedVpnTunnels) Reset()

func (*LinkedVpnTunnels) String

func (x *LinkedVpnTunnels) String() string

type ListGroupsRequest

type ListGroupsRequest struct {

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

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

func (*ListGroupsRequest) Descriptor

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

Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupsRequest) GetFilter

func (x *ListGroupsRequest) GetFilter() string

func (*ListGroupsRequest) GetOrderBy

func (x *ListGroupsRequest) GetOrderBy() string

func (*ListGroupsRequest) GetPageSize

func (x *ListGroupsRequest) GetPageSize() int32

func (*ListGroupsRequest) GetPageToken

func (x *ListGroupsRequest) GetPageToken() string

func (*ListGroupsRequest) GetParent

func (x *ListGroupsRequest) GetParent() string

func (*ListGroupsRequest) ProtoMessage

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) ProtoReflect

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

func (*ListGroupsRequest) Reset

func (x *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String

func (x *ListGroupsRequest) String() string

type ListGroupsResponse

type ListGroupsResponse struct {

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

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

func (*ListGroupsResponse) Descriptor

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

Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupsResponse) GetGroups

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

func (*ListGroupsResponse) GetNextPageToken

func (x *ListGroupsResponse) GetNextPageToken() string

func (*ListGroupsResponse) GetUnreachable

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

func (*ListGroupsResponse) ProtoMessage

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) ProtoReflect

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

func (*ListGroupsResponse) Reset

func (x *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String

func (x *ListGroupsResponse) String() string

type ListHubSpokesRequest

type ListHubSpokesRequest struct {

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

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

func (*ListHubSpokesRequest) Descriptor

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

Deprecated: Use ListHubSpokesRequest.ProtoReflect.Descriptor instead.

func (*ListHubSpokesRequest) GetFilter

func (x *ListHubSpokesRequest) GetFilter() string

func (*ListHubSpokesRequest) GetName

func (x *ListHubSpokesRequest) GetName() string

func (*ListHubSpokesRequest) GetOrderBy

func (x *ListHubSpokesRequest) GetOrderBy() string

func (*ListHubSpokesRequest) GetPageSize

func (x *ListHubSpokesRequest) GetPageSize() int32

func (*ListHubSpokesRequest) GetPageToken

func (x *ListHubSpokesRequest) GetPageToken() string

func (*ListHubSpokesRequest) GetSpokeLocations

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

func (*ListHubSpokesRequest) GetView

func (*ListHubSpokesRequest) ProtoMessage

func (*ListHubSpokesRequest) ProtoMessage()

func (*ListHubSpokesRequest) ProtoReflect

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

func (*ListHubSpokesRequest) Reset

func (x *ListHubSpokesRequest) Reset()

func (*ListHubSpokesRequest) String

func (x *ListHubSpokesRequest) String() string

type ListHubSpokesRequest_SpokeView

type ListHubSpokesRequest_SpokeView int32

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

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

func (ListHubSpokesRequest_SpokeView) Descriptor

func (ListHubSpokesRequest_SpokeView) Enum

func (ListHubSpokesRequest_SpokeView) EnumDescriptor

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

Deprecated: Use ListHubSpokesRequest_SpokeView.Descriptor instead.

func (ListHubSpokesRequest_SpokeView) Number

func (ListHubSpokesRequest_SpokeView) String

func (ListHubSpokesRequest_SpokeView) Type

type ListHubSpokesResponse

type ListHubSpokesResponse struct {

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

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

func (*ListHubSpokesResponse) Descriptor

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

Deprecated: Use ListHubSpokesResponse.ProtoReflect.Descriptor instead.

func (*ListHubSpokesResponse) GetNextPageToken

func (x *ListHubSpokesResponse) GetNextPageToken() string

func (*ListHubSpokesResponse) GetSpokes

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

func (*ListHubSpokesResponse) GetUnreachable

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

func (*ListHubSpokesResponse) ProtoMessage

func (*ListHubSpokesResponse) ProtoMessage()

func (*ListHubSpokesResponse) ProtoReflect

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

func (*ListHubSpokesResponse) Reset

func (x *ListHubSpokesResponse) Reset()

func (*ListHubSpokesResponse) String

func (x *ListHubSpokesResponse) String() string

type ListHubsRequest

type ListHubsRequest struct {

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

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

func (*ListHubsRequest) Descriptor

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

Deprecated: Use ListHubsRequest.ProtoReflect.Descriptor instead.

func (*ListHubsRequest) GetFilter

func (x *ListHubsRequest) GetFilter() string

func (*ListHubsRequest) GetOrderBy

func (x *ListHubsRequest) GetOrderBy() string

func (*ListHubsRequest) GetPageSize

func (x *ListHubsRequest) GetPageSize() int32

func (*ListHubsRequest) GetPageToken

func (x *ListHubsRequest) GetPageToken() string

func (*ListHubsRequest) GetParent

func (x *ListHubsRequest) GetParent() string

func (*ListHubsRequest) ProtoMessage

func (*ListHubsRequest) ProtoMessage()

func (*ListHubsRequest) ProtoReflect

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

func (*ListHubsRequest) Reset

func (x *ListHubsRequest) Reset()

func (*ListHubsRequest) String

func (x *ListHubsRequest) String() string

type ListHubsResponse

type ListHubsResponse struct {

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

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

func (*ListHubsResponse) Descriptor

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

Deprecated: Use ListHubsResponse.ProtoReflect.Descriptor instead.

func (*ListHubsResponse) GetHubs

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

func (*ListHubsResponse) GetNextPageToken

func (x *ListHubsResponse) GetNextPageToken() string

func (*ListHubsResponse) GetUnreachable

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

func (*ListHubsResponse) ProtoMessage

func (*ListHubsResponse) ProtoMessage()

func (*ListHubsResponse) ProtoReflect

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

func (*ListHubsResponse) Reset

func (x *ListHubsResponse) Reset()

func (*ListHubsResponse) String

func (x *ListHubsResponse) String() string

type ListPolicyBasedRoutesRequest

type ListPolicyBasedRoutesRequest struct {

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

Request for [PolicyBasedRoutingService.ListPolicyBasedRoutes][google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.ListPolicyBasedRoutes] method.

func (*ListPolicyBasedRoutesRequest) Descriptor

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

Deprecated: Use ListPolicyBasedRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListPolicyBasedRoutesRequest) GetFilter

func (x *ListPolicyBasedRoutesRequest) GetFilter() string

func (*ListPolicyBasedRoutesRequest) GetOrderBy

func (x *ListPolicyBasedRoutesRequest) GetOrderBy() string

func (*ListPolicyBasedRoutesRequest) GetPageSize

func (x *ListPolicyBasedRoutesRequest) GetPageSize() int32

func (*ListPolicyBasedRoutesRequest) GetPageToken

func (x *ListPolicyBasedRoutesRequest) GetPageToken() string

func (*ListPolicyBasedRoutesRequest) GetParent

func (x *ListPolicyBasedRoutesRequest) GetParent() string

func (*ListPolicyBasedRoutesRequest) ProtoMessage

func (*ListPolicyBasedRoutesRequest) ProtoMessage()

func (*ListPolicyBasedRoutesRequest) ProtoReflect

func (*ListPolicyBasedRoutesRequest) Reset

func (x *ListPolicyBasedRoutesRequest) Reset()

func (*ListPolicyBasedRoutesRequest) String

type ListPolicyBasedRoutesResponse

type ListPolicyBasedRoutesResponse struct {

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

Response for [PolicyBasedRoutingService.ListPolicyBasedRoutes][google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.ListPolicyBasedRoutes] method.

func (*ListPolicyBasedRoutesResponse) Descriptor

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

Deprecated: Use ListPolicyBasedRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListPolicyBasedRoutesResponse) GetNextPageToken

func (x *ListPolicyBasedRoutesResponse) GetNextPageToken() string

func (*ListPolicyBasedRoutesResponse) GetPolicyBasedRoutes

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

func (*ListPolicyBasedRoutesResponse) GetUnreachable

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

func (*ListPolicyBasedRoutesResponse) ProtoMessage

func (*ListPolicyBasedRoutesResponse) ProtoMessage()

func (*ListPolicyBasedRoutesResponse) ProtoReflect

func (*ListPolicyBasedRoutesResponse) Reset

func (x *ListPolicyBasedRoutesResponse) Reset()

func (*ListPolicyBasedRoutesResponse) String

type ListRouteTablesRequest

type ListRouteTablesRequest struct {

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

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

func (*ListRouteTablesRequest) Descriptor

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

Deprecated: Use ListRouteTablesRequest.ProtoReflect.Descriptor instead.

func (*ListRouteTablesRequest) GetFilter

func (x *ListRouteTablesRequest) GetFilter() string

func (*ListRouteTablesRequest) GetOrderBy

func (x *ListRouteTablesRequest) GetOrderBy() string

func (*ListRouteTablesRequest) GetPageSize

func (x *ListRouteTablesRequest) GetPageSize() int32

func (*ListRouteTablesRequest) GetPageToken

func (x *ListRouteTablesRequest) GetPageToken() string

func (*ListRouteTablesRequest) GetParent

func (x *ListRouteTablesRequest) GetParent() string

func (*ListRouteTablesRequest) ProtoMessage

func (*ListRouteTablesRequest) ProtoMessage()

func (*ListRouteTablesRequest) ProtoReflect

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

func (*ListRouteTablesRequest) Reset

func (x *ListRouteTablesRequest) Reset()

func (*ListRouteTablesRequest) String

func (x *ListRouteTablesRequest) String() string

type ListRouteTablesResponse

type ListRouteTablesResponse struct {

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

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

func (*ListRouteTablesResponse) Descriptor

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

Deprecated: Use ListRouteTablesResponse.ProtoReflect.Descriptor instead.

func (*ListRouteTablesResponse) GetNextPageToken

func (x *ListRouteTablesResponse) GetNextPageToken() string

func (*ListRouteTablesResponse) GetRouteTables

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

func (*ListRouteTablesResponse) GetUnreachable

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

func (*ListRouteTablesResponse) ProtoMessage

func (*ListRouteTablesResponse) ProtoMessage()

func (*ListRouteTablesResponse) ProtoReflect

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

func (*ListRouteTablesResponse) Reset

func (x *ListRouteTablesResponse) Reset()

func (*ListRouteTablesResponse) String

func (x *ListRouteTablesResponse) String() string

type ListRoutesRequest

type ListRoutesRequest struct {

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

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

func (*ListRoutesRequest) Descriptor

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

Deprecated: Use ListRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListRoutesRequest) GetFilter

func (x *ListRoutesRequest) GetFilter() string

func (*ListRoutesRequest) GetOrderBy

func (x *ListRoutesRequest) GetOrderBy() string

func (*ListRoutesRequest) GetPageSize

func (x *ListRoutesRequest) GetPageSize() int32

func (*ListRoutesRequest) GetPageToken

func (x *ListRoutesRequest) GetPageToken() string

func (*ListRoutesRequest) GetParent

func (x *ListRoutesRequest) GetParent() string

func (*ListRoutesRequest) ProtoMessage

func (*ListRoutesRequest) ProtoMessage()

func (*ListRoutesRequest) ProtoReflect

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

func (*ListRoutesRequest) Reset

func (x *ListRoutesRequest) Reset()

func (*ListRoutesRequest) String

func (x *ListRoutesRequest) String() string

type ListRoutesResponse

type ListRoutesResponse struct {

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

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

func (*ListRoutesResponse) Descriptor

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

Deprecated: Use ListRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListRoutesResponse) GetNextPageToken

func (x *ListRoutesResponse) GetNextPageToken() string

func (*ListRoutesResponse) GetRoutes

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

func (*ListRoutesResponse) GetUnreachable

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

func (*ListRoutesResponse) ProtoMessage

func (*ListRoutesResponse) ProtoMessage()

func (*ListRoutesResponse) ProtoReflect

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

func (*ListRoutesResponse) Reset

func (x *ListRoutesResponse) Reset()

func (*ListRoutesResponse) String

func (x *ListRoutesResponse) String() string

type ListServiceClassesRequest

type ListServiceClassesRequest struct {

	// Required. The parent resource's name. ex. projects/123/locations/us-east1
	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 ListServiceClasses.

func (*ListServiceClassesRequest) Descriptor

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

Deprecated: Use ListServiceClassesRequest.ProtoReflect.Descriptor instead.

func (*ListServiceClassesRequest) GetFilter

func (x *ListServiceClassesRequest) GetFilter() string

func (*ListServiceClassesRequest) GetOrderBy

func (x *ListServiceClassesRequest) GetOrderBy() string

func (*ListServiceClassesRequest) GetPageSize

func (x *ListServiceClassesRequest) GetPageSize() int32

func (*ListServiceClassesRequest) GetPageToken

func (x *ListServiceClassesRequest) GetPageToken() string

func (*ListServiceClassesRequest) GetParent

func (x *ListServiceClassesRequest) GetParent() string

func (*ListServiceClassesRequest) ProtoMessage

func (*ListServiceClassesRequest) ProtoMessage()

func (*ListServiceClassesRequest) ProtoReflect

func (*ListServiceClassesRequest) Reset

func (x *ListServiceClassesRequest) Reset()

func (*ListServiceClassesRequest) String

func (x *ListServiceClassesRequest) String() string

type ListServiceClassesResponse

type ListServiceClassesResponse struct {

	// ServiceClasses to be returned.
	ServiceClasses []*ServiceClass `protobuf:"bytes,1,rep,name=service_classes,json=serviceClasses,proto3" json:"service_classes,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 ListServiceClasses.

func (*ListServiceClassesResponse) Descriptor

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

Deprecated: Use ListServiceClassesResponse.ProtoReflect.Descriptor instead.

func (*ListServiceClassesResponse) GetNextPageToken

func (x *ListServiceClassesResponse) GetNextPageToken() string

func (*ListServiceClassesResponse) GetServiceClasses

func (x *ListServiceClassesResponse) GetServiceClasses() []*ServiceClass

func (*ListServiceClassesResponse) GetUnreachable

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

func (*ListServiceClassesResponse) ProtoMessage

func (*ListServiceClassesResponse) ProtoMessage()

func (*ListServiceClassesResponse) ProtoReflect

func (*ListServiceClassesResponse) Reset

func (x *ListServiceClassesResponse) Reset()

func (*ListServiceClassesResponse) String

func (x *ListServiceClassesResponse) String() string

type ListServiceConnectionMapsRequest

type ListServiceConnectionMapsRequest struct {

	// Required. The parent resource's name. ex. projects/123/locations/us-east1
	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 ListServiceConnectionMaps.

func (*ListServiceConnectionMapsRequest) Descriptor

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

Deprecated: Use ListServiceConnectionMapsRequest.ProtoReflect.Descriptor instead.

func (*ListServiceConnectionMapsRequest) GetFilter

func (*ListServiceConnectionMapsRequest) GetOrderBy

func (x *ListServiceConnectionMapsRequest) GetOrderBy() string

func (*ListServiceConnectionMapsRequest) GetPageSize

func (x *ListServiceConnectionMapsRequest) GetPageSize() int32

func (*ListServiceConnectionMapsRequest) GetPageToken

func (x *ListServiceConnectionMapsRequest) GetPageToken() string

func (*ListServiceConnectionMapsRequest) GetParent

func (*ListServiceConnectionMapsRequest) ProtoMessage

func (*ListServiceConnectionMapsRequest) ProtoMessage()

func (*ListServiceConnectionMapsRequest) ProtoReflect

func (*ListServiceConnectionMapsRequest) Reset

func (*ListServiceConnectionMapsRequest) String

type ListServiceConnectionMapsResponse

type ListServiceConnectionMapsResponse struct {

	// ServiceConnectionMaps to be returned.
	ServiceConnectionMaps []*ServiceConnectionMap `protobuf:"bytes,1,rep,name=service_connection_maps,json=serviceConnectionMaps,proto3" json:"service_connection_maps,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 ListServiceConnectionMaps.

func (*ListServiceConnectionMapsResponse) Descriptor

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

Deprecated: Use ListServiceConnectionMapsResponse.ProtoReflect.Descriptor instead.

func (*ListServiceConnectionMapsResponse) GetNextPageToken

func (x *ListServiceConnectionMapsResponse) GetNextPageToken() string

func (*ListServiceConnectionMapsResponse) GetServiceConnectionMaps

func (x *ListServiceConnectionMapsResponse) GetServiceConnectionMaps() []*ServiceConnectionMap

func (*ListServiceConnectionMapsResponse) GetUnreachable

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

func (*ListServiceConnectionMapsResponse) ProtoMessage

func (*ListServiceConnectionMapsResponse) ProtoMessage()

func (*ListServiceConnectionMapsResponse) ProtoReflect

func (*ListServiceConnectionMapsResponse) Reset

func (*ListServiceConnectionMapsResponse) String

type ListServiceConnectionPoliciesRequest

type ListServiceConnectionPoliciesRequest struct {

	// Required. The parent resource's name. ex. projects/123/locations/us-east1
	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 ListServiceConnectionPolicies.

func (*ListServiceConnectionPoliciesRequest) Descriptor

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

Deprecated: Use ListServiceConnectionPoliciesRequest.ProtoReflect.Descriptor instead.

func (*ListServiceConnectionPoliciesRequest) GetFilter

func (*ListServiceConnectionPoliciesRequest) GetOrderBy

func (*ListServiceConnectionPoliciesRequest) GetPageSize

func (*ListServiceConnectionPoliciesRequest) GetPageToken

func (x *ListServiceConnectionPoliciesRequest) GetPageToken() string

func (*ListServiceConnectionPoliciesRequest) GetParent

func (*ListServiceConnectionPoliciesRequest) ProtoMessage

func (*ListServiceConnectionPoliciesRequest) ProtoMessage()

func (*ListServiceConnectionPoliciesRequest) ProtoReflect

func (*ListServiceConnectionPoliciesRequest) Reset

func (*ListServiceConnectionPoliciesRequest) String

type ListServiceConnectionPoliciesResponse

type ListServiceConnectionPoliciesResponse struct {

	// ServiceConnectionPolicies to be returned.
	ServiceConnectionPolicies []*ServiceConnectionPolicy `protobuf:"bytes,1,rep,name=service_connection_policies,json=serviceConnectionPolicies,proto3" json:"service_connection_policies,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 ListServiceConnectionPolicies.

func (*ListServiceConnectionPoliciesResponse) Descriptor

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

Deprecated: Use ListServiceConnectionPoliciesResponse.ProtoReflect.Descriptor instead.

func (*ListServiceConnectionPoliciesResponse) GetNextPageToken

func (x *ListServiceConnectionPoliciesResponse) GetNextPageToken() string

func (*ListServiceConnectionPoliciesResponse) GetServiceConnectionPolicies

func (x *ListServiceConnectionPoliciesResponse) GetServiceConnectionPolicies() []*ServiceConnectionPolicy

func (*ListServiceConnectionPoliciesResponse) GetUnreachable

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

func (*ListServiceConnectionPoliciesResponse) ProtoMessage

func (*ListServiceConnectionPoliciesResponse) ProtoMessage()

func (*ListServiceConnectionPoliciesResponse) ProtoReflect

func (*ListServiceConnectionPoliciesResponse) Reset

func (*ListServiceConnectionPoliciesResponse) String

type ListServiceConnectionTokensRequest

type ListServiceConnectionTokensRequest struct {

	// Required. The parent resource's name. ex. projects/123/locations/us-east1
	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 ListServiceConnectionTokens.

func (*ListServiceConnectionTokensRequest) Descriptor

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

Deprecated: Use ListServiceConnectionTokensRequest.ProtoReflect.Descriptor instead.

func (*ListServiceConnectionTokensRequest) GetFilter

func (*ListServiceConnectionTokensRequest) GetOrderBy

func (*ListServiceConnectionTokensRequest) GetPageSize

func (x *ListServiceConnectionTokensRequest) GetPageSize() int32

func (*ListServiceConnectionTokensRequest) GetPageToken

func (x *ListServiceConnectionTokensRequest) GetPageToken() string

func (*ListServiceConnectionTokensRequest) GetParent

func (*ListServiceConnectionTokensRequest) ProtoMessage

func (*ListServiceConnectionTokensRequest) ProtoMessage()

func (*ListServiceConnectionTokensRequest) ProtoReflect

func (*ListServiceConnectionTokensRequest) Reset

func (*ListServiceConnectionTokensRequest) String

type ListServiceConnectionTokensResponse

type ListServiceConnectionTokensResponse struct {

	// ServiceConnectionTokens to be returned.
	ServiceConnectionTokens []*ServiceConnectionToken `protobuf:"bytes,1,rep,name=service_connection_tokens,json=serviceConnectionTokens,proto3" json:"service_connection_tokens,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 ListServiceConnectionTokens.

func (*ListServiceConnectionTokensResponse) Descriptor

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

Deprecated: Use ListServiceConnectionTokensResponse.ProtoReflect.Descriptor instead.

func (*ListServiceConnectionTokensResponse) GetNextPageToken

func (x *ListServiceConnectionTokensResponse) GetNextPageToken() string

func (*ListServiceConnectionTokensResponse) GetServiceConnectionTokens

func (x *ListServiceConnectionTokensResponse) GetServiceConnectionTokens() []*ServiceConnectionToken

func (*ListServiceConnectionTokensResponse) GetUnreachable

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

func (*ListServiceConnectionTokensResponse) ProtoMessage

func (*ListServiceConnectionTokensResponse) ProtoMessage()

func (*ListServiceConnectionTokensResponse) ProtoReflect

func (*ListServiceConnectionTokensResponse) Reset

func (*ListServiceConnectionTokensResponse) String

type ListSpokesRequest

type ListSpokesRequest struct {

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

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

func (*ListSpokesRequest) Descriptor

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

Deprecated: Use ListSpokesRequest.ProtoReflect.Descriptor instead.

func (*ListSpokesRequest) GetFilter

func (x *ListSpokesRequest) GetFilter() string

func (*ListSpokesRequest) GetOrderBy

func (x *ListSpokesRequest) GetOrderBy() string

func (*ListSpokesRequest) GetPageSize

func (x *ListSpokesRequest) GetPageSize() int32

func (*ListSpokesRequest) GetPageToken

func (x *ListSpokesRequest) GetPageToken() string

func (*ListSpokesRequest) GetParent

func (x *ListSpokesRequest) GetParent() string

func (*ListSpokesRequest) ProtoMessage

func (*ListSpokesRequest) ProtoMessage()

func (*ListSpokesRequest) ProtoReflect

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

func (*ListSpokesRequest) Reset

func (x *ListSpokesRequest) Reset()

func (*ListSpokesRequest) String

func (x *ListSpokesRequest) String() string

type ListSpokesResponse

type ListSpokesResponse struct {

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

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

func (*ListSpokesResponse) Descriptor

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

Deprecated: Use ListSpokesResponse.ProtoReflect.Descriptor instead.

func (*ListSpokesResponse) GetNextPageToken

func (x *ListSpokesResponse) GetNextPageToken() string

func (*ListSpokesResponse) GetSpokes

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

func (*ListSpokesResponse) GetUnreachable

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

func (*ListSpokesResponse) ProtoMessage

func (*ListSpokesResponse) ProtoMessage()

func (*ListSpokesResponse) ProtoReflect

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

func (*ListSpokesResponse) Reset

func (x *ListSpokesResponse) Reset()

func (*ListSpokesResponse) String

func (x *ListSpokesResponse) String() string

type LocationFeature

type LocationFeature int32

Supported features for a location

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

func (LocationFeature) Descriptor

func (LocationFeature) Enum

func (x LocationFeature) Enum() *LocationFeature

func (LocationFeature) EnumDescriptor

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

Deprecated: Use LocationFeature.Descriptor instead.

func (LocationFeature) Number

func (LocationFeature) String

func (x LocationFeature) String() string

func (LocationFeature) Type

type LocationMetadata

type LocationMetadata struct {

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

Metadata about locations

func (*LocationMetadata) Descriptor

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

Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.

func (*LocationMetadata) GetLocationFeatures

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

func (*LocationMetadata) ProtoMessage

func (*LocationMetadata) ProtoMessage()

func (*LocationMetadata) ProtoReflect

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

func (*LocationMetadata) Reset

func (x *LocationMetadata) Reset()

func (*LocationMetadata) String

func (x *LocationMetadata) String() string

type NextHopInterconnectAttachment

type NextHopInterconnectAttachment struct {

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

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

func (*NextHopInterconnectAttachment) Descriptor

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

Deprecated: Use NextHopInterconnectAttachment.ProtoReflect.Descriptor instead.

func (*NextHopInterconnectAttachment) GetSiteToSiteDataTransfer

func (x *NextHopInterconnectAttachment) GetSiteToSiteDataTransfer() bool

func (*NextHopInterconnectAttachment) GetUri

func (*NextHopInterconnectAttachment) GetVpcNetwork

func (x *NextHopInterconnectAttachment) GetVpcNetwork() string

func (*NextHopInterconnectAttachment) ProtoMessage

func (*NextHopInterconnectAttachment) ProtoMessage()

func (*NextHopInterconnectAttachment) ProtoReflect

func (*NextHopInterconnectAttachment) Reset

func (x *NextHopInterconnectAttachment) Reset()

func (*NextHopInterconnectAttachment) String

type NextHopRouterApplianceInstance

type NextHopRouterApplianceInstance struct {

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

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

func (*NextHopRouterApplianceInstance) Descriptor

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

Deprecated: Use NextHopRouterApplianceInstance.ProtoReflect.Descriptor instead.

func (*NextHopRouterApplianceInstance) GetSiteToSiteDataTransfer

func (x *NextHopRouterApplianceInstance) GetSiteToSiteDataTransfer() bool

func (*NextHopRouterApplianceInstance) GetUri

func (*NextHopRouterApplianceInstance) GetVpcNetwork

func (x *NextHopRouterApplianceInstance) GetVpcNetwork() string

func (*NextHopRouterApplianceInstance) ProtoMessage

func (*NextHopRouterApplianceInstance) ProtoMessage()

func (*NextHopRouterApplianceInstance) ProtoReflect

func (*NextHopRouterApplianceInstance) Reset

func (x *NextHopRouterApplianceInstance) Reset()

func (*NextHopRouterApplianceInstance) String

type NextHopVPNTunnel

type NextHopVPNTunnel struct {

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

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

func (*NextHopVPNTunnel) Descriptor

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

Deprecated: Use NextHopVPNTunnel.ProtoReflect.Descriptor instead.

func (*NextHopVPNTunnel) GetSiteToSiteDataTransfer

func (x *NextHopVPNTunnel) GetSiteToSiteDataTransfer() bool

func (*NextHopVPNTunnel) GetUri

func (x *NextHopVPNTunnel) GetUri() string

func (*NextHopVPNTunnel) GetVpcNetwork

func (x *NextHopVPNTunnel) GetVpcNetwork() string

func (*NextHopVPNTunnel) ProtoMessage

func (*NextHopVPNTunnel) ProtoMessage()

func (*NextHopVPNTunnel) ProtoReflect

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

func (*NextHopVPNTunnel) Reset

func (x *NextHopVPNTunnel) Reset()

func (*NextHopVPNTunnel) String

func (x *NextHopVPNTunnel) String() string

type NextHopVpcNetwork

type NextHopVpcNetwork struct {

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

func (*NextHopVpcNetwork) Descriptor

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

Deprecated: Use NextHopVpcNetwork.ProtoReflect.Descriptor instead.

func (*NextHopVpcNetwork) GetUri

func (x *NextHopVpcNetwork) GetUri() string

func (*NextHopVpcNetwork) ProtoMessage

func (*NextHopVpcNetwork) ProtoMessage()

func (*NextHopVpcNetwork) ProtoReflect

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

func (*NextHopVpcNetwork) Reset

func (x *NextHopVpcNetwork) Reset()

func (*NextHopVpcNetwork) String

func (x *NextHopVpcNetwork) String() string

type OperationMetadata

type OperationMetadata struct {

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

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor

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

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

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

func (*OperationMetadata) GetEndTime

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

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

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

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type PolicyBasedRoute

type PolicyBasedRoute struct {

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

Policy-based routes route L4 network traffic based on not just destination IP address, but also source IP address, protocol, and more. If a policy-based route conflicts with other types of routes, the policy-based route always takes precedence.

func (*PolicyBasedRoute) Descriptor

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

Deprecated: Use PolicyBasedRoute.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute) GetCreateTime

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

func (*PolicyBasedRoute) GetDescription

func (x *PolicyBasedRoute) GetDescription() string

func (*PolicyBasedRoute) GetFilter

func (x *PolicyBasedRoute) GetFilter() *PolicyBasedRoute_Filter

func (*PolicyBasedRoute) GetInterconnectAttachment

func (x *PolicyBasedRoute) GetInterconnectAttachment() *PolicyBasedRoute_InterconnectAttachment

func (*PolicyBasedRoute) GetKind

func (x *PolicyBasedRoute) GetKind() string

func (*PolicyBasedRoute) GetLabels

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

func (*PolicyBasedRoute) GetName

func (x *PolicyBasedRoute) GetName() string

func (*PolicyBasedRoute) GetNetwork

func (x *PolicyBasedRoute) GetNetwork() string

func (*PolicyBasedRoute) GetNextHop

func (m *PolicyBasedRoute) GetNextHop() isPolicyBasedRoute_NextHop

func (*PolicyBasedRoute) GetNextHopIlbIp

func (x *PolicyBasedRoute) GetNextHopIlbIp() string

func (*PolicyBasedRoute) GetNextHopOtherRoutes

func (x *PolicyBasedRoute) GetNextHopOtherRoutes() PolicyBasedRoute_OtherRoutes

func (*PolicyBasedRoute) GetPriority

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

func (*PolicyBasedRoute) GetTarget

func (m *PolicyBasedRoute) GetTarget() isPolicyBasedRoute_Target

func (*PolicyBasedRoute) GetUpdateTime

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

func (*PolicyBasedRoute) GetVirtualMachine

func (x *PolicyBasedRoute) GetVirtualMachine() *PolicyBasedRoute_VirtualMachine

func (*PolicyBasedRoute) GetWarnings

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

func (*PolicyBasedRoute) ProtoMessage

func (*PolicyBasedRoute) ProtoMessage()

func (*PolicyBasedRoute) ProtoReflect

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

func (*PolicyBasedRoute) Reset

func (x *PolicyBasedRoute) Reset()

func (*PolicyBasedRoute) String

func (x *PolicyBasedRoute) String() string

type PolicyBasedRoute_Filter

type PolicyBasedRoute_Filter struct {

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

Filter matches L4 traffic.

func (*PolicyBasedRoute_Filter) Descriptor

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

Deprecated: Use PolicyBasedRoute_Filter.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_Filter) GetDestRange

func (x *PolicyBasedRoute_Filter) GetDestRange() string

func (*PolicyBasedRoute_Filter) GetIpProtocol

func (x *PolicyBasedRoute_Filter) GetIpProtocol() string

func (*PolicyBasedRoute_Filter) GetProtocolVersion

func (*PolicyBasedRoute_Filter) GetSrcRange

func (x *PolicyBasedRoute_Filter) GetSrcRange() string

func (*PolicyBasedRoute_Filter) ProtoMessage

func (*PolicyBasedRoute_Filter) ProtoMessage()

func (*PolicyBasedRoute_Filter) ProtoReflect

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

func (*PolicyBasedRoute_Filter) Reset

func (x *PolicyBasedRoute_Filter) Reset()

func (*PolicyBasedRoute_Filter) String

func (x *PolicyBasedRoute_Filter) String() string

type PolicyBasedRoute_Filter_ProtocolVersion

type PolicyBasedRoute_Filter_ProtocolVersion int32

The internet protocol version.

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

func (PolicyBasedRoute_Filter_ProtocolVersion) Descriptor

func (PolicyBasedRoute_Filter_ProtocolVersion) Enum

func (PolicyBasedRoute_Filter_ProtocolVersion) EnumDescriptor

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

Deprecated: Use PolicyBasedRoute_Filter_ProtocolVersion.Descriptor instead.

func (PolicyBasedRoute_Filter_ProtocolVersion) Number

func (PolicyBasedRoute_Filter_ProtocolVersion) String

func (PolicyBasedRoute_Filter_ProtocolVersion) Type

type PolicyBasedRoute_InterconnectAttachment

type PolicyBasedRoute_InterconnectAttachment struct {

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

InterconnectAttachment that this route applies to.

func (*PolicyBasedRoute_InterconnectAttachment) Descriptor

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

Deprecated: Use PolicyBasedRoute_InterconnectAttachment.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_InterconnectAttachment) GetRegion

func (*PolicyBasedRoute_InterconnectAttachment) ProtoMessage

func (*PolicyBasedRoute_InterconnectAttachment) ProtoReflect

func (*PolicyBasedRoute_InterconnectAttachment) Reset

func (*PolicyBasedRoute_InterconnectAttachment) String

type PolicyBasedRoute_InterconnectAttachment_

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

type PolicyBasedRoute_NextHopIlbIp

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

type PolicyBasedRoute_NextHopOtherRoutes

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

type PolicyBasedRoute_OtherRoutes

type PolicyBasedRoute_OtherRoutes int32

The other routing cases.

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

func (PolicyBasedRoute_OtherRoutes) Descriptor

func (PolicyBasedRoute_OtherRoutes) Enum

func (PolicyBasedRoute_OtherRoutes) EnumDescriptor

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

Deprecated: Use PolicyBasedRoute_OtherRoutes.Descriptor instead.

func (PolicyBasedRoute_OtherRoutes) Number

func (PolicyBasedRoute_OtherRoutes) String

func (PolicyBasedRoute_OtherRoutes) Type

type PolicyBasedRoute_VirtualMachine

type PolicyBasedRoute_VirtualMachine struct {

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

VM instances that this policy-based route applies to.

func (*PolicyBasedRoute_VirtualMachine) Descriptor

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

Deprecated: Use PolicyBasedRoute_VirtualMachine.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_VirtualMachine) GetTags

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

func (*PolicyBasedRoute_VirtualMachine) ProtoMessage

func (*PolicyBasedRoute_VirtualMachine) ProtoMessage()

func (*PolicyBasedRoute_VirtualMachine) ProtoReflect

func (*PolicyBasedRoute_VirtualMachine) Reset

func (*PolicyBasedRoute_VirtualMachine) String

type PolicyBasedRoute_VirtualMachine_

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

type PolicyBasedRoute_Warnings

type PolicyBasedRoute_Warnings struct {

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

Informational warning message.

func (*PolicyBasedRoute_Warnings) Descriptor

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

Deprecated: Use PolicyBasedRoute_Warnings.ProtoReflect.Descriptor instead.

func (*PolicyBasedRoute_Warnings) GetCode

func (*PolicyBasedRoute_Warnings) GetData

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

func (*PolicyBasedRoute_Warnings) GetWarningMessage

func (x *PolicyBasedRoute_Warnings) GetWarningMessage() string

func (*PolicyBasedRoute_Warnings) ProtoMessage

func (*PolicyBasedRoute_Warnings) ProtoMessage()

func (*PolicyBasedRoute_Warnings) ProtoReflect

func (*PolicyBasedRoute_Warnings) Reset

func (x *PolicyBasedRoute_Warnings) Reset()

func (*PolicyBasedRoute_Warnings) String

func (x *PolicyBasedRoute_Warnings) String() string

type PolicyBasedRoute_Warnings_Code

type PolicyBasedRoute_Warnings_Code int32

Warning code for policy-based routing. Expect to add values in the future.

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

func (PolicyBasedRoute_Warnings_Code) Descriptor

func (PolicyBasedRoute_Warnings_Code) Enum

func (PolicyBasedRoute_Warnings_Code) EnumDescriptor

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

Deprecated: Use PolicyBasedRoute_Warnings_Code.Descriptor instead.

func (PolicyBasedRoute_Warnings_Code) Number

func (PolicyBasedRoute_Warnings_Code) String

func (PolicyBasedRoute_Warnings_Code) Type

type PolicyBasedRoutingServiceClient

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

PolicyBasedRoutingServiceClient is the client API for PolicyBasedRoutingService service.

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

func NewPolicyBasedRoutingServiceClient

func NewPolicyBasedRoutingServiceClient(cc grpc.ClientConnInterface) PolicyBasedRoutingServiceClient

type PolicyBasedRoutingServiceServer

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

PolicyBasedRoutingServiceServer is the server API for PolicyBasedRoutingService service.

type PolicyMode

type PolicyMode int32

This enum controls the policy mode used in a hub.

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

func (PolicyMode) Descriptor

func (PolicyMode) Descriptor() protoreflect.EnumDescriptor

func (PolicyMode) Enum

func (x PolicyMode) Enum() *PolicyMode

func (PolicyMode) EnumDescriptor

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

Deprecated: Use PolicyMode.Descriptor instead.

func (PolicyMode) Number

func (x PolicyMode) Number() protoreflect.EnumNumber

func (PolicyMode) String

func (x PolicyMode) String() string

func (PolicyMode) Type

type PresetTopology

type PresetTopology int32

The list of available preset topologies.

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

func (PresetTopology) Descriptor

func (PresetTopology) Enum

func (x PresetTopology) Enum() *PresetTopology

func (PresetTopology) EnumDescriptor

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

Deprecated: Use PresetTopology.Descriptor instead.

func (PresetTopology) Number

func (PresetTopology) String

func (x PresetTopology) String() string

func (PresetTopology) Type

type PscPropagationStatus

type PscPropagationStatus struct {

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

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

func (*PscPropagationStatus) Descriptor

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

Deprecated: Use PscPropagationStatus.ProtoReflect.Descriptor instead.

func (*PscPropagationStatus) GetCode

func (*PscPropagationStatus) GetMessage

func (x *PscPropagationStatus) GetMessage() string

func (*PscPropagationStatus) GetSourceForwardingRule

func (x *PscPropagationStatus) GetSourceForwardingRule() string

func (*PscPropagationStatus) GetSourceGroup

func (x *PscPropagationStatus) GetSourceGroup() string

func (*PscPropagationStatus) GetSourceSpoke

func (x *PscPropagationStatus) GetSourceSpoke() string

func (*PscPropagationStatus) GetTargetGroup

func (x *PscPropagationStatus) GetTargetGroup() string

func (*PscPropagationStatus) GetTargetSpoke

func (x *PscPropagationStatus) GetTargetSpoke() string

func (*PscPropagationStatus) ProtoMessage

func (*PscPropagationStatus) ProtoMessage()

func (*PscPropagationStatus) ProtoReflect

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

func (*PscPropagationStatus) Reset

func (x *PscPropagationStatus) Reset()

func (*PscPropagationStatus) String

func (x *PscPropagationStatus) String() string

type PscPropagationStatus_Code

type PscPropagationStatus_Code int32

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

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

func (PscPropagationStatus_Code) Descriptor

func (PscPropagationStatus_Code) Enum

func (PscPropagationStatus_Code) EnumDescriptor

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

Deprecated: Use PscPropagationStatus_Code.Descriptor instead.

func (PscPropagationStatus_Code) Number

func (PscPropagationStatus_Code) String

func (x PscPropagationStatus_Code) String() string

func (PscPropagationStatus_Code) Type

type QueryHubStatusRequest

type QueryHubStatusRequest struct {

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

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

func (*QueryHubStatusRequest) Descriptor

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

Deprecated: Use QueryHubStatusRequest.ProtoReflect.Descriptor instead.

func (*QueryHubStatusRequest) GetFilter

func (x *QueryHubStatusRequest) GetFilter() string

func (*QueryHubStatusRequest) GetGroupBy

func (x *QueryHubStatusRequest) GetGroupBy() string

func (*QueryHubStatusRequest) GetName

func (x *QueryHubStatusRequest) GetName() string

func (*QueryHubStatusRequest) GetOrderBy

func (x *QueryHubStatusRequest) GetOrderBy() string

func (*QueryHubStatusRequest) GetPageSize

func (x *QueryHubStatusRequest) GetPageSize() int32

func (*QueryHubStatusRequest) GetPageToken

func (x *QueryHubStatusRequest) GetPageToken() string

func (*QueryHubStatusRequest) ProtoMessage

func (*QueryHubStatusRequest) ProtoMessage()

func (*QueryHubStatusRequest) ProtoReflect

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

func (*QueryHubStatusRequest) Reset

func (x *QueryHubStatusRequest) Reset()

func (*QueryHubStatusRequest) String

func (x *QueryHubStatusRequest) String() string

type QueryHubStatusResponse

type QueryHubStatusResponse struct {

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

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

func (*QueryHubStatusResponse) Descriptor

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

Deprecated: Use QueryHubStatusResponse.ProtoReflect.Descriptor instead.

func (*QueryHubStatusResponse) GetHubStatusEntries

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

func (*QueryHubStatusResponse) GetNextPageToken

func (x *QueryHubStatusResponse) GetNextPageToken() string

func (*QueryHubStatusResponse) ProtoMessage

func (*QueryHubStatusResponse) ProtoMessage()

func (*QueryHubStatusResponse) ProtoReflect

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

func (*QueryHubStatusResponse) Reset

func (x *QueryHubStatusResponse) Reset()

func (*QueryHubStatusResponse) String

func (x *QueryHubStatusResponse) String() string

type RejectHubSpokeRequest

type RejectHubSpokeRequest struct {

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

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

func (*RejectHubSpokeRequest) Descriptor

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

Deprecated: Use RejectHubSpokeRequest.ProtoReflect.Descriptor instead.

func (*RejectHubSpokeRequest) GetDetails

func (x *RejectHubSpokeRequest) GetDetails() string

func (*RejectHubSpokeRequest) GetName

func (x *RejectHubSpokeRequest) GetName() string

func (*RejectHubSpokeRequest) GetRequestId

func (x *RejectHubSpokeRequest) GetRequestId() string

func (*RejectHubSpokeRequest) GetSpokeUri

func (x *RejectHubSpokeRequest) GetSpokeUri() string

func (*RejectHubSpokeRequest) ProtoMessage

func (*RejectHubSpokeRequest) ProtoMessage()

func (*RejectHubSpokeRequest) ProtoReflect

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

func (*RejectHubSpokeRequest) Reset

func (x *RejectHubSpokeRequest) Reset()

func (*RejectHubSpokeRequest) String

func (x *RejectHubSpokeRequest) String() string

type RejectHubSpokeResponse

type RejectHubSpokeResponse struct {

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

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

func (*RejectHubSpokeResponse) Descriptor

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

Deprecated: Use RejectHubSpokeResponse.ProtoReflect.Descriptor instead.

func (*RejectHubSpokeResponse) GetSpoke

func (x *RejectHubSpokeResponse) GetSpoke() *Spoke

func (*RejectHubSpokeResponse) ProtoMessage

func (*RejectHubSpokeResponse) ProtoMessage()

func (*RejectHubSpokeResponse) ProtoReflect

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

func (*RejectHubSpokeResponse) Reset

func (x *RejectHubSpokeResponse) Reset()

func (*RejectHubSpokeResponse) String

func (x *RejectHubSpokeResponse) String() string

type RejectSpokeUpdateRequest

type RejectSpokeUpdateRequest struct {

	// Required. The name of the hub to reject spoke update.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The URI of the spoke to reject update.
	SpokeUri string `protobuf:"bytes,2,opt,name=spoke_uri,json=spokeUri,proto3" json:"spoke_uri,omitempty"`
	// Required. The etag of the spoke to reject update.
	SpokeEtag string `protobuf:"bytes,3,opt,name=spoke_etag,json=spokeEtag,proto3" json:"spoke_etag,omitempty"`
	// Optional. Additional information provided by the hub administrator.
	Details string `protobuf:"bytes,4,opt,name=details,proto3" json:"details,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,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*RejectSpokeUpdateRequest) Descriptor

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

Deprecated: Use RejectSpokeUpdateRequest.ProtoReflect.Descriptor instead.

func (*RejectSpokeUpdateRequest) GetDetails

func (x *RejectSpokeUpdateRequest) GetDetails() string

func (*RejectSpokeUpdateRequest) GetName

func (x *RejectSpokeUpdateRequest) GetName() string

func (*RejectSpokeUpdateRequest) GetRequestId

func (x *RejectSpokeUpdateRequest) GetRequestId() string

func (*RejectSpokeUpdateRequest) GetSpokeEtag

func (x *RejectSpokeUpdateRequest) GetSpokeEtag() string

func (*RejectSpokeUpdateRequest) GetSpokeUri

func (x *RejectSpokeUpdateRequest) GetSpokeUri() string

func (*RejectSpokeUpdateRequest) ProtoMessage

func (*RejectSpokeUpdateRequest) ProtoMessage()

func (*RejectSpokeUpdateRequest) ProtoReflect

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

func (*RejectSpokeUpdateRequest) Reset

func (x *RejectSpokeUpdateRequest) Reset()

func (*RejectSpokeUpdateRequest) String

func (x *RejectSpokeUpdateRequest) String() string

type RejectSpokeUpdateResponse

type RejectSpokeUpdateResponse 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.RejectSpokeUpdate][google.cloud.networkconnectivity.v1.HubService.RejectSpokeUpdate].

func (*RejectSpokeUpdateResponse) Descriptor

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

Deprecated: Use RejectSpokeUpdateResponse.ProtoReflect.Descriptor instead.

func (*RejectSpokeUpdateResponse) GetSpoke

func (x *RejectSpokeUpdateResponse) GetSpoke() *Spoke

func (*RejectSpokeUpdateResponse) ProtoMessage

func (*RejectSpokeUpdateResponse) ProtoMessage()

func (*RejectSpokeUpdateResponse) ProtoReflect

func (*RejectSpokeUpdateResponse) Reset

func (x *RejectSpokeUpdateResponse) Reset()

func (*RejectSpokeUpdateResponse) String

func (x *RejectSpokeUpdateResponse) String() string

type Route

type Route struct {

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

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

func (*Route) Descriptor

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

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetCreateTime

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

func (*Route) GetDescription

func (x *Route) GetDescription() string

func (*Route) GetIpCidrRange

func (x *Route) GetIpCidrRange() string

func (*Route) GetLabels

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

func (*Route) GetLocation

func (x *Route) GetLocation() string

func (*Route) GetName

func (x *Route) GetName() string

func (*Route) GetNextHopInterconnectAttachment

func (x *Route) GetNextHopInterconnectAttachment() *NextHopInterconnectAttachment

func (*Route) GetNextHopRouterApplianceInstance

func (x *Route) GetNextHopRouterApplianceInstance() *NextHopRouterApplianceInstance

func (*Route) GetNextHopVpcNetwork

func (x *Route) GetNextHopVpcNetwork() *NextHopVpcNetwork

func (*Route) GetNextHopVpnTunnel

func (x *Route) GetNextHopVpnTunnel() *NextHopVPNTunnel

func (*Route) GetPriority

func (x *Route) GetPriority() int64

func (*Route) GetSpoke

func (x *Route) GetSpoke() string

func (*Route) GetState

func (x *Route) GetState() State

func (*Route) GetType

func (x *Route) GetType() RouteType

func (*Route) GetUid

func (x *Route) GetUid() string

func (*Route) GetUpdateTime

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

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) ProtoReflect

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

func (*Route) Reset

func (x *Route) Reset()

func (*Route) String

func (x *Route) String() string

type RouteTable

type RouteTable struct {

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

func (*RouteTable) Descriptor

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

Deprecated: Use RouteTable.ProtoReflect.Descriptor instead.

func (*RouteTable) GetCreateTime

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

func (*RouteTable) GetDescription

func (x *RouteTable) GetDescription() string

func (*RouteTable) GetLabels

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

func (*RouteTable) GetName

func (x *RouteTable) GetName() string

func (*RouteTable) GetState

func (x *RouteTable) GetState() State

func (*RouteTable) GetUid

func (x *RouteTable) GetUid() string

func (*RouteTable) GetUpdateTime

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

func (*RouteTable) ProtoMessage

func (*RouteTable) ProtoMessage()

func (*RouteTable) ProtoReflect

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

func (*RouteTable) Reset

func (x *RouteTable) Reset()

func (*RouteTable) String

func (x *RouteTable) String() string

type RouteType

type RouteType int32

The route's type

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

func (RouteType) Descriptor

func (RouteType) Descriptor() protoreflect.EnumDescriptor

func (RouteType) Enum

func (x RouteType) Enum() *RouteType

func (RouteType) EnumDescriptor

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

Deprecated: Use RouteType.Descriptor instead.

func (RouteType) Number

func (x RouteType) Number() protoreflect.EnumNumber

func (RouteType) String

func (x RouteType) String() string

func (RouteType) Type

type RouterApplianceInstance

type RouterApplianceInstance struct {

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

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

func (*RouterApplianceInstance) Descriptor

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

Deprecated: Use RouterApplianceInstance.ProtoReflect.Descriptor instead.

func (*RouterApplianceInstance) GetIpAddress

func (x *RouterApplianceInstance) GetIpAddress() string

func (*RouterApplianceInstance) GetVirtualMachine

func (x *RouterApplianceInstance) GetVirtualMachine() string

func (*RouterApplianceInstance) ProtoMessage

func (*RouterApplianceInstance) ProtoMessage()

func (*RouterApplianceInstance) ProtoReflect

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

func (*RouterApplianceInstance) Reset

func (x *RouterApplianceInstance) Reset()

func (*RouterApplianceInstance) String

func (x *RouterApplianceInstance) String() string

type RoutingVPC

type RoutingVPC struct {

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

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

func (*RoutingVPC) Descriptor

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

Deprecated: Use RoutingVPC.ProtoReflect.Descriptor instead.

func (*RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes

func (x *RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes() bool

func (*RoutingVPC) GetUri

func (x *RoutingVPC) GetUri() string

func (*RoutingVPC) ProtoMessage

func (*RoutingVPC) ProtoMessage()

func (*RoutingVPC) ProtoReflect

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

func (*RoutingVPC) Reset

func (x *RoutingVPC) Reset()

func (*RoutingVPC) String

func (x *RoutingVPC) String() string

type ServiceClass

type ServiceClass struct {

	// Immutable. The name of a ServiceClass resource.
	// Format:
	// projects/{project}/locations/{location}/serviceClasses/{service_class}
	// See: https://google.aip.dev/122#fields-representing-resource-names
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The generated service class name. Use this name to refer to
	// the Service class in Service Connection Maps and Service Connection
	// Policies.
	ServiceClass string `protobuf:"bytes,7,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
	// Output only. Time when the ServiceClass was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when the ServiceClass was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined labels.
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// A description of this resource.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. The etag is computed by the server, and may be sent on update and
	// delete requests to ensure the client has an up-to-date value before
	// proceeding.
	Etag *string `protobuf:"bytes,8,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

The ServiceClass resource.

func (*ServiceClass) Descriptor

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

Deprecated: Use ServiceClass.ProtoReflect.Descriptor instead.

func (*ServiceClass) GetCreateTime

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

func (*ServiceClass) GetDescription

func (x *ServiceClass) GetDescription() string

func (*ServiceClass) GetEtag

func (x *ServiceClass) GetEtag() string

func (*ServiceClass) GetLabels

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

func (*ServiceClass) GetName

func (x *ServiceClass) GetName() string

func (*ServiceClass) GetServiceClass

func (x *ServiceClass) GetServiceClass() string

func (*ServiceClass) GetUpdateTime

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

func (*ServiceClass) ProtoMessage

func (*ServiceClass) ProtoMessage()

func (*ServiceClass) ProtoReflect

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

func (*ServiceClass) Reset

func (x *ServiceClass) Reset()

func (*ServiceClass) String

func (x *ServiceClass) String() string

type ServiceConnectionMap

type ServiceConnectionMap struct {

	// Immutable. The name of a ServiceConnectionMap.
	// Format:
	// projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
	// See: https://google.aip.dev/122#fields-representing-resource-names
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Time when the ServiceConnectionMap was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when the ServiceConnectionMap was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined labels.
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// A description of this resource.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// The service class identifier this ServiceConnectionMap is for.
	// The user of ServiceConnectionMap create API needs to have
	// networkconnecitivty.serviceclasses.use iam permission for the service
	// class.
	ServiceClass string `protobuf:"bytes,7,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
	// Output only. The service class uri this ServiceConnectionMap is for.
	ServiceClassUri string `protobuf:"bytes,12,opt,name=service_class_uri,json=serviceClassUri,proto3" json:"service_class_uri,omitempty"`
	// Output only. The infrastructure used for connections between
	// consumers/producers.
	Infrastructure Infrastructure `protobuf:"varint,8,opt,name=infrastructure,proto3,enum=google.cloud.networkconnectivity.v1.Infrastructure" json:"infrastructure,omitempty"`
	// The PSC configurations on producer side.
	ProducerPscConfigs []*ServiceConnectionMap_ProducerPscConfig `protobuf:"bytes,9,rep,name=producer_psc_configs,json=producerPscConfigs,proto3" json:"producer_psc_configs,omitempty"`
	// The PSC configurations on consumer side.
	ConsumerPscConfigs []*ServiceConnectionMap_ConsumerPscConfig `protobuf:"bytes,10,rep,name=consumer_psc_configs,json=consumerPscConfigs,proto3" json:"consumer_psc_configs,omitempty"`
	// Output only. PSC connection details on consumer side.
	ConsumerPscConnections []*ServiceConnectionMap_ConsumerPscConnection `protobuf:"bytes,11,rep,name=consumer_psc_connections,json=consumerPscConnections,proto3" json:"consumer_psc_connections,omitempty"`
	// The token provided by the consumer. This token authenticates that the
	// consumer can create a connection within the specified project and network.
	Token string `protobuf:"bytes,13,opt,name=token,proto3" json:"token,omitempty"`
	// Optional. The etag is computed by the server, and may be sent on update and
	// delete requests to ensure the client has an up-to-date value before
	// proceeding.
	Etag *string `protobuf:"bytes,14,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

The ServiceConnectionMap resource.

func (*ServiceConnectionMap) Descriptor

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

Deprecated: Use ServiceConnectionMap.ProtoReflect.Descriptor instead.

func (*ServiceConnectionMap) GetConsumerPscConfigs

func (x *ServiceConnectionMap) GetConsumerPscConfigs() []*ServiceConnectionMap_ConsumerPscConfig

func (*ServiceConnectionMap) GetConsumerPscConnections

func (x *ServiceConnectionMap) GetConsumerPscConnections() []*ServiceConnectionMap_ConsumerPscConnection

func (*ServiceConnectionMap) GetCreateTime

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

func (*ServiceConnectionMap) GetDescription

func (x *ServiceConnectionMap) GetDescription() string

func (*ServiceConnectionMap) GetEtag

func (x *ServiceConnectionMap) GetEtag() string

func (*ServiceConnectionMap) GetInfrastructure

func (x *ServiceConnectionMap) GetInfrastructure() Infrastructure

func (*ServiceConnectionMap) GetLabels

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

func (*ServiceConnectionMap) GetName

func (x *ServiceConnectionMap) GetName() string

func (*ServiceConnectionMap) GetProducerPscConfigs

func (x *ServiceConnectionMap) GetProducerPscConfigs() []*ServiceConnectionMap_ProducerPscConfig

func (*ServiceConnectionMap) GetServiceClass

func (x *ServiceConnectionMap) GetServiceClass() string

func (*ServiceConnectionMap) GetServiceClassUri

func (x *ServiceConnectionMap) GetServiceClassUri() string

func (*ServiceConnectionMap) GetToken

func (x *ServiceConnectionMap) GetToken() string

func (*ServiceConnectionMap) GetUpdateTime

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

func (*ServiceConnectionMap) ProtoMessage

func (*ServiceConnectionMap) ProtoMessage()

func (*ServiceConnectionMap) ProtoReflect

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

func (*ServiceConnectionMap) Reset

func (x *ServiceConnectionMap) Reset()

func (*ServiceConnectionMap) String

func (x *ServiceConnectionMap) String() string

type ServiceConnectionMap_ConsumerPscConfig

type ServiceConnectionMap_ConsumerPscConfig struct {

	// The consumer project where PSC connections are allowed to be created in.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The resource path of the consumer network where PSC connections are
	// allowed to be created in. Note, this network does not need be in the
	// ConsumerPscConfig.project in the case of SharedVPC.
	// Example:
	// projects/{projectNumOrId}/global/networks/{networkId}.
	Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	// This is used in PSC consumer ForwardingRule to control whether the PSC
	// endpoint can be accessed from another region.
	DisableGlobalAccess bool `protobuf:"varint,3,opt,name=disable_global_access,json=disableGlobalAccess,proto3" json:"disable_global_access,omitempty"`
	// Output only. Overall state of PSC Connections management for this
	// consumer psc config.
	State ServiceConnectionMap_ConsumerPscConfig_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.ServiceConnectionMap_ConsumerPscConfig_State" json:"state,omitempty"`
	// Immutable. Deprecated. Use producer_instance_metadata instead.
	// An immutable identifier for the producer instance.
	//
	// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
	ProducerInstanceId string `protobuf:"bytes,5,opt,name=producer_instance_id,json=producerInstanceId,proto3" json:"producer_instance_id,omitempty"`
	// Output only. A map to store mapping between customer vip and target
	// service attachment. Only service attachment with producer specified ip
	// addresses are stored here.
	ServiceAttachmentIpAddressMap map[string]string `protobuf:"bytes,6,rep,name=service_attachment_ip_address_map,json=serviceAttachmentIpAddressMap,proto3" json:"service_attachment_ip_address_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Required. The project ID or project number of the consumer project. This
	// project is the one that the consumer uses to interact with the producer
	// instance. From the perspective of a consumer who's created a producer
	// instance, this is the project of the producer instance. Format:
	// 'projects/<project_id_or_number>' Eg. 'projects/consumer-project' or
	// 'projects/1234'
	ConsumerInstanceProject string `protobuf:"bytes,7,opt,name=consumer_instance_project,json=consumerInstanceProject,proto3" json:"consumer_instance_project,omitempty"`
	// Immutable. An immutable map for the producer instance metadata.
	ProducerInstanceMetadata map[string]string `protobuf:"bytes,8,rep,name=producer_instance_metadata,json=producerInstanceMetadata,proto3" json:"producer_instance_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// The requested IP version for the PSC connection.
	IpVersion *IPVersion `protobuf:"varint,9,opt,name=ip_version,json=ipVersion,proto3,enum=google.cloud.networkconnectivity.v1.IPVersion,oneof" json:"ip_version,omitempty"`
	// contains filtered or unexported fields
}

Allow the producer to specify which consumers can connect to it.

func (*ServiceConnectionMap_ConsumerPscConfig) Descriptor

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

Deprecated: Use ServiceConnectionMap_ConsumerPscConfig.ProtoReflect.Descriptor instead.

func (*ServiceConnectionMap_ConsumerPscConfig) GetConsumerInstanceProject

func (x *ServiceConnectionMap_ConsumerPscConfig) GetConsumerInstanceProject() string

func (*ServiceConnectionMap_ConsumerPscConfig) GetDisableGlobalAccess

func (x *ServiceConnectionMap_ConsumerPscConfig) GetDisableGlobalAccess() bool

func (*ServiceConnectionMap_ConsumerPscConfig) GetIpVersion

func (*ServiceConnectionMap_ConsumerPscConfig) GetNetwork

func (*ServiceConnectionMap_ConsumerPscConfig) GetProducerInstanceId

func (x *ServiceConnectionMap_ConsumerPscConfig) GetProducerInstanceId() string

Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.

func (*ServiceConnectionMap_ConsumerPscConfig) GetProducerInstanceMetadata

func (x *ServiceConnectionMap_ConsumerPscConfig) GetProducerInstanceMetadata() map[string]string

func (*ServiceConnectionMap_ConsumerPscConfig) GetProject

func (*ServiceConnectionMap_ConsumerPscConfig) GetServiceAttachmentIpAddressMap

func (x *ServiceConnectionMap_ConsumerPscConfig) GetServiceAttachmentIpAddressMap() map[string]string

func (*ServiceConnectionMap_ConsumerPscConfig) GetState

func (*ServiceConnectionMap_ConsumerPscConfig) ProtoMessage

func (*ServiceConnectionMap_ConsumerPscConfig) ProtoReflect

func (*ServiceConnectionMap_ConsumerPscConfig) Reset

func (*ServiceConnectionMap_ConsumerPscConfig) String

type ServiceConnectionMap_ConsumerPscConfig_State

type ServiceConnectionMap_ConsumerPscConfig_State int32

PSC Consumer Config State.

const (
	// Default state, when Connection Map is created initially.
	ServiceConnectionMap_ConsumerPscConfig_STATE_UNSPECIFIED ServiceConnectionMap_ConsumerPscConfig_State = 0
	// Set when policy and map configuration is valid,
	// and their matching can lead to allowing creation of PSC Connections
	// subject to other constraints like connections limit.
	ServiceConnectionMap_ConsumerPscConfig_VALID ServiceConnectionMap_ConsumerPscConfig_State = 1
	// No Service Connection Policy found for this network and Service
	// Class
	ServiceConnectionMap_ConsumerPscConfig_CONNECTION_POLICY_MISSING ServiceConnectionMap_ConsumerPscConfig_State = 2
	// Service Connection Policy limit reached for this network and Service
	// Class
	ServiceConnectionMap_ConsumerPscConfig_POLICY_LIMIT_REACHED ServiceConnectionMap_ConsumerPscConfig_State = 3
	// The consumer instance project is not in
	// AllowedGoogleProducersResourceHierarchyLevels of the matching
	// ServiceConnectionPolicy.
	ServiceConnectionMap_ConsumerPscConfig_CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED ServiceConnectionMap_ConsumerPscConfig_State = 4
)

func (ServiceConnectionMap_ConsumerPscConfig_State) Descriptor

func (ServiceConnectionMap_ConsumerPscConfig_State) Enum

func (ServiceConnectionMap_ConsumerPscConfig_State) EnumDescriptor

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

Deprecated: Use ServiceConnectionMap_ConsumerPscConfig_State.Descriptor instead.

func (ServiceConnectionMap_ConsumerPscConfig_State) Number

func (ServiceConnectionMap_ConsumerPscConfig_State) String

func (ServiceConnectionMap_ConsumerPscConfig_State) Type

type ServiceConnectionMap_ConsumerPscConnection

type ServiceConnectionMap_ConsumerPscConnection struct {

	// The URI of a service attachment which is the target of the PSC
	// connection.
	ServiceAttachmentUri string `protobuf:"bytes,1,opt,name=service_attachment_uri,json=serviceAttachmentUri,proto3" json:"service_attachment_uri,omitempty"`
	// The state of the PSC connection.
	State ServiceConnectionMap_ConsumerPscConnection_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.ServiceConnectionMap_ConsumerPscConnection_State" json:"state,omitempty"`
	// The consumer project whose PSC forwarding rule is connected to the
	// service attachments in this service connection map.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// The consumer network whose PSC forwarding rule is connected to the
	// service attachments in this service connection map.
	// Note that the network could be on a different project (shared VPC).
	Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	// The PSC connection id of the PSC forwarding rule connected
	// to the service attachments in this service connection map.
	PscConnectionId string `protobuf:"bytes,5,opt,name=psc_connection_id,json=pscConnectionId,proto3" json:"psc_connection_id,omitempty"`
	// The IP literal allocated on the consumer network for the PSC forwarding
	// rule that is created to connect to the producer service attachment in
	// this service connection map.
	Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"`
	// The error type indicates whether the error is consumer facing, producer
	// facing or system internal.
	//
	// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
	ErrorType ConnectionErrorType `protobuf:"varint,7,opt,name=error_type,json=errorType,proto3,enum=google.cloud.networkconnectivity.v1.ConnectionErrorType" json:"error_type,omitempty"`
	// The most recent error during operating this connection.
	//
	// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
	Error *status.Status `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
	// The last Compute Engine operation to setup PSC connection.
	GceOperation string `protobuf:"bytes,9,opt,name=gce_operation,json=gceOperation,proto3" json:"gce_operation,omitempty"`
	// The URI of the consumer forwarding rule created.
	// Example:
	// projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
	ForwardingRule string `protobuf:"bytes,10,opt,name=forwarding_rule,json=forwardingRule,proto3" json:"forwarding_rule,omitempty"`
	// Output only. The error info for the latest error during operating this
	// connection.
	ErrorInfo *errdetails.ErrorInfo `protobuf:"bytes,11,opt,name=error_info,json=errorInfo,proto3" json:"error_info,omitempty"`
	// Output only. The URI of the selected subnetwork selected to allocate IP
	// address for this connection.
	SelectedSubnetwork string `protobuf:"bytes,12,opt,name=selected_subnetwork,json=selectedSubnetwork,proto3" json:"selected_subnetwork,omitempty"`
	// Immutable. Deprecated. Use producer_instance_metadata instead.
	// An immutable identifier for the producer instance.
	//
	// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
	ProducerInstanceId string `protobuf:"bytes,13,opt,name=producer_instance_id,json=producerInstanceId,proto3" json:"producer_instance_id,omitempty"`
	// Immutable. An immutable map for the producer instance metadata.
	ProducerInstanceMetadata map[string]string `protobuf:"bytes,14,rep,name=producer_instance_metadata,json=producerInstanceMetadata,proto3" json:"producer_instance_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// The requested IP version for the PSC connection.
	IpVersion *IPVersion `protobuf:"varint,15,opt,name=ip_version,json=ipVersion,proto3,enum=google.cloud.networkconnectivity.v1.IPVersion,oneof" json:"ip_version,omitempty"`
	// contains filtered or unexported fields
}

PSC connection details on consumer side.

func (*ServiceConnectionMap_ConsumerPscConnection) Descriptor

Deprecated: Use ServiceConnectionMap_ConsumerPscConnection.ProtoReflect.Descriptor instead.

func (*ServiceConnectionMap_ConsumerPscConnection) GetError

Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.

func (*ServiceConnectionMap_ConsumerPscConnection) GetErrorInfo

func (*ServiceConnectionMap_ConsumerPscConnection) GetErrorType

Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.

func (*ServiceConnectionMap_ConsumerPscConnection) GetForwardingRule

func (x *ServiceConnectionMap_ConsumerPscConnection) GetForwardingRule() string

func (*ServiceConnectionMap_ConsumerPscConnection) GetGceOperation

func (*ServiceConnectionMap_ConsumerPscConnection) GetIp

func (*ServiceConnectionMap_ConsumerPscConnection) GetIpVersion

func (*ServiceConnectionMap_ConsumerPscConnection) GetNetwork

func (*ServiceConnectionMap_ConsumerPscConnection) GetProducerInstanceId

func (x *ServiceConnectionMap_ConsumerPscConnection) GetProducerInstanceId() string

Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.

func (*ServiceConnectionMap_ConsumerPscConnection) GetProducerInstanceMetadata

func (x *ServiceConnectionMap_ConsumerPscConnection) GetProducerInstanceMetadata() map[string]string

func (*ServiceConnectionMap_ConsumerPscConnection) GetProject

func (*ServiceConnectionMap_ConsumerPscConnection) GetPscConnectionId

func (x *ServiceConnectionMap_ConsumerPscConnection) GetPscConnectionId() string

func (*ServiceConnectionMap_ConsumerPscConnection) GetSelectedSubnetwork

func (x *ServiceConnectionMap_ConsumerPscConnection) GetSelectedSubnetwork() string

func (*ServiceConnectionMap_ConsumerPscConnection) GetServiceAttachmentUri

func (x *ServiceConnectionMap_ConsumerPscConnection) GetServiceAttachmentUri() string

func (*ServiceConnectionMap_ConsumerPscConnection) GetState

func (*ServiceConnectionMap_ConsumerPscConnection) ProtoMessage

func (*ServiceConnectionMap_ConsumerPscConnection) ProtoReflect

func (*ServiceConnectionMap_ConsumerPscConnection) Reset

func (*ServiceConnectionMap_ConsumerPscConnection) String

type ServiceConnectionMap_ConsumerPscConnection_State

type ServiceConnectionMap_ConsumerPscConnection_State int32

The state of the PSC connection. We reserve the right to add more states without notice in the future. Users should not use exhaustive switch statements on this enum. See https://google.aip.dev/216.

const (
	// An invalid state as the default case.
	ServiceConnectionMap_ConsumerPscConnection_STATE_UNSPECIFIED ServiceConnectionMap_ConsumerPscConnection_State = 0
	// The connection has been created successfully. However, for the
	// up-to-date connection status, please use the service attachment's
	// "ConnectedEndpoint.status" as the source of truth.
	ServiceConnectionMap_ConsumerPscConnection_ACTIVE ServiceConnectionMap_ConsumerPscConnection_State = 1
	// The connection is not functional since some resources on the connection
	// fail to be created.
	ServiceConnectionMap_ConsumerPscConnection_FAILED ServiceConnectionMap_ConsumerPscConnection_State = 2
	// The connection is being created.
	ServiceConnectionMap_ConsumerPscConnection_CREATING ServiceConnectionMap_ConsumerPscConnection_State = 3
	// The connection is being deleted.
	ServiceConnectionMap_ConsumerPscConnection_DELETING ServiceConnectionMap_ConsumerPscConnection_State = 4
	// The connection is being repaired to complete creation.
	ServiceConnectionMap_ConsumerPscConnection_CREATE_REPAIRING ServiceConnectionMap_ConsumerPscConnection_State = 5
	// The connection is being repaired to complete deletion.
	ServiceConnectionMap_ConsumerPscConnection_DELETE_REPAIRING ServiceConnectionMap_ConsumerPscConnection_State = 6
)

func (ServiceConnectionMap_ConsumerPscConnection_State) Descriptor

func (ServiceConnectionMap_ConsumerPscConnection_State) Enum

func (ServiceConnectionMap_ConsumerPscConnection_State) EnumDescriptor

Deprecated: Use ServiceConnectionMap_ConsumerPscConnection_State.Descriptor instead.

func (ServiceConnectionMap_ConsumerPscConnection_State) Number

func (ServiceConnectionMap_ConsumerPscConnection_State) String

func (ServiceConnectionMap_ConsumerPscConnection_State) Type

type ServiceConnectionMap_ProducerPscConfig

type ServiceConnectionMap_ProducerPscConfig struct {

	// The resource path of a service attachment.
	// Example:
	// projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.
	ServiceAttachmentUri string `protobuf:"bytes,1,opt,name=service_attachment_uri,json=serviceAttachmentUri,proto3" json:"service_attachment_uri,omitempty"`
	// contains filtered or unexported fields
}

The PSC configurations on producer side.

func (*ServiceConnectionMap_ProducerPscConfig) Descriptor

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

Deprecated: Use ServiceConnectionMap_ProducerPscConfig.ProtoReflect.Descriptor instead.

func (*ServiceConnectionMap_ProducerPscConfig) GetServiceAttachmentUri

func (x *ServiceConnectionMap_ProducerPscConfig) GetServiceAttachmentUri() string

func (*ServiceConnectionMap_ProducerPscConfig) ProtoMessage

func (*ServiceConnectionMap_ProducerPscConfig) ProtoReflect

func (*ServiceConnectionMap_ProducerPscConfig) Reset

func (*ServiceConnectionMap_ProducerPscConfig) String

type ServiceConnectionPolicy

type ServiceConnectionPolicy struct {

	// Immutable. The name of a ServiceConnectionPolicy.
	// Format:
	// projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy}
	// See: https://google.aip.dev/122#fields-representing-resource-names
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Time when the ServiceConnectionPolicy was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when the ServiceConnectionPolicy was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined labels.
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// A description of this resource.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// The resource path of the consumer network.
	// Example:
	// - projects/{projectNumOrId}/global/networks/{resourceId}.
	Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
	// The service class identifier for which this ServiceConnectionPolicy is for.
	// The service class identifier is a unique, symbolic representation of a
	// ServiceClass. It is provided by the Service Producer. Google services have
	// a prefix of gcp or google-cloud. For example, gcp-memorystore-redis or
	// google-cloud-sql. 3rd party services do not. For example,
	// test-service-a3dfcx.
	ServiceClass string `protobuf:"bytes,7,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
	// Output only. The type of underlying resources used to create the
	// connection.
	Infrastructure Infrastructure `protobuf:"varint,8,opt,name=infrastructure,proto3,enum=google.cloud.networkconnectivity.v1.Infrastructure" json:"infrastructure,omitempty"`
	// Configuration used for Private Service Connect connections. Used when
	// Infrastructure is PSC.
	PscConfig *ServiceConnectionPolicy_PscConfig `protobuf:"bytes,9,opt,name=psc_config,json=pscConfig,proto3" json:"psc_config,omitempty"`
	// Output only. [Output only] Information about each Private Service Connect
	// connection.
	PscConnections []*ServiceConnectionPolicy_PscConnection `protobuf:"bytes,10,rep,name=psc_connections,json=pscConnections,proto3" json:"psc_connections,omitempty"`
	// Optional. The etag is computed by the server, and may be sent on update and
	// delete requests to ensure the client has an up-to-date value before
	// proceeding.
	Etag *string `protobuf:"bytes,11,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

The ServiceConnectionPolicy resource.

func (*ServiceConnectionPolicy) Descriptor

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

Deprecated: Use ServiceConnectionPolicy.ProtoReflect.Descriptor instead.

func (*ServiceConnectionPolicy) GetCreateTime

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

func (*ServiceConnectionPolicy) GetDescription

func (x *ServiceConnectionPolicy) GetDescription() string

func (*ServiceConnectionPolicy) GetEtag

func (x *ServiceConnectionPolicy) GetEtag() string

func (*ServiceConnectionPolicy) GetInfrastructure

func (x *ServiceConnectionPolicy) GetInfrastructure() Infrastructure

func (*ServiceConnectionPolicy) GetLabels

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

func (*ServiceConnectionPolicy) GetName

func (x *ServiceConnectionPolicy) GetName() string

func (*ServiceConnectionPolicy) GetNetwork

func (x *ServiceConnectionPolicy) GetNetwork() string

func (*ServiceConnectionPolicy) GetPscConfig

func (*ServiceConnectionPolicy) GetPscConnections

func (*ServiceConnectionPolicy) GetServiceClass

func (x *ServiceConnectionPolicy) GetServiceClass() string

func (*ServiceConnectionPolicy) GetUpdateTime

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

func (*ServiceConnectionPolicy) ProtoMessage

func (*ServiceConnectionPolicy) ProtoMessage()

func (*ServiceConnectionPolicy) ProtoReflect

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

func (*ServiceConnectionPolicy) Reset

func (x *ServiceConnectionPolicy) Reset()

func (*ServiceConnectionPolicy) String

func (x *ServiceConnectionPolicy) String() string

type ServiceConnectionPolicy_PscConfig

type ServiceConnectionPolicy_PscConfig struct {

	// The resource paths of subnetworks to use for IP address management.
	// Example:
	// projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
	Subnetworks []string `protobuf:"bytes,1,rep,name=subnetworks,proto3" json:"subnetworks,omitempty"`
	// Optional. Max number of PSC connections for this policy.
	Limit *int64 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	// Required. ProducerInstanceLocation is used to specify which authorization
	// mechanism to use to determine which projects the Producer instance can be
	// within.
	ProducerInstanceLocation ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation `protobuf:"varint,3,opt,name=producer_instance_location,json=producerInstanceLocation,proto3,enum=google.cloud.networkconnectivity.v1.ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation" json:"producer_instance_location,omitempty"`
	// Optional. List of Projects, Folders, or Organizations from where the
	// Producer instance can be within. For example, a network administrator can
	// provide both 'organizations/foo' and 'projects/bar' as
	// allowed_google_producers_resource_hierarchy_levels. This allowlists this
	// network to connect with any Producer instance within the 'foo'
	// organization or the 'bar' project. By default,
	// allowed_google_producers_resource_hierarchy_level is empty. The format
	// for each allowed_google_producers_resource_hierarchy_level is <resource
	// type>/<id> where <resource type> is one of 'projects', 'folders', or
	// 'organizations' and <id> is either the ID or the number of the resource
	// type. Format for each allowed_google_producers_resource_hierarchy_level
	// value: 'projects/<project_id_or_number>' or 'folders/<folder_id>' or
	// 'organizations/<organization_id>'
	// Eg. [projects/my-project-id, projects/567, folders/891,
	// organizations/123]
	AllowedGoogleProducersResourceHierarchyLevel []string `protobuf:"bytes,4,rep,name=allowed_google_producers_resource_hierarchy_level,json=allowedGoogleProducersResourceHierarchyLevel,proto3" json:"allowed_google_producers_resource_hierarchy_level,omitempty"`
	// contains filtered or unexported fields
}

Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.

func (*ServiceConnectionPolicy_PscConfig) Descriptor

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

Deprecated: Use ServiceConnectionPolicy_PscConfig.ProtoReflect.Descriptor instead.

func (*ServiceConnectionPolicy_PscConfig) GetAllowedGoogleProducersResourceHierarchyLevel

func (x *ServiceConnectionPolicy_PscConfig) GetAllowedGoogleProducersResourceHierarchyLevel() []string

func (*ServiceConnectionPolicy_PscConfig) GetLimit

func (*ServiceConnectionPolicy_PscConfig) GetProducerInstanceLocation

func (*ServiceConnectionPolicy_PscConfig) GetSubnetworks

func (x *ServiceConnectionPolicy_PscConfig) GetSubnetworks() []string

func (*ServiceConnectionPolicy_PscConfig) ProtoMessage

func (*ServiceConnectionPolicy_PscConfig) ProtoMessage()

func (*ServiceConnectionPolicy_PscConfig) ProtoReflect

func (*ServiceConnectionPolicy_PscConfig) Reset

func (*ServiceConnectionPolicy_PscConfig) String

type ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation

type ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation int32

ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.

const (
	// Producer instance location is not specified. When this option is
	// chosen, then the PSC connections created by this
	// ServiceConnectionPolicy must be within the same project as the Producer
	// instance. This is the default ProducerInstanceLocation value.
	// To allow for PSC connections from this network to other networks, use
	// the CUSTOM_RESOURCE_HIERARCHY_LEVELS option.
	ServiceConnectionPolicy_PscConfig_PRODUCER_INSTANCE_LOCATION_UNSPECIFIED ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation = 0
	// Producer instance must be within one of the values provided in
	// allowed_google_producers_resource_hierarchy_level.
	ServiceConnectionPolicy_PscConfig_CUSTOM_RESOURCE_HIERARCHY_LEVELS ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation = 1
)

func (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) Descriptor

func (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) Enum

func (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) EnumDescriptor

Deprecated: Use ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation.Descriptor instead.

func (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) Number

func (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) String

func (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) Type

type ServiceConnectionPolicy_PscConnection

type ServiceConnectionPolicy_PscConnection struct {

	// State of the PSC Connection
	State ServiceConnectionPolicy_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.ServiceConnectionPolicy_State" json:"state,omitempty"`
	// The resource reference of the PSC Forwarding Rule within the consumer
	// VPC.
	ConsumerForwardingRule string `protobuf:"bytes,2,opt,name=consumer_forwarding_rule,json=consumerForwardingRule,proto3" json:"consumer_forwarding_rule,omitempty"`
	// The resource reference of the consumer address.
	ConsumerAddress string `protobuf:"bytes,3,opt,name=consumer_address,json=consumerAddress,proto3" json:"consumer_address,omitempty"`
	// The error type indicates whether the error is consumer facing, producer
	// facing or system internal.
	//
	// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
	ErrorType ConnectionErrorType `protobuf:"varint,4,opt,name=error_type,json=errorType,proto3,enum=google.cloud.networkconnectivity.v1.ConnectionErrorType" json:"error_type,omitempty"`
	// The most recent error during operating this connection.
	// Deprecated, please use error_info instead.
	//
	// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
	Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	// The last Compute Engine operation to setup PSC connection.
	GceOperation string `protobuf:"bytes,6,opt,name=gce_operation,json=gceOperation,proto3" json:"gce_operation,omitempty"`
	// The project where the PSC connection is created.
	ConsumerTargetProject string `protobuf:"bytes,7,opt,name=consumer_target_project,json=consumerTargetProject,proto3" json:"consumer_target_project,omitempty"`
	// The PSC connection id of the PSC forwarding rule.
	PscConnectionId string `protobuf:"bytes,8,opt,name=psc_connection_id,json=pscConnectionId,proto3" json:"psc_connection_id,omitempty"`
	// Output only. The error info for the latest error during operating this
	// connection.
	ErrorInfo *errdetails.ErrorInfo `protobuf:"bytes,9,opt,name=error_info,json=errorInfo,proto3" json:"error_info,omitempty"`
	// Output only. The URI of the subnetwork selected to allocate IP address
	// for this connection.
	SelectedSubnetwork string `protobuf:"bytes,10,opt,name=selected_subnetwork,json=selectedSubnetwork,proto3" json:"selected_subnetwork,omitempty"`
	// Immutable. Deprecated. Use producer_instance_metadata instead.
	// An immutable identifier for the producer instance.
	//
	// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
	ProducerInstanceId string `protobuf:"bytes,11,opt,name=producer_instance_id,json=producerInstanceId,proto3" json:"producer_instance_id,omitempty"`
	// Immutable. An immutable map for the producer instance metadata.
	ProducerInstanceMetadata map[string]string `protobuf:"bytes,12,rep,name=producer_instance_metadata,json=producerInstanceMetadata,proto3" json:"producer_instance_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Output only. [Output only] The service class associated with this PSC
	// Connection. The value is derived from the SCPolicy and matches the
	// service class name provided by the customer.
	ServiceClass string `protobuf:"bytes,13,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
	// The requested IP version for the PSC connection.
	IpVersion *IPVersion `protobuf:"varint,14,opt,name=ip_version,json=ipVersion,proto3,enum=google.cloud.networkconnectivity.v1.IPVersion,oneof" json:"ip_version,omitempty"`
	// contains filtered or unexported fields
}

Information about a specific Private Service Connect connection.

func (*ServiceConnectionPolicy_PscConnection) Descriptor

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

Deprecated: Use ServiceConnectionPolicy_PscConnection.ProtoReflect.Descriptor instead.

func (*ServiceConnectionPolicy_PscConnection) GetConsumerAddress

func (x *ServiceConnectionPolicy_PscConnection) GetConsumerAddress() string

func (*ServiceConnectionPolicy_PscConnection) GetConsumerForwardingRule

func (x *ServiceConnectionPolicy_PscConnection) GetConsumerForwardingRule() string

func (*ServiceConnectionPolicy_PscConnection) GetConsumerTargetProject

func (x *ServiceConnectionPolicy_PscConnection) GetConsumerTargetProject() string

func (*ServiceConnectionPolicy_PscConnection) GetError

Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.

func (*ServiceConnectionPolicy_PscConnection) GetErrorInfo

func (*ServiceConnectionPolicy_PscConnection) GetErrorType

Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.

func (*ServiceConnectionPolicy_PscConnection) GetGceOperation

func (x *ServiceConnectionPolicy_PscConnection) GetGceOperation() string

func (*ServiceConnectionPolicy_PscConnection) GetIpVersion

func (*ServiceConnectionPolicy_PscConnection) GetProducerInstanceId

func (x *ServiceConnectionPolicy_PscConnection) GetProducerInstanceId() string

Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.

func (*ServiceConnectionPolicy_PscConnection) GetProducerInstanceMetadata

func (x *ServiceConnectionPolicy_PscConnection) GetProducerInstanceMetadata() map[string]string

func (*ServiceConnectionPolicy_PscConnection) GetPscConnectionId

func (x *ServiceConnectionPolicy_PscConnection) GetPscConnectionId() string

func (*ServiceConnectionPolicy_PscConnection) GetSelectedSubnetwork

func (x *ServiceConnectionPolicy_PscConnection) GetSelectedSubnetwork() string

func (*ServiceConnectionPolicy_PscConnection) GetServiceClass

func (x *ServiceConnectionPolicy_PscConnection) GetServiceClass() string

func (*ServiceConnectionPolicy_PscConnection) GetState

func (*ServiceConnectionPolicy_PscConnection) ProtoMessage

func (*ServiceConnectionPolicy_PscConnection) ProtoMessage()

func (*ServiceConnectionPolicy_PscConnection) ProtoReflect

func (*ServiceConnectionPolicy_PscConnection) Reset

func (*ServiceConnectionPolicy_PscConnection) String

type ServiceConnectionPolicy_State

type ServiceConnectionPolicy_State int32

The state of the PSC connection. We reserve the right to add more states without notice in the future. Users should not use exhaustive switch statements on this enum. See https://google.aip.dev/216.

const (
	// An invalid state as the default case.
	ServiceConnectionPolicy_STATE_UNSPECIFIED ServiceConnectionPolicy_State = 0
	// The connection has been created successfully. However, for the
	// up-to-date connection status, please use the created forwarding rule's
	// "PscConnectionStatus" as the source of truth.
	ServiceConnectionPolicy_ACTIVE ServiceConnectionPolicy_State = 1
	// The connection is not functional since some resources on the connection
	// fail to be created.
	ServiceConnectionPolicy_FAILED ServiceConnectionPolicy_State = 2
	// The connection is being created.
	ServiceConnectionPolicy_CREATING ServiceConnectionPolicy_State = 3
	// The connection is being deleted.
	ServiceConnectionPolicy_DELETING ServiceConnectionPolicy_State = 4
	// The connection is being repaired to complete creation.
	ServiceConnectionPolicy_CREATE_REPAIRING ServiceConnectionPolicy_State = 5
	// The connection is being repaired to complete deletion.
	ServiceConnectionPolicy_DELETE_REPAIRING ServiceConnectionPolicy_State = 6
)

func (ServiceConnectionPolicy_State) Descriptor

func (ServiceConnectionPolicy_State) Enum

func (ServiceConnectionPolicy_State) EnumDescriptor

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

Deprecated: Use ServiceConnectionPolicy_State.Descriptor instead.

func (ServiceConnectionPolicy_State) Number

func (ServiceConnectionPolicy_State) String

func (ServiceConnectionPolicy_State) Type

type ServiceConnectionToken

type ServiceConnectionToken struct {

	// Immutable. The name of a ServiceConnectionToken.
	// Format:
	// projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token}
	// See: https://google.aip.dev/122#fields-representing-resource-names
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Time when the ServiceConnectionToken was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when the ServiceConnectionToken was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined labels.
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// A description of this resource.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// The resource path of the network associated with this token.
	// Example:
	// projects/{projectNumOrId}/global/networks/{resourceId}.
	Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
	// Output only. The token generated by Automation.
	Token string `protobuf:"bytes,7,opt,name=token,proto3" json:"token,omitempty"`
	// Output only. The time to which this token is valid.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// Optional. The etag is computed by the server, and may be sent on update and
	// delete requests to ensure the client has an up-to-date value before
	// proceeding.
	Etag *string `protobuf:"bytes,9,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

The ServiceConnectionToken resource.

func (*ServiceConnectionToken) Descriptor

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

Deprecated: Use ServiceConnectionToken.ProtoReflect.Descriptor instead.

func (*ServiceConnectionToken) GetCreateTime

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

func (*ServiceConnectionToken) GetDescription

func (x *ServiceConnectionToken) GetDescription() string

func (*ServiceConnectionToken) GetEtag

func (x *ServiceConnectionToken) GetEtag() string

func (*ServiceConnectionToken) GetExpireTime

func (x *ServiceConnectionToken) GetExpireTime() *timestamppb.Timestamp

func (*ServiceConnectionToken) GetLabels

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

func (*ServiceConnectionToken) GetName

func (x *ServiceConnectionToken) GetName() string

func (*ServiceConnectionToken) GetNetwork

func (x *ServiceConnectionToken) GetNetwork() string

func (*ServiceConnectionToken) GetToken

func (x *ServiceConnectionToken) GetToken() string

func (*ServiceConnectionToken) GetUpdateTime

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

func (*ServiceConnectionToken) ProtoMessage

func (*ServiceConnectionToken) ProtoMessage()

func (*ServiceConnectionToken) ProtoReflect

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

func (*ServiceConnectionToken) Reset

func (x *ServiceConnectionToken) Reset()

func (*ServiceConnectionToken) String

func (x *ServiceConnectionToken) String() string

type Spoke

type Spoke struct {

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

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

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

* linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances * linked_vpc_network

func (*Spoke) Descriptor

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

Deprecated: Use Spoke.ProtoReflect.Descriptor instead.

func (*Spoke) GetCreateTime

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

func (*Spoke) GetDescription

func (x *Spoke) GetDescription() string

func (*Spoke) GetEtag

func (x *Spoke) GetEtag() string

func (*Spoke) GetFieldPathsPendingUpdate

func (x *Spoke) GetFieldPathsPendingUpdate() []string

func (*Spoke) GetGroup

func (x *Spoke) GetGroup() string

func (*Spoke) GetHub

func (x *Spoke) GetHub() string

func (*Spoke) GetLabels

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

func (*Spoke) GetLinkedInterconnectAttachments

func (x *Spoke) GetLinkedInterconnectAttachments() *LinkedInterconnectAttachments

func (*Spoke) GetLinkedProducerVpcNetwork

func (x *Spoke) GetLinkedProducerVpcNetwork() *LinkedProducerVpcNetwork

func (*Spoke) GetLinkedRouterApplianceInstances

func (x *Spoke) GetLinkedRouterApplianceInstances() *LinkedRouterApplianceInstances

func (*Spoke) GetLinkedVpcNetwork

func (x *Spoke) GetLinkedVpcNetwork() *LinkedVpcNetwork

func (*Spoke) GetLinkedVpnTunnels

func (x *Spoke) GetLinkedVpnTunnels() *LinkedVpnTunnels

func (*Spoke) GetName

func (x *Spoke) GetName() string

func (*Spoke) GetReasons

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

func (*Spoke) GetSpokeType

func (x *Spoke) GetSpokeType() SpokeType

func (*Spoke) GetState

func (x *Spoke) GetState() State

func (*Spoke) GetUniqueId

func (x *Spoke) GetUniqueId() string

func (*Spoke) GetUpdateTime

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

func (*Spoke) ProtoMessage

func (*Spoke) ProtoMessage()

func (*Spoke) ProtoReflect

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

func (*Spoke) Reset

func (x *Spoke) Reset()

func (*Spoke) String

func (x *Spoke) String() string

type SpokeSummary

type SpokeSummary struct {

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

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

func (*SpokeSummary) Descriptor

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

Deprecated: Use SpokeSummary.ProtoReflect.Descriptor instead.

func (*SpokeSummary) GetSpokeStateCounts

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

func (*SpokeSummary) GetSpokeStateReasonCounts

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

func (*SpokeSummary) GetSpokeTypeCounts

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

func (*SpokeSummary) ProtoMessage

func (*SpokeSummary) ProtoMessage()

func (*SpokeSummary) ProtoReflect

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

func (*SpokeSummary) Reset

func (x *SpokeSummary) Reset()

func (*SpokeSummary) String

func (x *SpokeSummary) String() string

type SpokeSummary_SpokeStateCount

type SpokeSummary_SpokeStateCount struct {

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

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

func (*SpokeSummary_SpokeStateCount) Descriptor

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

Deprecated: Use SpokeSummary_SpokeStateCount.ProtoReflect.Descriptor instead.

func (*SpokeSummary_SpokeStateCount) GetCount

func (x *SpokeSummary_SpokeStateCount) GetCount() int64

func (*SpokeSummary_SpokeStateCount) GetState

func (x *SpokeSummary_SpokeStateCount) GetState() State

func (*SpokeSummary_SpokeStateCount) ProtoMessage

func (*SpokeSummary_SpokeStateCount) ProtoMessage()

func (*SpokeSummary_SpokeStateCount) ProtoReflect

func (*SpokeSummary_SpokeStateCount) Reset

func (x *SpokeSummary_SpokeStateCount) Reset()

func (*SpokeSummary_SpokeStateCount) String

type SpokeSummary_SpokeStateReasonCount

type SpokeSummary_SpokeStateReasonCount struct {

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

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

func (*SpokeSummary_SpokeStateReasonCount) Descriptor

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

Deprecated: Use SpokeSummary_SpokeStateReasonCount.ProtoReflect.Descriptor instead.

func (*SpokeSummary_SpokeStateReasonCount) GetCount

func (*SpokeSummary_SpokeStateReasonCount) GetStateReasonCode

func (*SpokeSummary_SpokeStateReasonCount) ProtoMessage

func (*SpokeSummary_SpokeStateReasonCount) ProtoMessage()

func (*SpokeSummary_SpokeStateReasonCount) ProtoReflect

func (*SpokeSummary_SpokeStateReasonCount) Reset

func (*SpokeSummary_SpokeStateReasonCount) String

type SpokeSummary_SpokeTypeCount

type SpokeSummary_SpokeTypeCount struct {

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

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

func (*SpokeSummary_SpokeTypeCount) Descriptor

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

Deprecated: Use SpokeSummary_SpokeTypeCount.ProtoReflect.Descriptor instead.

func (*SpokeSummary_SpokeTypeCount) GetCount

func (x *SpokeSummary_SpokeTypeCount) GetCount() int64

func (*SpokeSummary_SpokeTypeCount) GetSpokeType

func (x *SpokeSummary_SpokeTypeCount) GetSpokeType() SpokeType

func (*SpokeSummary_SpokeTypeCount) ProtoMessage

func (*SpokeSummary_SpokeTypeCount) ProtoMessage()

func (*SpokeSummary_SpokeTypeCount) ProtoReflect

func (*SpokeSummary_SpokeTypeCount) Reset

func (x *SpokeSummary_SpokeTypeCount) Reset()

func (*SpokeSummary_SpokeTypeCount) String

func (x *SpokeSummary_SpokeTypeCount) String() string

type SpokeType

type SpokeType int32

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

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

func (SpokeType) Descriptor

func (SpokeType) Descriptor() protoreflect.EnumDescriptor

func (SpokeType) Enum

func (x SpokeType) Enum() *SpokeType

func (SpokeType) EnumDescriptor

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

Deprecated: Use SpokeType.Descriptor instead.

func (SpokeType) Number

func (x SpokeType) Number() protoreflect.EnumNumber

func (SpokeType) String

func (x SpokeType) String() string

func (SpokeType) Type

type Spoke_StateReason

type Spoke_StateReason struct {

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

The reason a spoke is inactive.

func (*Spoke_StateReason) Descriptor

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

Deprecated: Use Spoke_StateReason.ProtoReflect.Descriptor instead.

func (*Spoke_StateReason) GetCode

func (*Spoke_StateReason) GetMessage

func (x *Spoke_StateReason) GetMessage() string

func (*Spoke_StateReason) GetUserDetails

func (x *Spoke_StateReason) GetUserDetails() string

func (*Spoke_StateReason) ProtoMessage

func (*Spoke_StateReason) ProtoMessage()

func (*Spoke_StateReason) ProtoReflect

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

func (*Spoke_StateReason) Reset

func (x *Spoke_StateReason) Reset()

func (*Spoke_StateReason) String

func (x *Spoke_StateReason) String() string

type Spoke_StateReason_Code

type Spoke_StateReason_Code int32

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

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

func (Spoke_StateReason_Code) Descriptor

func (Spoke_StateReason_Code) Enum

func (Spoke_StateReason_Code) EnumDescriptor

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

Deprecated: Use Spoke_StateReason_Code.Descriptor instead.

func (Spoke_StateReason_Code) Number

func (Spoke_StateReason_Code) String

func (x Spoke_StateReason_Code) String() string

func (Spoke_StateReason_Code) Type

type State

type State int32

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

const (
	// No state information available
	State_STATE_UNSPECIFIED State = 0
	// The resource's create operation is in progress.
	State_CREATING State = 1
	// The resource is active
	State_ACTIVE State = 2
	// The resource's delete operation is in progress.
	State_DELETING State = 3
	// The resource's accept operation is in progress.
	State_ACCEPTING State = 8
	// The resource's reject operation is in progress.
	State_REJECTING State = 9
	// The resource's update operation is in progress.
	State_UPDATING State = 6
	// The resource is inactive.
	State_INACTIVE State = 7
	// The hub associated with this spoke resource has been deleted.
	// This state applies to spoke resources only.
	State_OBSOLETE State = 10
	// The resource is in an undefined state due to resource creation or deletion
	// failure. You can try to delete the resource later or contact support for
	// help.
	State_FAILED State = 11
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor

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

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type UnimplementedCrossNetworkAutomationServiceServer

type UnimplementedCrossNetworkAutomationServiceServer struct {
}

UnimplementedCrossNetworkAutomationServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCrossNetworkAutomationServiceServer) CreateServiceConnectionMap

func (*UnimplementedCrossNetworkAutomationServiceServer) CreateServiceConnectionPolicy

func (*UnimplementedCrossNetworkAutomationServiceServer) CreateServiceConnectionToken

func (*UnimplementedCrossNetworkAutomationServiceServer) DeleteServiceClass

func (*UnimplementedCrossNetworkAutomationServiceServer) DeleteServiceConnectionMap

func (*UnimplementedCrossNetworkAutomationServiceServer) DeleteServiceConnectionPolicy

func (*UnimplementedCrossNetworkAutomationServiceServer) DeleteServiceConnectionToken

func (*UnimplementedCrossNetworkAutomationServiceServer) GetServiceClass

func (*UnimplementedCrossNetworkAutomationServiceServer) GetServiceConnectionMap

func (*UnimplementedCrossNetworkAutomationServiceServer) GetServiceConnectionPolicy

func (*UnimplementedCrossNetworkAutomationServiceServer) GetServiceConnectionToken

func (*UnimplementedCrossNetworkAutomationServiceServer) ListServiceClasses

func (*UnimplementedCrossNetworkAutomationServiceServer) ListServiceConnectionMaps

func (*UnimplementedCrossNetworkAutomationServiceServer) ListServiceConnectionPolicies

func (*UnimplementedCrossNetworkAutomationServiceServer) ListServiceConnectionTokens

func (*UnimplementedCrossNetworkAutomationServiceServer) UpdateServiceClass

func (*UnimplementedCrossNetworkAutomationServiceServer) UpdateServiceConnectionMap

func (*UnimplementedCrossNetworkAutomationServiceServer) UpdateServiceConnectionPolicy

type UnimplementedHubServiceServer

type UnimplementedHubServiceServer struct {
}

UnimplementedHubServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedHubServiceServer) AcceptHubSpoke

func (*UnimplementedHubServiceServer) AcceptSpokeUpdate

func (*UnimplementedHubServiceServer) CreateHub

func (*UnimplementedHubServiceServer) CreateSpoke

func (*UnimplementedHubServiceServer) DeleteHub

func (*UnimplementedHubServiceServer) DeleteSpoke

func (*UnimplementedHubServiceServer) GetGroup

func (*UnimplementedHubServiceServer) GetHub

func (*UnimplementedHubServiceServer) GetRoute

func (*UnimplementedHubServiceServer) GetRouteTable

func (*UnimplementedHubServiceServer) GetSpoke

func (*UnimplementedHubServiceServer) ListGroups

func (*UnimplementedHubServiceServer) ListHubSpokes

func (*UnimplementedHubServiceServer) ListHubs

func (*UnimplementedHubServiceServer) ListRouteTables

func (*UnimplementedHubServiceServer) ListRoutes

func (*UnimplementedHubServiceServer) ListSpokes

func (*UnimplementedHubServiceServer) QueryHubStatus

func (*UnimplementedHubServiceServer) RejectHubSpoke

func (*UnimplementedHubServiceServer) RejectSpokeUpdate

func (*UnimplementedHubServiceServer) UpdateGroup

func (*UnimplementedHubServiceServer) UpdateHub

func (*UnimplementedHubServiceServer) UpdateSpoke

type UnimplementedPolicyBasedRoutingServiceServer

type UnimplementedPolicyBasedRoutingServiceServer struct {
}

UnimplementedPolicyBasedRoutingServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedPolicyBasedRoutingServiceServer) CreatePolicyBasedRoute

func (*UnimplementedPolicyBasedRoutingServiceServer) DeletePolicyBasedRoute

func (*UnimplementedPolicyBasedRoutingServiceServer) GetPolicyBasedRoute

func (*UnimplementedPolicyBasedRoutingServiceServer) ListPolicyBasedRoutes

type UpdateGroupRequest

type UpdateGroupRequest struct {

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

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

func (*UpdateGroupRequest) Descriptor

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

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) GetGroup

func (x *UpdateGroupRequest) GetGroup() *Group

func (*UpdateGroupRequest) GetRequestId

func (x *UpdateGroupRequest) GetRequestId() string

func (*UpdateGroupRequest) GetUpdateMask

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

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect

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

func (*UpdateGroupRequest) Reset

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (x *UpdateGroupRequest) String() string

type UpdateHubRequest

type UpdateHubRequest struct {

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

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

func (*UpdateHubRequest) Descriptor

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

Deprecated: Use UpdateHubRequest.ProtoReflect.Descriptor instead.

func (*UpdateHubRequest) GetHub

func (x *UpdateHubRequest) GetHub() *Hub

func (*UpdateHubRequest) GetRequestId

func (x *UpdateHubRequest) GetRequestId() string

func (*UpdateHubRequest) GetUpdateMask

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

func (*UpdateHubRequest) ProtoMessage

func (*UpdateHubRequest) ProtoMessage()

func (*UpdateHubRequest) ProtoReflect

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

func (*UpdateHubRequest) Reset

func (x *UpdateHubRequest) Reset()

func (*UpdateHubRequest) String

func (x *UpdateHubRequest) String() string

type UpdateServiceClassRequest

type UpdateServiceClassRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// ServiceClass resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. New values to be patched into the resource.
	ServiceClass *ServiceClass `protobuf:"bytes,2,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request for UpdateServiceClass.

func (*UpdateServiceClassRequest) Descriptor

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

Deprecated: Use UpdateServiceClassRequest.ProtoReflect.Descriptor instead.

func (*UpdateServiceClassRequest) GetRequestId

func (x *UpdateServiceClassRequest) GetRequestId() string

func (*UpdateServiceClassRequest) GetServiceClass

func (x *UpdateServiceClassRequest) GetServiceClass() *ServiceClass

func (*UpdateServiceClassRequest) GetUpdateMask

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

func (*UpdateServiceClassRequest) ProtoMessage

func (*UpdateServiceClassRequest) ProtoMessage()

func (*UpdateServiceClassRequest) ProtoReflect

func (*UpdateServiceClassRequest) Reset

func (x *UpdateServiceClassRequest) Reset()

func (*UpdateServiceClassRequest) String

func (x *UpdateServiceClassRequest) String() string

type UpdateServiceConnectionMapRequest

type UpdateServiceConnectionMapRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// ServiceConnectionMap resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. New values to be patched into the resource.
	ServiceConnectionMap *ServiceConnectionMap `protobuf:"bytes,2,opt,name=service_connection_map,json=serviceConnectionMap,proto3" json:"service_connection_map,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request for UpdateServiceConnectionMap.

func (*UpdateServiceConnectionMapRequest) Descriptor

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

Deprecated: Use UpdateServiceConnectionMapRequest.ProtoReflect.Descriptor instead.

func (*UpdateServiceConnectionMapRequest) GetRequestId

func (x *UpdateServiceConnectionMapRequest) GetRequestId() string

func (*UpdateServiceConnectionMapRequest) GetServiceConnectionMap

func (x *UpdateServiceConnectionMapRequest) GetServiceConnectionMap() *ServiceConnectionMap

func (*UpdateServiceConnectionMapRequest) GetUpdateMask

func (*UpdateServiceConnectionMapRequest) ProtoMessage

func (*UpdateServiceConnectionMapRequest) ProtoMessage()

func (*UpdateServiceConnectionMapRequest) ProtoReflect

func (*UpdateServiceConnectionMapRequest) Reset

func (*UpdateServiceConnectionMapRequest) String

type UpdateServiceConnectionPolicyRequest

type UpdateServiceConnectionPolicyRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// ServiceConnectionPolicy resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. New values to be patched into the resource.
	ServiceConnectionPolicy *ServiceConnectionPolicy `protobuf:"bytes,2,opt,name=service_connection_policy,json=serviceConnectionPolicy,proto3" json:"service_connection_policy,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request for UpdateServiceConnectionPolicy.

func (*UpdateServiceConnectionPolicyRequest) Descriptor

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

Deprecated: Use UpdateServiceConnectionPolicyRequest.ProtoReflect.Descriptor instead.

func (*UpdateServiceConnectionPolicyRequest) GetRequestId

func (x *UpdateServiceConnectionPolicyRequest) GetRequestId() string

func (*UpdateServiceConnectionPolicyRequest) GetServiceConnectionPolicy

func (x *UpdateServiceConnectionPolicyRequest) GetServiceConnectionPolicy() *ServiceConnectionPolicy

func (*UpdateServiceConnectionPolicyRequest) GetUpdateMask

func (*UpdateServiceConnectionPolicyRequest) ProtoMessage

func (*UpdateServiceConnectionPolicyRequest) ProtoMessage()

func (*UpdateServiceConnectionPolicyRequest) ProtoReflect

func (*UpdateServiceConnectionPolicyRequest) Reset

func (*UpdateServiceConnectionPolicyRequest) String

type UpdateSpokeRequest

type UpdateSpokeRequest struct {

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

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

func (*UpdateSpokeRequest) Descriptor

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

Deprecated: Use UpdateSpokeRequest.ProtoReflect.Descriptor instead.

func (*UpdateSpokeRequest) GetRequestId

func (x *UpdateSpokeRequest) GetRequestId() string

func (*UpdateSpokeRequest) GetSpoke

func (x *UpdateSpokeRequest) GetSpoke() *Spoke

func (*UpdateSpokeRequest) GetUpdateMask

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

func (*UpdateSpokeRequest) ProtoMessage

func (*UpdateSpokeRequest) ProtoMessage()

func (*UpdateSpokeRequest) ProtoReflect

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

func (*UpdateSpokeRequest) Reset

func (x *UpdateSpokeRequest) Reset()

func (*UpdateSpokeRequest) String

func (x *UpdateSpokeRequest) String() string

Source Files

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

Version
v1.17.1 (latest)
Published
Apr 15, 2025
Platform
linux/amd64
Imports
15 packages
Last checked
2 weeks ago

Tools for package owners.