Constants
AppConnectorsService_ListAppConnectors_FullMethodName, AppConnectorsService_GetAppConnector_FullMethodName, AppConnectorsService_CreateAppConnector_FullMethodName, AppConnectorsService_UpdateAppConnector_FullMethodName, AppConnectorsService_DeleteAppConnector_FullMethodName, AppConnectorsService_ReportStatus_FullMethodName
const (
AppConnectorsService_ListAppConnectors_FullMethodName = "/google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService/ListAppConnectors"
AppConnectorsService_GetAppConnector_FullMethodName = "/google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService/GetAppConnector"
AppConnectorsService_CreateAppConnector_FullMethodName = "/google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService/CreateAppConnector"
AppConnectorsService_UpdateAppConnector_FullMethodName = "/google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService/UpdateAppConnector"
AppConnectorsService_DeleteAppConnector_FullMethodName = "/google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService/DeleteAppConnector"
AppConnectorsService_ReportStatus_FullMethodName = "/google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService/ReportStatus"
)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.
AppConnectorsService_ServiceDesc
var AppConnectorsService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService",
HandlerType: (*AppConnectorsServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListAppConnectors",
Handler: _AppConnectorsService_ListAppConnectors_Handler,
},
{
MethodName: "GetAppConnector",
Handler: _AppConnectorsService_GetAppConnector_Handler,
},
{
MethodName: "CreateAppConnector",
Handler: _AppConnectorsService_CreateAppConnector_Handler,
},
{
MethodName: "UpdateAppConnector",
Handler: _AppConnectorsService_UpdateAppConnector_Handler,
},
{
MethodName: "DeleteAppConnector",
Handler: _AppConnectorsService_DeleteAppConnector_Handler,
},
{
MethodName: "ReportStatus",
Handler: _AppConnectorsService_ReportStatus_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/beyondcorp/appconnectors/v1/app_connectors_service.proto",
}AppConnectorsService_ServiceDesc is the grpc.ServiceDesc for AppConnectorsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_beyondcorp_appconnectors_v1_app_connector_instance_config_proto
var File_google_cloud_beyondcorp_appconnectors_v1_app_connector_instance_config_proto protoreflect.FileDescriptorFile_google_cloud_beyondcorp_appconnectors_v1_app_connectors_service_proto
var File_google_cloud_beyondcorp_appconnectors_v1_app_connectors_service_proto protoreflect.FileDescriptorFile_google_cloud_beyondcorp_appconnectors_v1_resource_info_proto
var File_google_cloud_beyondcorp_appconnectors_v1_resource_info_proto protoreflect.FileDescriptorFunctions
func RegisterAppConnectorsServiceServer
func RegisterAppConnectorsServiceServer(s grpc.ServiceRegistrar, srv AppConnectorsServiceServer)AppConnector
type AppConnector struct {
// Required. Unique resource name of the AppConnector.
// The name is ignored when creating a AppConnector.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Timestamp when the resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Timestamp when the resource was last modified.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. Resource labels to represent user provided metadata.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Optional. An arbitrary user-provided name for the AppConnector. Cannot
// exceed 64 characters.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. A unique identifier for the instance generated by the
// system.
Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. The current state of the AppConnector.
State AppConnector_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.beyondcorp.appconnectors.v1.AppConnector_State" json:"state,omitempty"`
// Required. Principal information about the Identity of the AppConnector.
PrincipalInfo *AppConnector_PrincipalInfo `protobuf:"bytes,8,opt,name=principal_info,json=principalInfo,proto3" json:"principal_info,omitempty"`
// Optional. Resource info of the connector.
ResourceInfo *ResourceInfo `protobuf:"bytes,11,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"`
// contains filtered or unexported fields
}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.Timestampfunc (*AppConnector) GetDisplayName
func (x *AppConnector) GetDisplayName() stringfunc (*AppConnector) GetLabels
func (x *AppConnector) GetLabels() map[string]stringfunc (*AppConnector) GetName
func (x *AppConnector) GetName() stringfunc (*AppConnector) GetPrincipalInfo
func (x *AppConnector) GetPrincipalInfo() *AppConnector_PrincipalInfofunc (*AppConnector) GetResourceInfo
func (x *AppConnector) GetResourceInfo() *ResourceInfofunc (*AppConnector) GetState
func (x *AppConnector) GetState() AppConnector_Statefunc (*AppConnector) GetUid
func (x *AppConnector) GetUid() stringfunc (*AppConnector) GetUpdateTime
func (x *AppConnector) GetUpdateTime() *timestamppb.Timestampfunc (*AppConnector) ProtoMessage
func (*AppConnector) ProtoMessage()func (*AppConnector) ProtoReflect
func (x *AppConnector) ProtoReflect() protoreflect.Messagefunc (*AppConnector) Reset
func (x *AppConnector) Reset()func (*AppConnector) String
func (x *AppConnector) String() stringAppConnectorInstanceConfig
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() *ImageConfigfunc (*AppConnectorInstanceConfig) GetInstanceConfig
func (x *AppConnectorInstanceConfig) GetInstanceConfig() *anypb.Anyfunc (*AppConnectorInstanceConfig) GetNotificationConfig
func (x *AppConnectorInstanceConfig) GetNotificationConfig() *NotificationConfigfunc (*AppConnectorInstanceConfig) GetSequenceNumber
func (x *AppConnectorInstanceConfig) GetSequenceNumber() int64func (*AppConnectorInstanceConfig) ProtoMessage
func (*AppConnectorInstanceConfig) ProtoMessage()func (*AppConnectorInstanceConfig) ProtoReflect
func (x *AppConnectorInstanceConfig) ProtoReflect() protoreflect.Messagefunc (*AppConnectorInstanceConfig) Reset
func (x *AppConnectorInstanceConfig) Reset()func (*AppConnectorInstanceConfig) String
func (x *AppConnectorInstanceConfig) String() stringAppConnectorOperationMetadata
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() stringfunc (*AppConnectorOperationMetadata) GetCreateTime
func (x *AppConnectorOperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*AppConnectorOperationMetadata) GetEndTime
func (x *AppConnectorOperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*AppConnectorOperationMetadata) GetRequestedCancellation
func (x *AppConnectorOperationMetadata) GetRequestedCancellation() boolfunc (*AppConnectorOperationMetadata) GetStatusMessage
func (x *AppConnectorOperationMetadata) GetStatusMessage() stringfunc (*AppConnectorOperationMetadata) GetTarget
func (x *AppConnectorOperationMetadata) GetTarget() stringfunc (*AppConnectorOperationMetadata) GetVerb
func (x *AppConnectorOperationMetadata) GetVerb() stringfunc (*AppConnectorOperationMetadata) ProtoMessage
func (*AppConnectorOperationMetadata) ProtoMessage()func (*AppConnectorOperationMetadata) ProtoReflect
func (x *AppConnectorOperationMetadata) ProtoReflect() protoreflect.Messagefunc (*AppConnectorOperationMetadata) Reset
func (x *AppConnectorOperationMetadata) Reset()func (*AppConnectorOperationMetadata) String
func (x *AppConnectorOperationMetadata) String() stringAppConnector_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 (x *AppConnector_PrincipalInfo) GetServiceAccount() *AppConnector_PrincipalInfo_ServiceAccountfunc (*AppConnector_PrincipalInfo) GetType
func (m *AppConnector_PrincipalInfo) GetType() isAppConnector_PrincipalInfo_Typefunc (*AppConnector_PrincipalInfo) ProtoMessage
func (*AppConnector_PrincipalInfo) ProtoMessage()func (*AppConnector_PrincipalInfo) ProtoReflect
func (x *AppConnector_PrincipalInfo) ProtoReflect() protoreflect.Messagefunc (*AppConnector_PrincipalInfo) Reset
func (x *AppConnector_PrincipalInfo) Reset()func (*AppConnector_PrincipalInfo) String
func (x *AppConnector_PrincipalInfo) String() stringAppConnector_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 (x *AppConnector_PrincipalInfo_ServiceAccount) GetEmail() stringfunc (*AppConnector_PrincipalInfo_ServiceAccount) ProtoMessage
func (*AppConnector_PrincipalInfo_ServiceAccount) ProtoMessage()func (*AppConnector_PrincipalInfo_ServiceAccount) ProtoReflect
func (x *AppConnector_PrincipalInfo_ServiceAccount) ProtoReflect() protoreflect.Messagefunc (*AppConnector_PrincipalInfo_ServiceAccount) Reset
func (x *AppConnector_PrincipalInfo_ServiceAccount) Reset()func (*AppConnector_PrincipalInfo_ServiceAccount) String
func (x *AppConnector_PrincipalInfo_ServiceAccount) String() stringAppConnector_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 int32Represents 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) Descriptor() protoreflect.EnumDescriptorfunc (AppConnector_State) Enum
func (x AppConnector_State) Enum() *AppConnector_Statefunc (AppConnector_State) EnumDescriptor
func (AppConnector_State) EnumDescriptor() ([]byte, []int)Deprecated: Use AppConnector_State.Descriptor instead.
func (AppConnector_State) Number
func (x AppConnector_State) Number() protoreflect.EnumNumberfunc (AppConnector_State) String
func (x AppConnector_State) String() stringfunc (AppConnector_State) Type
func (AppConnector_State) Type() protoreflect.EnumTypeAppConnectorsServiceClient
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAppConnectorsServiceClient
func NewAppConnectorsServiceClient(cc grpc.ClientConnInterface) AppConnectorsServiceClientAppConnectorsServiceServer
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. All implementations should embed UnimplementedAppConnectorsServiceServer for forward compatibility
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() *AppConnectorfunc (*CreateAppConnectorRequest) GetAppConnectorId
func (x *CreateAppConnectorRequest) GetAppConnectorId() stringfunc (*CreateAppConnectorRequest) GetParent
func (x *CreateAppConnectorRequest) GetParent() stringfunc (*CreateAppConnectorRequest) GetRequestId
func (x *CreateAppConnectorRequest) GetRequestId() stringfunc (*CreateAppConnectorRequest) GetValidateOnly
func (x *CreateAppConnectorRequest) GetValidateOnly() boolfunc (*CreateAppConnectorRequest) ProtoMessage
func (*CreateAppConnectorRequest) ProtoMessage()func (*CreateAppConnectorRequest) ProtoReflect
func (x *CreateAppConnectorRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAppConnectorRequest) Reset
func (x *CreateAppConnectorRequest) Reset()func (*CreateAppConnectorRequest) String
func (x *CreateAppConnectorRequest) String() stringDeleteAppConnectorRequest
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() stringfunc (*DeleteAppConnectorRequest) GetRequestId
func (x *DeleteAppConnectorRequest) GetRequestId() stringfunc (*DeleteAppConnectorRequest) GetValidateOnly
func (x *DeleteAppConnectorRequest) GetValidateOnly() boolfunc (*DeleteAppConnectorRequest) ProtoMessage
func (*DeleteAppConnectorRequest) ProtoMessage()func (*DeleteAppConnectorRequest) ProtoReflect
func (x *DeleteAppConnectorRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAppConnectorRequest) Reset
func (x *DeleteAppConnectorRequest) Reset()func (*DeleteAppConnectorRequest) String
func (x *DeleteAppConnectorRequest) String() stringGetAppConnectorRequest
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() stringfunc (*GetAppConnectorRequest) ProtoMessage
func (*GetAppConnectorRequest) ProtoMessage()func (*GetAppConnectorRequest) ProtoReflect
func (x *GetAppConnectorRequest) ProtoReflect() protoreflect.Messagefunc (*GetAppConnectorRequest) Reset
func (x *GetAppConnectorRequest) Reset()func (*GetAppConnectorRequest) String
func (x *GetAppConnectorRequest) String() stringHealthStatus
type HealthStatus int32HealthStatus 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) Descriptor() protoreflect.EnumDescriptorfunc (HealthStatus) Enum
func (x HealthStatus) Enum() *HealthStatusfunc (HealthStatus) EnumDescriptor
func (HealthStatus) EnumDescriptor() ([]byte, []int)Deprecated: Use HealthStatus.Descriptor instead.
func (HealthStatus) Number
func (x HealthStatus) Number() protoreflect.EnumNumberfunc (HealthStatus) String
func (x HealthStatus) String() stringfunc (HealthStatus) Type
func (HealthStatus) Type() protoreflect.EnumTypeImageConfig
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() stringfunc (*ImageConfig) GetTargetImage
func (x *ImageConfig) GetTargetImage() stringfunc (*ImageConfig) ProtoMessage
func (*ImageConfig) ProtoMessage()func (*ImageConfig) ProtoReflect
func (x *ImageConfig) ProtoReflect() protoreflect.Messagefunc (*ImageConfig) Reset
func (x *ImageConfig) Reset()func (*ImageConfig) String
func (x *ImageConfig) String() stringListAppConnectorsRequest
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() stringfunc (*ListAppConnectorsRequest) GetOrderBy
func (x *ListAppConnectorsRequest) GetOrderBy() stringfunc (*ListAppConnectorsRequest) GetPageSize
func (x *ListAppConnectorsRequest) GetPageSize() int32func (*ListAppConnectorsRequest) GetPageToken
func (x *ListAppConnectorsRequest) GetPageToken() stringfunc (*ListAppConnectorsRequest) GetParent
func (x *ListAppConnectorsRequest) GetParent() stringfunc (*ListAppConnectorsRequest) ProtoMessage
func (*ListAppConnectorsRequest) ProtoMessage()func (*ListAppConnectorsRequest) ProtoReflect
func (x *ListAppConnectorsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAppConnectorsRequest) Reset
func (x *ListAppConnectorsRequest) Reset()func (*ListAppConnectorsRequest) String
func (x *ListAppConnectorsRequest) String() stringListAppConnectorsResponse
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() []*AppConnectorfunc (*ListAppConnectorsResponse) GetNextPageToken
func (x *ListAppConnectorsResponse) GetNextPageToken() stringfunc (*ListAppConnectorsResponse) GetUnreachable
func (x *ListAppConnectorsResponse) GetUnreachable() []stringfunc (*ListAppConnectorsResponse) ProtoMessage
func (*ListAppConnectorsResponse) ProtoMessage()func (*ListAppConnectorsResponse) ProtoReflect
func (x *ListAppConnectorsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAppConnectorsResponse) Reset
func (x *ListAppConnectorsResponse) Reset()func (*ListAppConnectorsResponse) String
func (x *ListAppConnectorsResponse) String() stringNotificationConfig
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_Configfunc (*NotificationConfig) GetPubsubNotification
func (x *NotificationConfig) GetPubsubNotification() *NotificationConfig_CloudPubSubNotificationConfigfunc (*NotificationConfig) ProtoMessage
func (*NotificationConfig) ProtoMessage()func (*NotificationConfig) ProtoReflect
func (x *NotificationConfig) ProtoReflect() protoreflect.Messagefunc (*NotificationConfig) Reset
func (x *NotificationConfig) Reset()func (*NotificationConfig) String
func (x *NotificationConfig) String() stringNotificationConfig_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
func (*NotificationConfig_CloudPubSubNotificationConfig) Descriptor() ([]byte, []int)Deprecated: Use NotificationConfig_CloudPubSubNotificationConfig.ProtoReflect.Descriptor instead.
func (*NotificationConfig_CloudPubSubNotificationConfig) GetPubsubSubscription
func (x *NotificationConfig_CloudPubSubNotificationConfig) GetPubsubSubscription() stringfunc (*NotificationConfig_CloudPubSubNotificationConfig) ProtoMessage
func (*NotificationConfig_CloudPubSubNotificationConfig) ProtoMessage()func (*NotificationConfig_CloudPubSubNotificationConfig) ProtoReflect
func (x *NotificationConfig_CloudPubSubNotificationConfig) ProtoReflect() protoreflect.Messagefunc (*NotificationConfig_CloudPubSubNotificationConfig) Reset
func (x *NotificationConfig_CloudPubSubNotificationConfig) Reset()func (*NotificationConfig_CloudPubSubNotificationConfig) String
func (x *NotificationConfig_CloudPubSubNotificationConfig) String() stringNotificationConfig_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() stringfunc (*ReportStatusRequest) GetRequestId
func (x *ReportStatusRequest) GetRequestId() stringfunc (*ReportStatusRequest) GetResourceInfo
func (x *ReportStatusRequest) GetResourceInfo() *ResourceInfofunc (*ReportStatusRequest) GetValidateOnly
func (x *ReportStatusRequest) GetValidateOnly() boolfunc (*ReportStatusRequest) ProtoMessage
func (*ReportStatusRequest) ProtoMessage()func (*ReportStatusRequest) ProtoReflect
func (x *ReportStatusRequest) ProtoReflect() protoreflect.Messagefunc (*ReportStatusRequest) Reset
func (x *ReportStatusRequest) Reset()func (*ReportStatusRequest) String
func (x *ReportStatusRequest) String() stringResourceInfo
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() stringfunc (*ResourceInfo) GetResource
func (x *ResourceInfo) GetResource() *anypb.Anyfunc (*ResourceInfo) GetStatus
func (x *ResourceInfo) GetStatus() HealthStatusfunc (*ResourceInfo) GetSub
func (x *ResourceInfo) GetSub() []*ResourceInfofunc (*ResourceInfo) GetTime
func (x *ResourceInfo) GetTime() *timestamppb.Timestampfunc (*ResourceInfo) ProtoMessage
func (*ResourceInfo) ProtoMessage()func (*ResourceInfo) ProtoReflect
func (x *ResourceInfo) ProtoReflect() protoreflect.Messagefunc (*ResourceInfo) Reset
func (x *ResourceInfo) Reset()func (*ResourceInfo) String
func (x *ResourceInfo) String() stringUnimplementedAppConnectorsServiceServer
type UnimplementedAppConnectorsServiceServer struct {
}UnimplementedAppConnectorsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAppConnectorsServiceServer) CreateAppConnector
func (UnimplementedAppConnectorsServiceServer) CreateAppConnector(context.Context, *CreateAppConnectorRequest) (*longrunningpb.Operation, error)func (UnimplementedAppConnectorsServiceServer) DeleteAppConnector
func (UnimplementedAppConnectorsServiceServer) DeleteAppConnector(context.Context, *DeleteAppConnectorRequest) (*longrunningpb.Operation, error)func (UnimplementedAppConnectorsServiceServer) GetAppConnector
func (UnimplementedAppConnectorsServiceServer) GetAppConnector(context.Context, *GetAppConnectorRequest) (*AppConnector, error)func (UnimplementedAppConnectorsServiceServer) ListAppConnectors
func (UnimplementedAppConnectorsServiceServer) ListAppConnectors(context.Context, *ListAppConnectorsRequest) (*ListAppConnectorsResponse, error)func (UnimplementedAppConnectorsServiceServer) ReportStatus
func (UnimplementedAppConnectorsServiceServer) ReportStatus(context.Context, *ReportStatusRequest) (*longrunningpb.Operation, error)func (UnimplementedAppConnectorsServiceServer) UpdateAppConnector
func (UnimplementedAppConnectorsServiceServer) UpdateAppConnector(context.Context, *UpdateAppConnectorRequest) (*longrunningpb.Operation, error)UnsafeAppConnectorsServiceServer
type UnsafeAppConnectorsServiceServer interface {
// contains filtered or unexported methods
}UnsafeAppConnectorsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppConnectorsServiceServer will result in compilation errors.
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() *AppConnectorfunc (*UpdateAppConnectorRequest) GetRequestId
func (x *UpdateAppConnectorRequest) GetRequestId() stringfunc (*UpdateAppConnectorRequest) GetUpdateMask
func (x *UpdateAppConnectorRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateAppConnectorRequest) GetValidateOnly
func (x *UpdateAppConnectorRequest) GetValidateOnly() boolfunc (*UpdateAppConnectorRequest) ProtoMessage
func (*UpdateAppConnectorRequest) ProtoMessage()func (*UpdateAppConnectorRequest) ProtoReflect
func (x *UpdateAppConnectorRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateAppConnectorRequest) Reset
func (x *UpdateAppConnectorRequest) Reset()func (*UpdateAppConnectorRequest) String
func (x *UpdateAppConnectorRequest) String() string