clientconnectorservicesdata

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package clientconnectorservicesdata provides BeyondCorp type definitions for CloudEvent data payloads.

Supported CloudEvent Types

  • google.cloud.beyondcorp.clientconnectorservices.clientConnectorService.v1.created
  • google.cloud.beyondcorp.clientconnectorservices.clientConnectorService.v1.updated
  • google.cloud.beyondcorp.clientconnectorservices.clientConnectorService.v1.deleted

Index

Constants

This section is empty.

Variables

View Source
var (
	ClientConnectorService_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "UPDATING",
		3: "DELETING",
		4: "RUNNING",
		5: "DOWN",
		6: "ERROR",
	}
	ClientConnectorService_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"UPDATING":          2,
		"DELETING":          3,
		"RUNNING":           4,
		"DOWN":              5,
		"ERROR":             6,
	}
)

Enum value maps for ClientConnectorService_State.

View Source
var (
	ClientConnectorService_Ingress_Config_TransportProtocol_name = map[int32]string{
		0: "TRANSPORT_PROTOCOL_UNSPECIFIED",
		1: "TCP",
	}
	ClientConnectorService_Ingress_Config_TransportProtocol_value = map[string]int32{
		"TRANSPORT_PROTOCOL_UNSPECIFIED": 0,
		"TCP":                            1,
	}
)

Enum value maps for ClientConnectorService_Ingress_Config_TransportProtocol.

View Source
var File_cloud_beyondcorp_clientconnectorservices_v1_data_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClientConnectorService

