Package cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb (v1.4.0)

Variables

Endpoint_NetworkType_name, Endpoint_NetworkType_value

var (
	Endpoint_NetworkType_name = map[int32]string{
		0: "NETWORK_TYPE_UNSPECIFIED",
		1: "GCP_NETWORK",
		2: "NON_GCP_NETWORK",
	}
	Endpoint_NetworkType_value = map[string]int32{
		"NETWORK_TYPE_UNSPECIFIED": 0,
		"GCP_NETWORK":              1,
		"NON_GCP_NETWORK":          2,
	}
)

Enum value maps for Endpoint_NetworkType.

ReachabilityDetails_Result_name, ReachabilityDetails_Result_value

var (
	ReachabilityDetails_Result_name = map[int32]string{
		0: "RESULT_UNSPECIFIED",
		1: "REACHABLE",
		2: "UNREACHABLE",
		4: "AMBIGUOUS",
		5: "UNDETERMINED",
	}
	ReachabilityDetails_Result_value = map[string]int32{
		"RESULT_UNSPECIFIED": 0,
		"REACHABLE":          1,
		"UNREACHABLE":        2,
		"AMBIGUOUS":          4,
		"UNDETERMINED":       5,
	}
)

Enum value maps for ReachabilityDetails_Result.

Step_State_name, Step_State_value

var (
	Step_State_name = map[int32]string{
		0:  "STATE_UNSPECIFIED",
		1:  "START_FROM_INSTANCE",
		2:  "START_FROM_INTERNET",
		3:  "START_FROM_PRIVATE_NETWORK",
		21: "START_FROM_GKE_MASTER",
		22: "START_FROM_CLOUD_SQL_INSTANCE",
		4:  "APPLY_INGRESS_FIREWALL_RULE",
		5:  "APPLY_EGRESS_FIREWALL_RULE",
		6:  "APPLY_ROUTE",
		7:  "APPLY_FORWARDING_RULE",
		8:  "SPOOFING_APPROVED",
		9:  "ARRIVE_AT_INSTANCE",
		10: "ARRIVE_AT_INTERNAL_LOAD_BALANCER",
		11: "ARRIVE_AT_EXTERNAL_LOAD_BALANCER",
		12: "ARRIVE_AT_VPN_GATEWAY",
		13: "ARRIVE_AT_VPN_TUNNEL",
		14: "NAT",
		15: "PROXY_CONNECTION",
		16: "DELIVER",
		17: "DROP",
		18: "FORWARD",
		19: "ABORT",
		20: "VIEWER_PERMISSION_MISSING",
	}
	Step_State_value = map[string]int32{
		"STATE_UNSPECIFIED":                0,
		"START_FROM_INSTANCE":              1,
		"START_FROM_INTERNET":              2,
		"START_FROM_PRIVATE_NETWORK":       3,
		"START_FROM_GKE_MASTER":            21,
		"START_FROM_CLOUD_SQL_INSTANCE":    22,
		"APPLY_INGRESS_FIREWALL_RULE":      4,
		"APPLY_EGRESS_FIREWALL_RULE":       5,
		"APPLY_ROUTE":                      6,
		"APPLY_FORWARDING_RULE":            7,
		"SPOOFING_APPROVED":                8,
		"ARRIVE_AT_INSTANCE":               9,
		"ARRIVE_AT_INTERNAL_LOAD_BALANCER": 10,
		"ARRIVE_AT_EXTERNAL_LOAD_BALANCER": 11,
		"ARRIVE_AT_VPN_GATEWAY":            12,
		"ARRIVE_AT_VPN_TUNNEL":             13,
		"NAT":                              14,
		"PROXY_CONNECTION":                 15,
		"DELIVER":                          16,
		"DROP":                             17,
		"FORWARD":                          18,
		"ABORT":                            19,
		"VIEWER_PERMISSION_MISSING":        20,
	}
)

Enum value maps for Step_State.

FirewallInfo_FirewallRuleType_name, FirewallInfo_FirewallRuleType_value

var (
	FirewallInfo_FirewallRuleType_name = map[int32]string{
		0: "FIREWALL_RULE_TYPE_UNSPECIFIED",
		1: "HIERARCHICAL_FIREWALL_POLICY_RULE",
		2: "VPC_FIREWALL_RULE",
		3: "IMPLIED_VPC_FIREWALL_RULE",
	}
	FirewallInfo_FirewallRuleType_value = map[string]int32{
		"FIREWALL_RULE_TYPE_UNSPECIFIED":    0,
		"HIERARCHICAL_FIREWALL_POLICY_RULE": 1,
		"VPC_FIREWALL_RULE":                 2,
		"IMPLIED_VPC_FIREWALL_RULE":         3,
	}
)

Enum value maps for FirewallInfo_FirewallRuleType.

RouteInfo_RouteType_name, RouteInfo_RouteType_value

var (
	RouteInfo_RouteType_name = map[int32]string{
		0: "ROUTE_TYPE_UNSPECIFIED",
		1: "SUBNET",
		2: "STATIC",
		3: "DYNAMIC",
		4: "PEERING_SUBNET",
		5: "PEERING_STATIC",
		6: "PEERING_DYNAMIC",
	}
	RouteInfo_RouteType_value = map[string]int32{
		"ROUTE_TYPE_UNSPECIFIED": 0,
		"SUBNET":                 1,
		"STATIC":                 2,
		"DYNAMIC":                3,
		"PEERING_SUBNET":         4,
		"PEERING_STATIC":         5,
		"PEERING_DYNAMIC":        6,
	}
)

Enum value maps for RouteInfo_RouteType.

RouteInfo_NextHopType_name, RouteInfo_NextHopType_value

var (
	RouteInfo_NextHopType_name = map[int32]string{
		0:  "NEXT_HOP_TYPE_UNSPECIFIED",
		1:  "NEXT_HOP_IP",
		2:  "NEXT_HOP_INSTANCE",
		3:  "NEXT_HOP_NETWORK",
		4:  "NEXT_HOP_PEERING",
		5:  "NEXT_HOP_INTERCONNECT",
		6:  "NEXT_HOP_VPN_TUNNEL",
		7:  "NEXT_HOP_VPN_GATEWAY",
		8:  "NEXT_HOP_INTERNET_GATEWAY",
		9:  "NEXT_HOP_BLACKHOLE",
		10: "NEXT_HOP_ILB",
		11: "NEXT_HOP_ROUTER_APPLIANCE",
	}
	RouteInfo_NextHopType_value = map[string]int32{
		"NEXT_HOP_TYPE_UNSPECIFIED": 0,
		"NEXT_HOP_IP":               1,
		"NEXT_HOP_INSTANCE":         2,
		"NEXT_HOP_NETWORK":          3,
		"NEXT_HOP_PEERING":          4,
		"NEXT_HOP_INTERCONNECT":     5,
		"NEXT_HOP_VPN_TUNNEL":       6,
		"NEXT_HOP_VPN_GATEWAY":      7,
		"NEXT_HOP_INTERNET_GATEWAY": 8,
		"NEXT_HOP_BLACKHOLE":        9,
		"NEXT_HOP_ILB":              10,
		"NEXT_HOP_ROUTER_APPLIANCE": 11,
	}
)

Enum value maps for RouteInfo_NextHopType.

LoadBalancerInfo_LoadBalancerType_name, LoadBalancerInfo_LoadBalancerType_value

var (
	LoadBalancerInfo_LoadBalancerType_name = map[int32]string{
		0: "LOAD_BALANCER_TYPE_UNSPECIFIED",
		1: "INTERNAL_TCP_UDP",
		2: "NETWORK_TCP_UDP",
		3: "HTTP_PROXY",
		4: "TCP_PROXY",
		5: "SSL_PROXY",
	}
	LoadBalancerInfo_LoadBalancerType_value = map[string]int32{
		"LOAD_BALANCER_TYPE_UNSPECIFIED": 0,
		"INTERNAL_TCP_UDP":               1,
		"NETWORK_TCP_UDP":                2,
		"HTTP_PROXY":                     3,
		"TCP_PROXY":                      4,
		"SSL_PROXY":                      5,
	}
)

Enum value maps for LoadBalancerInfo_LoadBalancerType.

LoadBalancerInfo_BackendType_name, LoadBalancerInfo_BackendType_value

var (
	LoadBalancerInfo_BackendType_name = map[int32]string{
		0: "BACKEND_TYPE_UNSPECIFIED",
		1: "BACKEND_SERVICE",
		2: "TARGET_POOL",
	}
	LoadBalancerInfo_BackendType_value = map[string]int32{
		"BACKEND_TYPE_UNSPECIFIED": 0,
		"BACKEND_SERVICE":          1,
		"TARGET_POOL":              2,
	}
)

Enum value maps for LoadBalancerInfo_BackendType.

LoadBalancerBackend_HealthCheckFirewallState_name, LoadBalancerBackend_HealthCheckFirewallState_value

var (
	LoadBalancerBackend_HealthCheckFirewallState_name = map[int32]string{
		0: "HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED",
		1: "CONFIGURED",
		2: "MISCONFIGURED",
	}
	LoadBalancerBackend_HealthCheckFirewallState_value = map[string]int32{
		"HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED": 0,
		"CONFIGURED":    1,
		"MISCONFIGURED": 2,
	}
)

Enum value maps for LoadBalancerBackend_HealthCheckFirewallState.

VpnTunnelInfo_RoutingType_name, VpnTunnelInfo_RoutingType_value

var (
	VpnTunnelInfo_RoutingType_name = map[int32]string{
		0: "ROUTING_TYPE_UNSPECIFIED",
		1: "ROUTE_BASED",
		2: "POLICY_BASED",
		3: "DYNAMIC",
	}
	VpnTunnelInfo_RoutingType_value = map[string]int32{
		"ROUTING_TYPE_UNSPECIFIED": 0,
		"ROUTE_BASED":              1,
		"POLICY_BASED":             2,
		"DYNAMIC":                  3,
	}
)

Enum value maps for VpnTunnelInfo_RoutingType.

DeliverInfo_Target_name, DeliverInfo_Target_value

var (
	DeliverInfo_Target_name = map[int32]string{
		0: "TARGET_UNSPECIFIED",
		1: "INSTANCE",
		2: "INTERNET",
		3: "GOOGLE_API",
		4: "GKE_MASTER",
		5: "CLOUD_SQL_INSTANCE",
	}
	DeliverInfo_Target_value = map[string]int32{
		"TARGET_UNSPECIFIED": 0,
		"INSTANCE":           1,
		"INTERNET":           2,
		"GOOGLE_API":         3,
		"GKE_MASTER":         4,
		"CLOUD_SQL_INSTANCE": 5,
	}
)

Enum value maps for DeliverInfo_Target.

ForwardInfo_Target_name, ForwardInfo_Target_value

var (
	ForwardInfo_Target_name = map[int32]string{
		0: "TARGET_UNSPECIFIED",
		1: "PEERING_VPC",
		2: "VPN_GATEWAY",
		3: "INTERCONNECT",
		4: "GKE_MASTER",
		5: "IMPORTED_CUSTOM_ROUTE_NEXT_HOP",
		6: "CLOUD_SQL_INSTANCE",
	}
	ForwardInfo_Target_value = map[string]int32{
		"TARGET_UNSPECIFIED":             0,
		"PEERING_VPC":                    1,
		"VPN_GATEWAY":                    2,
		"INTERCONNECT":                   3,
		"GKE_MASTER":                     4,
		"IMPORTED_CUSTOM_ROUTE_NEXT_HOP": 5,
		"CLOUD_SQL_INSTANCE":             6,
	}
)

Enum value maps for ForwardInfo_Target.

AbortInfo_Cause_name, AbortInfo_Cause_value

var (
	AbortInfo_Cause_name = map[int32]string{
		0:  "CAUSE_UNSPECIFIED",
		1:  "UNKNOWN_NETWORK",
		2:  "UNKNOWN_IP",
		3:  "UNKNOWN_PROJECT",
		4:  "PERMISSION_DENIED",
		5:  "NO_SOURCE_LOCATION",
		6:  "INVALID_ARGUMENT",
		7:  "NO_EXTERNAL_IP",
		8:  "UNINTENDED_DESTINATION",
		9:  "TRACE_TOO_LONG",
		10: "INTERNAL_ERROR",
		11: "SOURCE_ENDPOINT_NOT_FOUND",
		12: "MISMATCHED_SOURCE_NETWORK",
		13: "DESTINATION_ENDPOINT_NOT_FOUND",
		14: "MISMATCHED_DESTINATION_NETWORK",
		15: "UNSUPPORTED",
	}
	AbortInfo_Cause_value = map[string]int32{
		"CAUSE_UNSPECIFIED":              0,
		"UNKNOWN_NETWORK":                1,
		"UNKNOWN_IP":                     2,
		"UNKNOWN_PROJECT":                3,
		"PERMISSION_DENIED":              4,
		"NO_SOURCE_LOCATION":             5,
		"INVALID_ARGUMENT":               6,
		"NO_EXTERNAL_IP":                 7,
		"UNINTENDED_DESTINATION":         8,
		"TRACE_TOO_LONG":                 9,
		"INTERNAL_ERROR":                 10,
		"SOURCE_ENDPOINT_NOT_FOUND":      11,
		"MISMATCHED_SOURCE_NETWORK":      12,
		"DESTINATION_ENDPOINT_NOT_FOUND": 13,
		"MISMATCHED_DESTINATION_NETWORK": 14,
		"UNSUPPORTED":                    15,
	}
)

Enum value maps for AbortInfo_Cause.

