networkconnectivityv1

package
v1.36.11-2024050211440... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

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_google_events_cloud_networkconnectivity_v1_data_proto protoreflect.FileDescriptor
View Source
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) Enum

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 `` /* 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) ClearCreateTime

func (x *Hub) ClearCreateTime()

func (*Hub) ClearUpdateTime

func (x *Hub) ClearUpdateTime()

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

func (x *Hub) HasCreateTime() bool

func (*Hub) HasUpdateTime

func (x *Hub) HasUpdateTime() bool

func (*Hub) ProtoMessage

func (*Hub) ProtoMessage()

func (*Hub) ProtoReflect

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

func (*Hub) Reset

func (x *Hub) Reset()

func (*Hub) SetCreateTime

func (x *Hub) SetCreateTime(v *timestamppb.Timestamp)

func (*Hub) SetDescription

func (x *Hub) SetDescription(v string)

func (*Hub) SetLabels

func (x *Hub) SetLabels(v map[string]string)

func (*Hub) SetName

func (x *Hub) SetName(v string)

func (*Hub) SetRoutingVpcs

func (x *Hub) SetRoutingVpcs(v []*RoutingVPC)

func (*Hub) SetState

func (x *Hub) SetState(v State)

func (*Hub) SetUniqueId

func (x *Hub) SetUniqueId(v string)

func (*Hub) SetUpdateTime

func (x *Hub) SetUpdateTime(v *timestamppb.Timestamp)

func (*Hub) String

func (x *Hub) String() string

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

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

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

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

func (x Infrastructure) Enum() *Infrastructure

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

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

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 (*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) SetInstances

func (*LinkedRouterApplianceInstances) SetSiteToSiteDataTransfer

func (x *LinkedRouterApplianceInstances) SetSiteToSiteDataTransfer(v bool)

func (*LinkedRouterApplianceInstances) SetVpcNetwork

func (x *LinkedRouterApplianceInstances) SetVpcNetwork(v string)

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

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

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

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 (*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 (*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

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

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 (*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 (*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

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 (*ServiceConnectionMapCreatedEvent) HasData

func (*ServiceConnectionMapCreatedEvent) ProtoMessage

func (*ServiceConnectionMapCreatedEvent) ProtoMessage()

func (*ServiceConnectionMapCreatedEvent) ProtoReflect

func (*ServiceConnectionMapCreatedEvent) Reset

func (*ServiceConnectionMapCreatedEvent) SetData

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

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 (*ServiceConnectionMapDeletedEvent) HasData

func (*ServiceConnectionMapDeletedEvent) ProtoMessage

func (*ServiceConnectionMapDeletedEvent) ProtoMessage()

func (*ServiceConnectionMapDeletedEvent) ProtoReflect

func (*ServiceConnectionMapDeletedEvent) Reset

func (*ServiceConnectionMapDeletedEvent) SetData

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

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 (*ServiceConnectionMapEventData) HasPayload

func (x *ServiceConnectionMapEventData) HasPayload() bool

func (*ServiceConnectionMapEventData) ProtoMessage

func (*ServiceConnectionMapEventData) ProtoMessage()

func (*ServiceConnectionMapEventData) ProtoReflect

func (*ServiceConnectionMapEventData) Reset

func (x *ServiceConnectionMapEventData) Reset()

func (*ServiceConnectionMapEventData) SetPayload

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

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 (*ServiceConnectionMapUpdatedEvent) HasData

func (*ServiceConnectionMapUpdatedEvent) ProtoMessage

func (*ServiceConnectionMapUpdatedEvent) ProtoMessage()

func (*ServiceConnectionMapUpdatedEvent) ProtoReflect

func (*ServiceConnectionMapUpdatedEvent) Reset

func (*ServiceConnectionMapUpdatedEvent) SetData

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

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 (*ServiceConnectionMap_ConsumerPscConfig) GetProject

func (*ServiceConnectionMap_ConsumerPscConfig) GetState

func (*ServiceConnectionMap_ConsumerPscConfig) ProtoMessage

func (*ServiceConnectionMap_ConsumerPscConfig) ProtoReflect

func (*ServiceConnectionMap_ConsumerPscConfig) Reset

func (*ServiceConnectionMap_ConsumerPscConfig) SetDisableGlobalAccess

func (x *ServiceConnectionMap_ConsumerPscConfig) SetDisableGlobalAccess(v bool)

func (*ServiceConnectionMap_ConsumerPscConfig) SetNetwork

func (*ServiceConnectionMap_ConsumerPscConfig) SetProject

func (*ServiceConnectionMap_ConsumerPscConfig) SetState

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

func (ServiceConnectionMap_ConsumerPscConfig_State) String

func (ServiceConnectionMap_ConsumerPscConfig_State) Type

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 (*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) HasError

func (*ServiceConnectionMap_ConsumerPscConnection) ProtoMessage

func (*ServiceConnectionMap_ConsumerPscConnection) ProtoReflect

func (*ServiceConnectionMap_ConsumerPscConnection) Reset

func (*ServiceConnectionMap_ConsumerPscConnection) SetError

func (*ServiceConnectionMap_ConsumerPscConnection) SetErrorType

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 (*ServiceConnectionMap_ConsumerPscConnection) SetNetwork

func (*ServiceConnectionMap_ConsumerPscConnection) SetProject

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 (*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) Number

func (ServiceConnectionMap_ConsumerPscConnection_State) 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) ProtoReflect

func (*ServiceConnectionMap_ProducerPscConfig) Reset

func (*ServiceConnectionMap_ProducerPscConfig) SetServiceAttachmentUri

func (x *ServiceConnectionMap_ProducerPscConfig) SetServiceAttachmentUri(v string)

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

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 (*ServiceConnectionPolicy) GetPscConnections

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 (*ServiceConnectionPolicy) SetPscConnections

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 (*ServiceConnectionPolicyCreatedEvent) HasData

func (*ServiceConnectionPolicyCreatedEvent) ProtoMessage

func (*ServiceConnectionPolicyCreatedEvent) ProtoMessage()

func (*ServiceConnectionPolicyCreatedEvent) ProtoReflect

func (*ServiceConnectionPolicyCreatedEvent) Reset

func (*ServiceConnectionPolicyCreatedEvent) SetData

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

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 (*ServiceConnectionPolicyDeletedEvent) HasData

func (*ServiceConnectionPolicyDeletedEvent) ProtoMessage

func (*ServiceConnectionPolicyDeletedEvent) ProtoMessage()

func (*ServiceConnectionPolicyDeletedEvent) ProtoReflect

func (*ServiceConnectionPolicyDeletedEvent) Reset

func (*ServiceConnectionPolicyDeletedEvent) SetData

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

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 (*ServiceConnectionPolicyEventData) HasPayload

func (x *ServiceConnectionPolicyEventData) HasPayload() bool

func (*ServiceConnectionPolicyEventData) ProtoMessage

func (*ServiceConnectionPolicyEventData) ProtoMessage()

func (*ServiceConnectionPolicyEventData) ProtoReflect

func (*ServiceConnectionPolicyEventData) Reset

func (*ServiceConnectionPolicyEventData) SetPayload

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

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 (*ServiceConnectionPolicyUpdatedEvent) HasData

func (*ServiceConnectionPolicyUpdatedEvent) ProtoMessage

func (*ServiceConnectionPolicyUpdatedEvent) ProtoMessage()

func (*ServiceConnectionPolicyUpdatedEvent) ProtoReflect

func (*ServiceConnectionPolicyUpdatedEvent) Reset

func (*ServiceConnectionPolicyUpdatedEvent) SetData

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

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 (*ServiceConnectionPolicy_PscConfig) GetSubnetworks

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

func (*ServiceConnectionPolicy_PscConfig) HasLimit

func (*ServiceConnectionPolicy_PscConfig) ProtoMessage

func (*ServiceConnectionPolicy_PscConfig) ProtoMessage()

func (*ServiceConnectionPolicy_PscConfig) ProtoReflect

func (*ServiceConnectionPolicy_PscConfig) Reset

func (*ServiceConnectionPolicy_PscConfig) SetLimit

func (*ServiceConnectionPolicy_PscConfig) SetSubnetworks

func (x *ServiceConnectionPolicy_PscConfig) SetSubnetworks(v []string)

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

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 (*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) HasError

func (*ServiceConnectionPolicy_PscConnection) ProtoMessage

func (*ServiceConnectionPolicy_PscConnection) ProtoMessage()

func (*ServiceConnectionPolicy_PscConnection) ProtoReflect

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

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

func (ServiceConnectionPolicy_State) Number

func (ServiceConnectionPolicy_State) String

func (ServiceConnectionPolicy_State) Type

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

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 (*ServiceConnectionTokenCreatedEvent) HasData

func (*ServiceConnectionTokenCreatedEvent) ProtoMessage

func (*ServiceConnectionTokenCreatedEvent) ProtoMessage()

func (*ServiceConnectionTokenCreatedEvent) ProtoReflect

func (*ServiceConnectionTokenCreatedEvent) Reset

func (*ServiceConnectionTokenCreatedEvent) SetData

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

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 (*ServiceConnectionTokenDeletedEvent) HasData

func (*ServiceConnectionTokenDeletedEvent) ProtoMessage

func (*ServiceConnectionTokenDeletedEvent) ProtoMessage()

func (*ServiceConnectionTokenDeletedEvent) ProtoReflect

func (*ServiceConnectionTokenDeletedEvent) Reset

func (*ServiceConnectionTokenDeletedEvent) SetData

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

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 (*ServiceConnectionTokenEventData) HasPayload

func (x *ServiceConnectionTokenEventData) HasPayload() bool

func (*ServiceConnectionTokenEventData) ProtoMessage

func (*ServiceConnectionTokenEventData) ProtoMessage()

func (*ServiceConnectionTokenEventData) ProtoReflect

func (*ServiceConnectionTokenEventData) Reset

func (*ServiceConnectionTokenEventData) SetPayload

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

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

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

func (x *Spoke) ClearCreateTime()

func (*Spoke) ClearLinkedInterconnectAttachments

func (x *Spoke) ClearLinkedInterconnectAttachments()

func (*Spoke) ClearLinkedRouterApplianceInstances

func (x *Spoke) ClearLinkedRouterApplianceInstances()

func (*Spoke) ClearLinkedVpnTunnels

func (x *Spoke) ClearLinkedVpnTunnels()

func (*Spoke) ClearUpdateTime

func (x *Spoke) ClearUpdateTime()

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

func (x *Spoke) HasCreateTime() bool

func (*Spoke) HasLinkedInterconnectAttachments

func (x *Spoke) HasLinkedInterconnectAttachments() bool

func (*Spoke) HasLinkedRouterApplianceInstances

func (x *Spoke) HasLinkedRouterApplianceInstances() bool

func (*Spoke) HasLinkedVpnTunnels

func (x *Spoke) HasLinkedVpnTunnels() bool

func (*Spoke) HasUpdateTime

func (x *Spoke) HasUpdateTime() bool

func (*Spoke) ProtoMessage

func (*Spoke) ProtoMessage()

func (*Spoke) ProtoReflect

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

func (*Spoke) Reset

func (x *Spoke) Reset()

func (*Spoke) SetCreateTime

func (x *Spoke) SetCreateTime(v *timestamppb.Timestamp)

func (*Spoke) SetDescription

func (x *Spoke) SetDescription(v string)

func (*Spoke) SetHub

func (x *Spoke) SetHub(v string)

func (*Spoke) SetLabels

func (x *Spoke) SetLabels(v map[string]string)

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

func (x *Spoke) SetName(v string)

func (*Spoke) SetState

func (x *Spoke) SetState(v State)

func (*Spoke) SetUniqueId

func (x *Spoke) SetUniqueId(v string)

func (*Spoke) SetUpdateTime

func (x *Spoke) SetUpdateTime(v *timestamppb.Timestamp)

func (*Spoke) String

func (x *Spoke) String() string

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

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

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

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

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

func (x State) Enum() *State

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

Source Files

  • data.pb.go
  • events.pb.go

Jump to

Keyboard shortcuts

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