ydb

package
v0.0.0-...-204702d Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 18 Imported by: 5

Documentation

Index

Constants

View Source
const (
	BackupService_Get_FullMethodName                  = "/yandex.cloud.ydb.v1.BackupService/Get"
	BackupService_ListPaths_FullMethodName            = "/yandex.cloud.ydb.v1.BackupService/ListPaths"
	BackupService_List_FullMethodName                 = "/yandex.cloud.ydb.v1.BackupService/List"
	BackupService_ListAccessBindings_FullMethodName   = "/yandex.cloud.ydb.v1.BackupService/ListAccessBindings"
	BackupService_SetAccessBindings_FullMethodName    = "/yandex.cloud.ydb.v1.BackupService/SetAccessBindings"
	BackupService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.ydb.v1.BackupService/UpdateAccessBindings"
	BackupService_Delete_FullMethodName               = "/yandex.cloud.ydb.v1.BackupService/Delete"
)
View Source
const (
	DatabaseService_Get_FullMethodName                  = "/yandex.cloud.ydb.v1.DatabaseService/Get"
	DatabaseService_List_FullMethodName                 = "/yandex.cloud.ydb.v1.DatabaseService/List"
	DatabaseService_Create_FullMethodName               = "/yandex.cloud.ydb.v1.DatabaseService/Create"
	DatabaseService_Update_FullMethodName               = "/yandex.cloud.ydb.v1.DatabaseService/Update"
	DatabaseService_Start_FullMethodName                = "/yandex.cloud.ydb.v1.DatabaseService/Start"
	DatabaseService_Stop_FullMethodName                 = "/yandex.cloud.ydb.v1.DatabaseService/Stop"
	DatabaseService_Move_FullMethodName                 = "/yandex.cloud.ydb.v1.DatabaseService/Move"
	DatabaseService_ListAccessBindings_FullMethodName   = "/yandex.cloud.ydb.v1.DatabaseService/ListAccessBindings"
	DatabaseService_SetAccessBindings_FullMethodName    = "/yandex.cloud.ydb.v1.DatabaseService/SetAccessBindings"
	DatabaseService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.ydb.v1.DatabaseService/UpdateAccessBindings"
	DatabaseService_Delete_FullMethodName               = "/yandex.cloud.ydb.v1.DatabaseService/Delete"
	DatabaseService_Restore_FullMethodName              = "/yandex.cloud.ydb.v1.DatabaseService/Restore"
	DatabaseService_Backup_FullMethodName               = "/yandex.cloud.ydb.v1.DatabaseService/Backup"
)
View Source
const (
	LocationService_Get_FullMethodName  = "/yandex.cloud.ydb.v1.LocationService/Get"
	LocationService_List_FullMethodName = "/yandex.cloud.ydb.v1.LocationService/List"
)
View Source
const (
	ResourcePresetService_Get_FullMethodName  = "/yandex.cloud.ydb.v1.ResourcePresetService/Get"
	ResourcePresetService_List_FullMethodName = "/yandex.cloud.ydb.v1.ResourcePresetService/List"
)
View Source
const (
	StorageTypeService_Get_FullMethodName  = "/yandex.cloud.ydb.v1.StorageTypeService/Get"
	StorageTypeService_List_FullMethodName = "/yandex.cloud.ydb.v1.StorageTypeService/List"
)

Variables

View Source
var (
	BackupSettings_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "SYSTEM",
		2: "USER",
	}
	BackupSettings_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"SYSTEM":           1,
		"USER":             2,
	}
)

Enum value maps for BackupSettings_Type.

View Source
var (
	BackupSettings_StorageClass_name = map[int32]string{
		0: "STORAGE_CLASS_UNSPECIFIED",
		1: "STANDARD",
		2: "REDUCED_REDUNDANCY",
		3: "STANDARD_IA",
		4: "ONEZONE_IA",
		5: "INTELLIGENT_TIERING",
		6: "GLACIER",
		7: "DEEP_ARCHIVE",
		8: "OUTPOSTS",
	}
	BackupSettings_StorageClass_value = map[string]int32{
		"STORAGE_CLASS_UNSPECIFIED": 0,
		"STANDARD":                  1,
		"REDUCED_REDUNDANCY":        2,
		"STANDARD_IA":               3,
		"ONEZONE_IA":                4,
		"INTELLIGENT_TIERING":       5,
		"GLACIER":                   6,
		"DEEP_ARCHIVE":              7,
		"OUTPOSTS":                  8,
	}
)

Enum value maps for BackupSettings_StorageClass.

View Source
var (
	Backup_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "CREATING",
		2: "READY",
		3: "ERROR",
		4: "CANCELLED",
	}
	Backup_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATING":           1,
		"READY":              2,
		"ERROR":              3,
		"CANCELLED":          4,
	}
)

Enum value maps for Backup_Status.

View Source
var (
	Backup_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "SYSTEM",
		2: "USER",
	}
	Backup_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"SYSTEM":           1,
		"USER":             2,
	}
)

Enum value maps for Backup_Type.

View Source
var (
	AlertEvaluationStatus_name = map[int32]string{
		0: "ALERT_EVALUATION_STATUS_UNSPECIFIED",
		1: "ALERT_EVALUATION_STATUS_OK",
		2: "ALERT_EVALUATION_STATUS_NO_DATA",
		3: "ALERT_EVALUATION_STATUS_ERROR",
		4: "ALERT_EVALUATION_STATUS_ALARM",
		5: "ALERT_EVALUATION_STATUS_WARN",
	}
	AlertEvaluationStatus_value = map[string]int32{
		"ALERT_EVALUATION_STATUS_UNSPECIFIED": 0,
		"ALERT_EVALUATION_STATUS_OK":          1,
		"ALERT_EVALUATION_STATUS_NO_DATA":     2,
		"ALERT_EVALUATION_STATUS_ERROR":       3,
		"ALERT_EVALUATION_STATUS_ALARM":       4,
		"ALERT_EVALUATION_STATUS_WARN":        5,
	}
)

Enum value maps for AlertEvaluationStatus.

View Source
var (
	Database_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PROVISIONING",
		2: "RUNNING",
		4: "UPDATING",
		5: "ERROR",
		6: "DELETING",
		7: "STARTING",
		8: "STOPPED",
	}
	Database_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PROVISIONING":       1,
		"RUNNING":            2,
		"UPDATING":           4,
		"ERROR":              5,
		"DELETING":           6,
		"STARTING":           7,
		"STOPPED":            8,
	}
)

Enum value maps for Database_Status.

View Source
var BackupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.ydb.v1.BackupService",
	HandlerType: (*BackupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _BackupService_Get_Handler,
		},
		{
			MethodName: "ListPaths",
			Handler:    _BackupService_ListPaths_Handler,
		},
		{
			MethodName: "List",
			Handler:    _BackupService_List_Handler,
		},
		{
			MethodName: "ListAccessBindings",
			Handler:    _BackupService_ListAccessBindings_Handler,
		},
		{
			MethodName: "SetAccessBindings",
			Handler:    _BackupService_SetAccessBindings_Handler,
		},
		{
			MethodName: "UpdateAccessBindings",
			Handler:    _BackupService_UpdateAccessBindings_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _BackupService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/ydb/v1/backup_service.proto",
}

BackupService_ServiceDesc is the grpc.ServiceDesc for BackupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var DatabaseService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.ydb.v1.DatabaseService",
	HandlerType: (*DatabaseServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _DatabaseService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _DatabaseService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _DatabaseService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _DatabaseService_Update_Handler,
		},
		{
			MethodName: "Start",
			Handler:    _DatabaseService_Start_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _DatabaseService_Stop_Handler,
		},
		{
			MethodName: "Move",
			Handler:    _DatabaseService_Move_Handler,
		},
		{
			MethodName: "ListAccessBindings",
			Handler:    _DatabaseService_ListAccessBindings_Handler,
		},
		{
			MethodName: "SetAccessBindings",
			Handler:    _DatabaseService_SetAccessBindings_Handler,
		},
		{
			MethodName: "UpdateAccessBindings",
			Handler:    _DatabaseService_UpdateAccessBindings_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _DatabaseService_Delete_Handler,
		},
		{
			MethodName: "Restore",
			Handler:    _DatabaseService_Restore_Handler,
		},
		{
			MethodName: "Backup",
			Handler:    _DatabaseService_Backup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/ydb/v1/database_service.proto",
}

DatabaseService_ServiceDesc is the grpc.ServiceDesc for DatabaseService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_yandex_cloud_ydb_v1_backup_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ydb_v1_backup_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ydb_v1_database_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ydb_v1_database_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ydb_v1_location_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ydb_v1_location_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ydb_v1_resource_preset_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ydb_v1_resource_preset_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ydb_v1_storage_type_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ydb_v1_storage_type_service_proto protoreflect.FileDescriptor
View Source
var LocationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.ydb.v1.LocationService",
	HandlerType: (*LocationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _LocationService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _LocationService_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/ydb/v1/location_service.proto",
}

LocationService_ServiceDesc is the grpc.ServiceDesc for LocationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ResourcePresetService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.ydb.v1.ResourcePresetService",
	HandlerType: (*ResourcePresetServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ResourcePresetService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ResourcePresetService_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/ydb/v1/resource_preset_service.proto",
}

ResourcePresetService_ServiceDesc is the grpc.ServiceDesc for ResourcePresetService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var StorageTypeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.ydb.v1.StorageTypeService",
	HandlerType: (*StorageTypeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _StorageTypeService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _StorageTypeService_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/ydb/v1/storage_type_service.proto",
}

StorageTypeService_ServiceDesc is the grpc.ServiceDesc for StorageTypeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterBackupServiceServer

func RegisterBackupServiceServer(s grpc.ServiceRegistrar, srv BackupServiceServer)

func RegisterDatabaseServiceServer

func RegisterDatabaseServiceServer(s grpc.ServiceRegistrar, srv DatabaseServiceServer)

func RegisterLocationServiceServer

func RegisterLocationServiceServer(s grpc.ServiceRegistrar, srv LocationServiceServer)

func RegisterResourcePresetServiceServer

func RegisterResourcePresetServiceServer(s grpc.ServiceRegistrar, srv ResourcePresetServiceServer)

func RegisterStorageTypeServiceServer

func RegisterStorageTypeServiceServer(s grpc.ServiceRegistrar, srv StorageTypeServiceServer)

Types

type Alert

type Alert struct {

	// output only field.
	AlertId string `protobuf:"bytes,1,opt,name=alert_id,json=alertId,proto3" json:"alert_id,omitempty"`
	// template of the alert.
	AlertTemplateId string `protobuf:"bytes,2,opt,name=alert_template_id,json=alertTemplateId,proto3" json:"alert_template_id,omitempty"`
	// name of the alert.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// human readable description of the alert.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// the notification channels of the alert.
	NotificationChannels []*NotificationChannel `protobuf:"bytes,5,rep,name=notification_channels,json=notificationChannels,proto3" json:"notification_channels,omitempty"`
	// alert parameters to override.
	AlertParameters []*AlertParameter `protobuf:"bytes,6,rep,name=alert_parameters,json=alertParameters,proto3" json:"alert_parameters,omitempty"`
	// alert paratemers to override.
	AlertThresholds []*AlertParameter `protobuf:"bytes,7,rep,name=alert_thresholds,json=alertThresholds,proto3" json:"alert_thresholds,omitempty"`
	// contains filtered or unexported fields
}

func (*Alert) Descriptor deprecated

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

Deprecated: Use Alert.ProtoReflect.Descriptor instead.

func (*Alert) GetAlertId

func (x *Alert) GetAlertId() string

func (*Alert) GetAlertParameters

func (x *Alert) GetAlertParameters() []*AlertParameter

func (*Alert) GetAlertTemplateId

func (x *Alert) GetAlertTemplateId() string

func (*Alert) GetAlertThresholds

func (x *Alert) GetAlertThresholds() []*AlertParameter

func (*Alert) GetDescription

func (x *Alert) GetDescription() string

func (*Alert) GetName

func (x *Alert) GetName() string

func (*Alert) GetNotificationChannels

func (x *Alert) GetNotificationChannels() []*NotificationChannel

func (*Alert) ProtoMessage

func (*Alert) ProtoMessage()

func (*Alert) ProtoReflect

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

func (*Alert) Reset

func (x *Alert) Reset()

func (*Alert) SetAlertId

func (m *Alert) SetAlertId(v string)

func (*Alert) SetAlertParameters

func (m *Alert) SetAlertParameters(v []*AlertParameter)

func (*Alert) SetAlertTemplateId

func (m *Alert) SetAlertTemplateId(v string)

func (*Alert) SetAlertThresholds

func (m *Alert) SetAlertThresholds(v []*AlertParameter)

func (*Alert) SetDescription

func (m *Alert) SetDescription(v string)

func (*Alert) SetName

func (m *Alert) SetName(v string)

func (*Alert) SetNotificationChannels

func (m *Alert) SetNotificationChannels(v []*NotificationChannel)

func (*Alert) String

func (x *Alert) String() string

type AlertEvaluationStatus

type AlertEvaluationStatus int32
const (
	AlertEvaluationStatus_ALERT_EVALUATION_STATUS_UNSPECIFIED AlertEvaluationStatus = 0
	AlertEvaluationStatus_ALERT_EVALUATION_STATUS_OK          AlertEvaluationStatus = 1
	AlertEvaluationStatus_ALERT_EVALUATION_STATUS_NO_DATA     AlertEvaluationStatus = 2
	AlertEvaluationStatus_ALERT_EVALUATION_STATUS_ERROR       AlertEvaluationStatus = 3
	AlertEvaluationStatus_ALERT_EVALUATION_STATUS_ALARM       AlertEvaluationStatus = 4
	AlertEvaluationStatus_ALERT_EVALUATION_STATUS_WARN        AlertEvaluationStatus = 5
)

func (AlertEvaluationStatus) Descriptor

func (AlertEvaluationStatus) Enum

func (AlertEvaluationStatus) EnumDescriptor deprecated

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

Deprecated: Use AlertEvaluationStatus.Descriptor instead.

func (AlertEvaluationStatus) Number

func (AlertEvaluationStatus) String

func (x AlertEvaluationStatus) String() string

func (AlertEvaluationStatus) Type

type AlertParameter

type AlertParameter struct {

	// Types that are assignable to Parameter:
	//
	//	*AlertParameter_DoubleParameterValue_
	//	*AlertParameter_IntegerParameterValue_
	//	*AlertParameter_TextParameterValue_
	//	*AlertParameter_TextListParameterValue_
	//	*AlertParameter_LabelListParameterValue_
	Parameter isAlertParameter_Parameter `protobuf_oneof:"parameter"`
	// contains filtered or unexported fields
}

func (*AlertParameter) Descriptor deprecated

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

Deprecated: Use AlertParameter.ProtoReflect.Descriptor instead.

func (*AlertParameter) GetDoubleParameterValue

func (x *AlertParameter) GetDoubleParameterValue() *AlertParameter_DoubleParameterValue

func (*AlertParameter) GetIntegerParameterValue

func (x *AlertParameter) GetIntegerParameterValue() *AlertParameter_IntegerParameterValue

func (*AlertParameter) GetLabelListParameterValue

func (x *AlertParameter) GetLabelListParameterValue() *AlertParameter_LabelListParameterValue

func (*AlertParameter) GetParameter

func (m *AlertParameter) GetParameter() isAlertParameter_Parameter

func (*AlertParameter) GetTextListParameterValue

func (x *AlertParameter) GetTextListParameterValue() *AlertParameter_TextListParameterValue

func (*AlertParameter) GetTextParameterValue

func (x *AlertParameter) GetTextParameterValue() *AlertParameter_TextParameterValue

func (*AlertParameter) ProtoMessage

func (*AlertParameter) ProtoMessage()

func (*AlertParameter) ProtoReflect

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

func (*AlertParameter) Reset

func (x *AlertParameter) Reset()

func (*AlertParameter) SetDoubleParameterValue

func (m *AlertParameter) SetDoubleParameterValue(v *AlertParameter_DoubleParameterValue)

func (*AlertParameter) SetIntegerParameterValue

func (m *AlertParameter) SetIntegerParameterValue(v *AlertParameter_IntegerParameterValue)

func (*AlertParameter) SetLabelListParameterValue

func (m *AlertParameter) SetLabelListParameterValue(v *AlertParameter_LabelListParameterValue)

func (*AlertParameter) SetParameter

func (m *AlertParameter) SetParameter(v AlertParameter_Parameter)

func (*AlertParameter) SetTextListParameterValue

func (m *AlertParameter) SetTextListParameterValue(v *AlertParameter_TextListParameterValue)

func (*AlertParameter) SetTextParameterValue

func (m *AlertParameter) SetTextParameterValue(v *AlertParameter_TextParameterValue)