type ClientConnectorService struct {

	// Required. Name of resource. The name is ignored during creation.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. [Output only] Create time stamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. [Output only] Update time stamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. User-provided name.
	// The display name should follow certain format.
	// * Must be 6 to 30 characters in length.
	// * Can only contain lowercase letters, numbers, and hyphens.
	// * Must start with a letter.
	DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. The details of the ingress settings.
	Ingress *ClientConnectorService_Ingress `protobuf:"bytes,6,opt,name=ingress,proto3" json:"ingress,omitempty"`
	// Required. The details of the egress settings.
	Egress *ClientConnectorService_Egress `protobuf:"bytes,7,opt,name=egress,proto3" json:"egress,omitempty"`
	// Output only. The operational state of the ClientConnectorService.
	State ClientConnectorService_State `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

Message describing ClientConnectorService object.

func (*ClientConnectorService) Descriptor deprecated

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

Deprecated: Use ClientConnectorService.ProtoReflect.Descriptor instead.

func (*ClientConnectorService) GetCreateTime

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

func (*ClientConnectorService) GetDisplayName

func (x *ClientConnectorService) GetDisplayName() string

func (*ClientConnectorService) GetEgress

func (*ClientConnectorService) GetIngress

func (*ClientConnectorService) GetName

func (x *ClientConnectorService) GetName() string

func (*ClientConnectorService) GetState

func (*ClientConnectorService) GetUpdateTime

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

func (*ClientConnectorService) ProtoMessage

func (*ClientConnectorService) ProtoMessage()

func (*ClientConnectorService) ProtoReflect

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

func (*ClientConnectorService) Reset

func (x *ClientConnectorService) Reset()

func (*ClientConnectorService) String

func (x *ClientConnectorService) String() string

type ClientConnectorServiceEventData

type ClientConnectorServiceEventData struct {

	// Optional. The ClientConnectorService event payload. Unset for deletion
	// events.
	Payload *ClientConnectorService `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all ClientConnectorService events.

func (*ClientConnectorServiceEventData) Descriptor deprecated

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

Deprecated: Use ClientConnectorServiceEventData.ProtoReflect.Descriptor instead.

func (*ClientConnectorServiceEventData) GetPayload

func (*ClientConnectorServiceEventData) ProtoMessage

func (*ClientConnectorServiceEventData) ProtoMessage()

func (*ClientConnectorServiceEventData) ProtoReflect

func (*ClientConnectorServiceEventData) Reset

func (*ClientConnectorServiceEventData) String

type ClientConnectorService_Egress

type ClientConnectorService_Egress struct {

	// Types that are assignable to DestinationType:
	//
	//	*ClientConnectorService_Egress_PeeredVpc_
	DestinationType isClientConnectorService_Egress_DestinationType `protobuf_oneof:"destination_type"`
	// contains filtered or unexported fields
}

The details of the egress info. One of the following options should be set.

func (*ClientConnectorService_Egress) Descriptor deprecated

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

Deprecated: Use ClientConnectorService_Egress.ProtoReflect.Descriptor instead.

func (*ClientConnectorService_Egress) GetDestinationType

func (m *ClientConnectorService_Egress) GetDestinationType() isClientConnectorService_Egress_DestinationType

func (*ClientConnectorService_Egress) GetPeeredVpc

func (*ClientConnectorService_Egress) ProtoMessage

func (*ClientConnectorService_Egress) ProtoMessage()

func (*ClientConnectorService_Egress) ProtoReflect

func (*ClientConnectorService_Egress) Reset

func (x *ClientConnectorService_Egress) Reset()

func (*ClientConnectorService_Egress) String

type ClientConnectorService_Egress_PeeredVpc

type ClientConnectorService_Egress_PeeredVpc struct {

	// Required. The name of the peered VPC owned by the consumer project.
	NetworkVpc string `protobuf:"bytes,1,opt,name=network_vpc,json=networkVpc,proto3" json:"network_vpc,omitempty"`
	// contains filtered or unexported fields
}

The peered VPC owned by the consumer project.

func (*ClientConnectorService_Egress_PeeredVpc) Descriptor deprecated

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

Deprecated: Use ClientConnectorService_Egress_PeeredVpc.ProtoReflect.Descriptor instead.

func (*ClientConnectorService_Egress_PeeredVpc) GetNetworkVpc

func (*ClientConnectorService_Egress_PeeredVpc) ProtoMessage

func (*ClientConnectorService_Egress_PeeredVpc) ProtoReflect

func (*ClientConnectorService_Egress_PeeredVpc) Reset

func (*ClientConnectorService_Egress_PeeredVpc) String

type ClientConnectorService_Egress_PeeredVpc_

type ClientConnectorService_Egress_PeeredVpc_ struct {
	// A VPC from the consumer project.
	PeeredVpc *ClientConnectorService_Egress_PeeredVpc `protobuf:"bytes,1,opt,name=peered_vpc,json=peeredVpc,proto3,oneof"`
}

type ClientConnectorService_Ingress

type ClientConnectorService_Ingress struct {

	// Types that are assignable to IngressConfig:
	//
	//	*ClientConnectorService_Ingress_Config_
	IngressConfig isClientConnectorService_Ingress_IngressConfig `protobuf_oneof:"ingress_config"`
	// contains filtered or unexported fields
}

Settings of how to connect to the ClientGateway. One of the following options should be set.

func (*ClientConnectorService_Ingress) Descriptor deprecated

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

Deprecated: Use ClientConnectorService_Ingress.ProtoReflect.Descriptor instead.

func (*ClientConnectorService_Ingress) GetConfig

func (*ClientConnectorService_Ingress) GetIngressConfig

func (m *ClientConnectorService_Ingress) GetIngressConfig() isClientConnectorService_Ingress_IngressConfig

func (*ClientConnectorService_Ingress) ProtoMessage

func (*ClientConnectorService_Ingress) ProtoMessage()

func (*ClientConnectorService_Ingress) ProtoReflect

func (*ClientConnectorService_Ingress) Reset

func (x *ClientConnectorService_Ingress) Reset()

func (*ClientConnectorService_Ingress) String

type ClientConnectorService_Ingress_Config

type ClientConnectorService_Ingress_Config struct {

	// Required. Immutable. The transport protocol used between the client and
	// the server.
	TransportProtocol ClientConnectorService_Ingress_Config_TransportProtocol `` /* 232-byte string literal not displayed */
	// Required. The settings used to configure basic ClientGateways.
	DestinationRoutes []*ClientConnectorService_Ingress_Config_DestinationRoute `protobuf:"bytes,2,rep,name=destination_routes,json=destinationRoutes,proto3" json:"destination_routes,omitempty"`
	// contains filtered or unexported fields
}

The basic ingress config for ClientGateways.

func (*ClientConnectorService_Ingress_Config) Descriptor deprecated

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

Deprecated: Use ClientConnectorService_Ingress_Config.ProtoReflect.Descriptor instead.

func (*ClientConnectorService_Ingress_Config) GetDestinationRoutes

func (*ClientConnectorService_Ingress_Config) GetTransportProtocol

func (*ClientConnectorService_Ingress_Config) ProtoMessage

func (*ClientConnectorService_Ingress_Config) ProtoMessage()

func (*ClientConnectorService_Ingress_Config) ProtoReflect

func (*ClientConnectorService_Ingress_Config) Reset

func (*ClientConnectorService_Ingress_Config) String

type ClientConnectorService_Ingress_Config_

type ClientConnectorService_Ingress_Config_ struct {
	// The basic ingress config for ClientGateways.
	Config *ClientConnectorService_Ingress_Config `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
}

type ClientConnectorService_Ingress_Config_DestinationRoute

type ClientConnectorService_Ingress_Config_DestinationRoute struct {

	// Required. The network address of the subnet
	// for which the packet is routed to the ClientGateway.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Required. The network mask of the subnet
	// for which the packet is routed to the ClientGateway.
	Netmask string `protobuf:"bytes,2,opt,name=netmask,proto3" json:"netmask,omitempty"`
	// contains filtered or unexported fields
}

The setting used to configure ClientGateways. It is adding routes to the client's routing table after the connection is established.

func (*ClientConnectorService_Ingress_Config_DestinationRoute) Descriptor deprecated

Deprecated: Use ClientConnectorService_Ingress_Config_DestinationRoute.ProtoReflect.Descriptor instead.

func (*ClientConnectorService_Ingress_Config_DestinationRoute) GetAddress

func (*ClientConnectorService_Ingress_Config_DestinationRoute) GetNetmask

func (*ClientConnectorService_Ingress_Config_DestinationRoute) ProtoMessage

func (*ClientConnectorService_Ingress_Config_DestinationRoute) ProtoReflect

func (*ClientConnectorService_Ingress_Config_DestinationRoute) Reset

func (*ClientConnectorService_Ingress_Config_DestinationRoute) String

type ClientConnectorService_Ingress_Config_TransportProtocol

type ClientConnectorService_Ingress_Config_TransportProtocol int32

The protocol used to connect to the server.

const (
	// Default value. This value is unused.
	ClientConnectorService_Ingress_Config_TRANSPORT_PROTOCOL_UNSPECIFIED ClientConnectorService_Ingress_Config_TransportProtocol = 0
	// TCP protocol.
	ClientConnectorService_Ingress_Config_TCP ClientConnectorService_Ingress_Config_TransportProtocol = 1
)

func (ClientConnectorService_Ingress_Config_TransportProtocol) Descriptor

func (ClientConnectorService_Ingress_Config_TransportProtocol) Enum

func (ClientConnectorService_Ingress_Config_TransportProtocol) EnumDescriptor deprecated

Deprecated: Use ClientConnectorService_Ingress_Config_TransportProtocol.Descriptor instead.

func (ClientConnectorService_Ingress_Config_TransportProtocol) Number

func (ClientConnectorService_Ingress_Config_TransportProtocol) String

func (ClientConnectorService_Ingress_Config_TransportProtocol) Type

type ClientConnectorService_State

type ClientConnectorService_State int32

Represents the different states of a ClientConnectorService.

const (
	// Default value. This value is unused.
	ClientConnectorService_STATE_UNSPECIFIED ClientConnectorService_State = 0
	// ClientConnectorService is being created.
	ClientConnectorService_CREATING ClientConnectorService_State = 1
	// ClientConnectorService is being updated.
	ClientConnectorService_UPDATING ClientConnectorService_State = 2
	// ClientConnectorService is being deleted.
	ClientConnectorService_DELETING ClientConnectorService_State = 3
	// ClientConnectorService is running.
	ClientConnectorService_RUNNING ClientConnectorService_State = 4
	// ClientConnectorService is down and may be restored in the future.
	// This happens when CCFE sends ProjectState = OFF.
	ClientConnectorService_DOWN ClientConnectorService_State = 5
	// ClientConnectorService encountered an error and is in an indeterministic
	// state.
	ClientConnectorService_ERROR ClientConnectorService_State = 6
)

func (ClientConnectorService_State) Descriptor

func (ClientConnectorService_State) Enum

func (ClientConnectorService_State) EnumDescriptor deprecated

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

Deprecated: Use ClientConnectorService_State.Descriptor instead.

func (ClientConnectorService_State) Number

func (ClientConnectorService_State) String

func (ClientConnectorService_State) Type

Jump to

Keyboard shortcuts

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