Package cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb (v1.1.2)

Variables

AppConnection_Type_name, AppConnection_Type_value

var (
	AppConnection_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TCP_PROXY",
	}
	AppConnection_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TCP_PROXY":        1,
	}
)

Enum value maps for AppConnection_Type.

AppConnection_State_name, AppConnection_State_value

var (
	AppConnection_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "CREATED",
		3: "UPDATING",
		4: "DELETING",
		5: "DOWN",
	}
	AppConnection_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"CREATED":           2,
		"UPDATING":          3,
		"DELETING":          4,
		"DOWN":              5,
	}
)

Enum value maps for AppConnection_State.

AppConnection_Gateway_Type_name, AppConnection_Gateway_Type_value

var (
	AppConnection_Gateway_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "GCP_REGIONAL_MIG",
	}
	AppConnection_Gateway_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"GCP_REGIONAL_MIG": 1,
	}
)

Enum value maps for AppConnection_Gateway_Type.

File_google_cloud_beyondcorp_appconnections_v1_app_connections_service_proto

var File_google_cloud_beyondcorp_appconnections_v1_app_connections_service_proto protoreflect.FileDescriptor

Functions

func RegisterAppConnectionsServiceServer

func RegisterAppConnectionsServiceServer(s *grpc.Server, srv AppConnectionsServiceServer)

AppConnection

type AppConnection struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`

	Type AppConnection_Type "" /* 128 byte string literal not displayed */

	ApplicationEndpoint *AppConnection_ApplicationEndpoint `protobuf:"bytes,8,opt,name=application_endpoint,json=applicationEndpoint,proto3" json:"application_endpoint,omitempty"`

	Connectors []string `protobuf:"bytes,9,rep,name=connectors,proto3" json:"connectors,omitempty"`

	State AppConnection_State "" /* 132 byte string literal not displayed */

	Gateway *AppConnection_Gateway `protobuf:"bytes,11,opt,name=gateway,proto3" json:"gateway,omitempty"`

}

A BeyondCorp AppConnection resource represents a BeyondCorp protected AppConnection to a remote application. It creates all the necessary GCP components needed for creating a BeyondCorp protected AppConnection. Multiple connectors can be authorised for a single AppConnection.

func (*AppConnection) Descriptor

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

Deprecated: Use AppConnection.ProtoReflect.Descriptor instead.

func (*AppConnection) GetApplicationEndpoint

func (x *AppConnection) GetApplicationEndpoint() *AppConnection_ApplicationEndpoint

func (*AppConnection) GetConnectors

func (x *AppConnection) GetConnectors() []string

func (*AppConnection) GetCreateTime

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

func (*AppConnection) GetDisplayName

func (x *AppConnection) GetDisplayName() string

func (*AppConnection) GetGateway

func (x *AppConnection) GetGateway() *AppConnection_Gateway

func (*AppConnection) GetLabels

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

func (*AppConnection) GetName

func (x *AppConnection) GetName() string

func (*AppConnection) GetState

func (x *AppConnection) GetState() AppConnection_State

func (*AppConnection) GetType

func (x *AppConnection) GetType() AppConnection_Type

func (*AppConnection) GetUid

func (x *AppConnection) GetUid() string

func (*AppConnection) GetUpdateTime

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

func (*AppConnection) ProtoMessage

func (*AppConnection) ProtoMessage()

func (*AppConnection) ProtoReflect

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

func (*AppConnection) Reset

func (x *AppConnection) Reset()

func (*AppConnection) String

func (x *AppConnection) String() string

AppConnectionOperationMetadata

type AppConnectionOperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Output only. Identifies whether the user has requested cancellation
	// of the operation. Operations that have successfully been cancelled
	// have [Operation.error][] value with a
	// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
	// `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*AppConnectionOperationMetadata) Descriptor

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

Deprecated: Use AppConnectionOperationMetadata.ProtoReflect.Descriptor instead.

func (*AppConnectionOperationMetadata) GetApiVersion

