networkconnectivitydata

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package networkconnectivitydata provides Network Connectivity type definitions for CloudEvent data payloads.

Supported CloudEvent Types

  • google.cloud.networkconnectivity.serviceConnectionMap.v1.created
  • google.cloud.networkconnectivity.serviceConnectionMap.v1.updated
  • google.cloud.networkconnectivity.serviceConnectionMap.v1.deleted
  • google.cloud.networkconnectivity.serviceConnectionPolicy.v1.created
  • google.cloud.networkconnectivity.serviceConnectionPolicy.v1.updated
  • google.cloud.networkconnectivity.serviceConnectionPolicy.v1.deleted
  • google.cloud.networkconnectivity.serviceClass.v1.updated
  • google.cloud.networkconnectivity.serviceClass.v1.deleted
  • google.cloud.networkconnectivity.serviceConnectionToken.v1.created
  • google.cloud.networkconnectivity.serviceConnectionToken.v1.deleted
  • google.cloud.networkconnectivity.hub.v1.created
  • google.cloud.networkconnectivity.hub.v1.updated
  • google.cloud.networkconnectivity.hub.v1.deleted
  • google.cloud.networkconnectivity.spoke.v1.created
  • google.cloud.networkconnectivity.spoke.v1.updated
  • google.cloud.networkconnectivity.spoke.v1.deleted

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_cloud_networkconnectivity_v1_data_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) Enum

func (ConnectionErrorType) EnumDescriptor deprecated

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

Deprecated: Use ConnectionErrorType.Descriptor instead.

func (ConnectionErrorType) Number

func (ConnectionErrorType) String

func (x ConnectionErrorType) String() string

func (ConnectionErrorType) Type

