Documentation
¶
Index ¶
- Constants
- Variables
- type AbortInfo
- 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) SetCause(v AbortInfo_Cause)
- func (x *AbortInfo) SetProjectsMissingPermission(v []string)
- func (x *AbortInfo) SetResourceUri(v string)
- func (x *AbortInfo) String() string
- type AbortInfo_Cause
- type AbortInfo_builder
- type AppEngineVersionInfo
- func (x *AppEngineVersionInfo) GetDisplayName() string
- func (x *AppEngineVersionInfo) GetEnvironment() string
- func (x *AppEngineVersionInfo) GetRuntime() string
- func (x *AppEngineVersionInfo) GetUri() string
- func (*AppEngineVersionInfo) ProtoMessage()
- func (x *AppEngineVersionInfo) ProtoReflect() protoreflect.Message
- func (x *AppEngineVersionInfo) Reset()
- func (x *AppEngineVersionInfo) SetDisplayName(v string)
- func (x *AppEngineVersionInfo) SetEnvironment(v string)
- func (x *AppEngineVersionInfo) SetRuntime(v string)
- func (x *AppEngineVersionInfo) SetUri(v string)
- func (x *AppEngineVersionInfo) String() string
- type AppEngineVersionInfo_builder
- type CloudFunctionInfo
- 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) SetDisplayName(v string)
- func (x *CloudFunctionInfo) SetLocation(v string)
- func (x *CloudFunctionInfo) SetUri(v string)
- func (x *CloudFunctionInfo) SetVersionId(v int64)
- func (x *CloudFunctionInfo) String() string
- type CloudFunctionInfo_builder
- type CloudRunRevisionInfo
- func (x *CloudRunRevisionInfo) GetDisplayName() string
- func (x *CloudRunRevisionInfo) GetLocation() string
- func (x *CloudRunRevisionInfo) GetServiceUri() string
- func (x *CloudRunRevisionInfo) GetUri() string
- func (*CloudRunRevisionInfo) ProtoMessage()
- func (x *CloudRunRevisionInfo) ProtoReflect() protoreflect.Message
- func (x *CloudRunRevisionInfo) Reset()
- func (x *CloudRunRevisionInfo) SetDisplayName(v string)
- func (x *CloudRunRevisionInfo) SetLocation(v string)
- func (x *CloudRunRevisionInfo) SetServiceUri(v string)
- func (x *CloudRunRevisionInfo) SetUri(v string)
- func (x *CloudRunRevisionInfo) String() string
- type CloudRunRevisionInfo_builder
- type CloudSQLInstanceInfo
- 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) SetDisplayName(v string)
- func (x *CloudSQLInstanceInfo) SetExternalIp(v string)
- func (x *CloudSQLInstanceInfo) SetInternalIp(v string)
- func (x *CloudSQLInstanceInfo) SetNetworkUri(v string)
- func (x *CloudSQLInstanceInfo) SetRegion(v string)
- func (x *CloudSQLInstanceInfo) SetUri(v string)
- func (x *CloudSQLInstanceInfo) String() string
- type CloudSQLInstanceInfo_builder
- type ConnectivityTest
- func (x *ConnectivityTest) ClearCreateTime()
- func (x *ConnectivityTest) ClearDestination()
- func (x *ConnectivityTest) ClearReachabilityDetails()
- func (x *ConnectivityTest) ClearSource()
- func (x *ConnectivityTest) ClearUpdateTime()
- 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) GetProtocol() string
- func (x *ConnectivityTest) GetReachabilityDetails() *ReachabilityDetails
- func (x *ConnectivityTest) GetRelatedProjects() []string
- func (x *ConnectivityTest) GetSource() *Endpoint
- func (x *ConnectivityTest) GetUpdateTime() *timestamppb.Timestamp
- func (x *ConnectivityTest) HasCreateTime() bool
- func (x *ConnectivityTest) HasDestination() bool
- func (x *ConnectivityTest) HasReachabilityDetails() bool
- func (x *ConnectivityTest) HasSource() bool
- func (x *ConnectivityTest) HasUpdateTime() bool
- func (*ConnectivityTest) ProtoMessage()
- func (x *ConnectivityTest) ProtoReflect() protoreflect.Message
- func (x *ConnectivityTest) Reset()
- func (x *ConnectivityTest) SetCreateTime(v *timestamppb.Timestamp)
- func (x *ConnectivityTest) SetDescription(v string)
- func (x *ConnectivityTest) SetDestination(v *Endpoint)
- func (x *ConnectivityTest) SetDisplayName(v string)
- func (x *ConnectivityTest) SetLabels(v map[string]string)
- func (x *ConnectivityTest) SetName(v string)
- func (x *ConnectivityTest) SetProtocol(v string)
- func (x *ConnectivityTest) SetReachabilityDetails(v *ReachabilityDetails)
- func (x *ConnectivityTest) SetRelatedProjects(v []string)
- func (x *ConnectivityTest) SetSource(v *Endpoint)
- func (x *ConnectivityTest) SetUpdateTime(v *timestamppb.Timestamp)
- func (x *ConnectivityTest) String() string
- type ConnectivityTestCreatedEvent
- func (x *ConnectivityTestCreatedEvent) ClearData()
- func (x *ConnectivityTestCreatedEvent) GetData() *ConnectivityTestEventData
- func (x *ConnectivityTestCreatedEvent) HasData() bool
- func (*ConnectivityTestCreatedEvent) ProtoMessage()
- func (x *ConnectivityTestCreatedEvent) ProtoReflect() protoreflect.Message
- func (x *ConnectivityTestCreatedEvent) Reset()
- func (x *ConnectivityTestCreatedEvent) SetData(v *ConnectivityTestEventData)
- func (x *ConnectivityTestCreatedEvent) String() string
- type ConnectivityTestCreatedEvent_builder
- type ConnectivityTestDeletedEvent
- func (x *ConnectivityTestDeletedEvent) ClearData()
- func (x *ConnectivityTestDeletedEvent) GetData() *ConnectivityTestEventData
- func (x *ConnectivityTestDeletedEvent) HasData() bool
- func (*ConnectivityTestDeletedEvent) ProtoMessage()
- func (x *ConnectivityTestDeletedEvent) ProtoReflect() protoreflect.Message
- func (x *ConnectivityTestDeletedEvent) Reset()
- func (x *ConnectivityTestDeletedEvent) SetData(v *ConnectivityTestEventData)
- func (x *ConnectivityTestDeletedEvent) String() string
- type ConnectivityTestDeletedEvent_builder
- type ConnectivityTestEventData
- func (x *ConnectivityTestEventData) ClearPayload()
- func (x *ConnectivityTestEventData) GetPayload() *ConnectivityTest
- func (x *ConnectivityTestEventData) HasPayload() bool
- func (*ConnectivityTestEventData) ProtoMessage()
- func (x *ConnectivityTestEventData) ProtoReflect() protoreflect.Message
- func (x *ConnectivityTestEventData) Reset()
- func (x *ConnectivityTestEventData) SetPayload(v *ConnectivityTest)
- func (x *ConnectivityTestEventData) String() string
- type ConnectivityTestEventData_builder
- type ConnectivityTestUpdatedEvent
- func (x *ConnectivityTestUpdatedEvent) ClearData()
- func (x *ConnectivityTestUpdatedEvent) GetData() *ConnectivityTestEventData
- func (x *ConnectivityTestUpdatedEvent) HasData() bool
- func (*ConnectivityTestUpdatedEvent) ProtoMessage()
- func (x *ConnectivityTestUpdatedEvent) ProtoReflect() protoreflect.Message
- func (x *ConnectivityTestUpdatedEvent) Reset()
- func (x *ConnectivityTestUpdatedEvent) SetData(v *ConnectivityTestEventData)
- func (x *ConnectivityTestUpdatedEvent) String() string
- type ConnectivityTestUpdatedEvent_builder
- type ConnectivityTest_builder
- type DeliverInfo
- 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) SetResourceUri(v string)
- func (x *DeliverInfo) SetTarget(v DeliverInfo_Target)
- func (x *DeliverInfo) String() string
- type DeliverInfo_Target
- type DeliverInfo_builder
- type DropInfo
- func (x *DropInfo) GetCause() DropInfo_Cause
- func (x *DropInfo) GetResourceUri() string
- func (*DropInfo) ProtoMessage()
- func (x *DropInfo) ProtoReflect() protoreflect.Message
- func (x *DropInfo) Reset()
- func (x *DropInfo) SetCause(v DropInfo_Cause)
- func (x *DropInfo) SetResourceUri(v string)
- func (x *DropInfo) String() string
- type DropInfo_Cause
- type DropInfo_builder
- type Endpoint
- func (x *Endpoint) ClearAppEngineVersion()
- func (x *Endpoint) ClearCloudFunction()
- func (x *Endpoint) ClearCloudRunRevision()
- func (x *Endpoint) GetAppEngineVersion() *Endpoint_AppEngineVersionEndpoint
- func (x *Endpoint) GetCloudFunction() *Endpoint_CloudFunctionEndpoint
- func (x *Endpoint) GetCloudRunRevision() *Endpoint_CloudRunRevisionEndpoint
- 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 (x *Endpoint) HasAppEngineVersion() bool
- func (x *Endpoint) HasCloudFunction() bool
- func (x *Endpoint) HasCloudRunRevision() bool
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) SetAppEngineVersion(v *Endpoint_AppEngineVersionEndpoint)
- func (x *Endpoint) SetCloudFunction(v *Endpoint_CloudFunctionEndpoint)
- func (x *Endpoint) SetCloudRunRevision(v *Endpoint_CloudRunRevisionEndpoint)
- func (x *Endpoint) SetCloudSqlInstance(v string)
- func (x *Endpoint) SetGkeMasterCluster(v string)
- func (x *Endpoint) SetInstance(v string)
- func (x *Endpoint) SetIpAddress(v string)
- func (x *Endpoint) SetNetwork(v string)
- func (x *Endpoint) SetNetworkType(v Endpoint_NetworkType)
- func (x *Endpoint) SetPort(v int32)
- func (x *Endpoint) SetProjectId(v string)
- func (x *Endpoint) String() string
- type EndpointInfo
- func (x *EndpointInfo) GetDestinationIp() string
- func (x *EndpointInfo) GetDestinationNetworkUri() string
- func (x *EndpointInfo) GetDestinationPort() int32
- func (x *EndpointInfo) GetProtocol() 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) SetDestinationIp(v string)
- func (x *EndpointInfo) SetDestinationNetworkUri(v string)
- func (x *EndpointInfo) SetDestinationPort(v int32)
- func (x *EndpointInfo) SetProtocol(v string)
- func (x *EndpointInfo) SetSourceIp(v string)
- func (x *EndpointInfo) SetSourceNetworkUri(v string)
- func (x *EndpointInfo) SetSourcePort(v int32)
- func (x *EndpointInfo) String() string
- type EndpointInfo_builder
- type Endpoint_AppEngineVersionEndpoint
- func (x *Endpoint_AppEngineVersionEndpoint) GetUri() string
- func (*Endpoint_AppEngineVersionEndpoint) ProtoMessage()
- func (x *Endpoint_AppEngineVersionEndpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint_AppEngineVersionEndpoint) Reset()
- func (x *Endpoint_AppEngineVersionEndpoint) SetUri(v string)
- func (x *Endpoint_AppEngineVersionEndpoint) String() string
- type Endpoint_AppEngineVersionEndpoint_builder
- type Endpoint_CloudFunctionEndpoint
- 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) SetUri(v string)
- func (x *Endpoint_CloudFunctionEndpoint) String() string
- type Endpoint_CloudFunctionEndpoint_builder
- type Endpoint_CloudRunRevisionEndpoint
- func (x *Endpoint_CloudRunRevisionEndpoint) GetUri() string
- func (*Endpoint_CloudRunRevisionEndpoint) ProtoMessage()
- func (x *Endpoint_CloudRunRevisionEndpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint_CloudRunRevisionEndpoint) Reset()
- func (x *Endpoint_CloudRunRevisionEndpoint) SetUri(v string)
- func (x *Endpoint_CloudRunRevisionEndpoint) String() string
- type Endpoint_CloudRunRevisionEndpoint_builder
- type Endpoint_NetworkType
- type Endpoint_builder
- type FirewallInfo
- 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) SetAction(v string)
- func (x *FirewallInfo) SetDirection(v string)
- func (x *FirewallInfo) SetDisplayName(v string)
- func (x *FirewallInfo) SetFirewallRuleType(v FirewallInfo_FirewallRuleType)
- func (x *FirewallInfo) SetNetworkUri(v string)
- func (x *FirewallInfo) SetPolicy(v string)
- func (x *FirewallInfo) SetPriority(v int32)
- func (x *FirewallInfo) SetTargetServiceAccounts(v []string)
- func (x *FirewallInfo) SetTargetTags(v []string)
- func (x *FirewallInfo) SetUri(v string)
- func (x *FirewallInfo) String() string
- type FirewallInfo_FirewallRuleType
- func (FirewallInfo_FirewallRuleType) Descriptor() protoreflect.EnumDescriptor
- func (x FirewallInfo_FirewallRuleType) Enum() *FirewallInfo_FirewallRuleType
- func (x FirewallInfo_FirewallRuleType) Number() protoreflect.EnumNumber
- func (x FirewallInfo_FirewallRuleType) String() string
- func (FirewallInfo_FirewallRuleType) Type() protoreflect.EnumType
- type FirewallInfo_builder
- type ForwardInfo
- 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) SetResourceUri(v string)
- func (x *ForwardInfo) SetTarget(v ForwardInfo_Target)
- func (x *ForwardInfo) String() string
- type ForwardInfo_Target
- type ForwardInfo_builder
- type ForwardingRuleInfo
- 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) SetDisplayName(v string)
- func (x *ForwardingRuleInfo) SetMatchedPortRange(v string)
- func (x *ForwardingRuleInfo) SetMatchedProtocol(v string)
- func (x *ForwardingRuleInfo) SetNetworkUri(v string)
- func (x *ForwardingRuleInfo) SetTarget(v string)
- func (x *ForwardingRuleInfo) SetUri(v string)
- func (x *ForwardingRuleInfo) SetVip(v string)
- func (x *ForwardingRuleInfo) String() string
- type ForwardingRuleInfo_builder
- type GKEMasterInfo
- 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) SetClusterNetworkUri(v string)
- func (x *GKEMasterInfo) SetClusterUri(v string)
- func (x *GKEMasterInfo) SetExternalIp(v string)
- func (x *GKEMasterInfo) SetInternalIp(v string)
- func (x *GKEMasterInfo) String() string
- type GKEMasterInfo_builder
- type GoogleServiceInfo
- func (x *GoogleServiceInfo) GetGoogleServiceType() GoogleServiceInfo_GoogleServiceType
- func (x *GoogleServiceInfo) GetSourceIp() string
- func (*GoogleServiceInfo) ProtoMessage()
- func (x *GoogleServiceInfo) ProtoReflect() protoreflect.Message
- func (x *GoogleServiceInfo) Reset()
- func (x *GoogleServiceInfo) SetGoogleServiceType(v GoogleServiceInfo_GoogleServiceType)
- func (x *GoogleServiceInfo) SetSourceIp(v string)
- func (x *GoogleServiceInfo) String() string
- type GoogleServiceInfo_GoogleServiceType
- func (GoogleServiceInfo_GoogleServiceType) Descriptor() protoreflect.EnumDescriptor
- func (x GoogleServiceInfo_GoogleServiceType) Enum() *GoogleServiceInfo_GoogleServiceType
- func (x GoogleServiceInfo_GoogleServiceType) Number() protoreflect.EnumNumber
- func (x GoogleServiceInfo_GoogleServiceType) String() string
- func (GoogleServiceInfo_GoogleServiceType) Type() protoreflect.EnumType
- type GoogleServiceInfo_builder
- type InstanceInfo
- 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() string
- func (x *InstanceInfo) GetUri() string
- func (*InstanceInfo) ProtoMessage()
- func (x *InstanceInfo) ProtoReflect() protoreflect.Message
- func (x *InstanceInfo) Reset()
- func (x *InstanceInfo) SetDisplayName(v string)
- func (x *InstanceInfo) SetExternalIp(v string)
- func (x *InstanceInfo) SetInterface(v string)
- func (x *InstanceInfo) SetInternalIp(v string)
- func (x *InstanceInfo) SetNetworkTags(v []string)
- func (x *InstanceInfo) SetNetworkUri(v string)
- func (x *InstanceInfo) SetServiceAccount(v string)
- func (x *InstanceInfo) SetUri(v string)
- func (x *InstanceInfo) String() string
- type InstanceInfo_builder
- type LoadBalancerBackend
- 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) SetDisplayName(v string)
- func (x *LoadBalancerBackend) SetHealthCheckAllowingFirewallRules(v []string)
- func (x *LoadBalancerBackend) SetHealthCheckBlockingFirewallRules(v []string)
- func (x *LoadBalancerBackend) SetHealthCheckFirewallState(v LoadBalancerBackend_HealthCheckFirewallState)
- func (x *LoadBalancerBackend) SetUri(v string)
- func (x *LoadBalancerBackend) String() string
- type LoadBalancerBackend_HealthCheckFirewallState
- func (LoadBalancerBackend_HealthCheckFirewallState) Descriptor() protoreflect.EnumDescriptor
- func (x LoadBalancerBackend_HealthCheckFirewallState) Enum() *LoadBalancerBackend_HealthCheckFirewallState
- func (x LoadBalancerBackend_HealthCheckFirewallState) Number() protoreflect.EnumNumber
- func (x LoadBalancerBackend_HealthCheckFirewallState) String() string
- func (LoadBalancerBackend_HealthCheckFirewallState) Type() protoreflect.EnumType
- type LoadBalancerBackend_builder
- type LoadBalancerInfo
- 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) SetBackendType(v LoadBalancerInfo_BackendType)
- func (x *LoadBalancerInfo) SetBackendUri(v string)
- func (x *LoadBalancerInfo) SetBackends(v []*LoadBalancerBackend)
- func (x *LoadBalancerInfo) SetHealthCheckUri(v string)
- func (x *LoadBalancerInfo) SetLoadBalancerType(v LoadBalancerInfo_LoadBalancerType)
- func (x *LoadBalancerInfo) String() string
- type LoadBalancerInfo_BackendType
- func (LoadBalancerInfo_BackendType) Descriptor() protoreflect.EnumDescriptor
- func (x LoadBalancerInfo_BackendType) Enum() *LoadBalancerInfo_BackendType
- 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 (x LoadBalancerInfo_LoadBalancerType) Number() protoreflect.EnumNumber
- func (x LoadBalancerInfo_LoadBalancerType) String() string
- func (LoadBalancerInfo_LoadBalancerType) Type() protoreflect.EnumType
- type LoadBalancerInfo_builder
- type NetworkInfo
- 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) SetDisplayName(v string)
- func (x *NetworkInfo) SetMatchedIpRange(v string)
- func (x *NetworkInfo) SetUri(v string)
- func (x *NetworkInfo) String() string
- type NetworkInfo_builder
- type ReachabilityDetails
- func (x *ReachabilityDetails) ClearError()
- func (x *ReachabilityDetails) ClearVerifyTime()
- func (x *ReachabilityDetails) GetError() *status.Status
- func (x *ReachabilityDetails) GetResult() ReachabilityDetails_Result
- func (x *ReachabilityDetails) GetTraces() []*Trace
- func (x *ReachabilityDetails) GetVerifyTime() *timestamppb.Timestamp
- func (x *ReachabilityDetails) HasError() bool
- func (x *ReachabilityDetails) HasVerifyTime() bool
- func (*ReachabilityDetails) ProtoMessage()
- func (x *ReachabilityDetails) ProtoReflect() protoreflect.Message
- func (x *ReachabilityDetails) Reset()
- func (x *ReachabilityDetails) SetError(v *status.Status)
- func (x *ReachabilityDetails) SetResult(v ReachabilityDetails_Result)
- func (x *ReachabilityDetails) SetTraces(v []*Trace)
- func (x *ReachabilityDetails) SetVerifyTime(v *timestamppb.Timestamp)
- func (x *ReachabilityDetails) String() string
- type ReachabilityDetails_Result
- func (ReachabilityDetails_Result) Descriptor() protoreflect.EnumDescriptor
- func (x ReachabilityDetails_Result) Enum() *ReachabilityDetails_Result
- func (x ReachabilityDetails_Result) Number() protoreflect.EnumNumber
- func (x ReachabilityDetails_Result) String() string
- func (ReachabilityDetails_Result) Type() protoreflect.EnumType
- type ReachabilityDetails_builder
- type RouteInfo
- func (x *RouteInfo) GetDestIpRange() string
- func (x *RouteInfo) GetDestPortRanges() []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) GetProtocols() []string
- func (x *RouteInfo) GetRouteType() RouteInfo_RouteType
- func (x *RouteInfo) GetSrcIpRange() string
- func (x *RouteInfo) GetSrcPortRanges() []string
- func (x *RouteInfo) GetUri() string
- func (*RouteInfo) ProtoMessage()
- func (x *RouteInfo) ProtoReflect() protoreflect.Message
- func (x *RouteInfo) Reset()
- func (x *RouteInfo) SetDestIpRange(v string)
- func (x *RouteInfo) SetDestPortRanges(v []string)
- func (x *RouteInfo) SetDisplayName(v string)
- func (x *RouteInfo) SetInstanceTags(v []string)
- func (x *RouteInfo) SetNetworkUri(v string)
- func (x *RouteInfo) SetNextHop(v string)
- func (x *RouteInfo) SetNextHopType(v RouteInfo_NextHopType)
- func (x *RouteInfo) SetPriority(v int32)
- func (x *RouteInfo) SetProtocols(v []string)
- func (x *RouteInfo) SetRouteType(v RouteInfo_RouteType)
- func (x *RouteInfo) SetSrcIpRange(v string)
- func (x *RouteInfo) SetSrcPortRanges(v []string)
- func (x *RouteInfo) SetUri(v string)
- func (x *RouteInfo) String() string
- type RouteInfo_NextHopType
- type RouteInfo_RouteType
- type RouteInfo_builder
- type Step
- func (x *Step) ClearAbort()
- func (x *Step) ClearAppEngineVersion()
- func (x *Step) ClearCloudFunction()
- func (x *Step) ClearCloudRunRevision()
- func (x *Step) ClearCloudSqlInstance()
- func (x *Step) ClearDeliver()
- func (x *Step) ClearDrop()
- func (x *Step) ClearEndpoint()
- func (x *Step) ClearFirewall()
- func (x *Step) ClearForward()
- func (x *Step) ClearForwardingRule()
- func (x *Step) ClearGkeMaster()
- func (x *Step) ClearGoogleService()
- func (x *Step) ClearInstance()
- func (x *Step) ClearLoadBalancer()
- func (x *Step) ClearNetwork()
- func (x *Step) ClearRoute()
- func (x *Step) ClearStepInfo()
- func (x *Step) ClearVpcConnector()
- func (x *Step) ClearVpnGateway()
- func (x *Step) ClearVpnTunnel()
- func (x *Step) GetAbort() *AbortInfo
- func (x *Step) GetAppEngineVersion() *AppEngineVersionInfo
- func (x *Step) GetCausesDrop() bool
- func (x *Step) GetCloudFunction() *CloudFunctionInfo
- func (x *Step) GetCloudRunRevision() *CloudRunRevisionInfo
- 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) GetGoogleService() *GoogleServiceInfo
- 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 (x *Step) GetStepInfo() isStep_StepInfo
- func (x *Step) GetVpcConnector() *VpcConnectorInfo
- func (x *Step) GetVpnGateway() *VpnGatewayInfo
- func (x *Step) GetVpnTunnel() *VpnTunnelInfo
- func (x *Step) HasAbort() bool
- func (x *Step) HasAppEngineVersion() bool
- func (x *Step) HasCloudFunction() bool
- func (x *Step) HasCloudRunRevision() bool
- func (x *Step) HasCloudSqlInstance() bool
- func (x *Step) HasDeliver() bool
- func (x *Step) HasDrop() bool
- func (x *Step) HasEndpoint() bool
- func (x *Step) HasFirewall() bool
- func (x *Step) HasForward() bool
- func (x *Step) HasForwardingRule() bool
- func (x *Step) HasGkeMaster() bool
- func (x *Step) HasGoogleService() bool
- func (x *Step) HasInstance() bool
- func (x *Step) HasLoadBalancer() bool
- func (x *Step) HasNetwork() bool
- func (x *Step) HasRoute() bool
- func (x *Step) HasStepInfo() bool
- func (x *Step) HasVpcConnector() bool
- func (x *Step) HasVpnGateway() bool
- func (x *Step) HasVpnTunnel() bool
- func (*Step) ProtoMessage()
- func (x *Step) ProtoReflect() protoreflect.Message
- func (x *Step) Reset()
- func (x *Step) SetAbort(v *AbortInfo)
- func (x *Step) SetAppEngineVersion(v *AppEngineVersionInfo)
- func (x *Step) SetCausesDrop(v bool)
- func (x *Step) SetCloudFunction(v *CloudFunctionInfo)
- func (x *Step) SetCloudRunRevision(v *CloudRunRevisionInfo)
- func (x *Step) SetCloudSqlInstance(v *CloudSQLInstanceInfo)
- func (x *Step) SetDeliver(v *DeliverInfo)
- func (x *Step) SetDescription(v string)
- func (x *Step) SetDrop(v *DropInfo)
- func (x *Step) SetEndpoint(v *EndpointInfo)
- func (x *Step) SetFirewall(v *FirewallInfo)
- func (x *Step) SetForward(v *ForwardInfo)
- func (x *Step) SetForwardingRule(v *ForwardingRuleInfo)
- func (x *Step) SetGkeMaster(v *GKEMasterInfo)
- func (x *Step) SetGoogleService(v *GoogleServiceInfo)
- func (x *Step) SetInstance(v *InstanceInfo)
- func (x *Step) SetLoadBalancer(v *LoadBalancerInfo)
- func (x *Step) SetNetwork(v *NetworkInfo)
- func (x *Step) SetProjectId(v string)
- func (x *Step) SetRoute(v *RouteInfo)
- func (x *Step) SetState(v Step_State)
- func (x *Step) SetVpcConnector(v *VpcConnectorInfo)
- func (x *Step) SetVpnGateway(v *VpnGatewayInfo)
- func (x *Step) SetVpnTunnel(v *VpnTunnelInfo)
- func (x *Step) String() string
- func (x *Step) WhichStepInfo() case_Step_StepInfo
- type Step_Abort
- type Step_AppEngineVersion
- type Step_CloudFunction
- type Step_CloudRunRevision
- 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_GoogleService
- 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 Step_builder
- type Trace
- func (x *Trace) ClearEndpointInfo()
- func (x *Trace) GetEndpointInfo() *EndpointInfo
- func (x *Trace) GetSteps() []*Step
- func (x *Trace) HasEndpointInfo() bool
- func (*Trace) ProtoMessage()
- func (x *Trace) ProtoReflect() protoreflect.Message
- func (x *Trace) Reset()
- func (x *Trace) SetEndpointInfo(v *EndpointInfo)
- func (x *Trace) SetSteps(v []*Step)
- func (x *Trace) String() string
- type Trace_builder
- type VpcConnectorInfo
- 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) SetDisplayName(v string)
- func (x *VpcConnectorInfo) SetLocation(v string)
- func (x *VpcConnectorInfo) SetUri(v string)
- func (x *VpcConnectorInfo) String() string
- type VpcConnectorInfo_builder
- type VpnGatewayInfo
- 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) SetDisplayName(v string)
- func (x *VpnGatewayInfo) SetIpAddress(v string)
- func (x *VpnGatewayInfo) SetNetworkUri(v string)
- func (x *VpnGatewayInfo) SetRegion(v string)
- func (x *VpnGatewayInfo) SetUri(v string)
- func (x *VpnGatewayInfo) SetVpnTunnelUri(v string)
- func (x *VpnGatewayInfo) String() string
- type VpnGatewayInfo_builder
- type VpnTunnelInfo
- 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) SetDisplayName(v string)
- func (x *VpnTunnelInfo) SetNetworkUri(v string)
- func (x *VpnTunnelInfo) SetRegion(v string)
- func (x *VpnTunnelInfo) SetRemoteGateway(v string)
- func (x *VpnTunnelInfo) SetRemoteGatewayIp(v string)
- func (x *VpnTunnelInfo) SetRoutingType(v VpnTunnelInfo_RoutingType)
- func (x *VpnTunnelInfo) SetSourceGateway(v string)
- func (x *VpnTunnelInfo) SetSourceGatewayIp(v string)
- func (x *VpnTunnelInfo) SetUri(v string)
- func (x *VpnTunnelInfo) String() string
- type VpnTunnelInfo_RoutingType
- func (VpnTunnelInfo_RoutingType) Descriptor() protoreflect.EnumDescriptor
- func (x VpnTunnelInfo_RoutingType) Enum() *VpnTunnelInfo_RoutingType
- func (x VpnTunnelInfo_RoutingType) Number() protoreflect.EnumNumber
- func (x VpnTunnelInfo_RoutingType) String() string
- func (VpnTunnelInfo_RoutingType) Type() protoreflect.EnumType
- type VpnTunnelInfo_builder
Constants ¶
const Step_Abort_case case_Step_StepInfo = 14
const Step_AppEngineVersion_case case_Step_StepInfo = 22
const Step_CloudFunction_case case_Step_StepInfo = 20
const Step_CloudRunRevision_case case_Step_StepInfo = 23
const Step_CloudSqlInstance_case case_Step_StepInfo = 19
const Step_Deliver_case case_Step_StepInfo = 12
const Step_Drop_case case_Step_StepInfo = 15
const Step_Endpoint_case case_Step_StepInfo = 8
const Step_Firewall_case case_Step_StepInfo = 6
const Step_Forward_case case_Step_StepInfo = 13
const Step_ForwardingRule_case case_Step_StepInfo = 9
const Step_GkeMaster_case case_Step_StepInfo = 18
const Step_GoogleService_case case_Step_StepInfo = 24
const Step_Instance_case case_Step_StepInfo = 5
const Step_LoadBalancer_case case_Step_StepInfo = 16
const Step_Network_case case_Step_StepInfo = 17
const Step_Route_case case_Step_StepInfo = 7
const Step_StepInfo_not_set_case case_Step_StepInfo = 0
const Step_VpcConnector_case case_Step_StepInfo = 21
const Step_VpnGateway_case case_Step_StepInfo = 10
const Step_VpnTunnel_case case_Step_StepInfo = 11
Variables ¶
var ( Step_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "START_FROM_INSTANCE", 2: "START_FROM_INTERNET", 27: "START_FROM_GOOGLE_SERVICE", 3: "START_FROM_PRIVATE_NETWORK", 21: "START_FROM_GKE_MASTER", 22: "START_FROM_CLOUD_SQL_INSTANCE", 23: "START_FROM_CLOUD_FUNCTION", 25: "START_FROM_APP_ENGINE_VERSION", 26: "START_FROM_CLOUD_RUN_REVISION", 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_GOOGLE_SERVICE": 27, "START_FROM_PRIVATE_NETWORK": 3, "START_FROM_GKE_MASTER": 21, "START_FROM_CLOUD_SQL_INSTANCE": 22, "START_FROM_CLOUD_FUNCTION": 23, "START_FROM_APP_ENGINE_VERSION": 25, "START_FROM_CLOUD_RUN_REVISION": 26, "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", 5: "NETWORK_FIREWALL_POLICY_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, "NETWORK_FIREWALL_POLICY_RULE": 5, } )
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", 7: "POLICY_BASED", } 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, "POLICY_BASED": 7, } )
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 ( GoogleServiceInfo_GoogleServiceType_name = map[int32]string{ 0: "GOOGLE_SERVICE_TYPE_UNSPECIFIED", 1: "IAP", 2: "GFE_PROXY_OR_HEALTH_CHECK_PROBER", 3: "CLOUD_DNS", } GoogleServiceInfo_GoogleServiceType_value = map[string]int32{ "GOOGLE_SERVICE_TYPE_UNSPECIFIED": 0, "IAP": 1, "GFE_PROXY_OR_HEALTH_CHECK_PROBER": 2, "CLOUD_DNS": 3, } )
Enum value maps for GoogleServiceInfo_GoogleServiceType.
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", 3: "TARGET_INSTANCE", } LoadBalancerInfo_BackendType_value = map[string]int32{ "BACKEND_TYPE_UNSPECIFIED": 0, "BACKEND_SERVICE": 1, "TARGET_POOL": 2, "TARGET_INSTANCE": 3, } )
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", 7: "ANOTHER_PROJECT", } 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, "ANOTHER_PROJECT": 7, } )
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", 16: "MISMATCHED_IP_VERSION", 17: "GKE_KONNECTIVITY_PROXY_UNSUPPORTED", 18: "RESOURCE_CONFIG_NOT_FOUND", } 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, "MISMATCHED_IP_VERSION": 16, "GKE_KONNECTIVITY_PROXY_UNSUPPORTED": 17, "RESOURCE_CONFIG_NOT_FOUND": 18, } )
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", 25: "FORWARDING_RULE_REGION_MISMATCH", 12: "FORWARDING_RULE_NO_INSTANCES", 13: "FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK", 14: "INSTANCE_NOT_RUNNING", 27: "GKE_CLUSTER_NOT_RUNNING", 28: "CLOUD_SQL_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", 38: "GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT", 36: "GKE_PSC_ENDPOINT_MISSING", 21: "CLOUD_SQL_INSTANCE_NO_IP_ADDRESS", 30: "GKE_CONTROL_PLANE_REGION_MISMATCH", 31: "PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION", 32: "GKE_CONTROL_PLANE_NO_ROUTE", 33: "CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC", 34: "PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION", 35: "CLOUD_SQL_INSTANCE_NO_ROUTE", 22: "CLOUD_FUNCTION_NOT_ACTIVE", 23: "VPC_CONNECTOR_NOT_SET", 24: "VPC_CONNECTOR_NOT_RUNNING", 26: "PSC_CONNECTION_NOT_ACCEPTED", 29: "CLOUD_RUN_REVISION_NOT_READY", 37: "DROPPED_INSIDE_PSC_SERVICE_PRODUCER", 39: "LOAD_BALANCER_HAS_NO_PROXY_SUBNET", } 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_REGION_MISMATCH": 25, "FORWARDING_RULE_NO_INSTANCES": 12, "FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK": 13, "INSTANCE_NOT_RUNNING": 14, "GKE_CLUSTER_NOT_RUNNING": 27, "CLOUD_SQL_INSTANCE_NOT_RUNNING": 28, "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, "GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT": 38, "GKE_PSC_ENDPOINT_MISSING": 36, "CLOUD_SQL_INSTANCE_NO_IP_ADDRESS": 21, "GKE_CONTROL_PLANE_REGION_MISMATCH": 30, "PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION": 31, "GKE_CONTROL_PLANE_NO_ROUTE": 32, "CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC": 33, "PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION": 34, "CLOUD_SQL_INSTANCE_NO_ROUTE": 35, "CLOUD_FUNCTION_NOT_ACTIVE": 22, "VPC_CONNECTOR_NOT_SET": 23, "VPC_CONNECTOR_NOT_RUNNING": 24, "PSC_CONNECTION_NOT_ACCEPTED": 26, "CLOUD_RUN_REVISION_NOT_READY": 29, "DROPPED_INSIDE_PSC_SERVICE_PRODUCER": 37, "LOAD_BALANCER_HAS_NO_PROXY_SUBNET": 39, } )
Enum value maps for DropInfo_Cause.
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 File_google_events_cloud_networkmanagement_v1_data_proto protoreflect.FileDescriptor
var File_google_events_cloud_networkmanagement_v1_events_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AbortInfo ¶
type AbortInfo struct {
// Causes that the analysis is aborted.
Cause AbortInfo_Cause `` /* 126-byte string literal not displayed */
// 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) GetCause ¶
func (x *AbortInfo) GetCause() AbortInfo_Cause
func (*AbortInfo) GetProjectsMissingPermission ¶
func (*AbortInfo) ProtoReflect ¶
func (x *AbortInfo) ProtoReflect() protoreflect.Message
func (*AbortInfo) SetCause ¶
func (x *AbortInfo) SetCause(v AbortInfo_Cause)
func (*AbortInfo) SetProjectsMissingPermission ¶
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 // Aborted because the source and destination resources have no common IP // version. AbortInfo_MISMATCHED_IP_VERSION AbortInfo_Cause = 16 // Aborted because the connection between the control plane and the node of // the source cluster is initiated by the node and managed by the // Konnectivity proxy. AbortInfo_GKE_KONNECTIVITY_PROXY_UNSUPPORTED AbortInfo_Cause = 17 // Aborted because expected resource configuration was missing. AbortInfo_RESOURCE_CONFIG_NOT_FOUND AbortInfo_Cause = 18 )
func (AbortInfo_Cause) Descriptor ¶
func (AbortInfo_Cause) Descriptor() protoreflect.EnumDescriptor
func (AbortInfo_Cause) Enum ¶
func (x AbortInfo_Cause) Enum() *AbortInfo_Cause
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 AbortInfo_builder ¶
type AbortInfo_builder struct {
// Causes that the analysis is aborted.
Cause AbortInfo_Cause
// URI of the resource that caused the abort.
ResourceUri string
// 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
// contains filtered or unexported fields
}
func (AbortInfo_builder) Build ¶
func (b0 AbortInfo_builder) Build() *AbortInfo
type AppEngineVersionInfo ¶
type AppEngineVersionInfo struct {
// Name of an App Engine version.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of an App Engine version.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// Runtime of the App Engine version.
Runtime string `protobuf:"bytes,3,opt,name=runtime,proto3" json:"runtime,omitempty"`
// App Engine execution environment for a version.
Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with an App Engine version.
func (*AppEngineVersionInfo) GetDisplayName ¶
func (x *AppEngineVersionInfo) GetDisplayName() string
func (*AppEngineVersionInfo) GetEnvironment ¶
func (x *AppEngineVersionInfo) GetEnvironment() string
func (*AppEngineVersionInfo) GetRuntime ¶
func (x *AppEngineVersionInfo) GetRuntime() string
func (*AppEngineVersionInfo) GetUri ¶
func (x *AppEngineVersionInfo) GetUri() string
func (*AppEngineVersionInfo) ProtoMessage ¶
func (*AppEngineVersionInfo) ProtoMessage()
func (*AppEngineVersionInfo) ProtoReflect ¶
func (x *AppEngineVersionInfo) ProtoReflect() protoreflect.Message
func (*AppEngineVersionInfo) Reset ¶
func (x *AppEngineVersionInfo) Reset()
func (*AppEngineVersionInfo) SetDisplayName ¶
func (x *AppEngineVersionInfo) SetDisplayName(v string)
func (*AppEngineVersionInfo) SetEnvironment ¶
func (x *AppEngineVersionInfo) SetEnvironment(v string)
func (*AppEngineVersionInfo) SetRuntime ¶
func (x *AppEngineVersionInfo) SetRuntime(v string)
func (*AppEngineVersionInfo) SetUri ¶
func (x *AppEngineVersionInfo) SetUri(v string)
func (*AppEngineVersionInfo) String ¶
func (x *AppEngineVersionInfo) String() string
type AppEngineVersionInfo_builder ¶
type AppEngineVersionInfo_builder struct {
// Name of an App Engine version.
DisplayName string
// URI of an App Engine version.
Uri string
// Runtime of the App Engine version.
Runtime string
// App Engine execution environment for a version.
Environment string
// contains filtered or unexported fields
}
func (AppEngineVersionInfo_builder) Build ¶
func (b0 AppEngineVersionInfo_builder) Build() *AppEngineVersionInfo
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) 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) SetDisplayName ¶
func (x *CloudFunctionInfo) SetDisplayName(v string)
func (*CloudFunctionInfo) SetLocation ¶
func (x *CloudFunctionInfo) SetLocation(v string)
func (*CloudFunctionInfo) SetUri ¶
func (x *CloudFunctionInfo) SetUri(v string)
func (*CloudFunctionInfo) SetVersionId ¶
func (x *CloudFunctionInfo) SetVersionId(v int64)
func (*CloudFunctionInfo) String ¶
func (x *CloudFunctionInfo) String() string
type CloudFunctionInfo_builder ¶
type CloudFunctionInfo_builder struct {
// Name of a Cloud Function.
DisplayName string
// URI of a Cloud Function.
Uri string
// Location in which the Cloud Function is deployed.
Location string
// Latest successfully deployed version id of the Cloud Function.
VersionId int64
// contains filtered or unexported fields
}
func (CloudFunctionInfo_builder) Build ¶
func (b0 CloudFunctionInfo_builder) Build() *CloudFunctionInfo
type CloudRunRevisionInfo ¶
type CloudRunRevisionInfo struct {
// Name of a Cloud Run revision.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a Cloud Run revision.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// Location in which this revision is deployed.
Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
// URI of Cloud Run service this revision belongs to.
ServiceUri string `protobuf:"bytes,5,opt,name=service_uri,json=serviceUri,proto3" json:"service_uri,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Cloud Run revision.
func (*CloudRunRevisionInfo) GetDisplayName ¶
func (x *CloudRunRevisionInfo) GetDisplayName() string
func (*CloudRunRevisionInfo) GetLocation ¶
func (x *CloudRunRevisionInfo) GetLocation() string
func (*CloudRunRevisionInfo) GetServiceUri ¶
func (x *CloudRunRevisionInfo) GetServiceUri() string
func (*CloudRunRevisionInfo) GetUri ¶
func (x *CloudRunRevisionInfo) GetUri() string
func (*CloudRunRevisionInfo) ProtoMessage ¶
func (*CloudRunRevisionInfo) ProtoMessage()
func (*CloudRunRevisionInfo) ProtoReflect ¶
func (x *CloudRunRevisionInfo) ProtoReflect() protoreflect.Message
func (*CloudRunRevisionInfo) Reset ¶
func (x *CloudRunRevisionInfo) Reset()
func (*CloudRunRevisionInfo) SetDisplayName ¶
func (x *CloudRunRevisionInfo) SetDisplayName(v string)
func (*CloudRunRevisionInfo) SetLocation ¶
func (x *CloudRunRevisionInfo) SetLocation(v string)
func (*CloudRunRevisionInfo) SetServiceUri ¶
func (x *CloudRunRevisionInfo) SetServiceUri(v string)
func (*CloudRunRevisionInfo) SetUri ¶
func (x *CloudRunRevisionInfo) SetUri(v string)
func (*CloudRunRevisionInfo) String ¶
func (x *CloudRunRevisionInfo) String() string
type CloudRunRevisionInfo_builder ¶
type CloudRunRevisionInfo_builder struct {
// Name of a Cloud Run revision.
DisplayName string
// URI of a Cloud Run revision.
Uri string
// Location in which this revision is deployed.
Location string
// URI of Cloud Run service this revision belongs to.
ServiceUri string
// contains filtered or unexported fields
}
func (CloudRunRevisionInfo_builder) Build ¶
func (b0 CloudRunRevisionInfo_builder) Build() *CloudRunRevisionInfo
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) 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) SetDisplayName ¶
func (x *CloudSQLInstanceInfo) SetDisplayName(v string)
func (*CloudSQLInstanceInfo) SetExternalIp ¶
func (x *CloudSQLInstanceInfo) SetExternalIp(v string)
func (*CloudSQLInstanceInfo) SetInternalIp ¶
func (x *CloudSQLInstanceInfo) SetInternalIp(v string)
func (*CloudSQLInstanceInfo) SetNetworkUri ¶
func (x *CloudSQLInstanceInfo) SetNetworkUri(v string)
func (*CloudSQLInstanceInfo) SetRegion ¶
func (x *CloudSQLInstanceInfo) SetRegion(v string)
func (*CloudSQLInstanceInfo) SetUri ¶
func (x *CloudSQLInstanceInfo) SetUri(v string)
func (*CloudSQLInstanceInfo) String ¶
func (x *CloudSQLInstanceInfo) String() string
type CloudSQLInstanceInfo_builder ¶
type CloudSQLInstanceInfo_builder struct {
// Name of a Cloud SQL instance.
DisplayName string
// URI of a Cloud SQL instance.
Uri string
// URI of a Cloud SQL instance network or empty string if the instance does
// not have one.
NetworkUri string
// Internal IP address of a Cloud SQL instance.
InternalIp string
// External IP address of a Cloud SQL instance.
ExternalIp string
// Region in which the Cloud SQL instance is running.
Region string
// contains filtered or unexported fields
}
func (CloudSQLInstanceInfo_builder) Build ¶
func (b0 CloudSQLInstanceInfo_builder) Build() *CloudSQLInstanceInfo
type ConnectivityTest ¶
type ConnectivityTest struct {
// Required. Unique name of the resource using the form:
//
// `projects/{project_id}/locations/global/connectivityTests/{test_id}`
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 `` /* 139-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"`
// contains filtered or unexported fields
}
A Connectivity Test for a network reachability analysis.
func (*ConnectivityTest) ClearCreateTime ¶
func (x *ConnectivityTest) ClearCreateTime()
func (*ConnectivityTest) ClearDestination ¶
func (x *ConnectivityTest) ClearDestination()
func (*ConnectivityTest) ClearReachabilityDetails ¶
func (x *ConnectivityTest) ClearReachabilityDetails()
func (*ConnectivityTest) ClearSource ¶
func (x *ConnectivityTest) ClearSource()
func (*ConnectivityTest) ClearUpdateTime ¶
func (x *ConnectivityTest) ClearUpdateTime()
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) 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) HasCreateTime ¶
func (x *ConnectivityTest) HasCreateTime() bool
func (*ConnectivityTest) HasDestination ¶
func (x *ConnectivityTest) HasDestination() bool
func (*ConnectivityTest) HasReachabilityDetails ¶
func (x *ConnectivityTest) HasReachabilityDetails() bool
func (*ConnectivityTest) HasSource ¶
func (x *ConnectivityTest) HasSource() bool
func (*ConnectivityTest) HasUpdateTime ¶
func (x *ConnectivityTest) HasUpdateTime() bool
func (*ConnectivityTest) ProtoMessage ¶
func (*ConnectivityTest) ProtoMessage()
func (*ConnectivityTest) ProtoReflect ¶
func (x *ConnectivityTest) ProtoReflect() protoreflect.Message
func (*ConnectivityTest) Reset ¶
func (x *ConnectivityTest) Reset()
func (*ConnectivityTest) SetCreateTime ¶
func (x *ConnectivityTest) SetCreateTime(v *timestamppb.Timestamp)
func (*ConnectivityTest) SetDescription ¶
func (x *ConnectivityTest) SetDescription(v string)
func (*ConnectivityTest) SetDestination ¶
func (x *ConnectivityTest) SetDestination(v *Endpoint)
func (*ConnectivityTest) SetDisplayName ¶
func (x *ConnectivityTest) SetDisplayName(v string)
func (*ConnectivityTest) SetLabels ¶
func (x *ConnectivityTest) SetLabels(v map[string]string)
func (*ConnectivityTest) SetName ¶
func (x *ConnectivityTest) SetName(v string)
func (*ConnectivityTest) SetProtocol ¶
func (x *ConnectivityTest) SetProtocol(v string)
func (*ConnectivityTest) SetReachabilityDetails ¶
func (x *ConnectivityTest) SetReachabilityDetails(v *ReachabilityDetails)
func (*ConnectivityTest) SetRelatedProjects ¶
func (x *ConnectivityTest) SetRelatedProjects(v []string)
func (*ConnectivityTest) SetSource ¶
func (x *ConnectivityTest) SetSource(v *Endpoint)
func (*ConnectivityTest) SetUpdateTime ¶
func (x *ConnectivityTest) SetUpdateTime(v *timestamppb.Timestamp)
func (*ConnectivityTest) String ¶
func (x *ConnectivityTest) String() string
type ConnectivityTestCreatedEvent ¶
type ConnectivityTestCreatedEvent struct {
// The data associated with the event.
Data *ConnectivityTestEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ConnectivityTest is created.
func (*ConnectivityTestCreatedEvent) ClearData ¶
func (x *ConnectivityTestCreatedEvent) ClearData()
func (*ConnectivityTestCreatedEvent) GetData ¶
func (x *ConnectivityTestCreatedEvent) GetData() *ConnectivityTestEventData
func (*ConnectivityTestCreatedEvent) HasData ¶
func (x *ConnectivityTestCreatedEvent) HasData() bool
func (*ConnectivityTestCreatedEvent) ProtoMessage ¶
func (*ConnectivityTestCreatedEvent) ProtoMessage()
func (*ConnectivityTestCreatedEvent) ProtoReflect ¶
func (x *ConnectivityTestCreatedEvent) ProtoReflect() protoreflect.Message
func (*ConnectivityTestCreatedEvent) Reset ¶
func (x *ConnectivityTestCreatedEvent) Reset()
func (*ConnectivityTestCreatedEvent) SetData ¶
func (x *ConnectivityTestCreatedEvent) SetData(v *ConnectivityTestEventData)
func (*ConnectivityTestCreatedEvent) String ¶
func (x *ConnectivityTestCreatedEvent) String() string
type ConnectivityTestCreatedEvent_builder ¶
type ConnectivityTestCreatedEvent_builder struct {
// The data associated with the event.
Data *ConnectivityTestEventData
// contains filtered or unexported fields
}
func (ConnectivityTestCreatedEvent_builder) Build ¶
func (b0 ConnectivityTestCreatedEvent_builder) Build() *ConnectivityTestCreatedEvent
type ConnectivityTestDeletedEvent ¶
type ConnectivityTestDeletedEvent struct {
// The data associated with the event.
Data *ConnectivityTestEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ConnectivityTest is deleted.
func (*ConnectivityTestDeletedEvent) ClearData ¶
func (x *ConnectivityTestDeletedEvent) ClearData()
func (*ConnectivityTestDeletedEvent) GetData ¶
func (x *ConnectivityTestDeletedEvent) GetData() *ConnectivityTestEventData
func (*ConnectivityTestDeletedEvent) HasData ¶
func (x *ConnectivityTestDeletedEvent) HasData() bool
func (*ConnectivityTestDeletedEvent) ProtoMessage ¶
func (*ConnectivityTestDeletedEvent) ProtoMessage()
func (*ConnectivityTestDeletedEvent) ProtoReflect ¶
func (x *ConnectivityTestDeletedEvent) ProtoReflect() protoreflect.Message
func (*ConnectivityTestDeletedEvent) Reset ¶
func (x *ConnectivityTestDeletedEvent) Reset()
func (*ConnectivityTestDeletedEvent) SetData ¶
func (x *ConnectivityTestDeletedEvent) SetData(v *ConnectivityTestEventData)
func (*ConnectivityTestDeletedEvent) String ¶
func (x *ConnectivityTestDeletedEvent) String() string
type ConnectivityTestDeletedEvent_builder ¶
type ConnectivityTestDeletedEvent_builder struct {
// The data associated with the event.
Data *ConnectivityTestEventData
// contains filtered or unexported fields
}
func (ConnectivityTestDeletedEvent_builder) Build ¶
func (b0 ConnectivityTestDeletedEvent_builder) Build() *ConnectivityTestDeletedEvent
type ConnectivityTestEventData ¶
type ConnectivityTestEventData struct {
// Optional. The ConnectivityTest event payload. Unset for deletion events.
Payload *ConnectivityTest `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
// contains filtered or unexported fields
}
The data within all ConnectivityTest events.
func (*ConnectivityTestEventData) ClearPayload ¶
func (x *ConnectivityTestEventData) ClearPayload()
func (*ConnectivityTestEventData) GetPayload ¶
func (x *ConnectivityTestEventData) GetPayload() *ConnectivityTest
func (*ConnectivityTestEventData) HasPayload ¶
func (x *ConnectivityTestEventData) HasPayload() bool
func (*ConnectivityTestEventData) ProtoMessage ¶
func (*ConnectivityTestEventData) ProtoMessage()
func (*ConnectivityTestEventData) ProtoReflect ¶
func (x *ConnectivityTestEventData) ProtoReflect() protoreflect.Message
func (*ConnectivityTestEventData) Reset ¶
func (x *ConnectivityTestEventData) Reset()
func (*ConnectivityTestEventData) SetPayload ¶
func (x *ConnectivityTestEventData) SetPayload(v *ConnectivityTest)
func (*ConnectivityTestEventData) String ¶
func (x *ConnectivityTestEventData) String() string
type ConnectivityTestEventData_builder ¶
type ConnectivityTestEventData_builder struct {
// Optional. The ConnectivityTest event payload. Unset for deletion events.
Payload *ConnectivityTest
// contains filtered or unexported fields
}
func (ConnectivityTestEventData_builder) Build ¶
func (b0 ConnectivityTestEventData_builder) Build() *ConnectivityTestEventData
type ConnectivityTestUpdatedEvent ¶
type ConnectivityTestUpdatedEvent struct {
// The data associated with the event.
Data *ConnectivityTestEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ConnectivityTest is updated.
func (*ConnectivityTestUpdatedEvent) ClearData ¶
func (x *ConnectivityTestUpdatedEvent) ClearData()
func (*ConnectivityTestUpdatedEvent) GetData ¶
func (x *ConnectivityTestUpdatedEvent) GetData() *ConnectivityTestEventData
func (*ConnectivityTestUpdatedEvent) HasData ¶
func (x *ConnectivityTestUpdatedEvent) HasData() bool
func (*ConnectivityTestUpdatedEvent) ProtoMessage ¶
func (*ConnectivityTestUpdatedEvent) ProtoMessage()
func (*ConnectivityTestUpdatedEvent) ProtoReflect ¶
func (x *ConnectivityTestUpdatedEvent) ProtoReflect() protoreflect.Message
func (*ConnectivityTestUpdatedEvent) Reset ¶
func (x *ConnectivityTestUpdatedEvent) Reset()
func (*ConnectivityTestUpdatedEvent) SetData ¶
func (x *ConnectivityTestUpdatedEvent) SetData(v *ConnectivityTestEventData)
func (*ConnectivityTestUpdatedEvent) String ¶
func (x *ConnectivityTestUpdatedEvent) String() string
type ConnectivityTestUpdatedEvent_builder ¶
type ConnectivityTestUpdatedEvent_builder struct {
// The data associated with the event.
Data *ConnectivityTestEventData
// contains filtered or unexported fields
}
func (ConnectivityTestUpdatedEvent_builder) Build ¶
func (b0 ConnectivityTestUpdatedEvent_builder) Build() *ConnectivityTestUpdatedEvent
type ConnectivityTest_builder ¶
type ConnectivityTest_builder struct {
// Required. Unique name of the resource using the form:
//
// `projects/{project_id}/locations/global/connectivityTests/{test_id}`
Name string
// The user-supplied description of the Connectivity Test.
// Maximum of 512 characters.
Description string
// 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
// 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
// IP Protocol of the test. When not provided, "TCP" is assumed.
Protocol string
// Other projects that may be relevant for reachability analysis.
// This is applicable to scenarios where a test can cross project boundaries.
RelatedProjects []string
// Output only. The display name of a Connectivity Test.
DisplayName string
// Resource labels to represent user-provided metadata.
Labels map[string]string
// Output only. The time the test was created.
CreateTime *timestamppb.Timestamp
// Output only. The time the test's configuration was updated.
UpdateTime *timestamppb.Timestamp
// 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
// contains filtered or unexported fields
}
func (ConnectivityTest_builder) Build ¶
func (b0 ConnectivityTest_builder) Build() *ConnectivityTest
type DeliverInfo ¶
type DeliverInfo struct {
// Target type where the packet is delivered to.
Target DeliverInfo_Target `` /* 131-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) 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) SetResourceUri ¶
func (x *DeliverInfo) SetResourceUri(v string)
func (*DeliverInfo) SetTarget ¶
func (x *DeliverInfo) SetTarget(v DeliverInfo_Target)
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 that uses [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 that use [Private Service // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). DeliverInfo_PSC_GOOGLE_API DeliverInfo_Target = 7 // Target is a VPC-SC that uses [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) 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 DeliverInfo_builder ¶
type DeliverInfo_builder struct {
// Target type where the packet is delivered to.
Target DeliverInfo_Target
// URI of the resource that the packet is delivered to.
ResourceUri string
// contains filtered or unexported fields
}
func (DeliverInfo_builder) Build ¶
func (b0 DeliverInfo_builder) Build() *DeliverInfo
type DropInfo ¶
type DropInfo struct {
// Cause that the packet is dropped.
Cause DropInfo_Cause `protobuf:"varint,1,opt,name=cause,proto3,enum=google.events.cloud.networkmanagement.v1.DropInfo_Cause" json:"cause,omitempty"`
// URI of the resource that caused the drop.
ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
// contains filtered or unexported fields
}
Details of the final state "drop" and associated resource.
func (*DropInfo) GetCause ¶
func (x *DropInfo) GetCause() DropInfo_Cause
func (*DropInfo) ProtoReflect ¶
func (x *DropInfo) ProtoReflect() protoreflect.Message
func (*DropInfo) SetCause ¶
func (x *DropInfo) SetCause(v DropInfo_Cause)
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 // 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 // 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 // Packet sent from or to a GKE cluster that is not in running state. DropInfo_GKE_CLUSTER_NOT_RUNNING DropInfo_Cause = 27 // Packet sent from or to a Cloud SQL instance that is not in running state. DropInfo_CLOUD_SQL_INSTANCE_NOT_RUNNING DropInfo_Cause = 28 // 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 Google-managed service uses Private // Service Connect (PSC), but the PSC endpoint is not found in the project. DropInfo_GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT DropInfo_Cause = 38 // Packet was dropped because the GKE cluster uses Private Service Connect // (PSC), but the PSC endpoint is not found in the project. DropInfo_GKE_PSC_ENDPOINT_MISSING DropInfo_Cause = 36 // 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 was dropped because a GKE cluster private endpoint is // unreachable from a region different from the cluster's region. DropInfo_GKE_CONTROL_PLANE_REGION_MISMATCH DropInfo_Cause = 30 // Packet sent from a public GKE cluster control plane to a private // IP address. DropInfo_PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION DropInfo_Cause = 31 // Packet was dropped because there is no route from a GKE cluster // control plane to a destination network. DropInfo_GKE_CONTROL_PLANE_NO_ROUTE DropInfo_Cause = 32 // Packet sent from a Cloud SQL instance to an external IP address is not // allowed. The Cloud SQL instance is not configured to send packets to // external IP addresses. DropInfo_CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC DropInfo_Cause = 33 // Packet sent from a Cloud SQL instance with only a public IP address to a // private IP address. DropInfo_PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION DropInfo_Cause = 34 // Packet was dropped because there is no route from a Cloud SQL // instance to a destination network. DropInfo_CLOUD_SQL_INSTANCE_NO_ROUTE DropInfo_Cause = 35 // 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 // The Private Service Connect endpoint is in a project that is not approved // to connect to the service. DropInfo_PSC_CONNECTION_NOT_ACCEPTED DropInfo_Cause = 26 // Packet sent from a Cloud Run revision that is not ready. DropInfo_CLOUD_RUN_REVISION_NOT_READY DropInfo_Cause = 29 // Packet was dropped inside Private Service Connect service producer. DropInfo_DROPPED_INSIDE_PSC_SERVICE_PRODUCER DropInfo_Cause = 37 // Packet sent to a load balancer, which requires a proxy-only subnet and // the subnet is not found. DropInfo_LOAD_BALANCER_HAS_NO_PROXY_SUBNET DropInfo_Cause = 39 )
func (DropInfo_Cause) Descriptor ¶
func (DropInfo_Cause) Descriptor() protoreflect.EnumDescriptor
func (DropInfo_Cause) Enum ¶
func (x DropInfo_Cause) Enum() *DropInfo_Cause
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 DropInfo_builder ¶
type DropInfo_builder struct {
// Cause that the packet is dropped.
Cause DropInfo_Cause
// URI of the resource that caused the drop.
ResourceUri string
// contains filtered or unexported fields
}
func (DropInfo_builder) Build ¶
func (b0 DropInfo_builder) Build() *DropInfo
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](/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"`
// An [App Engine](https://cloud.google.com/appengine) [service
// version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).
AppEngineVersion *Endpoint_AppEngineVersionEndpoint `protobuf:"bytes,11,opt,name=app_engine_version,json=appEngineVersion,proto3" json:"app_engine_version,omitempty"`
// A [Cloud Run](https://cloud.google.com/run)
// [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
CloudRunRevision *Endpoint_CloudRunRevisionEndpoint `protobuf:"bytes,12,opt,name=cloud_run_revision,json=cloudRunRevision,proto3" json:"cloud_run_revision,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 `` /* 162-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 Google
// Cloud 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) GetAppEngineVersion ¶
func (x *Endpoint) GetAppEngineVersion() *Endpoint_AppEngineVersionEndpoint
func (*Endpoint) GetCloudFunction ¶
func (x *Endpoint) GetCloudFunction() *Endpoint_CloudFunctionEndpoint
func (*Endpoint) GetCloudRunRevision ¶
func (x *Endpoint) GetCloudRunRevision() *Endpoint_CloudRunRevisionEndpoint
func (*Endpoint) GetNetworkType ¶
func (x *Endpoint) GetNetworkType() Endpoint_NetworkType
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
func (*Endpoint) SetAppEngineVersion ¶
func (x *Endpoint) SetAppEngineVersion(v *Endpoint_AppEngineVersionEndpoint)
func (*Endpoint) SetCloudFunction ¶
func (x *Endpoint) SetCloudFunction(v *Endpoint_CloudFunctionEndpoint)
func (*Endpoint) SetCloudRunRevision ¶
func (x *Endpoint) SetCloudRunRevision(v *Endpoint_CloudRunRevisionEndpoint)
func (*Endpoint) SetNetworkType ¶
func (x *Endpoint) SetNetworkType(v Endpoint_NetworkType)
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 */
// 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) GetDestinationIp ¶
func (x *EndpointInfo) GetDestinationIp() string
func (*EndpointInfo) GetDestinationNetworkUri ¶
func (x *EndpointInfo) GetDestinationNetworkUri() string
func (*EndpointInfo) GetDestinationPort ¶
func (x *EndpointInfo) GetDestinationPort() int32
func (*EndpointInfo) GetProtocol ¶
func (x *EndpointInfo) GetProtocol() string
func (*EndpointInfo) GetSourceIp ¶
func (x *EndpointInfo) GetSourceIp() string
func (*EndpointInfo) GetSourceNetworkUri ¶
func (x *EndpointInfo) GetSourceNetworkUri() string
func (*EndpointInfo) GetSourcePort ¶
func (x *EndpointInfo) GetSourcePort() int32
func (*EndpointInfo) ProtoMessage ¶
func (*EndpointInfo) ProtoMessage()
func (*EndpointInfo) ProtoReflect ¶
func (x *EndpointInfo) ProtoReflect() protoreflect.Message
func (*EndpointInfo) Reset ¶
func (x *EndpointInfo) Reset()
func (*EndpointInfo) SetDestinationIp ¶
func (x *EndpointInfo) SetDestinationIp(v string)
func (*EndpointInfo) SetDestinationNetworkUri ¶
func (x *EndpointInfo) SetDestinationNetworkUri(v string)
func (*EndpointInfo) SetDestinationPort ¶
func (x *EndpointInfo) SetDestinationPort(v int32)
func (*EndpointInfo) SetProtocol ¶
func (x *EndpointInfo) SetProtocol(v string)
func (*EndpointInfo) SetSourceIp ¶
func (x *EndpointInfo) SetSourceIp(v string)
func (*EndpointInfo) SetSourceNetworkUri ¶
func (x *EndpointInfo) SetSourceNetworkUri(v string)
func (*EndpointInfo) SetSourcePort ¶
func (x *EndpointInfo) SetSourcePort(v int32)
func (*EndpointInfo) String ¶
func (x *EndpointInfo) String() string
type EndpointInfo_builder ¶
type EndpointInfo_builder struct {
// Source IP address.
SourceIp string
// Destination IP address.
DestinationIp string
// IP protocol in string format, for example: "TCP", "UDP", "ICMP".
Protocol string
// Source port. Only valid when protocol is TCP or UDP.
SourcePort int32
// Destination port. Only valid when protocol is TCP or UDP.
DestinationPort int32
// URI of the network where this packet originates from.
SourceNetworkUri string
// URI of the network where this packet is sent to.
DestinationNetworkUri string
// contains filtered or unexported fields
}
func (EndpointInfo_builder) Build ¶
func (b0 EndpointInfo_builder) Build() *EndpointInfo
type Endpoint_AppEngineVersionEndpoint ¶
type Endpoint_AppEngineVersionEndpoint struct {
// An [App Engine](https://cloud.google.com/appengine) [service
// version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions)
// name.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Wrapper for the App Engine service version attributes.
func (*Endpoint_AppEngineVersionEndpoint) GetUri ¶
func (x *Endpoint_AppEngineVersionEndpoint) GetUri() string
func (*Endpoint_AppEngineVersionEndpoint) ProtoMessage ¶
func (*Endpoint_AppEngineVersionEndpoint) ProtoMessage()
func (*Endpoint_AppEngineVersionEndpoint) ProtoReflect ¶
func (x *Endpoint_AppEngineVersionEndpoint) ProtoReflect() protoreflect.Message
func (*Endpoint_AppEngineVersionEndpoint) Reset ¶
func (x *Endpoint_AppEngineVersionEndpoint) Reset()
func (*Endpoint_AppEngineVersionEndpoint) SetUri ¶
func (x *Endpoint_AppEngineVersionEndpoint) SetUri(v string)
func (*Endpoint_AppEngineVersionEndpoint) String ¶
func (x *Endpoint_AppEngineVersionEndpoint) String() string
type Endpoint_AppEngineVersionEndpoint_builder ¶
type Endpoint_AppEngineVersionEndpoint_builder struct {
// An [App Engine](https://cloud.google.com/appengine) [service
// version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions)
// name.
Uri string
// contains filtered or unexported fields
}
func (Endpoint_AppEngineVersionEndpoint_builder) Build ¶
func (b0 Endpoint_AppEngineVersionEndpoint_builder) Build() *Endpoint_AppEngineVersionEndpoint
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) 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) SetUri ¶
func (x *Endpoint_CloudFunctionEndpoint) SetUri(v string)
func (*Endpoint_CloudFunctionEndpoint) String ¶
func (x *Endpoint_CloudFunctionEndpoint) String() string
type Endpoint_CloudFunctionEndpoint_builder ¶
type Endpoint_CloudFunctionEndpoint_builder struct {
// A [Cloud Function](https://cloud.google.com/functions) name.
Uri string
// contains filtered or unexported fields
}
func (Endpoint_CloudFunctionEndpoint_builder) Build ¶
func (b0 Endpoint_CloudFunctionEndpoint_builder) Build() *Endpoint_CloudFunctionEndpoint
type Endpoint_CloudRunRevisionEndpoint ¶
type Endpoint_CloudRunRevisionEndpoint struct {
// A [Cloud Run](https://cloud.google.com/run)
// [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
// URI. The format is:
// projects/{project}/locations/{location}/revisions/{revision}
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Wrapper for Cloud Run revision attributes.
func (*Endpoint_CloudRunRevisionEndpoint) GetUri ¶
func (x *Endpoint_CloudRunRevisionEndpoint) GetUri() string
func (*Endpoint_CloudRunRevisionEndpoint) ProtoMessage ¶
func (*Endpoint_CloudRunRevisionEndpoint) ProtoMessage()
func (*Endpoint_CloudRunRevisionEndpoint) ProtoReflect ¶
func (x *Endpoint_CloudRunRevisionEndpoint) ProtoReflect() protoreflect.Message
func (*Endpoint_CloudRunRevisionEndpoint) Reset ¶
func (x *Endpoint_CloudRunRevisionEndpoint) Reset()
func (*Endpoint_CloudRunRevisionEndpoint) SetUri ¶
func (x *Endpoint_CloudRunRevisionEndpoint) SetUri(v string)
func (*Endpoint_CloudRunRevisionEndpoint) String ¶
func (x *Endpoint_CloudRunRevisionEndpoint) String() string
type Endpoint_CloudRunRevisionEndpoint_builder ¶
type Endpoint_CloudRunRevisionEndpoint_builder struct {
// A [Cloud Run](https://cloud.google.com/run)
// [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
// URI. The format is:
// projects/{project}/locations/{location}/revisions/{revision}
Uri string
// contains filtered or unexported fields
}
func (Endpoint_CloudRunRevisionEndpoint_builder) Build ¶
func (b0 Endpoint_CloudRunRevisionEndpoint_builder) Build() *Endpoint_CloudRunRevisionEndpoint
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. // 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. // 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) 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 Endpoint_builder ¶
type Endpoint_builder 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](/load-balancing/docs/load-balancing-overview).
IpAddress string
// The IP protocol port of the endpoint.
// Only applicable when protocol is TCP or UDP.
Port int32
// A Compute Engine instance URI.
Instance string
// A cluster URI for [Google Kubernetes Engine
// master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
GkeMasterCluster string
// A [Cloud SQL](https://cloud.google.com/sql) instance URI.
CloudSqlInstance string
// A [Cloud Function](https://cloud.google.com/functions).
CloudFunction *Endpoint_CloudFunctionEndpoint
// An [App Engine](https://cloud.google.com/appengine) [service
// version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).
AppEngineVersion *Endpoint_AppEngineVersionEndpoint
// A [Cloud Run](https://cloud.google.com/run)
// [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
CloudRunRevision *Endpoint_CloudRunRevisionEndpoint
// A Compute Engine network URI.
Network string
// 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
// 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 Google
// Cloud 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
// contains filtered or unexported fields
}
func (Endpoint_builder) Build ¶
func (b0 Endpoint_builder) Build() *Endpoint
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 `` /* 189-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) 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) SetAction ¶
func (x *FirewallInfo) SetAction(v string)
func (*FirewallInfo) SetDirection ¶
func (x *FirewallInfo) SetDirection(v string)
func (*FirewallInfo) SetDisplayName ¶
func (x *FirewallInfo) SetDisplayName(v string)
func (*FirewallInfo) SetFirewallRuleType ¶
func (x *FirewallInfo) SetFirewallRuleType(v FirewallInfo_FirewallRuleType)
func (*FirewallInfo) SetNetworkUri ¶
func (x *FirewallInfo) SetNetworkUri(v string)
func (*FirewallInfo) SetPolicy ¶
func (x *FirewallInfo) SetPolicy(v string)
func (*FirewallInfo) SetPriority ¶
func (x *FirewallInfo) SetPriority(v int32)
func (*FirewallInfo) SetTargetServiceAccounts ¶
func (x *FirewallInfo) SetTargetServiceAccounts(v []string)
func (*FirewallInfo) SetTargetTags ¶
func (x *FirewallInfo) SetTargetTags(v []string)
func (*FirewallInfo) SetUri ¶
func (x *FirewallInfo) SetUri(v string)
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 // Global network firewall policy rule. // For details, see [Network firewall // policies](https://cloud.google.com/vpc/docs/network-firewall-policies). FirewallInfo_NETWORK_FIREWALL_POLICY_RULE FirewallInfo_FirewallRuleType = 5 )
func (FirewallInfo_FirewallRuleType) Descriptor ¶
func (FirewallInfo_FirewallRuleType) Descriptor() protoreflect.EnumDescriptor
func (FirewallInfo_FirewallRuleType) Enum ¶
func (x FirewallInfo_FirewallRuleType) Enum() *FirewallInfo_FirewallRuleType
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 FirewallInfo_builder ¶
type FirewallInfo_builder struct {
// The display name of the VPC firewall rule. This field is not applicable
// to hierarchical firewall policy rules.
DisplayName string
// The URI of the VPC firewall rule. This field is not applicable to
// implied firewall rules or hierarchical firewall policy rules.
Uri string
// Possible values: INGRESS, EGRESS
Direction string
// Possible values: ALLOW, DENY
Action string
// The priority of the firewall rule.
Priority int32
// 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
// The target tags defined by the VPC firewall rule. This field is not
// applicable to hierarchical firewall policy rules.
TargetTags []string
// The target service accounts specified by the firewall rule.
TargetServiceAccounts []string
// The hierarchical firewall policy that this rule is associated with.
// This field is not applicable to VPC firewall rules.
Policy string
// The firewall rule's type.
FirewallRuleType FirewallInfo_FirewallRuleType
// contains filtered or unexported fields
}
func (FirewallInfo_builder) Build ¶
func (b0 FirewallInfo_builder) Build() *FirewallInfo
type ForwardInfo ¶
type ForwardInfo struct {
// Target type where this packet is forwarded to.
Target ForwardInfo_Target `` /* 131-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) 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) SetResourceUri ¶
func (x *ForwardInfo) SetResourceUri(v string)
func (*ForwardInfo) SetTarget ¶
func (x *ForwardInfo) SetTarget(v ForwardInfo_Target)
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 // Forwarded to a VPC network in another project. ForwardInfo_ANOTHER_PROJECT ForwardInfo_Target = 7 )
func (ForwardInfo_Target) Descriptor ¶
func (ForwardInfo_Target) Descriptor() protoreflect.EnumDescriptor
func (ForwardInfo_Target) Enum ¶
func (x ForwardInfo_Target) Enum() *ForwardInfo_Target
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 ForwardInfo_builder ¶
type ForwardInfo_builder struct {
// Target type where this packet is forwarded to.
Target ForwardInfo_Target
// URI of the resource that the packet is forwarded to.
ResourceUri string
// contains filtered or unexported fields
}
func (ForwardInfo_builder) Build ¶
func (b0 ForwardInfo_builder) Build() *ForwardInfo
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) 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) SetDisplayName ¶
func (x *ForwardingRuleInfo) SetDisplayName(v string)
func (*ForwardingRuleInfo) SetMatchedPortRange ¶
func (x *ForwardingRuleInfo) SetMatchedPortRange(v string)
func (*ForwardingRuleInfo) SetMatchedProtocol ¶
func (x *ForwardingRuleInfo) SetMatchedProtocol(v string)
func (*ForwardingRuleInfo) SetNetworkUri ¶
func (x *ForwardingRuleInfo) SetNetworkUri(v string)
func (*ForwardingRuleInfo) SetTarget ¶
func (x *ForwardingRuleInfo) SetTarget(v string)
func (*ForwardingRuleInfo) SetUri ¶
func (x *ForwardingRuleInfo) SetUri(v string)
func (*ForwardingRuleInfo) SetVip ¶
func (x *ForwardingRuleInfo) SetVip(v string)
func (*ForwardingRuleInfo) String ¶
func (x *ForwardingRuleInfo) String() string
type ForwardingRuleInfo_builder ¶
type ForwardingRuleInfo_builder struct {
// Name of a Compute Engine forwarding rule.
DisplayName string
// URI of a Compute Engine forwarding rule.
Uri string
// Protocol defined in the forwarding rule that matches the test.
MatchedProtocol string
// Port range defined in the forwarding rule that matches the test.
MatchedPortRange string
// VIP of the forwarding rule.
Vip string
// Target type of the forwarding rule.
Target string
// Network URI. Only valid for Internal Load Balancer.
NetworkUri string
// contains filtered or unexported fields
}
func (ForwardingRuleInfo_builder) Build ¶
func (b0 ForwardingRuleInfo_builder) Build() *ForwardingRuleInfo
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) 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) SetClusterNetworkUri ¶
func (x *GKEMasterInfo) SetClusterNetworkUri(v string)
func (*GKEMasterInfo) SetClusterUri ¶
func (x *GKEMasterInfo) SetClusterUri(v string)
func (*GKEMasterInfo) SetExternalIp ¶
func (x *GKEMasterInfo) SetExternalIp(v string)
func (*GKEMasterInfo) SetInternalIp ¶
func (x *GKEMasterInfo) SetInternalIp(v string)
func (*GKEMasterInfo) String ¶
func (x *GKEMasterInfo) String() string
type GKEMasterInfo_builder ¶
type GKEMasterInfo_builder struct {
// URI of a GKE cluster.
ClusterUri string
// URI of a GKE cluster network.
ClusterNetworkUri string
// Internal IP address of a GKE cluster master.
InternalIp string
// External IP address of a GKE cluster master.
ExternalIp string
// contains filtered or unexported fields
}
func (GKEMasterInfo_builder) Build ¶
func (b0 GKEMasterInfo_builder) Build() *GKEMasterInfo
type GoogleServiceInfo ¶
type GoogleServiceInfo struct {
// Source IP address.
SourceIp string `protobuf:"bytes,1,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
// Recognized type of a Google Service.
GoogleServiceType GoogleServiceInfo_GoogleServiceType `` /* 197-byte string literal not displayed */
// contains filtered or unexported fields
}
For display only. Details of a Google Service sending packets to a VPC network. Although the source IP might be a publicly routable address, some Google Services use special routes within Google production infrastructure to reach Compute Engine Instances. https://cloud.google.com/vpc/docs/routes#special_return_paths
func (*GoogleServiceInfo) GetGoogleServiceType ¶
func (x *GoogleServiceInfo) GetGoogleServiceType() GoogleServiceInfo_GoogleServiceType
func (*GoogleServiceInfo) GetSourceIp ¶
func (x *GoogleServiceInfo) GetSourceIp() string
func (*GoogleServiceInfo) ProtoMessage ¶
func (*GoogleServiceInfo) ProtoMessage()
func (*GoogleServiceInfo) ProtoReflect ¶
func (x *GoogleServiceInfo) ProtoReflect() protoreflect.Message
func (*GoogleServiceInfo) Reset ¶
func (x *GoogleServiceInfo) Reset()
func (*GoogleServiceInfo) SetGoogleServiceType ¶
func (x *GoogleServiceInfo) SetGoogleServiceType(v GoogleServiceInfo_GoogleServiceType)
func (*GoogleServiceInfo) SetSourceIp ¶
func (x *GoogleServiceInfo) SetSourceIp(v string)
func (*GoogleServiceInfo) String ¶
func (x *GoogleServiceInfo) String() string
type GoogleServiceInfo_GoogleServiceType ¶
type GoogleServiceInfo_GoogleServiceType int32
Recognized type of a Google Service.
const ( // Unspecified Google Service. Includes most of Google APIs and services. GoogleServiceInfo_GOOGLE_SERVICE_TYPE_UNSPECIFIED GoogleServiceInfo_GoogleServiceType = 0 // Identity aware proxy. // https://cloud.google.com/iap/docs/using-tcp-forwarding GoogleServiceInfo_IAP GoogleServiceInfo_GoogleServiceType = 1 // One of two services sharing IP ranges: // * Load Balancer proxy // * Centralized Health Check prober // https://cloud.google.com/load-balancing/docs/firewall-rules GoogleServiceInfo_GFE_PROXY_OR_HEALTH_CHECK_PROBER GoogleServiceInfo_GoogleServiceType = 2 // Connectivity from Cloud DNS to forwarding targets or alternate name // servers that use private routing. // https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules // https://cloud.google.com/dns/docs/policies#firewall-rules GoogleServiceInfo_CLOUD_DNS GoogleServiceInfo_GoogleServiceType = 3 )
func (GoogleServiceInfo_GoogleServiceType) Descriptor ¶
func (GoogleServiceInfo_GoogleServiceType) Descriptor() protoreflect.EnumDescriptor
func (GoogleServiceInfo_GoogleServiceType) Enum ¶
func (x GoogleServiceInfo_GoogleServiceType) Enum() *GoogleServiceInfo_GoogleServiceType
func (GoogleServiceInfo_GoogleServiceType) Number ¶
func (x GoogleServiceInfo_GoogleServiceType) Number() protoreflect.EnumNumber
func (GoogleServiceInfo_GoogleServiceType) String ¶
func (x GoogleServiceInfo_GoogleServiceType) String() string
func (GoogleServiceInfo_GoogleServiceType) Type ¶
func (GoogleServiceInfo_GoogleServiceType) Type() protoreflect.EnumType
type GoogleServiceInfo_builder ¶
type GoogleServiceInfo_builder struct {
// Source IP address.
SourceIp string
// Recognized type of a Google Service.
GoogleServiceType GoogleServiceInfo_GoogleServiceType
// contains filtered or unexported fields
}
func (GoogleServiceInfo_builder) Build ¶
func (b0 GoogleServiceInfo_builder) Build() *GoogleServiceInfo
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.
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) GetDisplayName ¶
func (x *InstanceInfo) GetDisplayName() string
func (*InstanceInfo) GetExternalIp ¶
func (x *InstanceInfo) GetExternalIp() string
func (*InstanceInfo) GetInterface ¶
func (x *InstanceInfo) GetInterface() string
func (*InstanceInfo) GetInternalIp ¶
func (x *InstanceInfo) GetInternalIp() string
func (*InstanceInfo) GetNetworkTags ¶
func (x *InstanceInfo) GetNetworkTags() []string
func (*InstanceInfo) GetNetworkUri ¶
func (x *InstanceInfo) GetNetworkUri() string
func (*InstanceInfo) GetServiceAccount ¶
func (x *InstanceInfo) GetServiceAccount() string
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) SetDisplayName ¶
func (x *InstanceInfo) SetDisplayName(v string)
func (*InstanceInfo) SetExternalIp ¶
func (x *InstanceInfo) SetExternalIp(v string)
func (*InstanceInfo) SetInterface ¶
func (x *InstanceInfo) SetInterface(v string)
func (*InstanceInfo) SetInternalIp ¶
func (x *InstanceInfo) SetInternalIp(v string)
func (*InstanceInfo) SetNetworkTags ¶
func (x *InstanceInfo) SetNetworkTags(v []string)
func (*InstanceInfo) SetNetworkUri ¶
func (x *InstanceInfo) SetNetworkUri(v string)
func (*InstanceInfo) SetServiceAccount ¶
func (x *InstanceInfo) SetServiceAccount(v string)
func (*InstanceInfo) SetUri ¶
func (x *InstanceInfo) SetUri(v string)
func (*InstanceInfo) String ¶
func (x *InstanceInfo) String() string
type InstanceInfo_builder ¶
type InstanceInfo_builder struct {
// Name of a Compute Engine instance.
DisplayName string
// URI of a Compute Engine instance.
Uri string
// Name of the network interface of a Compute Engine instance.
Interface string
// URI of a Compute Engine network.
NetworkUri string
// Internal IP address of the network interface.
InternalIp string
// External IP address of the network interface.
ExternalIp string
// Network tags configured on the instance.
NetworkTags []string
// Service account authorized for the instance.
ServiceAccount string
// contains filtered or unexported fields
}
func (InstanceInfo_builder) Build ¶
func (b0 InstanceInfo_builder) Build() *InstanceInfo
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 `` /* 229-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) 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) SetDisplayName ¶
func (x *LoadBalancerBackend) SetDisplayName(v string)
func (*LoadBalancerBackend) SetHealthCheckAllowingFirewallRules ¶
func (x *LoadBalancerBackend) SetHealthCheckAllowingFirewallRules(v []string)
func (*LoadBalancerBackend) SetHealthCheckBlockingFirewallRules ¶
func (x *LoadBalancerBackend) SetHealthCheckBlockingFirewallRules(v []string)
func (*LoadBalancerBackend) SetHealthCheckFirewallState ¶
func (x *LoadBalancerBackend) SetHealthCheckFirewallState(v LoadBalancerBackend_HealthCheckFirewallState)
func (*LoadBalancerBackend) SetUri ¶
func (x *LoadBalancerBackend) SetUri(v string)
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) Enum ¶
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 LoadBalancerBackend_builder ¶
type LoadBalancerBackend_builder struct {
// Name of a Compute Engine instance or network endpoint.
DisplayName string
// URI of a Compute Engine instance or network endpoint.
Uri string
// State of the health check firewall configuration.
HealthCheckFirewallState LoadBalancerBackend_HealthCheckFirewallState
// A list of firewall rule URIs allowing probes from health check IP ranges.
HealthCheckAllowingFirewallRules []string
// A list of firewall rule URIs blocking probes from health check IP ranges.
HealthCheckBlockingFirewallRules []string
// contains filtered or unexported fields
}
func (LoadBalancerBackend_builder) Build ¶
func (b0 LoadBalancerBackend_builder) Build() *LoadBalancerBackend
type LoadBalancerInfo ¶
type LoadBalancerInfo struct {
// Type of the load balancer.
LoadBalancerType LoadBalancerInfo_LoadBalancerType `` /* 192-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 `` /* 170-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) 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) SetBackendType ¶
func (x *LoadBalancerInfo) SetBackendType(v LoadBalancerInfo_BackendType)
func (*LoadBalancerInfo) SetBackendUri ¶
func (x *LoadBalancerInfo) SetBackendUri(v string)
func (*LoadBalancerInfo) SetBackends ¶
func (x *LoadBalancerInfo) SetBackends(v []*LoadBalancerBackend)
func (*LoadBalancerInfo) SetHealthCheckUri ¶
func (x *LoadBalancerInfo) SetHealthCheckUri(v string)
func (*LoadBalancerInfo) SetLoadBalancerType ¶
func (x *LoadBalancerInfo) SetLoadBalancerType(v LoadBalancerInfo_LoadBalancerType)
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 // Target Instance as the load balancer's backend. LoadBalancerInfo_TARGET_INSTANCE LoadBalancerInfo_BackendType = 3 )
func (LoadBalancerInfo_BackendType) Descriptor ¶
func (LoadBalancerInfo_BackendType) Descriptor() protoreflect.EnumDescriptor
func (LoadBalancerInfo_BackendType) Enum ¶
func (x LoadBalancerInfo_BackendType) Enum() *LoadBalancerInfo_BackendType
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) 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 LoadBalancerInfo_builder ¶
type LoadBalancerInfo_builder struct {
// Type of the load balancer.
LoadBalancerType LoadBalancerInfo_LoadBalancerType
// URI of the health check for the load balancer.
HealthCheckUri string
// Information for the loadbalancer backends.
Backends []*LoadBalancerBackend
// Type of load balancer's backend configuration.
BackendType LoadBalancerInfo_BackendType
// Backend configuration URI.
BackendUri string
// contains filtered or unexported fields
}
func (LoadBalancerInfo_builder) Build ¶
func (b0 LoadBalancerInfo_builder) Build() *LoadBalancerInfo
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) 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) SetDisplayName ¶
func (x *NetworkInfo) SetDisplayName(v string)
func (*NetworkInfo) SetMatchedIpRange ¶
func (x *NetworkInfo) SetMatchedIpRange(v string)
func (*NetworkInfo) SetUri ¶
func (x *NetworkInfo) SetUri(v string)
func (*NetworkInfo) String ¶
func (x *NetworkInfo) String() string
type NetworkInfo_builder ¶
type NetworkInfo_builder struct {
// Name of a Compute Engine network.
DisplayName string
// URI of a Compute Engine network.
Uri string
// The IP range that matches the test.
MatchedIpRange string
// contains filtered or unexported fields
}
func (NetworkInfo_builder) Build ¶
func (b0 NetworkInfo_builder) Build() *NetworkInfo
type ReachabilityDetails ¶
type ReachabilityDetails struct {
// The overall result of the test's configuration analysis.
Result ReachabilityDetails_Result `` /* 139-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) ClearError ¶
func (x *ReachabilityDetails) ClearError()
func (*ReachabilityDetails) ClearVerifyTime ¶
func (x *ReachabilityDetails) ClearVerifyTime()
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) HasError ¶
func (x *ReachabilityDetails) HasError() bool
func (*ReachabilityDetails) HasVerifyTime ¶
func (x *ReachabilityDetails) HasVerifyTime() bool
func (*ReachabilityDetails) ProtoMessage ¶
func (*ReachabilityDetails) ProtoMessage()
func (*ReachabilityDetails) ProtoReflect ¶
func (x *ReachabilityDetails) ProtoReflect() protoreflect.Message
func (*ReachabilityDetails) Reset ¶
func (x *ReachabilityDetails) Reset()
func (*ReachabilityDetails) SetError ¶
func (x *ReachabilityDetails) SetError(v *status.Status)
func (*ReachabilityDetails) SetResult ¶
func (x *ReachabilityDetails) SetResult(v ReachabilityDetails_Result)
func (*ReachabilityDetails) SetTraces ¶
func (x *ReachabilityDetails) SetTraces(v []*Trace)
func (*ReachabilityDetails) SetVerifyTime ¶
func (x *ReachabilityDetails) SetVerifyTime(v *timestamppb.Timestamp)
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) 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 ReachabilityDetails_builder ¶
type ReachabilityDetails_builder struct {
// The overall result of the test's configuration analysis.
Result ReachabilityDetails_Result
// The time of the configuration analysis.
VerifyTime *timestamppb.Timestamp
// The details of a failure or a cancellation of reachability analysis.
Error *status.Status
// 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
// contains filtered or unexported fields
}
func (ReachabilityDetails_builder) Build ¶
func (b0 ReachabilityDetails_builder) Build() *ReachabilityDetails
type RouteInfo ¶
type RouteInfo struct {
// Type of route.
RouteType RouteInfo_RouteType `` /* 155-byte string literal not displayed */
// Type of next hop.
NextHopType RouteInfo_NextHopType `` /* 165-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"`
// Source IP address range of the route. Policy based routes only.
SrcIpRange string `protobuf:"bytes,10,opt,name=src_ip_range,json=srcIpRange,proto3" json:"src_ip_range,omitempty"`
// Destination port ranges of the route. Policy based routes only.
DestPortRanges []string `protobuf:"bytes,11,rep,name=dest_port_ranges,json=destPortRanges,proto3" json:"dest_port_ranges,omitempty"`
// Source port ranges of the route. Policy based routes only.
SrcPortRanges []string `protobuf:"bytes,12,rep,name=src_port_ranges,json=srcPortRanges,proto3" json:"src_port_ranges,omitempty"`
// Protocols of the route. Policy based routes only.
Protocols []string `protobuf:"bytes,13,rep,name=protocols,proto3" json:"protocols,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Compute Engine route.
func (*RouteInfo) GetNextHopType ¶
func (x *RouteInfo) GetNextHopType() RouteInfo_NextHopType
func (*RouteInfo) GetRouteType ¶
func (x *RouteInfo) GetRouteType() RouteInfo_RouteType
func (*RouteInfo) ProtoReflect ¶
func (x *RouteInfo) ProtoReflect() protoreflect.Message
func (*RouteInfo) SetNextHopType ¶
func (x *RouteInfo) SetNextHopType(v RouteInfo_NextHopType)
func (*RouteInfo) SetRouteType ¶
func (x *RouteInfo) SetRouteType(v RouteInfo_RouteType)
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) 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 // Policy based route. RouteInfo_POLICY_BASED RouteInfo_RouteType = 7 )
func (RouteInfo_RouteType) Descriptor ¶
func (RouteInfo_RouteType) Descriptor() protoreflect.EnumDescriptor
func (RouteInfo_RouteType) Enum ¶
func (x RouteInfo_RouteType) Enum() *RouteInfo_RouteType
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 RouteInfo_builder ¶
type RouteInfo_builder struct {
// Type of route.
RouteType RouteInfo_RouteType
// Type of next hop.
NextHopType RouteInfo_NextHopType
// Name of a Compute Engine route.
DisplayName string
// 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
// Destination IP range of the route.
DestIpRange string
// Next hop of the route.
NextHop string
// URI of a Compute Engine network.
NetworkUri string
// Priority of the route.
Priority int32
// Instance tags of the route.
InstanceTags []string
// Source IP address range of the route. Policy based routes only.
SrcIpRange string
// Destination port ranges of the route. Policy based routes only.
DestPortRanges []string
// Source port ranges of the route. Policy based routes only.
SrcPortRanges []string
// Protocols of the route. Policy based routes only.
Protocols []string
// contains filtered or unexported fields
}
func (RouteInfo_builder) Build ¶
func (b0 RouteInfo_builder) Build() *RouteInfo
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.events.cloud.networkmanagement.v1.Step_State" json:"state,omitempty"`
// This is a step that leads to the final state Drop.
CausesDrop bool `protobuf:"varint,3,opt,name=causes_drop,json=causesDrop,proto3" json:"causes_drop,omitempty"`
// Project ID that contains the configuration this step is validating.
ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Configuration or metadata associated with each step.
// The configuration is filtered based on viewer's permission. If a viewer
// has no permission to view the configuration in this step, for non-final
// states a special state is populated (VIEWER_PERMISSION_MISSING), and for
// final state the configuration is cleared.
//
// Types that are valid to be assigned to StepInfo:
//
// *Step_Instance
// *Step_Firewall
// *Step_Route
// *Step_Endpoint
// *Step_GoogleService
// *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
// *Step_AppEngineVersion
// *Step_CloudRunRevision
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) GetAppEngineVersion ¶
func (x *Step) GetAppEngineVersion() *AppEngineVersionInfo
func (*Step) GetCloudFunction ¶
func (x *Step) GetCloudFunction() *CloudFunctionInfo
func (*Step) GetCloudRunRevision ¶
func (x *Step) GetCloudRunRevision() *CloudRunRevisionInfo
func (*Step) GetCloudSqlInstance ¶
func (x *Step) GetCloudSqlInstance() *CloudSQLInstanceInfo
func (*Step) GetDeliver ¶
func (x *Step) GetDeliver() *DeliverInfo
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) GetGoogleService ¶
func (x *Step) GetGoogleService() *GoogleServiceInfo
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) GetState ¶
func (x *Step) GetState() Step_State
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) ProtoReflect ¶
func (x *Step) ProtoReflect() protoreflect.Message
func (*Step) SetAppEngineVersion ¶
func (x *Step) SetAppEngineVersion(v *AppEngineVersionInfo)
func (*Step) SetCloudFunction ¶
func (x *Step) SetCloudFunction(v *CloudFunctionInfo)
func (*Step) SetCloudRunRevision ¶
func (x *Step) SetCloudRunRevision(v *CloudRunRevisionInfo)
func (*Step) SetCloudSqlInstance ¶
func (x *Step) SetCloudSqlInstance(v *CloudSQLInstanceInfo)
func (*Step) SetDeliver ¶
func (x *Step) SetDeliver(v *DeliverInfo)
func (*Step) SetEndpoint ¶
func (x *Step) SetEndpoint(v *EndpointInfo)
func (*Step) SetFirewall ¶
func (x *Step) SetFirewall(v *FirewallInfo)
func (*Step) SetForward ¶
func (x *Step) SetForward(v *ForwardInfo)
func (*Step) SetForwardingRule ¶
func (x *Step) SetForwardingRule(v *ForwardingRuleInfo)
func (*Step) SetGkeMaster ¶
func (x *Step) SetGkeMaster(v *GKEMasterInfo)
func (*Step) SetGoogleService ¶
func (x *Step) SetGoogleService(v *GoogleServiceInfo)
func (*Step) SetInstance ¶
func (x *Step) SetInstance(v *InstanceInfo)
func (*Step) SetLoadBalancer ¶
func (x *Step) SetLoadBalancer(v *LoadBalancerInfo)
func (*Step) SetNetwork ¶
func (x *Step) SetNetwork(v *NetworkInfo)
func (*Step) SetState ¶
func (x *Step) SetState(v Step_State)
func (*Step) SetVpcConnector ¶
func (x *Step) SetVpcConnector(v *VpcConnectorInfo)
func (*Step) SetVpnGateway ¶
func (x *Step) SetVpnGateway(v *VpnGatewayInfo)
func (*Step) SetVpnTunnel ¶
func (x *Step) SetVpnTunnel(v *VpnTunnelInfo)
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_AppEngineVersion ¶
type Step_AppEngineVersion struct {
// Display information of an App Engine service version.
AppEngineVersion *AppEngineVersionInfo `protobuf:"bytes,22,opt,name=app_engine_version,json=appEngineVersion,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_CloudRunRevision ¶
type Step_CloudRunRevision struct {
// Display information of a Cloud Run revision.
CloudRunRevision *CloudRunRevisionInfo `protobuf:"bytes,23,opt,name=cloud_run_revision,json=cloudRunRevision,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_GoogleService ¶
type Step_GoogleService struct {
// Display information of a Google service
GoogleService *GoogleServiceInfo `protobuf:"bytes,24,opt,name=google_service,json=googleService,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 Google service. Some Google // services, such as health check probers or Identity Aware Proxy use // special routes, outside VPC routing configuration to reach Compute Engine // Instances. Step_START_FROM_GOOGLE_SERVICE Step_State = 27 // 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 // Initial state: packet originating from an App Engine service version. // An AppEngineVersionInfo is populated with starting version information. Step_START_FROM_APP_ENGINE_VERSION Step_State = 25 // Initial state: packet originating from a Cloud Run revision. // A CloudRunRevisionInfo is populated with starting revision information. Step_START_FROM_CLOUD_RUN_REVISION Step_State = 26 // 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) 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 Step_builder ¶
type Step_builder struct {
// A description of the step. Usually this is a summary of the state.
Description string
// Each step is in one of the pre-defined states.
State Step_State
// This is a step that leads to the final state Drop.
CausesDrop bool
// Project ID that contains the configuration this step is validating.
ProjectId string
// Fields of oneof StepInfo:
// Display information of a Compute Engine instance.
Instance *InstanceInfo
// Display information of a Compute Engine firewall rule.
Firewall *FirewallInfo
// Display information of a Compute Engine route.
Route *RouteInfo
// 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
// Display information of a Google service
GoogleService *GoogleServiceInfo
// Display information of a Compute Engine forwarding rule.
ForwardingRule *ForwardingRuleInfo
// Display information of a Compute Engine VPN gateway.
VpnGateway *VpnGatewayInfo
// Display information of a Compute Engine VPN tunnel.
VpnTunnel *VpnTunnelInfo
// Display information of a VPC connector.
VpcConnector *VpcConnectorInfo
// Display information of the final state "deliver" and reason.
Deliver *DeliverInfo
// Display information of the final state "forward" and reason.
Forward *ForwardInfo
// Display information of the final state "abort" and reason.
Abort *AbortInfo
// Display information of the final state "drop" and reason.
Drop *DropInfo
// Display information of the load balancers.
LoadBalancer *LoadBalancerInfo
// Display information of a Google Cloud network.
Network *NetworkInfo
// Display information of a Google Kubernetes Engine cluster master.
GkeMaster *GKEMasterInfo
// Display information of a Cloud SQL instance.
CloudSqlInstance *CloudSQLInstanceInfo
// Display information of a Cloud Function.
CloudFunction *CloudFunctionInfo
// Display information of an App Engine service version.
AppEngineVersion *AppEngineVersionInfo
// Display information of a Cloud Run revision.
CloudRunRevision *CloudRunRevisionInfo
// contains filtered or unexported fields
}
func (Step_builder) Build ¶
func (b0 Step_builder) Build() *Step
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) GetEndpointInfo ¶
func (x *Trace) GetEndpointInfo() *EndpointInfo
func (*Trace) ProtoReflect ¶
func (x *Trace) ProtoReflect() protoreflect.Message
func (*Trace) SetEndpointInfo ¶
func (x *Trace) SetEndpointInfo(v *EndpointInfo)
type Trace_builder ¶
type Trace_builder 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
// 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
// contains filtered or unexported fields
}
func (Trace_builder) Build ¶
func (b0 Trace_builder) Build() *Trace
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) 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) SetDisplayName ¶
func (x *VpcConnectorInfo) SetDisplayName(v string)
func (*VpcConnectorInfo) SetLocation ¶
func (x *VpcConnectorInfo) SetLocation(v string)
func (*VpcConnectorInfo) SetUri ¶
func (x *VpcConnectorInfo) SetUri(v string)
func (*VpcConnectorInfo) String ¶
func (x *VpcConnectorInfo) String() string
type VpcConnectorInfo_builder ¶
type VpcConnectorInfo_builder struct {
// Name of a VPC connector.
DisplayName string
// URI of a VPC connector.
Uri string
// Location in which the VPC connector is deployed.
Location string
// contains filtered or unexported fields
}
func (VpcConnectorInfo_builder) Build ¶
func (b0 VpcConnectorInfo_builder) Build() *VpcConnectorInfo
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) 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) SetDisplayName ¶
func (x *VpnGatewayInfo) SetDisplayName(v string)
func (*VpnGatewayInfo) SetIpAddress ¶
func (x *VpnGatewayInfo) SetIpAddress(v string)
func (*VpnGatewayInfo) SetNetworkUri ¶
func (x *VpnGatewayInfo) SetNetworkUri(v string)
func (*VpnGatewayInfo) SetRegion ¶
func (x *VpnGatewayInfo) SetRegion(v string)
func (*VpnGatewayInfo) SetUri ¶
func (x *VpnGatewayInfo) SetUri(v string)
func (*VpnGatewayInfo) SetVpnTunnelUri ¶
func (x *VpnGatewayInfo) SetVpnTunnelUri(v string)
func (*VpnGatewayInfo) String ¶
func (x *VpnGatewayInfo) String() string
type VpnGatewayInfo_builder ¶
type VpnGatewayInfo_builder struct {
// Name of a VPN gateway.
DisplayName string
// URI of a VPN gateway.
Uri string
// URI of a Compute Engine network where the VPN gateway is configured.
NetworkUri string
// IP address of the VPN gateway.
IpAddress string
// 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
// Name of a Google Cloud region where this VPN gateway is configured.
Region string
// contains filtered or unexported fields
}
func (VpnGatewayInfo_builder) Build ¶
func (b0 VpnGatewayInfo_builder) Build() *VpnGatewayInfo
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 `` /* 167-byte string literal not displayed */
// contains filtered or unexported fields
}
For display only. Metadata associated with a Compute Engine VPN tunnel.
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) SetDisplayName ¶
func (x *VpnTunnelInfo) SetDisplayName(v string)
func (*VpnTunnelInfo) SetNetworkUri ¶
func (x *VpnTunnelInfo) SetNetworkUri(v string)
func (*VpnTunnelInfo) SetRegion ¶
func (x *VpnTunnelInfo) SetRegion(v string)
func (*VpnTunnelInfo) SetRemoteGateway ¶
func (x *VpnTunnelInfo) SetRemoteGateway(v string)
func (*VpnTunnelInfo) SetRemoteGatewayIp ¶
func (x *VpnTunnelInfo) SetRemoteGatewayIp(v string)
func (*VpnTunnelInfo) SetRoutingType ¶
func (x *VpnTunnelInfo) SetRoutingType(v VpnTunnelInfo_RoutingType)
func (*VpnTunnelInfo) SetSourceGateway ¶
func (x *VpnTunnelInfo) SetSourceGateway(v string)
func (*VpnTunnelInfo) SetSourceGatewayIp ¶
func (x *VpnTunnelInfo) SetSourceGatewayIp(v string)
func (*VpnTunnelInfo) SetUri ¶
func (x *VpnTunnelInfo) SetUri(v string)
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) 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
type VpnTunnelInfo_builder ¶
type VpnTunnelInfo_builder struct {
// Name of a VPN tunnel.
DisplayName string
// URI of a VPN tunnel.
Uri string
// URI of the VPN gateway at local end of the tunnel.
SourceGateway string
// URI of a VPN gateway at remote end of the tunnel.
RemoteGateway string
// Remote VPN gateway's IP address.
RemoteGatewayIp string
// Local VPN gateway's IP address.
SourceGatewayIp string
// URI of a Compute Engine network where the VPN tunnel is configured.
NetworkUri string
// Name of a Google Cloud region where this VPN tunnel is configured.
Region string
// Type of the routing policy.
RoutingType VpnTunnelInfo_RoutingType
// contains filtered or unexported fields
}
func (VpnTunnelInfo_builder) Build ¶
func (b0 VpnTunnelInfo_builder) Build() *VpnTunnelInfo
Source Files
¶
- data.pb.go
- events.pb.go