func (*AlertParameter) String

func (x *AlertParameter) String() string

type AlertParameter_DoubleParameterValue

type AlertParameter_DoubleParameterValue struct {

	// Required. Parameter name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Parameter value
	Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertParameter_DoubleParameterValue) Descriptor deprecated

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

Deprecated: Use AlertParameter_DoubleParameterValue.ProtoReflect.Descriptor instead.

func (*AlertParameter_DoubleParameterValue) GetName

func (*AlertParameter_DoubleParameterValue) GetValue

func (*AlertParameter_DoubleParameterValue) ProtoMessage

func (*AlertParameter_DoubleParameterValue) ProtoMessage()

func (*AlertParameter_DoubleParameterValue) ProtoReflect

func (*AlertParameter_DoubleParameterValue) Reset

func (*AlertParameter_DoubleParameterValue) SetName

func (*AlertParameter_DoubleParameterValue) SetValue

func (*AlertParameter_DoubleParameterValue) String

type AlertParameter_DoubleParameterValue_

type AlertParameter_DoubleParameterValue_ struct {
	DoubleParameterValue *AlertParameter_DoubleParameterValue `protobuf:"bytes,1,opt,name=double_parameter_value,json=doubleParameterValue,proto3,oneof"`
}

type AlertParameter_IntegerParameterValue

type AlertParameter_IntegerParameterValue struct {

	// Required. Parameter name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Parameter value
	Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertParameter_IntegerParameterValue) Descriptor deprecated

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

Deprecated: Use AlertParameter_IntegerParameterValue.ProtoReflect.Descriptor instead.

func (*AlertParameter_IntegerParameterValue) GetName

func (*AlertParameter_IntegerParameterValue) GetValue

func (*AlertParameter_IntegerParameterValue) ProtoMessage

func (*AlertParameter_IntegerParameterValue) ProtoMessage()

func (*AlertParameter_IntegerParameterValue) ProtoReflect

func (*AlertParameter_IntegerParameterValue) Reset

func (*AlertParameter_IntegerParameterValue) SetName

func (*AlertParameter_IntegerParameterValue) SetValue

func (*AlertParameter_IntegerParameterValue) String

type AlertParameter_IntegerParameterValue_

type AlertParameter_IntegerParameterValue_ struct {
	IntegerParameterValue *AlertParameter_IntegerParameterValue `protobuf:"bytes,2,opt,name=integer_parameter_value,json=integerParameterValue,proto3,oneof"`
}

type AlertParameter_LabelListParameterValue

type AlertParameter_LabelListParameterValue struct {

	// Required. Parameter name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Parameter value
	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertParameter_LabelListParameterValue) Descriptor deprecated

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

Deprecated: Use AlertParameter_LabelListParameterValue.ProtoReflect.Descriptor instead.

func (*AlertParameter_LabelListParameterValue) GetName

func (*AlertParameter_LabelListParameterValue) GetValues

func (*AlertParameter_LabelListParameterValue) ProtoMessage

func (*AlertParameter_LabelListParameterValue) ProtoReflect

func (*AlertParameter_LabelListParameterValue) Reset

func (*AlertParameter_LabelListParameterValue) SetName

func (*AlertParameter_LabelListParameterValue) SetValues

func (*AlertParameter_LabelListParameterValue) String

type AlertParameter_LabelListParameterValue_

type AlertParameter_LabelListParameterValue_ struct {
	LabelListParameterValue *AlertParameter_LabelListParameterValue `protobuf:"bytes,5,opt,name=label_list_parameter_value,json=labelListParameterValue,proto3,oneof"`
}

type AlertParameter_Parameter

type AlertParameter_Parameter = isAlertParameter_Parameter

type AlertParameter_TextListParameterValue

type AlertParameter_TextListParameterValue struct {

	// Required. Parameter name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Parameter value
	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertParameter_TextListParameterValue) Descriptor deprecated

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

Deprecated: Use AlertParameter_TextListParameterValue.ProtoReflect.Descriptor instead.

func (*AlertParameter_TextListParameterValue) GetName

func (*AlertParameter_TextListParameterValue) GetValues

func (*AlertParameter_TextListParameterValue) ProtoMessage

func (*AlertParameter_TextListParameterValue) ProtoMessage()

func (*AlertParameter_TextListParameterValue) ProtoReflect

func (*AlertParameter_TextListParameterValue) Reset

func (*AlertParameter_TextListParameterValue) SetName

func (*AlertParameter_TextListParameterValue) SetValues

func (*AlertParameter_TextListParameterValue) String

type AlertParameter_TextListParameterValue_

type AlertParameter_TextListParameterValue_ struct {
	TextListParameterValue *AlertParameter_TextListParameterValue `protobuf:"bytes,4,opt,name=text_list_parameter_value,json=textListParameterValue,proto3,oneof"`
}

type AlertParameter_TextParameterValue

type AlertParameter_TextParameterValue struct {

	// Required. Parameter name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Parameter value
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertParameter_TextParameterValue) Descriptor deprecated

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

Deprecated: Use AlertParameter_TextParameterValue.ProtoReflect.Descriptor instead.

func (*AlertParameter_TextParameterValue) GetName

func (*AlertParameter_TextParameterValue) GetValue

func (*AlertParameter_TextParameterValue) ProtoMessage

func (*AlertParameter_TextParameterValue) ProtoMessage()

func (*AlertParameter_TextParameterValue) ProtoReflect

func (*AlertParameter_TextParameterValue) Reset

func (*AlertParameter_TextParameterValue) SetName

func (*AlertParameter_TextParameterValue) SetValue

func (*AlertParameter_TextParameterValue) String

type AlertParameter_TextParameterValue_

type AlertParameter_TextParameterValue_ struct {
	TextParameterValue *AlertParameter_TextParameterValue `protobuf:"bytes,3,opt,name=text_parameter_value,json=textParameterValue,proto3,oneof"`
}

type Backup

type Backup struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// human readable backup name.
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	FolderId   string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	DatabaseId string `protobuf:"bytes,4,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// description of backup.
	Description string                 `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// indicates when backup started.
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// indicates when backup completed.
	CompletedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	Status      Backup_Status          `protobuf:"varint,9,opt,name=status,proto3,enum=yandex.cloud.ydb.v1.Backup_Status" json:"status,omitempty"`
	// settings used to make backup.
	BackupSettings *BackupSettings `protobuf:"bytes,10,opt,name=backup_settings,json=backupSettings,proto3" json:"backup_settings,omitempty"`
	Type           Backup_Type     `protobuf:"varint,11,opt,name=type,proto3,enum=yandex.cloud.ydb.v1.Backup_Type" json:"type,omitempty"`
	// size of backup in bytes.
	Size int64 `protobuf:"varint,12,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*Backup) Descriptor deprecated

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

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetBackupSettings

func (x *Backup) GetBackupSettings() *BackupSettings

func (*Backup) GetCompletedAt

func (x *Backup) GetCompletedAt() *timestamppb.Timestamp

func (*Backup) GetCreatedAt

func (x *Backup) GetCreatedAt() *timestamppb.Timestamp

func (*Backup) GetDatabaseId

func (x *Backup) GetDatabaseId() string

func (*Backup) GetDescription

func (x *Backup) GetDescription() string

func (*Backup) GetFolderId

func (x *Backup) GetFolderId() string

func (*Backup) GetId

func (x *Backup) GetId() string

func (*Backup) GetName

func (x *Backup) GetName() string

func (*Backup) GetSize

func (x *Backup) GetSize() int64

func (*Backup) GetStartedAt

func (x *Backup) GetStartedAt() *timestamppb.Timestamp

func (*Backup) GetStatus

func (x *Backup) GetStatus() Backup_Status

func (*Backup) GetType

func (x *Backup) GetType() Backup_Type

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

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

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) SetBackupSettings

func (m *Backup) SetBackupSettings(v *BackupSettings)

func (*Backup) SetCompletedAt

func (m *Backup) SetCompletedAt(v *timestamppb.Timestamp)

func (*Backup) SetCreatedAt

func (m *Backup) SetCreatedAt(v *timestamppb.Timestamp)

func (*Backup) SetDatabaseId

func (m *Backup) SetDatabaseId(v string)

func (*Backup) SetDescription

func (m *Backup) SetDescription(v string)

func (*Backup) SetFolderId

func (m *Backup) SetFolderId(v string)

func (*Backup) SetId

func (m *Backup) SetId(v string)

func (*Backup) SetName

func (m *Backup) SetName(v string)

func (*Backup) SetSize

func (m *Backup) SetSize(v int64)

func (*Backup) SetStartedAt

func (m *Backup) SetStartedAt(v *timestamppb.Timestamp)

func (*Backup) SetStatus

func (m *Backup) SetStatus(v Backup_Status)

func (*Backup) SetType

func (m *Backup) SetType(v Backup_Type)

func (*Backup) String

func (x *Backup) String() string

type BackupConfig

type BackupConfig struct {
	BackupSettings []*BackupSettings `protobuf:"bytes,1,rep,name=backup_settings,json=backupSettings,proto3" json:"backup_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupConfig) Descriptor deprecated

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

Deprecated: Use BackupConfig.ProtoReflect.Descriptor instead.

func (*BackupConfig) GetBackupSettings

func (x *BackupConfig) GetBackupSettings() []*BackupSettings

func (*BackupConfig) ProtoMessage

func (*BackupConfig) ProtoMessage()

func (*BackupConfig) ProtoReflect

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

func (*BackupConfig) Reset

func (x *BackupConfig) Reset()

func (*BackupConfig) SetBackupSettings

func (m *BackupConfig) SetBackupSettings(v []*BackupSettings)

func (*BackupConfig) String

func (x *BackupConfig) String() string

type BackupDatabaseMetadata

