Package cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb (v1.0.5)

Variables

AppConnector_State_name, AppConnector_State_value

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

Enum value maps for AppConnector_State.

HealthStatus_name, HealthStatus_value

var (
	HealthStatus_name = map[int32]string{
		0: "HEALTH_STATUS_UNSPECIFIED",
		1: "HEALTHY",
		2: "UNHEALTHY",
		3: "UNRESPONSIVE",
		4: "DEGRADED",
	}
	HealthStatus_value = map[string]int32{
		"HEALTH_STATUS_UNSPECIFIED": 0,
		"HEALTHY":                   1,
		"UNHEALTHY":                 2,
		"UNRESPONSIVE":              3,
		"DEGRADED":                  4,
	}
)

Enum value maps for HealthStatus.

File_google_cloud_beyondcorp_appconnectors_v1_app_connector_instance_config_proto

var File_google_cloud_beyondcorp_appconnectors_v1_app_connector_instance_config_proto protoreflect.FileDescriptor

File_google_cloud_beyondcorp_appconnectors_v1_app_connectors_service_proto

var File_google_cloud_beyondcorp_appconnectors_v1_app_connectors_service_proto protoreflect.FileDescriptor

File_google_cloud_beyondcorp_appconnectors_v1_resource_info_proto

var File_google_cloud_beyondcorp_appconnectors_v1_resource_info_proto protoreflect.FileDescriptor

Functions

func RegisterAppConnectorsServiceServer

func RegisterAppConnectorsServiceServer(s *grpc.Server, srv AppConnectorsServiceServer)

AppConnector

type AppConnector 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"`

	State AppConnector_State "" /* 129 byte string literal not displayed */

	PrincipalInfo *AppConnector_PrincipalInfo `protobuf:"bytes,8,opt,name=principal_info,json=principalInfo,proto3" json:"principal_info,omitempty"`

	ResourceInfo *ResourceInfo `protobuf:"bytes,11,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"`

}

A BeyondCorp connector resource that represents an application facing component deployed proximal to and with direct access to the application instances. It is used to establish connectivity between the remote enterprise environment and GCP. It initiates connections to the applications and can proxy the data from users over the connection.

func (*AppConnector) Descriptor

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

Deprecated: Use AppConnector.ProtoReflect.Descriptor instead.

func (*AppConnector) GetCreateTime

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

func (*AppConnector) GetDisplayName

func (x *AppConnector) GetDisplayName() string

func (*AppConnector) GetLabels

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

func (*AppConnector) GetName

func (x *AppConnector) GetName() string

func (*AppConnector) GetPrincipalInfo

func (x *AppConnector) GetPrincipalInfo() *AppConnector_PrincipalInfo

func (*AppConnector) GetResourceInfo

func (x *AppConnector) GetResourceInfo() *ResourceInfo

func (*AppConnector) GetState

func (x *AppConnector) GetState() AppConnector_State

func (*AppConnector) GetUid

func (x *AppConnector) GetUid() string

func (*AppConnector) GetUpdateTime

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

func (*AppConnector) ProtoMessage

func (*AppConnector) ProtoMessage()

func (*AppConnector) ProtoReflect

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

func (*AppConnector) Reset

func (x *AppConnector) Reset()

func (*AppConnector) String

func (x *AppConnector) String() string

AppConnectorInstanceConfig

type AppConnectorInstanceConfig struct {

	// Required. A monotonically increasing number generated and maintained
	// by the API provider. Every time a config changes in the backend, the
	// sequenceNumber should be bumped up to reflect the change.
	SequenceNumber int64 `protobuf:"varint,1,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"`
	// The SLM instance agent configuration.
	InstanceConfig *anypb.Any `protobuf:"bytes,2,opt,name=instance_config,json=instanceConfig,proto3" json:"instance_config,omitempty"`
	// NotificationConfig defines the notification mechanism that the remote
	// instance should subscribe to in order to receive notification.
	NotificationConfig *NotificationConfig `protobuf:"bytes,3,opt,name=notification_config,json=notificationConfig,proto3" json:"notification_config,omitempty"`
	// ImageConfig defines the GCR images to run for the remote agent's control
	// plane.
	ImageConfig *ImageConfig `protobuf:"bytes,4,opt,name=image_config,json=imageConfig,proto3" json:"image_config,omitempty"`
	// contains filtered or unexported fields
}