func (x *AppConnectionOperationMetadata) GetApiVersion() string

func (*AppConnectionOperationMetadata) GetCreateTime

func (*AppConnectionOperationMetadata) GetEndTime

func (*AppConnectionOperationMetadata) GetRequestedCancellation

func (x *AppConnectionOperationMetadata) GetRequestedCancellation() bool

func (*AppConnectionOperationMetadata) GetStatusMessage

func (x *AppConnectionOperationMetadata) GetStatusMessage() string

func (*AppConnectionOperationMetadata) GetTarget

func (x *AppConnectionOperationMetadata) GetTarget() string

func (*AppConnectionOperationMetadata) GetVerb

func (*AppConnectionOperationMetadata) ProtoMessage

func (*AppConnectionOperationMetadata) ProtoMessage()

func (*AppConnectionOperationMetadata) ProtoReflect

func (*AppConnectionOperationMetadata) Reset

func (x *AppConnectionOperationMetadata) Reset()

func (*AppConnectionOperationMetadata) String

AppConnection_ApplicationEndpoint

type AppConnection_ApplicationEndpoint struct {

	// Required. Hostname or IP address of the remote application endpoint.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// Required. Port of the remote application endpoint.
	Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

ApplicationEndpoint represents a remote application endpoint.

func (*AppConnection_ApplicationEndpoint) Descriptor

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

Deprecated: Use AppConnection_ApplicationEndpoint.ProtoReflect.Descriptor instead.

func (*AppConnection_ApplicationEndpoint) GetHost

func (*AppConnection_ApplicationEndpoint) GetPort

func (*AppConnection_ApplicationEndpoint) ProtoMessage

func (*AppConnection_ApplicationEndpoint) ProtoMessage()

func (*AppConnection_ApplicationEndpoint) ProtoReflect

func (*AppConnection_ApplicationEndpoint) Reset

func (*AppConnection_ApplicationEndpoint) String

AppConnection_Gateway

type AppConnection_Gateway struct {
	Type AppConnection_Gateway_Type "" /* 136 byte string literal not displayed */

	Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`

	IngressPort int32 `protobuf:"varint,4,opt,name=ingress_port,json=ingressPort,proto3" json:"ingress_port,omitempty"`

	AppGateway string `protobuf:"bytes,5,opt,name=app_gateway,json=appGateway,proto3" json:"app_gateway,omitempty"`

}

Gateway represents a user facing component that serves as an entrance to enable connectivity.

func (*AppConnection_Gateway) Descriptor

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

Deprecated: Use AppConnection_Gateway.ProtoReflect.Descriptor instead.

func (*AppConnection_Gateway) GetAppGateway

func (x *AppConnection_Gateway) GetAppGateway() string

func (*AppConnection_Gateway) GetIngressPort

func (x *AppConnection_Gateway) GetIngressPort() int32

func (*AppConnection_Gateway) GetType

func (*AppConnection_Gateway) GetUri

func (x *AppConnection_Gateway) GetUri() string

func (*AppConnection_Gateway) ProtoMessage

func (*AppConnection_Gateway) ProtoMessage()

func (*AppConnection_Gateway) ProtoReflect

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

func (*AppConnection_Gateway) Reset

func (x *AppConnection_Gateway) Reset()

func (*AppConnection_Gateway) String

func (x *AppConnection_Gateway) String() string

AppConnection_Gateway_Type

type AppConnection_Gateway_Type int32

Enum listing possible gateway hosting options.

AppConnection_Gateway_TYPE_UNSPECIFIED, AppConnection_Gateway_GCP_REGIONAL_MIG

const (
	// Default value. This value is unused.
	AppConnection_Gateway_TYPE_UNSPECIFIED AppConnection_Gateway_Type = 0
	// Gateway hosted in a GCP regional managed instance group.
	AppConnection_Gateway_GCP_REGIONAL_MIG AppConnection_Gateway_Type = 1
)

func (AppConnection_Gateway_Type) Descriptor

func (AppConnection_Gateway_Type) Enum

func (AppConnection_Gateway_Type) EnumDescriptor

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

Deprecated: Use AppConnection_Gateway_Type.Descriptor instead.

func (AppConnection_Gateway_Type) Number

func (AppConnection_Gateway_Type) String

func (AppConnection_Gateway_Type) Type

AppConnection_State

type AppConnection_State int32

Represents the different states of a AppConnection.

AppConnection_STATE_UNSPECIFIED, AppConnection_CREATING, AppConnection_CREATED, AppConnection_UPDATING, AppConnection_DELETING, AppConnection_DOWN

const (
	// Default value. This value is unused.
	AppConnection_STATE_UNSPECIFIED AppConnection_State = 0
	// AppConnection is being created.
	AppConnection_CREATING AppConnection_State = 1
	// AppConnection has been created.
	AppConnection_CREATED AppConnection_State = 2
	// AppConnection's configuration is being updated.
	AppConnection_UPDATING AppConnection_State = 3
	// AppConnection is being deleted.
	AppConnection_DELETING AppConnection_State = 4
	// AppConnection is down and may be restored in the future.
	// This happens when CCFE sends ProjectState = OFF.
	AppConnection_DOWN AppConnection_State = 5
)

func (AppConnection_State) Descriptor

func (AppConnection_State) Enum

func (AppConnection_State) EnumDescriptor

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

Deprecated: Use AppConnection_State.Descriptor instead.

func (AppConnection_State) Number

func (AppConnection_State) String

func (x AppConnection_State) String() string

func (AppConnection_State) Type

AppConnection_Type

type AppConnection_Type int32

Enum containing list of all possible network connectivity options supported by BeyondCorp AppConnection.

AppConnection_TYPE_UNSPECIFIED, AppConnection_TCP_PROXY

const (
	// Default value. This value is unused.
	AppConnection_TYPE_UNSPECIFIED AppConnection_Type = 0
	// TCP Proxy based BeyondCorp AppConnection. API will default to this if
	// unset.
	AppConnection_TCP_PROXY AppConnection_Type = 1
)

func (AppConnection_Type) Descriptor

func (AppConnection_Type) Enum

func (AppConnection_Type) EnumDescriptor

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

Deprecated: Use AppConnection_Type.Descriptor instead.

func (AppConnection_Type) Number

func (AppConnection_Type) String

func (x AppConnection_Type) String() string

func (AppConnection_Type) Type

AppConnectionsServiceClient

type AppConnectionsServiceClient interface {
	// Lists AppConnections in a given project and location.
	ListAppConnections(ctx context.Context, in *ListAppConnectionsRequest, opts ...grpc.CallOption) (*ListAppConnectionsResponse, error)
	// Gets details of a single AppConnection.
	GetAppConnection(ctx context.Context, in *GetAppConnectionRequest, opts ...grpc.CallOption) (*AppConnection, error)
	// Creates a new AppConnection in a given project and location.
	CreateAppConnection(ctx context.Context, in *CreateAppConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a single AppConnection.
	UpdateAppConnection(ctx context.Context, in *UpdateAppConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single AppConnection.
	DeleteAppConnection(ctx context.Context, in *DeleteAppConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Resolves AppConnections details for a given AppConnector.
	// An internal method called by a connector to find AppConnections to connect
	// to.
	ResolveAppConnections(ctx context.Context, in *ResolveAppConnectionsRequest, opts ...grpc.CallOption) (*ResolveAppConnectionsResponse, error)
}

AppConnectionsServiceClient is the client API for AppConnectionsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAppConnectionsServiceClient

func NewAppConnectionsServiceClient(cc grpc.ClientConnInterface) AppConnectionsServiceClient

AppConnectionsServiceServer

type AppConnectionsServiceServer interface {
	// Lists AppConnections in a given project and location.
	ListAppConnections(context.Context, *ListAppConnectionsRequest) (*ListAppConnectionsResponse, error)
	// Gets details of a single AppConnection.
	GetAppConnection(context.Context, *GetAppConnectionRequest) (*AppConnection, error)
	// Creates a new AppConnection in a given project and location.
	CreateAppConnection(context.Context, *CreateAppConnectionRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a single AppConnection.
	UpdateAppConnection(context.Context, *UpdateAppConnectionRequest) (*longrunningpb.Operation, error)
	// Deletes a single AppConnection.
	DeleteAppConnection(context.Context, *DeleteAppConnectionRequest) (*longrunningpb.Operation, error)
	// Resolves AppConnections details for a given AppConnector.
	// An internal method called by a connector to find AppConnections to connect
	// to.
	ResolveAppConnections(context.Context, *ResolveAppConnectionsRequest) (*ResolveAppConnectionsResponse, error)
}

AppConnectionsServiceServer is the server API for AppConnectionsService service.

CreateAppConnectionRequest

type CreateAppConnectionRequest struct {

	// Required. The resource project name of the AppConnection location using the
	// form: `projects/{project_id}/locations/{location_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. User-settable AppConnection resource ID.
	//   - Must start with a letter.
	//   - Must contain between 4-63 characters from `/[a-z][0-9]-/`.
	//   - Must end with a number or a letter.
	AppConnectionId string `protobuf:"bytes,2,opt,name=app_connection_id,json=appConnectionId,proto3" json:"app_connection_id,omitempty"`
	// Required. A BeyondCorp AppConnection resource.
	AppConnection *AppConnection `protobuf:"bytes,3,opt,name=app_connection,json=appConnection,proto3" json:"app_connection,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and t
	// he request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, validates request by executing a dry-run which would not
	// alter the resource in any way.
	ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Request message for BeyondCorp.CreateAppConnection.

func (*CreateAppConnectionRequest) Descriptor

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

Deprecated: Use CreateAppConnectionRequest.ProtoReflect.Descriptor instead.

func (*CreateAppConnectionRequest) GetAppConnection

func (x *CreateAppConnectionRequest) GetAppConnection() *AppConnection

func (*CreateAppConnectionRequest) GetAppConnectionId

func (x *CreateAppConnectionRequest) GetAppConnectionId() string

func (*CreateAppConnectionRequest) GetParent

func (x *CreateAppConnectionRequest) GetParent() string

func (*CreateAppConnectionRequest) GetRequestId

func (x *CreateAppConnectionRequest) GetRequestId() string

func (*CreateAppConnectionRequest) GetValidateOnly

func (x *CreateAppConnectionRequest) GetValidateOnly() bool

func (*CreateAppConnectionRequest) ProtoMessage

func (*CreateAppConnectionRequest) ProtoMessage()

func (*CreateAppConnectionRequest) ProtoReflect

func (*CreateAppConnectionRequest) Reset

func (x *CreateAppConnectionRequest) Reset()

func (*CreateAppConnectionRequest) String

func (x *CreateAppConnectionRequest) String() string

DeleteAppConnectionRequest

type DeleteAppConnectionRequest struct {

	// Required. BeyondCorp Connector name using the form:
	// `projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and t
	// he request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, validates request by executing a dry-run which would not
	// alter the resource in any way.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Request message for BeyondCorp.DeleteAppConnection.

func (*DeleteAppConnectionRequest) Descriptor

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

Deprecated: Use DeleteAppConnectionRequest.ProtoReflect.Descriptor instead.

func (*DeleteAppConnectionRequest) GetName

func (x *DeleteAppConnectionRequest) GetName() string

func (*DeleteAppConnectionRequest) GetRequestId

func (x *DeleteAppConnectionRequest) GetRequestId() string

func (*DeleteAppConnectionRequest) GetValidateOnly

func (x *DeleteAppConnectionRequest) GetValidateOnly() bool

func (*DeleteAppConnectionRequest) ProtoMessage

func (*DeleteAppConnectionRequest) ProtoMessage()

func (*DeleteAppConnectionRequest) ProtoReflect

func (*DeleteAppConnectionRequest) Reset

func (x *DeleteAppConnectionRequest) Reset()

func (*DeleteAppConnectionRequest) String

func (x *DeleteAppConnectionRequest) String() string

GetAppConnectionRequest

type GetAppConnectionRequest struct {

	// Required. BeyondCorp AppConnection name using the form:
	// `projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for BeyondCorp.GetAppConnection.

func (*GetAppConnectionRequest) Descriptor

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

Deprecated: Use GetAppConnectionRequest.ProtoReflect.Descriptor instead.

func (*GetAppConnectionRequest) GetName

func (x *GetAppConnectionRequest) GetName() string

func (*GetAppConnectionRequest) ProtoMessage

func (*GetAppConnectionRequest) ProtoMessage()

func (*GetAppConnectionRequest) ProtoReflect

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

func (*GetAppConnectionRequest) Reset

func (x *GetAppConnectionRequest) Reset()

func (*GetAppConnectionRequest) String

func (x *GetAppConnectionRequest) String() string

ListAppConnectionsRequest

type ListAppConnectionsRequest struct {

	// Required. The resource name of the AppConnection location using the form:
	// `projects/{project_id}/locations/{location_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of items to return.
	// If not specified, a default value of 50 will be used by the service.
	// Regardless of the page_size value, the response may include a partial list
	// and a caller should only rely on response's
	// [next_page_token][BeyondCorp.ListAppConnectionsResponse.next_page_token] to
	// determine if there are more instances left to be queried.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. The next_page_token value returned from a previous
	// ListAppConnectionsRequest, if any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. A filter specifying constraints of a list operation.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Specifies the ordering of results. See
	// [Sorting
	// order](https://cloud.google.com/apis/design/design_patterns#sorting_order)
	// for more information.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for BeyondCorp.ListAppConnections.

func (*ListAppConnectionsRequest) Descriptor

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

Deprecated: Use ListAppConnectionsRequest.ProtoReflect.Descriptor instead.

func (*ListAppConnectionsRequest) GetFilter

func (x *ListAppConnectionsRequest) GetFilter() string

func (*ListAppConnectionsRequest) GetOrderBy

func (x *ListAppConnectionsRequest) GetOrderBy() string

func (*ListAppConnectionsRequest) GetPageSize

func (x *ListAppConnectionsRequest) GetPageSize() int32

func (*ListAppConnectionsRequest) GetPageToken

func (x *ListAppConnectionsRequest) GetPageToken() string

func (*ListAppConnectionsRequest) GetParent

func (x *ListAppConnectionsRequest) GetParent() string

func (*ListAppConnectionsRequest) ProtoMessage

func (*ListAppConnectionsRequest) ProtoMessage()

func (*ListAppConnectionsRequest) ProtoReflect

func (*ListAppConnectionsRequest) Reset

func (x *ListAppConnectionsRequest) Reset()

func (*ListAppConnectionsRequest) String

func (x *ListAppConnectionsRequest) String() string

ListAppConnectionsResponse

type ListAppConnectionsResponse struct {

	// A list of BeyondCorp AppConnections in the project.
	AppConnections []*AppConnection `protobuf:"bytes,1,rep,name=app_connections,json=appConnections,proto3" json:"app_connections,omitempty"`
	// A token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// A list of locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for BeyondCorp.ListAppConnections.

func (*ListAppConnectionsResponse) Descriptor

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

Deprecated: Use ListAppConnectionsResponse.ProtoReflect.Descriptor instead.

func (*ListAppConnectionsResponse) GetAppConnections

func (x *ListAppConnectionsResponse) GetAppConnections() []*AppConnection

func (*ListAppConnectionsResponse) GetNextPageToken

func (x *ListAppConnectionsResponse) GetNextPageToken() string

func (*ListAppConnectionsResponse) GetUnreachable

func (x *ListAppConnectionsResponse) GetUnreachable() []string

func (*ListAppConnectionsResponse) ProtoMessage

func (*ListAppConnectionsResponse) ProtoMessage()

func (*ListAppConnectionsResponse) ProtoReflect

func (*ListAppConnectionsResponse) Reset

func (x *ListAppConnectionsResponse) Reset()

func (*ListAppConnectionsResponse) String

func (x *ListAppConnectionsResponse) String() string

ResolveAppConnectionsRequest

type ResolveAppConnectionsRequest struct {

	// Required. The resource name of the AppConnection location using the form:
	// `projects/{project_id}/locations/{location_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. BeyondCorp Connector name of the connector associated with those
	// AppConnections using the form:
	// `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}`
	AppConnectorId string `protobuf:"bytes,2,opt,name=app_connector_id,json=appConnectorId,proto3" json:"app_connector_id,omitempty"`
	// Optional. The maximum number of items to return.
	// If not specified, a default value of 50 will be used by the service.
	// Regardless of the page_size value, the response may include a partial list
	// and a caller should only rely on response's
	// [next_page_token][BeyondCorp.ResolveAppConnectionsResponse.next_page_token]
	// to determine if there are more instances left to be queried.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. The next_page_token value returned from a previous
	// ResolveAppConnectionsResponse, if any.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for BeyondCorp.ResolveAppConnections.

func (*ResolveAppConnectionsRequest) Descriptor

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

Deprecated: Use ResolveAppConnectionsRequest.ProtoReflect.Descriptor instead.

func (*ResolveAppConnectionsRequest) GetAppConnectorId

func (x *ResolveAppConnectionsRequest) GetAppConnectorId() string

func (*ResolveAppConnectionsRequest) GetPageSize

func (x *ResolveAppConnectionsRequest) GetPageSize() int32

func (*ResolveAppConnectionsRequest) GetPageToken

func (x *ResolveAppConnectionsRequest) GetPageToken() string

func (*ResolveAppConnectionsRequest) GetParent

func (x *ResolveAppConnectionsRequest) GetParent() string

func (*ResolveAppConnectionsRequest) ProtoMessage

func (*ResolveAppConnectionsRequest) ProtoMessage()

func (*ResolveAppConnectionsRequest) ProtoReflect

func (*ResolveAppConnectionsRequest) Reset

func (x *ResolveAppConnectionsRequest) Reset()

func (*ResolveAppConnectionsRequest) String

ResolveAppConnectionsResponse

type ResolveAppConnectionsResponse struct {

	// A list of BeyondCorp AppConnections with details in the project.
	AppConnectionDetails []*ResolveAppConnectionsResponse_AppConnectionDetails `protobuf:"bytes,1,rep,name=app_connection_details,json=appConnectionDetails,proto3" json:"app_connection_details,omitempty"`
	// A token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// A list of locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for BeyondCorp.ResolveAppConnections.

func (*ResolveAppConnectionsResponse) Descriptor

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

Deprecated: Use ResolveAppConnectionsResponse.ProtoReflect.Descriptor instead.

func (*ResolveAppConnectionsResponse) GetAppConnectionDetails

func (*ResolveAppConnectionsResponse) GetNextPageToken

func (x *ResolveAppConnectionsResponse) GetNextPageToken() string

func (*ResolveAppConnectionsResponse) GetUnreachable

func (x *ResolveAppConnectionsResponse) GetUnreachable() []string

func (*ResolveAppConnectionsResponse) ProtoMessage

func (*ResolveAppConnectionsResponse) ProtoMessage()

func (*ResolveAppConnectionsResponse) ProtoReflect

func (*ResolveAppConnectionsResponse) Reset

func (x *ResolveAppConnectionsResponse) Reset()

func (*ResolveAppConnectionsResponse) String

ResolveAppConnectionsResponse_AppConnectionDetails

type ResolveAppConnectionsResponse_AppConnectionDetails struct {

	// A BeyondCorp AppConnection in the project.
	AppConnection *AppConnection `protobuf:"bytes,1,opt,name=app_connection,json=appConnection,proto3" json:"app_connection,omitempty"`
	// If type=GCP_REGIONAL_MIG, contains most recent VM instances, like
	// `https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instances/{instance_id}`.
	RecentMigVms []string `protobuf:"bytes,2,rep,name=recent_mig_vms,json=recentMigVms,proto3" json:"recent_mig_vms,omitempty"`
	// contains filtered or unexported fields
}

Details of the AppConnection.

func (*ResolveAppConnectionsResponse_AppConnectionDetails) Descriptor

Deprecated: Use ResolveAppConnectionsResponse_AppConnectionDetails.ProtoReflect.Descriptor instead.

func (*ResolveAppConnectionsResponse_AppConnectionDetails) GetAppConnection

func (*ResolveAppConnectionsResponse_AppConnectionDetails) GetRecentMigVms

func (*ResolveAppConnectionsResponse_AppConnectionDetails) ProtoMessage

func (*ResolveAppConnectionsResponse_AppConnectionDetails) ProtoReflect

func (*ResolveAppConnectionsResponse_AppConnectionDetails) Reset

func (*ResolveAppConnectionsResponse_AppConnectionDetails) String

UnimplementedAppConnectionsServiceServer

type UnimplementedAppConnectionsServiceServer struct {
}

UnimplementedAppConnectionsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAppConnectionsServiceServer) CreateAppConnection

func (*UnimplementedAppConnectionsServiceServer) DeleteAppConnection

func (*UnimplementedAppConnectionsServiceServer) GetAppConnection

func (*UnimplementedAppConnectionsServiceServer) ListAppConnections

func (*UnimplementedAppConnectionsServiceServer) ResolveAppConnections

func (*UnimplementedAppConnectionsServiceServer) UpdateAppConnection

UpdateAppConnectionRequest

type UpdateAppConnectionRequest struct {

	// Required. Mask of fields to update. At least one path must be supplied in
	// this field. The elements of the repeated paths field may only include these
	// fields from [BeyondCorp.AppConnection]:
	// * `labels`
	// * `display_name`
	// * `application_endpoint`
	// * `connectors`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. AppConnection message with updated fields. Only supported fields
	// specified in update_mask are updated.
	AppConnection *AppConnection `protobuf:"bytes,2,opt,name=app_connection,json=appConnection,proto3" json:"app_connection,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and t
	// he request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, validates request by executing a dry-run which would not
	// alter the resource in any way.
	ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. If set as true, will create the resource if it is not found.
	AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Request message for BeyondCorp.UpdateAppConnection.

func (*UpdateAppConnectionRequest) Descriptor

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

Deprecated: Use UpdateAppConnectionRequest.ProtoReflect.Descriptor instead.

func (*UpdateAppConnectionRequest) GetAllowMissing

func (x *UpdateAppConnectionRequest) GetAllowMissing() bool

func (*UpdateAppConnectionRequest) GetAppConnection

func (x *UpdateAppConnectionRequest) GetAppConnection() *AppConnection

func (*UpdateAppConnectionRequest) GetRequestId

func (x *UpdateAppConnectionRequest) GetRequestId() string

func (*UpdateAppConnectionRequest) GetUpdateMask

func (x *UpdateAppConnectionRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateAppConnectionRequest) GetValidateOnly

func (x *UpdateAppConnectionRequest) GetValidateOnly() bool

func (*UpdateAppConnectionRequest) ProtoMessage

func (*UpdateAppConnectionRequest) ProtoMessage()

func (*UpdateAppConnectionRequest) ProtoReflect

func (*UpdateAppConnectionRequest) Reset

func (x *UpdateAppConnectionRequest) Reset()

func (*UpdateAppConnectionRequest) String

func (x *UpdateAppConnectionRequest) String() string