type BackupDatabaseMetadata struct {
	BackupId   string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	DatabaseId string `protobuf:"bytes,2,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupDatabaseMetadata) Descriptor deprecated

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

Deprecated: Use BackupDatabaseMetadata.ProtoReflect.Descriptor instead.

func (*BackupDatabaseMetadata) GetBackupId

func (x *BackupDatabaseMetadata) GetBackupId() string

func (*BackupDatabaseMetadata) GetDatabaseId

func (x *BackupDatabaseMetadata) GetDatabaseId() string

func (*BackupDatabaseMetadata) ProtoMessage

func (*BackupDatabaseMetadata) ProtoMessage()

func (*BackupDatabaseMetadata) ProtoReflect

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

func (*BackupDatabaseMetadata) Reset

func (x *BackupDatabaseMetadata) Reset()

func (*BackupDatabaseMetadata) SetBackupId

func (m *BackupDatabaseMetadata) SetBackupId(v string)

func (*BackupDatabaseMetadata) SetDatabaseId

func (m *BackupDatabaseMetadata) SetDatabaseId(v string)

func (*BackupDatabaseMetadata) String

func (x *BackupDatabaseMetadata) String() string

type BackupDatabaseRequest

type BackupDatabaseRequest struct {
	DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// custom backup options, if required.
	BackupSettings *BackupSettings `protobuf:"bytes,2,opt,name=backup_settings,json=backupSettings,proto3" json:"backup_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupDatabaseRequest) Descriptor deprecated

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

Deprecated: Use BackupDatabaseRequest.ProtoReflect.Descriptor instead.

func (*BackupDatabaseRequest) GetBackupSettings

func (x *BackupDatabaseRequest) GetBackupSettings() *BackupSettings

func (*BackupDatabaseRequest) GetDatabaseId

func (x *BackupDatabaseRequest) GetDatabaseId() string

func (*BackupDatabaseRequest) ProtoMessage

func (*BackupDatabaseRequest) ProtoMessage()

func (*BackupDatabaseRequest) ProtoReflect

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

func (*BackupDatabaseRequest) Reset

func (x *BackupDatabaseRequest) Reset()

func (*BackupDatabaseRequest) SetBackupSettings

func (m *BackupDatabaseRequest) SetBackupSettings(v *BackupSettings)

func (*BackupDatabaseRequest) SetDatabaseId

func (m *BackupDatabaseRequest) SetDatabaseId(v string)

func (*BackupDatabaseRequest) String

func (x *BackupDatabaseRequest) String() string

type BackupSchedule

type BackupSchedule struct {

	// Types that are assignable to Policy:
	//
	//	*BackupSchedule_DailyBackupSchedule
	//	*BackupSchedule_WeeklyBackupSchedule
	//	*BackupSchedule_RecurringBackupSchedule
	Policy isBackupSchedule_Policy `protobuf_oneof:"policy"`
	// output only field: when next backup will be executed
	// using provided schedule.
	NextExecuteTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=next_execute_time,json=nextExecuteTime,proto3" json:"next_execute_time,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupSchedule) Descriptor deprecated

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

Deprecated: Use BackupSchedule.ProtoReflect.Descriptor instead.

func (*BackupSchedule) GetDailyBackupSchedule

func (x *BackupSchedule) GetDailyBackupSchedule() *DailyBackupSchedule

func (*BackupSchedule) GetNextExecuteTime

func (x *BackupSchedule) GetNextExecuteTime() *timestamppb.Timestamp

func (*BackupSchedule) GetPolicy

func (m *BackupSchedule) GetPolicy() isBackupSchedule_Policy

func (*BackupSchedule) GetRecurringBackupSchedule

func (x *BackupSchedule) GetRecurringBackupSchedule() *RecurringBackupSchedule

func (*BackupSchedule) GetWeeklyBackupSchedule

func (x *BackupSchedule) GetWeeklyBackupSchedule() *WeeklyBackupSchedule

func (*BackupSchedule) ProtoMessage

func (*BackupSchedule) ProtoMessage()

func (*BackupSchedule) ProtoReflect

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

func (*BackupSchedule) Reset

func (x *BackupSchedule) Reset()

func (*BackupSchedule) SetDailyBackupSchedule

func (m *BackupSchedule) SetDailyBackupSchedule(v *DailyBackupSchedule)

func (*BackupSchedule) SetNextExecuteTime

func (m *BackupSchedule) SetNextExecuteTime(v *timestamppb.Timestamp)

func (*BackupSchedule) SetPolicy

func (m *BackupSchedule) SetPolicy(v BackupSchedule_Policy)

func (*BackupSchedule) SetRecurringBackupSchedule

func (m *BackupSchedule) SetRecurringBackupSchedule(v *RecurringBackupSchedule)

func (*BackupSchedule) SetWeeklyBackupSchedule

func (m *BackupSchedule) SetWeeklyBackupSchedule(v *WeeklyBackupSchedule)

func (*BackupSchedule) String

func (x *BackupSchedule) String() string

type BackupSchedule_DailyBackupSchedule

type BackupSchedule_DailyBackupSchedule struct {
	DailyBackupSchedule *DailyBackupSchedule `protobuf:"bytes,1,opt,name=daily_backup_schedule,json=dailyBackupSchedule,proto3,oneof"`
}

type BackupSchedule_Policy

type BackupSchedule_Policy = isBackupSchedule_Policy

type BackupSchedule_RecurringBackupSchedule

type BackupSchedule_RecurringBackupSchedule struct {
	RecurringBackupSchedule *RecurringBackupSchedule `protobuf:"bytes,4,opt,name=recurring_backup_schedule,json=recurringBackupSchedule,proto3,oneof"`
}

type BackupSchedule_WeeklyBackupSchedule

type BackupSchedule_WeeklyBackupSchedule struct {
	WeeklyBackupSchedule *WeeklyBackupSchedule `protobuf:"bytes,2,opt,name=weekly_backup_schedule,json=weeklyBackupSchedule,proto3,oneof"`
}

type BackupServiceClient

type BackupServiceClient interface {
	// Returns the specified backup.
	Get(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
	ListPaths(ctx context.Context, in *ListPathsRequest, opts ...grpc.CallOption) (*ListPathsResponse, error)
	// Retrieves a list of backups.
	List(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
	ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
	SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified backup.
	Delete(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

BackupServiceClient is the client API for BackupService 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.

A set of methods for managing backups.

type BackupServiceServer

type BackupServiceServer interface {
	// Returns the specified backup.
	Get(context.Context, *GetBackupRequest) (*Backup, error)
	ListPaths(context.Context, *ListPathsRequest) (*ListPathsResponse, error)
	// Retrieves a list of backups.
	List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
	ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
	SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
	UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
	// Deletes the specified backup.
	Delete(context.Context, *DeleteBackupRequest) (*operation.Operation, error)
}

BackupServiceServer is the server API for BackupService service. All implementations should embed UnimplementedBackupServiceServer for forward compatibility.

A set of methods for managing backups.

type BackupSettings

type BackupSettings struct {

	// name of backup settings
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// human readable description.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// provide schedule. if empty, backup will be disabled.
	BackupSchedule *BackupSchedule `protobuf:"bytes,3,opt,name=backup_schedule,json=backupSchedule,proto3" json:"backup_schedule,omitempty"`
	// provide time to live of backup.
	BackupTimeToLive *durationpb.Duration `protobuf:"bytes,4,opt,name=backup_time_to_live,json=backupTimeToLive,proto3" json:"backup_time_to_live,omitempty"`
	// provide a list of source paths. Each path can be directory, table or even database itself.
	// Each directory (or database) will be traversed recursively and all childs of directory will be included to backup.
	// By default, backup will be created for full database.
	SourcePaths []string `protobuf:"bytes,5,rep,name=source_paths,json=sourcePaths,proto3" json:"source_paths,omitempty"`
	// provide a list of paths to exclude from backup.
	// Each path is a directory, table, or database.
	// Each directory (or database) will be traversed recursively and all childs of directory will be excluded.
	SourcePathsToExclude []string                    `protobuf:"bytes,6,rep,name=source_paths_to_exclude,json=sourcePathsToExclude,proto3" json:"source_paths_to_exclude,omitempty"`
	Type                 BackupSettings_Type         `protobuf:"varint,7,opt,name=type,proto3,enum=yandex.cloud.ydb.v1.BackupSettings_Type" json:"type,omitempty"`
	StorageClass         BackupSettings_StorageClass `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BackupSettings) Descriptor deprecated

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

Deprecated: Use BackupSettings.ProtoReflect.Descriptor instead.

func (*BackupSettings) GetBackupSchedule

func (x *BackupSettings) GetBackupSchedule() *BackupSchedule

func (*BackupSettings) GetBackupTimeToLive

func (x *BackupSettings) GetBackupTimeToLive() *durationpb.Duration

func (*BackupSettings) GetDescription

func (x *BackupSettings) GetDescription() string

func (*BackupSettings) GetName

func (x *BackupSettings) GetName() string

func (*BackupSettings) GetSourcePaths

func (x *BackupSettings) GetSourcePaths() []string

func (*BackupSettings) GetSourcePathsToExclude

func (x *BackupSettings) GetSourcePathsToExclude() []string

func (*BackupSettings) GetStorageClass

func (x *BackupSettings) GetStorageClass() BackupSettings_StorageClass

func (*BackupSettings) GetType

func (x *BackupSettings) GetType() BackupSettings_Type

func (*BackupSettings) ProtoMessage

func (*BackupSettings) ProtoMessage()

func (*BackupSettings) ProtoReflect

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

func (*BackupSettings) Reset

func (x *BackupSettings) Reset()

func (*BackupSettings) SetBackupSchedule

func (m *BackupSettings) SetBackupSchedule(v *BackupSchedule)

func (*BackupSettings) SetBackupTimeToLive

func (m *BackupSettings) SetBackupTimeToLive(v *durationpb.Duration)

func (*BackupSettings) SetDescription

func (m *BackupSettings) SetDescription(v string)

func (*BackupSettings) SetName

func (m *BackupSettings) SetName(v string)

func (*BackupSettings) SetSourcePaths

func (m *BackupSettings) SetSourcePaths(v []string)

func (*BackupSettings) SetSourcePathsToExclude

func (m *BackupSettings) SetSourcePathsToExclude(v []string)

func (*BackupSettings) SetStorageClass

func (m *BackupSettings) SetStorageClass(v BackupSettings_StorageClass)

func (*BackupSettings) SetType

func (m *BackupSettings) SetType(v BackupSettings_Type)

func (*BackupSettings) String

func (x *BackupSettings) String() string

type BackupSettings_StorageClass

type BackupSettings_StorageClass int32
const (
	BackupSettings_STORAGE_CLASS_UNSPECIFIED BackupSettings_StorageClass = 0
	BackupSettings_STANDARD                  BackupSettings_StorageClass = 1
	BackupSettings_REDUCED_REDUNDANCY        BackupSettings_StorageClass = 2
	BackupSettings_STANDARD_IA               BackupSettings_StorageClass = 3
	BackupSettings_ONEZONE_IA                BackupSettings_StorageClass = 4
	BackupSettings_INTELLIGENT_TIERING       BackupSettings_StorageClass = 5
	BackupSettings_GLACIER                   BackupSettings_StorageClass = 6
	BackupSettings_DEEP_ARCHIVE              BackupSettings_StorageClass = 7
	BackupSettings_OUTPOSTS                  BackupSettings_StorageClass = 8
)

func (BackupSettings_StorageClass) Descriptor

func (BackupSettings_StorageClass) Enum

func (BackupSettings_StorageClass) EnumDescriptor deprecated

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

Deprecated: Use BackupSettings_StorageClass.Descriptor instead.

func (BackupSettings_StorageClass) Number

func (BackupSettings_StorageClass) String

func (BackupSettings_StorageClass) Type

type BackupSettings_Type

type BackupSettings_Type int32
const (
	BackupSettings_TYPE_UNSPECIFIED BackupSettings_Type = 0
	BackupSettings_SYSTEM           BackupSettings_Type = 1
	BackupSettings_USER             BackupSettings_Type = 2
)

func (BackupSettings_Type) Descriptor

func (BackupSettings_Type) Enum

func (BackupSettings_Type) EnumDescriptor deprecated

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

Deprecated: Use BackupSettings_Type.Descriptor instead.

func (BackupSettings_Type) Number

func (BackupSettings_Type) String

func (x BackupSettings_Type) String() string

func (BackupSettings_Type) Type

type Backup_Status

type Backup_Status int32

id of backup

const (
	Backup_STATUS_UNSPECIFIED Backup_Status = 0
	Backup_CREATING           Backup_Status = 1
	Backup_READY              Backup_Status = 2
	Backup_ERROR              Backup_Status = 3
	Backup_CANCELLED          Backup_Status = 4
)

func (Backup_Status) Descriptor

func (Backup_Status) Enum

func (x Backup_Status) Enum() *Backup_Status

func (Backup_Status) EnumDescriptor deprecated

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

Deprecated: Use Backup_Status.Descriptor instead.

func (Backup_Status) Number

func (Backup_Status) String

func (x Backup_Status) String() string

func (Backup_Status) Type

type Backup_Type

type Backup_Type int32
const (
	Backup_TYPE_UNSPECIFIED Backup_Type = 0
	// indicates that backup started by the system.
	Backup_SYSTEM Backup_Type = 1
	Backup_USER   Backup_Type = 2
)

func (Backup_Type) Descriptor

func (Backup_Type) Enum

func (x Backup_Type) Enum() *Backup_Type

func (Backup_Type) EnumDescriptor deprecated

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

Deprecated: Use Backup_Type.Descriptor instead.

func (Backup_Type) Number

func (x Backup_Type) Number() protoreflect.EnumNumber

func (Backup_Type) String

func (x Backup_Type) String() string

func (Backup_Type) Type

type CreateDatabaseMetadata

type CreateDatabaseMetadata struct {

	// Required. ID of the YDB cluster.
	DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// Required. Name of the creating database.
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDatabaseMetadata) Descriptor deprecated

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

Deprecated: Use CreateDatabaseMetadata.ProtoReflect.Descriptor instead.

func (*CreateDatabaseMetadata) GetDatabaseId

func (x *CreateDatabaseMetadata) GetDatabaseId() string

func (*CreateDatabaseMetadata) GetDatabaseName

func (x *CreateDatabaseMetadata) GetDatabaseName() string

func (*CreateDatabaseMetadata) ProtoMessage

func (*CreateDatabaseMetadata) ProtoMessage()

func (*CreateDatabaseMetadata) ProtoReflect

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

func (*CreateDatabaseMetadata) Reset

func (x *CreateDatabaseMetadata) Reset()

func (*CreateDatabaseMetadata) SetDatabaseId

func (m *CreateDatabaseMetadata) SetDatabaseId(v string)

func (*CreateDatabaseMetadata) SetDatabaseName

func (m *CreateDatabaseMetadata) SetDatabaseName(v string)

func (*CreateDatabaseMetadata) String

func (x *CreateDatabaseMetadata) String() string

type CreateDatabaseRequest

type CreateDatabaseRequest struct {
	FolderId         string         `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	Name             string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description      string         `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	ResourcePresetId string         `protobuf:"bytes,4,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	StorageConfig    *StorageConfig `protobuf:"bytes,5,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
	ScalePolicy      *ScalePolicy   `protobuf:"bytes,6,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"`
	NetworkId        string         `protobuf:"bytes,7,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	SubnetIds        []string       `protobuf:"bytes,8,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"`
	// Types that are assignable to DatabaseType:
	//
	//	*CreateDatabaseRequest_ZonalDatabase
	//	*CreateDatabaseRequest_RegionalDatabase
	//	*CreateDatabaseRequest_DedicatedDatabase
	//	*CreateDatabaseRequest_ServerlessDatabase
	DatabaseType       isCreateDatabaseRequest_DatabaseType `protobuf_oneof:"database_type"`
	AssignPublicIps    bool                                 `protobuf:"varint,11,opt,name=assign_public_ips,json=assignPublicIps,proto3" json:"assign_public_ips,omitempty"`
	LocationId         string                               `protobuf:"bytes,12,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	Labels             map[string]string                    `` /* 154-byte string literal not displayed */
	BackupConfig       *BackupConfig                        `protobuf:"bytes,16,opt,name=backup_config,json=backupConfig,proto3" json:"backup_config,omitempty"`
	MonitoringConfig   *MonitoringConfig                    `protobuf:"bytes,17,opt,name=monitoring_config,json=monitoringConfig,proto3" json:"monitoring_config,omitempty"`
	DeletionProtection bool                                 `protobuf:"varint,18,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDatabaseRequest) Descriptor deprecated

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

Deprecated: Use CreateDatabaseRequest.ProtoReflect.Descriptor instead.

func (*CreateDatabaseRequest) GetAssignPublicIps

func (x *CreateDatabaseRequest) GetAssignPublicIps() bool

func (*CreateDatabaseRequest) GetBackupConfig

func (x *CreateDatabaseRequest) GetBackupConfig() *BackupConfig

func (*CreateDatabaseRequest) GetDatabaseType

func (m *CreateDatabaseRequest) GetDatabaseType() isCreateDatabaseRequest_DatabaseType

func (*CreateDatabaseRequest) GetDedicatedDatabase

func (x *CreateDatabaseRequest) GetDedicatedDatabase() *DedicatedDatabase

func (*CreateDatabaseRequest) GetDeletionProtection

func (x *CreateDatabaseRequest) GetDeletionProtection() bool

func (*CreateDatabaseRequest) GetDescription

func (x *CreateDatabaseRequest) GetDescription() string

func (*CreateDatabaseRequest) GetFolderId

func (x *CreateDatabaseRequest) GetFolderId() string

func (*CreateDatabaseRequest) GetLabels

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

func (*CreateDatabaseRequest) GetLocationId

func (x *CreateDatabaseRequest) GetLocationId() string

func (*CreateDatabaseRequest) GetMonitoringConfig

func (x *CreateDatabaseRequest) GetMonitoringConfig() *MonitoringConfig

func (*CreateDatabaseRequest) GetName

func (x *CreateDatabaseRequest) GetName() string

func (*CreateDatabaseRequest) GetNetworkId

func (x *CreateDatabaseRequest) GetNetworkId() string

func (*CreateDatabaseRequest) GetRegionalDatabase

func (x *CreateDatabaseRequest) GetRegionalDatabase() *RegionalDatabase

func (*CreateDatabaseRequest) GetResourcePresetId

func (x *CreateDatabaseRequest) GetResourcePresetId() string

func (*CreateDatabaseRequest) GetScalePolicy

func (x *CreateDatabaseRequest) GetScalePolicy() *ScalePolicy

func (*CreateDatabaseRequest) GetServerlessDatabase

func (x *CreateDatabaseRequest) GetServerlessDatabase() *ServerlessDatabase

func (*CreateDatabaseRequest) GetStorageConfig

func (x *CreateDatabaseRequest) GetStorageConfig() *StorageConfig

func (*CreateDatabaseRequest) GetSubnetIds

func (x *CreateDatabaseRequest) GetSubnetIds() []string

func (*CreateDatabaseRequest) GetZonalDatabase

func (x *CreateDatabaseRequest) GetZonalDatabase() *ZonalDatabase

func (*CreateDatabaseRequest) ProtoMessage

func (*CreateDatabaseRequest) ProtoMessage()

func (*CreateDatabaseRequest) ProtoReflect

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

func (*CreateDatabaseRequest) Reset

func (x *CreateDatabaseRequest) Reset()

func (*CreateDatabaseRequest) SetAssignPublicIps

func (m *CreateDatabaseRequest) SetAssignPublicIps(v bool)

func (*CreateDatabaseRequest) SetBackupConfig

func (m *CreateDatabaseRequest) SetBackupConfig(v *BackupConfig)

func (*CreateDatabaseRequest) SetDatabaseType

func (*CreateDatabaseRequest) SetDedicatedDatabase

func (m *CreateDatabaseRequest) SetDedicatedDatabase(v *DedicatedDatabase)

func (*CreateDatabaseRequest) SetDeletionProtection

func (m *CreateDatabaseRequest) SetDeletionProtection(v bool)

func (*CreateDatabaseRequest) SetDescription

func (m *CreateDatabaseRequest) SetDescription(v string)

func (*CreateDatabaseRequest) SetFolderId

func (m *CreateDatabaseRequest) SetFolderId(v string)

func (*CreateDatabaseRequest) SetLabels

func (m *CreateDatabaseRequest) SetLabels(v map[string]string)

func (*CreateDatabaseRequest) SetLocationId

func (m *CreateDatabaseRequest) SetLocationId(v string)

func (*CreateDatabaseRequest) SetMonitoringConfig

func (m *CreateDatabaseRequest) SetMonitoringConfig(v *MonitoringConfig)

func (*CreateDatabaseRequest) SetName

func (m *CreateDatabaseRequest) SetName(v string)

func (*CreateDatabaseRequest) SetNetworkId

func (m *CreateDatabaseRequest) SetNetworkId(v string)

func (*CreateDatabaseRequest) SetRegionalDatabase

func (m *CreateDatabaseRequest) SetRegionalDatabase(v *RegionalDatabase)

func (*CreateDatabaseRequest) SetResourcePresetId

func (m *CreateDatabaseRequest) SetResourcePresetId(v string)

func (*CreateDatabaseRequest) SetScalePolicy

func (m *CreateDatabaseRequest) SetScalePolicy(v *ScalePolicy)

func (*CreateDatabaseRequest) SetServerlessDatabase

func (m *CreateDatabaseRequest) SetServerlessDatabase(v *ServerlessDatabase)

func (*CreateDatabaseRequest) SetStorageConfig

func (m *CreateDatabaseRequest) SetStorageConfig(v *StorageConfig)

func (*CreateDatabaseRequest) SetSubnetIds

func (m *CreateDatabaseRequest) SetSubnetIds(v []string)

func (*CreateDatabaseRequest) SetZonalDatabase

func (m *CreateDatabaseRequest) SetZonalDatabase(v *ZonalDatabase)

func (*CreateDatabaseRequest) String

func (x *CreateDatabaseRequest) String() string

type CreateDatabaseRequest_DatabaseType

type CreateDatabaseRequest_DatabaseType = isCreateDatabaseRequest_DatabaseType

type CreateDatabaseRequest_DedicatedDatabase

type CreateDatabaseRequest_DedicatedDatabase struct {
	DedicatedDatabase *DedicatedDatabase `protobuf:"bytes,13,opt,name=dedicated_database,json=dedicatedDatabase,proto3,oneof"`
}

type CreateDatabaseRequest_RegionalDatabase

type CreateDatabaseRequest_RegionalDatabase struct {
	// deprecated field
	RegionalDatabase *RegionalDatabase `protobuf:"bytes,10,opt,name=regional_database,json=regionalDatabase,proto3,oneof"`
}

type CreateDatabaseRequest_ServerlessDatabase

type CreateDatabaseRequest_ServerlessDatabase struct {
	ServerlessDatabase *ServerlessDatabase `protobuf:"bytes,14,opt,name=serverless_database,json=serverlessDatabase,proto3,oneof"`
}

type CreateDatabaseRequest_ZonalDatabase

type CreateDatabaseRequest_ZonalDatabase struct {
	// deprecated field
	ZonalDatabase *ZonalDatabase `protobuf:"bytes,9,opt,name=zonal_database,json=zonalDatabase,proto3,oneof"`
}

type DailyBackupSchedule

type DailyBackupSchedule struct {
	ExecuteTime *timeofday.TimeOfDay `protobuf:"bytes,1,opt,name=execute_time,json=executeTime,proto3" json:"execute_time,omitempty"`
	// contains filtered or unexported fields
}

func (*DailyBackupSchedule) Descriptor deprecated

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

Deprecated: Use DailyBackupSchedule.ProtoReflect.Descriptor instead.

func (*DailyBackupSchedule) GetExecuteTime

func (x *DailyBackupSchedule) GetExecuteTime() *timeofday.TimeOfDay

func (*DailyBackupSchedule) ProtoMessage

func (*DailyBackupSchedule) ProtoMessage()

func (*DailyBackupSchedule) ProtoReflect

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

func (*DailyBackupSchedule) Reset

func (x *DailyBackupSchedule) Reset()

func (*DailyBackupSchedule) SetExecuteTime

func (m *DailyBackupSchedule) SetExecuteTime(v *timeofday.TimeOfDay)

func (*DailyBackupSchedule) String

func (x *DailyBackupSchedule) String() string

type Database

type Database struct {
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FolderId         string                 `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	CreatedAt        *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Name             string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Description      string                 `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Status           Database_Status        `protobuf:"varint,6,opt,name=status,proto3,enum=yandex.cloud.ydb.v1.Database_Status" json:"status,omitempty"`
	Endpoint         string                 `protobuf:"bytes,8,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	ResourcePresetId string                 `protobuf:"bytes,9,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	StorageConfig    *StorageConfig         `protobuf:"bytes,10,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
	ScalePolicy      *ScalePolicy           `protobuf:"bytes,11,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"`
	NetworkId        string                 `protobuf:"bytes,12,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	SubnetIds        []string               `protobuf:"bytes,13,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"`
	// Types that are assignable to DatabaseType:
	//
	//	*Database_ZonalDatabase
	//	*Database_RegionalDatabase
	//	*Database_DedicatedDatabase
	//	*Database_ServerlessDatabase
	DatabaseType        isDatabase_DatabaseType `protobuf_oneof:"database_type"`
	AssignPublicIps     bool                    `protobuf:"varint,16,opt,name=assign_public_ips,json=assignPublicIps,proto3" json:"assign_public_ips,omitempty"`
	LocationId          string                  `protobuf:"bytes,17,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	Labels              map[string]string       `` /* 154-byte string literal not displayed */
	BackupConfig        *BackupConfig           `protobuf:"bytes,21,opt,name=backup_config,json=backupConfig,proto3" json:"backup_config,omitempty"`
	DocumentApiEndpoint string                  `protobuf:"bytes,22,opt,name=document_api_endpoint,json=documentApiEndpoint,proto3" json:"document_api_endpoint,omitempty"`
	KinesisApiEndpoint  string                  `protobuf:"bytes,23,opt,name=kinesis_api_endpoint,json=kinesisApiEndpoint,proto3" json:"kinesis_api_endpoint,omitempty"`
	KafkaApiEndpoint    string                  `protobuf:"bytes,26,opt,name=kafka_api_endpoint,json=kafkaApiEndpoint,proto3" json:"kafka_api_endpoint,omitempty"`
	MonitoringConfig    *MonitoringConfig       `protobuf:"bytes,24,opt,name=monitoring_config,json=monitoringConfig,proto3" json:"monitoring_config,omitempty"`
	DeletionProtection  bool                    `protobuf:"varint,25,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

YDB database.

func (*Database) Descriptor deprecated

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

Deprecated: Use Database.ProtoReflect.Descriptor instead.

func (*Database) GetAssignPublicIps

func (x *Database) GetAssignPublicIps() bool

func (*Database) GetBackupConfig

func (x *Database) GetBackupConfig() *BackupConfig

func (*Database) GetCreatedAt

func (x *Database) GetCreatedAt() *timestamppb.Timestamp

func (*Database) GetDatabaseType

func (m *Database) GetDatabaseType() isDatabase_DatabaseType

func (*Database) GetDedicatedDatabase

func (x *Database) GetDedicatedDatabase() *DedicatedDatabase

func (*Database) GetDeletionProtection

func (x *Database) GetDeletionProtection() bool

func (*Database) GetDescription

func (x *Database) GetDescription() string

func (*Database) GetDocumentApiEndpoint

func (x *Database) GetDocumentApiEndpoint() string

func (*Database) GetEndpoint

func (x *Database) GetEndpoint() string

func (*Database) GetFolderId

func (x *Database) GetFolderId() string

func (*Database) GetId

func (x *Database) GetId() string

func (*Database) GetKafkaApiEndpoint

func (x *Database) GetKafkaApiEndpoint() string

func (*Database) GetKinesisApiEndpoint

func (x *Database) GetKinesisApiEndpoint() string

func (*Database) GetLabels

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

func (*Database) GetLocationId

func (x *Database) GetLocationId() string

func (*Database) GetMonitoringConfig

func (x *Database) GetMonitoringConfig() *MonitoringConfig

func (*Database) GetName

func (x *Database) GetName() string

func (*Database) GetNetworkId

func (x *Database) GetNetworkId() string

func (*Database) GetRegionalDatabase

func (x *Database) GetRegionalDatabase() *RegionalDatabase

func (*Database) GetResourcePresetId

func (x *Database) GetResourcePresetId() string

func (*Database) GetScalePolicy

func (x *Database) GetScalePolicy() *ScalePolicy

func (*Database) GetServerlessDatabase

func (x *Database) GetServerlessDatabase() *ServerlessDatabase

func (*Database) GetStatus

func (x *Database) GetStatus() Database_Status

func (*Database) GetStorageConfig

func (x *Database) GetStorageConfig() *StorageConfig

func (*Database) GetSubnetIds

func (x *Database) GetSubnetIds() []string

func (*Database) GetZonalDatabase

func (x *Database) GetZonalDatabase() *ZonalDatabase

func (*Database) ProtoMessage

func (*Database) ProtoMessage()

func (*Database) ProtoReflect

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

func (*Database) Reset

func (x *Database) Reset()

func (*Database) SetAssignPublicIps

func (m *Database) SetAssignPublicIps(v bool)

func (*Database) SetBackupConfig

func (m *Database) SetBackupConfig(v *BackupConfig)

func (*Database) SetCreatedAt

func (m *Database) SetCreatedAt(v *timestamppb.Timestamp)

func (*Database) SetDatabaseType

func (m *Database) SetDatabaseType(v Database_DatabaseType)

func (*Database) SetDedicatedDatabase

func (m *Database) SetDedicatedDatabase(v *DedicatedDatabase)

func (*Database) SetDeletionProtection

func (m *Database) SetDeletionProtection(v bool)

func (*Database) SetDescription

func (m *Database) SetDescription(v string)

func (*Database) SetDocumentApiEndpoint

func (m *Database) SetDocumentApiEndpoint(v string)

func (*Database) SetEndpoint

func (m *Database) SetEndpoint(v string)

func (*Database) SetFolderId

func (m *Database) SetFolderId(v string)

func (*Database) SetId

func (m *Database) SetId(v string)

func (*Database) SetKafkaApiEndpoint

func (m *Database) SetKafkaApiEndpoint(v string)

func (*Database) SetKinesisApiEndpoint

func (m *Database) SetKinesisApiEndpoint(v string)

func (*Database) SetLabels

func (m *Database) SetLabels(v map[string]string)

func (*Database) SetLocationId

func (m *Database) SetLocationId(v string)

func (*Database) SetMonitoringConfig

func (m *Database) SetMonitoringConfig(v *MonitoringConfig)

func (*Database) SetName

func (m *Database) SetName(v string)

func (*Database) SetNetworkId

func (m *Database) SetNetworkId(v string)

func (*Database) SetRegionalDatabase

func (m *Database) SetRegionalDatabase(v *RegionalDatabase)

func (*Database) SetResourcePresetId

func (m *Database) SetResourcePresetId(v string)

func (*Database) SetScalePolicy

func (m *Database) SetScalePolicy(v *ScalePolicy)

func (*Database) SetServerlessDatabase

func (m *Database) SetServerlessDatabase(v *ServerlessDatabase)

func (*Database) SetStatus

func (m *Database) SetStatus(v Database_Status)

func (*Database) SetStorageConfig

func (m *Database) SetStorageConfig(v *StorageConfig)

func (*Database) SetSubnetIds

func (m *Database) SetSubnetIds(v []string)

func (*Database) SetZonalDatabase

func (m *Database) SetZonalDatabase(v *ZonalDatabase)

func (*Database) String

func (x *Database) String() string

type DatabaseServiceClient

type DatabaseServiceClient interface {
	// Returns the specified database.
	Get(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error)
	// Retrieves a list of databases.
	List(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error)
	// Creates a new database.
	Create(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Modifies the specified database.
	Update(ctx context.Context, in *UpdateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Starts the specified database.
	Start(ctx context.Context, in *StartDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Stops the specified database.
	Stop(ctx context.Context, in *StopDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	Move(ctx context.Context, in *MoveDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
	SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified database.
	Delete(ctx context.Context, in *DeleteDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Restores the specified backup
	Restore(ctx context.Context, in *RestoreBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	Backup(ctx context.Context, in *BackupDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

DatabaseServiceClient is the client API for DatabaseService 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.

A set of methods for managing databases.

type DatabaseServiceServer

type DatabaseServiceServer interface {
	// Returns the specified database.
	Get(context.Context, *GetDatabaseRequest) (*Database, error)
	// Retrieves a list of databases.
	List(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
	// Creates a new database.
	Create(context.Context, *CreateDatabaseRequest) (*operation.Operation, error)
	// Modifies the specified database.
	Update(context.Context, *UpdateDatabaseRequest) (*operation.Operation, error)
	// Starts the specified database.
	Start(context.Context, *StartDatabaseRequest) (*operation.Operation, error)
	// Stops the specified database.
	Stop(context.Context, *StopDatabaseRequest) (*operation.Operation, error)
	Move(context.Context, *MoveDatabaseRequest) (*operation.Operation, error)
	ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
	SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
	UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
	// Deletes the specified database.
	Delete(context.Context, *DeleteDatabaseRequest) (*operation.Operation, error)
	// Restores the specified backup
	Restore(context.Context, *RestoreBackupRequest) (*operation.Operation, error)
	Backup(context.Context, *BackupDatabaseRequest) (*operation.Operation, error)
}

DatabaseServiceServer is the server API for DatabaseService service. All implementations should embed UnimplementedDatabaseServiceServer for forward compatibility.

A set of methods for managing databases.

type Database_DatabaseType

type Database_DatabaseType = isDatabase_DatabaseType

type Database_DedicatedDatabase

type Database_DedicatedDatabase struct {
	DedicatedDatabase *DedicatedDatabase `protobuf:"bytes,18,opt,name=dedicated_database,json=dedicatedDatabase,proto3,oneof"`
}

type Database_RegionalDatabase

type Database_RegionalDatabase struct {
	// deprecated field
	RegionalDatabase *RegionalDatabase `protobuf:"bytes,15,opt,name=regional_database,json=regionalDatabase,proto3,oneof"`
}

type Database_ServerlessDatabase

type Database_ServerlessDatabase struct {
	ServerlessDatabase *ServerlessDatabase `protobuf:"bytes,19,opt,name=serverless_database,json=serverlessDatabase,proto3,oneof"`
}

type Database_Status

type Database_Status int32
const (
	Database_STATUS_UNSPECIFIED Database_Status = 0
	Database_PROVISIONING       Database_Status = 1
	Database_RUNNING            Database_Status = 2
	Database_UPDATING           Database_Status = 4
	Database_ERROR              Database_Status = 5
	Database_DELETING           Database_Status = 6
	Database_STARTING           Database_Status = 7
	Database_STOPPED            Database_Status = 8
)

func (Database_Status) Descriptor

func (Database_Status) Enum

func (x Database_Status) Enum() *Database_Status

func (Database_Status) EnumDescriptor deprecated

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

Deprecated: Use Database_Status.Descriptor instead.

func (Database_Status) Number

func (Database_Status) String

func (x Database_Status) String() string

func (Database_Status) Type

type Database_ZonalDatabase

type Database_ZonalDatabase struct {
	// deprecated field
	ZonalDatabase *ZonalDatabase `protobuf:"bytes,14,opt,name=zonal_database,json=zonalDatabase,proto3,oneof"`
}

type DaysOfWeekBackupSchedule

type DaysOfWeekBackupSchedule struct {
	Days        []dayofweek.DayOfWeek `protobuf:"varint,1,rep,packed,name=days,proto3,enum=google.type.DayOfWeek" json:"days,omitempty"`
	ExecuteTime *timeofday.TimeOfDay  `protobuf:"bytes,2,opt,name=execute_time,json=executeTime,proto3" json:"execute_time,omitempty"`
	// contains filtered or unexported fields
}

func (*DaysOfWeekBackupSchedule) Descriptor deprecated

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

Deprecated: Use DaysOfWeekBackupSchedule.ProtoReflect.Descriptor instead.

func (*DaysOfWeekBackupSchedule) GetDays

func (*DaysOfWeekBackupSchedule) GetExecuteTime

func (x *DaysOfWeekBackupSchedule) GetExecuteTime() *timeofday.TimeOfDay

func (*DaysOfWeekBackupSchedule) ProtoMessage

func (*DaysOfWeekBackupSchedule) ProtoMessage()

func (*DaysOfWeekBackupSchedule) ProtoReflect

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

func (*DaysOfWeekBackupSchedule) Reset

func (x *DaysOfWeekBackupSchedule) Reset()

func (*DaysOfWeekBackupSchedule) SetDays

func (*DaysOfWeekBackupSchedule) SetExecuteTime

func (m *DaysOfWeekBackupSchedule) SetExecuteTime(v *timeofday.TimeOfDay)

func (*DaysOfWeekBackupSchedule) String

func (x *DaysOfWeekBackupSchedule) String() string

type DedicatedDatabase

type DedicatedDatabase struct {
	ResourcePresetId string         `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	StorageConfig    *StorageConfig `protobuf:"bytes,2,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
	ScalePolicy      *ScalePolicy   `protobuf:"bytes,3,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"`
	NetworkId        string         `protobuf:"bytes,4,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	SubnetIds        []string       `protobuf:"bytes,5,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"`
	AssignPublicIps  bool           `protobuf:"varint,6,opt,name=assign_public_ips,json=assignPublicIps,proto3" json:"assign_public_ips,omitempty"`
	// contains filtered or unexported fields
}

func (*DedicatedDatabase) Descriptor deprecated

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

Deprecated: Use DedicatedDatabase.ProtoReflect.Descriptor instead.

func (*DedicatedDatabase) GetAssignPublicIps

func (x *DedicatedDatabase) GetAssignPublicIps() bool

func (*DedicatedDatabase) GetNetworkId

func (x *DedicatedDatabase) GetNetworkId() string

func (*DedicatedDatabase) GetResourcePresetId

func (x *DedicatedDatabase) GetResourcePresetId() string

func (*DedicatedDatabase) GetScalePolicy

func (x *DedicatedDatabase) GetScalePolicy() *ScalePolicy

func (*DedicatedDatabase) GetStorageConfig

func (x *DedicatedDatabase) GetStorageConfig() *StorageConfig

func (*DedicatedDatabase) GetSubnetIds

func (x *DedicatedDatabase) GetSubnetIds() []string

func (*DedicatedDatabase) ProtoMessage

func (*DedicatedDatabase) ProtoMessage()

func (*DedicatedDatabase) ProtoReflect

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

func (*DedicatedDatabase) Reset

func (x *DedicatedDatabase) Reset()

func (*DedicatedDatabase) SetAssignPublicIps

func (m *DedicatedDatabase) SetAssignPublicIps(v bool)

func (*DedicatedDatabase) SetNetworkId

func (m *DedicatedDatabase) SetNetworkId(v string)

func (*DedicatedDatabase) SetResourcePresetId

func (m *DedicatedDatabase) SetResourcePresetId(v string)

func (*DedicatedDatabase) SetScalePolicy

func (m *DedicatedDatabase) SetScalePolicy(v *ScalePolicy)

func (*DedicatedDatabase) SetStorageConfig

func (m *DedicatedDatabase) SetStorageConfig(v *StorageConfig)

func (*DedicatedDatabase) SetSubnetIds

func (m *DedicatedDatabase) SetSubnetIds(v []string)

func (*DedicatedDatabase) String

func (x *DedicatedDatabase) String() string

type DeleteBackupMetadata

type DeleteBackupMetadata struct {
	BackupId   string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	DatabaseId string `protobuf:"bytes,2,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBackupMetadata) Descriptor deprecated

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

Deprecated: Use DeleteBackupMetadata.ProtoReflect.Descriptor instead.

func (*DeleteBackupMetadata) GetBackupId

func (x *DeleteBackupMetadata) GetBackupId() string

func (*DeleteBackupMetadata) GetDatabaseId

func (x *DeleteBackupMetadata) GetDatabaseId() string

func (*DeleteBackupMetadata) ProtoMessage

func (*DeleteBackupMetadata) ProtoMessage()

func (*DeleteBackupMetadata) ProtoReflect

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

func (*DeleteBackupMetadata) Reset

func (x *DeleteBackupMetadata) Reset()

func (*DeleteBackupMetadata) SetBackupId

func (m *DeleteBackupMetadata) SetBackupId(v string)

func (*DeleteBackupMetadata) SetDatabaseId

func (m *DeleteBackupMetadata) SetDatabaseId(v string)

func (*DeleteBackupMetadata) String

func (x *DeleteBackupMetadata) String() string

type DeleteBackupRequest

type DeleteBackupRequest struct {
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBackupRequest) Descriptor deprecated

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

Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupRequest) GetBackupId

func (x *DeleteBackupRequest) GetBackupId() string

func (*DeleteBackupRequest) ProtoMessage

func (*DeleteBackupRequest) ProtoMessage()

func (*DeleteBackupRequest) ProtoReflect

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

func (*DeleteBackupRequest) Reset

func (x *DeleteBackupRequest) Reset()

func (*DeleteBackupRequest) SetBackupId

func (m *DeleteBackupRequest) SetBackupId(v string)

func (*DeleteBackupRequest) String

func (x *DeleteBackupRequest) String() string

type DeleteDatabaseMetadata

type DeleteDatabaseMetadata struct {
	DatabaseId   string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDatabaseMetadata) Descriptor deprecated

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

Deprecated: Use DeleteDatabaseMetadata.ProtoReflect.Descriptor instead.

func (*DeleteDatabaseMetadata) GetDatabaseId

func (x *DeleteDatabaseMetadata) GetDatabaseId() string

func (*DeleteDatabaseMetadata) GetDatabaseName

func (x *DeleteDatabaseMetadata) GetDatabaseName() string

func (*DeleteDatabaseMetadata) ProtoMessage

func (*DeleteDatabaseMetadata) ProtoMessage()

func (*DeleteDatabaseMetadata) ProtoReflect

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

func (*DeleteDatabaseMetadata) Reset

func (x *DeleteDatabaseMetadata) Reset()

func (*DeleteDatabaseMetadata) SetDatabaseId

func (m *DeleteDatabaseMetadata) SetDatabaseId(v string)

func (*DeleteDatabaseMetadata) SetDatabaseName

func (m *DeleteDatabaseMetadata) SetDatabaseName(v string)

func (*DeleteDatabaseMetadata) String

func (x *DeleteDatabaseMetadata) String() string

type DeleteDatabaseRequest

type DeleteDatabaseRequest struct {
	DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDatabaseRequest) Descriptor deprecated

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

Deprecated: Use DeleteDatabaseRequest.ProtoReflect.Descriptor instead.

func (*DeleteDatabaseRequest) GetDatabaseId

func (x *DeleteDatabaseRequest) GetDatabaseId() string

func (*DeleteDatabaseRequest) ProtoMessage

func (*DeleteDatabaseRequest) ProtoMessage()

func (*DeleteDatabaseRequest) ProtoReflect

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

func (*DeleteDatabaseRequest) Reset

func (x *DeleteDatabaseRequest) Reset()

func (*DeleteDatabaseRequest) SetDatabaseId

func (m *DeleteDatabaseRequest) SetDatabaseId(v string)

func (*DeleteDatabaseRequest) String

func (x *DeleteDatabaseRequest) String() string

type GetBackupRequest

type GetBackupRequest struct {

	// Required. ID of the YDB backup.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBackupRequest) Descriptor deprecated

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

Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.

func (*GetBackupRequest) GetBackupId

func (x *GetBackupRequest) GetBackupId() string

func (*GetBackupRequest) ProtoMessage

func (*GetBackupRequest) ProtoMessage()

func (*GetBackupRequest) ProtoReflect

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

func (*GetBackupRequest) Reset

func (x *GetBackupRequest) Reset()

func (*GetBackupRequest) SetBackupId

func (m *GetBackupRequest) SetBackupId(v string)

func (*GetBackupRequest) String

func (x *GetBackupRequest) String() string

type GetDatabaseRequest

type GetDatabaseRequest struct {

	// Required. ID of the YDB cluster.
	DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDatabaseRequest) Descriptor deprecated

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

Deprecated: Use GetDatabaseRequest.ProtoReflect.Descriptor instead.

func (*GetDatabaseRequest) GetDatabaseId

func (x *GetDatabaseRequest) GetDatabaseId() string

func (*GetDatabaseRequest) ProtoMessage

func (*GetDatabaseRequest) ProtoMessage()

func (*GetDatabaseRequest) ProtoReflect

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

func (*GetDatabaseRequest) Reset

func (x *GetDatabaseRequest) Reset()

func (*GetDatabaseRequest) SetDatabaseId

func (m *GetDatabaseRequest) SetDatabaseId(v string)

func (*GetDatabaseRequest) String

func (x *GetDatabaseRequest) String() string

type GetLocationRequest

type GetLocationRequest struct {

	// Required. ID of the location to return.
	LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLocationRequest) Descriptor deprecated

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

Deprecated: Use GetLocationRequest.ProtoReflect.Descriptor instead.

func (*GetLocationRequest) GetLocationId

func (x *GetLocationRequest) GetLocationId() string

func (*GetLocationRequest) ProtoMessage

func (*GetLocationRequest) ProtoMessage()

func (*GetLocationRequest) ProtoReflect

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

func (*GetLocationRequest) Reset

func (x *GetLocationRequest) Reset()

func (*GetLocationRequest) SetLocationId

func (m *GetLocationRequest) SetLocationId(v string)

func (*GetLocationRequest) String

func (x *GetLocationRequest) String() string

type GetResourcePresetRequest

type GetResourcePresetRequest struct {

	// Required. ID of the resource preset to return.
	ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourcePresetRequest) Descriptor deprecated

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

Deprecated: Use GetResourcePresetRequest.ProtoReflect.Descriptor instead.

func (*GetResourcePresetRequest) GetResourcePresetId

func (x *GetResourcePresetRequest) GetResourcePresetId() string

func (*GetResourcePresetRequest) ProtoMessage

func (*GetResourcePresetRequest) ProtoMessage()

func (*GetResourcePresetRequest) ProtoReflect

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

func (*GetResourcePresetRequest) Reset

func (x *GetResourcePresetRequest) Reset()

func (*GetResourcePresetRequest) SetResourcePresetId

func (m *GetResourcePresetRequest) SetResourcePresetId(v string)

func (*GetResourcePresetRequest) String

func (x *GetResourcePresetRequest) String() string

type GetStorageTypeRequest

type GetStorageTypeRequest struct {

	// Required. ID of the storage type to return.
	StorageTypeId string `protobuf:"bytes,1,opt,name=storage_type_id,json=storageTypeId,proto3" json:"storage_type_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStorageTypeRequest) Descriptor deprecated

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

Deprecated: Use GetStorageTypeRequest.ProtoReflect.Descriptor instead.

func (*GetStorageTypeRequest) GetStorageTypeId

func (x *GetStorageTypeRequest) GetStorageTypeId() string

func (*GetStorageTypeRequest) ProtoMessage

func (*GetStorageTypeRequest) ProtoMessage()

func (*GetStorageTypeRequest) ProtoReflect

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

func (*GetStorageTypeRequest) Reset

func (x *GetStorageTypeRequest) Reset()

func (*GetStorageTypeRequest) SetStorageTypeId

func (m *GetStorageTypeRequest) SetStorageTypeId(v string)

func (*GetStorageTypeRequest) String

func (x *GetStorageTypeRequest) String() string

type ListBackupsRequest

type ListBackupsRequest struct {
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page that should be returned. If the number of available
	// results is larger than `page_size`, the service returns a `next_page_token` that can be used
	// to get the next page of results in subsequent ListBackups requests.
	// Acceptable values are 0 to 1000, inclusive. Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. Set `page_token` to the `next_page_token` returned by a previous ListBackups
	// request to get the next page of results.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupsRequest) Descriptor deprecated

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

Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupsRequest) GetFolderId

func (x *ListBackupsRequest) GetFolderId() string

func (*ListBackupsRequest) GetPageSize

func (x *ListBackupsRequest) GetPageSize() int64

func (*ListBackupsRequest) GetPageToken

func (x *ListBackupsRequest) GetPageToken() string

func (*ListBackupsRequest) ProtoMessage

func (*ListBackupsRequest) ProtoMessage()

func (*ListBackupsRequest) ProtoReflect

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

func (*ListBackupsRequest) Reset

func (x *ListBackupsRequest) Reset()

func (*ListBackupsRequest) SetFolderId

func (m *ListBackupsRequest) SetFolderId(v string)

func (*ListBackupsRequest) SetPageSize

func (m *ListBackupsRequest) SetPageSize(v int64)

func (*ListBackupsRequest) SetPageToken

func (m *ListBackupsRequest) SetPageToken(v string)

func (*ListBackupsRequest) String

func (x *ListBackupsRequest) String() string

type ListBackupsResponse

type ListBackupsResponse struct {
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// This token allows you to get the next page of results for ListBackups requests,
	// if the number of results is larger than `page_size` specified in the request.
	// To get the next page, specify the value of `next_page_token` as a value for
	// the `page_token` parameter in the next ListBackups request. Subsequent ListBackups
	// requests will have their own `next_page_token` to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupsResponse) Descriptor deprecated

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

Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListBackupsResponse) GetBackups

func (x *ListBackupsResponse) GetBackups() []*Backup

func (*ListBackupsResponse) GetNextPageToken

func (x *ListBackupsResponse) GetNextPageToken() string

func (*ListBackupsResponse) ProtoMessage

func (*ListBackupsResponse) ProtoMessage()

func (*ListBackupsResponse) ProtoReflect

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

func (*ListBackupsResponse) Reset

func (x *ListBackupsResponse) Reset()

func (*ListBackupsResponse) SetBackups

func (m *ListBackupsResponse) SetBackups(v []*Backup)

func (*ListBackupsResponse) SetNextPageToken

func (m *ListBackupsResponse) SetNextPageToken(v string)

func (*ListBackupsResponse) String

func (x *ListBackupsResponse) String() string

type ListDatabasesRequest

type ListDatabasesRequest struct {
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page that should be returned. If the number of available
	// results is larger than `page_size`, the service returns a `next_page_token` that can be used
	// to get the next page of results in subsequent ListDatabases requests.
	// Acceptable values are 0 to 1000, inclusive. Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. Set `page_token` to the `next_page_token` returned by a previous ListDatabases
	// request to get the next page of results.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDatabasesRequest) Descriptor deprecated

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

Deprecated: Use ListDatabasesRequest.ProtoReflect.Descriptor instead.

func (*ListDatabasesRequest) GetFolderId

func (x *ListDatabasesRequest) GetFolderId() string

func (*ListDatabasesRequest) GetPageSize

func (x *ListDatabasesRequest) GetPageSize() int64

func (*ListDatabasesRequest) GetPageToken

func (x *ListDatabasesRequest) GetPageToken() string

func (*ListDatabasesRequest) ProtoMessage

func (*ListDatabasesRequest) ProtoMessage()

func (*ListDatabasesRequest) ProtoReflect

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

func (*ListDatabasesRequest) Reset

func (x *ListDatabasesRequest) Reset()

func (*ListDatabasesRequest) SetFolderId

func (m *ListDatabasesRequest) SetFolderId(v string)

func (*ListDatabasesRequest) SetPageSize

func (m *ListDatabasesRequest) SetPageSize(v int64)

func (*ListDatabasesRequest) SetPageToken

func (m *ListDatabasesRequest) SetPageToken(v string)

func (*ListDatabasesRequest) String

func (x *ListDatabasesRequest) String() string

type ListDatabasesResponse

type ListDatabasesResponse struct {
	Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
	// This token allows you to get the next page of results for ListDatabases requests,
	// if the number of results is larger than `page_size` specified in the request.
	// To get the next page, specify the value of `next_page_token` as a value for
	// the `page_token` parameter in the next ListDatabases request. Subsequent ListDatabases
	// requests will have their own `next_page_token` to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDatabasesResponse) Descriptor deprecated

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

Deprecated: Use ListDatabasesResponse.ProtoReflect.Descriptor instead.

func (*ListDatabasesResponse) GetDatabases

func (x *ListDatabasesResponse) GetDatabases() []*Database

func (*ListDatabasesResponse) GetNextPageToken

func (x *ListDatabasesResponse) GetNextPageToken() string

func (*ListDatabasesResponse) ProtoMessage

func (*ListDatabasesResponse) ProtoMessage()

func (*ListDatabasesResponse) ProtoReflect

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

func (*ListDatabasesResponse) Reset

func (x *ListDatabasesResponse) Reset()

func (*ListDatabasesResponse) SetDatabases

func (m *ListDatabasesResponse) SetDatabases(v []*Database)

func (*ListDatabasesResponse) SetNextPageToken

func (m *ListDatabasesResponse) SetNextPageToken(v string)

func (*ListDatabasesResponse) String

func (x *ListDatabasesResponse) String() string

type ListLocationsRequest

type ListLocationsRequest struct {

	// The maximum number of results per page that should be returned. If the number of available
	// results is larger than `page_size`, the service returns a `next_page_token` that can be used
	// to get the next page of results in subsequent ListLocations requests.
	// Acceptable values are 0 to 1000, inclusive. Default value: 100.
	PageSize int64 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. Set `page_token` to the `next_page_token` returned by a previous ListLocations
	// request to get the next page of results.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLocationsRequest) Descriptor deprecated

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

Deprecated: Use ListLocationsRequest.ProtoReflect.Descriptor instead.

func (*ListLocationsRequest) GetPageSize

func (x *ListLocationsRequest) GetPageSize() int64

func (*ListLocationsRequest) GetPageToken

func (x *ListLocationsRequest) GetPageToken() string

func (*ListLocationsRequest) ProtoMessage

func (*ListLocationsRequest) ProtoMessage()

func (*ListLocationsRequest) ProtoReflect

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

func (*ListLocationsRequest) Reset

func (x *ListLocationsRequest) Reset()

func (*ListLocationsRequest) SetPageSize

func (m *ListLocationsRequest) SetPageSize(v int64)

func (*ListLocationsRequest) SetPageToken

func (m *ListLocationsRequest) SetPageToken(v string)

func (*ListLocationsRequest) String

func (x *ListLocationsRequest) String() string

type ListLocationsResponse

type ListLocationsResponse struct {

	// Requested list of locations.
	Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
	// This token allows you to get the next page of results for ListLocations requests,
	// if the number of results is larger than `page_size` specified in the request.
	// To get the next page, specify the value of `next_page_token` as a value for
	// the `page_token` parameter in the next ListLocations request. Subsequent ListLocations
	// requests will have their own `next_page_token` to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLocationsResponse) Descriptor deprecated

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

Deprecated: Use ListLocationsResponse.ProtoReflect.Descriptor instead.

func (*ListLocationsResponse) GetLocations

func (x *ListLocationsResponse) GetLocations() []*Location

func (*ListLocationsResponse) GetNextPageToken

func (x *ListLocationsResponse) GetNextPageToken() string

func (*ListLocationsResponse) ProtoMessage

func (*ListLocationsResponse) ProtoMessage()

func (*ListLocationsResponse) ProtoReflect

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

func (*ListLocationsResponse) Reset

func (x *ListLocationsResponse) Reset()

func (*ListLocationsResponse) SetLocations

func (m *ListLocationsResponse) SetLocations(v []*Location)

func (*ListLocationsResponse) SetNextPageToken

func (m *ListLocationsResponse) SetNextPageToken(v string)

func (*ListLocationsResponse) String

func (x *ListLocationsResponse) String() string

type ListPathsRequest

type ListPathsRequest struct {

	// Required. ID of the YDB backup.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// The maximum number of results per page that should be returned. If the number of available
	// results is larger than `page_size`, the service returns a `next_page_token` that can be used
	// to get the next page of results in subsequent ListPaths requests.
	// Acceptable values are 0 to 1000, inclusive. Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. Set `page_token` to the `next_page_token` returned by a previous ListPaths
	// request to get the next page of results.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPathsRequest) Descriptor deprecated

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

Deprecated: Use ListPathsRequest.ProtoReflect.Descriptor instead.

func (*ListPathsRequest) GetBackupId

func (x *ListPathsRequest) GetBackupId() string

func (*ListPathsRequest) GetPageSize

func (x *ListPathsRequest) GetPageSize() int64

func (*ListPathsRequest) GetPageToken

func (x *ListPathsRequest) GetPageToken() string

func (*ListPathsRequest) ProtoMessage

func (*ListPathsRequest) ProtoMessage()

func (*ListPathsRequest) ProtoReflect

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

func (*ListPathsRequest) Reset

func (x *ListPathsRequest) Reset()

func (*ListPathsRequest) SetBackupId

func (m *ListPathsRequest) SetBackupId(v string)

func (*ListPathsRequest) SetPageSize

func (m *ListPathsRequest) SetPageSize(v int64)

func (*ListPathsRequest) SetPageToken

func (m *ListPathsRequest) SetPageToken(v string)

func (*ListPathsRequest) String

func (x *ListPathsRequest) String() string

type ListPathsResponse

type ListPathsResponse struct {
	Paths         []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	NextPageToken string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPathsResponse) Descriptor deprecated

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

Deprecated: Use ListPathsResponse.ProtoReflect.Descriptor instead.

func (*ListPathsResponse) GetNextPageToken

func (x *ListPathsResponse) GetNextPageToken() string

func (*ListPathsResponse) GetPaths

func (x *ListPathsResponse) GetPaths() []string

func (*ListPathsResponse) ProtoMessage

func (*ListPathsResponse) ProtoMessage()

func (*ListPathsResponse) ProtoReflect

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

func (*ListPathsResponse) Reset

func (x *ListPathsResponse) Reset()

func (*ListPathsResponse) SetNextPageToken

func (m *ListPathsResponse) SetNextPageToken(v string)

func (*ListPathsResponse) SetPaths

func (m *ListPathsResponse) SetPaths(v []string)

func (*ListPathsResponse) String

func (x *ListPathsResponse) String() string

type ListResourcePresetsRequest

type ListResourcePresetsRequest struct {

	// The maximum number of results per page that should be returned. If the number of available
	// results is larger than `page_size`, the service returns a `next_page_token` that can be used
	// to get the next page of results in subsequent ListResourcePresets requests.
	// Acceptable values are 0 to 1000, inclusive. Default value: 100.
	PageSize int64 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. Set `page_token` to the `next_page_token` returned by a previous ListResourcePresets
	// request to get the next page of results.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcePresetsRequest) Descriptor deprecated

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

Deprecated: Use ListResourcePresetsRequest.ProtoReflect.Descriptor instead.

func (*ListResourcePresetsRequest) GetPageSize

func (x *ListResourcePresetsRequest) GetPageSize() int64

func (*ListResourcePresetsRequest) GetPageToken

func (x *ListResourcePresetsRequest) GetPageToken() string

func (*ListResourcePresetsRequest) ProtoMessage

func (*ListResourcePresetsRequest) ProtoMessage()

func (*ListResourcePresetsRequest) ProtoReflect

func (*ListResourcePresetsRequest) Reset

func (x *ListResourcePresetsRequest) Reset()

func (*ListResourcePresetsRequest) SetPageSize

func (m *ListResourcePresetsRequest) SetPageSize(v int64)

func (*ListResourcePresetsRequest) SetPageToken

func (m *ListResourcePresetsRequest) SetPageToken(v string)

func (*ListResourcePresetsRequest) String

func (x *ListResourcePresetsRequest) String() string

type ListResourcePresetsResponse

type ListResourcePresetsResponse struct {

	// Requested list of resource presets.
	ResourcePresets []*ResourcePreset `protobuf:"bytes,1,rep,name=resource_presets,json=resourcePresets,proto3" json:"resource_presets,omitempty"`
	// This token allows you to get the next page of results for ListResourcePresets requests,
	// if the number of results is larger than `page_size` specified in the request.
	// To get the next page, specify the value of `next_page_token` as a value for
	// the `page_token` parameter in the next ListResourcePresets request. Subsequent ListResourcePresets
	// requests will have their own `next_page_token` to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcePresetsResponse) Descriptor deprecated

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

Deprecated: Use ListResourcePresetsResponse.ProtoReflect.Descriptor instead.

func (*ListResourcePresetsResponse) GetNextPageToken

func (x *ListResourcePresetsResponse) GetNextPageToken() string

func (*ListResourcePresetsResponse) GetResourcePresets

func (x *ListResourcePresetsResponse) GetResourcePresets() []*ResourcePreset

func (*ListResourcePresetsResponse) ProtoMessage

func (*ListResourcePresetsResponse) ProtoMessage()

func (*ListResourcePresetsResponse) ProtoReflect

func (*ListResourcePresetsResponse) Reset

func (x *ListResourcePresetsResponse) Reset()

func (*ListResourcePresetsResponse) SetNextPageToken

func (m *ListResourcePresetsResponse) SetNextPageToken(v string)

func (*ListResourcePresetsResponse) SetResourcePresets

func (m *ListResourcePresetsResponse) SetResourcePresets(v []*ResourcePreset)

func (*ListResourcePresetsResponse) String

func (x *ListResourcePresetsResponse) String() string

type ListStorageTypesRequest

type ListStorageTypesRequest struct {

	// The maximum number of results per page that should be returned. If the number of available
	// results is larger than `page_size`, the service returns a `next_page_token` that can be used
	// to get the next page of results in subsequent ListStorageTypes requests.
	// Acceptable values are 0 to 1000, inclusive. Default value: 100.
	PageSize int64 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. Set `page_token` to the `next_page_token` returned by a previous ListStorageTypes
	// request to get the next page of results.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStorageTypesRequest) Descriptor deprecated

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

Deprecated: Use ListStorageTypesRequest.ProtoReflect.Descriptor instead.

func (*ListStorageTypesRequest) GetPageSize

func (x *ListStorageTypesRequest) GetPageSize() int64

func (*ListStorageTypesRequest) GetPageToken

func (x *ListStorageTypesRequest) GetPageToken() string

func (*ListStorageTypesRequest) ProtoMessage

func (*ListStorageTypesRequest) ProtoMessage()

func (*ListStorageTypesRequest) ProtoReflect

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

func (*ListStorageTypesRequest) Reset

func (x *ListStorageTypesRequest) Reset()

func (*ListStorageTypesRequest) SetPageSize

func (m *ListStorageTypesRequest) SetPageSize(v int64)

func (*ListStorageTypesRequest) SetPageToken

func (m *ListStorageTypesRequest) SetPageToken(v string)

func (*ListStorageTypesRequest) String

func (x *ListStorageTypesRequest) String() string

type ListStorageTypesResponse

type ListStorageTypesResponse struct {

	// Requested list of storage types.
	StorageTypes []*StorageType `protobuf:"bytes,1,rep,name=storage_types,json=storageTypes,proto3" json:"storage_types,omitempty"`
	// This token allows you to get the next page of results for ListStorageTypes requests,
	// if the number of results is larger than `page_size` specified in the request.
	// To get the next page, specify the value of `next_page_token` as a value for
	// the `page_token` parameter in the next ListStorageTypes request. Subsequent ListStorageTypes
	// requests will have their own `next_page_token` to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStorageTypesResponse) Descriptor deprecated

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

Deprecated: Use ListStorageTypesResponse.ProtoReflect.Descriptor instead.

func (*ListStorageTypesResponse) GetNextPageToken

func (x *ListStorageTypesResponse) GetNextPageToken() string

func (*ListStorageTypesResponse) GetStorageTypes

func (x *ListStorageTypesResponse) GetStorageTypes() []*StorageType

func (*ListStorageTypesResponse) ProtoMessage

func (*ListStorageTypesResponse) ProtoMessage()

func (*ListStorageTypesResponse) ProtoReflect

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

func (*ListStorageTypesResponse) Reset

func (x *ListStorageTypesResponse) Reset()

func (*ListStorageTypesResponse) SetNextPageToken

func (m *ListStorageTypesResponse) SetNextPageToken(v string)

func (*ListStorageTypesResponse) SetStorageTypes

func (m *ListStorageTypesResponse) SetStorageTypes(v []*StorageType)

func (*ListStorageTypesResponse) String

func (x *ListStorageTypesResponse) String() string

type Location

type Location struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Location) Descriptor deprecated

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

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetDescription

func (x *Location) GetDescription() string

func (*Location) GetId

func (x *Location) GetId() string

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

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

func (*Location) Reset

func (x *Location) Reset()

func (*Location) SetDescription

func (m *Location) SetDescription(v string)

func (*Location) SetId

func (m *Location) SetId(v string)

func (*Location) String

func (x *Location) String() string

type LocationServiceClient

type LocationServiceClient interface {
	// Returns the specified location.
	Get(ctx context.Context, in *GetLocationRequest, opts ...grpc.CallOption) (*Location, error)
	// Returns the list of available locations.
	List(ctx context.Context, in *ListLocationsRequest, opts ...grpc.CallOption) (*ListLocationsResponse, error)
}

LocationServiceClient is the client API for LocationService 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.

type LocationServiceServer

type LocationServiceServer interface {
	// Returns the specified location.
	Get(context.Context, *GetLocationRequest) (*Location, error)
	// Returns the list of available locations.
	List(context.Context, *ListLocationsRequest) (*ListLocationsResponse, error)
}

LocationServiceServer is the server API for LocationService service. All implementations should embed UnimplementedLocationServiceServer for forward compatibility.

type MonitoringConfig

type MonitoringConfig struct {
	Alerts []*Alert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty"`
	// contains filtered or unexported fields
}

func (*MonitoringConfig) Descriptor deprecated

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

Deprecated: Use MonitoringConfig.ProtoReflect.Descriptor instead.

func (*MonitoringConfig) GetAlerts

func (x *MonitoringConfig) GetAlerts() []*Alert

func (*MonitoringConfig) ProtoMessage

func (*MonitoringConfig) ProtoMessage()

func (*MonitoringConfig) ProtoReflect

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

func (*MonitoringConfig) Reset

func (x *MonitoringConfig) Reset()

func (*MonitoringConfig) SetAlerts

func (m *MonitoringConfig) SetAlerts(v []*Alert)

func (*MonitoringConfig) String

func (x *MonitoringConfig) String() string

type MoveDatabaseMetadata

type MoveDatabaseMetadata struct {
	DatabaseId   string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveDatabaseMetadata) Descriptor deprecated

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

Deprecated: Use MoveDatabaseMetadata.ProtoReflect.Descriptor instead.

func (*MoveDatabaseMetadata) GetDatabaseId

func (x *MoveDatabaseMetadata) GetDatabaseId() string

func (*MoveDatabaseMetadata) GetDatabaseName

func (x *MoveDatabaseMetadata) GetDatabaseName() string

func (*MoveDatabaseMetadata) ProtoMessage

func (*MoveDatabaseMetadata) ProtoMessage()

func (*MoveDatabaseMetadata) ProtoReflect

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

func (*MoveDatabaseMetadata) Reset

func (x *MoveDatabaseMetadata) Reset()

func (*MoveDatabaseMetadata) SetDatabaseId

func (m *MoveDatabaseMetadata) SetDatabaseId(v string)

func (*MoveDatabaseMetadata) SetDatabaseName

func (m *MoveDatabaseMetadata) SetDatabaseName(v string)

func (*MoveDatabaseMetadata) String

func (x *MoveDatabaseMetadata) String() string

type MoveDatabaseRequest

type MoveDatabaseRequest struct {

	// ID of the YDB instance to move.
	DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// ID of the destination folder.
	DestinationFolderId string `protobuf:"bytes,2,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveDatabaseRequest) Descriptor deprecated

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

Deprecated: Use MoveDatabaseRequest.ProtoReflect.Descriptor instead.

func (*MoveDatabaseRequest) GetDatabaseId

func (x *MoveDatabaseRequest) GetDatabaseId() string

func (*MoveDatabaseRequest) GetDestinationFolderId

func (x *MoveDatabaseRequest) GetDestinationFolderId() string

func (*MoveDatabaseRequest) ProtoMessage

func (*MoveDatabaseRequest) ProtoMessage()

func (*MoveDatabaseRequest) ProtoReflect

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

func (*MoveDatabaseRequest) Reset

func (x *MoveDatabaseRequest) Reset()

func (*MoveDatabaseRequest) SetDatabaseId

func (m *MoveDatabaseRequest) SetDatabaseId(v string)

func (*MoveDatabaseRequest) SetDestinationFolderId

func (m *MoveDatabaseRequest) SetDestinationFolderId(v string)

func (*MoveDatabaseRequest) String

func (x *MoveDatabaseRequest) String() string

type NotificationChannel

type NotificationChannel struct {
	NotificationChannelId string                  `` /* 126-byte string literal not displayed */
	NotifyAboutStatuses   []AlertEvaluationStatus `` /* 175-byte string literal not displayed */
	RepeateNotifyDelayMs  int64                   `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NotificationChannel) Descriptor deprecated

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

Deprecated: Use NotificationChannel.ProtoReflect.Descriptor instead.

func (*NotificationChannel) GetNotificationChannelId

func (x *NotificationChannel) GetNotificationChannelId() string

func (*NotificationChannel) GetNotifyAboutStatuses

func (x *NotificationChannel) GetNotifyAboutStatuses() []AlertEvaluationStatus

func (*NotificationChannel) GetRepeateNotifyDelayMs

func (x *NotificationChannel) GetRepeateNotifyDelayMs() int64

func (*NotificationChannel) ProtoMessage

func (*NotificationChannel) ProtoMessage()

func (*NotificationChannel) ProtoReflect

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

func (*NotificationChannel) Reset

func (x *NotificationChannel) Reset()

func (*NotificationChannel) SetNotificationChannelId

func (m *NotificationChannel) SetNotificationChannelId(v string)

func (*NotificationChannel) SetNotifyAboutStatuses

func (m *NotificationChannel) SetNotifyAboutStatuses(v []AlertEvaluationStatus)

func (*NotificationChannel) SetRepeateNotifyDelayMs

func (m *NotificationChannel) SetRepeateNotifyDelayMs(v int64)

func (*NotificationChannel) String

func (x *NotificationChannel) String() string

type RecurringBackupSchedule

type RecurringBackupSchedule struct {

	// Timestamp of the first recurrence.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
	// this backup reccurs.
	// The FREQ values of MINUTELY, and SECONDLY are not supported.
	Recurrence string `protobuf:"bytes,2,opt,name=recurrence,proto3" json:"recurrence,omitempty"`
	// contains filtered or unexported fields
}

func (*RecurringBackupSchedule) Descriptor deprecated

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

Deprecated: Use RecurringBackupSchedule.ProtoReflect.Descriptor instead.

func (*RecurringBackupSchedule) GetRecurrence

func (x *RecurringBackupSchedule) GetRecurrence() string

func (*RecurringBackupSchedule) GetStartTime

func (x *RecurringBackupSchedule) GetStartTime() *timestamppb.Timestamp

func (*RecurringBackupSchedule) ProtoMessage

func (*RecurringBackupSchedule) ProtoMessage()

func (*RecurringBackupSchedule) ProtoReflect

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

func (*RecurringBackupSchedule) Reset

func (x *RecurringBackupSchedule) Reset()

func (*RecurringBackupSchedule) SetRecurrence

func (m *RecurringBackupSchedule) SetRecurrence(v string)

func (*RecurringBackupSchedule) SetStartTime

func (m *RecurringBackupSchedule) SetStartTime(v *timestamppb.Timestamp)

func (*RecurringBackupSchedule) String

func (x *RecurringBackupSchedule) String() string

type RegionalDatabase

type RegionalDatabase struct {
	RegionId string `protobuf:"bytes,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RegionalDatabase) Descriptor deprecated

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

Deprecated: Use RegionalDatabase.ProtoReflect.Descriptor instead.

func (*RegionalDatabase) GetRegionId

func (x *RegionalDatabase) GetRegionId() string

func (*RegionalDatabase) ProtoMessage

func (*RegionalDatabase) ProtoMessage()

func (*RegionalDatabase) ProtoReflect

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

func (*RegionalDatabase) Reset

func (x *RegionalDatabase) Reset()

func (*RegionalDatabase) SetRegionId

func (m *RegionalDatabase) SetRegionId(v string)

func (*RegionalDatabase) String

func (x *RegionalDatabase) String() string

type ResourcePreset

type ResourcePreset struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Cores  int64  `protobuf:"varint,2,opt,name=cores,proto3" json:"cores,omitempty"`
	Memory int64  `protobuf:"varint,3,opt,name=memory,proto3" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourcePreset) Descriptor deprecated

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

Deprecated: Use ResourcePreset.ProtoReflect.Descriptor instead.

func (*ResourcePreset) GetCores

func (x *ResourcePreset) GetCores() int64

func (*ResourcePreset) GetId

func (x *ResourcePreset) GetId() string

func (*ResourcePreset) GetMemory

func (x *ResourcePreset) GetMemory() int64

func (*ResourcePreset) ProtoMessage

func (*ResourcePreset) ProtoMessage()

func (*ResourcePreset) ProtoReflect

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

func (*ResourcePreset) Reset

func (x *ResourcePreset) Reset()

func (*ResourcePreset) SetCores

func (m *ResourcePreset) SetCores(v int64)

func (*ResourcePreset) SetId

func (m *ResourcePreset) SetId(v string)

func (*ResourcePreset) SetMemory

func (m *ResourcePreset) SetMemory(v int64)

func (*ResourcePreset) String

func (x *ResourcePreset) String() string

type ResourcePresetServiceClient

type ResourcePresetServiceClient interface {
	// Returns the specified resource preset.
	Get(ctx context.Context, in *GetResourcePresetRequest, opts ...grpc.CallOption) (*ResourcePreset, error)
	// Returns the list of available resource presets.
	List(ctx context.Context, in *ListResourcePresetsRequest, opts ...grpc.CallOption) (*ListResourcePresetsResponse, error)
}

ResourcePresetServiceClient is the client API for ResourcePresetService 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.

type ResourcePresetServiceServer

type ResourcePresetServiceServer interface {
	// Returns the specified resource preset.
	Get(context.Context, *GetResourcePresetRequest) (*ResourcePreset, error)
	// Returns the list of available resource presets.
	List(context.Context, *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error)
}

ResourcePresetServiceServer is the server API for ResourcePresetService service. All implementations should embed UnimplementedResourcePresetServiceServer for forward compatibility.

type RestoreBackupMetadata

type RestoreBackupMetadata struct {
	BackupId   string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	DatabaseId string `protobuf:"bytes,2,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreBackupMetadata) Descriptor deprecated

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

Deprecated: Use RestoreBackupMetadata.ProtoReflect.Descriptor instead.

func (*RestoreBackupMetadata) GetBackupId

func (x *RestoreBackupMetadata) GetBackupId() string

func (*RestoreBackupMetadata) GetDatabaseId

func (x *RestoreBackupMetadata) GetDatabaseId() string

func (*RestoreBackupMetadata) ProtoMessage

func (*RestoreBackupMetadata) ProtoMessage()

func (*RestoreBackupMetadata) ProtoReflect

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

func (*RestoreBackupMetadata) Reset

func (x *RestoreBackupMetadata) Reset()

func (*RestoreBackupMetadata) SetBackupId

func (m *RestoreBackupMetadata) SetBackupId(v string)

func (*RestoreBackupMetadata) SetDatabaseId

func (m *RestoreBackupMetadata) SetDatabaseId(v string)

func (*RestoreBackupMetadata) String

func (x *RestoreBackupMetadata) String() string

type RestoreBackupRequest

type RestoreBackupRequest struct {

	// Required. ID of the YDB backup.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Required. ID of the YDB database.
	DatabaseId string `protobuf:"bytes,2,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// Specify paths to restore.
	// If empty, all paths will restored by default.
	PathsToRestore []string `protobuf:"bytes,3,rep,name=paths_to_restore,json=pathsToRestore,proto3" json:"paths_to_restore,omitempty"`
	// Specify target path.
	TargetPath string `protobuf:"bytes,4,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreBackupRequest) Descriptor deprecated

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

Deprecated: Use RestoreBackupRequest.ProtoReflect.Descriptor instead.

func (*RestoreBackupRequest) GetBackupId

func (x *RestoreBackupRequest) GetBackupId() string

func (*RestoreBackupRequest) GetDatabaseId

func (x *RestoreBackupRequest) GetDatabaseId() string

func (*RestoreBackupRequest) GetPathsToRestore

func (x *RestoreBackupRequest) GetPathsToRestore() []string

func (*RestoreBackupRequest) GetTargetPath

func (x *RestoreBackupRequest) GetTargetPath() string

func (*RestoreBackupRequest) ProtoMessage

func (*RestoreBackupRequest) ProtoMessage()

func (*RestoreBackupRequest) ProtoReflect

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

func (*RestoreBackupRequest) Reset

func (x *RestoreBackupRequest) Reset()

func (*RestoreBackupRequest) SetBackupId

func (m *RestoreBackupRequest) SetBackupId(v string)

func (*RestoreBackupRequest) SetDatabaseId

func (m *RestoreBackupRequest) SetDatabaseId(v string)

func (*RestoreBackupRequest) SetPathsToRestore

func (m *RestoreBackupRequest) SetPathsToRestore(v []string)

func (*RestoreBackupRequest) SetTargetPath

func (m *RestoreBackupRequest) SetTargetPath(v string)

func (*RestoreBackupRequest) String

func (x *RestoreBackupRequest) String() string

type ScalePolicy

type ScalePolicy struct {

	// Types that are assignable to ScaleType:
	//
	//	*ScalePolicy_FixedScale_
	ScaleType isScalePolicy_ScaleType `protobuf_oneof:"scale_type"`
	// contains filtered or unexported fields
}

func (*ScalePolicy) Descriptor deprecated

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

Deprecated: Use ScalePolicy.ProtoReflect.Descriptor instead.

func (*ScalePolicy) GetFixedScale

func (x *ScalePolicy) GetFixedScale() *ScalePolicy_FixedScale

func (*ScalePolicy) GetScaleType

func (m *ScalePolicy) GetScaleType() isScalePolicy_ScaleType

func (*ScalePolicy) ProtoMessage

func (*ScalePolicy) ProtoMessage()

func (*ScalePolicy) ProtoReflect

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

func (*ScalePolicy) Reset

func (x *ScalePolicy) Reset()

func (*ScalePolicy) SetFixedScale

func (m *ScalePolicy) SetFixedScale(v *ScalePolicy_FixedScale)

func (*ScalePolicy) SetScaleType

func (m *ScalePolicy) SetScaleType(v ScalePolicy_ScaleType)

func (*ScalePolicy) String

func (x *ScalePolicy) String() string

type ScalePolicy_FixedScale

type ScalePolicy_FixedScale struct {
	Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*ScalePolicy_FixedScale) Descriptor deprecated

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

Deprecated: Use ScalePolicy_FixedScale.ProtoReflect.Descriptor instead.

func (*ScalePolicy_FixedScale) GetSize

func (x *ScalePolicy_FixedScale) GetSize() int64

func (*ScalePolicy_FixedScale) ProtoMessage

func (*ScalePolicy_FixedScale) ProtoMessage()

func (*ScalePolicy_FixedScale) ProtoReflect

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

func (*ScalePolicy_FixedScale) Reset

func (x *ScalePolicy_FixedScale) Reset()

func (*ScalePolicy_FixedScale) SetSize

func (m *ScalePolicy_FixedScale) SetSize(v int64)

func (*ScalePolicy_FixedScale) String

func (x *ScalePolicy_FixedScale) String() string

type ScalePolicy_FixedScale_

type ScalePolicy_FixedScale_ struct {
	FixedScale *ScalePolicy_FixedScale `protobuf:"bytes,1,opt,name=fixed_scale,json=fixedScale,proto3,oneof"`
}

type ScalePolicy_ScaleType

type ScalePolicy_ScaleType = isScalePolicy_ScaleType

type ServerlessDatabase

type ServerlessDatabase struct {

	// Let's define 1 RU  - 1 request unit
	// Let's define 1 RCU - 1 request capacity unit, which is 1 RU per second.
	// If `enable_throttling_rcu_limit` flag is true, the database will be throttled using `throttling_rcu_limit` value.
	// Otherwise, the database is throttled using the cloud quotas.
	// If zero, all requests will be blocked until non zero value is set.
	ThrottlingRcuLimit int64 `protobuf:"varint,1,opt,name=throttling_rcu_limit,json=throttlingRcuLimit,proto3" json:"throttling_rcu_limit,omitempty"`
	// Specify serverless database storage size limit. If zero, default value is applied.
	StorageSizeLimit int64 `protobuf:"varint,2,opt,name=storage_size_limit,json=storageSizeLimit,proto3" json:"storage_size_limit,omitempty"`
	// If false, the database is throttled by cloud value.
	EnableThrottlingRcuLimit bool `` /* 138-byte string literal not displayed */
	// Specify the number of provisioned RCUs to pay less if the database has predictable load.
	// You will be charged for the provisioned capacity regularly even if this capacity is not fully consumed.
	// You will be charged for the on-demand consumption only if provisioned capacity is consumed.
	ProvisionedRcuLimit int64 `protobuf:"varint,4,opt,name=provisioned_rcu_limit,json=provisionedRcuLimit,proto3" json:"provisioned_rcu_limit,omitempty"`
	// write quota for topic service, defined in bytes per second.
	TopicWriteQuota int64 `protobuf:"varint,5,opt,name=topic_write_quota,json=topicWriteQuota,proto3" json:"topic_write_quota,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerlessDatabase) Descriptor deprecated

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

Deprecated: Use ServerlessDatabase.ProtoReflect.Descriptor instead.

func (*ServerlessDatabase) GetEnableThrottlingRcuLimit

func (x *ServerlessDatabase) GetEnableThrottlingRcuLimit() bool

func (*ServerlessDatabase) GetProvisionedRcuLimit

func (x *ServerlessDatabase) GetProvisionedRcuLimit() int64

func (*ServerlessDatabase) GetStorageSizeLimit

func (x *ServerlessDatabase) GetStorageSizeLimit() int64

func (*ServerlessDatabase) GetThrottlingRcuLimit

func (x *ServerlessDatabase) GetThrottlingRcuLimit() int64

func (*ServerlessDatabase) GetTopicWriteQuota

func (x *ServerlessDatabase) GetTopicWriteQuota() int64

func (*ServerlessDatabase) ProtoMessage

func (*ServerlessDatabase) ProtoMessage()

func (*ServerlessDatabase) ProtoReflect

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

func (*ServerlessDatabase) Reset

func (x *ServerlessDatabase) Reset()

func (*ServerlessDatabase) SetEnableThrottlingRcuLimit

func (m *ServerlessDatabase) SetEnableThrottlingRcuLimit(v bool)

func (*ServerlessDatabase) SetProvisionedRcuLimit

func (m *ServerlessDatabase) SetProvisionedRcuLimit(v int64)

func (*ServerlessDatabase) SetStorageSizeLimit

func (m *ServerlessDatabase) SetStorageSizeLimit(v int64)

func (*ServerlessDatabase) SetThrottlingRcuLimit

func (m *ServerlessDatabase) SetThrottlingRcuLimit(v int64)

func (*ServerlessDatabase) SetTopicWriteQuota

func (m *ServerlessDatabase) SetTopicWriteQuota(v int64)

func (*ServerlessDatabase) String

func (x *ServerlessDatabase) String() string

type StartDatabaseMetadata

type StartDatabaseMetadata struct {
	DatabaseId   string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*StartDatabaseMetadata) Descriptor deprecated

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

Deprecated: Use StartDatabaseMetadata.ProtoReflect.Descriptor instead.

func (*StartDatabaseMetadata) GetDatabaseId

func (x *StartDatabaseMetadata) GetDatabaseId() string

func (*StartDatabaseMetadata) GetDatabaseName

func (x *StartDatabaseMetadata) GetDatabaseName() string

func (*StartDatabaseMetadata) ProtoMessage

func (*StartDatabaseMetadata) ProtoMessage()

func (*StartDatabaseMetadata) ProtoReflect

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

func (*StartDatabaseMetadata) Reset

func (x *StartDatabaseMetadata) Reset()

func (*StartDatabaseMetadata) SetDatabaseId

func (m *StartDatabaseMetadata) SetDatabaseId(v string)

func (*StartDatabaseMetadata) SetDatabaseName

func (m *StartDatabaseMetadata) SetDatabaseName(v string)

func (*StartDatabaseMetadata) String

func (x *StartDatabaseMetadata) String() string

type StartDatabaseRequest

type StartDatabaseRequest struct {
	DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartDatabaseRequest) Descriptor deprecated

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

Deprecated: Use StartDatabaseRequest.ProtoReflect.Descriptor instead.

func (*StartDatabaseRequest) GetDatabaseId

func (x *StartDatabaseRequest) GetDatabaseId() string

func (*StartDatabaseRequest) ProtoMessage

func (*StartDatabaseRequest) ProtoMessage()

func (*StartDatabaseRequest) ProtoReflect

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

func (*StartDatabaseRequest) Reset

func (x *StartDatabaseRequest) Reset()

func (*StartDatabaseRequest) SetDatabaseId

func (m *StartDatabaseRequest) SetDatabaseId(v string)

func (*StartDatabaseRequest) String

func (x *StartDatabaseRequest) String() string

type StopDatabaseMetadata

type StopDatabaseMetadata struct {
	DatabaseId   string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*StopDatabaseMetadata) Descriptor deprecated

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

Deprecated: Use StopDatabaseMetadata.ProtoReflect.Descriptor instead.

func (*StopDatabaseMetadata) GetDatabaseId

func (x *StopDatabaseMetadata) GetDatabaseId() string

func (*StopDatabaseMetadata) GetDatabaseName

func (x *StopDatabaseMetadata) GetDatabaseName() string

func (*StopDatabaseMetadata) ProtoMessage

func (*StopDatabaseMetadata) ProtoMessage()

func (*StopDatabaseMetadata) ProtoReflect

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

func (*StopDatabaseMetadata) Reset

func (x *StopDatabaseMetadata) Reset()

func (*StopDatabaseMetadata) SetDatabaseId

func (m *StopDatabaseMetadata) SetDatabaseId(v string)

func (*StopDatabaseMetadata) SetDatabaseName

func (m *StopDatabaseMetadata) SetDatabaseName(v string)

func (*StopDatabaseMetadata) String

func (x *StopDatabaseMetadata) String() string

type StopDatabaseRequest

type StopDatabaseRequest struct {
	DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopDatabaseRequest) Descriptor deprecated

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

Deprecated: Use StopDatabaseRequest.ProtoReflect.Descriptor instead.

func (*StopDatabaseRequest) GetDatabaseId

func (x *StopDatabaseRequest) GetDatabaseId() string

func (*StopDatabaseRequest) ProtoMessage

func (*StopDatabaseRequest) ProtoMessage()

func (*StopDatabaseRequest) ProtoReflect

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

func (*StopDatabaseRequest) Reset

func (x *StopDatabaseRequest) Reset()

func (*StopDatabaseRequest) SetDatabaseId

func (m *StopDatabaseRequest) SetDatabaseId(v string)

func (*StopDatabaseRequest) String

func (x *StopDatabaseRequest) String() string

type StorageConfig

type StorageConfig struct {
	StorageOptions []*StorageOption `protobuf:"bytes,1,rep,name=storage_options,json=storageOptions,proto3" json:"storage_options,omitempty"`
	// output only field: storage size limit of dedicated database.
	StorageSizeLimit int64 `protobuf:"varint,2,opt,name=storage_size_limit,json=storageSizeLimit,proto3" json:"storage_size_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageConfig) Descriptor deprecated

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

Deprecated: Use StorageConfig.ProtoReflect.Descriptor instead.

func (*StorageConfig) GetStorageOptions

func (x *StorageConfig) GetStorageOptions() []*StorageOption

func (*StorageConfig) GetStorageSizeLimit

func (x *StorageConfig) GetStorageSizeLimit() int64

func (*StorageConfig) ProtoMessage

func (*StorageConfig) ProtoMessage()

func (*StorageConfig) ProtoReflect

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

func (*StorageConfig) Reset

func (x *StorageConfig) Reset()

func (*StorageConfig) SetStorageOptions

func (m *StorageConfig) SetStorageOptions(v []*StorageOption)

func (*StorageConfig) SetStorageSizeLimit

func (m *StorageConfig) SetStorageSizeLimit(v int64)

func (*StorageConfig) String

func (x *StorageConfig) String() string

type StorageOption

type StorageOption struct {
	StorageTypeId string `protobuf:"bytes,1,opt,name=storage_type_id,json=storageTypeId,proto3" json:"storage_type_id,omitempty"`
	GroupCount    int64  `protobuf:"varint,2,opt,name=group_count,json=groupCount,proto3" json:"group_count,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageOption) Descriptor deprecated

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

Deprecated: Use StorageOption.ProtoReflect.Descriptor instead.

func (*StorageOption) GetGroupCount

func (x *StorageOption) GetGroupCount() int64

func (*StorageOption) GetStorageTypeId

func (x *StorageOption) GetStorageTypeId() string

func (*StorageOption) ProtoMessage

func (*StorageOption) ProtoMessage()

func (*StorageOption) ProtoReflect

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

func (*StorageOption) Reset

func (x *StorageOption) Reset()

func (*StorageOption) SetGroupCount

func (m *StorageOption) SetGroupCount(v int64)

func (*StorageOption) SetStorageTypeId

func (m *StorageOption) SetStorageTypeId(v string)

func (*StorageOption) String

func (x *StorageOption) String() string

type StorageType

type StorageType struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceType     string `protobuf:"bytes,2,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	RedundancyType string `protobuf:"bytes,3,opt,name=redundancy_type,json=redundancyType,proto3" json:"redundancy_type,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageType) Descriptor deprecated

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

Deprecated: Use StorageType.ProtoReflect.Descriptor instead.

func (*StorageType) GetDeviceType

func (x *StorageType) GetDeviceType() string

func (*StorageType) GetId

func (x *StorageType) GetId() string

func (*StorageType) GetRedundancyType

func (x *StorageType) GetRedundancyType() string

func (*StorageType) ProtoMessage

func (*StorageType) ProtoMessage()

func (*StorageType) ProtoReflect

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

func (*StorageType) Reset

func (x *StorageType) Reset()

func (*StorageType) SetDeviceType

func (m *StorageType) SetDeviceType(v string)

func (*StorageType) SetId

func (m *StorageType) SetId(v string)

func (*StorageType) SetRedundancyType

func (m *StorageType) SetRedundancyType(v string)

func (*StorageType) String

func (x *StorageType) String() string

type StorageTypeServiceClient

type StorageTypeServiceClient interface {
	// Returns the specified storage types.
	Get(ctx context.Context, in *GetStorageTypeRequest, opts ...grpc.CallOption) (*StorageType, error)
	// Returns the list of available storage types.
	List(ctx context.Context, in *ListStorageTypesRequest, opts ...grpc.CallOption) (*ListStorageTypesResponse, error)
}

StorageTypeServiceClient is the client API for StorageTypeService 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.

type StorageTypeServiceServer

type StorageTypeServiceServer interface {
	// Returns the specified storage types.
	Get(context.Context, *GetStorageTypeRequest) (*StorageType, error)
	// Returns the list of available storage types.
	List(context.Context, *ListStorageTypesRequest) (*ListStorageTypesResponse, error)
}

StorageTypeServiceServer is the server API for StorageTypeService service. All implementations should embed UnimplementedStorageTypeServiceServer for forward compatibility.

type UnimplementedBackupServiceServer

type UnimplementedBackupServiceServer struct{}

UnimplementedBackupServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedBackupServiceServer) Delete

func (UnimplementedBackupServiceServer) Get

func (UnimplementedBackupServiceServer) List

func (UnimplementedBackupServiceServer) ListPaths

func (UnimplementedBackupServiceServer) SetAccessBindings

func (UnimplementedBackupServiceServer) UpdateAccessBindings

type UnimplementedDatabaseServiceServer

type UnimplementedDatabaseServiceServer struct{}

UnimplementedDatabaseServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedDatabaseServiceServer) Backup

func (UnimplementedDatabaseServiceServer) Create

func (UnimplementedDatabaseServiceServer) Delete

func (UnimplementedDatabaseServiceServer) Get

func (UnimplementedDatabaseServiceServer) List

func (UnimplementedDatabaseServiceServer) Move

func (UnimplementedDatabaseServiceServer) Restore

func (UnimplementedDatabaseServiceServer) SetAccessBindings

func (UnimplementedDatabaseServiceServer) Start

func (UnimplementedDatabaseServiceServer) Stop

func (UnimplementedDatabaseServiceServer) Update

func (UnimplementedDatabaseServiceServer) UpdateAccessBindings

type UnimplementedLocationServiceServer

type UnimplementedLocationServiceServer struct{}

UnimplementedLocationServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedLocationServiceServer) Get

func (UnimplementedLocationServiceServer) List

type UnimplementedResourcePresetServiceServer

type UnimplementedResourcePresetServiceServer struct{}

UnimplementedResourcePresetServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedResourcePresetServiceServer) Get

type UnimplementedStorageTypeServiceServer

type UnimplementedStorageTypeServiceServer struct{}

UnimplementedStorageTypeServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedStorageTypeServiceServer) Get

func (UnimplementedStorageTypeServiceServer) List

type UnsafeBackupServiceServer

type UnsafeBackupServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBackupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackupServiceServer will result in compilation errors.

type UnsafeDatabaseServiceServer

type UnsafeDatabaseServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDatabaseServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DatabaseServiceServer will result in compilation errors.

type UnsafeLocationServiceServer

type UnsafeLocationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLocationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LocationServiceServer will result in compilation errors.

type UnsafeResourcePresetServiceServer

type UnsafeResourcePresetServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeResourcePresetServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourcePresetServiceServer will result in compilation errors.

type UnsafeStorageTypeServiceServer

type UnsafeStorageTypeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeStorageTypeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageTypeServiceServer will result in compilation errors.

type UpdateDatabaseMetadata

type UpdateDatabaseMetadata struct {
	DatabaseId   string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDatabaseMetadata) Descriptor deprecated

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

Deprecated: Use UpdateDatabaseMetadata.ProtoReflect.Descriptor instead.

func (*UpdateDatabaseMetadata) GetDatabaseId

func (x *UpdateDatabaseMetadata) GetDatabaseId() string

func (*UpdateDatabaseMetadata) GetDatabaseName

func (x *UpdateDatabaseMetadata) GetDatabaseName() string

func (*UpdateDatabaseMetadata) ProtoMessage

func (*UpdateDatabaseMetadata) ProtoMessage()

func (*UpdateDatabaseMetadata) ProtoReflect

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

func (*UpdateDatabaseMetadata) Reset

func (x *UpdateDatabaseMetadata) Reset()

func (*UpdateDatabaseMetadata) SetDatabaseId

func (m *UpdateDatabaseMetadata) SetDatabaseId(v string)

func (*UpdateDatabaseMetadata) SetDatabaseName

func (m *UpdateDatabaseMetadata) SetDatabaseName(v string)

func (*UpdateDatabaseMetadata) String

func (x *UpdateDatabaseMetadata) String() string

type UpdateDatabaseRequest

type UpdateDatabaseRequest struct {
	FolderId         string                 `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	UpdateMask       *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	DatabaseId       string                 `protobuf:"bytes,3,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	Name             string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Description      string                 `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	ResourcePresetId string                 `protobuf:"bytes,6,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	StorageConfig    *StorageConfig         `protobuf:"bytes,7,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
	ScalePolicy      *ScalePolicy           `protobuf:"bytes,8,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"`
	NetworkId        string                 `protobuf:"bytes,9,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	SubnetIds        []string               `protobuf:"bytes,10,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"`
	// Types that are assignable to DatabaseType:
	//
	//	*UpdateDatabaseRequest_ZonalDatabase
	//	*UpdateDatabaseRequest_RegionalDatabase
	//	*UpdateDatabaseRequest_DedicatedDatabase
	//	*UpdateDatabaseRequest_ServerlessDatabase
	DatabaseType       isUpdateDatabaseRequest_DatabaseType `protobuf_oneof:"database_type"`
	AssignPublicIps    bool                                 `protobuf:"varint,13,opt,name=assign_public_ips,json=assignPublicIps,proto3" json:"assign_public_ips,omitempty"`
	LocationId         string                               `protobuf:"bytes,14,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	Labels             map[string]string                    `` /* 154-byte string literal not displayed */
	BackupConfig       *BackupConfig                        `protobuf:"bytes,18,opt,name=backup_config,json=backupConfig,proto3" json:"backup_config,omitempty"`
	MonitoringConfig   *MonitoringConfig                    `protobuf:"bytes,19,opt,name=monitoring_config,json=monitoringConfig,proto3" json:"monitoring_config,omitempty"`
	DeletionProtection bool                                 `protobuf:"varint,20,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDatabaseRequest) Descriptor deprecated

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

Deprecated: Use UpdateDatabaseRequest.ProtoReflect.Descriptor instead.

func (*UpdateDatabaseRequest) GetAssignPublicIps

func (x *UpdateDatabaseRequest) GetAssignPublicIps() bool

func (*UpdateDatabaseRequest) GetBackupConfig

func (x *UpdateDatabaseRequest) GetBackupConfig() *BackupConfig

func (*UpdateDatabaseRequest) GetDatabaseId

func (x *UpdateDatabaseRequest) GetDatabaseId() string

func (*UpdateDatabaseRequest) GetDatabaseType

func (m *UpdateDatabaseRequest) GetDatabaseType() isUpdateDatabaseRequest_DatabaseType

func (*UpdateDatabaseRequest) GetDedicatedDatabase

func (x *UpdateDatabaseRequest) GetDedicatedDatabase() *DedicatedDatabase

func (*UpdateDatabaseRequest) GetDeletionProtection

func (x *UpdateDatabaseRequest) GetDeletionProtection() bool

func (*UpdateDatabaseRequest) GetDescription

func (x *UpdateDatabaseRequest) GetDescription() string

func (*UpdateDatabaseRequest) GetFolderId

func (x *UpdateDatabaseRequest) GetFolderId() string

func (*UpdateDatabaseRequest) GetLabels

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

func (*UpdateDatabaseRequest) GetLocationId

func (x *UpdateDatabaseRequest) GetLocationId() string

func (*UpdateDatabaseRequest) GetMonitoringConfig

func (x *UpdateDatabaseRequest) GetMonitoringConfig() *MonitoringConfig

func (*UpdateDatabaseRequest) GetName

func (x *UpdateDatabaseRequest) GetName() string

func (*UpdateDatabaseRequest) GetNetworkId

func (x *UpdateDatabaseRequest) GetNetworkId() string

func (*UpdateDatabaseRequest) GetRegionalDatabase

func (x *UpdateDatabaseRequest) GetRegionalDatabase() *RegionalDatabase

func (*UpdateDatabaseRequest) GetResourcePresetId

func (x *UpdateDatabaseRequest) GetResourcePresetId() string

func (*UpdateDatabaseRequest) GetScalePolicy

func (x *UpdateDatabaseRequest) GetScalePolicy() *ScalePolicy

func (*UpdateDatabaseRequest) GetServerlessDatabase

func (x *UpdateDatabaseRequest) GetServerlessDatabase() *ServerlessDatabase

func (*UpdateDatabaseRequest) GetStorageConfig

func (x *UpdateDatabaseRequest) GetStorageConfig() *StorageConfig

func (*UpdateDatabaseRequest) GetSubnetIds

func (x *UpdateDatabaseRequest) GetSubnetIds() []string

func (*UpdateDatabaseRequest) GetUpdateMask

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

func (*UpdateDatabaseRequest) GetZonalDatabase

func (x *UpdateDatabaseRequest) GetZonalDatabase() *ZonalDatabase

func (*UpdateDatabaseRequest) ProtoMessage

func (*UpdateDatabaseRequest) ProtoMessage()

func (*UpdateDatabaseRequest) ProtoReflect

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

func (*UpdateDatabaseRequest) Reset

func (x *UpdateDatabaseRequest) Reset()

func (*UpdateDatabaseRequest) SetAssignPublicIps

func (m *UpdateDatabaseRequest) SetAssignPublicIps(v bool)

func (*UpdateDatabaseRequest) SetBackupConfig

func (m *UpdateDatabaseRequest) SetBackupConfig(v *BackupConfig)

func (*UpdateDatabaseRequest) SetDatabaseId

func (m *UpdateDatabaseRequest) SetDatabaseId(v string)

func (*UpdateDatabaseRequest) SetDatabaseType

func (*UpdateDatabaseRequest) SetDedicatedDatabase

func (m *UpdateDatabaseRequest) SetDedicatedDatabase(v *DedicatedDatabase)

func (*UpdateDatabaseRequest) SetDeletionProtection

func (m *UpdateDatabaseRequest) SetDeletionProtection(v bool)

func (*UpdateDatabaseRequest) SetDescription

func (m *UpdateDatabaseRequest) SetDescription(v string)

func (*UpdateDatabaseRequest) SetFolderId

func (m *UpdateDatabaseRequest) SetFolderId(v string)

func (*UpdateDatabaseRequest) SetLabels

func (m *UpdateDatabaseRequest) SetLabels(v map[string]string)

func (*UpdateDatabaseRequest) SetLocationId

func (m *UpdateDatabaseRequest) SetLocationId(v string)

func (*UpdateDatabaseRequest) SetMonitoringConfig

func (m *UpdateDatabaseRequest) SetMonitoringConfig(v *MonitoringConfig)

func (*UpdateDatabaseRequest) SetName

func (m *UpdateDatabaseRequest) SetName(v string)

func (*UpdateDatabaseRequest) SetNetworkId

func (m *UpdateDatabaseRequest) SetNetworkId(v string)

func (*UpdateDatabaseRequest) SetRegionalDatabase

func (m *UpdateDatabaseRequest) SetRegionalDatabase(v *RegionalDatabase)

func (*UpdateDatabaseRequest) SetResourcePresetId

func (m *UpdateDatabaseRequest) SetResourcePresetId(v string)

func (*UpdateDatabaseRequest) SetScalePolicy

func (m *UpdateDatabaseRequest) SetScalePolicy(v *ScalePolicy)

func (*UpdateDatabaseRequest) SetServerlessDatabase

func (m *UpdateDatabaseRequest) SetServerlessDatabase(v *ServerlessDatabase)

func (*UpdateDatabaseRequest) SetStorageConfig

func (m *UpdateDatabaseRequest) SetStorageConfig(v *StorageConfig)

func (*UpdateDatabaseRequest) SetSubnetIds

func (m *UpdateDatabaseRequest) SetSubnetIds(v []string)

func (*UpdateDatabaseRequest) SetUpdateMask

func (m *UpdateDatabaseRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateDatabaseRequest) SetZonalDatabase

func (m *UpdateDatabaseRequest) SetZonalDatabase(v *ZonalDatabase)

func (*UpdateDatabaseRequest) String

func (x *UpdateDatabaseRequest) String() string

type UpdateDatabaseRequest_DatabaseType

type UpdateDatabaseRequest_DatabaseType = isUpdateDatabaseRequest_DatabaseType

type UpdateDatabaseRequest_DedicatedDatabase

type UpdateDatabaseRequest_DedicatedDatabase struct {
	DedicatedDatabase *DedicatedDatabase `protobuf:"bytes,15,opt,name=dedicated_database,json=dedicatedDatabase,proto3,oneof"`
}

type UpdateDatabaseRequest_RegionalDatabase

type UpdateDatabaseRequest_RegionalDatabase struct {
	RegionalDatabase *RegionalDatabase `protobuf:"bytes,12,opt,name=regional_database,json=regionalDatabase,proto3,oneof"`
}

type UpdateDatabaseRequest_ServerlessDatabase

type UpdateDatabaseRequest_ServerlessDatabase struct {
	ServerlessDatabase *ServerlessDatabase `protobuf:"bytes,16,opt,name=serverless_database,json=serverlessDatabase,proto3,oneof"`
}

type UpdateDatabaseRequest_ZonalDatabase

type UpdateDatabaseRequest_ZonalDatabase struct {
	ZonalDatabase *ZonalDatabase `protobuf:"bytes,11,opt,name=zonal_database,json=zonalDatabase,proto3,oneof"`
}

type WeeklyBackupSchedule

type WeeklyBackupSchedule struct {
	DaysOfWeek []*DaysOfWeekBackupSchedule `protobuf:"bytes,1,rep,name=days_of_week,json=daysOfWeek,proto3" json:"days_of_week,omitempty"`
	// contains filtered or unexported fields
}

func (*WeeklyBackupSchedule) Descriptor deprecated

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

Deprecated: Use WeeklyBackupSchedule.ProtoReflect.Descriptor instead.

func (*WeeklyBackupSchedule) GetDaysOfWeek

func (x *WeeklyBackupSchedule) GetDaysOfWeek() []*DaysOfWeekBackupSchedule

func (*WeeklyBackupSchedule) ProtoMessage

func (*WeeklyBackupSchedule) ProtoMessage()

func (*WeeklyBackupSchedule) ProtoReflect

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

func (*WeeklyBackupSchedule) Reset

func (x *WeeklyBackupSchedule) Reset()

func (*WeeklyBackupSchedule) SetDaysOfWeek

func (m *WeeklyBackupSchedule) SetDaysOfWeek(v []*DaysOfWeekBackupSchedule)

func (*WeeklyBackupSchedule) String

func (x *WeeklyBackupSchedule) String() string

type ZonalDatabase

type ZonalDatabase struct {
	ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ZonalDatabase) Descriptor deprecated

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

Deprecated: Use ZonalDatabase.ProtoReflect.Descriptor instead.

func (*ZonalDatabase) GetZoneId

func (x *ZonalDatabase) GetZoneId() string

func (*ZonalDatabase) ProtoMessage

func (*ZonalDatabase) ProtoMessage()

func (*ZonalDatabase) ProtoReflect

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

func (*ZonalDatabase) Reset

func (x *ZonalDatabase) Reset()

func (*ZonalDatabase) SetZoneId

func (m *ZonalDatabase) SetZoneId(v string)

func (*ZonalDatabase) String

func (x *ZonalDatabase) String() string

Jump to

Keyboard shortcuts

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