type 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 `` /* 153-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) Descriptor deprecated

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

Deprecated: Use Hub.ProtoReflect.Descriptor instead.

func (*Hub) GetCreateTime

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

func (*Hub) GetDescription

func (x *Hub) GetDescription() string

func (*Hub) GetLabels

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

func (*Hub) GetName

func (x *Hub) GetName() string

func (*Hub) GetRoutingVpcs

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

func (*Hub) GetState

func (x *Hub) GetState() State

func (*Hub) GetUniqueId

func (x *Hub) GetUniqueId() string

func (*Hub) GetUpdateTime

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

func (*Hub) ProtoMessage

func (*Hub) ProtoMessage()

func (*Hub) ProtoReflect

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

func (*Hub) Reset

func (x *Hub) Reset()

func (*Hub) String

func (x *Hub) String() string

type 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) Descriptor deprecated

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

Deprecated: Use HubEventData.ProtoReflect.Descriptor instead.

func (*HubEventData) GetPayload

func (x *HubEventData) GetPayload() *Hub

func (*HubEventData) ProtoMessage

func (*HubEventData) ProtoMessage()

func (*HubEventData) ProtoReflect

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

func (*HubEventData) Reset

func (x *HubEventData) Reset()

func (*HubEventData) String

func (x *HubEventData) String() string

type Infrastructure

type Infrastructure int32

The infrastructure used for connections between consumers/producers.

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

func (Infrastructure) Descriptor

func (Infrastructure) Enum

func (x Infrastructure) Enum() *Infrastructure

func (Infrastructure) EnumDescriptor deprecated

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

Deprecated: Use Infrastructure.Descriptor instead.

func (Infrastructure) Number

func (Infrastructure) String

func (x Infrastructure) String() string

func (Infrastructure) Type

type LinkedInterconnectAttachments

type LinkedInterconnectAttachments struct {

	// The URIs of linked interconnect attachment resources
	Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
	// A value that controls whether site-to-site data transfer is enabled for
	// these resources. Data transfer is available only in [supported
	// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
	SiteToSiteDataTransfer bool `` /* 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) Descriptor deprecated

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

Deprecated: Use LinkedInterconnectAttachments.ProtoReflect.Descriptor instead.

func (*LinkedInterconnectAttachments) GetSiteToSiteDataTransfer

func (x *LinkedInterconnectAttachments) GetSiteToSiteDataTransfer() bool

func (*LinkedInterconnectAttachments) GetUris

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

func (*LinkedInterconnectAttachments) GetVpcNetwork

func (x *LinkedInterconnectAttachments) GetVpcNetwork() string

func (*LinkedInterconnectAttachments) ProtoMessage

func (*LinkedInterconnectAttachments) ProtoMessage()

func (*LinkedInterconnectAttachments) ProtoReflect

func (*LinkedInterconnectAttachments) Reset

func (x *LinkedInterconnectAttachments) Reset()

func (*LinkedInterconnectAttachments) String

type 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) Descriptor deprecated

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

Deprecated: Use LinkedRouterApplianceInstances.ProtoReflect.Descriptor instead.

func (*LinkedRouterApplianceInstances) GetInstances

func (*LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer

func (x *LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer() bool

func (*LinkedRouterApplianceInstances) GetVpcNetwork

func (x *LinkedRouterApplianceInstances) GetVpcNetwork() string

func (*LinkedRouterApplianceInstances) ProtoMessage

func (*LinkedRouterApplianceInstances) ProtoMessage()

func (*LinkedRouterApplianceInstances) ProtoReflect

func (*LinkedRouterApplianceInstances) Reset

func (x *LinkedRouterApplianceInstances) Reset()

func (*LinkedRouterApplianceInstances) String

type 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) Descriptor deprecated

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

Deprecated: Use LinkedVpnTunnels.ProtoReflect.Descriptor instead.

func (*LinkedVpnTunnels) GetSiteToSiteDataTransfer

func (x *LinkedVpnTunnels) GetSiteToSiteDataTransfer() bool

func (*LinkedVpnTunnels) GetUris

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

func (*LinkedVpnTunnels) GetVpcNetwork

func (x *LinkedVpnTunnels) GetVpcNetwork() string

func (*LinkedVpnTunnels) ProtoMessage

func (*LinkedVpnTunnels) ProtoMessage()

func (*LinkedVpnTunnels) ProtoReflect

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

func (*LinkedVpnTunnels) Reset

func (x *LinkedVpnTunnels) Reset()

func (*LinkedVpnTunnels) String

func (x *LinkedVpnTunnels) String() string

type RouterApplianceInstance

type RouterApplianceInstance struct {

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

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

func (*RouterApplianceInstance) Descriptor deprecated

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

Deprecated: Use RouterApplianceInstance.ProtoReflect.Descriptor instead.

func (*RouterApplianceInstance) GetIpAddress

func (x *RouterApplianceInstance) GetIpAddress() string

func (*RouterApplianceInstance) GetVirtualMachine

func (x *RouterApplianceInstance) GetVirtualMachine() string

func (*RouterApplianceInstance) ProtoMessage

func (*RouterApplianceInstance) ProtoMessage()

func (*RouterApplianceInstance) ProtoReflect

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

func (*RouterApplianceInstance) Reset

func (x *RouterApplianceInstance) Reset()

func (*RouterApplianceInstance) String

func (x *RouterApplianceInstance) String() string

type RoutingVPC

type RoutingVPC struct {

	// The URI of the VPC network.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Output only. If true, indicates that this VPC network is currently
	// associated with spokes that use the data transfer feature (spokes where the
	// site_to_site_data_transfer field is set to true). If you create new spokes
	// that use data transfer, they must be associated with this VPC network. At
	// most, one VPC network will have this field set to true.
	RequiredForNewSiteToSiteDataTransferSpokes bool `` /* 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) Descriptor deprecated

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

Deprecated: Use RoutingVPC.ProtoReflect.Descriptor instead.

func (*RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes

func (x *RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes() bool

func (*RoutingVPC) GetUri

func (x *RoutingVPC) GetUri() string

func (*RoutingVPC) ProtoMessage

func (*RoutingVPC) ProtoMessage()

func (*RoutingVPC) ProtoReflect

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

func (*RoutingVPC) Reset

func (x *RoutingVPC) Reset()

func (*RoutingVPC) String

func (x *RoutingVPC) String() string

type ServiceClass

type ServiceClass struct {

	// Immutable. The name of a ServiceClass resource.
	// Format:
	// projects/{project}/locations/{location}/serviceClasses/{service_class}
	// See: https://google.aip.dev/122#fields-representing-resource-names
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The generated service class name. Use this name to refer to
	// the Service class in Service Connection Maps and Service Connection
	// Policies.
	ServiceClass string `protobuf:"bytes,7,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
	// Output only. Time when the ServiceClass was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when the ServiceClass was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined labels.
	Labels map[string]string `` /* 153-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) Descriptor deprecated

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

Deprecated: Use ServiceClass.ProtoReflect.Descriptor instead.

func (*ServiceClass) GetCreateTime

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

func (*ServiceClass) GetDescription

func (x *ServiceClass) GetDescription() string

func (*ServiceClass) 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) ProtoMessage

func (*ServiceClass) ProtoMessage()

func (*ServiceClass) ProtoReflect

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

func (*ServiceClass) Reset

func (x *ServiceClass) Reset()

func (*ServiceClass) String

func (x *ServiceClass) String() string

type 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) Descriptor deprecated

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

Deprecated: Use ServiceClassEventData.ProtoReflect.Descriptor instead.

func (*ServiceClassEventData) GetPayload

func (x *ServiceClassEventData) GetPayload() *ServiceClass

func (*ServiceClassEventData) ProtoMessage

func (*ServiceClassEventData) ProtoMessage()

func (*ServiceClassEventData) ProtoReflect

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

func (*ServiceClassEventData) Reset

func (x *ServiceClassEventData) Reset()

func (*ServiceClassEventData) String

func (x *ServiceClassEventData) String() string

type ServiceConnectionMap

type ServiceConnectionMap struct {

	// Immutable. The name of a ServiceConnectionMap.
	// Format:
	// projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
	// See: https://google.aip.dev/122#fields-representing-resource-names
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Time when the ServiceConnectionMap was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when the ServiceConnectionMap was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined labels.
	Labels map[string]string `` /* 153-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) Descriptor deprecated

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

Deprecated: Use ServiceConnectionMap.ProtoReflect.Descriptor instead.

func (*ServiceConnectionMap) GetConsumerPscConfigs

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

func (*ServiceConnectionMap) GetConsumerPscConnections

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

func (*ServiceConnectionMap) GetCreateTime

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

func (*ServiceConnectionMap) GetDescription

func (x *ServiceConnectionMap) GetDescription() string

func (*ServiceConnectionMap) 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) ProtoMessage

func (*ServiceConnectionMap) ProtoMessage()

func (*ServiceConnectionMap) ProtoReflect

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

func (*ServiceConnectionMap) Reset

func (x *ServiceConnectionMap) Reset()

func (*ServiceConnectionMap) String

func (x *ServiceConnectionMap) String() string

type 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) Descriptor deprecated

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

Deprecated: Use ServiceConnectionMapEventData.ProtoReflect.Descriptor instead.

func (*ServiceConnectionMapEventData) GetPayload

func (*ServiceConnectionMapEventData) ProtoMessage

func (*ServiceConnectionMapEventData) ProtoMessage()

func (*ServiceConnectionMapEventData) ProtoReflect

func (*ServiceConnectionMapEventData) Reset

func (x *ServiceConnectionMapEventData) Reset()

func (*ServiceConnectionMapEventData) String

type ServiceConnectionMap_ConsumerPscConfig

type ServiceConnectionMap_ConsumerPscConfig struct {

	// The consumer project where PSC connections are allowed to be created in.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The resource path of the consumer network where PSC connections are
	// allowed to be created in. Note, this network does not need be in the
	// ConsumerPscConfig.project in the case of SharedVPC.
	// Example:
	// projects/{projectNumOrId}/global/networks/{networkId}.
	Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	// This is used in PSC consumer ForwardingRule to control whether the PSC
	// endpoint can be accessed from another region.
	DisableGlobalAccess bool `protobuf:"varint,3,opt,name=disable_global_access,json=disableGlobalAccess,proto3" json:"disable_global_access,omitempty"`
	// Output only. Overall state of PSC Connections management for this
	// consumer psc config.
	State ServiceConnectionMap_ConsumerPscConfig_State `` /* 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) Descriptor deprecated

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

Deprecated: Use ServiceConnectionMap_ConsumerPscConfig.ProtoReflect.Descriptor instead.

func (*ServiceConnectionMap_ConsumerPscConfig) GetDisableGlobalAccess

func (x *ServiceConnectionMap_ConsumerPscConfig) GetDisableGlobalAccess() bool

func (*ServiceConnectionMap_ConsumerPscConfig) GetNetwork

func (*ServiceConnectionMap_ConsumerPscConfig) GetProject

func (*ServiceConnectionMap_ConsumerPscConfig) GetState

func (*ServiceConnectionMap_ConsumerPscConfig) ProtoMessage

func (*ServiceConnectionMap_ConsumerPscConfig) ProtoReflect

func (*ServiceConnectionMap_ConsumerPscConfig) Reset

func (*ServiceConnectionMap_ConsumerPscConfig) String

type ServiceConnectionMap_ConsumerPscConfig_State

type ServiceConnectionMap_ConsumerPscConfig_State int32

PSC Consumer Config State.

const (
	// Default state, when Connection Map is created initially.
	ServiceConnectionMap_ConsumerPscConfig_STATE_UNSPECIFIED ServiceConnectionMap_ConsumerPscConfig_State = 0
	// Set when policy and map configuration is valid,
	// and their matching can lead to allowing creation of PSC Connections
	// subject to other constraints like connections limit.
	ServiceConnectionMap_ConsumerPscConfig_VALID ServiceConnectionMap_ConsumerPscConfig_State = 1
	// No Service Connection Policy found for this network and Service
	// Class
	ServiceConnectionMap_ConsumerPscConfig_CONNECTION_POLICY_MISSING ServiceConnectionMap_ConsumerPscConfig_State = 2
)

func (ServiceConnectionMap_ConsumerPscConfig_State) Descriptor

func (ServiceConnectionMap_ConsumerPscConfig_State) Enum

func (ServiceConnectionMap_ConsumerPscConfig_State) EnumDescriptor deprecated

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

Deprecated: Use ServiceConnectionMap_ConsumerPscConfig_State.Descriptor instead.

func (ServiceConnectionMap_ConsumerPscConfig_State) Number

func (ServiceConnectionMap_ConsumerPscConfig_State) String

func (ServiceConnectionMap_ConsumerPscConfig_State) Type

type ServiceConnectionMap_ConsumerPscConnection

type ServiceConnectionMap_ConsumerPscConnection struct {

	// The URI of a service attachment which is the target of the PSC
	// connection.
	ServiceAttachmentUri string `protobuf:"bytes,1,opt,name=service_attachment_uri,json=serviceAttachmentUri,proto3" json:"service_attachment_uri,omitempty"`
	// The state of the PSC connection.
	State ServiceConnectionMap_ConsumerPscConnection_State `` /* 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) Descriptor deprecated

Deprecated: Use ServiceConnectionMap_ConsumerPscConnection.ProtoReflect.Descriptor instead.

func (*ServiceConnectionMap_ConsumerPscConnection) GetError

func (*ServiceConnectionMap_ConsumerPscConnection) GetErrorType

func (*ServiceConnectionMap_ConsumerPscConnection) GetForwardingRule

func (x *ServiceConnectionMap_ConsumerPscConnection) GetForwardingRule() string

func (*ServiceConnectionMap_ConsumerPscConnection) GetGceOperation

func (*ServiceConnectionMap_ConsumerPscConnection) GetIp

func (*ServiceConnectionMap_ConsumerPscConnection) GetNetwork

func (*ServiceConnectionMap_ConsumerPscConnection) GetProject

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) ProtoMessage

func (*ServiceConnectionMap_ConsumerPscConnection) ProtoReflect

func (*ServiceConnectionMap_ConsumerPscConnection) Reset

func (*ServiceConnectionMap_ConsumerPscConnection) String

type ServiceConnectionMap_ConsumerPscConnection_State

type ServiceConnectionMap_ConsumerPscConnection_State int32

The state of the PSC connection.

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) Enum

func (ServiceConnectionMap_ConsumerPscConnection_State) EnumDescriptor deprecated

Deprecated: Use ServiceConnectionMap_ConsumerPscConnection_State.Descriptor instead.

func (ServiceConnectionMap_ConsumerPscConnection_State) Number

func (ServiceConnectionMap_ConsumerPscConnection_State) String

func (ServiceConnectionMap_ConsumerPscConnection_State) Type

type ServiceConnectionMap_ProducerPscConfig

type ServiceConnectionMap_ProducerPscConfig struct {

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

The PSC configurations on producer side.

func (*ServiceConnectionMap_ProducerPscConfig) Descriptor deprecated

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

Deprecated: Use ServiceConnectionMap_ProducerPscConfig.ProtoReflect.Descriptor instead.

func (*ServiceConnectionMap_ProducerPscConfig) GetServiceAttachmentUri

func (x *ServiceConnectionMap_ProducerPscConfig) GetServiceAttachmentUri() string

func (*ServiceConnectionMap_ProducerPscConfig) ProtoMessage

func (*ServiceConnectionMap_ProducerPscConfig) ProtoReflect

func (*ServiceConnectionMap_ProducerPscConfig) Reset

func (*ServiceConnectionMap_ProducerPscConfig) String

type ServiceConnectionPolicy

type ServiceConnectionPolicy struct {

	// Immutable. The name of a ServiceConnectionPolicy.
	// Format:
	// projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy}
	// See: https://google.aip.dev/122#fields-representing-resource-names
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Time when the 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 `` /* 153-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) Descriptor deprecated

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

Deprecated: Use ServiceConnectionPolicy.ProtoReflect.Descriptor instead.

func (*ServiceConnectionPolicy) GetCreateTime

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

func (*ServiceConnectionPolicy) GetDescription

func (x *ServiceConnectionPolicy) GetDescription() string

func (*ServiceConnectionPolicy) GetInfrastructure

func (x *ServiceConnectionPolicy) GetInfrastructure() Infrastructure

func (*ServiceConnectionPolicy) GetLabels

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

func (*ServiceConnectionPolicy) GetName

func (x *ServiceConnectionPolicy) GetName() string

func (*ServiceConnectionPolicy) GetNetwork

func (x *ServiceConnectionPolicy) GetNetwork() string

func (*ServiceConnectionPolicy) GetPscConfig

func (*ServiceConnectionPolicy) GetPscConnections

func (*ServiceConnectionPolicy) GetServiceClass

func (x *ServiceConnectionPolicy) GetServiceClass() string

func (*ServiceConnectionPolicy) GetUpdateTime

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

func (*ServiceConnectionPolicy) ProtoMessage

func (*ServiceConnectionPolicy) ProtoMessage()

func (*ServiceConnectionPolicy) ProtoReflect

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

func (*ServiceConnectionPolicy) Reset

func (x *ServiceConnectionPolicy) Reset()

func (*ServiceConnectionPolicy) String

func (x *ServiceConnectionPolicy) String() string

type 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) Descriptor deprecated

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

Deprecated: Use ServiceConnectionPolicyEventData.ProtoReflect.Descriptor instead.

func (*ServiceConnectionPolicyEventData) GetPayload

func (*ServiceConnectionPolicyEventData) ProtoMessage

func (*ServiceConnectionPolicyEventData) ProtoMessage()

func (*ServiceConnectionPolicyEventData) ProtoReflect

func (*ServiceConnectionPolicyEventData) Reset

func (*ServiceConnectionPolicyEventData) String

type ServiceConnectionPolicy_PscConfig

type ServiceConnectionPolicy_PscConfig struct {

	// The resource paths of subnetworks to use for IP address management.
	// Example:
	// projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
	Subnetworks []string `protobuf:"bytes,1,rep,name=subnetworks,proto3" json:"subnetworks,omitempty"`
	// Optional. Max number of PSC connections for this policy.
	Limit *int64 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ServiceConnectionPolicy_PscConfig) Descriptor deprecated

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

Deprecated: Use ServiceConnectionPolicy_PscConfig.ProtoReflect.Descriptor instead.

func (*ServiceConnectionPolicy_PscConfig) GetLimit

func (*ServiceConnectionPolicy_PscConfig) GetSubnetworks

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

func (*ServiceConnectionPolicy_PscConfig) ProtoMessage

func (*ServiceConnectionPolicy_PscConfig) ProtoMessage()

func (*ServiceConnectionPolicy_PscConfig) ProtoReflect

func (*ServiceConnectionPolicy_PscConfig) Reset

func (*ServiceConnectionPolicy_PscConfig) String

type ServiceConnectionPolicy_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) Descriptor deprecated

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

Deprecated: Use ServiceConnectionPolicy_PscConnection.ProtoReflect.Descriptor instead.

func (*ServiceConnectionPolicy_PscConnection) GetConsumerAddress

func (x *ServiceConnectionPolicy_PscConnection) GetConsumerAddress() string

func (*ServiceConnectionPolicy_PscConnection) GetConsumerForwardingRule

func (x *ServiceConnectionPolicy_PscConnection) GetConsumerForwardingRule() string

func (*ServiceConnectionPolicy_PscConnection) GetConsumerTargetProject

func (x *ServiceConnectionPolicy_PscConnection) GetConsumerTargetProject() string

func (*ServiceConnectionPolicy_PscConnection) GetError

func (*ServiceConnectionPolicy_PscConnection) GetErrorType

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 (*ServiceConnectionPolicy_PscConnection) ProtoMessage

func (*ServiceConnectionPolicy_PscConnection) ProtoMessage()

func (*ServiceConnectionPolicy_PscConnection) ProtoReflect

func (*ServiceConnectionPolicy_PscConnection) Reset

func (*ServiceConnectionPolicy_PscConnection) String

type ServiceConnectionPolicy_State

type ServiceConnectionPolicy_State int32

The state of the PSC connection.

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) Enum

func (ServiceConnectionPolicy_State) EnumDescriptor deprecated

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

Deprecated: Use ServiceConnectionPolicy_State.Descriptor instead.

func (ServiceConnectionPolicy_State) Number

func (ServiceConnectionPolicy_State) String

func (ServiceConnectionPolicy_State) Type

type ServiceConnectionToken

type ServiceConnectionToken struct {

	// Immutable. The name of a ServiceConnectionToken.
	// Format:
	// projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token}
	// See: https://google.aip.dev/122#fields-representing-resource-names
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Time when the ServiceConnectionToken was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when the ServiceConnectionToken was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined labels.
	Labels map[string]string `` /* 153-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) Descriptor deprecated

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

Deprecated: Use ServiceConnectionToken.ProtoReflect.Descriptor instead.

func (*ServiceConnectionToken) GetCreateTime

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

func (*ServiceConnectionToken) GetDescription

func (x *ServiceConnectionToken) GetDescription() string

func (*ServiceConnectionToken) 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) ProtoMessage

func (*ServiceConnectionToken) ProtoMessage()

func (*ServiceConnectionToken) ProtoReflect

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

func (*ServiceConnectionToken) Reset

func (x *ServiceConnectionToken) Reset()

func (*ServiceConnectionToken) String

func (x *ServiceConnectionToken) String() string

type 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) Descriptor deprecated

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

Deprecated: Use ServiceConnectionTokenEventData.ProtoReflect.Descriptor instead.

func (*ServiceConnectionTokenEventData) GetPayload

func (*ServiceConnectionTokenEventData) ProtoMessage

func (*ServiceConnectionTokenEventData) ProtoMessage()

func (*ServiceConnectionTokenEventData) ProtoReflect

func (*ServiceConnectionTokenEventData) Reset

func (*ServiceConnectionTokenEventData) String

type Spoke

type Spoke struct {

	// Immutable. The name of the spoke. Spoke names must be unique. They use the
	// following form:
	//
	//	`projects/{project_number}/locations/{region}/spokes/{spoke_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The time the spoke was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the spoke was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional labels in key:value 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 `` /* 153-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) Descriptor deprecated

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

Deprecated: Use Spoke.ProtoReflect.Descriptor instead.

func (*Spoke) GetCreateTime

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

func (*Spoke) GetDescription

func (x *Spoke) GetDescription() string

func (*Spoke) GetHub

func (x *Spoke) GetHub() string

func (*Spoke) GetLabels

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

func (*Spoke) GetLinkedInterconnectAttachments

func (x *Spoke) GetLinkedInterconnectAttachments() *LinkedInterconnectAttachments

func (*Spoke) GetLinkedRouterApplianceInstances

func (x *Spoke) GetLinkedRouterApplianceInstances() *LinkedRouterApplianceInstances

func (*Spoke) GetLinkedVpnTunnels

func (x *Spoke) GetLinkedVpnTunnels() *LinkedVpnTunnels

func (*Spoke) GetName

func (x *Spoke) GetName() string

func (*Spoke) GetState

func (x *Spoke) GetState() State

func (*Spoke) GetUniqueId

func (x *Spoke) GetUniqueId() string

func (*Spoke) GetUpdateTime

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

func (*Spoke) ProtoMessage

func (*Spoke) ProtoMessage()

func (*Spoke) ProtoReflect

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

func (*Spoke) Reset

func (x *Spoke) Reset()

func (*Spoke) String

func (x *Spoke) String() string

type 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) Descriptor deprecated

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

Deprecated: Use SpokeEventData.ProtoReflect.Descriptor instead.

func (*SpokeEventData) GetPayload

func (x *SpokeEventData) GetPayload() *Spoke

func (*SpokeEventData) ProtoMessage

func (*SpokeEventData) ProtoMessage()

func (*SpokeEventData) ProtoReflect

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

func (*SpokeEventData) Reset

func (x *SpokeEventData) Reset()

func (*SpokeEventData) String

func (x *SpokeEventData) String() string

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) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

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

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL