Documentation ¶
Index ¶
- Variables
- func RegisterReachabilityServiceServer(s *grpc.Server, srv ReachabilityServiceServer)
- type AbortInfo
- func (*AbortInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AbortInfo) GetCause() AbortInfo_Cause
- func (x *AbortInfo) GetProjectsMissingPermission() []string
- func (x *AbortInfo) GetResourceUri() string
- func (*AbortInfo) ProtoMessage()
- func (x *AbortInfo) ProtoReflect() protoreflect.Message
- func (x *AbortInfo) Reset()
- func (x *AbortInfo) String() string
- type AbortInfo_Cause
- func (AbortInfo_Cause) Descriptor() protoreflect.EnumDescriptor
- func (x AbortInfo_Cause) Enum() *AbortInfo_Cause
- func (AbortInfo_Cause) EnumDescriptor() ([]byte, []int)deprecated
- func (x AbortInfo_Cause) Number() protoreflect.EnumNumber
- func (x AbortInfo_Cause) String() string
- func (AbortInfo_Cause) Type() protoreflect.EnumType
- type CloudFunctionInfo
- func (*CloudFunctionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CloudFunctionInfo) GetDisplayName() string
- func (x *CloudFunctionInfo) GetLocation() string
- func (x *CloudFunctionInfo) GetUri() string
- func (x *CloudFunctionInfo) GetVersionId() int64
- func (*CloudFunctionInfo) ProtoMessage()
- func (x *CloudFunctionInfo) ProtoReflect() protoreflect.Message
- func (x *CloudFunctionInfo) Reset()
- func (x *CloudFunctionInfo) String() string
- type CloudSQLInstanceInfo
- func (*CloudSQLInstanceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CloudSQLInstanceInfo) GetDisplayName() string
- func (x *CloudSQLInstanceInfo) GetExternalIp() string
- func (x *CloudSQLInstanceInfo) GetInternalIp() string
- func (x *CloudSQLInstanceInfo) GetNetworkUri() string
- func (x *CloudSQLInstanceInfo) GetRegion() string
- func (x *CloudSQLInstanceInfo) GetUri() string
- func (*CloudSQLInstanceInfo) ProtoMessage()
- func (x *CloudSQLInstanceInfo) ProtoReflect() protoreflect.Message
- func (x *CloudSQLInstanceInfo) Reset()
- func (x *CloudSQLInstanceInfo) String() string
- type ConnectivityTest
- func (*ConnectivityTest) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectivityTest) GetCreateTime() *timestamppb.Timestamp
- func (x *ConnectivityTest) GetDescription() string
- func (x *ConnectivityTest) GetDestination() *Endpoint
- func (x *ConnectivityTest) GetDisplayName() string
- func (x *ConnectivityTest) GetLabels() map[string]string
- func (x *ConnectivityTest) GetName() string
- func (x *ConnectivityTest) GetProbingDetails() *ProbingDetails
- func (x *ConnectivityTest) GetProtocol() string
- func (x *ConnectivityTest) GetReachabilityDetails() *ReachabilityDetails
- func (x *ConnectivityTest) GetRelatedProjects() []string
- func (x *ConnectivityTest) GetSource() *Endpoint
- func (x *ConnectivityTest) GetUpdateTime() *timestamppb.Timestamp
- func (*ConnectivityTest) ProtoMessage()
- func (x *ConnectivityTest) ProtoReflect() protoreflect.Message
- func (x *ConnectivityTest) Reset()
- func (x *ConnectivityTest) String() string
- type CreateConnectivityTestRequest
- func (*CreateConnectivityTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConnectivityTestRequest) GetParent() string
- func (x *CreateConnectivityTestRequest) GetResource() *ConnectivityTest
- func (x *CreateConnectivityTestRequest) GetTestId() string
- func (*CreateConnectivityTestRequest) ProtoMessage()
- func (x *CreateConnectivityTestRequest) ProtoReflect() protoreflect.Message
- func (x *CreateConnectivityTestRequest) Reset()
- func (x *CreateConnectivityTestRequest) String() string
- type DeleteConnectivityTestRequest
- func (*DeleteConnectivityTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConnectivityTestRequest) GetName() string
- func (*DeleteConnectivityTestRequest) ProtoMessage()
- func (x *DeleteConnectivityTestRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteConnectivityTestRequest) Reset()
- func (x *DeleteConnectivityTestRequest) String() string
- type DeliverInfo
- func (*DeliverInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DeliverInfo) GetResourceUri() string
- func (x *DeliverInfo) GetTarget() DeliverInfo_Target
- func (*DeliverInfo) ProtoMessage()
- func (x *DeliverInfo) ProtoReflect() protoreflect.Message
- func (x *DeliverInfo) Reset()
- func (x *DeliverInfo) String() string
- type DeliverInfo_Target
- func (DeliverInfo_Target) Descriptor() protoreflect.EnumDescriptor
- func (x DeliverInfo_Target) Enum() *DeliverInfo_Target
- func (DeliverInfo_Target) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeliverInfo_Target) Number() protoreflect.EnumNumber
- func (x DeliverInfo_Target) String() string
- func (DeliverInfo_Target) Type() protoreflect.EnumType
- type DropInfo
- type DropInfo_Cause
- func (DropInfo_Cause) Descriptor() protoreflect.EnumDescriptor
- func (x DropInfo_Cause) Enum() *DropInfo_Cause
- func (DropInfo_Cause) EnumDescriptor() ([]byte, []int)deprecated
- func (x DropInfo_Cause) Number() protoreflect.EnumNumber
- func (x DropInfo_Cause) String() string
- func (DropInfo_Cause) Type() protoreflect.EnumType
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetCloudFunction() *Endpoint_CloudFunctionEndpoint
- func (x *Endpoint) GetCloudSqlInstance() string
- func (x *Endpoint) GetGkeMasterCluster() string
- func (x *Endpoint) GetInstance() string
- func (x *Endpoint) GetIpAddress() string
- func (x *Endpoint) GetNetwork() string
- func (x *Endpoint) GetNetworkType() Endpoint_NetworkType
- func (x *Endpoint) GetPort() int32
- func (x *Endpoint) GetProjectId() string
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- type EndpointInfo
- func (*EndpointInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EndpointInfo) GetDestinationIp() string
- func (x *EndpointInfo) GetDestinationNetworkUri() string
- func (x *EndpointInfo) GetDestinationPort() int32
- func (x *EndpointInfo) GetProtocol() string
- func (x *EndpointInfo) GetSourceAgentUri() string
- func (x *EndpointInfo) GetSourceIp() string
- func (x *EndpointInfo) GetSourceNetworkUri() string
- func (x *EndpointInfo) GetSourcePort() int32
- func (*EndpointInfo) ProtoMessage()
- func (x *EndpointInfo) ProtoReflect() protoreflect.Message
- func (x *EndpointInfo) Reset()
- func (x *EndpointInfo) String() string
- type Endpoint_CloudFunctionEndpoint
- func (*Endpoint_CloudFunctionEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint_CloudFunctionEndpoint) GetUri() string
- func (*Endpoint_CloudFunctionEndpoint) ProtoMessage()
- func (x *Endpoint_CloudFunctionEndpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint_CloudFunctionEndpoint) Reset()
- func (x *Endpoint_CloudFunctionEndpoint) String() string
- type Endpoint_NetworkType
- func (Endpoint_NetworkType) Descriptor() protoreflect.EnumDescriptor
- func (x Endpoint_NetworkType) Enum() *Endpoint_NetworkType
- func (Endpoint_NetworkType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Endpoint_NetworkType) Number() protoreflect.EnumNumber
- func (x Endpoint_NetworkType) String() string
- func (Endpoint_NetworkType) Type() protoreflect.EnumType
- type FirewallInfo
- func (*FirewallInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FirewallInfo) GetAction() string
- func (x *FirewallInfo) GetDirection() string
- func (x *FirewallInfo) GetDisplayName() string
- func (x *FirewallInfo) GetFirewallRuleType() FirewallInfo_FirewallRuleType
- func (x *FirewallInfo) GetNetworkUri() string
- func (x *FirewallInfo) GetPolicy() string
- func (x *FirewallInfo) GetPriority() int32
- func (x *FirewallInfo) GetTargetServiceAccounts() []string
- func (x *FirewallInfo) GetTargetTags() []string
- func (x *FirewallInfo) GetUri() string
- func (*FirewallInfo) ProtoMessage()
- func (x *FirewallInfo) ProtoReflect() protoreflect.Message
- func (x *FirewallInfo) Reset()
- func (x *FirewallInfo) String() string
- type FirewallInfo_FirewallRuleType
- func (FirewallInfo_FirewallRuleType) Descriptor() protoreflect.EnumDescriptor
- func (x FirewallInfo_FirewallRuleType) Enum() *FirewallInfo_FirewallRuleType
- func (FirewallInfo_FirewallRuleType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FirewallInfo_FirewallRuleType) Number() protoreflect.EnumNumber
- func (x FirewallInfo_FirewallRuleType) String() string
- func (FirewallInfo_FirewallRuleType) Type() protoreflect.EnumType
- type ForwardInfo
- func (*ForwardInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ForwardInfo) GetResourceUri() string
- func (x *ForwardInfo) GetTarget() ForwardInfo_Target
- func (*ForwardInfo) ProtoMessage()
- func (x *ForwardInfo) ProtoReflect() protoreflect.Message
- func (x *ForwardInfo) Reset()
- func (x *ForwardInfo) String() string
- type ForwardInfo_Target
- func (ForwardInfo_Target) Descriptor() protoreflect.EnumDescriptor
- func (x ForwardInfo_Target) Enum() *ForwardInfo_Target
- func (ForwardInfo_Target) EnumDescriptor() ([]byte, []int)deprecated
- func (x ForwardInfo_Target) Number() protoreflect.EnumNumber
- func (x ForwardInfo_Target) String() string
- func (ForwardInfo_Target) Type() protoreflect.EnumType
- type ForwardingRuleInfo
- func (*ForwardingRuleInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ForwardingRuleInfo) GetDisplayName() string
- func (x *ForwardingRuleInfo) GetMatchedPortRange() string
- func (x *ForwardingRuleInfo) GetMatchedProtocol() string
- func (x *ForwardingRuleInfo) GetNetworkUri() string
- func (x *ForwardingRuleInfo) GetTarget() string
- func (x *ForwardingRuleInfo) GetUri() string
- func (x *ForwardingRuleInfo) GetVip() string
- func (*ForwardingRuleInfo) ProtoMessage()
- func (x *ForwardingRuleInfo) ProtoReflect() protoreflect.Message
- func (x *ForwardingRuleInfo) Reset()
- func (x *ForwardingRuleInfo) String() string
- type GKEMasterInfo
- func (*GKEMasterInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GKEMasterInfo) GetClusterNetworkUri() string
- func (x *GKEMasterInfo) GetClusterUri() string
- func (x *GKEMasterInfo) GetExternalIp() string
- func (x *GKEMasterInfo) GetInternalIp() string
- func (*GKEMasterInfo) ProtoMessage()
- func (x *GKEMasterInfo) ProtoReflect() protoreflect.Message
- func (x *GKEMasterInfo) Reset()
- func (x *GKEMasterInfo) String() string
- type GetConnectivityTestRequest
- func (*GetConnectivityTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectivityTestRequest) GetName() string
- func (*GetConnectivityTestRequest) ProtoMessage()
- func (x *GetConnectivityTestRequest) ProtoReflect() protoreflect.Message
- func (x *GetConnectivityTestRequest) Reset()
- func (x *GetConnectivityTestRequest) String() string
- type InstanceInfo
- func (*InstanceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceInfo) GetDisplayName() string
- func (x *InstanceInfo) GetExternalIp() string
- func (x *InstanceInfo) GetInterface() string
- func (x *InstanceInfo) GetInternalIp() string
- func (x *InstanceInfo) GetNetworkTags() []string
- func (x *InstanceInfo) GetNetworkUri() string
- func (x *InstanceInfo) GetServiceAccount() stringdeprecated
- func (x *InstanceInfo) GetUri() string
- func (*InstanceInfo) ProtoMessage()
- func (x *InstanceInfo) ProtoReflect() protoreflect.Message
- func (x *InstanceInfo) Reset()
- func (x *InstanceInfo) String() string
- type LatencyDistribution
- func (*LatencyDistribution) Descriptor() ([]byte, []int)deprecated
- func (x *LatencyDistribution) GetLatencyPercentiles() []*LatencyPercentile
- func (*LatencyDistribution) ProtoMessage()
- func (x *LatencyDistribution) ProtoReflect() protoreflect.Message
- func (x *LatencyDistribution) Reset()
- func (x *LatencyDistribution) String() string
- type LatencyPercentile
- func (*LatencyPercentile) Descriptor() ([]byte, []int)deprecated
- func (x *LatencyPercentile) GetLatencyMicros() int64
- func (x *LatencyPercentile) GetPercent() int32
- func (*LatencyPercentile) ProtoMessage()
- func (x *LatencyPercentile) ProtoReflect() protoreflect.Message
- func (x *LatencyPercentile) Reset()
- func (x *LatencyPercentile) String() string
- type ListConnectivityTestsRequest
- func (*ListConnectivityTestsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnectivityTestsRequest) GetFilter() string
- func (x *ListConnectivityTestsRequest) GetOrderBy() string
- func (x *ListConnectivityTestsRequest) GetPageSize() int32
- func (x *ListConnectivityTestsRequest) GetPageToken() string
- func (x *ListConnectivityTestsRequest) GetParent() string
- func (*ListConnectivityTestsRequest) ProtoMessage()
- func (x *ListConnectivityTestsRequest) ProtoReflect() protoreflect.Message
- func (x *ListConnectivityTestsRequest) Reset()
- func (x *ListConnectivityTestsRequest) String() string
- type ListConnectivityTestsResponse
- func (*ListConnectivityTestsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnectivityTestsResponse) GetNextPageToken() string
- func (x *ListConnectivityTestsResponse) GetResources() []*ConnectivityTest
- func (x *ListConnectivityTestsResponse) GetUnreachable() []string
- func (*ListConnectivityTestsResponse) ProtoMessage()
- func (x *ListConnectivityTestsResponse) ProtoReflect() protoreflect.Message
- func (x *ListConnectivityTestsResponse) Reset()
- func (x *ListConnectivityTestsResponse) String() string
- type LoadBalancerBackend
- func (*LoadBalancerBackend) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerBackend) GetDisplayName() string
- func (x *LoadBalancerBackend) GetHealthCheckAllowingFirewallRules() []string
- func (x *LoadBalancerBackend) GetHealthCheckBlockingFirewallRules() []string
- func (x *LoadBalancerBackend) GetHealthCheckFirewallState() LoadBalancerBackend_HealthCheckFirewallState
- func (x *LoadBalancerBackend) GetUri() string
- func (*LoadBalancerBackend) ProtoMessage()
- func (x *LoadBalancerBackend) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerBackend) Reset()
- func (x *LoadBalancerBackend) String() string
- type LoadBalancerBackend_HealthCheckFirewallState
- func (LoadBalancerBackend_HealthCheckFirewallState) Descriptor() protoreflect.EnumDescriptor
- func (x LoadBalancerBackend_HealthCheckFirewallState) Enum() *LoadBalancerBackend_HealthCheckFirewallState
- func (LoadBalancerBackend_HealthCheckFirewallState) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoadBalancerBackend_HealthCheckFirewallState) Number() protoreflect.EnumNumber
- func (x LoadBalancerBackend_HealthCheckFirewallState) String() string
- func (LoadBalancerBackend_HealthCheckFirewallState) Type() protoreflect.EnumType
- type LoadBalancerInfo
- func (*LoadBalancerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerInfo) GetBackendType() LoadBalancerInfo_BackendType
- func (x *LoadBalancerInfo) GetBackendUri() string
- func (x *LoadBalancerInfo) GetBackends() []*LoadBalancerBackend
- func (x *LoadBalancerInfo) GetHealthCheckUri() string
- func (x *LoadBalancerInfo) GetLoadBalancerType() LoadBalancerInfo_LoadBalancerType
- func (*LoadBalancerInfo) ProtoMessage()
- func (x *LoadBalancerInfo) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerInfo) Reset()
- func (x *LoadBalancerInfo) String() string
- type LoadBalancerInfo_BackendType
- func (LoadBalancerInfo_BackendType) Descriptor() protoreflect.EnumDescriptor
- func (x LoadBalancerInfo_BackendType) Enum() *LoadBalancerInfo_BackendType
- func (LoadBalancerInfo_BackendType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoadBalancerInfo_BackendType) Number() protoreflect.EnumNumber
- func (x LoadBalancerInfo_BackendType) String() string
- func (LoadBalancerInfo_BackendType) Type() protoreflect.EnumType
- type LoadBalancerInfo_LoadBalancerType
- func (LoadBalancerInfo_LoadBalancerType) Descriptor() protoreflect.EnumDescriptor
- func (x LoadBalancerInfo_LoadBalancerType) Enum() *LoadBalancerInfo_LoadBalancerType
- func (LoadBalancerInfo_LoadBalancerType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoadBalancerInfo_LoadBalancerType) Number() protoreflect.EnumNumber
- func (x LoadBalancerInfo_LoadBalancerType) String() string
- func (LoadBalancerInfo_LoadBalancerType) Type() protoreflect.EnumType
- type NetworkInfo
- func (*NetworkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInfo) GetDisplayName() string
- func (x *NetworkInfo) GetMatchedIpRange() string
- func (x *NetworkInfo) GetUri() string
- func (*NetworkInfo) ProtoMessage()
- func (x *NetworkInfo) ProtoReflect() protoreflect.Message
- func (x *NetworkInfo) Reset()
- func (x *NetworkInfo) String() string
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMetadata) GetApiVersion() string
- func (x *OperationMetadata) GetCancelRequested() bool
- func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetStatusDetail() string
- func (x *OperationMetadata) GetTarget() string
- func (x *OperationMetadata) GetVerb() string
- func (*OperationMetadata) ProtoMessage()
- func (x *OperationMetadata) ProtoReflect() protoreflect.Message
- func (x *OperationMetadata) Reset()
- func (x *OperationMetadata) String() string
- type ProbingDetails
- func (*ProbingDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ProbingDetails) GetAbortCause() ProbingDetails_ProbingAbortCause
- func (x *ProbingDetails) GetDestinationEgressLocation() *ProbingDetails_EdgeLocation
- func (x *ProbingDetails) GetEndpointInfo() *EndpointInfo
- func (x *ProbingDetails) GetError() *status.Status
- func (x *ProbingDetails) GetProbingLatency() *LatencyDistribution
- func (x *ProbingDetails) GetResult() ProbingDetails_ProbingResult
- func (x *ProbingDetails) GetSentProbeCount() int32
- func (x *ProbingDetails) GetSuccessfulProbeCount() int32
- func (x *ProbingDetails) GetVerifyTime() *timestamppb.Timestamp
- func (*ProbingDetails) ProtoMessage()
- func (x *ProbingDetails) ProtoReflect() protoreflect.Message
- func (x *ProbingDetails) Reset()
- func (x *ProbingDetails) String() string
- type ProbingDetails_EdgeLocation
- func (*ProbingDetails_EdgeLocation) Descriptor() ([]byte, []int)deprecated
- func (x *ProbingDetails_EdgeLocation) GetMetropolitanArea() string
- func (*ProbingDetails_EdgeLocation) ProtoMessage()
- func (x *ProbingDetails_EdgeLocation) ProtoReflect() protoreflect.Message
- func (x *ProbingDetails_EdgeLocation) Reset()
- func (x *ProbingDetails_EdgeLocation) String() string
- type ProbingDetails_ProbingAbortCause
- func (ProbingDetails_ProbingAbortCause) Descriptor() protoreflect.EnumDescriptor
- func (x ProbingDetails_ProbingAbortCause) Enum() *ProbingDetails_ProbingAbortCause
- func (ProbingDetails_ProbingAbortCause) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProbingDetails_ProbingAbortCause) Number() protoreflect.EnumNumber
- func (x ProbingDetails_ProbingAbortCause) String() string
- func (ProbingDetails_ProbingAbortCause) Type() protoreflect.EnumType
- type ProbingDetails_ProbingResult
- func (ProbingDetails_ProbingResult) Descriptor() protoreflect.EnumDescriptor
- func (x ProbingDetails_ProbingResult) Enum() *ProbingDetails_ProbingResult
- func (ProbingDetails_ProbingResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProbingDetails_ProbingResult) Number() protoreflect.EnumNumber
- func (x ProbingDetails_ProbingResult) String() string
- func (ProbingDetails_ProbingResult) Type() protoreflect.EnumType
- type ReachabilityDetails
- func (*ReachabilityDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ReachabilityDetails) GetError() *status.Status
- func (x *ReachabilityDetails) GetResult() ReachabilityDetails_Result
- func (x *ReachabilityDetails) GetTraces() []*Trace
- func (x *ReachabilityDetails) GetVerifyTime() *timestamppb.Timestamp
- func (*ReachabilityDetails) ProtoMessage()
- func (x *ReachabilityDetails) ProtoReflect() protoreflect.Message
- func (x *ReachabilityDetails) Reset()
- func (x *ReachabilityDetails) String() string
- type ReachabilityDetails_Result
- func (ReachabilityDetails_Result) Descriptor() protoreflect.EnumDescriptor
- func (x ReachabilityDetails_Result) Enum() *ReachabilityDetails_Result
- func (ReachabilityDetails_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReachabilityDetails_Result) Number() protoreflect.EnumNumber
- func (x ReachabilityDetails_Result) String() string
- func (ReachabilityDetails_Result) Type() protoreflect.EnumType
- type ReachabilityServiceClient
- type ReachabilityServiceServer
- type RerunConnectivityTestRequest
- func (*RerunConnectivityTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RerunConnectivityTestRequest) GetName() string
- func (*RerunConnectivityTestRequest) ProtoMessage()
- func (x *RerunConnectivityTestRequest) ProtoReflect() protoreflect.Message
- func (x *RerunConnectivityTestRequest) Reset()
- func (x *RerunConnectivityTestRequest) String() string
- type RouteInfo
- func (*RouteInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RouteInfo) GetDestIpRange() string
- func (x *RouteInfo) GetDisplayName() string
- func (x *RouteInfo) GetInstanceTags() []string
- func (x *RouteInfo) GetNetworkUri() string
- func (x *RouteInfo) GetNextHop() string
- func (x *RouteInfo) GetNextHopType() RouteInfo_NextHopType
- func (x *RouteInfo) GetPriority() int32
- func (x *RouteInfo) GetRouteType() RouteInfo_RouteType
- func (x *RouteInfo) GetUri() string
- func (*RouteInfo) ProtoMessage()
- func (x *RouteInfo) ProtoReflect() protoreflect.Message
- func (x *RouteInfo) Reset()
- func (x *RouteInfo) String() string
- type RouteInfo_NextHopType
- func (RouteInfo_NextHopType) Descriptor() protoreflect.EnumDescriptor
- func (x RouteInfo_NextHopType) Enum() *RouteInfo_NextHopType
- func (RouteInfo_NextHopType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RouteInfo_NextHopType) Number() protoreflect.EnumNumber
- func (x RouteInfo_NextHopType) String() string
- func (RouteInfo_NextHopType) Type() protoreflect.EnumType
- type RouteInfo_RouteType
- func (RouteInfo_RouteType) Descriptor() protoreflect.EnumDescriptor
- func (x RouteInfo_RouteType) Enum() *RouteInfo_RouteType
- func (RouteInfo_RouteType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RouteInfo_RouteType) Number() protoreflect.EnumNumber
- func (x RouteInfo_RouteType) String() string
- func (RouteInfo_RouteType) Type() protoreflect.EnumType
- type Step
- func (*Step) Descriptor() ([]byte, []int)deprecated
- func (x *Step) GetAbort() *AbortInfo
- func (x *Step) GetCausesDrop() bool
- func (x *Step) GetCloudFunction() *CloudFunctionInfo
- func (x *Step) GetCloudSqlInstance() *CloudSQLInstanceInfo
- func (x *Step) GetDeliver() *DeliverInfo
- func (x *Step) GetDescription() string
- func (x *Step) GetDrop() *DropInfo
- func (x *Step) GetEndpoint() *EndpointInfo
- func (x *Step) GetFirewall() *FirewallInfo
- func (x *Step) GetForward() *ForwardInfo
- func (x *Step) GetForwardingRule() *ForwardingRuleInfo
- func (x *Step) GetGkeMaster() *GKEMasterInfo
- func (x *Step) GetInstance() *InstanceInfo
- func (x *Step) GetLoadBalancer() *LoadBalancerInfo
- func (x *Step) GetNetwork() *NetworkInfo
- func (x *Step) GetProjectId() string
- func (x *Step) GetRoute() *RouteInfo
- func (x *Step) GetState() Step_State
- func (m *Step) GetStepInfo() isStep_StepInfo
- func (x *Step) GetVpcConnector() *VpcConnectorInfo
- func (x *Step) GetVpnGateway() *VpnGatewayInfo
- func (x *Step) GetVpnTunnel() *VpnTunnelInfo
- func (*Step) ProtoMessage()
- func (x *Step) ProtoReflect() protoreflect.Message
- func (x *Step) Reset()
- func (x *Step) String() string
- type Step_Abort
- type Step_CloudFunction
- type Step_CloudSqlInstance
- type Step_Deliver
- type Step_Drop
- type Step_Endpoint
- type Step_Firewall
- type Step_Forward
- type Step_ForwardingRule
- type Step_GkeMaster
- type Step_Instance
- type Step_LoadBalancer
- type Step_Network
- type Step_Route
- type Step_State
- type Step_VpcConnector
- type Step_VpnGateway
- type Step_VpnTunnel
- type Trace
- type UnimplementedReachabilityServiceServer
- func (*UnimplementedReachabilityServiceServer) CreateConnectivityTest(context.Context, *CreateConnectivityTestRequest) (*longrunning.Operation, error)
- func (*UnimplementedReachabilityServiceServer) DeleteConnectivityTest(context.Context, *DeleteConnectivityTestRequest) (*longrunning.Operation, error)
- func (*UnimplementedReachabilityServiceServer) GetConnectivityTest(context.Context, *GetConnectivityTestRequest) (*ConnectivityTest, error)
- func (*UnimplementedReachabilityServiceServer) ListConnectivityTests(context.Context, *ListConnectivityTestsRequest) (*ListConnectivityTestsResponse, error)
- func (*UnimplementedReachabilityServiceServer) RerunConnectivityTest(context.Context, *RerunConnectivityTestRequest) (*longrunning.Operation, error)
- func (*UnimplementedReachabilityServiceServer) UpdateConnectivityTest(context.Context, *UpdateConnectivityTestRequest) (*longrunning.Operation, error)
- type UpdateConnectivityTestRequest
- func (*UpdateConnectivityTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateConnectivityTestRequest) GetResource() *ConnectivityTest
- func (x *UpdateConnectivityTestRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateConnectivityTestRequest) ProtoMessage()
- func (x *UpdateConnectivityTestRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateConnectivityTestRequest) Reset()
- func (x *UpdateConnectivityTestRequest) String() string
- type VpcConnectorInfo
- func (*VpcConnectorInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VpcConnectorInfo) GetDisplayName() string
- func (x *VpcConnectorInfo) GetLocation() string
- func (x *VpcConnectorInfo) GetUri() string
- func (*VpcConnectorInfo) ProtoMessage()
- func (x *VpcConnectorInfo) ProtoReflect() protoreflect.Message
- func (x *VpcConnectorInfo) Reset()
- func (x *VpcConnectorInfo) String() string
- type VpnGatewayInfo
- func (*VpnGatewayInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VpnGatewayInfo) GetDisplayName() string
- func (x *VpnGatewayInfo) GetIpAddress() string
- func (x *VpnGatewayInfo) GetNetworkUri() string
- func (x *VpnGatewayInfo) GetRegion() string
- func (x *VpnGatewayInfo) GetUri() string
- func (x *VpnGatewayInfo) GetVpnTunnelUri() string
- func (*VpnGatewayInfo) ProtoMessage()
- func (x *VpnGatewayInfo) ProtoReflect() protoreflect.Message
- func (x *VpnGatewayInfo) Reset()
- func (x *VpnGatewayInfo) String() string
- type VpnTunnelInfo
- func (*VpnTunnelInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VpnTunnelInfo) GetDisplayName() string
- func (x *VpnTunnelInfo) GetNetworkUri() string
- func (x *VpnTunnelInfo) GetRegion() string
- func (x *VpnTunnelInfo) GetRemoteGateway() string
- func (x *VpnTunnelInfo) GetRemoteGatewayIp() string
- func (x *VpnTunnelInfo) GetRoutingType() VpnTunnelInfo_RoutingType
- func (x *VpnTunnelInfo) GetSourceGateway() string
- func (x *VpnTunnelInfo) GetSourceGatewayIp() string
- func (x *VpnTunnelInfo) GetUri() string
- func (*VpnTunnelInfo) ProtoMessage()
- func (x *VpnTunnelInfo) ProtoReflect() protoreflect.Message
- func (x *VpnTunnelInfo) Reset()
- func (x *VpnTunnelInfo) String() string
- type VpnTunnelInfo_RoutingType
- func (VpnTunnelInfo_RoutingType) Descriptor() protoreflect.EnumDescriptor
- func (x VpnTunnelInfo_RoutingType) Enum() *VpnTunnelInfo_RoutingType
- func (VpnTunnelInfo_RoutingType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VpnTunnelInfo_RoutingType) Number() protoreflect.EnumNumber
- func (x VpnTunnelInfo_RoutingType) String() string
- func (VpnTunnelInfo_RoutingType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
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.
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.
var ( ProbingDetails_ProbingResult_name = map[int32]string{ 0: "PROBING_RESULT_UNSPECIFIED", 1: "REACHABLE", 2: "UNREACHABLE", 3: "REACHABILITY_INCONSISTENT", 4: "UNDETERMINED", } ProbingDetails_ProbingResult_value = map[string]int32{ "PROBING_RESULT_UNSPECIFIED": 0, "REACHABLE": 1, "UNREACHABLE": 2, "REACHABILITY_INCONSISTENT": 3, "UNDETERMINED": 4, } )
Enum value maps for ProbingDetails_ProbingResult.
var ( ProbingDetails_ProbingAbortCause_name = map[int32]string{ 0: "PROBING_ABORT_CAUSE_UNSPECIFIED", 1: "PERMISSION_DENIED", 2: "NO_SOURCE_LOCATION", } ProbingDetails_ProbingAbortCause_value = map[string]int32{ "PROBING_ABORT_CAUSE_UNSPECIFIED": 0, "PERMISSION_DENIED": 1, "NO_SOURCE_LOCATION": 2, } )
Enum value maps for ProbingDetails_ProbingAbortCause.
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", 23: "START_FROM_CLOUD_FUNCTION", 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", 24: "ARRIVE_AT_VPC_CONNECTOR", 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, "START_FROM_CLOUD_FUNCTION": 23, "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, "ARRIVE_AT_VPC_CONNECTOR": 24, "NAT": 14, "PROXY_CONNECTION": 15, "DELIVER": 16, "DROP": 17, "FORWARD": 18, "ABORT": 19, "VIEWER_PERMISSION_MISSING": 20, } )
Enum value maps for Step_State.
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", 4: "SERVERLESS_VPC_ACCESS_MANAGED_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, "SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE": 4, } )
Enum value maps for FirewallInfo_FirewallRuleType.
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.
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.
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.
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.
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.
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.
var ( DeliverInfo_Target_name = map[int32]string{ 0: "TARGET_UNSPECIFIED", 1: "INSTANCE", 2: "INTERNET", 3: "GOOGLE_API", 4: "GKE_MASTER", 5: "CLOUD_SQL_INSTANCE", 6: "PSC_PUBLISHED_SERVICE", 7: "PSC_GOOGLE_API", 8: "PSC_VPC_SC", } DeliverInfo_Target_value = map[string]int32{ "TARGET_UNSPECIFIED": 0, "INSTANCE": 1, "INTERNET": 2, "GOOGLE_API": 3, "GKE_MASTER": 4, "CLOUD_SQL_INSTANCE": 5, "PSC_PUBLISHED_SERVICE": 6, "PSC_GOOGLE_API": 7, "PSC_VPC_SC": 8, } )
Enum value maps for DeliverInfo_Target.
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.
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.
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", 22: "CLOUD_FUNCTION_NOT_ACTIVE", 23: "VPC_CONNECTOR_NOT_SET", 24: "VPC_CONNECTOR_NOT_RUNNING", 25: "FORWARDING_RULE_REGION_MISMATCH", 26: "PSC_CONNECTION_NOT_ACCEPTED", } 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, "CLOUD_FUNCTION_NOT_ACTIVE": 22, "VPC_CONNECTOR_NOT_SET": 23, "VPC_CONNECTOR_NOT_RUNNING": 24, "FORWARDING_RULE_REGION_MISMATCH": 25, "PSC_CONNECTION_NOT_ACCEPTED": 26, } )
Enum value maps for DropInfo_Cause.
var File_google_cloud_networkmanagement_v1beta1_connectivity_test_proto protoreflect.FileDescriptor
var File_google_cloud_networkmanagement_v1beta1_reachability_proto protoreflect.FileDescriptor
var File_google_cloud_networkmanagement_v1beta1_trace_proto protoreflect.FileDescriptor
Functions ¶
func RegisterReachabilityServiceServer ¶
func RegisterReachabilityServiceServer(s *grpc.Server, srv ReachabilityServiceServer)
Types ¶
type AbortInfo ¶
type AbortInfo struct { // Causes that the analysis is aborted. Cause AbortInfo_Cause `protobuf:"varint,1,opt,name=cause,proto3,enum=google.cloud.networkmanagement.v1beta1.AbortInfo_Cause" json:"cause,omitempty"` // URI of the resource that caused the abort. ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` // List of project IDs that the user has specified in the request but does // not have permission to access network configs. Analysis is aborted in this // case with the PERMISSION_DENIED cause. ProjectsMissingPermission []string `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
Details of the final state "abort" and associated resource.
func (*AbortInfo) Descriptor
deprecated
func (*AbortInfo) GetCause ¶
func (x *AbortInfo) GetCause() AbortInfo_Cause
func (*AbortInfo) GetProjectsMissingPermission ¶
func (*AbortInfo) GetResourceUri ¶
func (*AbortInfo) ProtoMessage ¶
func (*AbortInfo) ProtoMessage()
func (*AbortInfo) ProtoReflect ¶
func (x *AbortInfo) ProtoReflect() protoreflect.Message
type AbortInfo_Cause ¶
type AbortInfo_Cause int32
Abort cause types:
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) Descriptor() protoreflect.EnumDescriptor
func (AbortInfo_Cause) Enum ¶
func (x AbortInfo_Cause) Enum() *AbortInfo_Cause
func (AbortInfo_Cause) EnumDescriptor
deprecated
func (AbortInfo_Cause) EnumDescriptor() ([]byte, []int)
Deprecated: Use AbortInfo_Cause.Descriptor instead.
func (AbortInfo_Cause) Number ¶
func (x AbortInfo_Cause) Number() protoreflect.EnumNumber
func (AbortInfo_Cause) String ¶
func (x AbortInfo_Cause) String() string
func (AbortInfo_Cause) Type ¶
func (AbortInfo_Cause) Type() protoreflect.EnumType
type CloudFunctionInfo ¶
type CloudFunctionInfo struct { // Name of a Cloud function. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // URI of a Cloud function. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // Location in which the Cloud function is deployed. Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` // Latest successfully deployed version id of the Cloud function. VersionId int64 `protobuf:"varint,4,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
For display only. Metadata associated with a Cloud function.
func (*CloudFunctionInfo) Descriptor
deprecated
func (*CloudFunctionInfo) Descriptor() ([]byte, []int)
Deprecated: Use CloudFunctionInfo.ProtoReflect.Descriptor instead.
func (*CloudFunctionInfo) GetDisplayName ¶
func (x *CloudFunctionInfo) GetDisplayName() string
func (*CloudFunctionInfo) GetLocation ¶
func (x *CloudFunctionInfo) GetLocation() string
func (*CloudFunctionInfo) GetUri ¶
func (x *CloudFunctionInfo) GetUri() string
func (*CloudFunctionInfo) GetVersionId ¶
func (x *CloudFunctionInfo) GetVersionId() int64
func (*CloudFunctionInfo) ProtoMessage ¶
func (*CloudFunctionInfo) ProtoMessage()
func (*CloudFunctionInfo) ProtoReflect ¶
func (x *CloudFunctionInfo) ProtoReflect() protoreflect.Message
func (*CloudFunctionInfo) Reset ¶
func (x *CloudFunctionInfo) Reset()
func (*CloudFunctionInfo) String ¶
func (x *CloudFunctionInfo) String() string
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
deprecated
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
type ConnectivityTest ¶
type ConnectivityTest struct { // Required. Unique name of the resource using the form: // // `projects/{project_id}/locations/global/connectivityTests/{test}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The user-supplied description of the Connectivity Test. // Maximum of 512 characters. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Required. Source specification of the Connectivity Test. // // You can use a combination of source IP address, virtual machine // (VM) instance, or Compute Engine network to uniquely identify // the source location. // // Examples: // If the source IP address is an internal IP address within a Google Cloud // Virtual Private Cloud (VPC) network, then you must also specify the VPC // network. Otherwise, specify the VM instance, which already contains its // internal IP address and VPC network information. // // If the source of the test is within an on-premises network, then you must // provide the destination VPC network. // // If the source endpoint is a Compute Engine VM instance with multiple // network interfaces, the instance itself is not sufficient to identify the // endpoint. So, you must also specify the source IP address or VPC network. // // A reachability analysis proceeds even if the source location is // ambiguous. However, the test result may include endpoints that you don't // intend to test. Source *Endpoint `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // Required. Destination specification of the Connectivity Test. // // You can use a combination of destination IP address, Compute Engine // VM instance, or VPC network to uniquely identify the destination // location. // // Even if the destination IP address is not unique, the source IP // location is unique. Usually, the analysis can infer the destination // endpoint from route information. // // If the destination you specify is a VM instance and the instance has // multiple network interfaces, then you must also specify either // a destination IP address or VPC network to identify the destination // interface. // // A reachability analysis proceeds even if the destination location is // ambiguous. However, the result can include endpoints that you don't // intend to test. Destination *Endpoint `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"` // IP Protocol of the test. When not provided, "TCP" is assumed. Protocol string `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"` // Other projects that may be relevant for reachability analysis. // This is applicable to scenarios where a test can cross project boundaries. RelatedProjects []string `protobuf:"bytes,6,rep,name=related_projects,json=relatedProjects,proto3" json:"related_projects,omitempty"` // Output only. The display name of a Connectivity Test. DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Resource labels to represent user-provided metadata. Labels map[string]string `` /* 153-byte string literal not displayed */ // Output only. The time the test was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the test's configuration was updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The reachability details of this test from the latest run. // The details are updated when creating a new test, updating an // existing test, or triggering a one-time rerun of an existing test. ReachabilityDetails *ReachabilityDetails `protobuf:"bytes,12,opt,name=reachability_details,json=reachabilityDetails,proto3" json:"reachability_details,omitempty"` // Output only. The probing details of this test from the latest run, present // for applicable tests only. The details are updated when creating a new // test, updating an existing test, or triggering a one-time rerun of an // existing test. ProbingDetails *ProbingDetails `protobuf:"bytes,14,opt,name=probing_details,json=probingDetails,proto3" json:"probing_details,omitempty"` // contains filtered or unexported fields }
A Connectivity Test for a network reachability analysis.
func (*ConnectivityTest) Descriptor
deprecated
func (*ConnectivityTest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectivityTest.ProtoReflect.Descriptor instead.
func (*ConnectivityTest) GetCreateTime ¶
func (x *ConnectivityTest) GetCreateTime() *timestamppb.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) GetProbingDetails ¶
func (x *ConnectivityTest) GetProbingDetails() *ProbingDetails
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() *timestamppb.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
type 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
deprecated
func (*CreateConnectivityTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateConnectivityTestRequest.ProtoReflect.Descriptor instead.
func (*CreateConnectivityTestRequest) GetParent ¶
func (x *CreateConnectivityTestRequest) GetParent() string
func (*CreateConnectivityTestRequest) GetResource ¶
func (x *CreateConnectivityTestRequest) GetResource() *ConnectivityTest
func (*CreateConnectivityTestRequest) GetTestId ¶
func (x *CreateConnectivityTestRequest) GetTestId() string
func (*CreateConnectivityTestRequest) ProtoMessage ¶
func (*CreateConnectivityTestRequest) ProtoMessage()
func (*CreateConnectivityTestRequest) ProtoReflect ¶
func (x *CreateConnectivityTestRequest) ProtoReflect() protoreflect.Message
func (*CreateConnectivityTestRequest) Reset ¶
func (x *CreateConnectivityTestRequest) Reset()
func (*CreateConnectivityTestRequest) String ¶
func (x *CreateConnectivityTestRequest) String() string
type 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
deprecated
func (*DeleteConnectivityTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConnectivityTestRequest.ProtoReflect.Descriptor instead.
func (*DeleteConnectivityTestRequest) GetName ¶
func (x *DeleteConnectivityTestRequest) GetName() string
func (*DeleteConnectivityTestRequest) ProtoMessage ¶
func (*DeleteConnectivityTestRequest) ProtoMessage()
func (*DeleteConnectivityTestRequest) ProtoReflect ¶
func (x *DeleteConnectivityTestRequest) ProtoReflect() protoreflect.Message
func (*DeleteConnectivityTestRequest) Reset ¶
func (x *DeleteConnectivityTestRequest) Reset()
func (*DeleteConnectivityTestRequest) String ¶
func (x *DeleteConnectivityTestRequest) String() string
type DeliverInfo ¶
type DeliverInfo struct { // Target type where the packet is delivered to. Target DeliverInfo_Target `` /* 129-byte string literal not displayed */ // 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
deprecated
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
type DeliverInfo_Target ¶
type DeliverInfo_Target int32
Deliver target types:
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 // Target is a published service using [Private Service // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services). DeliverInfo_PSC_PUBLISHED_SERVICE DeliverInfo_Target = 6 // Target is all Google APIs using [Private Service // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). DeliverInfo_PSC_GOOGLE_API DeliverInfo_Target = 7 // Target is VPC-SC using [Private Service // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). DeliverInfo_PSC_VPC_SC DeliverInfo_Target = 8 )
func (DeliverInfo_Target) Descriptor ¶
func (DeliverInfo_Target) Descriptor() protoreflect.EnumDescriptor
func (DeliverInfo_Target) Enum ¶
func (x DeliverInfo_Target) Enum() *DeliverInfo_Target
func (DeliverInfo_Target) EnumDescriptor
deprecated
func (DeliverInfo_Target) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeliverInfo_Target.Descriptor instead.
func (DeliverInfo_Target) Number ¶
func (x DeliverInfo_Target) Number() protoreflect.EnumNumber
func (DeliverInfo_Target) String ¶
func (x DeliverInfo_Target) String() string
func (DeliverInfo_Target) Type ¶
func (DeliverInfo_Target) Type() protoreflect.EnumType
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.v1beta1.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
deprecated
func (*DropInfo) GetCause ¶
func (x *DropInfo) GetCause() DropInfo_Cause
func (*DropInfo) GetResourceUri ¶
func (*DropInfo) ProtoMessage ¶
func (*DropInfo) ProtoMessage()
func (*DropInfo) ProtoReflect ¶
func (x *DropInfo) ProtoReflect() protoreflect.Message
type DropInfo_Cause ¶
type DropInfo_Cause int32
Drop cause types:
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 // Packet could be dropped because the Cloud function is not in an active // status. DropInfo_CLOUD_FUNCTION_NOT_ACTIVE DropInfo_Cause = 22 // Packet could be dropped because no VPC connector is set. DropInfo_VPC_CONNECTOR_NOT_SET DropInfo_Cause = 23 // Packet could be dropped because the VPC connector is not in a running // state. DropInfo_VPC_CONNECTOR_NOT_RUNNING DropInfo_Cause = 24 // Packet could be dropped because it was sent from a different region // to a regional forwarding without global access. DropInfo_FORWARDING_RULE_REGION_MISMATCH DropInfo_Cause = 25 // Privte Service Connect (PSC) connection is not in accepted state. DropInfo_PSC_CONNECTION_NOT_ACCEPTED DropInfo_Cause = 26 )
func (DropInfo_Cause) Descriptor ¶
func (DropInfo_Cause) Descriptor() protoreflect.EnumDescriptor
func (DropInfo_Cause) Enum ¶
func (x DropInfo_Cause) Enum() *DropInfo_Cause
func (DropInfo_Cause) EnumDescriptor
deprecated
func (DropInfo_Cause) EnumDescriptor() ([]byte, []int)
Deprecated: Use DropInfo_Cause.Descriptor instead.
func (DropInfo_Cause) Number ¶
func (x DropInfo_Cause) Number() protoreflect.EnumNumber
func (DropInfo_Cause) String ¶
func (x DropInfo_Cause) String() string
func (DropInfo_Cause) Type ¶
func (DropInfo_Cause) Type() protoreflect.EnumType
type Endpoint ¶
type Endpoint struct { // The IP address of the endpoint, which can be an external or internal IP. // An IPv6 address is only allowed when the test's destination is a // [global load balancer // VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview). IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // The IP protocol port of the endpoint. // Only applicable when protocol is TCP or UDP. Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // A Compute Engine instance URI. Instance string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"` // A cluster URI for [Google Kubernetes Engine // master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). GkeMasterCluster string `protobuf:"bytes,7,opt,name=gke_master_cluster,json=gkeMasterCluster,proto3" json:"gke_master_cluster,omitempty"` // A [Cloud SQL](https://cloud.google.com/sql) instance URI. CloudSqlInstance string `protobuf:"bytes,8,opt,name=cloud_sql_instance,json=cloudSqlInstance,proto3" json:"cloud_sql_instance,omitempty"` // A [Cloud function](https://cloud.google.com/functions). CloudFunction *Endpoint_CloudFunctionEndpoint `protobuf:"bytes,10,opt,name=cloud_function,json=cloudFunction,proto3" json:"cloud_function,omitempty"` // A Compute Engine network URI. Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"` // Type of the network where the endpoint is located. // Applicable only to source endpoint, as destination network type can be // inferred from the source. NetworkType Endpoint_NetworkType `` /* 160-byte string literal not displayed */ // Project ID where the endpoint is located. // The Project ID can be derived from the URI if you provide a VM instance or // network URI. // The following are two cases where you must provide the project ID: // 1. Only the IP address is specified, and the IP address is within a GCP // project. // 2. When you are using Shared VPC and the IP address that you provide is // from the service project. In this case, the network that the IP address // resides in is defined in the host project. ProjectId string `protobuf:"bytes,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
Source or destination of the Connectivity Test.
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetCloudFunction ¶
func (x *Endpoint) GetCloudFunction() *Endpoint_CloudFunctionEndpoint
func (*Endpoint) GetCloudSqlInstance ¶
func (*Endpoint) GetGkeMasterCluster ¶
func (*Endpoint) GetInstance ¶
func (*Endpoint) GetIpAddress ¶
func (*Endpoint) GetNetwork ¶
func (*Endpoint) GetNetworkType ¶
func (x *Endpoint) GetNetworkType() Endpoint_NetworkType
func (*Endpoint) GetProjectId ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type 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 `` /* 126-byte string literal not displayed */ // URI of the source telemetry agent this packet originates from. SourceAgentUri string `protobuf:"bytes,8,opt,name=source_agent_uri,json=sourceAgentUri,proto3" json:"source_agent_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
deprecated
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) GetSourceAgentUri ¶
func (x *EndpointInfo) GetSourceAgentUri() 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
type Endpoint_CloudFunctionEndpoint ¶
type Endpoint_CloudFunctionEndpoint struct { // A [Cloud function](https://cloud.google.com/functions) name. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
Wrapper for cloud function attributes.
func (*Endpoint_CloudFunctionEndpoint) Descriptor
deprecated
func (*Endpoint_CloudFunctionEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use Endpoint_CloudFunctionEndpoint.ProtoReflect.Descriptor instead.
func (*Endpoint_CloudFunctionEndpoint) GetUri ¶
func (x *Endpoint_CloudFunctionEndpoint) GetUri() string
func (*Endpoint_CloudFunctionEndpoint) ProtoMessage ¶
func (*Endpoint_CloudFunctionEndpoint) ProtoMessage()
func (*Endpoint_CloudFunctionEndpoint) ProtoReflect ¶
func (x *Endpoint_CloudFunctionEndpoint) ProtoReflect() protoreflect.Message
func (*Endpoint_CloudFunctionEndpoint) Reset ¶
func (x *Endpoint_CloudFunctionEndpoint) Reset()
func (*Endpoint_CloudFunctionEndpoint) String ¶
func (x *Endpoint_CloudFunctionEndpoint) String() string
type Endpoint_NetworkType ¶
type Endpoint_NetworkType int32
The type definition of an endpoint's network. Use one of the following choices:
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) Descriptor() protoreflect.EnumDescriptor
func (Endpoint_NetworkType) Enum ¶
func (x Endpoint_NetworkType) Enum() *Endpoint_NetworkType
func (Endpoint_NetworkType) EnumDescriptor
deprecated
func (Endpoint_NetworkType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Endpoint_NetworkType.Descriptor instead.
func (Endpoint_NetworkType) Number ¶
func (x Endpoint_NetworkType) Number() protoreflect.EnumNumber
func (Endpoint_NetworkType) String ¶
func (x Endpoint_NetworkType) String() string
func (Endpoint_NetworkType) Type ¶
func (Endpoint_NetworkType) Type() protoreflect.EnumType
type FirewallInfo ¶
type FirewallInfo struct { // The display name of the VPC firewall rule. This field is not applicable // to hierarchical firewall policy rules. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The URI of the VPC firewall rule. This field is not applicable to // implied firewall rules or hierarchical firewall policy rules. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // Possible values: INGRESS, EGRESS Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"` // Possible values: ALLOW, DENY Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` // The priority of the firewall rule. Priority int32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"` // The URI of the VPC network that the firewall rule is associated with. // This field is not applicable to hierarchical firewall policy rules. NetworkUri string `protobuf:"bytes,6,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"` // The target tags defined by the VPC firewall rule. This field is not // applicable to hierarchical firewall policy rules. TargetTags []string `protobuf:"bytes,7,rep,name=target_tags,json=targetTags,proto3" json:"target_tags,omitempty"` // The target service accounts specified by the firewall rule. TargetServiceAccounts []string `` /* 126-byte string literal not displayed */ // The hierarchical firewall policy that this rule is associated with. // This field is not applicable to VPC firewall rules. Policy string `protobuf:"bytes,9,opt,name=policy,proto3" json:"policy,omitempty"` // The firewall rule's type. FirewallRuleType FirewallInfo_FirewallRuleType `` /* 187-byte string literal not displayed */ // contains filtered or unexported fields }
For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a hierarchical firewall policy rule.
func (*FirewallInfo) Descriptor
deprecated
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
type FirewallInfo_FirewallRuleType ¶
type FirewallInfo_FirewallRuleType int32
The firewall rule's type.
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 // Implicit firewall rules that are managed by serverless VPC access to // allow ingress access. They are not visible in the Google Cloud console. // For details, see [VPC connector's implicit // rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access). FirewallInfo_SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE FirewallInfo_FirewallRuleType = 4 )
func (FirewallInfo_FirewallRuleType) Descriptor ¶
func (FirewallInfo_FirewallRuleType) Descriptor() protoreflect.EnumDescriptor
func (FirewallInfo_FirewallRuleType) Enum ¶
func (x FirewallInfo_FirewallRuleType) Enum() *FirewallInfo_FirewallRuleType
func (FirewallInfo_FirewallRuleType) EnumDescriptor
deprecated
func (FirewallInfo_FirewallRuleType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FirewallInfo_FirewallRuleType.Descriptor instead.
func (FirewallInfo_FirewallRuleType) Number ¶
func (x FirewallInfo_FirewallRuleType) Number() protoreflect.EnumNumber
func (FirewallInfo_FirewallRuleType) String ¶
func (x FirewallInfo_FirewallRuleType) String() string
func (FirewallInfo_FirewallRuleType) Type ¶
func (FirewallInfo_FirewallRuleType) Type() protoreflect.EnumType
type ForwardInfo ¶
type ForwardInfo struct { // Target type where this packet is forwarded to. Target ForwardInfo_Target `` /* 129-byte string literal not displayed */ // 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
deprecated
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
type ForwardInfo_Target ¶
type ForwardInfo_Target int32
Forward target types.
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) Descriptor() protoreflect.EnumDescriptor
func (ForwardInfo_Target) Enum ¶
func (x ForwardInfo_Target) Enum() *ForwardInfo_Target
func (ForwardInfo_Target) EnumDescriptor
deprecated
func (ForwardInfo_Target) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForwardInfo_Target.Descriptor instead.
func (ForwardInfo_Target) Number ¶
func (x ForwardInfo_Target) Number() protoreflect.EnumNumber
func (ForwardInfo_Target) String ¶
func (x ForwardInfo_Target) String() string
func (ForwardInfo_Target) Type ¶
func (ForwardInfo_Target) Type() protoreflect.EnumType
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
deprecated
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
type 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
deprecated
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
type 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
deprecated
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 (x *GetConnectivityTestRequest) ProtoReflect() protoreflect.Message
func (*GetConnectivityTestRequest) Reset ¶
func (x *GetConnectivityTestRequest) Reset()
func (*GetConnectivityTestRequest) String ¶
func (x *GetConnectivityTestRequest) String() string
type 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
deprecated
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
deprecated
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
type LatencyDistribution ¶
type LatencyDistribution struct { // Representative latency percentiles. LatencyPercentiles []*LatencyPercentile `protobuf:"bytes,1,rep,name=latency_percentiles,json=latencyPercentiles,proto3" json:"latency_percentiles,omitempty"` // contains filtered or unexported fields }
Describes measured latency distribution.
func (*LatencyDistribution) Descriptor
deprecated
func (*LatencyDistribution) Descriptor() ([]byte, []int)
Deprecated: Use LatencyDistribution.ProtoReflect.Descriptor instead.
func (*LatencyDistribution) GetLatencyPercentiles ¶
func (x *LatencyDistribution) GetLatencyPercentiles() []*LatencyPercentile
func (*LatencyDistribution) ProtoMessage ¶
func (*LatencyDistribution) ProtoMessage()
func (*LatencyDistribution) ProtoReflect ¶
func (x *LatencyDistribution) ProtoReflect() protoreflect.Message
func (*LatencyDistribution) Reset ¶
func (x *LatencyDistribution) Reset()
func (*LatencyDistribution) String ¶
func (x *LatencyDistribution) String() string
type LatencyPercentile ¶
type LatencyPercentile struct { // Percentage of samples this data point applies to. Percent int32 `protobuf:"varint,1,opt,name=percent,proto3" json:"percent,omitempty"` // percent-th percentile of latency observed, in microseconds. // Fraction of percent/100 of samples have latency lower or // equal to the value of this field. LatencyMicros int64 `protobuf:"varint,2,opt,name=latency_micros,json=latencyMicros,proto3" json:"latency_micros,omitempty"` // contains filtered or unexported fields }
Latency percentile rank and value.
func (*LatencyPercentile) Descriptor
deprecated
func (*LatencyPercentile) Descriptor() ([]byte, []int)
Deprecated: Use LatencyPercentile.ProtoReflect.Descriptor instead.
func (*LatencyPercentile) GetLatencyMicros ¶
func (x *LatencyPercentile) GetLatencyMicros() int64
func (*LatencyPercentile) GetPercent ¶
func (x *LatencyPercentile) GetPercent() int32
func (*LatencyPercentile) ProtoMessage ¶
func (*LatencyPercentile) ProtoMessage()
func (*LatencyPercentile) ProtoReflect ¶
func (x *LatencyPercentile) ProtoReflect() protoreflect.Message
func (*LatencyPercentile) Reset ¶
func (x *LatencyPercentile) Reset()
func (*LatencyPercentile) String ¶
func (x *LatencyPercentile) String() string
type 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 `<field> <operator> <value>` where operators: `<`, `>`, // `<=`, // `>=`, // `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is // roughly synonymous with equality). <field> can refer to a proto or JSON // field, or a synthetic field. Field names can be camelCase or snake_case. // // Examples: // - Filter by name: // name = "projects/proj-1/locations/global/connectivityTests/test-1 // // - Filter by labels: // - Resources that have a key called `foo` // labels.foo:* // - Resources that have a key called `foo` whose value is `bar` // labels.foo = bar Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Field to use to sort the list. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
Request for the `ListConnectivityTests` method.
func (*ListConnectivityTestsRequest) Descriptor
deprecated
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 (x *ListConnectivityTestsRequest) ProtoReflect() protoreflect.Message
func (*ListConnectivityTestsRequest) Reset ¶
func (x *ListConnectivityTestsRequest) Reset()
func (*ListConnectivityTestsRequest) String ¶
func (x *ListConnectivityTestsRequest) String() string
type 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
deprecated
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 (x *ListConnectivityTestsResponse) ProtoReflect() protoreflect.Message
func (*ListConnectivityTestsResponse) Reset ¶
func (x *ListConnectivityTestsResponse) Reset()
func (*ListConnectivityTestsResponse) String ¶
func (x *ListConnectivityTestsResponse) String() string
type LoadBalancerBackend ¶
type LoadBalancerBackend struct { // Name of a Compute Engine instance or network endpoint. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // URI of a Compute Engine instance or network endpoint. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // State of the health check firewall configuration. HealthCheckFirewallState LoadBalancerBackend_HealthCheckFirewallState `` /* 227-byte string literal not displayed */ // A list of firewall rule URIs allowing probes from health check IP ranges. HealthCheckAllowingFirewallRules []string `` /* 163-byte string literal not displayed */ // A list of firewall rule URIs blocking probes from health check IP ranges. HealthCheckBlockingFirewallRules []string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
For display only. Metadata associated with a specific load balancer backend.
func (*LoadBalancerBackend) Descriptor
deprecated
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
type LoadBalancerBackend_HealthCheckFirewallState ¶
type LoadBalancerBackend_HealthCheckFirewallState int32
State of a health check firewall configuration:
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) Descriptor() protoreflect.EnumDescriptor
func (LoadBalancerBackend_HealthCheckFirewallState) EnumDescriptor
deprecated
func (LoadBalancerBackend_HealthCheckFirewallState) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoadBalancerBackend_HealthCheckFirewallState.Descriptor instead.
func (LoadBalancerBackend_HealthCheckFirewallState) Number ¶
func (x LoadBalancerBackend_HealthCheckFirewallState) Number() protoreflect.EnumNumber
func (LoadBalancerBackend_HealthCheckFirewallState) String ¶
func (x LoadBalancerBackend_HealthCheckFirewallState) String() string
func (LoadBalancerBackend_HealthCheckFirewallState) Type ¶
func (LoadBalancerBackend_HealthCheckFirewallState) Type() protoreflect.EnumType
type LoadBalancerInfo ¶
type LoadBalancerInfo struct { // Type of the load balancer. LoadBalancerType LoadBalancerInfo_LoadBalancerType `` /* 190-byte string literal not displayed */ // URI of the health check for the load balancer. HealthCheckUri string `protobuf:"bytes,2,opt,name=health_check_uri,json=healthCheckUri,proto3" json:"health_check_uri,omitempty"` // Information for the loadbalancer backends. Backends []*LoadBalancerBackend `protobuf:"bytes,3,rep,name=backends,proto3" json:"backends,omitempty"` // Type of load balancer's backend configuration. BackendType LoadBalancerInfo_BackendType `` /* 168-byte string literal not displayed */ // Backend configuration URI. BackendUri string `protobuf:"bytes,5,opt,name=backend_uri,json=backendUri,proto3" json:"backend_uri,omitempty"` // contains filtered or unexported fields }
For display only. Metadata associated with a load balancer.
func (*LoadBalancerInfo) Descriptor
deprecated
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
type LoadBalancerInfo_BackendType ¶
type LoadBalancerInfo_BackendType int32
The type definition for a load balancer backend configuration:
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) Descriptor() protoreflect.EnumDescriptor
func (LoadBalancerInfo_BackendType) Enum ¶
func (x LoadBalancerInfo_BackendType) Enum() *LoadBalancerInfo_BackendType
func (LoadBalancerInfo_BackendType) EnumDescriptor
deprecated
func (LoadBalancerInfo_BackendType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoadBalancerInfo_BackendType.Descriptor instead.
func (LoadBalancerInfo_BackendType) Number ¶
func (x LoadBalancerInfo_BackendType) Number() protoreflect.EnumNumber
func (LoadBalancerInfo_BackendType) String ¶
func (x LoadBalancerInfo_BackendType) String() string
func (LoadBalancerInfo_BackendType) Type ¶
func (LoadBalancerInfo_BackendType) Type() protoreflect.EnumType
type LoadBalancerInfo_LoadBalancerType ¶
type LoadBalancerInfo_LoadBalancerType int32
The type definition for a load balancer:
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) Descriptor() protoreflect.EnumDescriptor
func (LoadBalancerInfo_LoadBalancerType) Enum ¶
func (x LoadBalancerInfo_LoadBalancerType) Enum() *LoadBalancerInfo_LoadBalancerType
func (LoadBalancerInfo_LoadBalancerType) EnumDescriptor
deprecated
func (LoadBalancerInfo_LoadBalancerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoadBalancerInfo_LoadBalancerType.Descriptor instead.
func (LoadBalancerInfo_LoadBalancerType) Number ¶
func (x LoadBalancerInfo_LoadBalancerType) Number() protoreflect.EnumNumber
func (LoadBalancerInfo_LoadBalancerType) String ¶
func (x LoadBalancerInfo_LoadBalancerType) String() string
func (LoadBalancerInfo_LoadBalancerType) Type ¶
func (LoadBalancerInfo_LoadBalancerType) Type() protoreflect.EnumType
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
deprecated
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
type OperationMetadata ¶
type OperationMetadata struct { // The time the operation was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time the operation finished running. EndTime *timestamppb.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
deprecated
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() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime ¶
func (x *OperationMetadata) GetEndTime() *timestamppb.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
type ProbingDetails ¶
type ProbingDetails struct { // The overall result of active probing. Result ProbingDetails_ProbingResult `` /* 139-byte string literal not displayed */ // The time that reachability was assessed through active probing. VerifyTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=verify_time,json=verifyTime,proto3" json:"verify_time,omitempty"` // Details about an internal failure or the cancellation of active probing. Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // The reason probing was aborted. AbortCause ProbingDetails_ProbingAbortCause `` /* 169-byte string literal not displayed */ // Number of probes sent. SentProbeCount int32 `protobuf:"varint,5,opt,name=sent_probe_count,json=sentProbeCount,proto3" json:"sent_probe_count,omitempty"` // Number of probes that reached the destination. SuccessfulProbeCount int32 `protobuf:"varint,6,opt,name=successful_probe_count,json=successfulProbeCount,proto3" json:"successful_probe_count,omitempty"` // The source and destination endpoints derived from the test input and used // for active probing. EndpointInfo *EndpointInfo `protobuf:"bytes,7,opt,name=endpoint_info,json=endpointInfo,proto3" json:"endpoint_info,omitempty"` // Latency as measured by active probing in one direction: // from the source to the destination endpoint. ProbingLatency *LatencyDistribution `protobuf:"bytes,8,opt,name=probing_latency,json=probingLatency,proto3" json:"probing_latency,omitempty"` // The EdgeLocation from which a packet destined for/originating from the // internet will egress/ingress the Google network. // This will only be populated for a connectivity test which has an internet // destination/source address. // The absence of this field *must not* be used as an indication that the // destination/source is part of the Google network. DestinationEgressLocation *ProbingDetails_EdgeLocation `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
Results of active probing from the last run of the test.
func (*ProbingDetails) Descriptor
deprecated
func (*ProbingDetails) Descriptor() ([]byte, []int)
Deprecated: Use ProbingDetails.ProtoReflect.Descriptor instead.
func (*ProbingDetails) GetAbortCause ¶
func (x *ProbingDetails) GetAbortCause() ProbingDetails_ProbingAbortCause
func (*ProbingDetails) GetDestinationEgressLocation ¶
func (x *ProbingDetails) GetDestinationEgressLocation() *ProbingDetails_EdgeLocation
func (*ProbingDetails) GetEndpointInfo ¶
func (x *ProbingDetails) GetEndpointInfo() *EndpointInfo
func (*ProbingDetails) GetError ¶
func (x *ProbingDetails) GetError() *status.Status
func (*ProbingDetails) GetProbingLatency ¶
func (x *ProbingDetails) GetProbingLatency() *LatencyDistribution
func (*ProbingDetails) GetResult ¶
func (x *ProbingDetails) GetResult() ProbingDetails_ProbingResult
func (*ProbingDetails) GetSentProbeCount ¶
func (x *ProbingDetails) GetSentProbeCount() int32
func (*ProbingDetails) GetSuccessfulProbeCount ¶
func (x *ProbingDetails) GetSuccessfulProbeCount() int32
func (*ProbingDetails) GetVerifyTime ¶
func (x *ProbingDetails) GetVerifyTime() *timestamppb.Timestamp
func (*ProbingDetails) ProtoMessage ¶
func (*ProbingDetails) ProtoMessage()
func (*ProbingDetails) ProtoReflect ¶
func (x *ProbingDetails) ProtoReflect() protoreflect.Message
func (*ProbingDetails) Reset ¶
func (x *ProbingDetails) Reset()
func (*ProbingDetails) String ¶
func (x *ProbingDetails) String() string
type ProbingDetails_EdgeLocation ¶
type ProbingDetails_EdgeLocation struct { // Name of the metropolitan area. MetropolitanArea string `protobuf:"bytes,1,opt,name=metropolitan_area,json=metropolitanArea,proto3" json:"metropolitan_area,omitempty"` // contains filtered or unexported fields }
Representation of a network edge location as per https://cloud.google.com/vpc/docs/edge-locations.
func (*ProbingDetails_EdgeLocation) Descriptor
deprecated
func (*ProbingDetails_EdgeLocation) Descriptor() ([]byte, []int)
Deprecated: Use ProbingDetails_EdgeLocation.ProtoReflect.Descriptor instead.
func (*ProbingDetails_EdgeLocation) GetMetropolitanArea ¶
func (x *ProbingDetails_EdgeLocation) GetMetropolitanArea() string
func (*ProbingDetails_EdgeLocation) ProtoMessage ¶
func (*ProbingDetails_EdgeLocation) ProtoMessage()
func (*ProbingDetails_EdgeLocation) ProtoReflect ¶
func (x *ProbingDetails_EdgeLocation) ProtoReflect() protoreflect.Message
func (*ProbingDetails_EdgeLocation) Reset ¶
func (x *ProbingDetails_EdgeLocation) Reset()
func (*ProbingDetails_EdgeLocation) String ¶
func (x *ProbingDetails_EdgeLocation) String() string
type ProbingDetails_ProbingAbortCause ¶
type ProbingDetails_ProbingAbortCause int32
Abort cause types.
const ( // No reason was specified. ProbingDetails_PROBING_ABORT_CAUSE_UNSPECIFIED ProbingDetails_ProbingAbortCause = 0 // The user lacks permission to access some of the // network resources required to run the test. ProbingDetails_PERMISSION_DENIED ProbingDetails_ProbingAbortCause = 1 // No valid source endpoint could be derived from the request. ProbingDetails_NO_SOURCE_LOCATION ProbingDetails_ProbingAbortCause = 2 )
func (ProbingDetails_ProbingAbortCause) Descriptor ¶
func (ProbingDetails_ProbingAbortCause) Descriptor() protoreflect.EnumDescriptor
func (ProbingDetails_ProbingAbortCause) Enum ¶
func (x ProbingDetails_ProbingAbortCause) Enum() *ProbingDetails_ProbingAbortCause
func (ProbingDetails_ProbingAbortCause) EnumDescriptor
deprecated
func (ProbingDetails_ProbingAbortCause) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProbingDetails_ProbingAbortCause.Descriptor instead.
func (ProbingDetails_ProbingAbortCause) Number ¶
func (x ProbingDetails_ProbingAbortCause) Number() protoreflect.EnumNumber
func (ProbingDetails_ProbingAbortCause) String ¶
func (x ProbingDetails_ProbingAbortCause) String() string
func (ProbingDetails_ProbingAbortCause) Type ¶
func (ProbingDetails_ProbingAbortCause) Type() protoreflect.EnumType
type ProbingDetails_ProbingResult ¶
type ProbingDetails_ProbingResult int32
Overall probing result of the test.
const ( // No result was specified. ProbingDetails_PROBING_RESULT_UNSPECIFIED ProbingDetails_ProbingResult = 0 // At least 95% of packets reached the destination. ProbingDetails_REACHABLE ProbingDetails_ProbingResult = 1 // No packets reached the destination. ProbingDetails_UNREACHABLE ProbingDetails_ProbingResult = 2 // Less than 95% of packets reached the destination. ProbingDetails_REACHABILITY_INCONSISTENT ProbingDetails_ProbingResult = 3 // Reachability could not be determined. Possible reasons are: // - The user lacks permission to access some of the network resources // required to run the test. // - No valid source endpoint could be derived from the request. // - An internal error occurred. ProbingDetails_UNDETERMINED ProbingDetails_ProbingResult = 4 )
func (ProbingDetails_ProbingResult) Descriptor ¶
func (ProbingDetails_ProbingResult) Descriptor() protoreflect.EnumDescriptor
func (ProbingDetails_ProbingResult) Enum ¶
func (x ProbingDetails_ProbingResult) Enum() *ProbingDetails_ProbingResult
func (ProbingDetails_ProbingResult) EnumDescriptor
deprecated
func (ProbingDetails_ProbingResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProbingDetails_ProbingResult.Descriptor instead.
func (ProbingDetails_ProbingResult) Number ¶
func (x ProbingDetails_ProbingResult) Number() protoreflect.EnumNumber
func (ProbingDetails_ProbingResult) String ¶
func (x ProbingDetails_ProbingResult) String() string
func (ProbingDetails_ProbingResult) Type ¶
func (ProbingDetails_ProbingResult) Type() protoreflect.EnumType
type ReachabilityDetails ¶
type ReachabilityDetails struct { // The overall result of the test's configuration analysis. Result ReachabilityDetails_Result `` /* 137-byte string literal not displayed */ // The time of the configuration analysis. VerifyTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=verify_time,json=verifyTime,proto3" json:"verify_time,omitempty"` // The details of a failure or a cancellation of reachability analysis. Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // Result may contain a list of traces if a test has multiple possible // paths in the network, such as when destination endpoint is a load balancer // with multiple backends. Traces []*Trace `protobuf:"bytes,5,rep,name=traces,proto3" json:"traces,omitempty"` // contains filtered or unexported fields }
Results of the configuration analysis from the last run of the test.
func (*ReachabilityDetails) Descriptor
deprecated
func (*ReachabilityDetails) Descriptor() ([]byte, []int)
Deprecated: Use ReachabilityDetails.ProtoReflect.Descriptor instead.
func (*ReachabilityDetails) GetError ¶
func (x *ReachabilityDetails) GetError() *status.Status
func (*ReachabilityDetails) GetResult ¶
func (x *ReachabilityDetails) GetResult() ReachabilityDetails_Result
func (*ReachabilityDetails) GetTraces ¶
func (x *ReachabilityDetails) GetTraces() []*Trace
func (*ReachabilityDetails) GetVerifyTime ¶
func (x *ReachabilityDetails) GetVerifyTime() *timestamppb.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
type ReachabilityDetails_Result ¶
type ReachabilityDetails_Result int32
The overall result of the test's configuration analysis.
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) Descriptor() protoreflect.EnumDescriptor
func (ReachabilityDetails_Result) Enum ¶
func (x ReachabilityDetails_Result) Enum() *ReachabilityDetails_Result
func (ReachabilityDetails_Result) EnumDescriptor
deprecated
func (ReachabilityDetails_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReachabilityDetails_Result.Descriptor instead.
func (ReachabilityDetails_Result) Number ¶
func (x ReachabilityDetails_Result) Number() protoreflect.EnumNumber
func (ReachabilityDetails_Result) String ¶
func (x ReachabilityDetails_Result) String() string
func (ReachabilityDetails_Result) Type ¶
func (ReachabilityDetails_Result) Type() protoreflect.EnumType
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 // <code>AMBIGUOUS</code>. 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 // <code>UNKNOWN</code>. // // 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
type 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 // <code>AMBIGUOUS</code>. 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 // <code>UNKNOWN</code>. // // 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.
type 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
deprecated
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 (x *RerunConnectivityTestRequest) ProtoReflect() protoreflect.Message
func (*RerunConnectivityTestRequest) Reset ¶
func (x *RerunConnectivityTestRequest) Reset()
func (*RerunConnectivityTestRequest) String ¶
func (x *RerunConnectivityTestRequest) String() string
type RouteInfo ¶
type RouteInfo struct { // Type of route. RouteType RouteInfo_RouteType `` /* 153-byte string literal not displayed */ // Type of next hop. NextHopType RouteInfo_NextHopType `` /* 163-byte string literal not displayed */ // Name of a Compute Engine route. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // URI of a Compute Engine route. // Dynamic route from cloud router does not have a URI. // Advertised route from Google Cloud VPC to on-premises network also does // not have a URI. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // Destination IP range of the route. DestIpRange string `protobuf:"bytes,3,opt,name=dest_ip_range,json=destIpRange,proto3" json:"dest_ip_range,omitempty"` // Next hop of the route. NextHop string `protobuf:"bytes,4,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"` // URI of a Compute Engine network. NetworkUri string `protobuf:"bytes,5,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"` // Priority of the route. Priority int32 `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty"` // Instance tags of the route. InstanceTags []string `protobuf:"bytes,7,rep,name=instance_tags,json=instanceTags,proto3" json:"instance_tags,omitempty"` // contains filtered or unexported fields }
For display only. Metadata associated with a Compute Engine route.
func (*RouteInfo) Descriptor
deprecated
func (*RouteInfo) GetDestIpRange ¶
func (*RouteInfo) GetDisplayName ¶
func (*RouteInfo) GetInstanceTags ¶
func (*RouteInfo) GetNetworkUri ¶
func (*RouteInfo) GetNextHop ¶
func (*RouteInfo) GetNextHopType ¶
func (x *RouteInfo) GetNextHopType() RouteInfo_NextHopType
func (*RouteInfo) GetPriority ¶
func (*RouteInfo) GetRouteType ¶
func (x *RouteInfo) GetRouteType() RouteInfo_RouteType
func (*RouteInfo) ProtoMessage ¶
func (*RouteInfo) ProtoMessage()
func (*RouteInfo) ProtoReflect ¶
func (x *RouteInfo) ProtoReflect() protoreflect.Message
type RouteInfo_NextHopType ¶
type RouteInfo_NextHopType int32
Type of next hop:
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) Descriptor() protoreflect.EnumDescriptor
func (RouteInfo_NextHopType) Enum ¶
func (x RouteInfo_NextHopType) Enum() *RouteInfo_NextHopType
func (RouteInfo_NextHopType) EnumDescriptor
deprecated
func (RouteInfo_NextHopType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RouteInfo_NextHopType.Descriptor instead.
func (RouteInfo_NextHopType) Number ¶
func (x RouteInfo_NextHopType) Number() protoreflect.EnumNumber
func (RouteInfo_NextHopType) String ¶
func (x RouteInfo_NextHopType) String() string
func (RouteInfo_NextHopType) Type ¶
func (RouteInfo_NextHopType) Type() protoreflect.EnumType
type RouteInfo_RouteType ¶
type RouteInfo_RouteType int32
Type of route:
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) Descriptor() protoreflect.EnumDescriptor
func (RouteInfo_RouteType) Enum ¶
func (x RouteInfo_RouteType) Enum() *RouteInfo_RouteType
func (RouteInfo_RouteType) EnumDescriptor
deprecated
func (RouteInfo_RouteType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RouteInfo_RouteType.Descriptor instead.
func (RouteInfo_RouteType) Number ¶
func (x RouteInfo_RouteType) Number() protoreflect.EnumNumber
func (RouteInfo_RouteType) String ¶
func (x RouteInfo_RouteType) String() string
func (RouteInfo_RouteType) Type ¶
func (RouteInfo_RouteType) Type() protoreflect.EnumType
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.v1beta1.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_VpcConnector // *Step_Deliver // *Step_Forward // *Step_Abort // *Step_Drop // *Step_LoadBalancer // *Step_Network // *Step_GkeMaster // *Step_CloudSqlInstance // *Step_CloudFunction 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
deprecated
func (*Step) GetCausesDrop ¶
func (*Step) GetCloudFunction ¶
func (x *Step) GetCloudFunction() *CloudFunctionInfo
func (*Step) GetCloudSqlInstance ¶
func (x *Step) GetCloudSqlInstance() *CloudSQLInstanceInfo
func (*Step) GetDeliver ¶
func (x *Step) GetDeliver() *DeliverInfo
func (*Step) GetDescription ¶
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 (*Step) GetState ¶
func (x *Step) GetState() Step_State
func (*Step) GetStepInfo ¶
func (m *Step) GetStepInfo() isStep_StepInfo
func (*Step) GetVpcConnector ¶
func (x *Step) GetVpcConnector() *VpcConnectorInfo
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
type 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"` }
type Step_CloudFunction ¶
type Step_CloudFunction struct { // Display information of a Cloud function. CloudFunction *CloudFunctionInfo `protobuf:"bytes,20,opt,name=cloud_function,json=cloudFunction,proto3,oneof"` }
type 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"` }
type 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"` }
type 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"` }
type 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"` }
type Step_Firewall ¶
type Step_Firewall struct { // Display information of a Compute Engine firewall rule. Firewall *FirewallInfo `protobuf:"bytes,6,opt,name=firewall,proto3,oneof"` }
type 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"` }
type 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"` }
type 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"` }
type Step_Instance ¶
type Step_Instance struct { // Display information of a Compute Engine instance. Instance *InstanceInfo `protobuf:"bytes,5,opt,name=instance,proto3,oneof"` }
type 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"` }
type Step_Network ¶
type Step_Network struct { // Display information of a Google Cloud network. Network *NetworkInfo `protobuf:"bytes,17,opt,name=network,proto3,oneof"` }
type Step_Route ¶
type Step_Route struct { // Display information of a Compute Engine route. Route *RouteInfo `protobuf:"bytes,7,opt,name=route,proto3,oneof"` }
type 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.
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 // Initial state: packet originating from a Cloud function. // A CloudFunctionInfo is populated with starting function information. Step_START_FROM_CLOUD_FUNCTION Step_State = 23 // 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 // Forwarding state: arriving at a VPC connector. Step_ARRIVE_AT_VPC_CONNECTOR Step_State = 24 // 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
deprecated
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 ¶
func (Step_State) Type() protoreflect.EnumType
type Step_VpcConnector ¶
type Step_VpcConnector struct { // Display information of a VPC connector. VpcConnector *VpcConnectorInfo `protobuf:"bytes,21,opt,name=vpc_connector,json=vpcConnector,proto3,oneof"` }
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"` }
type 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"` }
type 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
deprecated
func (*Trace) GetEndpointInfo ¶
func (x *Trace) GetEndpointInfo() *EndpointInfo
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) ProtoReflect ¶
func (x *Trace) ProtoReflect() protoreflect.Message
type UnimplementedReachabilityServiceServer ¶
type UnimplementedReachabilityServiceServer struct { }
UnimplementedReachabilityServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedReachabilityServiceServer) CreateConnectivityTest ¶
func (*UnimplementedReachabilityServiceServer) CreateConnectivityTest(context.Context, *CreateConnectivityTestRequest) (*longrunning.Operation, error)
func (*UnimplementedReachabilityServiceServer) DeleteConnectivityTest ¶
func (*UnimplementedReachabilityServiceServer) DeleteConnectivityTest(context.Context, *DeleteConnectivityTestRequest) (*longrunning.Operation, error)
func (*UnimplementedReachabilityServiceServer) GetConnectivityTest ¶
func (*UnimplementedReachabilityServiceServer) GetConnectivityTest(context.Context, *GetConnectivityTestRequest) (*ConnectivityTest, error)
func (*UnimplementedReachabilityServiceServer) ListConnectivityTests ¶
func (*UnimplementedReachabilityServiceServer) ListConnectivityTests(context.Context, *ListConnectivityTestsRequest) (*ListConnectivityTestsResponse, error)
func (*UnimplementedReachabilityServiceServer) RerunConnectivityTest ¶
func (*UnimplementedReachabilityServiceServer) RerunConnectivityTest(context.Context, *RerunConnectivityTestRequest) (*longrunning.Operation, error)
func (*UnimplementedReachabilityServiceServer) UpdateConnectivityTest ¶
func (*UnimplementedReachabilityServiceServer) UpdateConnectivityTest(context.Context, *UpdateConnectivityTestRequest) (*longrunning.Operation, error)
type UpdateConnectivityTestRequest ¶
type UpdateConnectivityTestRequest struct { // Required. Mask of fields to update. At least one path must be supplied in // this field. UpdateMask *fieldmaskpb.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
deprecated
func (*UpdateConnectivityTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConnectivityTestRequest.ProtoReflect.Descriptor instead.
func (*UpdateConnectivityTestRequest) GetResource ¶
func (x *UpdateConnectivityTestRequest) GetResource() *ConnectivityTest
func (*UpdateConnectivityTestRequest) GetUpdateMask ¶
func (x *UpdateConnectivityTestRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateConnectivityTestRequest) ProtoMessage ¶
func (*UpdateConnectivityTestRequest) ProtoMessage()
func (*UpdateConnectivityTestRequest) ProtoReflect ¶
func (x *UpdateConnectivityTestRequest) ProtoReflect() protoreflect.Message
func (*UpdateConnectivityTestRequest) Reset ¶
func (x *UpdateConnectivityTestRequest) Reset()
func (*UpdateConnectivityTestRequest) String ¶
func (x *UpdateConnectivityTestRequest) String() string
type VpcConnectorInfo ¶
type VpcConnectorInfo struct { // Name of a VPC connector. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // URI of a VPC connector. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // Location in which the VPC connector is deployed. Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
For display only. Metadata associated with a VPC connector.
func (*VpcConnectorInfo) Descriptor
deprecated
func (*VpcConnectorInfo) Descriptor() ([]byte, []int)
Deprecated: Use VpcConnectorInfo.ProtoReflect.Descriptor instead.
func (*VpcConnectorInfo) GetDisplayName ¶
func (x *VpcConnectorInfo) GetDisplayName() string
func (*VpcConnectorInfo) GetLocation ¶
func (x *VpcConnectorInfo) GetLocation() string
func (*VpcConnectorInfo) GetUri ¶
func (x *VpcConnectorInfo) GetUri() string
func (*VpcConnectorInfo) ProtoMessage ¶
func (*VpcConnectorInfo) ProtoMessage()
func (*VpcConnectorInfo) ProtoReflect ¶
func (x *VpcConnectorInfo) ProtoReflect() protoreflect.Message
func (*VpcConnectorInfo) Reset ¶
func (x *VpcConnectorInfo) Reset()
func (*VpcConnectorInfo) String ¶
func (x *VpcConnectorInfo) String() string
type 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
deprecated
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
type VpnTunnelInfo ¶
type VpnTunnelInfo struct { // Name of a VPN tunnel. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // URI of a VPN tunnel. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // URI of the VPN gateway at local end of the tunnel. SourceGateway string `protobuf:"bytes,3,opt,name=source_gateway,json=sourceGateway,proto3" json:"source_gateway,omitempty"` // URI of a VPN gateway at remote end of the tunnel. RemoteGateway string `protobuf:"bytes,4,opt,name=remote_gateway,json=remoteGateway,proto3" json:"remote_gateway,omitempty"` // Remote VPN gateway's IP address. RemoteGatewayIp string `protobuf:"bytes,5,opt,name=remote_gateway_ip,json=remoteGatewayIp,proto3" json:"remote_gateway_ip,omitempty"` // Local VPN gateway's IP address. SourceGatewayIp string `protobuf:"bytes,6,opt,name=source_gateway_ip,json=sourceGatewayIp,proto3" json:"source_gateway_ip,omitempty"` // URI of a Compute Engine network where the VPN tunnel is configured. NetworkUri string `protobuf:"bytes,7,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"` // Name of a Google Cloud region where this VPN tunnel is configured. Region string `protobuf:"bytes,8,opt,name=region,proto3" json:"region,omitempty"` // Type of the routing policy. RoutingType VpnTunnelInfo_RoutingType `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
For display only. Metadata associated with a Compute Engine VPN tunnel.
func (*VpnTunnelInfo) Descriptor
deprecated
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
type VpnTunnelInfo_RoutingType ¶
type VpnTunnelInfo_RoutingType int32
Types of VPN routing policy. For details, refer to [Networks and Tunnel routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
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) Descriptor() protoreflect.EnumDescriptor
func (VpnTunnelInfo_RoutingType) Enum ¶
func (x VpnTunnelInfo_RoutingType) Enum() *VpnTunnelInfo_RoutingType
func (VpnTunnelInfo_RoutingType) EnumDescriptor
deprecated
func (VpnTunnelInfo_RoutingType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VpnTunnelInfo_RoutingType.Descriptor instead.
func (VpnTunnelInfo_RoutingType) Number ¶
func (x VpnTunnelInfo_RoutingType) Number() protoreflect.EnumNumber
func (VpnTunnelInfo_RoutingType) String ¶
func (x VpnTunnelInfo_RoutingType) String() string
func (VpnTunnelInfo_RoutingType) Type ¶
func (VpnTunnelInfo_RoutingType) Type() protoreflect.EnumType