DropInfo_Cause_name, DropInfo_Cause_value

var (
	DropInfo_Cause_name = map[int32]string{
		0:  "CAUSE_UNSPECIFIED",
		1:  "UNKNOWN_EXTERNAL_ADDRESS",
		2:  "FOREIGN_IP_DISALLOWED",
		3:  "FIREWALL_RULE",
		4:  "NO_ROUTE",
		5:  "ROUTE_BLACKHOLE",
		6:  "ROUTE_WRONG_NETWORK",
		7:  "PRIVATE_TRAFFIC_TO_INTERNET",
		8:  "PRIVATE_GOOGLE_ACCESS_DISALLOWED",
		9:  "NO_EXTERNAL_ADDRESS",
		10: "UNKNOWN_INTERNAL_ADDRESS",
		11: "FORWARDING_RULE_MISMATCH",
		12: "FORWARDING_RULE_NO_INSTANCES",
		13: "FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK",
		14: "INSTANCE_NOT_RUNNING",
		15: "TRAFFIC_TYPE_BLOCKED",
		16: "GKE_MASTER_UNAUTHORIZED_ACCESS",
		17: "CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS",
		18: "DROPPED_INSIDE_GKE_SERVICE",
		19: "DROPPED_INSIDE_CLOUD_SQL_SERVICE",
		20: "GOOGLE_MANAGED_SERVICE_NO_PEERING",
		21: "CLOUD_SQL_INSTANCE_NO_IP_ADDRESS",
	}
	DropInfo_Cause_value = map[string]int32{
		"CAUSE_UNSPECIFIED":                                    0,
		"UNKNOWN_EXTERNAL_ADDRESS":                             1,
		"FOREIGN_IP_DISALLOWED":                                2,
		"FIREWALL_RULE":                                        3,
		"NO_ROUTE":                                             4,
		"ROUTE_BLACKHOLE":                                      5,
		"ROUTE_WRONG_NETWORK":                                  6,
		"PRIVATE_TRAFFIC_TO_INTERNET":                          7,
		"PRIVATE_GOOGLE_ACCESS_DISALLOWED":                     8,
		"NO_EXTERNAL_ADDRESS":                                  9,
		"UNKNOWN_INTERNAL_ADDRESS":                             10,
		"FORWARDING_RULE_MISMATCH":                             11,
		"FORWARDING_RULE_NO_INSTANCES":                         12,
		"FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK": 13,
		"INSTANCE_NOT_RUNNING":                                 14,
		"TRAFFIC_TYPE_BLOCKED":                                 15,
		"GKE_MASTER_UNAUTHORIZED_ACCESS":                       16,
		"CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS":               17,
		"DROPPED_INSIDE_GKE_SERVICE":                           18,
		"DROPPED_INSIDE_CLOUD_SQL_SERVICE":                     19,
		"GOOGLE_MANAGED_SERVICE_NO_PEERING":                    20,
		"CLOUD_SQL_INSTANCE_NO_IP_ADDRESS":                     21,
	}
)

Enum value maps for DropInfo_Cause.

File_google_cloud_networkmanagement_v1_connectivity_test_proto

var File_google_cloud_networkmanagement_v1_connectivity_test_proto protoreflect.FileDescriptor

File_google_cloud_networkmanagement_v1_reachability_proto

var File_google_cloud_networkmanagement_v1_reachability_proto protoreflect.FileDescriptor

File_google_cloud_networkmanagement_v1_trace_proto

var File_google_cloud_networkmanagement_v1_trace_proto protoreflect.FileDescriptor

Functions

func RegisterReachabilityServiceServer

func RegisterReachabilityServiceServer(s *grpc.Server, srv ReachabilityServiceServer)

AbortInfo

type AbortInfo struct {
	Cause AbortInfo_Cause `protobuf:"varint,1,opt,name=cause,proto3,enum=google.cloud.networkmanagement.v1.AbortInfo_Cause" json:"cause,omitempty"`

	ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`

	ProjectsMissingPermission []string "" /* 138 byte string literal not displayed */

}

Details of the final state "abort" and associated resource.

func (*AbortInfo) Descriptor

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

Deprecated: Use AbortInfo.ProtoReflect.Descriptor instead.

func (*AbortInfo) GetCause

func (x *AbortInfo) GetCause() AbortInfo_Cause

func (*AbortInfo) GetProjectsMissingPermission

func (x *AbortInfo) GetProjectsMissingPermission() []string

func (*AbortInfo) GetResourceUri

func (x *AbortInfo) GetResourceUri() string

func (*AbortInfo) ProtoMessage

func (*AbortInfo) ProtoMessage()

func (*AbortInfo) ProtoReflect

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

func (*AbortInfo) Reset

func (x *AbortInfo) Reset()

func (*AbortInfo) String

func (x *AbortInfo) String() string

AbortInfo_Cause

type AbortInfo_Cause int32

Abort cause types:

AbortInfo_CAUSE_UNSPECIFIED, AbortInfo_UNKNOWN_NETWORK, AbortInfo_UNKNOWN_IP, AbortInfo_UNKNOWN_PROJECT, AbortInfo_PERMISSION_DENIED, AbortInfo_NO_SOURCE_LOCATION, AbortInfo_INVALID_ARGUMENT, AbortInfo_NO_EXTERNAL_IP, AbortInfo_UNINTENDED_DESTINATION, AbortInfo_TRACE_TOO_LONG, AbortInfo_INTERNAL_ERROR, AbortInfo_SOURCE_ENDPOINT_NOT_FOUND, AbortInfo_MISMATCHED_SOURCE_NETWORK, AbortInfo_DESTINATION_ENDPOINT_NOT_FOUND, AbortInfo_MISMATCHED_DESTINATION_NETWORK, AbortInfo_UNSUPPORTED

const (
	// Cause is unspecified.
	AbortInfo_CAUSE_UNSPECIFIED AbortInfo_Cause = 0
	// Aborted due to unknown network.
	// The reachability analysis cannot proceed because the user does not have
	// access to the host project's network configurations, including firewall
	// rules and routes. This happens when the project is a service project and
	// the endpoints being traced are in the host project's network.
	AbortInfo_UNKNOWN_NETWORK AbortInfo_Cause = 1
	// Aborted because the IP address(es) are unknown.
	AbortInfo_UNKNOWN_IP AbortInfo_Cause = 2
	// Aborted because no project information can be derived from the test
	// input.
	AbortInfo_UNKNOWN_PROJECT AbortInfo_Cause = 3
	// Aborted because the user lacks the permission to access all or part of
	// the network configurations required to run the test.
	AbortInfo_PERMISSION_DENIED AbortInfo_Cause = 4
	// Aborted because no valid source endpoint is derived from the input test
	// request.
	AbortInfo_NO_SOURCE_LOCATION AbortInfo_Cause = 5
	// Aborted because the source and/or destination endpoint specified in
	// the test are invalid. The possible reasons that an endpoint is
	// invalid include: malformed IP address; nonexistent instance or
	// network URI; IP address not in the range of specified network URI; and
	// instance not owning the network interface in the specified network.
	AbortInfo_INVALID_ARGUMENT AbortInfo_Cause = 6
	// Aborted because traffic is sent from a public IP to an instance without
	// an external IP.
	AbortInfo_NO_EXTERNAL_IP AbortInfo_Cause = 7
	// Aborted because none of the traces matches destination information
	// specified in the input test request.
	AbortInfo_UNINTENDED_DESTINATION AbortInfo_Cause = 8
	// Aborted because the number of steps in the trace exceeding a certain
	// limit which may be caused by routing loop.
	AbortInfo_TRACE_TOO_LONG AbortInfo_Cause = 9
	// Aborted due to internal server error.
	AbortInfo_INTERNAL_ERROR AbortInfo_Cause = 10
	// Aborted because the source endpoint could not be found.
	AbortInfo_SOURCE_ENDPOINT_NOT_FOUND AbortInfo_Cause = 11
	// Aborted because the source network does not match the source endpoint.
	AbortInfo_MISMATCHED_SOURCE_NETWORK AbortInfo_Cause = 12
	// Aborted because the destination endpoint could not be found.
	AbortInfo_DESTINATION_ENDPOINT_NOT_FOUND AbortInfo_Cause = 13
	// Aborted because the destination network does not match the destination
	// endpoint.
	AbortInfo_MISMATCHED_DESTINATION_NETWORK AbortInfo_Cause = 14
	// Aborted because the test scenario is not supported.
	AbortInfo_UNSUPPORTED AbortInfo_Cause = 15
)

func (AbortInfo_Cause) Descriptor

func (AbortInfo_Cause) Enum

func (x AbortInfo_Cause) Enum() *AbortInfo_Cause

func (AbortInfo_Cause) EnumDescriptor

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

Deprecated: Use AbortInfo_Cause.Descriptor instead.

func (AbortInfo_Cause) Number

func (AbortInfo_Cause) String

func (x AbortInfo_Cause) String() string

func (AbortInfo_Cause) Type

CloudSQLInstanceInfo

type CloudSQLInstanceInfo struct {

	// Name of a Cloud SQL instance.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// URI of a Cloud SQL instance.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// URI of a Cloud SQL instance network or empty string if the instance does
	// not have one.
	NetworkUri string `protobuf:"bytes,4,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
	// Internal IP address of a Cloud SQL instance.
	InternalIp string `protobuf:"bytes,5,opt,name=internal_ip,json=internalIp,proto3" json:"internal_ip,omitempty"`
	// External IP address of a Cloud SQL instance.
	ExternalIp string `protobuf:"bytes,6,opt,name=external_ip,json=externalIp,proto3" json:"external_ip,omitempty"`
	// Region in which the Cloud SQL instance is running.
	Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

For display only. Metadata associated with a Cloud SQL instance.

func (*CloudSQLInstanceInfo) Descriptor

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

Deprecated: Use CloudSQLInstanceInfo.ProtoReflect.Descriptor instead.

func (*CloudSQLInstanceInfo) GetDisplayName

func (x *CloudSQLInstanceInfo) GetDisplayName() string

func (*CloudSQLInstanceInfo) GetExternalIp

func (x *CloudSQLInstanceInfo) GetExternalIp() string

func (*CloudSQLInstanceInfo) GetInternalIp

func (x *CloudSQLInstanceInfo) GetInternalIp() string

func (*CloudSQLInstanceInfo) GetNetworkUri

func (x *CloudSQLInstanceInfo) GetNetworkUri() string

func (*CloudSQLInstanceInfo) GetRegion

func (x *CloudSQLInstanceInfo) GetRegion() string

func (*CloudSQLInstanceInfo) GetUri

func (x *CloudSQLInstanceInfo) GetUri() string

func (*CloudSQLInstanceInfo) ProtoMessage

func (*CloudSQLInstanceInfo) ProtoMessage()

func (*CloudSQLInstanceInfo) ProtoReflect

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

func (*CloudSQLInstanceInfo) Reset

func (x *CloudSQLInstanceInfo) Reset()

func (*CloudSQLInstanceInfo) String

func (x *CloudSQLInstanceInfo) String() string

ConnectivityTest

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

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

	Source *Endpoint `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`

	Destination *Endpoint `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"`

	Protocol string `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`

	RelatedProjects []string `protobuf:"bytes,6,rep,name=related_projects,json=relatedProjects,proto3" json:"related_projects,omitempty"`

	DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

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

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

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

	ReachabilityDetails *ReachabilityDetails `protobuf:"bytes,12,opt,name=reachability_details,json=reachabilityDetails,proto3" json:"reachability_details,omitempty"`

}

A Connectivity Test for a network reachability analysis.

func (*ConnectivityTest) Descriptor

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

Deprecated: Use ConnectivityTest.ProtoReflect.Descriptor instead.

func (*ConnectivityTest) GetCreateTime

func (x *ConnectivityTest) GetCreateTime() *timestamp.Timestamp

func (*ConnectivityTest) GetDescription

func (x *ConnectivityTest) GetDescription() string

func (*ConnectivityTest) GetDestination

func (x *ConnectivityTest) GetDestination() *Endpoint

func (*ConnectivityTest) GetDisplayName

func (x *ConnectivityTest) GetDisplayName() string

func (*ConnectivityTest) GetLabels

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

func (*ConnectivityTest) GetName

func (x *ConnectivityTest) GetName() string

func (*ConnectivityTest) GetProtocol

func (x *ConnectivityTest) GetProtocol() string

func (*ConnectivityTest) GetReachabilityDetails

func (x *ConnectivityTest) GetReachabilityDetails() *ReachabilityDetails

func (*ConnectivityTest) GetRelatedProjects

func (x *ConnectivityTest) GetRelatedProjects() []string

func (*ConnectivityTest) GetSource

func (x *ConnectivityTest) GetSource() *Endpoint

func (*ConnectivityTest) GetUpdateTime

func (x *ConnectivityTest) GetUpdateTime() *timestamp.Timestamp

func (*ConnectivityTest) ProtoMessage

func (*ConnectivityTest) ProtoMessage()

func (*ConnectivityTest) ProtoReflect

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

func (*ConnectivityTest) Reset

func (x *ConnectivityTest) Reset()

func (*ConnectivityTest) String

func (x *ConnectivityTest) String() string

CreateConnectivityTestRequest

