Documentation
¶
Index ¶
- Variables
- type ConnectionErrorType
- type Hub
- func (x *Hub) ClearCreateTime()
- func (x *Hub) ClearUpdateTime()
- func (x *Hub) GetCreateTime() *timestamppb.Timestamp
- func (x *Hub) GetDescription() string
- func (x *Hub) GetLabels() map[string]string
- func (x *Hub) GetName() string
- func (x *Hub) GetRoutingVpcs() []*RoutingVPC
- func (x *Hub) GetState() State
- func (x *Hub) GetUniqueId() string
- func (x *Hub) GetUpdateTime() *timestamppb.Timestamp
- func (x *Hub) HasCreateTime() bool
- func (x *Hub) HasUpdateTime() bool
- func (*Hub) ProtoMessage()
- func (x *Hub) ProtoReflect() protoreflect.Message
- func (x *Hub) Reset()
- func (x *Hub) SetCreateTime(v *timestamppb.Timestamp)
- func (x *Hub) SetDescription(v string)
- func (x *Hub) SetLabels(v map[string]string)
- func (x *Hub) SetName(v string)
- func (x *Hub) SetRoutingVpcs(v []*RoutingVPC)
- func (x *Hub) SetState(v State)
- func (x *Hub) SetUniqueId(v string)
- func (x *Hub) SetUpdateTime(v *timestamppb.Timestamp)
- func (x *Hub) String() string
- type HubCreatedEvent
- func (x *HubCreatedEvent) ClearData()
- func (x *HubCreatedEvent) GetData() *HubEventData
- func (x *HubCreatedEvent) HasData() bool
- func (*HubCreatedEvent) ProtoMessage()
- func (x *HubCreatedEvent) ProtoReflect() protoreflect.Message
- func (x *HubCreatedEvent) Reset()
- func (x *HubCreatedEvent) SetData(v *HubEventData)
- func (x *HubCreatedEvent) String() string
- type HubCreatedEvent_builder
- type HubDeletedEvent
- func (x *HubDeletedEvent) ClearData()
- func (x *HubDeletedEvent) GetData() *HubEventData
- func (x *HubDeletedEvent) HasData() bool
- func (*HubDeletedEvent) ProtoMessage()
- func (x *HubDeletedEvent) ProtoReflect() protoreflect.Message
- func (x *HubDeletedEvent) Reset()
- func (x *HubDeletedEvent) SetData(v *HubEventData)
- func (x *HubDeletedEvent) String() string
- type HubDeletedEvent_builder
- type HubEventData
- func (x *HubEventData) ClearPayload()
- func (x *HubEventData) GetPayload() *Hub
- func (x *HubEventData) HasPayload() bool
- func (*HubEventData) ProtoMessage()
- func (x *HubEventData) ProtoReflect() protoreflect.Message
- func (x *HubEventData) Reset()
- func (x *HubEventData) SetPayload(v *Hub)
- func (x *HubEventData) String() string
- type HubEventData_builder
- type HubUpdatedEvent
- func (x *HubUpdatedEvent) ClearData()
- func (x *HubUpdatedEvent) GetData() *HubEventData
- func (x *HubUpdatedEvent) HasData() bool
- func (*HubUpdatedEvent) ProtoMessage()
- func (x *HubUpdatedEvent) ProtoReflect() protoreflect.Message
- func (x *HubUpdatedEvent) Reset()
- func (x *HubUpdatedEvent) SetData(v *HubEventData)
- func (x *HubUpdatedEvent) String() string
- type HubUpdatedEvent_builder
- type Hub_builder
- type Infrastructure
- type LinkedInterconnectAttachments
- func (x *LinkedInterconnectAttachments) GetSiteToSiteDataTransfer() bool
- func (x *LinkedInterconnectAttachments) GetUris() []string
- func (x *LinkedInterconnectAttachments) GetVpcNetwork() string
- func (*LinkedInterconnectAttachments) ProtoMessage()
- func (x *LinkedInterconnectAttachments) ProtoReflect() protoreflect.Message
- func (x *LinkedInterconnectAttachments) Reset()
- func (x *LinkedInterconnectAttachments) SetSiteToSiteDataTransfer(v bool)
- func (x *LinkedInterconnectAttachments) SetUris(v []string)
- func (x *LinkedInterconnectAttachments) SetVpcNetwork(v string)
- func (x *LinkedInterconnectAttachments) String() string
- type LinkedInterconnectAttachments_builder
- type LinkedRouterApplianceInstances
- func (x *LinkedRouterApplianceInstances) GetInstances() []*RouterApplianceInstance
- func (x *LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer() bool
- func (x *LinkedRouterApplianceInstances) GetVpcNetwork() string
- func (*LinkedRouterApplianceInstances) ProtoMessage()
- func (x *LinkedRouterApplianceInstances) ProtoReflect() protoreflect.Message
- func (x *LinkedRouterApplianceInstances) Reset()
- func (x *LinkedRouterApplianceInstances) SetInstances(v []*RouterApplianceInstance)
- func (x *LinkedRouterApplianceInstances) SetSiteToSiteDataTransfer(v bool)
- func (x *LinkedRouterApplianceInstances) SetVpcNetwork(v string)
- func (x *LinkedRouterApplianceInstances) String() string
- type LinkedRouterApplianceInstances_builder
- type LinkedVpnTunnels
- func (x *LinkedVpnTunnels) GetSiteToSiteDataTransfer() bool
- func (x *LinkedVpnTunnels) GetUris() []string
- func (x *LinkedVpnTunnels) GetVpcNetwork() string
- func (*LinkedVpnTunnels) ProtoMessage()
- func (x *LinkedVpnTunnels) ProtoReflect() protoreflect.Message
- func (x *LinkedVpnTunnels) Reset()
- func (x *LinkedVpnTunnels) SetSiteToSiteDataTransfer(v bool)
- func (x *LinkedVpnTunnels) SetUris(v []string)
- func (x *LinkedVpnTunnels) SetVpcNetwork(v string)
- func (x *LinkedVpnTunnels) String() string
- type LinkedVpnTunnels_builder
- type RouterApplianceInstance
- func (x *RouterApplianceInstance) GetIpAddress() string
- func (x *RouterApplianceInstance) GetVirtualMachine() string
- func (*RouterApplianceInstance) ProtoMessage()
- func (x *RouterApplianceInstance) ProtoReflect() protoreflect.Message
- func (x *RouterApplianceInstance) Reset()
- func (x *RouterApplianceInstance) SetIpAddress(v string)
- func (x *RouterApplianceInstance) SetVirtualMachine(v string)
- func (x *RouterApplianceInstance) String() string
- type RouterApplianceInstance_builder
- type RoutingVPC
- func (x *RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes() bool
- func (x *RoutingVPC) GetUri() string
- func (*RoutingVPC) ProtoMessage()
- func (x *RoutingVPC) ProtoReflect() protoreflect.Message
- func (x *RoutingVPC) Reset()
- func (x *RoutingVPC) SetRequiredForNewSiteToSiteDataTransferSpokes(v bool)
- func (x *RoutingVPC) SetUri(v string)
- func (x *RoutingVPC) String() string
- type RoutingVPC_builder
- type ServiceClass
- func (x *ServiceClass) ClearCreateTime()
- func (x *ServiceClass) ClearUpdateTime()
- func (x *ServiceClass) GetCreateTime() *timestamppb.Timestamp
- func (x *ServiceClass) GetDescription() string
- func (x *ServiceClass) GetLabels() map[string]string
- func (x *ServiceClass) GetName() string
- func (x *ServiceClass) GetServiceClass() string
- func (x *ServiceClass) GetServiceConnectionMaps() []string
- func (x *ServiceClass) GetUpdateTime() *timestamppb.Timestamp
- func (x *ServiceClass) HasCreateTime() bool
- func (x *ServiceClass) HasUpdateTime() bool
- func (*ServiceClass) ProtoMessage()
- func (x *ServiceClass) ProtoReflect() protoreflect.Message
- func (x *ServiceClass) Reset()
- func (x *ServiceClass) SetCreateTime(v *timestamppb.Timestamp)
- func (x *ServiceClass) SetDescription(v string)
- func (x *ServiceClass) SetLabels(v map[string]string)
- func (x *ServiceClass) SetName(v string)
- func (x *ServiceClass) SetServiceClass(v string)
- func (x *ServiceClass) SetServiceConnectionMaps(v []string)
- func (x *ServiceClass) SetUpdateTime(v *timestamppb.Timestamp)
- func (x *ServiceClass) String() string
- type ServiceClassDeletedEvent
- func (x *ServiceClassDeletedEvent) ClearData()
- func (x *ServiceClassDeletedEvent) GetData() *ServiceClassEventData
- func (x *ServiceClassDeletedEvent) HasData() bool
- func (*ServiceClassDeletedEvent) ProtoMessage()
- func (x *ServiceClassDeletedEvent) ProtoReflect() protoreflect.Message
- func (x *ServiceClassDeletedEvent) Reset()
- func (x *ServiceClassDeletedEvent) SetData(v *ServiceClassEventData)
- func (x *ServiceClassDeletedEvent) String() string
- type ServiceClassDeletedEvent_builder
- type ServiceClassEventData
- func (x *ServiceClassEventData) ClearPayload()
- func (x *ServiceClassEventData) GetPayload() *ServiceClass
- func (x *ServiceClassEventData) HasPayload() bool
- func (*ServiceClassEventData) ProtoMessage()
- func (x *ServiceClassEventData) ProtoReflect() protoreflect.Message
- func (x *ServiceClassEventData) Reset()
- func (x *ServiceClassEventData) SetPayload(v *ServiceClass)
- func (x *ServiceClassEventData) String() string
- type ServiceClassEventData_builder
- type ServiceClassUpdatedEvent
- func (x *ServiceClassUpdatedEvent) ClearData()
- func (x *ServiceClassUpdatedEvent) GetData() *ServiceClassEventData
- func (x *ServiceClassUpdatedEvent) HasData() bool
- func (*ServiceClassUpdatedEvent) ProtoMessage()
- func (x *ServiceClassUpdatedEvent) ProtoReflect() protoreflect.Message
- func (x *ServiceClassUpdatedEvent) Reset()
- func (x *ServiceClassUpdatedEvent) SetData(v *ServiceClassEventData)
- func (x *ServiceClassUpdatedEvent) String() string
- type ServiceClassUpdatedEvent_builder
- type ServiceClass_builder
- type ServiceConnectionMap
- func (x *ServiceConnectionMap) ClearCreateTime()
- func (x *ServiceConnectionMap) ClearUpdateTime()
- func (x *ServiceConnectionMap) GetConsumerPscConfigs() []*ServiceConnectionMap_ConsumerPscConfig
- func (x *ServiceConnectionMap) GetConsumerPscConnections() []*ServiceConnectionMap_ConsumerPscConnection
- func (x *ServiceConnectionMap) GetCreateTime() *timestamppb.Timestamp
- func (x *ServiceConnectionMap) GetDescription() string
- func (x *ServiceConnectionMap) GetInfrastructure() Infrastructure
- func (x *ServiceConnectionMap) GetLabels() map[string]string
- func (x *ServiceConnectionMap) GetName() string
- func (x *ServiceConnectionMap) GetProducerPscConfigs() []*ServiceConnectionMap_ProducerPscConfig
- func (x *ServiceConnectionMap) GetServiceClass() string
- func (x *ServiceConnectionMap) GetServiceClassUri() string
- func (x *ServiceConnectionMap) GetUpdateTime() *timestamppb.Timestamp
- func (x *ServiceConnectionMap) HasCreateTime() bool
- func (x *ServiceConnectionMap) HasUpdateTime() bool
- func (*ServiceConnectionMap) ProtoMessage()
- func (x *ServiceConnectionMap) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionMap) Reset()
- func (x *ServiceConnectionMap) SetConsumerPscConfigs(v []*ServiceConnectionMap_ConsumerPscConfig)
- func (x *ServiceConnectionMap) SetConsumerPscConnections(v []*ServiceConnectionMap_ConsumerPscConnection)
- func (x *ServiceConnectionMap) SetCreateTime(v *timestamppb.Timestamp)
- func (x *ServiceConnectionMap) SetDescription(v string)
- func (x *ServiceConnectionMap) SetInfrastructure(v Infrastructure)
- func (x *ServiceConnectionMap) SetLabels(v map[string]string)
- func (x *ServiceConnectionMap) SetName(v string)
- func (x *ServiceConnectionMap) SetProducerPscConfigs(v []*ServiceConnectionMap_ProducerPscConfig)
- func (x *ServiceConnectionMap) SetServiceClass(v string)
- func (x *ServiceConnectionMap) SetServiceClassUri(v string)
- func (x *ServiceConnectionMap) SetUpdateTime(v *timestamppb.Timestamp)
- func (x *ServiceConnectionMap) String() string
- type ServiceConnectionMapCreatedEvent
- func (x *ServiceConnectionMapCreatedEvent) ClearData()
- func (x *ServiceConnectionMapCreatedEvent) GetData() *ServiceConnectionMapEventData
- func (x *ServiceConnectionMapCreatedEvent) HasData() bool
- func (*ServiceConnectionMapCreatedEvent) ProtoMessage()
- func (x *ServiceConnectionMapCreatedEvent) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionMapCreatedEvent) Reset()
- func (x *ServiceConnectionMapCreatedEvent) SetData(v *ServiceConnectionMapEventData)
- func (x *ServiceConnectionMapCreatedEvent) String() string
- type ServiceConnectionMapCreatedEvent_builder
- type ServiceConnectionMapDeletedEvent
- func (x *ServiceConnectionMapDeletedEvent) ClearData()
- func (x *ServiceConnectionMapDeletedEvent) GetData() *ServiceConnectionMapEventData
- func (x *ServiceConnectionMapDeletedEvent) HasData() bool
- func (*ServiceConnectionMapDeletedEvent) ProtoMessage()
- func (x *ServiceConnectionMapDeletedEvent) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionMapDeletedEvent) Reset()
- func (x *ServiceConnectionMapDeletedEvent) SetData(v *ServiceConnectionMapEventData)
- func (x *ServiceConnectionMapDeletedEvent) String() string
- type ServiceConnectionMapDeletedEvent_builder
- type ServiceConnectionMapEventData
- func (x *ServiceConnectionMapEventData) ClearPayload()
- func (x *ServiceConnectionMapEventData) GetPayload() *ServiceConnectionMap
- func (x *ServiceConnectionMapEventData) HasPayload() bool
- func (*ServiceConnectionMapEventData) ProtoMessage()
- func (x *ServiceConnectionMapEventData) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionMapEventData) Reset()
- func (x *ServiceConnectionMapEventData) SetPayload(v *ServiceConnectionMap)
- func (x *ServiceConnectionMapEventData) String() string
- type ServiceConnectionMapEventData_builder
- type ServiceConnectionMapUpdatedEvent
- func (x *ServiceConnectionMapUpdatedEvent) ClearData()
- func (x *ServiceConnectionMapUpdatedEvent) GetData() *ServiceConnectionMapEventData
- func (x *ServiceConnectionMapUpdatedEvent) HasData() bool
- func (*ServiceConnectionMapUpdatedEvent) ProtoMessage()
- func (x *ServiceConnectionMapUpdatedEvent) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionMapUpdatedEvent) Reset()
- func (x *ServiceConnectionMapUpdatedEvent) SetData(v *ServiceConnectionMapEventData)
- func (x *ServiceConnectionMapUpdatedEvent) String() string
- type ServiceConnectionMapUpdatedEvent_builder
- type ServiceConnectionMap_ConsumerPscConfig
- func (x *ServiceConnectionMap_ConsumerPscConfig) GetDisableGlobalAccess() bool
- func (x *ServiceConnectionMap_ConsumerPscConfig) GetNetwork() string
- func (x *ServiceConnectionMap_ConsumerPscConfig) GetProject() string
- func (x *ServiceConnectionMap_ConsumerPscConfig) GetState() ServiceConnectionMap_ConsumerPscConfig_State
- func (*ServiceConnectionMap_ConsumerPscConfig) ProtoMessage()
- func (x *ServiceConnectionMap_ConsumerPscConfig) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionMap_ConsumerPscConfig) Reset()
- func (x *ServiceConnectionMap_ConsumerPscConfig) SetDisableGlobalAccess(v bool)
- func (x *ServiceConnectionMap_ConsumerPscConfig) SetNetwork(v string)
- func (x *ServiceConnectionMap_ConsumerPscConfig) SetProject(v string)
- func (x *ServiceConnectionMap_ConsumerPscConfig) SetState(v ServiceConnectionMap_ConsumerPscConfig_State)
- func (x *ServiceConnectionMap_ConsumerPscConfig) String() string
- type ServiceConnectionMap_ConsumerPscConfig_State
- func (ServiceConnectionMap_ConsumerPscConfig_State) Descriptor() protoreflect.EnumDescriptor
- func (x ServiceConnectionMap_ConsumerPscConfig_State) Enum() *ServiceConnectionMap_ConsumerPscConfig_State
- func (x ServiceConnectionMap_ConsumerPscConfig_State) Number() protoreflect.EnumNumber
- func (x ServiceConnectionMap_ConsumerPscConfig_State) String() string
- func (ServiceConnectionMap_ConsumerPscConfig_State) Type() protoreflect.EnumType
- type ServiceConnectionMap_ConsumerPscConfig_builder
- type ServiceConnectionMap_ConsumerPscConnection
- func (x *ServiceConnectionMap_ConsumerPscConnection) ClearError()
- func (x *ServiceConnectionMap_ConsumerPscConnection) GetError() *status.Status
- func (x *ServiceConnectionMap_ConsumerPscConnection) GetErrorType() ConnectionErrorType
- func (x *ServiceConnectionMap_ConsumerPscConnection) GetForwardingRule() string
- func (x *ServiceConnectionMap_ConsumerPscConnection) GetGceOperation() string
- func (x *ServiceConnectionMap_ConsumerPscConnection) GetIp() string
- func (x *ServiceConnectionMap_ConsumerPscConnection) GetNetwork() string
- func (x *ServiceConnectionMap_ConsumerPscConnection) GetProject() string
- func (x *ServiceConnectionMap_ConsumerPscConnection) GetPscConnectionId() string
- func (x *ServiceConnectionMap_ConsumerPscConnection) GetServiceAttachmentUri() string
- func (x *ServiceConnectionMap_ConsumerPscConnection) GetState() ServiceConnectionMap_ConsumerPscConnection_State
- func (x *ServiceConnectionMap_ConsumerPscConnection) HasError() bool
- func (*ServiceConnectionMap_ConsumerPscConnection) ProtoMessage()
- func (x *ServiceConnectionMap_ConsumerPscConnection) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionMap_ConsumerPscConnection) Reset()
- func (x *ServiceConnectionMap_ConsumerPscConnection) SetError(v *status.Status)
- func (x *ServiceConnectionMap_ConsumerPscConnection) SetErrorType(v ConnectionErrorType)
- func (x *ServiceConnectionMap_ConsumerPscConnection) SetForwardingRule(v string)
- func (x *ServiceConnectionMap_ConsumerPscConnection) SetGceOperation(v string)
- func (x *ServiceConnectionMap_ConsumerPscConnection) SetIp(v string)
- func (x *ServiceConnectionMap_ConsumerPscConnection) SetNetwork(v string)
- func (x *ServiceConnectionMap_ConsumerPscConnection) SetProject(v string)
- func (x *ServiceConnectionMap_ConsumerPscConnection) SetPscConnectionId(v string)
- func (x *ServiceConnectionMap_ConsumerPscConnection) SetServiceAttachmentUri(v string)
- func (x *ServiceConnectionMap_ConsumerPscConnection) SetState(v ServiceConnectionMap_ConsumerPscConnection_State)
- func (x *ServiceConnectionMap_ConsumerPscConnection) String() string
- type ServiceConnectionMap_ConsumerPscConnection_State
- func (ServiceConnectionMap_ConsumerPscConnection_State) Descriptor() protoreflect.EnumDescriptor
- func (x ServiceConnectionMap_ConsumerPscConnection_State) Enum() *ServiceConnectionMap_ConsumerPscConnection_State
- func (x ServiceConnectionMap_ConsumerPscConnection_State) Number() protoreflect.EnumNumber
- func (x ServiceConnectionMap_ConsumerPscConnection_State) String() string
- func (ServiceConnectionMap_ConsumerPscConnection_State) Type() protoreflect.EnumType
- type ServiceConnectionMap_ConsumerPscConnection_builder
- type ServiceConnectionMap_ProducerPscConfig
- func (x *ServiceConnectionMap_ProducerPscConfig) GetServiceAttachmentUri() string
- func (*ServiceConnectionMap_ProducerPscConfig) ProtoMessage()
- func (x *ServiceConnectionMap_ProducerPscConfig) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionMap_ProducerPscConfig) Reset()
- func (x *ServiceConnectionMap_ProducerPscConfig) SetServiceAttachmentUri(v string)
- func (x *ServiceConnectionMap_ProducerPscConfig) String() string
- type ServiceConnectionMap_ProducerPscConfig_builder
- type ServiceConnectionMap_builder
- type ServiceConnectionPolicy
- func (x *ServiceConnectionPolicy) ClearCreateTime()
- func (x *ServiceConnectionPolicy) ClearPscConfig()
- func (x *ServiceConnectionPolicy) ClearUpdateTime()
- func (x *ServiceConnectionPolicy) GetCreateTime() *timestamppb.Timestamp
- func (x *ServiceConnectionPolicy) GetDescription() string
- func (x *ServiceConnectionPolicy) GetInfrastructure() Infrastructure
- func (x *ServiceConnectionPolicy) GetLabels() map[string]string
- func (x *ServiceConnectionPolicy) GetName() string
- func (x *ServiceConnectionPolicy) GetNetwork() string
- func (x *ServiceConnectionPolicy) GetPscConfig() *ServiceConnectionPolicy_PscConfig
- func (x *ServiceConnectionPolicy) GetPscConnections() []*ServiceConnectionPolicy_PscConnection
- func (x *ServiceConnectionPolicy) GetServiceClass() string
- func (x *ServiceConnectionPolicy) GetUpdateTime() *timestamppb.Timestamp
- func (x *ServiceConnectionPolicy) HasCreateTime() bool
- func (x *ServiceConnectionPolicy) HasPscConfig() bool
- func (x *ServiceConnectionPolicy) HasUpdateTime() bool
- func (*ServiceConnectionPolicy) ProtoMessage()
- func (x *ServiceConnectionPolicy) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionPolicy) Reset()
- func (x *ServiceConnectionPolicy) SetCreateTime(v *timestamppb.Timestamp)
- func (x *ServiceConnectionPolicy) SetDescription(v string)
- func (x *ServiceConnectionPolicy) SetInfrastructure(v Infrastructure)
- func (x *ServiceConnectionPolicy) SetLabels(v map[string]string)
- func (x *ServiceConnectionPolicy) SetName(v string)
- func (x *ServiceConnectionPolicy) SetNetwork(v string)
- func (x *ServiceConnectionPolicy) SetPscConfig(v *ServiceConnectionPolicy_PscConfig)
- func (x *ServiceConnectionPolicy) SetPscConnections(v []*ServiceConnectionPolicy_PscConnection)
- func (x *ServiceConnectionPolicy) SetServiceClass(v string)
- func (x *ServiceConnectionPolicy) SetUpdateTime(v *timestamppb.Timestamp)
- func (x *ServiceConnectionPolicy) String() string
- type ServiceConnectionPolicyCreatedEvent
- func (x *ServiceConnectionPolicyCreatedEvent) ClearData()
- func (x *ServiceConnectionPolicyCreatedEvent) GetData() *ServiceConnectionPolicyEventData
- func (x *ServiceConnectionPolicyCreatedEvent) HasData() bool
- func (*ServiceConnectionPolicyCreatedEvent) ProtoMessage()
- func (x *ServiceConnectionPolicyCreatedEvent) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionPolicyCreatedEvent) Reset()
- func (x *ServiceConnectionPolicyCreatedEvent) SetData(v *ServiceConnectionPolicyEventData)
- func (x *ServiceConnectionPolicyCreatedEvent) String() string
- type ServiceConnectionPolicyCreatedEvent_builder
- type ServiceConnectionPolicyDeletedEvent
- func (x *ServiceConnectionPolicyDeletedEvent) ClearData()
- func (x *ServiceConnectionPolicyDeletedEvent) GetData() *ServiceConnectionPolicyEventData
- func (x *ServiceConnectionPolicyDeletedEvent) HasData() bool
- func (*ServiceConnectionPolicyDeletedEvent) ProtoMessage()
- func (x *ServiceConnectionPolicyDeletedEvent) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionPolicyDeletedEvent) Reset()
- func (x *ServiceConnectionPolicyDeletedEvent) SetData(v *ServiceConnectionPolicyEventData)
- func (x *ServiceConnectionPolicyDeletedEvent) String() string
- type ServiceConnectionPolicyDeletedEvent_builder
- type ServiceConnectionPolicyEventData
- func (x *ServiceConnectionPolicyEventData) ClearPayload()
- func (x *ServiceConnectionPolicyEventData) GetPayload() *ServiceConnectionPolicy
- func (x *ServiceConnectionPolicyEventData) HasPayload() bool
- func (*ServiceConnectionPolicyEventData) ProtoMessage()
- func (x *ServiceConnectionPolicyEventData) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionPolicyEventData) Reset()
- func (x *ServiceConnectionPolicyEventData) SetPayload(v *ServiceConnectionPolicy)
- func (x *ServiceConnectionPolicyEventData) String() string
- type ServiceConnectionPolicyEventData_builder
- type ServiceConnectionPolicyUpdatedEvent
- func (x *ServiceConnectionPolicyUpdatedEvent) ClearData()
- func (x *ServiceConnectionPolicyUpdatedEvent) GetData() *ServiceConnectionPolicyEventData
- func (x *ServiceConnectionPolicyUpdatedEvent) HasData() bool
- func (*ServiceConnectionPolicyUpdatedEvent) ProtoMessage()
- func (x *ServiceConnectionPolicyUpdatedEvent) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionPolicyUpdatedEvent) Reset()
- func (x *ServiceConnectionPolicyUpdatedEvent) SetData(v *ServiceConnectionPolicyEventData)
- func (x *ServiceConnectionPolicyUpdatedEvent) String() string
- type ServiceConnectionPolicyUpdatedEvent_builder
- type ServiceConnectionPolicy_PscConfig
- func (x *ServiceConnectionPolicy_PscConfig) ClearLimit()
- func (x *ServiceConnectionPolicy_PscConfig) GetLimit() int64
- func (x *ServiceConnectionPolicy_PscConfig) GetSubnetworks() []string
- func (x *ServiceConnectionPolicy_PscConfig) HasLimit() bool
- func (*ServiceConnectionPolicy_PscConfig) ProtoMessage()
- func (x *ServiceConnectionPolicy_PscConfig) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionPolicy_PscConfig) Reset()
- func (x *ServiceConnectionPolicy_PscConfig) SetLimit(v int64)
- func (x *ServiceConnectionPolicy_PscConfig) SetSubnetworks(v []string)
- func (x *ServiceConnectionPolicy_PscConfig) String() string
- type ServiceConnectionPolicy_PscConfig_builder
- type ServiceConnectionPolicy_PscConnection
- func (x *ServiceConnectionPolicy_PscConnection) ClearError()
- func (x *ServiceConnectionPolicy_PscConnection) GetConsumerAddress() string
- func (x *ServiceConnectionPolicy_PscConnection) GetConsumerForwardingRule() string
- func (x *ServiceConnectionPolicy_PscConnection) GetConsumerTargetProject() string
- func (x *ServiceConnectionPolicy_PscConnection) GetError() *status.Status
- func (x *ServiceConnectionPolicy_PscConnection) GetErrorType() ConnectionErrorType
- func (x *ServiceConnectionPolicy_PscConnection) GetGceOperation() string
- func (x *ServiceConnectionPolicy_PscConnection) GetPscConnectionId() string
- func (x *ServiceConnectionPolicy_PscConnection) GetState() ServiceConnectionPolicy_State
- func (x *ServiceConnectionPolicy_PscConnection) HasError() bool
- func (*ServiceConnectionPolicy_PscConnection) ProtoMessage()
- func (x *ServiceConnectionPolicy_PscConnection) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionPolicy_PscConnection) Reset()
- func (x *ServiceConnectionPolicy_PscConnection) SetConsumerAddress(v string)
- func (x *ServiceConnectionPolicy_PscConnection) SetConsumerForwardingRule(v string)
- func (x *ServiceConnectionPolicy_PscConnection) SetConsumerTargetProject(v string)
- func (x *ServiceConnectionPolicy_PscConnection) SetError(v *status.Status)
- func (x *ServiceConnectionPolicy_PscConnection) SetErrorType(v ConnectionErrorType)
- func (x *ServiceConnectionPolicy_PscConnection) SetGceOperation(v string)
- func (x *ServiceConnectionPolicy_PscConnection) SetPscConnectionId(v string)
- func (x *ServiceConnectionPolicy_PscConnection) SetState(v ServiceConnectionPolicy_State)
- func (x *ServiceConnectionPolicy_PscConnection) String() string
- type ServiceConnectionPolicy_PscConnection_builder
- type ServiceConnectionPolicy_State
- func (ServiceConnectionPolicy_State) Descriptor() protoreflect.EnumDescriptor
- func (x ServiceConnectionPolicy_State) Enum() *ServiceConnectionPolicy_State
- func (x ServiceConnectionPolicy_State) Number() protoreflect.EnumNumber
- func (x ServiceConnectionPolicy_State) String() string
- func (ServiceConnectionPolicy_State) Type() protoreflect.EnumType
- type ServiceConnectionPolicy_builder
- type ServiceConnectionToken
- func (x *ServiceConnectionToken) ClearCreateTime()
- func (x *ServiceConnectionToken) ClearUpdateTime()
- func (x *ServiceConnectionToken) GetCreateTime() *timestamppb.Timestamp
- func (x *ServiceConnectionToken) GetDescription() string
- func (x *ServiceConnectionToken) GetLabels() map[string]string
- func (x *ServiceConnectionToken) GetName() string
- func (x *ServiceConnectionToken) GetNetwork() string
- func (x *ServiceConnectionToken) GetUpdateTime() *timestamppb.Timestamp
- func (x *ServiceConnectionToken) HasCreateTime() bool
- func (x *ServiceConnectionToken) HasUpdateTime() bool
- func (*ServiceConnectionToken) ProtoMessage()
- func (x *ServiceConnectionToken) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionToken) Reset()
- func (x *ServiceConnectionToken) SetCreateTime(v *timestamppb.Timestamp)
- func (x *ServiceConnectionToken) SetDescription(v string)
- func (x *ServiceConnectionToken) SetLabels(v map[string]string)
- func (x *ServiceConnectionToken) SetName(v string)
- func (x *ServiceConnectionToken) SetNetwork(v string)
- func (x *ServiceConnectionToken) SetUpdateTime(v *timestamppb.Timestamp)
- func (x *ServiceConnectionToken) String() string
- type ServiceConnectionTokenCreatedEvent
- func (x *ServiceConnectionTokenCreatedEvent) ClearData()
- func (x *ServiceConnectionTokenCreatedEvent) GetData() *ServiceConnectionTokenEventData
- func (x *ServiceConnectionTokenCreatedEvent) HasData() bool
- func (*ServiceConnectionTokenCreatedEvent) ProtoMessage()
- func (x *ServiceConnectionTokenCreatedEvent) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionTokenCreatedEvent) Reset()
- func (x *ServiceConnectionTokenCreatedEvent) SetData(v *ServiceConnectionTokenEventData)
- func (x *ServiceConnectionTokenCreatedEvent) String() string
- type ServiceConnectionTokenCreatedEvent_builder
- type ServiceConnectionTokenDeletedEvent
- func (x *ServiceConnectionTokenDeletedEvent) ClearData()
- func (x *ServiceConnectionTokenDeletedEvent) GetData() *ServiceConnectionTokenEventData
- func (x *ServiceConnectionTokenDeletedEvent) HasData() bool
- func (*ServiceConnectionTokenDeletedEvent) ProtoMessage()
- func (x *ServiceConnectionTokenDeletedEvent) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionTokenDeletedEvent) Reset()
- func (x *ServiceConnectionTokenDeletedEvent) SetData(v *ServiceConnectionTokenEventData)
- func (x *ServiceConnectionTokenDeletedEvent) String() string
- type ServiceConnectionTokenDeletedEvent_builder
- type ServiceConnectionTokenEventData
- func (x *ServiceConnectionTokenEventData) ClearPayload()
- func (x *ServiceConnectionTokenEventData) GetPayload() *ServiceConnectionToken
- func (x *ServiceConnectionTokenEventData) HasPayload() bool
- func (*ServiceConnectionTokenEventData) ProtoMessage()
- func (x *ServiceConnectionTokenEventData) ProtoReflect() protoreflect.Message
- func (x *ServiceConnectionTokenEventData) Reset()
- func (x *ServiceConnectionTokenEventData) SetPayload(v *ServiceConnectionToken)
- func (x *ServiceConnectionTokenEventData) String() string
- type ServiceConnectionTokenEventData_builder
- type ServiceConnectionToken_builder
- type Spoke
- func (x *Spoke) ClearCreateTime()
- func (x *Spoke) ClearLinkedInterconnectAttachments()
- func (x *Spoke) ClearLinkedRouterApplianceInstances()
- func (x *Spoke) ClearLinkedVpnTunnels()
- func (x *Spoke) ClearUpdateTime()
- func (x *Spoke) GetCreateTime() *timestamppb.Timestamp
- func (x *Spoke) GetDescription() string
- func (x *Spoke) GetHub() string
- func (x *Spoke) GetLabels() map[string]string
- func (x *Spoke) GetLinkedInterconnectAttachments() *LinkedInterconnectAttachments
- func (x *Spoke) GetLinkedRouterApplianceInstances() *LinkedRouterApplianceInstances
- func (x *Spoke) GetLinkedVpnTunnels() *LinkedVpnTunnels
- func (x *Spoke) GetName() string
- func (x *Spoke) GetState() State
- func (x *Spoke) GetUniqueId() string
- func (x *Spoke) GetUpdateTime() *timestamppb.Timestamp
- func (x *Spoke) HasCreateTime() bool
- func (x *Spoke) HasLinkedInterconnectAttachments() bool
- func (x *Spoke) HasLinkedRouterApplianceInstances() bool
- func (x *Spoke) HasLinkedVpnTunnels() bool
- func (x *Spoke) HasUpdateTime() bool
- func (*Spoke) ProtoMessage()
- func (x *Spoke) ProtoReflect() protoreflect.Message
- func (x *Spoke) Reset()
- func (x *Spoke) SetCreateTime(v *timestamppb.Timestamp)
- func (x *Spoke) SetDescription(v string)
- func (x *Spoke) SetHub(v string)
- func (x *Spoke) SetLabels(v map[string]string)
- func (x *Spoke) SetLinkedInterconnectAttachments(v *LinkedInterconnectAttachments)
- func (x *Spoke) SetLinkedRouterApplianceInstances(v *LinkedRouterApplianceInstances)
- func (x *Spoke) SetLinkedVpnTunnels(v *LinkedVpnTunnels)
- func (x *Spoke) SetName(v string)
- func (x *Spoke) SetState(v State)
- func (x *Spoke) SetUniqueId(v string)
- func (x *Spoke) SetUpdateTime(v *timestamppb.Timestamp)
- func (x *Spoke) String() string
- type SpokeCreatedEvent
- func (x *SpokeCreatedEvent) ClearData()
- func (x *SpokeCreatedEvent) GetData() *SpokeEventData
- func (x *SpokeCreatedEvent) HasData() bool
- func (*SpokeCreatedEvent) ProtoMessage()
- func (x *SpokeCreatedEvent) ProtoReflect() protoreflect.Message
- func (x *SpokeCreatedEvent) Reset()
- func (x *SpokeCreatedEvent) SetData(v *SpokeEventData)
- func (x *SpokeCreatedEvent) String() string
- type SpokeCreatedEvent_builder
- type SpokeDeletedEvent
- func (x *SpokeDeletedEvent) ClearData()
- func (x *SpokeDeletedEvent) GetData() *SpokeEventData
- func (x *SpokeDeletedEvent) HasData() bool
- func (*SpokeDeletedEvent) ProtoMessage()
- func (x *SpokeDeletedEvent) ProtoReflect() protoreflect.Message
- func (x *SpokeDeletedEvent) Reset()
- func (x *SpokeDeletedEvent) SetData(v *SpokeEventData)
- func (x *SpokeDeletedEvent) String() string
- type SpokeDeletedEvent_builder
- type SpokeEventData
- func (x *SpokeEventData) ClearPayload()
- func (x *SpokeEventData) GetPayload() *Spoke
- func (x *SpokeEventData) HasPayload() bool
- func (*SpokeEventData) ProtoMessage()
- func (x *SpokeEventData) ProtoReflect() protoreflect.Message
- func (x *SpokeEventData) Reset()
- func (x *SpokeEventData) SetPayload(v *Spoke)
- func (x *SpokeEventData) String() string
- type SpokeEventData_builder
- type SpokeUpdatedEvent
- func (x *SpokeUpdatedEvent) ClearData()
- func (x *SpokeUpdatedEvent) GetData() *SpokeEventData
- func (x *SpokeUpdatedEvent) HasData() bool
- func (*SpokeUpdatedEvent) ProtoMessage()
- func (x *SpokeUpdatedEvent) ProtoReflect() protoreflect.Message
- func (x *SpokeUpdatedEvent) Reset()
- func (x *SpokeUpdatedEvent) SetData(v *SpokeEventData)
- func (x *SpokeUpdatedEvent) String() string
- type SpokeUpdatedEvent_builder
- type Spoke_builder
- type State
Constants ¶
This section is empty.
Variables ¶
var ( Infrastructure_name = map[int32]string{ 0: "INFRASTRUCTURE_UNSPECIFIED", 1: "PSC", } Infrastructure_value = map[string]int32{ "INFRASTRUCTURE_UNSPECIFIED": 0, "PSC": 1, } )
Enum value maps for Infrastructure.
var ( ConnectionErrorType_name = map[int32]string{ 0: "CONNECTION_ERROR_TYPE_UNSPECIFIED", 1: "ERROR_INTERNAL", 2: "ERROR_CONSUMER_SIDE", 3: "ERROR_PRODUCER_SIDE", } ConnectionErrorType_value = map[string]int32{ "CONNECTION_ERROR_TYPE_UNSPECIFIED": 0, "ERROR_INTERNAL": 1, "ERROR_CONSUMER_SIDE": 2, "ERROR_PRODUCER_SIDE": 3, } )
Enum value maps for ConnectionErrorType.
var ( State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "DELETING", 6: "UPDATING", } State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "DELETING": 3, "UPDATING": 6, } )
Enum value maps for State.
var ( ServiceConnectionMap_ConsumerPscConfig_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "VALID", 2: "CONNECTION_POLICY_MISSING", } ServiceConnectionMap_ConsumerPscConfig_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "VALID": 1, "CONNECTION_POLICY_MISSING": 2, } )
Enum value maps for ServiceConnectionMap_ConsumerPscConfig_State.
var ( ServiceConnectionMap_ConsumerPscConnection_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "ACTIVE", 2: "FAILED", 3: "CREATING", 4: "DELETING", } ServiceConnectionMap_ConsumerPscConnection_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "ACTIVE": 1, "FAILED": 2, "CREATING": 3, "DELETING": 4, } )
Enum value maps for ServiceConnectionMap_ConsumerPscConnection_State.
var ( ServiceConnectionPolicy_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "ACTIVE", 2: "FAILED", 3: "CREATING", 4: "DELETING", } ServiceConnectionPolicy_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "ACTIVE": 1, "FAILED": 2, "CREATING": 3, "DELETING": 4, } )
Enum value maps for ServiceConnectionPolicy_State.
var File_google_events_cloud_networkconnectivity_v1_data_proto protoreflect.FileDescriptor
var File_google_events_cloud_networkconnectivity_v1_events_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConnectionErrorType ¶
type ConnectionErrorType int32
The error type indicates whether a connection error is consumer facing, producer facing or system internal.
const ( // An invalid error type as the default case. ConnectionErrorType_CONNECTION_ERROR_TYPE_UNSPECIFIED ConnectionErrorType = 0 // The error is due to Service Automation system internal. ConnectionErrorType_ERROR_INTERNAL ConnectionErrorType = 1 // The error is due to the setup on consumer side. ConnectionErrorType_ERROR_CONSUMER_SIDE ConnectionErrorType = 2 // The error is due to the setup on producer side. ConnectionErrorType_ERROR_PRODUCER_SIDE ConnectionErrorType = 3 )
func (ConnectionErrorType) Descriptor ¶
func (ConnectionErrorType) Descriptor() protoreflect.EnumDescriptor
func (ConnectionErrorType) Enum ¶
func (x ConnectionErrorType) Enum() *ConnectionErrorType
func (ConnectionErrorType) Number ¶
func (x ConnectionErrorType) Number() protoreflect.EnumNumber
func (ConnectionErrorType) String ¶
func (x ConnectionErrorType) String() string
func (ConnectionErrorType) Type ¶
func (ConnectionErrorType) Type() protoreflect.EnumType
type Hub ¶
type Hub struct {
// Immutable. The name of the hub. Hub names must be unique. They use the
// following form:
//
// `projects/{project_number}/locations/global/hubs/{hub_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time the hub was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the hub was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional labels in key:value format. For more information about labels, see
// [Requirements for
// labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
Labels map[string]string `` /* 139-byte string literal not displayed */
// An optional description of the hub.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The Google-generated UUID for the hub. This value is unique
// across all hub resources. If a hub is deleted and another with the same
// name is created, the new hub is assigned a different unique_id.
UniqueId string `protobuf:"bytes,8,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
// Output only. The current lifecycle state of this hub.
State State `protobuf:"varint,9,opt,name=state,proto3,enum=google.events.cloud.networkconnectivity.v1.State" json:"state,omitempty"`
// The VPC networks associated with this hub's spokes.
//
// This field is read-only. Network Connectivity Center automatically
// populates it based on the set of spokes attached to the hub.
RoutingVpcs []*RoutingVPC `protobuf:"bytes,10,rep,name=routing_vpcs,json=routingVpcs,proto3" json:"routing_vpcs,omitempty"`
// contains filtered or unexported fields
}
A Network Connectivity Center hub is a global management resource to which you attach spokes. A single hub can contain spokes from multiple regions. However, if any of a hub's spokes use the site-to-site data transfer feature, the resources associated with those spokes must all be in the same VPC network. Spokes that do not use site-to-site data transfer can be associated with any VPC network in your project.
func (*Hub) GetCreateTime ¶
func (x *Hub) GetCreateTime() *timestamppb.Timestamp
func (*Hub) GetRoutingVpcs ¶
func (x *Hub) GetRoutingVpcs() []*RoutingVPC
func (*Hub) GetUpdateTime ¶
func (x *Hub) GetUpdateTime() *timestamppb.Timestamp
func (*Hub) ProtoReflect ¶
func (x *Hub) ProtoReflect() protoreflect.Message
func (*Hub) SetCreateTime ¶
func (x *Hub) SetCreateTime(v *timestamppb.Timestamp)
func (*Hub) SetRoutingVpcs ¶
func (x *Hub) SetRoutingVpcs(v []*RoutingVPC)
func (*Hub) SetUpdateTime ¶
func (x *Hub) SetUpdateTime(v *timestamppb.Timestamp)
type HubCreatedEvent ¶
type HubCreatedEvent struct {
// The data associated with the event.
Data *HubEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a Hub is created.
func (*HubCreatedEvent) ClearData ¶
func (x *HubCreatedEvent) ClearData()
func (*HubCreatedEvent) GetData ¶
func (x *HubCreatedEvent) GetData() *HubEventData
func (*HubCreatedEvent) HasData ¶
func (x *HubCreatedEvent) HasData() bool
func (*HubCreatedEvent) ProtoMessage ¶
func (*HubCreatedEvent) ProtoMessage()
func (*HubCreatedEvent) ProtoReflect ¶
func (x *HubCreatedEvent) ProtoReflect() protoreflect.Message
func (*HubCreatedEvent) Reset ¶
func (x *HubCreatedEvent) Reset()
func (*HubCreatedEvent) SetData ¶
func (x *HubCreatedEvent) SetData(v *HubEventData)
func (*HubCreatedEvent) String ¶
func (x *HubCreatedEvent) String() string
type HubCreatedEvent_builder ¶
type HubCreatedEvent_builder struct {
// The data associated with the event.
Data *HubEventData
// contains filtered or unexported fields
}
func (HubCreatedEvent_builder) Build ¶
func (b0 HubCreatedEvent_builder) Build() *HubCreatedEvent
type HubDeletedEvent ¶
type HubDeletedEvent struct {
// The data associated with the event.
Data *HubEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a Hub is deleted.
func (*HubDeletedEvent) ClearData ¶
func (x *HubDeletedEvent) ClearData()
func (*HubDeletedEvent) GetData ¶
func (x *HubDeletedEvent) GetData() *HubEventData
func (*HubDeletedEvent) HasData ¶
func (x *HubDeletedEvent) HasData() bool
func (*HubDeletedEvent) ProtoMessage ¶
func (*HubDeletedEvent) ProtoMessage()
func (*HubDeletedEvent) ProtoReflect ¶
func (x *HubDeletedEvent) ProtoReflect() protoreflect.Message
func (*HubDeletedEvent) Reset ¶
func (x *HubDeletedEvent) Reset()
func (*HubDeletedEvent) SetData ¶
func (x *HubDeletedEvent) SetData(v *HubEventData)
func (*HubDeletedEvent) String ¶
func (x *HubDeletedEvent) String() string
type HubDeletedEvent_builder ¶
type HubDeletedEvent_builder struct {
// The data associated with the event.
Data *HubEventData
// contains filtered or unexported fields
}
func (HubDeletedEvent_builder) Build ¶
func (b0 HubDeletedEvent_builder) Build() *HubDeletedEvent
type HubEventData ¶
type HubEventData struct {
// Optional. The Hub event payload. Unset for deletion events.
Payload *Hub `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
// contains filtered or unexported fields
}
The data within all Hub events.
func (*HubEventData) ClearPayload ¶
func (x *HubEventData) ClearPayload()
func (*HubEventData) GetPayload ¶
func (x *HubEventData) GetPayload() *Hub
func (*HubEventData) HasPayload ¶
func (x *HubEventData) HasPayload() bool
func (*HubEventData) ProtoMessage ¶
func (*HubEventData) ProtoMessage()
func (*HubEventData) ProtoReflect ¶
func (x *HubEventData) ProtoReflect() protoreflect.Message
func (*HubEventData) Reset ¶
func (x *HubEventData) Reset()
func (*HubEventData) SetPayload ¶
func (x *HubEventData) SetPayload(v *Hub)
func (*HubEventData) String ¶
func (x *HubEventData) String() string
type HubEventData_builder ¶
type HubEventData_builder struct {
// Optional. The Hub event payload. Unset for deletion events.
Payload *Hub
// contains filtered or unexported fields
}
func (HubEventData_builder) Build ¶
func (b0 HubEventData_builder) Build() *HubEventData
type HubUpdatedEvent ¶
type HubUpdatedEvent struct {
// The data associated with the event.
Data *HubEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a Hub is updated.
func (*HubUpdatedEvent) ClearData ¶
func (x *HubUpdatedEvent) ClearData()
func (*HubUpdatedEvent) GetData ¶
func (x *HubUpdatedEvent) GetData() *HubEventData
func (*HubUpdatedEvent) HasData ¶
func (x *HubUpdatedEvent) HasData() bool
func (*HubUpdatedEvent) ProtoMessage ¶
func (*HubUpdatedEvent) ProtoMessage()
func (*HubUpdatedEvent) ProtoReflect ¶
func (x *HubUpdatedEvent) ProtoReflect() protoreflect.Message
func (*HubUpdatedEvent) Reset ¶
func (x *HubUpdatedEvent) Reset()
func (*HubUpdatedEvent) SetData ¶
func (x *HubUpdatedEvent) SetData(v *HubEventData)
func (*HubUpdatedEvent) String ¶
func (x *HubUpdatedEvent) String() string
type HubUpdatedEvent_builder ¶
type HubUpdatedEvent_builder struct {
// The data associated with the event.
Data *HubEventData
// contains filtered or unexported fields
}
func (HubUpdatedEvent_builder) Build ¶
func (b0 HubUpdatedEvent_builder) Build() *HubUpdatedEvent
type Hub_builder ¶
type Hub_builder struct {
// Immutable. The name of the hub. Hub names must be unique. They use the
// following form:
//
// `projects/{project_number}/locations/global/hubs/{hub_id}`
Name string
// Output only. The time the hub was created.
CreateTime *timestamppb.Timestamp
// Output only. The time the hub was last updated.
UpdateTime *timestamppb.Timestamp
// Optional labels in key:value format. For more information about labels, see
// [Requirements for
// labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
Labels map[string]string
// An optional description of the hub.
Description string
// Output only. The Google-generated UUID for the hub. This value is unique
// across all hub resources. If a hub is deleted and another with the same
// name is created, the new hub is assigned a different unique_id.
UniqueId string
// Output only. The current lifecycle state of this hub.
State State
// The VPC networks associated with this hub's spokes.
//
// This field is read-only. Network Connectivity Center automatically
// populates it based on the set of spokes attached to the hub.
RoutingVpcs []*RoutingVPC
// contains filtered or unexported fields
}
func (Hub_builder) Build ¶
func (b0 Hub_builder) Build() *Hub
type Infrastructure ¶
type Infrastructure int32
The infrastructure used for connections between consumers/producers.
const ( // An invalid infrastructure as the default case. Infrastructure_INFRASTRUCTURE_UNSPECIFIED Infrastructure = 0 // Private Service Connect is used for connections. Infrastructure_PSC Infrastructure = 1 )
func (Infrastructure) Descriptor ¶
func (Infrastructure) Descriptor() protoreflect.EnumDescriptor
func (Infrastructure) Enum ¶
func (x Infrastructure) Enum() *Infrastructure
func (Infrastructure) Number ¶
func (x Infrastructure) Number() protoreflect.EnumNumber
func (Infrastructure) String ¶
func (x Infrastructure) String() string
func (Infrastructure) Type ¶
func (Infrastructure) Type() protoreflect.EnumType
type LinkedInterconnectAttachments ¶
type LinkedInterconnectAttachments struct {
// The URIs of linked interconnect attachment resources
Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
// A value that controls whether site-to-site data transfer is enabled for
// these resources. Data transfer is available only in [supported
// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
SiteToSiteDataTransfer bool `` /* 134-byte string literal not displayed */
// Output only. The VPC network where these VLAN attachments are located.
VpcNetwork string `protobuf:"bytes,3,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
// contains filtered or unexported fields
}
A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
func (*LinkedInterconnectAttachments) GetSiteToSiteDataTransfer ¶
func (x *LinkedInterconnectAttachments) GetSiteToSiteDataTransfer() bool
func (*LinkedInterconnectAttachments) GetUris ¶
func (x *LinkedInterconnectAttachments) GetUris() []string
func (*LinkedInterconnectAttachments) GetVpcNetwork ¶
func (x *LinkedInterconnectAttachments) GetVpcNetwork() string
func (*LinkedInterconnectAttachments) ProtoMessage ¶
func (*LinkedInterconnectAttachments) ProtoMessage()
func (*LinkedInterconnectAttachments) ProtoReflect ¶
func (x *LinkedInterconnectAttachments) ProtoReflect() protoreflect.Message
func (*LinkedInterconnectAttachments) Reset ¶
func (x *LinkedInterconnectAttachments) Reset()
func (*LinkedInterconnectAttachments) SetSiteToSiteDataTransfer ¶
func (x *LinkedInterconnectAttachments) SetSiteToSiteDataTransfer(v bool)
func (*LinkedInterconnectAttachments) SetUris ¶
func (x *LinkedInterconnectAttachments) SetUris(v []string)
func (*LinkedInterconnectAttachments) SetVpcNetwork ¶
func (x *LinkedInterconnectAttachments) SetVpcNetwork(v string)
func (*LinkedInterconnectAttachments) String ¶
func (x *LinkedInterconnectAttachments) String() string
type LinkedInterconnectAttachments_builder ¶
type LinkedInterconnectAttachments_builder struct {
// The URIs of linked interconnect attachment resources
Uris []string
// A value that controls whether site-to-site data transfer is enabled for
// these resources. Data transfer is available only in [supported
// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
SiteToSiteDataTransfer bool
// Output only. The VPC network where these VLAN attachments are located.
VpcNetwork string
// contains filtered or unexported fields
}
func (LinkedInterconnectAttachments_builder) Build ¶
func (b0 LinkedInterconnectAttachments_builder) Build() *LinkedInterconnectAttachments
type LinkedRouterApplianceInstances ¶
type LinkedRouterApplianceInstances struct {
// The list of router appliance instances.
Instances []*RouterApplianceInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
// A value that controls whether site-to-site data transfer is enabled for
// these resources. Data transfer is available only in [supported
// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
SiteToSiteDataTransfer bool `` /* 134-byte string literal not displayed */
// Output only. The VPC network where these router appliance instances are
// located.
VpcNetwork string `protobuf:"bytes,3,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
// contains filtered or unexported fields
}
A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke.
func (*LinkedRouterApplianceInstances) GetInstances ¶
func (x *LinkedRouterApplianceInstances) GetInstances() []*RouterApplianceInstance
func (*LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer ¶
func (x *LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer() bool
func (*LinkedRouterApplianceInstances) GetVpcNetwork ¶
func (x *LinkedRouterApplianceInstances) GetVpcNetwork() string
func (*LinkedRouterApplianceInstances) ProtoMessage ¶
func (*LinkedRouterApplianceInstances) ProtoMessage()
func (*LinkedRouterApplianceInstances) ProtoReflect ¶
func (x *LinkedRouterApplianceInstances) ProtoReflect() protoreflect.Message
func (*LinkedRouterApplianceInstances) Reset ¶
func (x *LinkedRouterApplianceInstances) Reset()
func (*LinkedRouterApplianceInstances) SetInstances ¶
func (x *LinkedRouterApplianceInstances) SetInstances(v []*RouterApplianceInstance)
func (*LinkedRouterApplianceInstances) SetSiteToSiteDataTransfer ¶
func (x *LinkedRouterApplianceInstances) SetSiteToSiteDataTransfer(v bool)
func (*LinkedRouterApplianceInstances) SetVpcNetwork ¶
func (x *LinkedRouterApplianceInstances) SetVpcNetwork(v string)
func (*LinkedRouterApplianceInstances) String ¶
func (x *LinkedRouterApplianceInstances) String() string
type LinkedRouterApplianceInstances_builder ¶
type LinkedRouterApplianceInstances_builder struct {
// The list of router appliance instances.
Instances []*RouterApplianceInstance
// A value that controls whether site-to-site data transfer is enabled for
// these resources. Data transfer is available only in [supported
// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
SiteToSiteDataTransfer bool
// Output only. The VPC network where these router appliance instances are
// located.
VpcNetwork string
// contains filtered or unexported fields
}
func (LinkedRouterApplianceInstances_builder) Build ¶
func (b0 LinkedRouterApplianceInstances_builder) Build() *LinkedRouterApplianceInstances
type LinkedVpnTunnels ¶
type LinkedVpnTunnels struct {
// The URIs of linked VPN tunnel resources.
Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
// A value that controls whether site-to-site data transfer is enabled for
// these resources. Data transfer is available only in [supported
// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
SiteToSiteDataTransfer bool `` /* 134-byte string literal not displayed */
// Output only. The VPC network where these VPN tunnels are located.
VpcNetwork string `protobuf:"bytes,3,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
// contains filtered or unexported fields
}
A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes.
func (*LinkedVpnTunnels) GetSiteToSiteDataTransfer ¶
func (x *LinkedVpnTunnels) GetSiteToSiteDataTransfer() bool
func (*LinkedVpnTunnels) GetUris ¶
func (x *LinkedVpnTunnels) GetUris() []string
func (*LinkedVpnTunnels) GetVpcNetwork ¶
func (x *LinkedVpnTunnels) GetVpcNetwork() string
func (*LinkedVpnTunnels) ProtoMessage ¶
func (*LinkedVpnTunnels) ProtoMessage()
func (*LinkedVpnTunnels) ProtoReflect ¶
func (x *LinkedVpnTunnels) ProtoReflect() protoreflect.Message
func (*LinkedVpnTunnels) Reset ¶
func (x *LinkedVpnTunnels) Reset()
func (*LinkedVpnTunnels) SetSiteToSiteDataTransfer ¶
func (x *LinkedVpnTunnels) SetSiteToSiteDataTransfer(v bool)
func (*LinkedVpnTunnels) SetUris ¶
func (x *LinkedVpnTunnels) SetUris(v []string)
func (*LinkedVpnTunnels) SetVpcNetwork ¶
func (x *LinkedVpnTunnels) SetVpcNetwork(v string)
func (*LinkedVpnTunnels) String ¶
func (x *LinkedVpnTunnels) String() string
type LinkedVpnTunnels_builder ¶
type LinkedVpnTunnels_builder struct {
// The URIs of linked VPN tunnel resources.
Uris []string
// A value that controls whether site-to-site data transfer is enabled for
// these resources. Data transfer is available only in [supported
// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
SiteToSiteDataTransfer bool
// Output only. The VPC network where these VPN tunnels are located.
VpcNetwork string
// contains filtered or unexported fields
}
func (LinkedVpnTunnels_builder) Build ¶
func (b0 LinkedVpnTunnels_builder) Build() *LinkedVpnTunnels
type RouterApplianceInstance ¶
type RouterApplianceInstance struct {
// The URI of the VM.
VirtualMachine string `protobuf:"bytes,1,opt,name=virtual_machine,json=virtualMachine,proto3" json:"virtual_machine,omitempty"`
// The IP address on the VM to use for peering.
IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// contains filtered or unexported fields
}
A router appliance instance is a Compute Engine virtual machine (VM) instance that acts as a BGP speaker. A router appliance instance is specified by the URI of the VM and the internal IP address of one of the VM's network interfaces.
func (*RouterApplianceInstance) GetIpAddress ¶
func (x *RouterApplianceInstance) GetIpAddress() string
func (*RouterApplianceInstance) GetVirtualMachine ¶
func (x *RouterApplianceInstance) GetVirtualMachine() string
func (*RouterApplianceInstance) ProtoMessage ¶
func (*RouterApplianceInstance) ProtoMessage()
func (*RouterApplianceInstance) ProtoReflect ¶
func (x *RouterApplianceInstance) ProtoReflect() protoreflect.Message
func (*RouterApplianceInstance) Reset ¶
func (x *RouterApplianceInstance) Reset()
func (*RouterApplianceInstance) SetIpAddress ¶
func (x *RouterApplianceInstance) SetIpAddress(v string)
func (*RouterApplianceInstance) SetVirtualMachine ¶
func (x *RouterApplianceInstance) SetVirtualMachine(v string)
func (*RouterApplianceInstance) String ¶
func (x *RouterApplianceInstance) String() string
type RouterApplianceInstance_builder ¶
type RouterApplianceInstance_builder struct {
// The URI of the VM.
VirtualMachine string
// The IP address on the VM to use for peering.
IpAddress string
// contains filtered or unexported fields
}
func (RouterApplianceInstance_builder) Build ¶
func (b0 RouterApplianceInstance_builder) Build() *RouterApplianceInstance
type RoutingVPC ¶
type RoutingVPC struct {
// The URI of the VPC network.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// Output only. If true, indicates that this VPC network is currently
// associated with spokes that use the data transfer feature (spokes where the
// site_to_site_data_transfer field is set to true). If you create new spokes
// that use data transfer, they must be associated with this VPC network. At
// most, one VPC network will have this field set to true.
RequiredForNewSiteToSiteDataTransferSpokes bool `` /* 202-byte string literal not displayed */
// contains filtered or unexported fields
}
RoutingVPC contains information about the VPC networks associated with the spokes of a Network Connectivity Center hub.
func (*RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes ¶
func (x *RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes() bool
func (*RoutingVPC) GetUri ¶
func (x *RoutingVPC) GetUri() string
func (*RoutingVPC) ProtoMessage ¶
func (*RoutingVPC) ProtoMessage()
func (*RoutingVPC) ProtoReflect ¶
func (x *RoutingVPC) ProtoReflect() protoreflect.Message
func (*RoutingVPC) Reset ¶
func (x *RoutingVPC) Reset()
func (*RoutingVPC) SetRequiredForNewSiteToSiteDataTransferSpokes ¶
func (x *RoutingVPC) SetRequiredForNewSiteToSiteDataTransferSpokes(v bool)
func (*RoutingVPC) SetUri ¶
func (x *RoutingVPC) SetUri(v string)
func (*RoutingVPC) String ¶
func (x *RoutingVPC) String() string
type RoutingVPC_builder ¶
type RoutingVPC_builder struct {
// The URI of the VPC network.
Uri string
// Output only. If true, indicates that this VPC network is currently
// associated with spokes that use the data transfer feature (spokes where the
// site_to_site_data_transfer field is set to true). If you create new spokes
// that use data transfer, they must be associated with this VPC network. At
// most, one VPC network will have this field set to true.
RequiredForNewSiteToSiteDataTransferSpokes bool
// contains filtered or unexported fields
}
func (RoutingVPC_builder) Build ¶
func (b0 RoutingVPC_builder) Build() *RoutingVPC
type ServiceClass ¶
type ServiceClass struct {
// Immutable. The name of a ServiceClass resource.
// Format:
// projects/{project}/locations/{location}/serviceClasses/{service_class}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The generated service class name. Use this name to refer to
// the Service class in Service Connection Maps and Service Connection
// Policies.
ServiceClass string `protobuf:"bytes,7,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
// Output only. Time when the ServiceClass was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the ServiceClass was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// User-defined labels.
Labels map[string]string `` /* 139-byte string literal not displayed */
// A description of this resource.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Output only. URIs of all Service Connection Maps using this service class.
ServiceConnectionMaps []string `` /* 126-byte string literal not displayed */
// contains filtered or unexported fields
}
The ServiceClass resource. Next id: 8
func (*ServiceClass) ClearCreateTime ¶
func (x *ServiceClass) ClearCreateTime()
func (*ServiceClass) ClearUpdateTime ¶
func (x *ServiceClass) ClearUpdateTime()
func (*ServiceClass) GetCreateTime ¶
func (x *ServiceClass) GetCreateTime() *timestamppb.Timestamp
func (*ServiceClass) GetDescription ¶
func (x *ServiceClass) GetDescription() string
func (*ServiceClass) GetLabels ¶
func (x *ServiceClass) GetLabels() map[string]string
func (*ServiceClass) GetName ¶
func (x *ServiceClass) GetName() string
func (*ServiceClass) GetServiceClass ¶
func (x *ServiceClass) GetServiceClass() string
func (*ServiceClass) GetServiceConnectionMaps ¶
func (x *ServiceClass) GetServiceConnectionMaps() []string
func (*ServiceClass) GetUpdateTime ¶
func (x *ServiceClass) GetUpdateTime() *timestamppb.Timestamp
func (*ServiceClass) HasCreateTime ¶
func (x *ServiceClass) HasCreateTime() bool
func (*ServiceClass) HasUpdateTime ¶
func (x *ServiceClass) HasUpdateTime() bool
func (*ServiceClass) ProtoMessage ¶
func (*ServiceClass) ProtoMessage()
func (*ServiceClass) ProtoReflect ¶
func (x *ServiceClass) ProtoReflect() protoreflect.Message
func (*ServiceClass) Reset ¶
func (x *ServiceClass) Reset()
func (*ServiceClass) SetCreateTime ¶
func (x *ServiceClass) SetCreateTime(v *timestamppb.Timestamp)
func (*ServiceClass) SetDescription ¶
func (x *ServiceClass) SetDescription(v string)
func (*ServiceClass) SetLabels ¶
func (x *ServiceClass) SetLabels(v map[string]string)
func (*ServiceClass) SetName ¶
func (x *ServiceClass) SetName(v string)
func (*ServiceClass) SetServiceClass ¶
func (x *ServiceClass) SetServiceClass(v string)
func (*ServiceClass) SetServiceConnectionMaps ¶
func (x *ServiceClass) SetServiceConnectionMaps(v []string)
func (*ServiceClass) SetUpdateTime ¶
func (x *ServiceClass) SetUpdateTime(v *timestamppb.Timestamp)
func (*ServiceClass) String ¶
func (x *ServiceClass) String() string
type ServiceClassDeletedEvent ¶
type ServiceClassDeletedEvent struct {
// The data associated with the event.
Data *ServiceClassEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ServiceClass is deleted.
func (*ServiceClassDeletedEvent) ClearData ¶
func (x *ServiceClassDeletedEvent) ClearData()
func (*ServiceClassDeletedEvent) GetData ¶
func (x *ServiceClassDeletedEvent) GetData() *ServiceClassEventData
func (*ServiceClassDeletedEvent) HasData ¶
func (x *ServiceClassDeletedEvent) HasData() bool
func (*ServiceClassDeletedEvent) ProtoMessage ¶
func (*ServiceClassDeletedEvent) ProtoMessage()
func (*ServiceClassDeletedEvent) ProtoReflect ¶
func (x *ServiceClassDeletedEvent) ProtoReflect() protoreflect.Message
func (*ServiceClassDeletedEvent) Reset ¶
func (x *ServiceClassDeletedEvent) Reset()
func (*ServiceClassDeletedEvent) SetData ¶
func (x *ServiceClassDeletedEvent) SetData(v *ServiceClassEventData)
func (*ServiceClassDeletedEvent) String ¶
func (x *ServiceClassDeletedEvent) String() string
type ServiceClassDeletedEvent_builder ¶
type ServiceClassDeletedEvent_builder struct {
// The data associated with the event.
Data *ServiceClassEventData
// contains filtered or unexported fields
}
func (ServiceClassDeletedEvent_builder) Build ¶
func (b0 ServiceClassDeletedEvent_builder) Build() *ServiceClassDeletedEvent
type ServiceClassEventData ¶
type ServiceClassEventData struct {
// Optional. The ServiceClass event payload. Unset for deletion events.
Payload *ServiceClass `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
// contains filtered or unexported fields
}
The data within all ServiceClass events.
func (*ServiceClassEventData) ClearPayload ¶
func (x *ServiceClassEventData) ClearPayload()
func (*ServiceClassEventData) GetPayload ¶
func (x *ServiceClassEventData) GetPayload() *ServiceClass
func (*ServiceClassEventData) HasPayload ¶
func (x *ServiceClassEventData) HasPayload() bool
func (*ServiceClassEventData) ProtoMessage ¶
func (*ServiceClassEventData) ProtoMessage()
func (*ServiceClassEventData) ProtoReflect ¶
func (x *ServiceClassEventData) ProtoReflect() protoreflect.Message
func (*ServiceClassEventData) Reset ¶
func (x *ServiceClassEventData) Reset()
func (*ServiceClassEventData) SetPayload ¶
func (x *ServiceClassEventData) SetPayload(v *ServiceClass)
func (*ServiceClassEventData) String ¶
func (x *ServiceClassEventData) String() string
type ServiceClassEventData_builder ¶
type ServiceClassEventData_builder struct {
// Optional. The ServiceClass event payload. Unset for deletion events.
Payload *ServiceClass
// contains filtered or unexported fields
}
func (ServiceClassEventData_builder) Build ¶
func (b0 ServiceClassEventData_builder) Build() *ServiceClassEventData
type ServiceClassUpdatedEvent ¶
type ServiceClassUpdatedEvent struct {
// The data associated with the event.
Data *ServiceClassEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ServiceClass is updated.
func (*ServiceClassUpdatedEvent) ClearData ¶
func (x *ServiceClassUpdatedEvent) ClearData()
func (*ServiceClassUpdatedEvent) GetData ¶
func (x *ServiceClassUpdatedEvent) GetData() *ServiceClassEventData
func (*ServiceClassUpdatedEvent) HasData ¶
func (x *ServiceClassUpdatedEvent) HasData() bool
func (*ServiceClassUpdatedEvent) ProtoMessage ¶
func (*ServiceClassUpdatedEvent) ProtoMessage()
func (*ServiceClassUpdatedEvent) ProtoReflect ¶
func (x *ServiceClassUpdatedEvent) ProtoReflect() protoreflect.Message
func (*ServiceClassUpdatedEvent) Reset ¶
func (x *ServiceClassUpdatedEvent) Reset()
func (*ServiceClassUpdatedEvent) SetData ¶
func (x *ServiceClassUpdatedEvent) SetData(v *ServiceClassEventData)
func (*ServiceClassUpdatedEvent) String ¶
func (x *ServiceClassUpdatedEvent) String() string
type ServiceClassUpdatedEvent_builder ¶
type ServiceClassUpdatedEvent_builder struct {
// The data associated with the event.
Data *ServiceClassEventData
// contains filtered or unexported fields
}
func (ServiceClassUpdatedEvent_builder) Build ¶
func (b0 ServiceClassUpdatedEvent_builder) Build() *ServiceClassUpdatedEvent
type ServiceClass_builder ¶
type ServiceClass_builder struct {
// Immutable. The name of a ServiceClass resource.
// Format:
// projects/{project}/locations/{location}/serviceClasses/{service_class}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string
// Output only. The generated service class name. Use this name to refer to
// the Service class in Service Connection Maps and Service Connection
// Policies.
ServiceClass string
// Output only. Time when the ServiceClass was created.
CreateTime *timestamppb.Timestamp
// Output only. Time when the ServiceClass was updated.
UpdateTime *timestamppb.Timestamp
// User-defined labels.
Labels map[string]string
// A description of this resource.
Description string
// Output only. URIs of all Service Connection Maps using this service class.
ServiceConnectionMaps []string
// contains filtered or unexported fields
}
func (ServiceClass_builder) Build ¶
func (b0 ServiceClass_builder) Build() *ServiceClass
type ServiceConnectionMap ¶
type ServiceConnectionMap struct {
// Immutable. The name of a ServiceConnectionMap.
// Format:
// projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the ServiceConnectionMap was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the ServiceConnectionMap was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// User-defined labels.
Labels map[string]string `` /* 139-byte string literal not displayed */
// A description of this resource.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// The service class identifier this ServiceConnectionMap is for.
// The user of ServiceConnectionMap create API needs to have
// networkconnecitivty.serviceclasses.use iam permission for the service
// class.
ServiceClass string `protobuf:"bytes,7,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
// Output only. The service class uri this ServiceConnectionMap is for.
ServiceClassUri string `protobuf:"bytes,12,opt,name=service_class_uri,json=serviceClassUri,proto3" json:"service_class_uri,omitempty"`
// Output only. The infrastructure used for connections between
// consumers/producers.
Infrastructure Infrastructure `` /* 145-byte string literal not displayed */
// The PSC configurations on producer side.
ProducerPscConfigs []*ServiceConnectionMap_ProducerPscConfig `protobuf:"bytes,9,rep,name=producer_psc_configs,json=producerPscConfigs,proto3" json:"producer_psc_configs,omitempty"`
// The PSC configurations on consumer side.
ConsumerPscConfigs []*ServiceConnectionMap_ConsumerPscConfig `protobuf:"bytes,10,rep,name=consumer_psc_configs,json=consumerPscConfigs,proto3" json:"consumer_psc_configs,omitempty"`
// Output only. PSC connection details on consumer side.
ConsumerPscConnections []*ServiceConnectionMap_ConsumerPscConnection `` /* 130-byte string literal not displayed */
// contains filtered or unexported fields
}
The ServiceConnectionMap resource. Next id: 14
func (*ServiceConnectionMap) ClearCreateTime ¶
func (x *ServiceConnectionMap) ClearCreateTime()
func (*ServiceConnectionMap) ClearUpdateTime ¶
func (x *ServiceConnectionMap) ClearUpdateTime()
func (*ServiceConnectionMap) GetConsumerPscConfigs ¶
func (x *ServiceConnectionMap) GetConsumerPscConfigs() []*ServiceConnectionMap_ConsumerPscConfig
func (*ServiceConnectionMap) GetConsumerPscConnections ¶
func (x *ServiceConnectionMap) GetConsumerPscConnections() []*ServiceConnectionMap_ConsumerPscConnection
func (*ServiceConnectionMap) GetCreateTime ¶
func (x *ServiceConnectionMap) GetCreateTime() *timestamppb.Timestamp
func (*ServiceConnectionMap) GetDescription ¶
func (x *ServiceConnectionMap) GetDescription() string
func (*ServiceConnectionMap) GetInfrastructure ¶
func (x *ServiceConnectionMap) GetInfrastructure() Infrastructure
func (*ServiceConnectionMap) GetLabels ¶
func (x *ServiceConnectionMap) GetLabels() map[string]string
func (*ServiceConnectionMap) GetName ¶
func (x *ServiceConnectionMap) GetName() string
func (*ServiceConnectionMap) GetProducerPscConfigs ¶
func (x *ServiceConnectionMap) GetProducerPscConfigs() []*ServiceConnectionMap_ProducerPscConfig
func (*ServiceConnectionMap) GetServiceClass ¶
func (x *ServiceConnectionMap) GetServiceClass() string
func (*ServiceConnectionMap) GetServiceClassUri ¶
func (x *ServiceConnectionMap) GetServiceClassUri() string
func (*ServiceConnectionMap) GetUpdateTime ¶
func (x *ServiceConnectionMap) GetUpdateTime() *timestamppb.Timestamp
func (*ServiceConnectionMap) HasCreateTime ¶
func (x *ServiceConnectionMap) HasCreateTime() bool
func (*ServiceConnectionMap) HasUpdateTime ¶
func (x *ServiceConnectionMap) HasUpdateTime() bool
func (*ServiceConnectionMap) ProtoMessage ¶
func (*ServiceConnectionMap) ProtoMessage()
func (*ServiceConnectionMap) ProtoReflect ¶
func (x *ServiceConnectionMap) ProtoReflect() protoreflect.Message
func (*ServiceConnectionMap) Reset ¶
func (x *ServiceConnectionMap) Reset()
func (*ServiceConnectionMap) SetConsumerPscConfigs ¶
func (x *ServiceConnectionMap) SetConsumerPscConfigs(v []*ServiceConnectionMap_ConsumerPscConfig)
func (*ServiceConnectionMap) SetConsumerPscConnections ¶
func (x *ServiceConnectionMap) SetConsumerPscConnections(v []*ServiceConnectionMap_ConsumerPscConnection)
func (*ServiceConnectionMap) SetCreateTime ¶
func (x *ServiceConnectionMap) SetCreateTime(v *timestamppb.Timestamp)
func (*ServiceConnectionMap) SetDescription ¶
func (x *ServiceConnectionMap) SetDescription(v string)
func (*ServiceConnectionMap) SetInfrastructure ¶
func (x *ServiceConnectionMap) SetInfrastructure(v Infrastructure)
func (*ServiceConnectionMap) SetLabels ¶
func (x *ServiceConnectionMap) SetLabels(v map[string]string)
func (*ServiceConnectionMap) SetName ¶
func (x *ServiceConnectionMap) SetName(v string)
func (*ServiceConnectionMap) SetProducerPscConfigs ¶
func (x *ServiceConnectionMap) SetProducerPscConfigs(v []*ServiceConnectionMap_ProducerPscConfig)
func (*ServiceConnectionMap) SetServiceClass ¶
func (x *ServiceConnectionMap) SetServiceClass(v string)
func (*ServiceConnectionMap) SetServiceClassUri ¶
func (x *ServiceConnectionMap) SetServiceClassUri(v string)
func (*ServiceConnectionMap) SetUpdateTime ¶
func (x *ServiceConnectionMap) SetUpdateTime(v *timestamppb.Timestamp)
func (*ServiceConnectionMap) String ¶
func (x *ServiceConnectionMap) String() string
type ServiceConnectionMapCreatedEvent ¶
type ServiceConnectionMapCreatedEvent struct {
// The data associated with the event.
Data *ServiceConnectionMapEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ServiceConnectionMap is created.
func (*ServiceConnectionMapCreatedEvent) ClearData ¶
func (x *ServiceConnectionMapCreatedEvent) ClearData()
func (*ServiceConnectionMapCreatedEvent) GetData ¶
func (x *ServiceConnectionMapCreatedEvent) GetData() *ServiceConnectionMapEventData
func (*ServiceConnectionMapCreatedEvent) HasData ¶
func (x *ServiceConnectionMapCreatedEvent) HasData() bool
func (*ServiceConnectionMapCreatedEvent) ProtoMessage ¶
func (*ServiceConnectionMapCreatedEvent) ProtoMessage()
func (*ServiceConnectionMapCreatedEvent) ProtoReflect ¶
func (x *ServiceConnectionMapCreatedEvent) ProtoReflect() protoreflect.Message
func (*ServiceConnectionMapCreatedEvent) Reset ¶
func (x *ServiceConnectionMapCreatedEvent) Reset()
func (*ServiceConnectionMapCreatedEvent) SetData ¶
func (x *ServiceConnectionMapCreatedEvent) SetData(v *ServiceConnectionMapEventData)
func (*ServiceConnectionMapCreatedEvent) String ¶
func (x *ServiceConnectionMapCreatedEvent) String() string
type ServiceConnectionMapCreatedEvent_builder ¶
type ServiceConnectionMapCreatedEvent_builder struct {
// The data associated with the event.
Data *ServiceConnectionMapEventData
// contains filtered or unexported fields
}
func (ServiceConnectionMapCreatedEvent_builder) Build ¶
func (b0 ServiceConnectionMapCreatedEvent_builder) Build() *ServiceConnectionMapCreatedEvent
type ServiceConnectionMapDeletedEvent ¶
type ServiceConnectionMapDeletedEvent struct {
// The data associated with the event.
Data *ServiceConnectionMapEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ServiceConnectionMap is deleted.
func (*ServiceConnectionMapDeletedEvent) ClearData ¶
func (x *ServiceConnectionMapDeletedEvent) ClearData()
func (*ServiceConnectionMapDeletedEvent) GetData ¶
func (x *ServiceConnectionMapDeletedEvent) GetData() *ServiceConnectionMapEventData
func (*ServiceConnectionMapDeletedEvent) HasData ¶
func (x *ServiceConnectionMapDeletedEvent) HasData() bool
func (*ServiceConnectionMapDeletedEvent) ProtoMessage ¶
func (*ServiceConnectionMapDeletedEvent) ProtoMessage()
func (*ServiceConnectionMapDeletedEvent) ProtoReflect ¶
func (x *ServiceConnectionMapDeletedEvent) ProtoReflect() protoreflect.Message
func (*ServiceConnectionMapDeletedEvent) Reset ¶
func (x *ServiceConnectionMapDeletedEvent) Reset()
func (*ServiceConnectionMapDeletedEvent) SetData ¶
func (x *ServiceConnectionMapDeletedEvent) SetData(v *ServiceConnectionMapEventData)
func (*ServiceConnectionMapDeletedEvent) String ¶
func (x *ServiceConnectionMapDeletedEvent) String() string
type ServiceConnectionMapDeletedEvent_builder ¶
type ServiceConnectionMapDeletedEvent_builder struct {
// The data associated with the event.
Data *ServiceConnectionMapEventData
// contains filtered or unexported fields
}
func (ServiceConnectionMapDeletedEvent_builder) Build ¶
func (b0 ServiceConnectionMapDeletedEvent_builder) Build() *ServiceConnectionMapDeletedEvent
type ServiceConnectionMapEventData ¶
type ServiceConnectionMapEventData struct {
// Optional. The ServiceConnectionMap event payload. Unset for deletion
// events.
Payload *ServiceConnectionMap `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
// contains filtered or unexported fields
}
The data within all ServiceConnectionMap events.
func (*ServiceConnectionMapEventData) ClearPayload ¶
func (x *ServiceConnectionMapEventData) ClearPayload()
func (*ServiceConnectionMapEventData) GetPayload ¶
func (x *ServiceConnectionMapEventData) GetPayload() *ServiceConnectionMap
func (*ServiceConnectionMapEventData) HasPayload ¶
func (x *ServiceConnectionMapEventData) HasPayload() bool
func (*ServiceConnectionMapEventData) ProtoMessage ¶
func (*ServiceConnectionMapEventData) ProtoMessage()
func (*ServiceConnectionMapEventData) ProtoReflect ¶
func (x *ServiceConnectionMapEventData) ProtoReflect() protoreflect.Message
func (*ServiceConnectionMapEventData) Reset ¶
func (x *ServiceConnectionMapEventData) Reset()
func (*ServiceConnectionMapEventData) SetPayload ¶
func (x *ServiceConnectionMapEventData) SetPayload(v *ServiceConnectionMap)
func (*ServiceConnectionMapEventData) String ¶
func (x *ServiceConnectionMapEventData) String() string
type ServiceConnectionMapEventData_builder ¶
type ServiceConnectionMapEventData_builder struct {
// Optional. The ServiceConnectionMap event payload. Unset for deletion
// events.
Payload *ServiceConnectionMap
// contains filtered or unexported fields
}
func (ServiceConnectionMapEventData_builder) Build ¶
func (b0 ServiceConnectionMapEventData_builder) Build() *ServiceConnectionMapEventData
type ServiceConnectionMapUpdatedEvent ¶
type ServiceConnectionMapUpdatedEvent struct {
// The data associated with the event.
Data *ServiceConnectionMapEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ServiceConnectionMap is updated.
func (*ServiceConnectionMapUpdatedEvent) ClearData ¶
func (x *ServiceConnectionMapUpdatedEvent) ClearData()
func (*ServiceConnectionMapUpdatedEvent) GetData ¶
func (x *ServiceConnectionMapUpdatedEvent) GetData() *ServiceConnectionMapEventData
func (*ServiceConnectionMapUpdatedEvent) HasData ¶
func (x *ServiceConnectionMapUpdatedEvent) HasData() bool
func (*ServiceConnectionMapUpdatedEvent) ProtoMessage ¶
func (*ServiceConnectionMapUpdatedEvent) ProtoMessage()
func (*ServiceConnectionMapUpdatedEvent) ProtoReflect ¶
func (x *ServiceConnectionMapUpdatedEvent) ProtoReflect() protoreflect.Message
func (*ServiceConnectionMapUpdatedEvent) Reset ¶
func (x *ServiceConnectionMapUpdatedEvent) Reset()
func (*ServiceConnectionMapUpdatedEvent) SetData ¶
func (x *ServiceConnectionMapUpdatedEvent) SetData(v *ServiceConnectionMapEventData)
func (*ServiceConnectionMapUpdatedEvent) String ¶
func (x *ServiceConnectionMapUpdatedEvent) String() string
type ServiceConnectionMapUpdatedEvent_builder ¶
type ServiceConnectionMapUpdatedEvent_builder struct {
// The data associated with the event.
Data *ServiceConnectionMapEventData
// contains filtered or unexported fields
}
func (ServiceConnectionMapUpdatedEvent_builder) Build ¶
func (b0 ServiceConnectionMapUpdatedEvent_builder) Build() *ServiceConnectionMapUpdatedEvent
type ServiceConnectionMap_ConsumerPscConfig ¶
type ServiceConnectionMap_ConsumerPscConfig struct {
// The consumer project where PSC connections are allowed to be created in.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// The resource path of the consumer network where PSC connections are
// allowed to be created in. Note, this network does not need be in the
// ConsumerPscConfig.project in the case of SharedVPC.
// Example:
// projects/{projectNumOrId}/global/networks/{networkId}.
Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
// This is used in PSC consumer ForwardingRule to control whether the PSC
// endpoint can be accessed from another region.
DisableGlobalAccess bool `protobuf:"varint,3,opt,name=disable_global_access,json=disableGlobalAccess,proto3" json:"disable_global_access,omitempty"`
// Output only. Overall state of PSC Connections management for this
// consumer psc config.
State ServiceConnectionMap_ConsumerPscConfig_State `` /* 157-byte string literal not displayed */
// contains filtered or unexported fields
}
Allow the producer to specify which consumers can connect to it.
func (*ServiceConnectionMap_ConsumerPscConfig) GetDisableGlobalAccess ¶
func (x *ServiceConnectionMap_ConsumerPscConfig) GetDisableGlobalAccess() bool
func (*ServiceConnectionMap_ConsumerPscConfig) GetNetwork ¶
func (x *ServiceConnectionMap_ConsumerPscConfig) GetNetwork() string
func (*ServiceConnectionMap_ConsumerPscConfig) GetProject ¶
func (x *ServiceConnectionMap_ConsumerPscConfig) GetProject() string
func (*ServiceConnectionMap_ConsumerPscConfig) GetState ¶
func (x *ServiceConnectionMap_ConsumerPscConfig) GetState() ServiceConnectionMap_ConsumerPscConfig_State
func (*ServiceConnectionMap_ConsumerPscConfig) ProtoMessage ¶
func (*ServiceConnectionMap_ConsumerPscConfig) ProtoMessage()
func (*ServiceConnectionMap_ConsumerPscConfig) ProtoReflect ¶
func (x *ServiceConnectionMap_ConsumerPscConfig) ProtoReflect() protoreflect.Message
func (*ServiceConnectionMap_ConsumerPscConfig) Reset ¶
func (x *ServiceConnectionMap_ConsumerPscConfig) Reset()
func (*ServiceConnectionMap_ConsumerPscConfig) SetDisableGlobalAccess ¶
func (x *ServiceConnectionMap_ConsumerPscConfig) SetDisableGlobalAccess(v bool)
func (*ServiceConnectionMap_ConsumerPscConfig) SetNetwork ¶
func (x *ServiceConnectionMap_ConsumerPscConfig) SetNetwork(v string)
func (*ServiceConnectionMap_ConsumerPscConfig) SetProject ¶
func (x *ServiceConnectionMap_ConsumerPscConfig) SetProject(v string)
func (*ServiceConnectionMap_ConsumerPscConfig) SetState ¶
func (x *ServiceConnectionMap_ConsumerPscConfig) SetState(v ServiceConnectionMap_ConsumerPscConfig_State)
func (*ServiceConnectionMap_ConsumerPscConfig) String ¶
func (x *ServiceConnectionMap_ConsumerPscConfig) String() string
type ServiceConnectionMap_ConsumerPscConfig_State ¶
type ServiceConnectionMap_ConsumerPscConfig_State int32
PSC Consumer Config State.
const ( // Default state, when Connection Map is created initially. ServiceConnectionMap_ConsumerPscConfig_STATE_UNSPECIFIED ServiceConnectionMap_ConsumerPscConfig_State = 0 // Set when policy and map configuration is valid, // and their matching can lead to allowing creation of PSC Connections // subject to other constraints like connections limit. ServiceConnectionMap_ConsumerPscConfig_VALID ServiceConnectionMap_ConsumerPscConfig_State = 1 // No Service Connection Policy found for this network and Service // Class ServiceConnectionMap_ConsumerPscConfig_CONNECTION_POLICY_MISSING ServiceConnectionMap_ConsumerPscConfig_State = 2 )
func (ServiceConnectionMap_ConsumerPscConfig_State) Descriptor ¶
func (ServiceConnectionMap_ConsumerPscConfig_State) Descriptor() protoreflect.EnumDescriptor
func (ServiceConnectionMap_ConsumerPscConfig_State) Enum ¶
func (ServiceConnectionMap_ConsumerPscConfig_State) Number ¶
func (x ServiceConnectionMap_ConsumerPscConfig_State) Number() protoreflect.EnumNumber
func (ServiceConnectionMap_ConsumerPscConfig_State) String ¶
func (x ServiceConnectionMap_ConsumerPscConfig_State) String() string
func (ServiceConnectionMap_ConsumerPscConfig_State) Type ¶
func (ServiceConnectionMap_ConsumerPscConfig_State) Type() protoreflect.EnumType
type ServiceConnectionMap_ConsumerPscConfig_builder ¶
type ServiceConnectionMap_ConsumerPscConfig_builder struct {
// The consumer project where PSC connections are allowed to be created in.
Project string
// The resource path of the consumer network where PSC connections are
// allowed to be created in. Note, this network does not need be in the
// ConsumerPscConfig.project in the case of SharedVPC.
// Example:
// projects/{projectNumOrId}/global/networks/{networkId}.
Network string
// This is used in PSC consumer ForwardingRule to control whether the PSC
// endpoint can be accessed from another region.
DisableGlobalAccess bool
// Output only. Overall state of PSC Connections management for this
// consumer psc config.
State ServiceConnectionMap_ConsumerPscConfig_State
// contains filtered or unexported fields
}
func (ServiceConnectionMap_ConsumerPscConfig_builder) Build ¶
type ServiceConnectionMap_ConsumerPscConnection ¶
type ServiceConnectionMap_ConsumerPscConnection struct {
// The URI of a service attachment which is the target of the PSC
// connection.
ServiceAttachmentUri string `protobuf:"bytes,1,opt,name=service_attachment_uri,json=serviceAttachmentUri,proto3" json:"service_attachment_uri,omitempty"`
// The state of the PSC connection.
State ServiceConnectionMap_ConsumerPscConnection_State `` /* 161-byte string literal not displayed */
// The consumer project whose PSC forwarding rule is connected to the
// service attachments in this service connection map.
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
// The consumer network whose PSC forwarding rule is connected to the
// service attachments in this service connection map.
// Note that the network could be on a different project (shared VPC).
Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
// The PSC connection id of the PSC forwarding rule connected
// to the service attachments in this service connection map.
PscConnectionId string `protobuf:"bytes,5,opt,name=psc_connection_id,json=pscConnectionId,proto3" json:"psc_connection_id,omitempty"`
// The IP literal allocated on the consumer network for the PSC forwarding
// rule that is created to connect to the producer service attachment in
// this service connection map.
Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"`
// The error type indicates whether the error is consumer facing, producer
// facing or system internal.
ErrorType ConnectionErrorType `` /* 157-byte string literal not displayed */
// The most recent error during operating this connection.
Error *status.Status `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
// The last Compute Engine operation to setup PSC connection.
GceOperation string `protobuf:"bytes,9,opt,name=gce_operation,json=gceOperation,proto3" json:"gce_operation,omitempty"`
// The URI of the consumer forwarding rule created.
// Example:
// projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
ForwardingRule string `protobuf:"bytes,10,opt,name=forwarding_rule,json=forwardingRule,proto3" json:"forwarding_rule,omitempty"`
// contains filtered or unexported fields
}
PSC connection details on consumer side.
func (*ServiceConnectionMap_ConsumerPscConnection) ClearError ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) ClearError()
func (*ServiceConnectionMap_ConsumerPscConnection) GetError ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) GetError() *status.Status
func (*ServiceConnectionMap_ConsumerPscConnection) GetErrorType ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) GetErrorType() ConnectionErrorType
func (*ServiceConnectionMap_ConsumerPscConnection) GetForwardingRule ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) GetForwardingRule() string
func (*ServiceConnectionMap_ConsumerPscConnection) GetGceOperation ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) GetGceOperation() string
func (*ServiceConnectionMap_ConsumerPscConnection) GetIp ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) GetIp() string
func (*ServiceConnectionMap_ConsumerPscConnection) GetNetwork ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) GetNetwork() string
func (*ServiceConnectionMap_ConsumerPscConnection) GetProject ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) GetProject() string
func (*ServiceConnectionMap_ConsumerPscConnection) GetPscConnectionId ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) GetPscConnectionId() string
func (*ServiceConnectionMap_ConsumerPscConnection) GetServiceAttachmentUri ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) GetServiceAttachmentUri() string
func (*ServiceConnectionMap_ConsumerPscConnection) GetState ¶
func (*ServiceConnectionMap_ConsumerPscConnection) HasError ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) HasError() bool
func (*ServiceConnectionMap_ConsumerPscConnection) ProtoMessage ¶
func (*ServiceConnectionMap_ConsumerPscConnection) ProtoMessage()
func (*ServiceConnectionMap_ConsumerPscConnection) ProtoReflect ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) ProtoReflect() protoreflect.Message
func (*ServiceConnectionMap_ConsumerPscConnection) Reset ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) Reset()
func (*ServiceConnectionMap_ConsumerPscConnection) SetError ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) SetError(v *status.Status)
func (*ServiceConnectionMap_ConsumerPscConnection) SetErrorType ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) SetErrorType(v ConnectionErrorType)
func (*ServiceConnectionMap_ConsumerPscConnection) SetForwardingRule ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) SetForwardingRule(v string)
func (*ServiceConnectionMap_ConsumerPscConnection) SetGceOperation ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) SetGceOperation(v string)
func (*ServiceConnectionMap_ConsumerPscConnection) SetIp ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) SetIp(v string)
func (*ServiceConnectionMap_ConsumerPscConnection) SetNetwork ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) SetNetwork(v string)
func (*ServiceConnectionMap_ConsumerPscConnection) SetProject ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) SetProject(v string)
func (*ServiceConnectionMap_ConsumerPscConnection) SetPscConnectionId ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) SetPscConnectionId(v string)
func (*ServiceConnectionMap_ConsumerPscConnection) SetServiceAttachmentUri ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) SetServiceAttachmentUri(v string)
func (*ServiceConnectionMap_ConsumerPscConnection) SetState ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) SetState(v ServiceConnectionMap_ConsumerPscConnection_State)
func (*ServiceConnectionMap_ConsumerPscConnection) String ¶
func (x *ServiceConnectionMap_ConsumerPscConnection) String() string
type ServiceConnectionMap_ConsumerPscConnection_State ¶
type ServiceConnectionMap_ConsumerPscConnection_State int32
The state of the PSC connection.
const ( // An invalid state as the default case. ServiceConnectionMap_ConsumerPscConnection_STATE_UNSPECIFIED ServiceConnectionMap_ConsumerPscConnection_State = 0 // The connection is fully established and ready to use. ServiceConnectionMap_ConsumerPscConnection_ACTIVE ServiceConnectionMap_ConsumerPscConnection_State = 1 // The connection is not functional since some resources on the connection // fail to be created. ServiceConnectionMap_ConsumerPscConnection_FAILED ServiceConnectionMap_ConsumerPscConnection_State = 2 // The connection is being created. ServiceConnectionMap_ConsumerPscConnection_CREATING ServiceConnectionMap_ConsumerPscConnection_State = 3 // The connection is being deleted. ServiceConnectionMap_ConsumerPscConnection_DELETING ServiceConnectionMap_ConsumerPscConnection_State = 4 )
func (ServiceConnectionMap_ConsumerPscConnection_State) Descriptor ¶
func (ServiceConnectionMap_ConsumerPscConnection_State) Descriptor() protoreflect.EnumDescriptor
func (ServiceConnectionMap_ConsumerPscConnection_State) Enum ¶
func (ServiceConnectionMap_ConsumerPscConnection_State) Number ¶
func (x ServiceConnectionMap_ConsumerPscConnection_State) Number() protoreflect.EnumNumber
func (ServiceConnectionMap_ConsumerPscConnection_State) String ¶
func (x ServiceConnectionMap_ConsumerPscConnection_State) String() string
func (ServiceConnectionMap_ConsumerPscConnection_State) Type ¶
type ServiceConnectionMap_ConsumerPscConnection_builder ¶
type ServiceConnectionMap_ConsumerPscConnection_builder struct {
// The URI of a service attachment which is the target of the PSC
// connection.
ServiceAttachmentUri string
// The state of the PSC connection.
State ServiceConnectionMap_ConsumerPscConnection_State
// The consumer project whose PSC forwarding rule is connected to the
// service attachments in this service connection map.
Project string
// The consumer network whose PSC forwarding rule is connected to the
// service attachments in this service connection map.
// Note that the network could be on a different project (shared VPC).
Network string
// The PSC connection id of the PSC forwarding rule connected
// to the service attachments in this service connection map.
PscConnectionId string
// The IP literal allocated on the consumer network for the PSC forwarding
// rule that is created to connect to the producer service attachment in
// this service connection map.
Ip string
// The error type indicates whether the error is consumer facing, producer
// facing or system internal.
ErrorType ConnectionErrorType
// The most recent error during operating this connection.
Error *status.Status
// The last Compute Engine operation to setup PSC connection.
GceOperation string
// The URI of the consumer forwarding rule created.
// Example:
// projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
ForwardingRule string
// contains filtered or unexported fields
}
func (ServiceConnectionMap_ConsumerPscConnection_builder) Build ¶
type ServiceConnectionMap_ProducerPscConfig ¶
type ServiceConnectionMap_ProducerPscConfig struct {
// The resource path of a service attachment.
// Example:
// projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.
ServiceAttachmentUri string `protobuf:"bytes,1,opt,name=service_attachment_uri,json=serviceAttachmentUri,proto3" json:"service_attachment_uri,omitempty"`
// contains filtered or unexported fields
}
The PSC configurations on producer side.
func (*ServiceConnectionMap_ProducerPscConfig) GetServiceAttachmentUri ¶
func (x *ServiceConnectionMap_ProducerPscConfig) GetServiceAttachmentUri() string
func (*ServiceConnectionMap_ProducerPscConfig) ProtoMessage ¶
func (*ServiceConnectionMap_ProducerPscConfig) ProtoMessage()
func (*ServiceConnectionMap_ProducerPscConfig) ProtoReflect ¶
func (x *ServiceConnectionMap_ProducerPscConfig) ProtoReflect() protoreflect.Message
func (*ServiceConnectionMap_ProducerPscConfig) Reset ¶
func (x *ServiceConnectionMap_ProducerPscConfig) Reset()
func (*ServiceConnectionMap_ProducerPscConfig) SetServiceAttachmentUri ¶
func (x *ServiceConnectionMap_ProducerPscConfig) SetServiceAttachmentUri(v string)
func (*ServiceConnectionMap_ProducerPscConfig) String ¶
func (x *ServiceConnectionMap_ProducerPscConfig) String() string
type ServiceConnectionMap_ProducerPscConfig_builder ¶
type ServiceConnectionMap_ProducerPscConfig_builder struct {
// The resource path of a service attachment.
// Example:
// projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.
ServiceAttachmentUri string
// contains filtered or unexported fields
}
func (ServiceConnectionMap_ProducerPscConfig_builder) Build ¶
type ServiceConnectionMap_builder ¶
type ServiceConnectionMap_builder struct {
// Immutable. The name of a ServiceConnectionMap.
// Format:
// projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string
// Output only. Time when the ServiceConnectionMap was created.
CreateTime *timestamppb.Timestamp
// Output only. Time when the ServiceConnectionMap was updated.
UpdateTime *timestamppb.Timestamp
// User-defined labels.
Labels map[string]string
// A description of this resource.
Description string
// The service class identifier this ServiceConnectionMap is for.
// The user of ServiceConnectionMap create API needs to have
// networkconnecitivty.serviceclasses.use iam permission for the service
// class.
ServiceClass string
// Output only. The service class uri this ServiceConnectionMap is for.
ServiceClassUri string
// Output only. The infrastructure used for connections between
// consumers/producers.
Infrastructure Infrastructure
// The PSC configurations on producer side.
ProducerPscConfigs []*ServiceConnectionMap_ProducerPscConfig
// The PSC configurations on consumer side.
ConsumerPscConfigs []*ServiceConnectionMap_ConsumerPscConfig
// Output only. PSC connection details on consumer side.
ConsumerPscConnections []*ServiceConnectionMap_ConsumerPscConnection
// contains filtered or unexported fields
}
func (ServiceConnectionMap_builder) Build ¶
func (b0 ServiceConnectionMap_builder) Build() *ServiceConnectionMap
type ServiceConnectionPolicy ¶
type ServiceConnectionPolicy struct {
// Immutable. The name of a ServiceConnectionPolicy.
// Format:
// projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the ServiceConnectionMap was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the ServiceConnectionMap was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// User-defined labels.
Labels map[string]string `` /* 139-byte string literal not displayed */
// A description of this resource.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// The resource path of the consumer network.
// Example:
// - projects/{projectNumOrId}/global/networks/{resourceId}.
Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
// The service class identifier for which this ServiceConnectionPolicy is for.
// The service class identifier is a unique, symbolic representation of a
// ServiceClass. It is provided by the Service Producer. Google services have
// a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For
// example, test-service-a3dfcx.
ServiceClass string `protobuf:"bytes,7,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
// Output only. The type of underlying resources used to create the
// connection.
Infrastructure Infrastructure `` /* 145-byte string literal not displayed */
// Configuration used for Private Service Connect connections. Used when
// Infrastructure is PSC.
PscConfig *ServiceConnectionPolicy_PscConfig `protobuf:"bytes,9,opt,name=psc_config,json=pscConfig,proto3" json:"psc_config,omitempty"`
// Output only. [Output only] Information about each Private Service Connect
// connection.
PscConnections []*ServiceConnectionPolicy_PscConnection `protobuf:"bytes,10,rep,name=psc_connections,json=pscConnections,proto3" json:"psc_connections,omitempty"`
// contains filtered or unexported fields
}
The ServiceConnectionPolicy resource. Next id: 11
func (*ServiceConnectionPolicy) ClearCreateTime ¶
func (x *ServiceConnectionPolicy) ClearCreateTime()
func (*ServiceConnectionPolicy) ClearPscConfig ¶
func (x *ServiceConnectionPolicy) ClearPscConfig()
func (*ServiceConnectionPolicy) ClearUpdateTime ¶
func (x *ServiceConnectionPolicy) ClearUpdateTime()
func (*ServiceConnectionPolicy) GetCreateTime ¶
func (x *ServiceConnectionPolicy) GetCreateTime() *timestamppb.Timestamp
func (*ServiceConnectionPolicy) GetDescription ¶
func (x *ServiceConnectionPolicy) GetDescription() string
func (*ServiceConnectionPolicy) GetInfrastructure ¶
func (x *ServiceConnectionPolicy) GetInfrastructure() Infrastructure
func (*ServiceConnectionPolicy) GetLabels ¶
func (x *ServiceConnectionPolicy) GetLabels() map[string]string
func (*ServiceConnectionPolicy) GetName ¶
func (x *ServiceConnectionPolicy) GetName() string
func (*ServiceConnectionPolicy) GetNetwork ¶
func (x *ServiceConnectionPolicy) GetNetwork() string
func (*ServiceConnectionPolicy) GetPscConfig ¶
func (x *ServiceConnectionPolicy) GetPscConfig() *ServiceConnectionPolicy_PscConfig
func (*ServiceConnectionPolicy) GetPscConnections ¶
func (x *ServiceConnectionPolicy) GetPscConnections() []*ServiceConnectionPolicy_PscConnection
func (*ServiceConnectionPolicy) GetServiceClass ¶
func (x *ServiceConnectionPolicy) GetServiceClass() string
func (*ServiceConnectionPolicy) GetUpdateTime ¶
func (x *ServiceConnectionPolicy) GetUpdateTime() *timestamppb.Timestamp
func (*ServiceConnectionPolicy) HasCreateTime ¶
func (x *ServiceConnectionPolicy) HasCreateTime() bool
func (*ServiceConnectionPolicy) HasPscConfig ¶
func (x *ServiceConnectionPolicy) HasPscConfig() bool
func (*ServiceConnectionPolicy) HasUpdateTime ¶
func (x *ServiceConnectionPolicy) HasUpdateTime() bool
func (*ServiceConnectionPolicy) ProtoMessage ¶
func (*ServiceConnectionPolicy) ProtoMessage()
func (*ServiceConnectionPolicy) ProtoReflect ¶
func (x *ServiceConnectionPolicy) ProtoReflect() protoreflect.Message
func (*ServiceConnectionPolicy) Reset ¶
func (x *ServiceConnectionPolicy) Reset()
func (*ServiceConnectionPolicy) SetCreateTime ¶
func (x *ServiceConnectionPolicy) SetCreateTime(v *timestamppb.Timestamp)
func (*ServiceConnectionPolicy) SetDescription ¶
func (x *ServiceConnectionPolicy) SetDescription(v string)
func (*ServiceConnectionPolicy) SetInfrastructure ¶
func (x *ServiceConnectionPolicy) SetInfrastructure(v Infrastructure)
func (*ServiceConnectionPolicy) SetLabels ¶
func (x *ServiceConnectionPolicy) SetLabels(v map[string]string)
func (*ServiceConnectionPolicy) SetName ¶
func (x *ServiceConnectionPolicy) SetName(v string)
func (*ServiceConnectionPolicy) SetNetwork ¶
func (x *ServiceConnectionPolicy) SetNetwork(v string)
func (*ServiceConnectionPolicy) SetPscConfig ¶
func (x *ServiceConnectionPolicy) SetPscConfig(v *ServiceConnectionPolicy_PscConfig)
func (*ServiceConnectionPolicy) SetPscConnections ¶
func (x *ServiceConnectionPolicy) SetPscConnections(v []*ServiceConnectionPolicy_PscConnection)
func (*ServiceConnectionPolicy) SetServiceClass ¶
func (x *ServiceConnectionPolicy) SetServiceClass(v string)
func (*ServiceConnectionPolicy) SetUpdateTime ¶
func (x *ServiceConnectionPolicy) SetUpdateTime(v *timestamppb.Timestamp)
func (*ServiceConnectionPolicy) String ¶
func (x *ServiceConnectionPolicy) String() string
type ServiceConnectionPolicyCreatedEvent ¶
type ServiceConnectionPolicyCreatedEvent struct {
// The data associated with the event.
Data *ServiceConnectionPolicyEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ServiceConnectionPolicy is created.
func (*ServiceConnectionPolicyCreatedEvent) ClearData ¶
func (x *ServiceConnectionPolicyCreatedEvent) ClearData()
func (*ServiceConnectionPolicyCreatedEvent) GetData ¶
func (x *ServiceConnectionPolicyCreatedEvent) GetData() *ServiceConnectionPolicyEventData
func (*ServiceConnectionPolicyCreatedEvent) HasData ¶
func (x *ServiceConnectionPolicyCreatedEvent) HasData() bool
func (*ServiceConnectionPolicyCreatedEvent) ProtoMessage ¶
func (*ServiceConnectionPolicyCreatedEvent) ProtoMessage()
func (*ServiceConnectionPolicyCreatedEvent) ProtoReflect ¶
func (x *ServiceConnectionPolicyCreatedEvent) ProtoReflect() protoreflect.Message
func (*ServiceConnectionPolicyCreatedEvent) Reset ¶
func (x *ServiceConnectionPolicyCreatedEvent) Reset()
func (*ServiceConnectionPolicyCreatedEvent) SetData ¶
func (x *ServiceConnectionPolicyCreatedEvent) SetData(v *ServiceConnectionPolicyEventData)
func (*ServiceConnectionPolicyCreatedEvent) String ¶
func (x *ServiceConnectionPolicyCreatedEvent) String() string
type ServiceConnectionPolicyCreatedEvent_builder ¶
type ServiceConnectionPolicyCreatedEvent_builder struct {
// The data associated with the event.
Data *ServiceConnectionPolicyEventData
// contains filtered or unexported fields
}
func (ServiceConnectionPolicyCreatedEvent_builder) Build ¶
func (b0 ServiceConnectionPolicyCreatedEvent_builder) Build() *ServiceConnectionPolicyCreatedEvent
type ServiceConnectionPolicyDeletedEvent ¶
type ServiceConnectionPolicyDeletedEvent struct {
// The data associated with the event.
Data *ServiceConnectionPolicyEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ServiceConnectionPolicy is deleted.
func (*ServiceConnectionPolicyDeletedEvent) ClearData ¶
func (x *ServiceConnectionPolicyDeletedEvent) ClearData()
func (*ServiceConnectionPolicyDeletedEvent) GetData ¶
func (x *ServiceConnectionPolicyDeletedEvent) GetData() *ServiceConnectionPolicyEventData
func (*ServiceConnectionPolicyDeletedEvent) HasData ¶
func (x *ServiceConnectionPolicyDeletedEvent) HasData() bool
func (*ServiceConnectionPolicyDeletedEvent) ProtoMessage ¶
func (*ServiceConnectionPolicyDeletedEvent) ProtoMessage()
func (*ServiceConnectionPolicyDeletedEvent) ProtoReflect ¶
func (x *ServiceConnectionPolicyDeletedEvent) ProtoReflect() protoreflect.Message
func (*ServiceConnectionPolicyDeletedEvent) Reset ¶
func (x *ServiceConnectionPolicyDeletedEvent) Reset()
func (*ServiceConnectionPolicyDeletedEvent) SetData ¶
func (x *ServiceConnectionPolicyDeletedEvent) SetData(v *ServiceConnectionPolicyEventData)
func (*ServiceConnectionPolicyDeletedEvent) String ¶
func (x *ServiceConnectionPolicyDeletedEvent) String() string
type ServiceConnectionPolicyDeletedEvent_builder ¶
type ServiceConnectionPolicyDeletedEvent_builder struct {
// The data associated with the event.
Data *ServiceConnectionPolicyEventData
// contains filtered or unexported fields
}
func (ServiceConnectionPolicyDeletedEvent_builder) Build ¶
func (b0 ServiceConnectionPolicyDeletedEvent_builder) Build() *ServiceConnectionPolicyDeletedEvent
type ServiceConnectionPolicyEventData ¶
type ServiceConnectionPolicyEventData struct {
// Optional. The ServiceConnectionPolicy event payload. Unset for deletion
// events.
Payload *ServiceConnectionPolicy `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
// contains filtered or unexported fields
}
The data within all ServiceConnectionPolicy events.
func (*ServiceConnectionPolicyEventData) ClearPayload ¶
func (x *ServiceConnectionPolicyEventData) ClearPayload()
func (*ServiceConnectionPolicyEventData) GetPayload ¶
func (x *ServiceConnectionPolicyEventData) GetPayload() *ServiceConnectionPolicy
func (*ServiceConnectionPolicyEventData) HasPayload ¶
func (x *ServiceConnectionPolicyEventData) HasPayload() bool
func (*ServiceConnectionPolicyEventData) ProtoMessage ¶
func (*ServiceConnectionPolicyEventData) ProtoMessage()
func (*ServiceConnectionPolicyEventData) ProtoReflect ¶
func (x *ServiceConnectionPolicyEventData) ProtoReflect() protoreflect.Message
func (*ServiceConnectionPolicyEventData) Reset ¶
func (x *ServiceConnectionPolicyEventData) Reset()
func (*ServiceConnectionPolicyEventData) SetPayload ¶
func (x *ServiceConnectionPolicyEventData) SetPayload(v *ServiceConnectionPolicy)
func (*ServiceConnectionPolicyEventData) String ¶
func (x *ServiceConnectionPolicyEventData) String() string
type ServiceConnectionPolicyEventData_builder ¶
type ServiceConnectionPolicyEventData_builder struct {
// Optional. The ServiceConnectionPolicy event payload. Unset for deletion
// events.
Payload *ServiceConnectionPolicy
// contains filtered or unexported fields
}
func (ServiceConnectionPolicyEventData_builder) Build ¶
func (b0 ServiceConnectionPolicyEventData_builder) Build() *ServiceConnectionPolicyEventData
type ServiceConnectionPolicyUpdatedEvent ¶
type ServiceConnectionPolicyUpdatedEvent struct {
// The data associated with the event.
Data *ServiceConnectionPolicyEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ServiceConnectionPolicy is updated.
func (*ServiceConnectionPolicyUpdatedEvent) ClearData ¶
func (x *ServiceConnectionPolicyUpdatedEvent) ClearData()
func (*ServiceConnectionPolicyUpdatedEvent) GetData ¶
func (x *ServiceConnectionPolicyUpdatedEvent) GetData() *ServiceConnectionPolicyEventData
func (*ServiceConnectionPolicyUpdatedEvent) HasData ¶
func (x *ServiceConnectionPolicyUpdatedEvent) HasData() bool
func (*ServiceConnectionPolicyUpdatedEvent) ProtoMessage ¶
func (*ServiceConnectionPolicyUpdatedEvent) ProtoMessage()
func (*ServiceConnectionPolicyUpdatedEvent) ProtoReflect ¶
func (x *ServiceConnectionPolicyUpdatedEvent) ProtoReflect() protoreflect.Message
func (*ServiceConnectionPolicyUpdatedEvent) Reset ¶
func (x *ServiceConnectionPolicyUpdatedEvent) Reset()
func (*ServiceConnectionPolicyUpdatedEvent) SetData ¶
func (x *ServiceConnectionPolicyUpdatedEvent) SetData(v *ServiceConnectionPolicyEventData)
func (*ServiceConnectionPolicyUpdatedEvent) String ¶
func (x *ServiceConnectionPolicyUpdatedEvent) String() string
type ServiceConnectionPolicyUpdatedEvent_builder ¶
type ServiceConnectionPolicyUpdatedEvent_builder struct {
// The data associated with the event.
Data *ServiceConnectionPolicyEventData
// contains filtered or unexported fields
}
func (ServiceConnectionPolicyUpdatedEvent_builder) Build ¶
func (b0 ServiceConnectionPolicyUpdatedEvent_builder) Build() *ServiceConnectionPolicyUpdatedEvent
type ServiceConnectionPolicy_PscConfig ¶
type ServiceConnectionPolicy_PscConfig struct {
// The resource paths of subnetworks to use for IP address management.
// Example:
// projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
Subnetworks []string `protobuf:"bytes,1,rep,name=subnetworks,proto3" json:"subnetworks,omitempty"`
// Optional. Max number of PSC connections for this policy.
Limit *int64 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// contains filtered or unexported fields
}
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
func (*ServiceConnectionPolicy_PscConfig) ClearLimit ¶
func (x *ServiceConnectionPolicy_PscConfig) ClearLimit()
func (*ServiceConnectionPolicy_PscConfig) GetLimit ¶
func (x *ServiceConnectionPolicy_PscConfig) GetLimit() int64
func (*ServiceConnectionPolicy_PscConfig) GetSubnetworks ¶
func (x *ServiceConnectionPolicy_PscConfig) GetSubnetworks() []string
func (*ServiceConnectionPolicy_PscConfig) HasLimit ¶
func (x *ServiceConnectionPolicy_PscConfig) HasLimit() bool
func (*ServiceConnectionPolicy_PscConfig) ProtoMessage ¶
func (*ServiceConnectionPolicy_PscConfig) ProtoMessage()
func (*ServiceConnectionPolicy_PscConfig) ProtoReflect ¶
func (x *ServiceConnectionPolicy_PscConfig) ProtoReflect() protoreflect.Message
func (*ServiceConnectionPolicy_PscConfig) Reset ¶
func (x *ServiceConnectionPolicy_PscConfig) Reset()
func (*ServiceConnectionPolicy_PscConfig) SetLimit ¶
func (x *ServiceConnectionPolicy_PscConfig) SetLimit(v int64)
func (*ServiceConnectionPolicy_PscConfig) SetSubnetworks ¶
func (x *ServiceConnectionPolicy_PscConfig) SetSubnetworks(v []string)
func (*ServiceConnectionPolicy_PscConfig) String ¶
func (x *ServiceConnectionPolicy_PscConfig) String() string
type ServiceConnectionPolicy_PscConfig_builder ¶
type ServiceConnectionPolicy_PscConfig_builder struct {
// The resource paths of subnetworks to use for IP address management.
// Example:
// projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
Subnetworks []string
// Optional. Max number of PSC connections for this policy.
Limit *int64
// contains filtered or unexported fields
}
func (ServiceConnectionPolicy_PscConfig_builder) Build ¶
func (b0 ServiceConnectionPolicy_PscConfig_builder) Build() *ServiceConnectionPolicy_PscConfig
type ServiceConnectionPolicy_PscConnection ¶
type ServiceConnectionPolicy_PscConnection struct {
// State of the PSC Connection
State ServiceConnectionPolicy_State `` /* 142-byte string literal not displayed */
// The resource reference of the PSC Forwarding Rule within the consumer
// VPC.
ConsumerForwardingRule string `` /* 129-byte string literal not displayed */
// The resource reference of the consumer address.
ConsumerAddress string `protobuf:"bytes,3,opt,name=consumer_address,json=consumerAddress,proto3" json:"consumer_address,omitempty"`
// The error type indicates whether the error is consumer facing, producer
// facing or system internal.
ErrorType ConnectionErrorType `` /* 157-byte string literal not displayed */
// The most recent error during operating this connection.
Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
// The last Compute Engine operation to setup PSC connection.
GceOperation string `protobuf:"bytes,6,opt,name=gce_operation,json=gceOperation,proto3" json:"gce_operation,omitempty"`
// The project where the PSC connection is created.
ConsumerTargetProject string `` /* 126-byte string literal not displayed */
// The PSC connection id of the PSC forwarding rule.
PscConnectionId string `protobuf:"bytes,8,opt,name=psc_connection_id,json=pscConnectionId,proto3" json:"psc_connection_id,omitempty"`
// contains filtered or unexported fields
}
Information about a specific Private Service Connect connection.
func (*ServiceConnectionPolicy_PscConnection) ClearError ¶
func (x *ServiceConnectionPolicy_PscConnection) ClearError()
func (*ServiceConnectionPolicy_PscConnection) GetConsumerAddress ¶
func (x *ServiceConnectionPolicy_PscConnection) GetConsumerAddress() string
func (*ServiceConnectionPolicy_PscConnection) GetConsumerForwardingRule ¶
func (x *ServiceConnectionPolicy_PscConnection) GetConsumerForwardingRule() string
func (*ServiceConnectionPolicy_PscConnection) GetConsumerTargetProject ¶
func (x *ServiceConnectionPolicy_PscConnection) GetConsumerTargetProject() string
func (*ServiceConnectionPolicy_PscConnection) GetError ¶
func (x *ServiceConnectionPolicy_PscConnection) GetError() *status.Status
func (*ServiceConnectionPolicy_PscConnection) GetErrorType ¶
func (x *ServiceConnectionPolicy_PscConnection) GetErrorType() ConnectionErrorType
func (*ServiceConnectionPolicy_PscConnection) GetGceOperation ¶
func (x *ServiceConnectionPolicy_PscConnection) GetGceOperation() string
func (*ServiceConnectionPolicy_PscConnection) GetPscConnectionId ¶
func (x *ServiceConnectionPolicy_PscConnection) GetPscConnectionId() string
func (*ServiceConnectionPolicy_PscConnection) GetState ¶
func (x *ServiceConnectionPolicy_PscConnection) GetState() ServiceConnectionPolicy_State
func (*ServiceConnectionPolicy_PscConnection) HasError ¶
func (x *ServiceConnectionPolicy_PscConnection) HasError() bool
func (*ServiceConnectionPolicy_PscConnection) ProtoMessage ¶
func (*ServiceConnectionPolicy_PscConnection) ProtoMessage()
func (*ServiceConnectionPolicy_PscConnection) ProtoReflect ¶
func (x *ServiceConnectionPolicy_PscConnection) ProtoReflect() protoreflect.Message
func (*ServiceConnectionPolicy_PscConnection) Reset ¶
func (x *ServiceConnectionPolicy_PscConnection) Reset()
func (*ServiceConnectionPolicy_PscConnection) SetConsumerAddress ¶
func (x *ServiceConnectionPolicy_PscConnection) SetConsumerAddress(v string)
func (*ServiceConnectionPolicy_PscConnection) SetConsumerForwardingRule ¶
func (x *ServiceConnectionPolicy_PscConnection) SetConsumerForwardingRule(v string)
func (*ServiceConnectionPolicy_PscConnection) SetConsumerTargetProject ¶
func (x *ServiceConnectionPolicy_PscConnection) SetConsumerTargetProject(v string)
func (*ServiceConnectionPolicy_PscConnection) SetError ¶
func (x *ServiceConnectionPolicy_PscConnection) SetError(v *status.Status)
func (*ServiceConnectionPolicy_PscConnection) SetErrorType ¶
func (x *ServiceConnectionPolicy_PscConnection) SetErrorType(v ConnectionErrorType)
func (*ServiceConnectionPolicy_PscConnection) SetGceOperation ¶
func (x *ServiceConnectionPolicy_PscConnection) SetGceOperation(v string)
func (*ServiceConnectionPolicy_PscConnection) SetPscConnectionId ¶
func (x *ServiceConnectionPolicy_PscConnection) SetPscConnectionId(v string)
func (*ServiceConnectionPolicy_PscConnection) SetState ¶
func (x *ServiceConnectionPolicy_PscConnection) SetState(v ServiceConnectionPolicy_State)
func (*ServiceConnectionPolicy_PscConnection) String ¶
func (x *ServiceConnectionPolicy_PscConnection) String() string
type ServiceConnectionPolicy_PscConnection_builder ¶
type ServiceConnectionPolicy_PscConnection_builder struct {
// State of the PSC Connection
State ServiceConnectionPolicy_State
// The resource reference of the PSC Forwarding Rule within the consumer
// VPC.
ConsumerForwardingRule string
// The resource reference of the consumer address.
ConsumerAddress string
// The error type indicates whether the error is consumer facing, producer
// facing or system internal.
ErrorType ConnectionErrorType
// The most recent error during operating this connection.
Error *status.Status
// The last Compute Engine operation to setup PSC connection.
GceOperation string
// The project where the PSC connection is created.
ConsumerTargetProject string
// The PSC connection id of the PSC forwarding rule.
PscConnectionId string
// contains filtered or unexported fields
}
func (ServiceConnectionPolicy_PscConnection_builder) Build ¶
type ServiceConnectionPolicy_State ¶
type ServiceConnectionPolicy_State int32
The state of the PSC connection.
const ( // An invalid state as the default case. ServiceConnectionPolicy_STATE_UNSPECIFIED ServiceConnectionPolicy_State = 0 // The connection is fully established and ready to use. ServiceConnectionPolicy_ACTIVE ServiceConnectionPolicy_State = 1 // The connection is not functional since some resources on the connection // fail to be created. ServiceConnectionPolicy_FAILED ServiceConnectionPolicy_State = 2 // The connection is being created. ServiceConnectionPolicy_CREATING ServiceConnectionPolicy_State = 3 // The connection is being deleted. ServiceConnectionPolicy_DELETING ServiceConnectionPolicy_State = 4 )
func (ServiceConnectionPolicy_State) Descriptor ¶
func (ServiceConnectionPolicy_State) Descriptor() protoreflect.EnumDescriptor
func (ServiceConnectionPolicy_State) Enum ¶
func (x ServiceConnectionPolicy_State) Enum() *ServiceConnectionPolicy_State
func (ServiceConnectionPolicy_State) Number ¶
func (x ServiceConnectionPolicy_State) Number() protoreflect.EnumNumber
func (ServiceConnectionPolicy_State) String ¶
func (x ServiceConnectionPolicy_State) String() string
func (ServiceConnectionPolicy_State) Type ¶
func (ServiceConnectionPolicy_State) Type() protoreflect.EnumType
type ServiceConnectionPolicy_builder ¶
type ServiceConnectionPolicy_builder struct {
// Immutable. The name of a ServiceConnectionPolicy.
// Format:
// projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string
// Output only. Time when the ServiceConnectionMap was created.
CreateTime *timestamppb.Timestamp
// Output only. Time when the ServiceConnectionMap was updated.
UpdateTime *timestamppb.Timestamp
// User-defined labels.
Labels map[string]string
// A description of this resource.
Description string
// The resource path of the consumer network.
// Example:
// - projects/{projectNumOrId}/global/networks/{resourceId}.
Network string
// The service class identifier for which this ServiceConnectionPolicy is for.
// The service class identifier is a unique, symbolic representation of a
// ServiceClass. It is provided by the Service Producer. Google services have
// a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For
// example, test-service-a3dfcx.
ServiceClass string
// Output only. The type of underlying resources used to create the
// connection.
Infrastructure Infrastructure
// Configuration used for Private Service Connect connections. Used when
// Infrastructure is PSC.
PscConfig *ServiceConnectionPolicy_PscConfig
// Output only. [Output only] Information about each Private Service Connect
// connection.
PscConnections []*ServiceConnectionPolicy_PscConnection
// contains filtered or unexported fields
}
func (ServiceConnectionPolicy_builder) Build ¶
func (b0 ServiceConnectionPolicy_builder) Build() *ServiceConnectionPolicy
type ServiceConnectionToken ¶
type ServiceConnectionToken struct {
// Immutable. The name of a ServiceConnectionToken.
// Format:
// projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the ServiceConnectionToken was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the ServiceConnectionToken was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// User-defined labels.
Labels map[string]string `` /* 139-byte string literal not displayed */
// A description of this resource.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// The resource path of the network associated with this token.
// Example:
// projects/{projectNumOrId}/global/networks/{resourceId}.
Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
// contains filtered or unexported fields
}
The ServiceConnectionToken resource. Next id: 9
func (*ServiceConnectionToken) ClearCreateTime ¶
func (x *ServiceConnectionToken) ClearCreateTime()
func (*ServiceConnectionToken) ClearUpdateTime ¶
func (x *ServiceConnectionToken) ClearUpdateTime()
func (*ServiceConnectionToken) GetCreateTime ¶
func (x *ServiceConnectionToken) GetCreateTime() *timestamppb.Timestamp
func (*ServiceConnectionToken) GetDescription ¶
func (x *ServiceConnectionToken) GetDescription() string
func (*ServiceConnectionToken) GetLabels ¶
func (x *ServiceConnectionToken) GetLabels() map[string]string
func (*ServiceConnectionToken) GetName ¶
func (x *ServiceConnectionToken) GetName() string
func (*ServiceConnectionToken) GetNetwork ¶
func (x *ServiceConnectionToken) GetNetwork() string
func (*ServiceConnectionToken) GetUpdateTime ¶
func (x *ServiceConnectionToken) GetUpdateTime() *timestamppb.Timestamp
func (*ServiceConnectionToken) HasCreateTime ¶
func (x *ServiceConnectionToken) HasCreateTime() bool
func (*ServiceConnectionToken) HasUpdateTime ¶
func (x *ServiceConnectionToken) HasUpdateTime() bool
func (*ServiceConnectionToken) ProtoMessage ¶
func (*ServiceConnectionToken) ProtoMessage()
func (*ServiceConnectionToken) ProtoReflect ¶
func (x *ServiceConnectionToken) ProtoReflect() protoreflect.Message
func (*ServiceConnectionToken) Reset ¶
func (x *ServiceConnectionToken) Reset()
func (*ServiceConnectionToken) SetCreateTime ¶
func (x *ServiceConnectionToken) SetCreateTime(v *timestamppb.Timestamp)
func (*ServiceConnectionToken) SetDescription ¶
func (x *ServiceConnectionToken) SetDescription(v string)
func (*ServiceConnectionToken) SetLabels ¶
func (x *ServiceConnectionToken) SetLabels(v map[string]string)
func (*ServiceConnectionToken) SetName ¶
func (x *ServiceConnectionToken) SetName(v string)
func (*ServiceConnectionToken) SetNetwork ¶
func (x *ServiceConnectionToken) SetNetwork(v string)
func (*ServiceConnectionToken) SetUpdateTime ¶
func (x *ServiceConnectionToken) SetUpdateTime(v *timestamppb.Timestamp)
func (*ServiceConnectionToken) String ¶
func (x *ServiceConnectionToken) String() string
type ServiceConnectionTokenCreatedEvent ¶
type ServiceConnectionTokenCreatedEvent struct {
// The data associated with the event.
Data *ServiceConnectionTokenEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ServiceConnectionToken is created.
func (*ServiceConnectionTokenCreatedEvent) ClearData ¶
func (x *ServiceConnectionTokenCreatedEvent) ClearData()
func (*ServiceConnectionTokenCreatedEvent) GetData ¶
func (x *ServiceConnectionTokenCreatedEvent) GetData() *ServiceConnectionTokenEventData
func (*ServiceConnectionTokenCreatedEvent) HasData ¶
func (x *ServiceConnectionTokenCreatedEvent) HasData() bool
func (*ServiceConnectionTokenCreatedEvent) ProtoMessage ¶
func (*ServiceConnectionTokenCreatedEvent) ProtoMessage()
func (*ServiceConnectionTokenCreatedEvent) ProtoReflect ¶
func (x *ServiceConnectionTokenCreatedEvent) ProtoReflect() protoreflect.Message
func (*ServiceConnectionTokenCreatedEvent) Reset ¶
func (x *ServiceConnectionTokenCreatedEvent) Reset()
func (*ServiceConnectionTokenCreatedEvent) SetData ¶
func (x *ServiceConnectionTokenCreatedEvent) SetData(v *ServiceConnectionTokenEventData)
func (*ServiceConnectionTokenCreatedEvent) String ¶
func (x *ServiceConnectionTokenCreatedEvent) String() string
type ServiceConnectionTokenCreatedEvent_builder ¶
type ServiceConnectionTokenCreatedEvent_builder struct {
// The data associated with the event.
Data *ServiceConnectionTokenEventData
// contains filtered or unexported fields
}
func (ServiceConnectionTokenCreatedEvent_builder) Build ¶
func (b0 ServiceConnectionTokenCreatedEvent_builder) Build() *ServiceConnectionTokenCreatedEvent
type ServiceConnectionTokenDeletedEvent ¶
type ServiceConnectionTokenDeletedEvent struct {
// The data associated with the event.
Data *ServiceConnectionTokenEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a ServiceConnectionToken is deleted.
func (*ServiceConnectionTokenDeletedEvent) ClearData ¶
func (x *ServiceConnectionTokenDeletedEvent) ClearData()
func (*ServiceConnectionTokenDeletedEvent) GetData ¶
func (x *ServiceConnectionTokenDeletedEvent) GetData() *ServiceConnectionTokenEventData
func (*ServiceConnectionTokenDeletedEvent) HasData ¶
func (x *ServiceConnectionTokenDeletedEvent) HasData() bool
func (*ServiceConnectionTokenDeletedEvent) ProtoMessage ¶
func (*ServiceConnectionTokenDeletedEvent) ProtoMessage()
func (*ServiceConnectionTokenDeletedEvent) ProtoReflect ¶
func (x *ServiceConnectionTokenDeletedEvent) ProtoReflect() protoreflect.Message
func (*ServiceConnectionTokenDeletedEvent) Reset ¶
func (x *ServiceConnectionTokenDeletedEvent) Reset()
func (*ServiceConnectionTokenDeletedEvent) SetData ¶
func (x *ServiceConnectionTokenDeletedEvent) SetData(v *ServiceConnectionTokenEventData)
func (*ServiceConnectionTokenDeletedEvent) String ¶
func (x *ServiceConnectionTokenDeletedEvent) String() string
type ServiceConnectionTokenDeletedEvent_builder ¶
type ServiceConnectionTokenDeletedEvent_builder struct {
// The data associated with the event.
Data *ServiceConnectionTokenEventData
// contains filtered or unexported fields
}
func (ServiceConnectionTokenDeletedEvent_builder) Build ¶
func (b0 ServiceConnectionTokenDeletedEvent_builder) Build() *ServiceConnectionTokenDeletedEvent
type ServiceConnectionTokenEventData ¶
type ServiceConnectionTokenEventData struct {
// Optional. The ServiceConnectionToken event payload. Unset for deletion
// events.
Payload *ServiceConnectionToken `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
// contains filtered or unexported fields
}
The data within all ServiceConnectionToken events.
func (*ServiceConnectionTokenEventData) ClearPayload ¶
func (x *ServiceConnectionTokenEventData) ClearPayload()
func (*ServiceConnectionTokenEventData) GetPayload ¶
func (x *ServiceConnectionTokenEventData) GetPayload() *ServiceConnectionToken
func (*ServiceConnectionTokenEventData) HasPayload ¶
func (x *ServiceConnectionTokenEventData) HasPayload() bool
func (*ServiceConnectionTokenEventData) ProtoMessage ¶
func (*ServiceConnectionTokenEventData) ProtoMessage()
func (*ServiceConnectionTokenEventData) ProtoReflect ¶
func (x *ServiceConnectionTokenEventData) ProtoReflect() protoreflect.Message
func (*ServiceConnectionTokenEventData) Reset ¶
func (x *ServiceConnectionTokenEventData) Reset()
func (*ServiceConnectionTokenEventData) SetPayload ¶
func (x *ServiceConnectionTokenEventData) SetPayload(v *ServiceConnectionToken)
func (*ServiceConnectionTokenEventData) String ¶
func (x *ServiceConnectionTokenEventData) String() string
type ServiceConnectionTokenEventData_builder ¶
type ServiceConnectionTokenEventData_builder struct {
// Optional. The ServiceConnectionToken event payload. Unset for deletion
// events.
Payload *ServiceConnectionToken
// contains filtered or unexported fields
}
func (ServiceConnectionTokenEventData_builder) Build ¶
func (b0 ServiceConnectionTokenEventData_builder) Build() *ServiceConnectionTokenEventData
type ServiceConnectionToken_builder ¶
type ServiceConnectionToken_builder struct {
// Immutable. The name of a ServiceConnectionToken.
// Format:
// projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string
// Output only. Time when the ServiceConnectionToken was created.
CreateTime *timestamppb.Timestamp
// Output only. Time when the ServiceConnectionToken was updated.
UpdateTime *timestamppb.Timestamp
// User-defined labels.
Labels map[string]string
// A description of this resource.
Description string
// The resource path of the network associated with this token.
// Example:
// projects/{projectNumOrId}/global/networks/{resourceId}.
Network string
// contains filtered or unexported fields
}
func (ServiceConnectionToken_builder) Build ¶
func (b0 ServiceConnectionToken_builder) Build() *ServiceConnectionToken
type Spoke ¶
type Spoke struct {
// Immutable. The name of the spoke. Spoke names must be unique. They use the
// following form:
//
// `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time the spoke was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the spoke was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional labels in key:value format. For more information about labels, see
// [Requirements for
// labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
Labels map[string]string `` /* 139-byte string literal not displayed */
// An optional description of the spoke.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Immutable. The name of the hub that this spoke is attached to.
Hub string `protobuf:"bytes,6,opt,name=hub,proto3" json:"hub,omitempty"`
// VPN tunnels that are associated with the spoke.
LinkedVpnTunnels *LinkedVpnTunnels `protobuf:"bytes,17,opt,name=linked_vpn_tunnels,json=linkedVpnTunnels,proto3" json:"linked_vpn_tunnels,omitempty"`
// VLAN attachments that are associated with the spoke.
LinkedInterconnectAttachments *LinkedInterconnectAttachments `` /* 151-byte string literal not displayed */
// Router appliance instances that are associated with the spoke.
LinkedRouterApplianceInstances *LinkedRouterApplianceInstances `` /* 156-byte string literal not displayed */
// Output only. The Google-generated UUID for the spoke. This value is unique
// across all spoke resources. If a spoke is deleted and another with the same
// name is created, the new spoke is assigned a different unique_id.
UniqueId string `protobuf:"bytes,11,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
// Output only. The current lifecycle state of this spoke.
State State `protobuf:"varint,15,opt,name=state,proto3,enum=google.events.cloud.networkconnectivity.v1.State" json:"state,omitempty"`
// contains filtered or unexported fields
}
A Network Connectivity Center spoke represents one or more network connectivity resources.
When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields:
* linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances
func (*Spoke) ClearLinkedInterconnectAttachments ¶
func (x *Spoke) ClearLinkedInterconnectAttachments()
func (*Spoke) ClearLinkedRouterApplianceInstances ¶
func (x *Spoke) ClearLinkedRouterApplianceInstances()
func (*Spoke) GetCreateTime ¶
func (x *Spoke) GetCreateTime() *timestamppb.Timestamp
func (*Spoke) GetLinkedInterconnectAttachments ¶
func (x *Spoke) GetLinkedInterconnectAttachments() *LinkedInterconnectAttachments
func (*Spoke) GetLinkedRouterApplianceInstances ¶
func (x *Spoke) GetLinkedRouterApplianceInstances() *LinkedRouterApplianceInstances
func (*Spoke) GetLinkedVpnTunnels ¶
func (x *Spoke) GetLinkedVpnTunnels() *LinkedVpnTunnels
func (*Spoke) GetUpdateTime ¶
func (x *Spoke) GetUpdateTime() *timestamppb.Timestamp
func (*Spoke) HasLinkedInterconnectAttachments ¶
func (*Spoke) HasLinkedRouterApplianceInstances ¶
func (*Spoke) ProtoReflect ¶
func (x *Spoke) ProtoReflect() protoreflect.Message
func (*Spoke) SetCreateTime ¶
func (x *Spoke) SetCreateTime(v *timestamppb.Timestamp)
func (*Spoke) SetLinkedInterconnectAttachments ¶
func (x *Spoke) SetLinkedInterconnectAttachments(v *LinkedInterconnectAttachments)
func (*Spoke) SetLinkedRouterApplianceInstances ¶
func (x *Spoke) SetLinkedRouterApplianceInstances(v *LinkedRouterApplianceInstances)
func (*Spoke) SetLinkedVpnTunnels ¶
func (x *Spoke) SetLinkedVpnTunnels(v *LinkedVpnTunnels)
func (*Spoke) SetUpdateTime ¶
func (x *Spoke) SetUpdateTime(v *timestamppb.Timestamp)
type SpokeCreatedEvent ¶
type SpokeCreatedEvent struct {
// The data associated with the event.
Data *SpokeEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a Spoke is created.
func (*SpokeCreatedEvent) ClearData ¶
func (x *SpokeCreatedEvent) ClearData()
func (*SpokeCreatedEvent) GetData ¶
func (x *SpokeCreatedEvent) GetData() *SpokeEventData
func (*SpokeCreatedEvent) HasData ¶
func (x *SpokeCreatedEvent) HasData() bool
func (*SpokeCreatedEvent) ProtoMessage ¶
func (*SpokeCreatedEvent) ProtoMessage()
func (*SpokeCreatedEvent) ProtoReflect ¶
func (x *SpokeCreatedEvent) ProtoReflect() protoreflect.Message
func (*SpokeCreatedEvent) Reset ¶
func (x *SpokeCreatedEvent) Reset()
func (*SpokeCreatedEvent) SetData ¶
func (x *SpokeCreatedEvent) SetData(v *SpokeEventData)
func (*SpokeCreatedEvent) String ¶
func (x *SpokeCreatedEvent) String() string
type SpokeCreatedEvent_builder ¶
type SpokeCreatedEvent_builder struct {
// The data associated with the event.
Data *SpokeEventData
// contains filtered or unexported fields
}
func (SpokeCreatedEvent_builder) Build ¶
func (b0 SpokeCreatedEvent_builder) Build() *SpokeCreatedEvent
type SpokeDeletedEvent ¶
type SpokeDeletedEvent struct {
// The data associated with the event.
Data *SpokeEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a Spoke is deleted.
func (*SpokeDeletedEvent) ClearData ¶
func (x *SpokeDeletedEvent) ClearData()
func (*SpokeDeletedEvent) GetData ¶
func (x *SpokeDeletedEvent) GetData() *SpokeEventData
func (*SpokeDeletedEvent) HasData ¶
func (x *SpokeDeletedEvent) HasData() bool
func (*SpokeDeletedEvent) ProtoMessage ¶
func (*SpokeDeletedEvent) ProtoMessage()
func (*SpokeDeletedEvent) ProtoReflect ¶
func (x *SpokeDeletedEvent) ProtoReflect() protoreflect.Message
func (*SpokeDeletedEvent) Reset ¶
func (x *SpokeDeletedEvent) Reset()
func (*SpokeDeletedEvent) SetData ¶
func (x *SpokeDeletedEvent) SetData(v *SpokeEventData)
func (*SpokeDeletedEvent) String ¶
func (x *SpokeDeletedEvent) String() string
type SpokeDeletedEvent_builder ¶
type SpokeDeletedEvent_builder struct {
// The data associated with the event.
Data *SpokeEventData
// contains filtered or unexported fields
}
func (SpokeDeletedEvent_builder) Build ¶
func (b0 SpokeDeletedEvent_builder) Build() *SpokeDeletedEvent
type SpokeEventData ¶
type SpokeEventData struct {
// Optional. The Spoke event payload. Unset for deletion events.
Payload *Spoke `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
// contains filtered or unexported fields
}
The data within all Spoke events.
func (*SpokeEventData) ClearPayload ¶
func (x *SpokeEventData) ClearPayload()
func (*SpokeEventData) GetPayload ¶
func (x *SpokeEventData) GetPayload() *Spoke
func (*SpokeEventData) HasPayload ¶
func (x *SpokeEventData) HasPayload() bool
func (*SpokeEventData) ProtoMessage ¶
func (*SpokeEventData) ProtoMessage()
func (*SpokeEventData) ProtoReflect ¶
func (x *SpokeEventData) ProtoReflect() protoreflect.Message
func (*SpokeEventData) Reset ¶
func (x *SpokeEventData) Reset()
func (*SpokeEventData) SetPayload ¶
func (x *SpokeEventData) SetPayload(v *Spoke)
func (*SpokeEventData) String ¶
func (x *SpokeEventData) String() string
type SpokeEventData_builder ¶
type SpokeEventData_builder struct {
// Optional. The Spoke event payload. Unset for deletion events.
Payload *Spoke
// contains filtered or unexported fields
}
func (SpokeEventData_builder) Build ¶
func (b0 SpokeEventData_builder) Build() *SpokeEventData
type SpokeUpdatedEvent ¶
type SpokeUpdatedEvent struct {
// The data associated with the event.
Data *SpokeEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a Spoke is updated.
func (*SpokeUpdatedEvent) ClearData ¶
func (x *SpokeUpdatedEvent) ClearData()
func (*SpokeUpdatedEvent) GetData ¶
func (x *SpokeUpdatedEvent) GetData() *SpokeEventData
func (*SpokeUpdatedEvent) HasData ¶
func (x *SpokeUpdatedEvent) HasData() bool
func (*SpokeUpdatedEvent) ProtoMessage ¶
func (*SpokeUpdatedEvent) ProtoMessage()
func (*SpokeUpdatedEvent) ProtoReflect ¶
func (x *SpokeUpdatedEvent) ProtoReflect() protoreflect.Message
func (*SpokeUpdatedEvent) Reset ¶
func (x *SpokeUpdatedEvent) Reset()
func (*SpokeUpdatedEvent) SetData ¶
func (x *SpokeUpdatedEvent) SetData(v *SpokeEventData)
func (*SpokeUpdatedEvent) String ¶
func (x *SpokeUpdatedEvent) String() string
type SpokeUpdatedEvent_builder ¶
type SpokeUpdatedEvent_builder struct {
// The data associated with the event.
Data *SpokeEventData
// contains filtered or unexported fields
}
func (SpokeUpdatedEvent_builder) Build ¶
func (b0 SpokeUpdatedEvent_builder) Build() *SpokeUpdatedEvent
type Spoke_builder ¶
type Spoke_builder struct {
// Immutable. The name of the spoke. Spoke names must be unique. They use the
// following form:
//
// `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
Name string
// Output only. The time the spoke was created.
CreateTime *timestamppb.Timestamp
// Output only. The time the spoke was last updated.
UpdateTime *timestamppb.Timestamp
// Optional labels in key:value format. For more information about labels, see
// [Requirements for
// labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
Labels map[string]string
// An optional description of the spoke.
Description string
// Immutable. The name of the hub that this spoke is attached to.
Hub string
// VPN tunnels that are associated with the spoke.
LinkedVpnTunnels *LinkedVpnTunnels
// VLAN attachments that are associated with the spoke.
LinkedInterconnectAttachments *LinkedInterconnectAttachments
// Router appliance instances that are associated with the spoke.
LinkedRouterApplianceInstances *LinkedRouterApplianceInstances
// Output only. The Google-generated UUID for the spoke. This value is unique
// across all spoke resources. If a spoke is deleted and another with the same
// name is created, the new spoke is assigned a different unique_id.
UniqueId string
// Output only. The current lifecycle state of this spoke.
State State
// contains filtered or unexported fields
}
func (Spoke_builder) Build ¶
func (b0 Spoke_builder) Build() *Spoke
type State ¶
type State int32
The State enum represents the lifecycle stage of a Network Connectivity Center resource.
const ( // No state information available State_STATE_UNSPECIFIED State = 0 // The resource's create operation is in progress. State_CREATING State = 1 // The resource is active State_ACTIVE State = 2 // The resource's delete operation is in progress. State_DELETING State = 3 // The resource's update operation is in progress. State_UPDATING State = 6 )
func (State) Descriptor ¶
func (State) Descriptor() protoreflect.EnumDescriptor
func (State) Number ¶
func (x State) Number() protoreflect.EnumNumber
func (State) Type ¶
func (State) Type() protoreflect.EnumType
Source Files
¶
- data.pb.go
- events.pb.go