AppConnectorInstanceConfig defines the instance config of a AppConnector.

func (*AppConnectorInstanceConfig) Descriptor

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

Deprecated: Use AppConnectorInstanceConfig.ProtoReflect.Descriptor instead.

func (*AppConnectorInstanceConfig) GetImageConfig

func (x *AppConnectorInstanceConfig) GetImageConfig() *ImageConfig

func (*AppConnectorInstanceConfig) GetInstanceConfig

func (x *AppConnectorInstanceConfig) GetInstanceConfig() *anypb.Any

func (*AppConnectorInstanceConfig) GetNotificationConfig

func (x *AppConnectorInstanceConfig) GetNotificationConfig() *NotificationConfig

func (*AppConnectorInstanceConfig) GetSequenceNumber

func (x *AppConnectorInstanceConfig) GetSequenceNumber() int64

func (*AppConnectorInstanceConfig) ProtoMessage

func (*AppConnectorInstanceConfig) ProtoMessage()

func (*AppConnectorInstanceConfig) ProtoReflect

func (*AppConnectorInstanceConfig) Reset

func (x *AppConnectorInstanceConfig) Reset()

func (*AppConnectorInstanceConfig) String

func (x *AppConnectorInstanceConfig) String() string

AppConnectorOperationMetadata

type AppConnectorOperationMetadata 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 (*AppConnectorOperationMetadata) Descriptor

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

Deprecated: Use AppConnectorOperationMetadata.ProtoReflect.Descriptor instead.

func (*AppConnectorOperationMetadata) GetApiVersion

func (x *AppConnectorOperationMetadata) GetApiVersion() string

func (*AppConnectorOperationMetadata) GetCreateTime

func (*AppConnectorOperationMetadata) GetEndTime

func (*AppConnectorOperationMetadata) GetRequestedCancellation

func (x *AppConnectorOperationMetadata) GetRequestedCancellation() bool

func (*AppConnectorOperationMetadata) GetStatusMessage

func (x *AppConnectorOperationMetadata) GetStatusMessage() string

func (*AppConnectorOperationMetadata) GetTarget

func (x *AppConnectorOperationMetadata) GetTarget() string

func (*AppConnectorOperationMetadata) GetVerb

func (*AppConnectorOperationMetadata) ProtoMessage

func (*AppConnectorOperationMetadata) ProtoMessage()

func (*AppConnectorOperationMetadata) ProtoReflect

func (*AppConnectorOperationMetadata) Reset

func (x *AppConnectorOperationMetadata) Reset()

func (*AppConnectorOperationMetadata) String

AppConnector_PrincipalInfo