type CreateConnectivityTestRequest struct {

	// Required. The parent resource of the Connectivity Test to create:
	//
	//	`projects/{project_id}/locations/global`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The logical name of the Connectivity Test in your project
	// with the following restrictions:
	//
	// * Must contain only lowercase letters, numbers, and hyphens.
	// * Must start with a letter.
	// * Must be between 1-40 characters.
	// * Must end with a number or a letter.
	// * Must be unique within the customer project
	TestId string `protobuf:"bytes,2,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// Required. A `ConnectivityTest` resource
	Resource *ConnectivityTest `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

Request for the CreateConnectivityTest method.

func (*CreateConnectivityTestRequest) Descriptor

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

Deprecated: Use CreateConnectivityTestRequest.ProtoReflect.Descriptor instead.

func (*CreateConnectivityTestRequest) GetParent

func (x *CreateConnectivityTestRequest) GetParent() string

func (*CreateConnectivityTestRequest) GetResource

func (*CreateConnectivityTestRequest) GetTestId

func (x *CreateConnectivityTestRequest) GetTestId() string

func (*CreateConnectivityTestRequest) ProtoMessage

func (*CreateConnectivityTestRequest) ProtoMessage()

func (*CreateConnectivityTestRequest) ProtoReflect

func (*CreateConnectivityTestRequest) Reset

func (x *CreateConnectivityTestRequest) Reset()

func (*CreateConnectivityTestRequest) String

DeleteConnectivityTestRequest

type DeleteConnectivityTestRequest struct {

	// Required. Connectivity Test resource name using the form:
	//
	//	`projects/{project_id}/locations/global/connectivityTests/{test_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for the DeleteConnectivityTest method.

func (*DeleteConnectivityTestRequest) Descriptor

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

Deprecated: Use DeleteConnectivityTestRequest.ProtoReflect.Descriptor instead.

func (*DeleteConnectivityTestRequest) GetName

func (*DeleteConnectivityTestRequest) ProtoMessage

func (*DeleteConnectivityTestRequest) ProtoMessage()

func (*DeleteConnectivityTestRequest) ProtoReflect

func (*DeleteConnectivityTestRequest) Reset

func (x *DeleteConnectivityTestRequest) Reset()

func (*DeleteConnectivityTestRequest) String

DeliverInfo

type DeliverInfo struct {

	// Target type where the packet is delivered to.
	Target DeliverInfo_Target `protobuf:"varint,1,opt,name=target,proto3,enum=google.cloud.networkmanagement.v1.DeliverInfo_Target" json:"target,omitempty"`
	// URI of the resource that the packet is delivered to.
	ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
	// contains filtered or unexported fields
}

Details of the final state "deliver" and associated resource.

func (*DeliverInfo) Descriptor

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

Deprecated: Use DeliverInfo.ProtoReflect.Descriptor instead.

func (*DeliverInfo) GetResourceUri

func (x *DeliverInfo) GetResourceUri() string

func (*DeliverInfo) GetTarget

func (x *DeliverInfo) GetTarget() DeliverInfo_Target

func (*DeliverInfo) ProtoMessage

func (*DeliverInfo) ProtoMessage()

func (*DeliverInfo) ProtoReflect

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

func (*DeliverInfo) Reset

func (x *DeliverInfo) Reset()

func (*DeliverInfo) String

func (x *DeliverInfo) String() string

DeliverInfo_Target

type DeliverInfo_Target int32

Deliver target types:

DeliverInfo_TARGET_UNSPECIFIED, DeliverInfo_INSTANCE, DeliverInfo_INTERNET, DeliverInfo_GOOGLE_API, DeliverInfo_GKE_MASTER, DeliverInfo_CLOUD_SQL_INSTANCE

const (
	// Target not specified.
	DeliverInfo_TARGET_UNSPECIFIED DeliverInfo_Target = 0
	// Target is a Compute Engine instance.
	DeliverInfo_INSTANCE DeliverInfo_Target = 1
	// Target is the internet.
	DeliverInfo_INTERNET DeliverInfo_Target = 2
	// Target is a Google API.
	DeliverInfo_GOOGLE_API DeliverInfo_Target = 3
	// Target is a Google Kubernetes Engine cluster master.
	DeliverInfo_GKE_MASTER DeliverInfo_Target = 4
	// Target is a Cloud SQL instance.
	DeliverInfo_CLOUD_SQL_INSTANCE DeliverInfo_Target = 5
)

func (DeliverInfo_Target) Descriptor

func (DeliverInfo_Target) Enum

func (DeliverInfo_Target) EnumDescriptor

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

Deprecated: Use DeliverInfo_Target.Descriptor instead.

func (DeliverInfo_Target) Number

func (DeliverInfo_Target) String

func (x DeliverInfo_Target) String() string

func (DeliverInfo_Target) Type

DropInfo

type DropInfo struct {

	// Cause that the packet is dropped.
	Cause DropInfo_Cause `protobuf:"varint,1,opt,name=cause,proto3,enum=google.cloud.networkmanagement.v1.DropInfo_Cause" json:"cause,omitempty"`
	// URI of the resource that caused the drop.
	ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
	// contains filtered or unexported fields
}

Details of the final state "drop" and associated resource.

func (*DropInfo) Descriptor

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

Deprecated: Use DropInfo.ProtoReflect.Descriptor instead.

func (*DropInfo) GetCause

func (x *DropInfo) GetCause() DropInfo_Cause

func (*DropInfo) GetResourceUri

func (x *DropInfo) GetResourceUri() string

func (*DropInfo) ProtoMessage

func (*DropInfo) ProtoMessage()

func (*DropInfo) ProtoReflect

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

func (*DropInfo) Reset

func (x *DropInfo) Reset()

func (*DropInfo) String

func (x *DropInfo) String() string

DropInfo_Cause

type DropInfo_Cause int32

Drop cause types:

DropInfo_CAUSE_UNSPECIFIED, DropInfo_UNKNOWN_EXTERNAL_ADDRESS, DropInfo_FOREIGN_IP_DISALLOWED, DropInfo_FIREWALL_RULE, DropInfo_NO_ROUTE, DropInfo_ROUTE_BLACKHOLE, DropInfo_ROUTE_WRONG_NETWORK, DropInfo_PRIVATE_TRAFFIC_TO_INTERNET, DropInfo_PRIVATE_GOOGLE_ACCESS_DISALLOWED, DropInfo_NO_EXTERNAL_ADDRESS, DropInfo_UNKNOWN_INTERNAL_ADDRESS, DropInfo_FORWARDING_RULE_MISMATCH, DropInfo_FORWARDING_RULE_NO_INSTANCES, DropInfo_FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK, DropInfo_INSTANCE_NOT_RUNNING, DropInfo_TRAFFIC_TYPE_BLOCKED, DropInfo_GKE_MASTER_UNAUTHORIZED_ACCESS, DropInfo_CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS, DropInfo_DROPPED_INSIDE_GKE_SERVICE, DropInfo_DROPPED_INSIDE_CLOUD_SQL_SERVICE, DropInfo_GOOGLE_MANAGED_SERVICE_NO_PEERING, DropInfo_CLOUD_SQL_INSTANCE_NO_IP_ADDRESS

const (
	// Cause is unspecified.
	DropInfo_CAUSE_UNSPECIFIED DropInfo_Cause = 0
	// Destination external address cannot be resolved to a known target. If
	// the address is used in a Google Cloud project, provide the project ID
	// as test input.
	DropInfo_UNKNOWN_EXTERNAL_ADDRESS DropInfo_Cause = 1
	// A Compute Engine instance can only send or receive a packet with a
	// foreign IP address if ip_forward is enabled.
	DropInfo_FOREIGN_IP_DISALLOWED DropInfo_Cause = 2
	// Dropped due to a firewall rule, unless allowed due to connection
	// tracking.
	DropInfo_FIREWALL_RULE DropInfo_Cause = 3
	// Dropped due to no routes.
	DropInfo_NO_ROUTE DropInfo_Cause = 4
	// Dropped due to invalid route. Route's next hop is a blackhole.
	DropInfo_ROUTE_BLACKHOLE DropInfo_Cause = 5
	// Packet is sent to a wrong (unintended) network. Example: you trace a
	// packet from VM1:Network1 to VM2:Network2, however, the route configured
	// in Network1 sends the packet destined for VM2's IP addresss to Network3.
	DropInfo_ROUTE_WRONG_NETWORK DropInfo_Cause = 6
	// Packet with internal destination address sent to the internet gateway.
	DropInfo_PRIVATE_TRAFFIC_TO_INTERNET DropInfo_Cause = 7
	// Instance with only an internal IP address tries to access Google API and
	// services, but private Google access is not enabled.
	DropInfo_PRIVATE_GOOGLE_ACCESS_DISALLOWED DropInfo_Cause = 8
	// Instance with only an internal IP address tries to access external hosts,
	// but Cloud NAT is not enabled in the subnet, unless special configurations
	// on a VM allow this connection.
	DropInfo_NO_EXTERNAL_ADDRESS DropInfo_Cause = 9
	// Destination internal address cannot be resolved to a known target. If
	// this is a shared VPC scenario, verify if the service project ID is
	// provided as test input. Otherwise, verify if the IP address is being
	// used in the project.
	DropInfo_UNKNOWN_INTERNAL_ADDRESS DropInfo_Cause = 10
	// Forwarding rule's protocol and ports do not match the packet header.
	DropInfo_FORWARDING_RULE_MISMATCH DropInfo_Cause = 11
	// Forwarding rule does not have backends configured.
	DropInfo_FORWARDING_RULE_NO_INSTANCES DropInfo_Cause = 12
	// Firewalls block the health check probes to the backends and cause
	// the backends to be unavailable for traffic from the load balancer.
	// For more details, see [Health check firewall
	// rules](https://cloud.google.com/load-balancing/docs/health-checks#firewall_rules).
	DropInfo_FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK DropInfo_Cause = 13
	// Packet is sent from or to a Compute Engine instance that is not in a
	// running state.
	DropInfo_INSTANCE_NOT_RUNNING DropInfo_Cause = 14
	// The type of traffic is blocked and the user cannot configure a firewall
	// rule to enable it. See [Always blocked
	// traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for
	// more details.
	DropInfo_TRAFFIC_TYPE_BLOCKED DropInfo_Cause = 15
	// Access to Google Kubernetes Engine cluster master's endpoint is not
	// authorized. See [Access to the cluster
	// endpoints](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#access_to_the_cluster_endpoints)
	// for more details.
	DropInfo_GKE_MASTER_UNAUTHORIZED_ACCESS DropInfo_Cause = 16
	// Access to the Cloud SQL instance endpoint is not authorized.
	// See [Authorizing with authorized
	// networks](https://cloud.google.com/sql/docs/mysql/authorize-networks) for
	// more details.
	DropInfo_CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS DropInfo_Cause = 17
	// Packet was dropped inside Google Kubernetes Engine Service.
	DropInfo_DROPPED_INSIDE_GKE_SERVICE DropInfo_Cause = 18
	// Packet was dropped inside Cloud SQL Service.
	DropInfo_DROPPED_INSIDE_CLOUD_SQL_SERVICE DropInfo_Cause = 19
	// Packet was dropped because there is no peering between the originating
	// network and the Google Managed Services Network.
	DropInfo_GOOGLE_MANAGED_SERVICE_NO_PEERING DropInfo_Cause = 20
	// Packet was dropped because the Cloud SQL instance has neither a private
	// nor a public IP address.
	DropInfo_CLOUD_SQL_INSTANCE_NO_IP_ADDRESS DropInfo_Cause = 21
)

func (DropInfo_Cause) Descriptor

func (DropInfo_Cause) Enum

func (x DropInfo_Cause) Enum() *DropInfo_Cause

func (DropInfo_Cause) EnumDescriptor

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

Deprecated: Use DropInfo_Cause.Descriptor instead.

func (DropInfo_Cause) Number

func (DropInfo_Cause) String

func (x DropInfo_Cause) String() string

func (DropInfo_Cause) Type

Endpoint

type Endpoint struct {
	IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`

	Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`

	Instance string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`

	GkeMasterCluster string `protobuf:"bytes,7,opt,name=gke_master_cluster,json=gkeMasterCluster,proto3" json:"gke_master_cluster,omitempty"`

	CloudSqlInstance string `protobuf:"bytes,8,opt,name=cloud_sql_instance,json=cloudSqlInstance,proto3" json:"cloud_sql_instance,omitempty"`

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

	NetworkType Endpoint_NetworkType "" /* 155 byte string literal not displayed */

	ProjectId string `protobuf:"bytes,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`

}

Source or destination of the Connectivity Test.

func (*Endpoint) Descriptor

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

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetCloudSqlInstance

func (x *Endpoint) GetCloudSqlInstance() string

func (*Endpoint) GetGkeMasterCluster

func (x *Endpoint) GetGkeMasterCluster() string

func (*Endpoint) GetInstance

func (x *Endpoint) GetInstance() string

func (*Endpoint) GetIpAddress

func (x *Endpoint) GetIpAddress() string

func (*Endpoint) GetNetwork

func (x *Endpoint) GetNetwork() string

func (*Endpoint) GetNetworkType

func (x *Endpoint) GetNetworkType() Endpoint_NetworkType

func (*Endpoint) GetPort

func (x *Endpoint) GetPort() int32

func (*Endpoint) GetProjectId

func (x *Endpoint) GetProjectId() string

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect

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

func (*Endpoint) Reset

func (x *Endpoint) Reset()

func (*Endpoint) String

func (x *Endpoint) String() string

EndpointInfo

type EndpointInfo struct {

	// Source IP address.
	SourceIp string `protobuf:"bytes,1,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
	// Destination IP address.
	DestinationIp string `protobuf:"bytes,2,opt,name=destination_ip,json=destinationIp,proto3" json:"destination_ip,omitempty"`
	// IP protocol in string format, for example: "TCP", "UDP", "ICMP".
	Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// Source port. Only valid when protocol is TCP or UDP.
	SourcePort int32 `protobuf:"varint,4,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty"`
	// Destination port. Only valid when protocol is TCP or UDP.
	DestinationPort int32 `protobuf:"varint,5,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"`
	// URI of the network where this packet originates from.
	SourceNetworkUri string `protobuf:"bytes,6,opt,name=source_network_uri,json=sourceNetworkUri,proto3" json:"source_network_uri,omitempty"`
	// URI of the network where this packet is sent to.
	DestinationNetworkUri string `protobuf:"bytes,7,opt,name=destination_network_uri,json=destinationNetworkUri,proto3" json:"destination_network_uri,omitempty"`
	// contains filtered or unexported fields
}

For display only. The specification of the endpoints for the test. EndpointInfo is derived from source and destination Endpoint and validated by the backend data plane model.

func (*EndpointInfo) Descriptor

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

Deprecated: Use EndpointInfo.ProtoReflect.Descriptor instead.

func (*EndpointInfo) GetDestinationIp

func (x *EndpointInfo) GetDestinationIp() string

func (*EndpointInfo) GetDestinationNetworkUri

func (x *EndpointInfo) GetDestinationNetworkUri() string

func (*EndpointInfo) GetDestinationPort

func (x *EndpointInfo) GetDestinationPort() int32

func (*EndpointInfo) GetProtocol

func (x *EndpointInfo) GetProtocol() string

func (*EndpointInfo) GetSourceIp

func (x *EndpointInfo) GetSourceIp() string

func (*EndpointInfo) GetSourceNetworkUri

func (x *EndpointInfo) GetSourceNetworkUri() string

func (*EndpointInfo) GetSourcePort

func (x *EndpointInfo) GetSourcePort() int32

func (*EndpointInfo) ProtoMessage

func (*EndpointInfo) ProtoMessage()

func (*EndpointInfo) ProtoReflect

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

func (*EndpointInfo) Reset

func (x *EndpointInfo) Reset()

func (*EndpointInfo) String

func (x *EndpointInfo) String() string

Endpoint_NetworkType

type Endpoint_NetworkType int32

The type definition of an endpoint's network. Use one of the following choices:

Endpoint_NETWORK_TYPE_UNSPECIFIED, Endpoint_GCP_NETWORK, Endpoint_NON_GCP_NETWORK

const (
	// Default type if unspecified.
	Endpoint_NETWORK_TYPE_UNSPECIFIED Endpoint_NetworkType = 0
	// A network hosted within Google Cloud Platform.
	// To receive more detailed output, specify the URI for the source or
	// destination network.
	Endpoint_GCP_NETWORK Endpoint_NetworkType = 1
	// A network hosted outside of Google Cloud Platform.
	// This can be an on-premises network, or a network hosted by another cloud
	// provider.
	Endpoint_NON_GCP_NETWORK Endpoint_NetworkType = 2
)

func (Endpoint_NetworkType) Descriptor

func (Endpoint_NetworkType) Enum

func (Endpoint_NetworkType) EnumDescriptor

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

Deprecated: Use Endpoint_NetworkType.Descriptor instead.

func (Endpoint_NetworkType) Number

func (Endpoint_NetworkType) String

func (x Endpoint_NetworkType) String() string

func (Endpoint_NetworkType) Type

FirewallInfo

type FirewallInfo struct {
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`

	Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`

	Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`

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

	NetworkUri string `protobuf:"bytes,6,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`

	TargetTags []string `protobuf:"bytes,7,rep,name=target_tags,json=targetTags,proto3" json:"target_tags,omitempty"`

	TargetServiceAccounts []string `protobuf:"bytes,8,rep,name=target_service_accounts,json=targetServiceAccounts,proto3" json:"target_service_accounts,omitempty"`

	Policy string `protobuf:"bytes,9,opt,name=policy,proto3" json:"policy,omitempty"`

	FirewallRuleType FirewallInfo_FirewallRuleType "" /* 182 byte string literal not displayed */

}

For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a hierarchical firewall policy rule.

func (*FirewallInfo) Descriptor

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

Deprecated: Use FirewallInfo.ProtoReflect.Descriptor instead.

func (*FirewallInfo) GetAction

func (x *FirewallInfo) GetAction() string

func (*FirewallInfo) GetDirection

func (x *FirewallInfo) GetDirection() string

func (*FirewallInfo) GetDisplayName

func (x *FirewallInfo) GetDisplayName() string

func (*FirewallInfo) GetFirewallRuleType

func (x *FirewallInfo) GetFirewallRuleType() FirewallInfo_FirewallRuleType

func (*FirewallInfo) GetNetworkUri

func (x *FirewallInfo) GetNetworkUri() string

func (*FirewallInfo) GetPolicy

func (x *FirewallInfo) GetPolicy() string

func (*FirewallInfo) GetPriority

func (x *FirewallInfo) GetPriority() int32

func (*FirewallInfo) GetTargetServiceAccounts

func (x *FirewallInfo) GetTargetServiceAccounts() []string

func (*FirewallInfo) GetTargetTags

func (x *FirewallInfo) GetTargetTags() []string

func (*FirewallInfo) GetUri

func (x *FirewallInfo) GetUri() string

func (*FirewallInfo) ProtoMessage

func (*FirewallInfo) ProtoMessage()

func (*FirewallInfo) ProtoReflect

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

func (*FirewallInfo) Reset

func (x *FirewallInfo) Reset()

func (*FirewallInfo) String

func (x *FirewallInfo) String() string

FirewallInfo_FirewallRuleType

type FirewallInfo_FirewallRuleType int32

The firewall rule's type.

FirewallInfo_FIREWALL_RULE_TYPE_UNSPECIFIED, FirewallInfo_HIERARCHICAL_FIREWALL_POLICY_RULE, FirewallInfo_VPC_FIREWALL_RULE, FirewallInfo_IMPLIED_VPC_FIREWALL_RULE

const (
	// Unspecified type.
	FirewallInfo_FIREWALL_RULE_TYPE_UNSPECIFIED FirewallInfo_FirewallRuleType = 0
	// Hierarchical firewall policy rule. For details, see
	// [Hierarchical firewall policies
	// overview](https://cloud.google.com/vpc/docs/firewall-policies).
	FirewallInfo_HIERARCHICAL_FIREWALL_POLICY_RULE FirewallInfo_FirewallRuleType = 1
	// VPC firewall rule. For details, see
	// [VPC firewall rules
	// overview](https://cloud.google.com/vpc/docs/firewalls).
	FirewallInfo_VPC_FIREWALL_RULE FirewallInfo_FirewallRuleType = 2
	// Implied VPC firewall rule. For details, see
	// [Implied
	// rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
	FirewallInfo_IMPLIED_VPC_FIREWALL_RULE FirewallInfo_FirewallRuleType = 3
)

func (FirewallInfo_FirewallRuleType) Descriptor

func (FirewallInfo_FirewallRuleType) Enum

func (FirewallInfo_FirewallRuleType) EnumDescriptor

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

Deprecated: Use FirewallInfo_FirewallRuleType.Descriptor instead.

func (FirewallInfo_FirewallRuleType) Number

func (FirewallInfo_FirewallRuleType) String

func (FirewallInfo_FirewallRuleType) Type

ForwardInfo

type ForwardInfo struct {

	// Target type where this packet is forwarded to.
	Target ForwardInfo_Target `protobuf:"varint,1,opt,name=target,proto3,enum=google.cloud.networkmanagement.v1.ForwardInfo_Target" json:"target,omitempty"`
	// URI of the resource that the packet is forwarded to.
	ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
	// contains filtered or unexported fields
}

Details of the final state "forward" and associated resource.

func (*ForwardInfo) Descriptor

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

Deprecated: Use ForwardInfo.ProtoReflect.Descriptor instead.

func (*ForwardInfo) GetResourceUri

func (x *ForwardInfo) GetResourceUri() string

func (*ForwardInfo) GetTarget

func (x *ForwardInfo) GetTarget() ForwardInfo_Target

func (*ForwardInfo) ProtoMessage

func (*ForwardInfo) ProtoMessage()

func (*ForwardInfo) ProtoReflect

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

func (*ForwardInfo) Reset

func (x *ForwardInfo) Reset()

func (*ForwardInfo) String

func (x *ForwardInfo) String() string

ForwardInfo_Target

type ForwardInfo_Target int32

Forward target types.

ForwardInfo_TARGET_UNSPECIFIED, ForwardInfo_PEERING_VPC, ForwardInfo_VPN_GATEWAY, ForwardInfo_INTERCONNECT, ForwardInfo_GKE_MASTER, ForwardInfo_IMPORTED_CUSTOM_ROUTE_NEXT_HOP, ForwardInfo_CLOUD_SQL_INSTANCE

const (
	// Target not specified.
	ForwardInfo_TARGET_UNSPECIFIED ForwardInfo_Target = 0
	// Forwarded to a VPC peering network.
	ForwardInfo_PEERING_VPC ForwardInfo_Target = 1
	// Forwarded to a Cloud VPN gateway.
	ForwardInfo_VPN_GATEWAY ForwardInfo_Target = 2
	// Forwarded to a Cloud Interconnect connection.
	ForwardInfo_INTERCONNECT ForwardInfo_Target = 3
	// Forwarded to a Google Kubernetes Engine Container cluster master.
	ForwardInfo_GKE_MASTER ForwardInfo_Target = 4
	// Forwarded to the next hop of a custom route imported from a peering VPC.
	ForwardInfo_IMPORTED_CUSTOM_ROUTE_NEXT_HOP ForwardInfo_Target = 5
	// Forwarded to a Cloud SQL instance.
	ForwardInfo_CLOUD_SQL_INSTANCE ForwardInfo_Target = 6
)

func (ForwardInfo_Target) Descriptor

func (ForwardInfo_Target) Enum

func (ForwardInfo_Target) EnumDescriptor

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

Deprecated: Use ForwardInfo_Target.Descriptor instead.

func (ForwardInfo_Target) Number

func (ForwardInfo_Target) String

func (x ForwardInfo_Target) String() string

func (ForwardInfo_Target) Type

ForwardingRuleInfo

type ForwardingRuleInfo struct {

	// Name of a Compute Engine forwarding rule.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// URI of a Compute Engine forwarding rule.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// Protocol defined in the forwarding rule that matches the test.
	MatchedProtocol string `protobuf:"bytes,3,opt,name=matched_protocol,json=matchedProtocol,proto3" json:"matched_protocol,omitempty"`
	// Port range defined in the forwarding rule that matches the test.
	MatchedPortRange string `protobuf:"bytes,6,opt,name=matched_port_range,json=matchedPortRange,proto3" json:"matched_port_range,omitempty"`
	// VIP of the forwarding rule.
	Vip string `protobuf:"bytes,4,opt,name=vip,proto3" json:"vip,omitempty"`
	// Target type of the forwarding rule.
	Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
	// Network URI. Only valid for Internal Load Balancer.
	NetworkUri string `protobuf:"bytes,7,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
	// contains filtered or unexported fields
}

For display only. Metadata associated with a Compute Engine forwarding rule.

func (*ForwardingRuleInfo) Descriptor

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

Deprecated: Use ForwardingRuleInfo.ProtoReflect.Descriptor instead.

func (*ForwardingRuleInfo) GetDisplayName

func (x *ForwardingRuleInfo) GetDisplayName() string

func (*ForwardingRuleInfo) GetMatchedPortRange

func (x *ForwardingRuleInfo) GetMatchedPortRange() string

func (*ForwardingRuleInfo) GetMatchedProtocol

func (x *ForwardingRuleInfo) GetMatchedProtocol() string

func (*ForwardingRuleInfo) GetNetworkUri

func (x *ForwardingRuleInfo) GetNetworkUri() string

func (*ForwardingRuleInfo) GetTarget

func (x *ForwardingRuleInfo) GetTarget() string

func (*ForwardingRuleInfo) GetUri

func (x *ForwardingRuleInfo) GetUri() string

func (*ForwardingRuleInfo) GetVip

func (x *ForwardingRuleInfo) GetVip() string

func (*ForwardingRuleInfo) ProtoMessage

func (*ForwardingRuleInfo) ProtoMessage()

func (*ForwardingRuleInfo) ProtoReflect

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

func (*ForwardingRuleInfo) Reset

func (x *ForwardingRuleInfo) Reset()

func (*ForwardingRuleInfo) String

func (x *ForwardingRuleInfo) String() string

GKEMasterInfo

type GKEMasterInfo struct {

	// URI of a GKE cluster.
	ClusterUri string `protobuf:"bytes,2,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"`
	// URI of a GKE cluster network.
	ClusterNetworkUri string `protobuf:"bytes,4,opt,name=cluster_network_uri,json=clusterNetworkUri,proto3" json:"cluster_network_uri,omitempty"`
	// Internal IP address of a GKE cluster master.
	InternalIp string `protobuf:"bytes,5,opt,name=internal_ip,json=internalIp,proto3" json:"internal_ip,omitempty"`
	// External IP address of a GKE cluster master.
	ExternalIp string `protobuf:"bytes,6,opt,name=external_ip,json=externalIp,proto3" json:"external_ip,omitempty"`
	// contains filtered or unexported fields
}

For display only. Metadata associated with a Google Kubernetes Engine (GKE) cluster master.

func (*GKEMasterInfo) Descriptor

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

Deprecated: Use GKEMasterInfo.ProtoReflect.Descriptor instead.

func (*GKEMasterInfo) GetClusterNetworkUri

func (x *GKEMasterInfo) GetClusterNetworkUri() string

func (*GKEMasterInfo) GetClusterUri

func (x *GKEMasterInfo) GetClusterUri() string

func (*GKEMasterInfo) GetExternalIp

func (x *GKEMasterInfo) GetExternalIp() string

func (*GKEMasterInfo) GetInternalIp

func (x *GKEMasterInfo) GetInternalIp() string

func (*GKEMasterInfo) ProtoMessage

func (*GKEMasterInfo) ProtoMessage()

func (*GKEMasterInfo) ProtoReflect

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

func (*GKEMasterInfo) Reset

func (x *GKEMasterInfo) Reset()

func (*GKEMasterInfo) String

func (x *GKEMasterInfo) String() string

GetConnectivityTestRequest

type GetConnectivityTestRequest struct {

	// Required. `ConnectivityTest` resource name using the form:
	//
	//	`projects/{project_id}/locations/global/connectivityTests/{test_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for the GetConnectivityTest method.

func (*GetConnectivityTestRequest) Descriptor

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

Deprecated: Use GetConnectivityTestRequest.ProtoReflect.Descriptor instead.

func (*GetConnectivityTestRequest) GetName

func (x *GetConnectivityTestRequest) GetName() string

func (*GetConnectivityTestRequest) ProtoMessage

func (*GetConnectivityTestRequest) ProtoMessage()

func (*GetConnectivityTestRequest) ProtoReflect

func (*GetConnectivityTestRequest) Reset

func (x *GetConnectivityTestRequest) Reset()

func (*GetConnectivityTestRequest) String

func (x *GetConnectivityTestRequest) String() string

InstanceInfo

type InstanceInfo struct {

	// Name of a Compute Engine instance.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// URI of a Compute Engine instance.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// Name of the network interface of a Compute Engine instance.
	Interface string `protobuf:"bytes,3,opt,name=interface,proto3" json:"interface,omitempty"`
	// URI of a Compute Engine network.
	NetworkUri string `protobuf:"bytes,4,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
	// Internal IP address of the network interface.
	InternalIp string `protobuf:"bytes,5,opt,name=internal_ip,json=internalIp,proto3" json:"internal_ip,omitempty"`
	// External IP address of the network interface.
	ExternalIp string `protobuf:"bytes,6,opt,name=external_ip,json=externalIp,proto3" json:"external_ip,omitempty"`
	// Network tags configured on the instance.
	NetworkTags []string `protobuf:"bytes,7,rep,name=network_tags,json=networkTags,proto3" json:"network_tags,omitempty"`
	// Service account authorized for the instance.
	//
	// Deprecated: Do not use.
	ServiceAccount string `protobuf:"bytes,8,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// contains filtered or unexported fields
}

For display only. Metadata associated with a Compute Engine instance.

func (*InstanceInfo) Descriptor

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

Deprecated: Use InstanceInfo.ProtoReflect.Descriptor instead.

func (*InstanceInfo) GetDisplayName

func (x *InstanceInfo) GetDisplayName() string

func (*InstanceInfo) GetExternalIp

func (x *InstanceInfo) GetExternalIp() string

func (*InstanceInfo) GetInterface

func (x *InstanceInfo) GetInterface() string

func (*InstanceInfo) GetInternalIp

func (x *InstanceInfo) GetInternalIp() string

func (*InstanceInfo) GetNetworkTags

func (x *InstanceInfo) GetNetworkTags() []string

func (*InstanceInfo) GetNetworkUri

func (x *InstanceInfo) GetNetworkUri() string

func (*InstanceInfo) GetServiceAccount

func (x *InstanceInfo) GetServiceAccount() string

Deprecated: Do not use.

func (*InstanceInfo) GetUri

func (x *InstanceInfo) GetUri() string

func (*InstanceInfo) ProtoMessage

func (*InstanceInfo) ProtoMessage()

func (*InstanceInfo) ProtoReflect

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

func (*InstanceInfo) Reset

func (x *InstanceInfo) Reset()

func (*InstanceInfo) String

func (x *InstanceInfo) String() string

ListConnectivityTestsRequest

type ListConnectivityTestsRequest struct {

	// Required. The parent resource of the Connectivity Tests:
	//
	//	`projects/{project_id}/locations/global`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Number of `ConnectivityTests` to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token from an earlier query, as returned in `next_page_token`.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Lists the `ConnectivityTests` that match the filter expression. A filter
	// expression filters the resources listed in the response. The expression
	// must be of the form `

Request for the ListConnectivityTests method.

func (*ListConnectivityTestsRequest) Descriptor

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

Deprecated: Use ListConnectivityTestsRequest.ProtoReflect.Descriptor instead.

func (*ListConnectivityTestsRequest) GetFilter

func (x *ListConnectivityTestsRequest) GetFilter() string

func (*ListConnectivityTestsRequest) GetOrderBy

func (x *ListConnectivityTestsRequest) GetOrderBy() string

func (*ListConnectivityTestsRequest) GetPageSize

func (x *ListConnectivityTestsRequest) GetPageSize() int32

func (*ListConnectivityTestsRequest) GetPageToken

func (x *ListConnectivityTestsRequest) GetPageToken() string

func (*ListConnectivityTestsRequest) GetParent

func (x *ListConnectivityTestsRequest) GetParent() string

func (*ListConnectivityTestsRequest) ProtoMessage

func (*ListConnectivityTestsRequest) ProtoMessage()

func (*ListConnectivityTestsRequest) ProtoReflect

func (*ListConnectivityTestsRequest) Reset

func (x *ListConnectivityTestsRequest) Reset()

func (*ListConnectivityTestsRequest) String

ListConnectivityTestsResponse

type ListConnectivityTestsResponse struct {

	// List of Connectivity Tests.
	Resources []*ConnectivityTest `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// Page token to fetch the next set of Connectivity Tests.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached (when querying all locations with `-`).
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response for the ListConnectivityTests method.

func (*ListConnectivityTestsResponse) Descriptor

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

Deprecated: Use ListConnectivityTestsResponse.ProtoReflect.Descriptor instead.

func (*ListConnectivityTestsResponse) GetNextPageToken

func (x *ListConnectivityTestsResponse) GetNextPageToken() string

func (*ListConnectivityTestsResponse) GetResources

func (x *ListConnectivityTestsResponse) GetResources() []*ConnectivityTest

func (*ListConnectivityTestsResponse) GetUnreachable

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

func (*ListConnectivityTestsResponse) ProtoMessage

func (*ListConnectivityTestsResponse) ProtoMessage()

func (*ListConnectivityTestsResponse) ProtoReflect

func (*ListConnectivityTestsResponse) Reset

func (x *ListConnectivityTestsResponse) Reset()

func (*ListConnectivityTestsResponse) String

LoadBalancerBackend

type LoadBalancerBackend struct {
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`

	HealthCheckFirewallState LoadBalancerBackend_HealthCheckFirewallState "" /* 222 byte string literal not displayed */

	HealthCheckAllowingFirewallRules []string "" /* 163 byte string literal not displayed */

	HealthCheckBlockingFirewallRules []string "" /* 163 byte string literal not displayed */

}

For display only. Metadata associated with a specific load balancer backend.

func (*LoadBalancerBackend) Descriptor

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

Deprecated: Use LoadBalancerBackend.ProtoReflect.Descriptor instead.

func (*LoadBalancerBackend) GetDisplayName

func (x *LoadBalancerBackend) GetDisplayName() string

func (*LoadBalancerBackend) GetHealthCheckAllowingFirewallRules

func (x *LoadBalancerBackend) GetHealthCheckAllowingFirewallRules() []string

func (*LoadBalancerBackend) GetHealthCheckBlockingFirewallRules

func (x *LoadBalancerBackend) GetHealthCheckBlockingFirewallRules() []string

func (*LoadBalancerBackend) GetHealthCheckFirewallState

func (x *LoadBalancerBackend) GetHealthCheckFirewallState() LoadBalancerBackend_HealthCheckFirewallState

func (*LoadBalancerBackend) GetUri

func (x *LoadBalancerBackend) GetUri() string

func (*LoadBalancerBackend) ProtoMessage

func (*LoadBalancerBackend) ProtoMessage()

func (*LoadBalancerBackend) ProtoReflect

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

func (*LoadBalancerBackend) Reset

func (x *LoadBalancerBackend) Reset()

func (*LoadBalancerBackend) String

func (x *LoadBalancerBackend) String() string

LoadBalancerBackend_HealthCheckFirewallState

type LoadBalancerBackend_HealthCheckFirewallState int32

State of a health check firewall configuration:

LoadBalancerBackend_HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED, LoadBalancerBackend_CONFIGURED, LoadBalancerBackend_MISCONFIGURED

const (
	// State is unspecified. Default state if not populated.
	LoadBalancerBackend_HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED LoadBalancerBackend_HealthCheckFirewallState = 0
	// There are configured firewall rules to allow health check probes to the
	// backend.
	LoadBalancerBackend_CONFIGURED LoadBalancerBackend_HealthCheckFirewallState = 1
	// There are firewall rules configured to allow partial health check ranges
	// or block all health check ranges.
	// If a health check probe is sent from denied IP ranges,
	// the health check to the backend will fail. Then, the backend will be
	// marked unhealthy and will not receive traffic sent to the load balancer.
	LoadBalancerBackend_MISCONFIGURED LoadBalancerBackend_HealthCheckFirewallState = 2
)

func (LoadBalancerBackend_HealthCheckFirewallState) Descriptor

func (LoadBalancerBackend_HealthCheckFirewallState) Enum

func (LoadBalancerBackend_HealthCheckFirewallState) EnumDescriptor

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

Deprecated: Use LoadBalancerBackend_HealthCheckFirewallState.Descriptor instead.

func (LoadBalancerBackend_HealthCheckFirewallState) Number

func (LoadBalancerBackend_HealthCheckFirewallState) String

func (LoadBalancerBackend_HealthCheckFirewallState) Type

LoadBalancerInfo

type LoadBalancerInfo struct {
	LoadBalancerType LoadBalancerInfo_LoadBalancerType "" /* 185 byte string literal not displayed */

	HealthCheckUri string `protobuf:"bytes,2,opt,name=health_check_uri,json=healthCheckUri,proto3" json:"health_check_uri,omitempty"`

	Backends []*LoadBalancerBackend `protobuf:"bytes,3,rep,name=backends,proto3" json:"backends,omitempty"`

	BackendType LoadBalancerInfo_BackendType "" /* 163 byte string literal not displayed */

	BackendUri string `protobuf:"bytes,5,opt,name=backend_uri,json=backendUri,proto3" json:"backend_uri,omitempty"`

}

For display only. Metadata associated with a load balancer.

func (*LoadBalancerInfo) Descriptor

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

Deprecated: Use LoadBalancerInfo.ProtoReflect.Descriptor instead.

func (*LoadBalancerInfo) GetBackendType

func (x *LoadBalancerInfo) GetBackendType() LoadBalancerInfo_BackendType

func (*LoadBalancerInfo) GetBackendUri

func (x *LoadBalancerInfo) GetBackendUri() string

func (*LoadBalancerInfo) GetBackends

func (x *LoadBalancerInfo) GetBackends() []*LoadBalancerBackend

func (*LoadBalancerInfo) GetHealthCheckUri

func (x *LoadBalancerInfo) GetHealthCheckUri() string

func (*LoadBalancerInfo) GetLoadBalancerType

func (x *LoadBalancerInfo) GetLoadBalancerType() LoadBalancerInfo_LoadBalancerType

func (*LoadBalancerInfo) ProtoMessage

func (*LoadBalancerInfo) ProtoMessage()

func (*LoadBalancerInfo) ProtoReflect

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

func (*LoadBalancerInfo) Reset

func (x *LoadBalancerInfo) Reset()

func (*LoadBalancerInfo) String

func (x *LoadBalancerInfo) String() string

LoadBalancerInfo_BackendType

type LoadBalancerInfo_BackendType int32

The type definition for a load balancer backend configuration:

LoadBalancerInfo_BACKEND_TYPE_UNSPECIFIED, LoadBalancerInfo_BACKEND_SERVICE, LoadBalancerInfo_TARGET_POOL

const (
	// Type is unspecified.
	LoadBalancerInfo_BACKEND_TYPE_UNSPECIFIED LoadBalancerInfo_BackendType = 0
	// Backend Service as the load balancer's backend.
	LoadBalancerInfo_BACKEND_SERVICE LoadBalancerInfo_BackendType = 1
	// Target Pool as the load balancer's backend.
	LoadBalancerInfo_TARGET_POOL LoadBalancerInfo_BackendType = 2
)

func (LoadBalancerInfo_BackendType) Descriptor

func (LoadBalancerInfo_BackendType) Enum

func (LoadBalancerInfo_BackendType) EnumDescriptor

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

Deprecated: Use LoadBalancerInfo_BackendType.Descriptor instead.

func (LoadBalancerInfo_BackendType) Number

func (LoadBalancerInfo_BackendType) String

func (LoadBalancerInfo_BackendType) Type

LoadBalancerInfo_LoadBalancerType

type LoadBalancerInfo_LoadBalancerType int32

The type definition for a load balancer:

LoadBalancerInfo_LOAD_BALANCER_TYPE_UNSPECIFIED, LoadBalancerInfo_INTERNAL_TCP_UDP, LoadBalancerInfo_NETWORK_TCP_UDP, LoadBalancerInfo_HTTP_PROXY, LoadBalancerInfo_TCP_PROXY, LoadBalancerInfo_SSL_PROXY

const (
	// Type is unspecified.
	LoadBalancerInfo_LOAD_BALANCER_TYPE_UNSPECIFIED LoadBalancerInfo_LoadBalancerType = 0
	// Internal TCP/UDP load balancer.
	LoadBalancerInfo_INTERNAL_TCP_UDP LoadBalancerInfo_LoadBalancerType = 1
	// Network TCP/UDP load balancer.
	LoadBalancerInfo_NETWORK_TCP_UDP LoadBalancerInfo_LoadBalancerType = 2
	// HTTP(S) proxy load balancer.
	LoadBalancerInfo_HTTP_PROXY LoadBalancerInfo_LoadBalancerType = 3
	// TCP proxy load balancer.
	LoadBalancerInfo_TCP_PROXY LoadBalancerInfo_LoadBalancerType = 4
	// SSL proxy load balancer.
	LoadBalancerInfo_SSL_PROXY LoadBalancerInfo_LoadBalancerType = 5
)

func (LoadBalancerInfo_LoadBalancerType) Descriptor

func (LoadBalancerInfo_LoadBalancerType) Enum

func (LoadBalancerInfo_LoadBalancerType) EnumDescriptor

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

Deprecated: Use LoadBalancerInfo_LoadBalancerType.Descriptor instead.

func (LoadBalancerInfo_LoadBalancerType) Number

func (LoadBalancerInfo_LoadBalancerType) String

func (LoadBalancerInfo_LoadBalancerType) Type

NetworkInfo

type NetworkInfo struct {

	// Name of a Compute Engine network.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// URI of a Compute Engine network.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// The IP range that matches the test.
	MatchedIpRange string `protobuf:"bytes,4,opt,name=matched_ip_range,json=matchedIpRange,proto3" json:"matched_ip_range,omitempty"`
	// contains filtered or unexported fields
}

For display only. Metadata associated with a Compute Engine network.

func (*NetworkInfo) Descriptor

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

Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.

func (*NetworkInfo) GetDisplayName

func (x *NetworkInfo) GetDisplayName() string

func (*NetworkInfo) GetMatchedIpRange

func (x *NetworkInfo) GetMatchedIpRange() string

func (*NetworkInfo) GetUri

func (x *NetworkInfo) GetUri() string

func (*NetworkInfo) ProtoMessage

func (*NetworkInfo) ProtoMessage()

func (*NetworkInfo) ProtoReflect

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

func (*NetworkInfo) Reset

func (x *NetworkInfo) Reset()

func (*NetworkInfo) String

func (x *NetworkInfo) String() string

OperationMetadata

type OperationMetadata struct {

	// The time the operation was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The time the operation finished running.
	EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Target of the operation - for example
	// projects/project-1/locations/global/connectivityTests/test-1
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Human-readable status of the operation, if any.
	StatusDetail string `protobuf:"bytes,5,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`
	// Specifies if cancellation was requested for the operation.
	CancelRequested bool `protobuf:"varint,6,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
	// API version.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Metadata describing an [Operation][google.longrunning.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) GetCancelRequested

func (x *OperationMetadata) GetCancelRequested() bool

func (*OperationMetadata) GetCreateTime

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

func (*OperationMetadata) GetEndTime

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

func (*OperationMetadata) GetStatusDetail

func (x *OperationMetadata) GetStatusDetail() 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

ReachabilityDetails

type ReachabilityDetails struct {
	Result ReachabilityDetails_Result "" /* 132 byte string literal not displayed */

	VerifyTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=verify_time,json=verifyTime,proto3" json:"verify_time,omitempty"`

	Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`

	Traces []*Trace `protobuf:"bytes,5,rep,name=traces,proto3" json:"traces,omitempty"`

}

Results of the configuration analysis from the last run of the test.

func (*ReachabilityDetails) Descriptor

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

Deprecated: Use ReachabilityDetails.ProtoReflect.Descriptor instead.

func (*ReachabilityDetails) GetError

func (x *ReachabilityDetails) GetError() *status.Status

func (*ReachabilityDetails) GetResult

func (*ReachabilityDetails) GetTraces

func (x *ReachabilityDetails) GetTraces() []*Trace

func (*ReachabilityDetails) GetVerifyTime

func (x *ReachabilityDetails) GetVerifyTime() *timestamp.Timestamp

func (*ReachabilityDetails) ProtoMessage

func (*ReachabilityDetails) ProtoMessage()

func (*ReachabilityDetails) ProtoReflect

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

func (*ReachabilityDetails) Reset

func (x *ReachabilityDetails) Reset()

func (*ReachabilityDetails) String

func (x *ReachabilityDetails) String() string

ReachabilityDetails_Result

type ReachabilityDetails_Result int32

The overall result of the test's configuration analysis.

ReachabilityDetails_RESULT_UNSPECIFIED, ReachabilityDetails_REACHABLE, ReachabilityDetails_UNREACHABLE, ReachabilityDetails_AMBIGUOUS, ReachabilityDetails_UNDETERMINED

const (
	// No result was specified.
	ReachabilityDetails_RESULT_UNSPECIFIED ReachabilityDetails_Result = 0
	// Possible scenarios are:
	//
	//   - The configuration analysis determined that a packet originating from
	//     the source is expected to reach the destination.
	//   - The analysis didn't complete because the user lacks permission for
	//     some of the resources in the trace. However, at the time the user's
	//     permission became insufficient, the trace had been successful so far.
	ReachabilityDetails_REACHABLE ReachabilityDetails_Result = 1
	// A packet originating from the source is expected to be dropped before
	// reaching the destination.
	ReachabilityDetails_UNREACHABLE ReachabilityDetails_Result = 2
	// The source and destination endpoints do not uniquely identify
	// the test location in the network, and the reachability result contains
	// multiple traces. For some traces, a packet could be delivered, and for
	// others, it would not be.
	ReachabilityDetails_AMBIGUOUS ReachabilityDetails_Result = 4
	// The configuration analysis did not complete. Possible reasons are:
	//
	//   - A permissions error occurred--for example, the user might not have
	//     read permission for all of the resources named in the test.
	//   - An internal error occurred.
	//   - The analyzer received an invalid or unsupported argument or was unable
	//     to identify a known endpoint.
	ReachabilityDetails_UNDETERMINED ReachabilityDetails_Result = 5
)

func (ReachabilityDetails_Result) Descriptor

func (ReachabilityDetails_Result) Enum

func (ReachabilityDetails_Result) EnumDescriptor

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

Deprecated: Use ReachabilityDetails_Result.Descriptor instead.

func (ReachabilityDetails_Result) Number

func (ReachabilityDetails_Result) String

func (ReachabilityDetails_Result) Type

ReachabilityServiceClient

type ReachabilityServiceClient interface {
	// Lists all Connectivity Tests owned by a project.
	ListConnectivityTests(ctx context.Context, in *ListConnectivityTestsRequest, opts ...grpc.CallOption) (*ListConnectivityTestsResponse, error)
	// Gets the details of a specific Connectivity Test.
	GetConnectivityTest(ctx context.Context, in *GetConnectivityTestRequest, opts ...grpc.CallOption) (*ConnectivityTest, error)
	// Creates a new Connectivity Test.
	// After you create a test, the reachability analysis is performed as part
	// of the long running operation, which completes when the analysis completes.
	//
	// If the endpoint specifications in `ConnectivityTest` are invalid
	// (for example, containing non-existent resources in the network, or you
	// don't have read permissions to the network configurations of listed
	// projects), then the reachability result returns a value of `UNKNOWN`.
	//
	// If the endpoint specifications in `ConnectivityTest` are
	// incomplete, the reachability result returns a value of
	// AMBIGUOUS. For more information,
	// see the Connectivity Test documentation.
	CreateConnectivityTest(ctx context.Context, in *CreateConnectivityTestRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates the configuration of an existing `ConnectivityTest`.
	// After you update a test, the reachability analysis is performed as part
	// of the long running operation, which completes when the analysis completes.
	// The Reachability state in the test resource is updated with the new result.
	//
	// If the endpoint specifications in `ConnectivityTest` are invalid
	// (for example, they contain non-existent resources in the network, or the
	// user does not have read permissions to the network configurations of
	// listed projects), then the reachability result returns a value of
	// UNKNOWN.
	//
	// If the endpoint specifications in `ConnectivityTest` are incomplete, the
	// reachability result returns a value of `AMBIGUOUS`. See the documentation
	// in `ConnectivityTest` for for more details.
	UpdateConnectivityTest(ctx context.Context, in *UpdateConnectivityTestRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Rerun an existing `ConnectivityTest`.
	// After the user triggers the rerun, the reachability analysis is performed
	// as part of the long running operation, which completes when the analysis
	// completes.
	//
	// Even though the test configuration remains the same, the reachability
	// result may change due to underlying network configuration changes.
	//
	// If the endpoint specifications in `ConnectivityTest` become invalid (for
	// example, specified resources are deleted in the network, or you lost
	// read permissions to the network configurations of listed projects), then
	// the reachability result returns a value of `UNKNOWN`.
	RerunConnectivityTest(ctx context.Context, in *RerunConnectivityTestRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes a specific `ConnectivityTest`.
	DeleteConnectivityTest(ctx context.Context, in *DeleteConnectivityTestRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

ReachabilityServiceClient is the client API for ReachabilityService service.

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

func NewReachabilityServiceClient

func NewReachabilityServiceClient(cc grpc.ClientConnInterface) ReachabilityServiceClient

ReachabilityServiceServer

type ReachabilityServiceServer interface {
	// Lists all Connectivity Tests owned by a project.
	ListConnectivityTests(context.Context, *ListConnectivityTestsRequest) (*ListConnectivityTestsResponse, error)
	// Gets the details of a specific Connectivity Test.
	GetConnectivityTest(context.Context, *GetConnectivityTestRequest) (*ConnectivityTest, error)
	// Creates a new Connectivity Test.
	// After you create a test, the reachability analysis is performed as part
	// of the long running operation, which completes when the analysis completes.
	//
	// If the endpoint specifications in `ConnectivityTest` are invalid
	// (for example, containing non-existent resources in the network, or you
	// don't have read permissions to the network configurations of listed
	// projects), then the reachability result returns a value of `UNKNOWN`.
	//
	// If the endpoint specifications in `ConnectivityTest` are
	// incomplete, the reachability result returns a value of
	// AMBIGUOUS. For more information,
	// see the Connectivity Test documentation.
	CreateConnectivityTest(context.Context, *CreateConnectivityTestRequest) (*longrunning.Operation, error)
	// Updates the configuration of an existing `ConnectivityTest`.
	// After you update a test, the reachability analysis is performed as part
	// of the long running operation, which completes when the analysis completes.
	// The Reachability state in the test resource is updated with the new result.
	//
	// If the endpoint specifications in `ConnectivityTest` are invalid
	// (for example, they contain non-existent resources in the network, or the
	// user does not have read permissions to the network configurations of
	// listed projects), then the reachability result returns a value of
	// UNKNOWN.
	//
	// If the endpoint specifications in `ConnectivityTest` are incomplete, the
	// reachability result returns a value of `AMBIGUOUS`. See the documentation
	// in `ConnectivityTest` for for more details.
	UpdateConnectivityTest(context.Context, *UpdateConnectivityTestRequest) (*longrunning.Operation, error)
	// Rerun an existing `ConnectivityTest`.
	// After the user triggers the rerun, the reachability analysis is performed
	// as part of the long running operation, which completes when the analysis
	// completes.
	//
	// Even though the test configuration remains the same, the reachability
	// result may change due to underlying network configuration changes.
	//
	// If the endpoint specifications in `ConnectivityTest` become invalid (for
	// example, specified resources are deleted in the network, or you lost
	// read permissions to the network configurations of listed projects), then
	// the reachability result returns a value of `UNKNOWN`.
	RerunConnectivityTest(context.Context, *RerunConnectivityTestRequest) (*longrunning.Operation, error)
	// Deletes a specific `ConnectivityTest`.
	DeleteConnectivityTest(context.Context, *DeleteConnectivityTestRequest) (*longrunning.Operation, error)
}

ReachabilityServiceServer is the server API for ReachabilityService service.

RerunConnectivityTestRequest

type RerunConnectivityTestRequest struct {

	// Required. Connectivity Test resource name using the form:
	//
	//	`projects/{project_id}/locations/global/connectivityTests/{test_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for the RerunConnectivityTest method.

func (*RerunConnectivityTestRequest) Descriptor

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

Deprecated: Use RerunConnectivityTestRequest.ProtoReflect.Descriptor instead.

func (*RerunConnectivityTestRequest) GetName

func (x *RerunConnectivityTestRequest) GetName() string

func (*RerunConnectivityTestRequest) ProtoMessage

func (*RerunConnectivityTestRequest) ProtoMessage()

func (*RerunConnectivityTestRequest) ProtoReflect

func (*RerunConnectivityTestRequest) Reset

func (x *RerunConnectivityTestRequest) Reset()

func (*RerunConnectivityTestRequest) String

RouteInfo

type RouteInfo struct {
	RouteType RouteInfo_RouteType "" /* 148 byte string literal not displayed */

	NextHopType RouteInfo_NextHopType "" /* 158 byte string literal not displayed */

	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`

	DestIpRange string `protobuf:"bytes,3,opt,name=dest_ip_range,json=destIpRange,proto3" json:"dest_ip_range,omitempty"`

	NextHop string `protobuf:"bytes,4,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"`

	NetworkUri string `protobuf:"bytes,5,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`

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

	InstanceTags []string `protobuf:"bytes,7,rep,name=instance_tags,json=instanceTags,proto3" json:"instance_tags,omitempty"`

}

For display only. Metadata associated with a Compute Engine route.

func (*RouteInfo) Descriptor

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

Deprecated: Use RouteInfo.ProtoReflect.Descriptor instead.

func (*RouteInfo) GetDestIpRange

func (x *RouteInfo) GetDestIpRange() string

func (*RouteInfo) GetDisplayName

func (x *RouteInfo) GetDisplayName() string

func (*RouteInfo) GetInstanceTags

func (x *RouteInfo) GetInstanceTags() []string

func (*RouteInfo) GetNetworkUri

func (x *RouteInfo) GetNetworkUri() string

func (*RouteInfo) GetNextHop

func (x *RouteInfo) GetNextHop() string

func (*RouteInfo) GetNextHopType

func (x *RouteInfo) GetNextHopType() RouteInfo_NextHopType

func (*RouteInfo) GetPriority

func (x *RouteInfo) GetPriority() int32

func (*RouteInfo) GetRouteType

func (x *RouteInfo) GetRouteType() RouteInfo_RouteType

func (*RouteInfo) GetUri

func (x *RouteInfo) GetUri() string

func (*RouteInfo) ProtoMessage

func (*RouteInfo) ProtoMessage()

func (*RouteInfo) ProtoReflect

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

func (*RouteInfo) Reset

func (x *RouteInfo) Reset()

func (*RouteInfo) String

func (x *RouteInfo) String() string

RouteInfo_NextHopType

type RouteInfo_NextHopType int32

Type of next hop:

RouteInfo_NEXT_HOP_TYPE_UNSPECIFIED, RouteInfo_NEXT_HOP_IP, RouteInfo_NEXT_HOP_INSTANCE, RouteInfo_NEXT_HOP_NETWORK, RouteInfo_NEXT_HOP_PEERING, RouteInfo_NEXT_HOP_INTERCONNECT, RouteInfo_NEXT_HOP_VPN_TUNNEL, RouteInfo_NEXT_HOP_VPN_GATEWAY, RouteInfo_NEXT_HOP_INTERNET_GATEWAY, RouteInfo_NEXT_HOP_BLACKHOLE, RouteInfo_NEXT_HOP_ILB, RouteInfo_NEXT_HOP_ROUTER_APPLIANCE

const (
	// Unspecified type. Default value.
	RouteInfo_NEXT_HOP_TYPE_UNSPECIFIED RouteInfo_NextHopType = 0
	// Next hop is an IP address.
	RouteInfo_NEXT_HOP_IP RouteInfo_NextHopType = 1
	// Next hop is a Compute Engine instance.
	RouteInfo_NEXT_HOP_INSTANCE RouteInfo_NextHopType = 2
	// Next hop is a VPC network gateway.
	RouteInfo_NEXT_HOP_NETWORK RouteInfo_NextHopType = 3
	// Next hop is a peering VPC.
	RouteInfo_NEXT_HOP_PEERING RouteInfo_NextHopType = 4
	// Next hop is an interconnect.
	RouteInfo_NEXT_HOP_INTERCONNECT RouteInfo_NextHopType = 5
	// Next hop is a VPN tunnel.
	RouteInfo_NEXT_HOP_VPN_TUNNEL RouteInfo_NextHopType = 6
	// Next hop is a VPN gateway. This scenario only happens when tracing
	// connectivity from an on-premises network to Google Cloud through a VPN.
	// The analysis simulates a packet departing from the on-premises network
	// through a VPN tunnel and arriving at a Cloud VPN gateway.
	RouteInfo_NEXT_HOP_VPN_GATEWAY RouteInfo_NextHopType = 7
	// Next hop is an internet gateway.
	RouteInfo_NEXT_HOP_INTERNET_GATEWAY RouteInfo_NextHopType = 8
	// Next hop is blackhole; that is, the next hop either does not exist or is
	// not running.
	RouteInfo_NEXT_HOP_BLACKHOLE RouteInfo_NextHopType = 9
	// Next hop is the forwarding rule of an Internal Load Balancer.
	RouteInfo_NEXT_HOP_ILB RouteInfo_NextHopType = 10
	// Next hop is a
	// [router appliance
	// instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
	RouteInfo_NEXT_HOP_ROUTER_APPLIANCE RouteInfo_NextHopType = 11
)

func (RouteInfo_NextHopType) Descriptor

func (RouteInfo_NextHopType) Enum

func (RouteInfo_NextHopType) EnumDescriptor

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

Deprecated: Use RouteInfo_NextHopType.Descriptor instead.

func (RouteInfo_NextHopType) Number

func (RouteInfo_NextHopType) String

func (x RouteInfo_NextHopType) String() string

func (RouteInfo_NextHopType) Type

RouteInfo_RouteType

type RouteInfo_RouteType int32

Type of route:

RouteInfo_ROUTE_TYPE_UNSPECIFIED, RouteInfo_SUBNET, RouteInfo_STATIC, RouteInfo_DYNAMIC, RouteInfo_PEERING_SUBNET, RouteInfo_PEERING_STATIC, RouteInfo_PEERING_DYNAMIC

const (
	// Unspecified type. Default value.
	RouteInfo_ROUTE_TYPE_UNSPECIFIED RouteInfo_RouteType = 0
	// Route is a subnet route automatically created by the system.
	RouteInfo_SUBNET RouteInfo_RouteType = 1
	// Static route created by the user, including the default route to the
	// internet.
	RouteInfo_STATIC RouteInfo_RouteType = 2
	// Dynamic route exchanged between BGP peers.
	RouteInfo_DYNAMIC RouteInfo_RouteType = 3
	// A subnet route received from peering network.
	RouteInfo_PEERING_SUBNET RouteInfo_RouteType = 4
	// A static route received from peering network.
	RouteInfo_PEERING_STATIC RouteInfo_RouteType = 5
	// A dynamic route received from peering network.
	RouteInfo_PEERING_DYNAMIC RouteInfo_RouteType = 6
)

func (RouteInfo_RouteType) Descriptor

func (RouteInfo_RouteType) Enum

func (RouteInfo_RouteType) EnumDescriptor

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

Deprecated: Use RouteInfo_RouteType.Descriptor instead.

func (RouteInfo_RouteType) Number

func (RouteInfo_RouteType) String

func (x RouteInfo_RouteType) String() string

func (RouteInfo_RouteType) Type

Step

type Step struct {

	// A description of the step. Usually this is a summary of the state.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// Each step is in one of the pre-defined states.
	State Step_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.networkmanagement.v1.Step_State" json:"state,omitempty"`
	// This is a step that leads to the final state Drop.
	CausesDrop bool `protobuf:"varint,3,opt,name=causes_drop,json=causesDrop,proto3" json:"causes_drop,omitempty"`
	// Project ID that contains the configuration this step is validating.
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Configuration or metadata associated with each step.
	// The configuration is filtered based on viewer's permission. If a viewer
	// has no permission to view the configuration in this step, for non-final
	// states a special state is populated (VIEWER_PERMISSION_MISSING), and for
	// final state the configuration is cleared.
	//
	// Types that are assignable to StepInfo:
	//
	//	*Step_Instance
	//	*Step_Firewall
	//	*Step_Route
	//	*Step_Endpoint
	//	*Step_ForwardingRule
	//	*Step_VpnGateway
	//	*Step_VpnTunnel
	//	*Step_Deliver
	//	*Step_Forward
	//	*Step_Abort
	//	*Step_Drop
	//	*Step_LoadBalancer
	//	*Step_Network
	//	*Step_GkeMaster
	//	*Step_CloudSqlInstance
	StepInfo isStep_StepInfo `protobuf_oneof:"step_info"`
	// contains filtered or unexported fields
}

A simulated forwarding path is composed of multiple steps. Each step has a well-defined state and an associated configuration.

func (*Step) Descriptor

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

Deprecated: Use Step.ProtoReflect.Descriptor instead.

func (*Step) GetAbort

func (x *Step) GetAbort() *AbortInfo

func (*Step) GetCausesDrop

func (x *Step) GetCausesDrop() bool

func (*Step) GetCloudSqlInstance

func (x *Step) GetCloudSqlInstance() *CloudSQLInstanceInfo

func (*Step) GetDeliver

func (x *Step) GetDeliver() *DeliverInfo

func (*Step) GetDescription

func (x *Step) GetDescription() string

func (*Step) GetDrop

func (x *Step) GetDrop() *DropInfo

func (*Step) GetEndpoint

func (x *Step) GetEndpoint() *EndpointInfo

func (*Step) GetFirewall

func (x *Step) GetFirewall() *FirewallInfo

func (*Step) GetForward

func (x *Step) GetForward() *ForwardInfo

func (*Step) GetForwardingRule

func (x *Step) GetForwardingRule() *ForwardingRuleInfo

func (*Step) GetGkeMaster

func (x *Step) GetGkeMaster() *GKEMasterInfo

func (*Step) GetInstance

func (x *Step) GetInstance() *InstanceInfo

func (*Step) GetLoadBalancer

func (x *Step) GetLoadBalancer() *LoadBalancerInfo

func (*Step) GetNetwork

func (x *Step) GetNetwork() *NetworkInfo

func (*Step) GetProjectId

func (x *Step) GetProjectId() string

func (*Step) GetRoute

func (x *Step) GetRoute() *RouteInfo

func (*Step) GetState

func (x *Step) GetState() Step_State

func (*Step) GetStepInfo

func (m *Step) GetStepInfo() isStep_StepInfo

func (*Step) GetVpnGateway

func (x *Step) GetVpnGateway() *VpnGatewayInfo

func (*Step) GetVpnTunnel

func (x *Step) GetVpnTunnel() *VpnTunnelInfo

func (*Step) ProtoMessage

func (*Step) ProtoMessage()

func (*Step) ProtoReflect

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

func (*Step) Reset

func (x *Step) Reset()

func (*Step) String

func (x *Step) String() string

Step_Abort

type Step_Abort struct {
	// Display information of the final state "abort" and reason.
	Abort *AbortInfo `protobuf:"bytes,14,opt,name=abort,proto3,oneof"`
}

Step_CloudSqlInstance

type Step_CloudSqlInstance struct {
	// Display information of a Cloud SQL instance.
	CloudSqlInstance *CloudSQLInstanceInfo `protobuf:"bytes,19,opt,name=cloud_sql_instance,json=cloudSqlInstance,proto3,oneof"`
}

Step_Deliver

type Step_Deliver struct {
	// Display information of the final state "deliver" and reason.
	Deliver *DeliverInfo `protobuf:"bytes,12,opt,name=deliver,proto3,oneof"`
}

Step_Drop

type Step_Drop struct {
	// Display information of the final state "drop" and reason.
	Drop *DropInfo `protobuf:"bytes,15,opt,name=drop,proto3,oneof"`
}

Step_Endpoint

type Step_Endpoint struct {
	// Display information of the source and destination under analysis.
	// The endpoint information in an intermediate state may differ with the
	// initial input, as it might be modified by state like NAT,
	// or Connection Proxy.
	Endpoint *EndpointInfo `protobuf:"bytes,8,opt,name=endpoint,proto3,oneof"`
}

Step_Firewall

type Step_Firewall struct {
	// Display information of a Compute Engine firewall rule.
	Firewall *FirewallInfo `protobuf:"bytes,6,opt,name=firewall,proto3,oneof"`
}

Step_Forward

type Step_Forward struct {
	// Display information of the final state "forward" and reason.
	Forward *ForwardInfo `protobuf:"bytes,13,opt,name=forward,proto3,oneof"`
}

Step_ForwardingRule

type Step_ForwardingRule struct {
	// Display information of a Compute Engine forwarding rule.
	ForwardingRule *ForwardingRuleInfo `protobuf:"bytes,9,opt,name=forwarding_rule,json=forwardingRule,proto3,oneof"`
}

Step_GkeMaster

type Step_GkeMaster struct {
	// Display information of a Google Kubernetes Engine cluster master.
	GkeMaster *GKEMasterInfo `protobuf:"bytes,18,opt,name=gke_master,json=gkeMaster,proto3,oneof"`
}

Step_Instance

type Step_Instance struct {
	// Display information of a Compute Engine instance.
	Instance *InstanceInfo `protobuf:"bytes,5,opt,name=instance,proto3,oneof"`
}

Step_LoadBalancer

type Step_LoadBalancer struct {
	// Display information of the load balancers.
	LoadBalancer *LoadBalancerInfo `protobuf:"bytes,16,opt,name=load_balancer,json=loadBalancer,proto3,oneof"`
}

Step_Network

type Step_Network struct {
	// Display information of a Google Cloud network.
	Network *NetworkInfo `protobuf:"bytes,17,opt,name=network,proto3,oneof"`
}

Step_Route

type Step_Route struct {
	// Display information of a Compute Engine route.
	Route *RouteInfo `protobuf:"bytes,7,opt,name=route,proto3,oneof"`
}

Step_State

type Step_State int32

Type of states that are defined in the network state machine. Each step in the packet trace is in a specific state.

Step_STATE_UNSPECIFIED, Step_START_FROM_INSTANCE, Step_START_FROM_INTERNET, Step_START_FROM_PRIVATE_NETWORK, Step_START_FROM_GKE_MASTER, Step_START_FROM_CLOUD_SQL_INSTANCE, Step_APPLY_INGRESS_FIREWALL_RULE, Step_APPLY_EGRESS_FIREWALL_RULE, Step_APPLY_ROUTE, Step_APPLY_FORWARDING_RULE, Step_SPOOFING_APPROVED, Step_ARRIVE_AT_INSTANCE, Step_ARRIVE_AT_INTERNAL_LOAD_BALANCER, Step_ARRIVE_AT_EXTERNAL_LOAD_BALANCER, Step_ARRIVE_AT_VPN_GATEWAY, Step_ARRIVE_AT_VPN_TUNNEL, Step_NAT, Step_PROXY_CONNECTION, Step_DELIVER, Step_DROP, Step_FORWARD, Step_ABORT, Step_VIEWER_PERMISSION_MISSING

const (
	// Unspecified state.
	Step_STATE_UNSPECIFIED Step_State = 0
	// Initial state: packet originating from a Compute Engine instance.
	// An InstanceInfo is populated with starting instance information.
	Step_START_FROM_INSTANCE Step_State = 1
	// Initial state: packet originating from the internet.
	// The endpoint information is populated.
	Step_START_FROM_INTERNET Step_State = 2
	// Initial state: packet originating from a VPC or on-premises network
	// with internal source IP.
	// If the source is a VPC network visible to the user, a NetworkInfo
	// is populated with details of the network.
	Step_START_FROM_PRIVATE_NETWORK Step_State = 3
	// Initial state: packet originating from a Google Kubernetes Engine cluster
	// master. A GKEMasterInfo is populated with starting instance information.
	Step_START_FROM_GKE_MASTER Step_State = 21
	// Initial state: packet originating from a Cloud SQL instance.
	// A CloudSQLInstanceInfo is populated with starting instance information.
	Step_START_FROM_CLOUD_SQL_INSTANCE Step_State = 22
	// Config checking state: verify ingress firewall rule.
	Step_APPLY_INGRESS_FIREWALL_RULE Step_State = 4
	// Config checking state: verify egress firewall rule.
	Step_APPLY_EGRESS_FIREWALL_RULE Step_State = 5
	// Config checking state: verify route.
	Step_APPLY_ROUTE Step_State = 6
	// Config checking state: match forwarding rule.
	Step_APPLY_FORWARDING_RULE Step_State = 7
	// Config checking state: packet sent or received under foreign IP
	// address and allowed.
	Step_SPOOFING_APPROVED Step_State = 8
	// Forwarding state: arriving at a Compute Engine instance.
	Step_ARRIVE_AT_INSTANCE Step_State = 9
	// Forwarding state: arriving at a Compute Engine internal load balancer.
	Step_ARRIVE_AT_INTERNAL_LOAD_BALANCER Step_State = 10
	// Forwarding state: arriving at a Compute Engine external load balancer.
	Step_ARRIVE_AT_EXTERNAL_LOAD_BALANCER Step_State = 11
	// Forwarding state: arriving at a Cloud VPN gateway.
	Step_ARRIVE_AT_VPN_GATEWAY Step_State = 12
	// Forwarding state: arriving at a Cloud VPN tunnel.
	Step_ARRIVE_AT_VPN_TUNNEL Step_State = 13
	// Transition state: packet header translated.
	Step_NAT Step_State = 14
	// Transition state: original connection is terminated and a new proxied
	// connection is initiated.
	Step_PROXY_CONNECTION Step_State = 15
	// Final state: packet could be delivered.
	Step_DELIVER Step_State = 16
	// Final state: packet could be dropped.
	Step_DROP Step_State = 17
	// Final state: packet could be forwarded to a network with an unknown
	// configuration.
	Step_FORWARD Step_State = 18
	// Final state: analysis is aborted.
	Step_ABORT Step_State = 19
	// Special state: viewer of the test result does not have permission to
	// see the configuration in this step.
	Step_VIEWER_PERMISSION_MISSING Step_State = 20
)

func (Step_State) Descriptor

func (Step_State) Descriptor() protoreflect.EnumDescriptor

func (Step_State) Enum

func (x Step_State) Enum() *Step_State

func (Step_State) EnumDescriptor

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

Deprecated: Use Step_State.Descriptor instead.

func (Step_State) Number

func (x Step_State) Number() protoreflect.EnumNumber

func (Step_State) String

func (x Step_State) String() string

func (Step_State) Type

Step_VpnGateway

type Step_VpnGateway struct {
	// Display information of a Compute Engine VPN gateway.
	VpnGateway *VpnGatewayInfo `protobuf:"bytes,10,opt,name=vpn_gateway,json=vpnGateway,proto3,oneof"`
}

Step_VpnTunnel

type Step_VpnTunnel struct {
	// Display information of a Compute Engine VPN tunnel.
	VpnTunnel *VpnTunnelInfo `protobuf:"bytes,11,opt,name=vpn_tunnel,json=vpnTunnel,proto3,oneof"`
}

Trace

type Trace struct {

	// Derived from the source and destination endpoints definition specified by
	// user request, and validated by the data plane model.
	// If there are multiple traces starting from different source locations, then
	// the endpoint_info may be different between traces.
	EndpointInfo *EndpointInfo `protobuf:"bytes,1,opt,name=endpoint_info,json=endpointInfo,proto3" json:"endpoint_info,omitempty"`
	// A trace of a test contains multiple steps from the initial state to the
	// final state (delivered, dropped, forwarded, or aborted).
	//
	// The steps are ordered by the processing sequence within the simulated
	// network state machine. It is critical to preserve the order of the steps
	// and avoid reordering or sorting them.
	Steps []*Step `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"`
	// contains filtered or unexported fields
}

Trace represents one simulated packet forwarding path.

  • Each trace contains multiple ordered steps.
  • Each step is in a particular state with associated configuration.
  • State is categorized as final or non-final states.
  • Each final state has a reason associated.
  • Each trace must end with a final state (the last step).

    |---------------------Trace----------------------|
    Step1(State) Step2(State) ---  StepN(State(final))

func (*Trace) Descriptor

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

Deprecated: Use Trace.ProtoReflect.Descriptor instead.

func (*Trace) GetEndpointInfo

func (x *Trace) GetEndpointInfo() *EndpointInfo

func (*Trace) GetSteps

func (x *Trace) GetSteps() []*Step

func (*Trace) ProtoMessage

func (*Trace) ProtoMessage()

func (*Trace) ProtoReflect

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

func (*Trace) Reset

func (x *Trace) Reset()

func (*Trace) String

func (x *Trace) String() string

UnimplementedReachabilityServiceServer

type UnimplementedReachabilityServiceServer struct {
}

UnimplementedReachabilityServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedReachabilityServiceServer) CreateConnectivityTest

func (*UnimplementedReachabilityServiceServer) DeleteConnectivityTest

func (*UnimplementedReachabilityServiceServer) GetConnectivityTest

func (*UnimplementedReachabilityServiceServer) ListConnectivityTests

func (*UnimplementedReachabilityServiceServer) RerunConnectivityTest

func (*UnimplementedReachabilityServiceServer) UpdateConnectivityTest

UpdateConnectivityTestRequest

type UpdateConnectivityTestRequest struct {

	// Required. Mask of fields to update. At least one path must be supplied in
	// this field.
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. Only fields specified in update_mask are updated.
	Resource *ConnectivityTest `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

Request for the UpdateConnectivityTest method.

func (*UpdateConnectivityTestRequest) Descriptor

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

Deprecated: Use UpdateConnectivityTestRequest.ProtoReflect.Descriptor instead.

func (*UpdateConnectivityTestRequest) GetResource

func (*UpdateConnectivityTestRequest) GetUpdateMask

func (*UpdateConnectivityTestRequest) ProtoMessage

func (*UpdateConnectivityTestRequest) ProtoMessage()

func (*UpdateConnectivityTestRequest) ProtoReflect

func (*UpdateConnectivityTestRequest) Reset

func (x *UpdateConnectivityTestRequest) Reset()

func (*UpdateConnectivityTestRequest) String

VpnGatewayInfo

type VpnGatewayInfo struct {

	// Name of a VPN gateway.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// URI of a VPN gateway.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// URI of a Compute Engine network where the VPN gateway is configured.
	NetworkUri string `protobuf:"bytes,3,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
	// IP address of the VPN gateway.
	IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	// A VPN tunnel that is associated with this VPN gateway.
	// There may be multiple VPN tunnels configured on a VPN gateway, and only
	// the one relevant to the test is displayed.
	VpnTunnelUri string `protobuf:"bytes,5,opt,name=vpn_tunnel_uri,json=vpnTunnelUri,proto3" json:"vpn_tunnel_uri,omitempty"`
	// Name of a Google Cloud region where this VPN gateway is configured.
	Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

For display only. Metadata associated with a Compute Engine VPN gateway.

func (*VpnGatewayInfo) Descriptor

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

Deprecated: Use VpnGatewayInfo.ProtoReflect.Descriptor instead.

func (*VpnGatewayInfo) GetDisplayName

func (x *VpnGatewayInfo) GetDisplayName() string

func (*VpnGatewayInfo) GetIpAddress

func (x *VpnGatewayInfo) GetIpAddress() string

func (*VpnGatewayInfo) GetNetworkUri

func (x *VpnGatewayInfo) GetNetworkUri() string

func (*VpnGatewayInfo) GetRegion

func (x *VpnGatewayInfo) GetRegion() string

func (*VpnGatewayInfo) GetUri

func (x *VpnGatewayInfo) GetUri() string

func (*VpnGatewayInfo) GetVpnTunnelUri

func (x *VpnGatewayInfo) GetVpnTunnelUri() string

func (*VpnGatewayInfo) ProtoMessage

func (*VpnGatewayInfo) ProtoMessage()

func (*VpnGatewayInfo) ProtoReflect

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

func (*VpnGatewayInfo) Reset

func (x *VpnGatewayInfo) Reset()

func (*VpnGatewayInfo) String

func (x *VpnGatewayInfo) String() string

VpnTunnelInfo

type VpnTunnelInfo struct {
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`

	SourceGateway string `protobuf:"bytes,3,opt,name=source_gateway,json=sourceGateway,proto3" json:"source_gateway,omitempty"`

	RemoteGateway string `protobuf:"bytes,4,opt,name=remote_gateway,json=remoteGateway,proto3" json:"remote_gateway,omitempty"`

	RemoteGatewayIp string `protobuf:"bytes,5,opt,name=remote_gateway_ip,json=remoteGatewayIp,proto3" json:"remote_gateway_ip,omitempty"`

	SourceGatewayIp string `protobuf:"bytes,6,opt,name=source_gateway_ip,json=sourceGatewayIp,proto3" json:"source_gateway_ip,omitempty"`

	NetworkUri string `protobuf:"bytes,7,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`

	Region string `protobuf:"bytes,8,opt,name=region,proto3" json:"region,omitempty"`

	RoutingType VpnTunnelInfo_RoutingType "" /* 160 byte string literal not displayed */

}

For display only. Metadata associated with a Compute Engine VPN tunnel.

func (*VpnTunnelInfo) Descriptor

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

Deprecated: Use VpnTunnelInfo.ProtoReflect.Descriptor instead.

func (*VpnTunnelInfo) GetDisplayName

func (x *VpnTunnelInfo) GetDisplayName() string

func (*VpnTunnelInfo) GetNetworkUri

func (x *VpnTunnelInfo) GetNetworkUri() string

func (*VpnTunnelInfo) GetRegion

func (x *VpnTunnelInfo) GetRegion() string

func (*VpnTunnelInfo) GetRemoteGateway

func (x *VpnTunnelInfo) GetRemoteGateway() string

func (*VpnTunnelInfo) GetRemoteGatewayIp

func (x *VpnTunnelInfo) GetRemoteGatewayIp() string

func (*VpnTunnelInfo) GetRoutingType

func (x *VpnTunnelInfo) GetRoutingType() VpnTunnelInfo_RoutingType

func (*VpnTunnelInfo) GetSourceGateway

func (x *VpnTunnelInfo) GetSourceGateway() string

func (*VpnTunnelInfo) GetSourceGatewayIp

func (x *VpnTunnelInfo) GetSourceGatewayIp() string

func (*VpnTunnelInfo) GetUri

func (x *VpnTunnelInfo) GetUri() string

func (*VpnTunnelInfo) ProtoMessage

func (*VpnTunnelInfo) ProtoMessage()

func (*VpnTunnelInfo) ProtoReflect

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

func (*VpnTunnelInfo) Reset

func (x *VpnTunnelInfo) Reset()

func (*VpnTunnelInfo) String

func (x *VpnTunnelInfo) String() string

VpnTunnelInfo_RoutingType

type VpnTunnelInfo_RoutingType int32

Types of VPN routing policy. For details, refer to Networks and Tunnel routing.

VpnTunnelInfo_ROUTING_TYPE_UNSPECIFIED, VpnTunnelInfo_ROUTE_BASED, VpnTunnelInfo_POLICY_BASED, VpnTunnelInfo_DYNAMIC

const (
	// Unspecified type. Default value.
	VpnTunnelInfo_ROUTING_TYPE_UNSPECIFIED VpnTunnelInfo_RoutingType = 0
	// Route based VPN.
	VpnTunnelInfo_ROUTE_BASED VpnTunnelInfo_RoutingType = 1
	// Policy based routing.
	VpnTunnelInfo_POLICY_BASED VpnTunnelInfo_RoutingType = 2
	// Dynamic (BGP) routing.
	VpnTunnelInfo_DYNAMIC VpnTunnelInfo_RoutingType = 3
)

func (VpnTunnelInfo_RoutingType) Descriptor

func (VpnTunnelInfo_RoutingType) Enum

func (VpnTunnelInfo_RoutingType) EnumDescriptor

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

Deprecated: Use VpnTunnelInfo_RoutingType.Descriptor instead.

func (VpnTunnelInfo_RoutingType) Number

func (VpnTunnelInfo_RoutingType) String

func (x VpnTunnelInfo_RoutingType) String() string

func (VpnTunnelInfo_RoutingType) Type