type AppConnector_PrincipalInfo struct {

	// Types that are assignable to Type:
	//
	//	*AppConnector_PrincipalInfo_ServiceAccount_
	Type isAppConnector_PrincipalInfo_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

PrincipalInfo represents an Identity oneof.

func (*AppConnector_PrincipalInfo) Descriptor

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

Deprecated: Use AppConnector_PrincipalInfo.ProtoReflect.Descriptor instead.

func (*AppConnector_PrincipalInfo) GetServiceAccount

func (*AppConnector_PrincipalInfo) GetType

func (m *AppConnector_PrincipalInfo) GetType() isAppConnector_PrincipalInfo_Type

func (*AppConnector_PrincipalInfo) ProtoMessage

func (*AppConnector_PrincipalInfo) ProtoMessage()

func (*AppConnector_PrincipalInfo) ProtoReflect

func (*AppConnector_PrincipalInfo) Reset

func (x *AppConnector_PrincipalInfo) Reset()

func (*AppConnector_PrincipalInfo) String

func (x *AppConnector_PrincipalInfo) String() string

AppConnector_PrincipalInfo_ServiceAccount

type AppConnector_PrincipalInfo_ServiceAccount struct {

	// Email address of the service account.
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

ServiceAccount represents a GCP service account.

func (*AppConnector_PrincipalInfo_ServiceAccount) Descriptor

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

Deprecated: Use AppConnector_PrincipalInfo_ServiceAccount.ProtoReflect.Descriptor instead.

func (*AppConnector_PrincipalInfo_ServiceAccount) GetEmail

func (*AppConnector_PrincipalInfo_ServiceAccount) ProtoMessage

func (*AppConnector_PrincipalInfo_ServiceAccount) ProtoReflect

func (*AppConnector_PrincipalInfo_ServiceAccount) Reset

func (*AppConnector_PrincipalInfo_ServiceAccount) String

AppConnector_PrincipalInfo_ServiceAccount_

type AppConnector_PrincipalInfo_ServiceAccount_ struct {
	// A GCP service account.
	ServiceAccount *AppConnector_PrincipalInfo_ServiceAccount `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3,oneof"`
}

AppConnector_State

type AppConnector_State int32

Represents the different states of a AppConnector.

AppConnector_STATE_UNSPECIFIED, AppConnector_CREATING, AppConnector_CREATED, AppConnector_UPDATING, AppConnector_DELETING, AppConnector_DOWN

const (
	// Default value. This value is unused.
	AppConnector_STATE_UNSPECIFIED AppConnector_State = 0
	// AppConnector is being created.
	AppConnector_CREATING AppConnector_State = 1
	// AppConnector has been created.
	AppConnector_CREATED AppConnector_State = 2
	// AppConnector's configuration is being updated.
	AppConnector_UPDATING AppConnector_State = 3
	// AppConnector is being deleted.
	AppConnector_DELETING AppConnector_State = 4
	// AppConnector is down and may be restored in the future.
	// This happens when CCFE sends ProjectState = OFF.
	AppConnector_DOWN AppConnector_State = 5
)

func (AppConnector_State) Descriptor

func (AppConnector_State) Enum

func (AppConnector_State) EnumDescriptor

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

Deprecated: Use AppConnector_State.Descriptor instead.

func (AppConnector_State) Number

func (AppConnector_State) String

func (x AppConnector_State) String() string

func (AppConnector_State) Type

AppConnectorsServiceClient

type AppConnectorsServiceClient interface {
	// Lists AppConnectors in a given project and location.
	ListAppConnectors(ctx context.Context, in *ListAppConnectorsRequest, opts ...grpc.CallOption) (*ListAppConnectorsResponse, error)
	// Gets details of a single AppConnector.
	GetAppConnector(ctx context.Context, in *GetAppConnectorRequest, opts ...grpc.CallOption) (*AppConnector, error)
	// Creates a new AppConnector in a given project and location.
	CreateAppConnector(ctx context.Context, in *CreateAppConnectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a single AppConnector.
	UpdateAppConnector(ctx context.Context, in *UpdateAppConnectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single AppConnector.
	DeleteAppConnector(ctx context.Context, in *DeleteAppConnectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Report status for a given connector.
	ReportStatus(ctx context.Context, in *ReportStatusRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

AppConnectorsServiceClient is the client API for AppConnectorsService service.

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

func NewAppConnectorsServiceClient

func NewAppConnectorsServiceClient(cc grpc.ClientConnInterface) AppConnectorsServiceClient

AppConnectorsServiceServer

type AppConnectorsServiceServer interface {
	// Lists AppConnectors in a given project and location.
	ListAppConnectors(context.Context, *ListAppConnectorsRequest) (*ListAppConnectorsResponse, error)
	// Gets details of a single AppConnector.
	GetAppConnector(context.Context, *GetAppConnectorRequest) (*AppConnector, error)
	// Creates a new AppConnector in a given project and location.
	CreateAppConnector(context.Context, *CreateAppConnectorRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a single AppConnector.
	UpdateAppConnector(context.Context, *UpdateAppConnectorRequest) (*longrunningpb.Operation, error)
	// Deletes a single AppConnector.
	DeleteAppConnector(context.Context, *DeleteAppConnectorRequest) (*longrunningpb.Operation, error)
	// Report status for a given connector.
	ReportStatus(context.Context, *ReportStatusRequest) (*longrunningpb.Operation, error)
}

AppConnectorsServiceServer is the server API for AppConnectorsService service.

CreateAppConnectorRequest

type CreateAppConnectorRequest struct {

	// Required. The resource project name of the AppConnector 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 AppConnector 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.
	AppConnectorId string `protobuf:"bytes,2,opt,name=app_connector_id,json=appConnectorId,proto3" json:"app_connector_id,omitempty"`
	// Required. A BeyondCorp AppConnector resource.
	AppConnector *AppConnector `protobuf:"bytes,3,opt,name=app_connector,json=appConnector,proto3" json:"app_connector,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.CreateAppConnector.

func (*CreateAppConnectorRequest) Descriptor

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

Deprecated: Use CreateAppConnectorRequest.ProtoReflect.Descriptor instead.

func (*CreateAppConnectorRequest) GetAppConnector

func (x *CreateAppConnectorRequest) GetAppConnector() *AppConnector

func (*CreateAppConnectorRequest) GetAppConnectorId

func (x *CreateAppConnectorRequest) GetAppConnectorId() string

func (*CreateAppConnectorRequest) GetParent

func (x *CreateAppConnectorRequest) GetParent() string

func (*CreateAppConnectorRequest) GetRequestId

func (x *CreateAppConnectorRequest) GetRequestId() string

func (*CreateAppConnectorRequest) GetValidateOnly

func (x *CreateAppConnectorRequest) GetValidateOnly() bool

func (*CreateAppConnectorRequest) ProtoMessage

func (*CreateAppConnectorRequest) ProtoMessage()

func (*CreateAppConnectorRequest) ProtoReflect

func (*CreateAppConnectorRequest) Reset

func (x *CreateAppConnectorRequest) Reset()

func (*CreateAppConnectorRequest) String

func (x *CreateAppConnectorRequest) String() string

DeleteAppConnectorRequest

type DeleteAppConnectorRequest struct {

	// Required. BeyondCorp AppConnector name using the form:
	// `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_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.DeleteAppConnector.

func (*DeleteAppConnectorRequest) Descriptor

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

Deprecated: Use DeleteAppConnectorRequest.ProtoReflect.Descriptor instead.

func (*DeleteAppConnectorRequest) GetName

func (x *DeleteAppConnectorRequest) GetName() string

func (*DeleteAppConnectorRequest) GetRequestId

func (x *DeleteAppConnectorRequest) GetRequestId() string

func (*DeleteAppConnectorRequest) GetValidateOnly

func (x *DeleteAppConnectorRequest) GetValidateOnly() bool

func (*DeleteAppConnectorRequest) ProtoMessage

func (*DeleteAppConnectorRequest) ProtoMessage()

func (*DeleteAppConnectorRequest) ProtoReflect

func (*DeleteAppConnectorRequest) Reset

func (x *DeleteAppConnectorRequest) Reset()

func (*DeleteAppConnectorRequest) String

func (x *DeleteAppConnectorRequest) String() string

GetAppConnectorRequest

type GetAppConnectorRequest struct {

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

Request message for BeyondCorp.GetAppConnector.

func (*GetAppConnectorRequest) Descriptor

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

Deprecated: Use GetAppConnectorRequest.ProtoReflect.Descriptor instead.

func (*GetAppConnectorRequest) GetName

func (x *GetAppConnectorRequest) GetName() string

func (*GetAppConnectorRequest) ProtoMessage

func (*GetAppConnectorRequest) ProtoMessage()

func (*GetAppConnectorRequest) ProtoReflect

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

func (*GetAppConnectorRequest) Reset

func (x *GetAppConnectorRequest) Reset()

func (*GetAppConnectorRequest) String

func (x *GetAppConnectorRequest) String() string

HealthStatus

type HealthStatus int32

HealthStatus represents the health status.

HealthStatus_HEALTH_STATUS_UNSPECIFIED, HealthStatus_HEALTHY, HealthStatus_UNHEALTHY, HealthStatus_UNRESPONSIVE, HealthStatus_DEGRADED

const (
	// Health status is unknown: not initialized or failed to retrieve.
	HealthStatus_HEALTH_STATUS_UNSPECIFIED HealthStatus = 0
	// The resource is healthy.
	HealthStatus_HEALTHY HealthStatus = 1
	// The resource is unhealthy.
	HealthStatus_UNHEALTHY HealthStatus = 2
	// The resource is unresponsive.
	HealthStatus_UNRESPONSIVE HealthStatus = 3
	// Some sub-resources are UNHEALTHY.
	HealthStatus_DEGRADED HealthStatus = 4
)

func (HealthStatus) Descriptor

func (HealthStatus) Enum

func (x HealthStatus) Enum() *HealthStatus

func (HealthStatus) EnumDescriptor

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

Deprecated: Use HealthStatus.Descriptor instead.

func (HealthStatus) Number

func (HealthStatus) String

func (x HealthStatus) String() string

func (HealthStatus) Type

ImageConfig

type ImageConfig struct {

	// The initial image the remote agent will attempt to run for the control
	// plane.
	TargetImage string `protobuf:"bytes,1,opt,name=target_image,json=targetImage,proto3" json:"target_image,omitempty"`
	// The stable image that the remote agent will fallback to if the target image
	// fails.
	StableImage string `protobuf:"bytes,2,opt,name=stable_image,json=stableImage,proto3" json:"stable_image,omitempty"`
	// contains filtered or unexported fields
}

ImageConfig defines the control plane images to run.

func (*ImageConfig) Descriptor

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

Deprecated: Use ImageConfig.ProtoReflect.Descriptor instead.

func (*ImageConfig) GetStableImage

func (x *ImageConfig) GetStableImage() string

func (*ImageConfig) GetTargetImage

func (x *ImageConfig) GetTargetImage() string

func (*ImageConfig) ProtoMessage

func (*ImageConfig) ProtoMessage()

func (*ImageConfig) ProtoReflect

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

func (*ImageConfig) Reset

func (x *ImageConfig) Reset()

func (*ImageConfig) String

func (x *ImageConfig) String() string

ListAppConnectorsRequest

type ListAppConnectorsRequest struct {

	// Required. The resource name of the AppConnector 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.ListAppConnectorsResponse.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
	// ListAppConnectorsRequest, 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.ListAppConnectors.

func (*ListAppConnectorsRequest) Descriptor

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

Deprecated: Use ListAppConnectorsRequest.ProtoReflect.Descriptor instead.

func (*ListAppConnectorsRequest) GetFilter

func (x *ListAppConnectorsRequest) GetFilter() string

func (*ListAppConnectorsRequest) GetOrderBy

func (x *ListAppConnectorsRequest) GetOrderBy() string

func (*ListAppConnectorsRequest) GetPageSize

func (x *ListAppConnectorsRequest) GetPageSize() int32

func (*ListAppConnectorsRequest) GetPageToken

func (x *ListAppConnectorsRequest) GetPageToken() string

func (*ListAppConnectorsRequest) GetParent

func (x *ListAppConnectorsRequest) GetParent() string

func (*ListAppConnectorsRequest) ProtoMessage

func (*ListAppConnectorsRequest) ProtoMessage()

func (*ListAppConnectorsRequest) ProtoReflect

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

func (*ListAppConnectorsRequest) Reset

func (x *ListAppConnectorsRequest) Reset()

func (*ListAppConnectorsRequest) String

func (x *ListAppConnectorsRequest) String() string

ListAppConnectorsResponse

type ListAppConnectorsResponse struct {

	// A list of BeyondCorp AppConnectors in the project.
	AppConnectors []*AppConnector `protobuf:"bytes,1,rep,name=app_connectors,json=appConnectors,proto3" json:"app_connectors,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.ListAppConnectors.

func (*ListAppConnectorsResponse) Descriptor

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

Deprecated: Use ListAppConnectorsResponse.ProtoReflect.Descriptor instead.

func (*ListAppConnectorsResponse) GetAppConnectors

func (x *ListAppConnectorsResponse) GetAppConnectors() []*AppConnector

func (*ListAppConnectorsResponse) GetNextPageToken

func (x *ListAppConnectorsResponse) GetNextPageToken() string

func (*ListAppConnectorsResponse) GetUnreachable

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

func (*ListAppConnectorsResponse) ProtoMessage

func (*ListAppConnectorsResponse) ProtoMessage()

func (*ListAppConnectorsResponse) ProtoReflect

func (*ListAppConnectorsResponse) Reset

func (x *ListAppConnectorsResponse) Reset()

func (*ListAppConnectorsResponse) String

func (x *ListAppConnectorsResponse) String() string

NotificationConfig

type NotificationConfig struct {

	// Types that are assignable to Config:
	//
	//	*NotificationConfig_PubsubNotification
	Config isNotificationConfig_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

NotificationConfig defines the mechanisms to notify instance agent.

func (*NotificationConfig) Descriptor

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

Deprecated: Use NotificationConfig.ProtoReflect.Descriptor instead.

func (*NotificationConfig) GetConfig

func (m *NotificationConfig) GetConfig() isNotificationConfig_Config

func (*NotificationConfig) GetPubsubNotification

func (*NotificationConfig) ProtoMessage

func (*NotificationConfig) ProtoMessage()

func (*NotificationConfig) ProtoReflect

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

func (*NotificationConfig) Reset

func (x *NotificationConfig) Reset()

func (*NotificationConfig) String

func (x *NotificationConfig) String() string

NotificationConfig_CloudPubSubNotificationConfig

type NotificationConfig_CloudPubSubNotificationConfig struct {

	// The Pub/Sub subscription the AppConnector uses to receive notifications.
	PubsubSubscription string `protobuf:"bytes,1,opt,name=pubsub_subscription,json=pubsubSubscription,proto3" json:"pubsub_subscription,omitempty"`
	// contains filtered or unexported fields
}

The configuration for Pub/Sub messaging for the AppConnector.

func (*NotificationConfig_CloudPubSubNotificationConfig) Descriptor

Deprecated: Use NotificationConfig_CloudPubSubNotificationConfig.ProtoReflect.Descriptor instead.

func (*NotificationConfig_CloudPubSubNotificationConfig) GetPubsubSubscription

func (x *NotificationConfig_CloudPubSubNotificationConfig) GetPubsubSubscription() string

func (*NotificationConfig_CloudPubSubNotificationConfig) ProtoMessage

func (*NotificationConfig_CloudPubSubNotificationConfig) ProtoReflect

func (*NotificationConfig_CloudPubSubNotificationConfig) Reset

func (*NotificationConfig_CloudPubSubNotificationConfig) String

NotificationConfig_PubsubNotification

type NotificationConfig_PubsubNotification struct {
	// Cloud Pub/Sub Configuration to receive notifications.
	PubsubNotification *NotificationConfig_CloudPubSubNotificationConfig `protobuf:"bytes,1,opt,name=pubsub_notification,json=pubsubNotification,proto3,oneof"`
}

ReportStatusRequest

type ReportStatusRequest struct {

	// Required. BeyondCorp Connector name using the form:
	// `projects/{project_id}/locations/{location_id}/connectors/{connector}`
	AppConnector string `protobuf:"bytes,1,opt,name=app_connector,json=appConnector,proto3" json:"app_connector,omitempty"`
	// Required. Resource info of the connector.
	ResourceInfo *ResourceInfo `protobuf:"bytes,2,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,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"`
	// contains filtered or unexported fields
}

Request report the connector status.

func (*ReportStatusRequest) Descriptor

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

Deprecated: Use ReportStatusRequest.ProtoReflect.Descriptor instead.

func (*ReportStatusRequest) GetAppConnector

func (x *ReportStatusRequest) GetAppConnector() string

func (*ReportStatusRequest) GetRequestId

func (x *ReportStatusRequest) GetRequestId() string

func (*ReportStatusRequest) GetResourceInfo

func (x *ReportStatusRequest) GetResourceInfo() *ResourceInfo

func (*ReportStatusRequest) GetValidateOnly

func (x *ReportStatusRequest) GetValidateOnly() bool

func (*ReportStatusRequest) ProtoMessage

func (*ReportStatusRequest) ProtoMessage()

func (*ReportStatusRequest) ProtoReflect

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

func (*ReportStatusRequest) Reset

func (x *ReportStatusRequest) Reset()

func (*ReportStatusRequest) String

func (x *ReportStatusRequest) String() string

ResourceInfo

type ResourceInfo struct {

	// Required. Unique Id for the resource.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Overall health status. Overall status is derived based on the status of
	// each sub level resources.
	Status HealthStatus `protobuf:"varint,2,opt,name=status,proto3,enum=google.cloud.beyondcorp.appconnectors.v1.HealthStatus" json:"status,omitempty"`
	// Specific details for the resource. This is for internal use only.
	Resource *anypb.Any `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// The timestamp to collect the info. It is suggested to be set by
	// the topmost level resource only.
	Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	// List of Info for the sub level resources.
	Sub []*ResourceInfo `protobuf:"bytes,5,rep,name=sub,proto3" json:"sub,omitempty"`
	// contains filtered or unexported fields
}

ResourceInfo represents the information/status of an app connector resource. Such as:

  • remote_agent
    • container
    • runtime
    • appgateway
    • appconnector
    • appconnection
    • tunnel
    • logagent

func (*ResourceInfo) Descriptor

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

Deprecated: Use ResourceInfo.ProtoReflect.Descriptor instead.

func (*ResourceInfo) GetId

func (x *ResourceInfo) GetId() string

func (*ResourceInfo) GetResource

func (x *ResourceInfo) GetResource() *anypb.Any

func (*ResourceInfo) GetStatus

func (x *ResourceInfo) GetStatus() HealthStatus

func (*ResourceInfo) GetSub

func (x *ResourceInfo) GetSub() []*ResourceInfo

func (*ResourceInfo) GetTime

func (x *ResourceInfo) GetTime() *timestamppb.Timestamp

func (*ResourceInfo) ProtoMessage

func (*ResourceInfo) ProtoMessage()

func (*ResourceInfo) ProtoReflect

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

func (*ResourceInfo) Reset

func (x *ResourceInfo) Reset()

func (*ResourceInfo) String

func (x *ResourceInfo) String() string

UnimplementedAppConnectorsServiceServer

type UnimplementedAppConnectorsServiceServer struct {
}

UnimplementedAppConnectorsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAppConnectorsServiceServer) CreateAppConnector

func (*UnimplementedAppConnectorsServiceServer) DeleteAppConnector

func (*UnimplementedAppConnectorsServiceServer) GetAppConnector

func (*UnimplementedAppConnectorsServiceServer) ListAppConnectors

func (*UnimplementedAppConnectorsServiceServer) ReportStatus

func (*UnimplementedAppConnectorsServiceServer) UpdateAppConnector

UpdateAppConnectorRequest

type UpdateAppConnectorRequest 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.AppConnector]:
	// * `labels`
	// * `display_name`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. AppConnector message with updated fields. Only supported fields
	// specified in update_mask are updated.
	AppConnector *AppConnector `protobuf:"bytes,2,opt,name=app_connector,json=appConnector,proto3" json:"app_connector,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"`
	// contains filtered or unexported fields
}

Request message for BeyondCorp.UpdateAppConnector.

func (*UpdateAppConnectorRequest) Descriptor

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

Deprecated: Use UpdateAppConnectorRequest.ProtoReflect.Descriptor instead.

func (*UpdateAppConnectorRequest) GetAppConnector

func (x *UpdateAppConnectorRequest) GetAppConnector() *AppConnector

func (*UpdateAppConnectorRequest) GetRequestId

func (x *UpdateAppConnectorRequest) GetRequestId() string

func (*UpdateAppConnectorRequest) GetUpdateMask

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

func (*UpdateAppConnectorRequest) GetValidateOnly

func (x *UpdateAppConnectorRequest) GetValidateOnly() bool

func (*UpdateAppConnectorRequest) ProtoMessage

func (*UpdateAppConnectorRequest) ProtoMessage()

func (*UpdateAppConnectorRequest) ProtoReflect

func (*UpdateAppConnectorRequest) Reset

func (x *UpdateAppConnectorRequest) Reset()

func (*UpdateAppConnectorRequest) String

func (x *UpdateAppConnectorRequest) String() string