mysql

package
v0.0.0-...-76a0cfc Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 17 Imported by: 7

Documentation

Index

Constants

View Source
const (
	BackupService_Get_FullMethodName    = "/yandex.cloud.mdb.mysql.v1.BackupService/Get"
	BackupService_List_FullMethodName   = "/yandex.cloud.mdb.mysql.v1.BackupService/List"
	BackupService_Delete_FullMethodName = "/yandex.cloud.mdb.mysql.v1.BackupService/Delete"
)
View Source
const (
	ClusterService_Get_FullMethodName                   = "/yandex.cloud.mdb.mysql.v1.ClusterService/Get"
	ClusterService_List_FullMethodName                  = "/yandex.cloud.mdb.mysql.v1.ClusterService/List"
	ClusterService_Create_FullMethodName                = "/yandex.cloud.mdb.mysql.v1.ClusterService/Create"
	ClusterService_Update_FullMethodName                = "/yandex.cloud.mdb.mysql.v1.ClusterService/Update"
	ClusterService_Delete_FullMethodName                = "/yandex.cloud.mdb.mysql.v1.ClusterService/Delete"
	ClusterService_Start_FullMethodName                 = "/yandex.cloud.mdb.mysql.v1.ClusterService/Start"
	ClusterService_Stop_FullMethodName                  = "/yandex.cloud.mdb.mysql.v1.ClusterService/Stop"
	ClusterService_Move_FullMethodName                  = "/yandex.cloud.mdb.mysql.v1.ClusterService/Move"
	ClusterService_Backup_FullMethodName                = "/yandex.cloud.mdb.mysql.v1.ClusterService/Backup"
	ClusterService_Restore_FullMethodName               = "/yandex.cloud.mdb.mysql.v1.ClusterService/Restore"
	ClusterService_RescheduleMaintenance_FullMethodName = "/yandex.cloud.mdb.mysql.v1.ClusterService/RescheduleMaintenance"
	ClusterService_StartFailover_FullMethodName         = "/yandex.cloud.mdb.mysql.v1.ClusterService/StartFailover"
	ClusterService_ListLogs_FullMethodName              = "/yandex.cloud.mdb.mysql.v1.ClusterService/ListLogs"
	ClusterService_StreamLogs_FullMethodName            = "/yandex.cloud.mdb.mysql.v1.ClusterService/StreamLogs"
	ClusterService_ListOperations_FullMethodName        = "/yandex.cloud.mdb.mysql.v1.ClusterService/ListOperations"
	ClusterService_ListBackups_FullMethodName           = "/yandex.cloud.mdb.mysql.v1.ClusterService/ListBackups"
	ClusterService_ListHosts_FullMethodName             = "/yandex.cloud.mdb.mysql.v1.ClusterService/ListHosts"
	ClusterService_AddHosts_FullMethodName              = "/yandex.cloud.mdb.mysql.v1.ClusterService/AddHosts"
	ClusterService_UpdateHosts_FullMethodName           = "/yandex.cloud.mdb.mysql.v1.ClusterService/UpdateHosts"
	ClusterService_DeleteHosts_FullMethodName           = "/yandex.cloud.mdb.mysql.v1.ClusterService/DeleteHosts"
)
View Source
const (
	DatabaseService_Get_FullMethodName    = "/yandex.cloud.mdb.mysql.v1.DatabaseService/Get"
	DatabaseService_List_FullMethodName   = "/yandex.cloud.mdb.mysql.v1.DatabaseService/List"
	DatabaseService_Create_FullMethodName = "/yandex.cloud.mdb.mysql.v1.DatabaseService/Create"
	DatabaseService_Delete_FullMethodName = "/yandex.cloud.mdb.mysql.v1.DatabaseService/Delete"
)
View Source
const (
	ResourcePresetService_Get_FullMethodName  = "/yandex.cloud.mdb.mysql.v1.ResourcePresetService/Get"
	ResourcePresetService_List_FullMethodName = "/yandex.cloud.mdb.mysql.v1.ResourcePresetService/List"
)
View Source
const (
	UserService_Get_FullMethodName              = "/yandex.cloud.mdb.mysql.v1.UserService/Get"
	UserService_List_FullMethodName             = "/yandex.cloud.mdb.mysql.v1.UserService/List"
	UserService_Create_FullMethodName           = "/yandex.cloud.mdb.mysql.v1.UserService/Create"
	UserService_Update_FullMethodName           = "/yandex.cloud.mdb.mysql.v1.UserService/Update"
	UserService_Delete_FullMethodName           = "/yandex.cloud.mdb.mysql.v1.UserService/Delete"
	UserService_GrantPermission_FullMethodName  = "/yandex.cloud.mdb.mysql.v1.UserService/GrantPermission"
	UserService_RevokePermission_FullMethodName = "/yandex.cloud.mdb.mysql.v1.UserService/RevokePermission"
)

Variables

View Source
var (
	Backup_BackupCreationType_name = map[int32]string{
		0: "BACKUP_CREATION_TYPE_UNSPECIFIED",
		1: "AUTOMATED",
		2: "MANUAL",
	}
	Backup_BackupCreationType_value = map[string]int32{
		"BACKUP_CREATION_TYPE_UNSPECIFIED": 0,
		"AUTOMATED":                        1,
		"MANUAL":                           2,
	}
)

Enum value maps for Backup_BackupCreationType.

View Source
var (
	Backup_BackupStatus_name = map[int32]string{
		0: "BACKUP_STATUS_UNSPECIFIED",
		1: "DONE",
		2: "CREATING",
	}
	Backup_BackupStatus_value = map[string]int32{
		"BACKUP_STATUS_UNSPECIFIED": 0,
		"DONE":                      1,
		"CREATING":                  2,
	}
)

Enum value maps for Backup_BackupStatus.

View Source
var (
	Cluster_Environment_name = map[int32]string{
		0: "ENVIRONMENT_UNSPECIFIED",
		1: "PRODUCTION",
		2: "PRESTABLE",
	}
	Cluster_Environment_value = map[string]int32{
		"ENVIRONMENT_UNSPECIFIED": 0,
		"PRODUCTION":              1,
		"PRESTABLE":               2,
	}
)

Enum value maps for Cluster_Environment.

View Source
var (
	Cluster_Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "ALIVE",
		2: "DEAD",
		3: "DEGRADED",
	}
	Cluster_Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"ALIVE":          1,
		"DEAD":           2,
		"DEGRADED":       3,
	}
)

Enum value maps for Cluster_Health.

View Source
var (
	Cluster_Status_name = map[int32]string{
		0: "STATUS_UNKNOWN",
		1: "CREATING",
		2: "RUNNING",
		3: "ERROR",
		4: "UPDATING",
		5: "STOPPING",
		6: "STOPPED",
		7: "STARTING",
	}
	Cluster_Status_value = map[string]int32{
		"STATUS_UNKNOWN": 0,
		"CREATING":       1,
		"RUNNING":        2,
		"ERROR":          3,
		"UPDATING":       4,
		"STOPPING":       5,
		"STOPPED":        6,
		"STARTING":       7,
	}
)

Enum value maps for Cluster_Status.

View Source
var (
	Host_Role_name = map[int32]string{
		0: "ROLE_UNKNOWN",
		1: "MASTER",
		2: "REPLICA",
	}
	Host_Role_value = map[string]int32{
		"ROLE_UNKNOWN": 0,
		"MASTER":       1,
		"REPLICA":      2,
	}
)

Enum value maps for Host_Role.

View Source
var (
	Host_Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "ALIVE",
		2: "DEAD",
		3: "DEGRADED",
		4: "READONLY",
	}
	Host_Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"ALIVE":          1,
		"DEAD":           2,
		"DEGRADED":       3,
		"READONLY":       4,
	}
)

Enum value maps for Host_Health.

View Source
var (
	Service_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "MYSQL",
	}
	Service_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"MYSQL":            1,
	}
)

Enum value maps for Service_Type.

View Source
var (
	Service_Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "ALIVE",
		2: "DEAD",
		3: "READONLY",
	}
	Service_Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"ALIVE":          1,
		"DEAD":           2,
		"READONLY":       3,
	}
)

Enum value maps for Service_Health.

View Source
var (
	RescheduleMaintenanceRequest_RescheduleType_name = map[int32]string{
		0: "RESCHEDULE_TYPE_UNSPECIFIED",
		1: "IMMEDIATE",
		2: "NEXT_AVAILABLE_WINDOW",
		3: "SPECIFIC_TIME",
	}
	RescheduleMaintenanceRequest_RescheduleType_value = map[string]int32{
		"RESCHEDULE_TYPE_UNSPECIFIED": 0,
		"IMMEDIATE":                   1,
		"NEXT_AVAILABLE_WINDOW":       2,
		"SPECIFIC_TIME":               3,
	}
)

Enum value maps for RescheduleMaintenanceRequest_RescheduleType.

View Source
var (
	ListClusterLogsRequest_ServiceType_name = map[int32]string{
		0: "SERVICE_TYPE_UNSPECIFIED",
		1: "MYSQL_ERROR",
		2: "MYSQL_GENERAL",
		3: "MYSQL_SLOW_QUERY",
		4: "MYSQL_AUDIT",
	}
	ListClusterLogsRequest_ServiceType_value = map[string]int32{
		"SERVICE_TYPE_UNSPECIFIED": 0,
		"MYSQL_ERROR":              1,
		"MYSQL_GENERAL":            2,
		"MYSQL_SLOW_QUERY":         3,
		"MYSQL_AUDIT":              4,
	}
)

Enum value maps for ListClusterLogsRequest_ServiceType.

View Source
var (
	StreamClusterLogsRequest_ServiceType_name = map[int32]string{
		0: "SERVICE_TYPE_UNSPECIFIED",
		1: "MYSQL_ERROR",
		2: "MYSQL_GENERAL",
		3: "MYSQL_SLOW_QUERY",
		4: "MYSQL_AUDIT",
	}
	StreamClusterLogsRequest_ServiceType_value = map[string]int32{
		"SERVICE_TYPE_UNSPECIFIED": 0,
		"MYSQL_ERROR":              1,
		"MYSQL_GENERAL":            2,
		"MYSQL_SLOW_QUERY":         3,
		"MYSQL_AUDIT":              4,
	}
)

Enum value maps for StreamClusterLogsRequest_ServiceType.

View Source
var (
	WeeklyMaintenanceWindow_WeekDay_name = map[int32]string{
		0: "WEEK_DAY_UNSPECIFIED",
		1: "MON",
		2: "TUE",
		3: "WED",
		4: "THU",
		5: "FRI",
		6: "SAT",
		7: "SUN",
	}
	WeeklyMaintenanceWindow_WeekDay_value = map[string]int32{
		"WEEK_DAY_UNSPECIFIED": 0,
		"MON":                  1,
		"TUE":                  2,
		"WED":                  3,
		"THU":                  4,
		"FRI":                  5,
		"SAT":                  6,
		"SUN":                  7,
	}
)

Enum value maps for WeeklyMaintenanceWindow_WeekDay.

View Source
var (
	GlobalPermission_name = map[int32]string{
		0: "GLOBAL_PERMISSION_UNSPECIFIED",
		1: "REPLICATION_CLIENT",
		2: "REPLICATION_SLAVE",
		3: "PROCESS",
		4: "FLUSH_OPTIMIZER_COSTS",
		5: "SHOW_ROUTINE",
	}
	GlobalPermission_value = map[string]int32{
		"GLOBAL_PERMISSION_UNSPECIFIED": 0,
		"REPLICATION_CLIENT":            1,
		"REPLICATION_SLAVE":             2,
		"PROCESS":                       3,
		"FLUSH_OPTIMIZER_COSTS":         4,
		"SHOW_ROUTINE":                  5,
	}
)

Enum value maps for GlobalPermission.

View Source
var (
	AuthPlugin_name = map[int32]string{
		0: "AUTH_PLUGIN_UNSPECIFIED",
		1: "MYSQL_NATIVE_PASSWORD",
		2: "CACHING_SHA2_PASSWORD",
		3: "SHA256_PASSWORD",
	}
	AuthPlugin_value = map[string]int32{
		"AUTH_PLUGIN_UNSPECIFIED": 0,
		"MYSQL_NATIVE_PASSWORD":   1,
		"CACHING_SHA2_PASSWORD":   2,
		"SHA256_PASSWORD":         3,
	}
)

Enum value maps for AuthPlugin.

View Source
var (
	Permission_Privilege_name = map[int32]string{
		0:  "PRIVILEGE_UNSPECIFIED",
		1:  "ALL_PRIVILEGES",
		2:  "ALTER",
		3:  "ALTER_ROUTINE",
		4:  "CREATE",
		5:  "CREATE_ROUTINE",
		6:  "CREATE_TEMPORARY_TABLES",
		7:  "CREATE_VIEW",
		8:  "DELETE",
		9:  "DROP",
		10: "EVENT",
		11: "EXECUTE",
		12: "INDEX",
		13: "INSERT",
		14: "LOCK_TABLES",
		15: "SELECT",
		16: "SHOW_VIEW",
		17: "TRIGGER",
		18: "UPDATE",
		19: "REFERENCES",
	}
	Permission_Privilege_value = map[string]int32{
		"PRIVILEGE_UNSPECIFIED":   0,
		"ALL_PRIVILEGES":          1,
		"ALTER":                   2,
		"ALTER_ROUTINE":           3,
		"CREATE":                  4,
		"CREATE_ROUTINE":          5,
		"CREATE_TEMPORARY_TABLES": 6,
		"CREATE_VIEW":             7,
		"DELETE":                  8,
		"DROP":                    9,
		"EVENT":                   10,
		"EXECUTE":                 11,
		"INDEX":                   12,
		"INSERT":                  13,
		"LOCK_TABLES":             14,
		"SELECT":                  15,
		"SHOW_VIEW":               16,
		"TRIGGER":                 17,
		"UPDATE":                  18,
		"REFERENCES":              19,
	}
)

Enum value maps for Permission_Privilege.

View Source
var BackupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.mysql.v1.BackupService",
	HandlerType: (*BackupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _BackupService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _BackupService_List_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _BackupService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/mdb/mysql/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 ClusterService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.mysql.v1.ClusterService",
	HandlerType: (*ClusterServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ClusterService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ClusterService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _ClusterService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _ClusterService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ClusterService_Delete_Handler,
		},
		{
			MethodName: "Start",
			Handler:    _ClusterService_Start_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _ClusterService_Stop_Handler,
		},
		{
			MethodName: "Move",
			Handler:    _ClusterService_Move_Handler,
		},
		{
			MethodName: "Backup",
			Handler:    _ClusterService_Backup_Handler,
		},
		{
			MethodName: "Restore",
			Handler:    _ClusterService_Restore_Handler,
		},
		{
			MethodName: "RescheduleMaintenance",
			Handler:    _ClusterService_RescheduleMaintenance_Handler,
		},
		{
			MethodName: "StartFailover",
			Handler:    _ClusterService_StartFailover_Handler,
		},
		{
			MethodName: "ListLogs",
			Handler:    _ClusterService_ListLogs_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _ClusterService_ListOperations_Handler,
		},
		{
			MethodName: "ListBackups",
			Handler:    _ClusterService_ListBackups_Handler,
		},
		{
			MethodName: "ListHosts",
			Handler:    _ClusterService_ListHosts_Handler,
		},
		{
			MethodName: "AddHosts",
			Handler:    _ClusterService_AddHosts_Handler,
		},
		{
			MethodName: "UpdateHosts",
			Handler:    _ClusterService_UpdateHosts_Handler,
		},
		{
			MethodName: "DeleteHosts",
			Handler:    _ClusterService_DeleteHosts_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamLogs",
			Handler:       _ClusterService_StreamLogs_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "yandex/cloud/mdb/mysql/v1/cluster_service.proto",
}

ClusterService_ServiceDesc is the grpc.ServiceDesc for ClusterService 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.mdb.mysql.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: "Delete",
			Handler:    _DatabaseService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/mdb/mysql/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_mdb_mysql_v1_backup_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_mysql_v1_backup_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_mysql_v1_cluster_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_mysql_v1_cluster_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_mysql_v1_database_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_mysql_v1_database_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_mysql_v1_maintenance_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_mysql_v1_resource_preset_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_mysql_v1_resource_preset_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_mysql_v1_user_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_mysql_v1_user_service_proto protoreflect.FileDescriptor
View Source
var ResourcePresetService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.mysql.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/mdb/mysql/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 UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.mysql.v1.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _UserService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _UserService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _UserService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _UserService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _UserService_Delete_Handler,
		},
		{
			MethodName: "GrantPermission",
			Handler:    _UserService_GrantPermission_Handler,
		},
		{
			MethodName: "RevokePermission",
			Handler:    _UserService_RevokePermission_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/mdb/mysql/v1/user_service.proto",
}

UserService_ServiceDesc is the grpc.ServiceDesc for UserService 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 RegisterClusterServiceServer

func RegisterClusterServiceServer(s grpc.ServiceRegistrar, srv ClusterServiceServer)

func RegisterDatabaseServiceServer

func RegisterDatabaseServiceServer(s grpc.ServiceRegistrar, srv DatabaseServiceServer)

func RegisterResourcePresetServiceServer

func RegisterResourcePresetServiceServer(s grpc.ServiceRegistrar, srv ResourcePresetServiceServer)

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

Types

type Access

type Access struct {

	// Allows access from DataLens.
	//
	// See [the documentation](/docs/managed-mysql/operations/datalens-connect) for details.
	DataLens bool `protobuf:"varint,1,opt,name=data_lens,json=dataLens,proto3" json:"data_lens,omitempty"`
	// Allows SQL queries to the cluster databases from management console.
	//
	// See [the documentation](/docs/managed-mysql/operations/web-sql-query) for details.
	WebSql bool `protobuf:"varint,2,opt,name=web_sql,json=webSql,proto3" json:"web_sql,omitempty"`
	// Allow access for DataTransfer.
	DataTransfer bool `protobuf:"varint,3,opt,name=data_transfer,json=dataTransfer,proto3" json:"data_transfer,omitempty"`
	// contains filtered or unexported fields
}

func (*Access) Descriptor deprecated

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

Deprecated: Use Access.ProtoReflect.Descriptor instead.

func (*Access) GetDataLens

func (x *Access) GetDataLens() bool

func (*Access) GetDataTransfer

func (x *Access) GetDataTransfer() bool

func (*Access) GetWebSql

func (x *Access) GetWebSql() bool

func (*Access) ProtoMessage

func (*Access) ProtoMessage()

func (*Access) ProtoReflect

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

func (*Access) Reset

func (x *Access) Reset()

func (*Access) SetDataLens

func (m *Access) SetDataLens(v bool)

func (*Access) SetDataTransfer

func (m *Access) SetDataTransfer(v bool)

func (*Access) SetWebSql

func (m *Access) SetWebSql(v bool)

func (*Access) String

func (x *Access) String() string

type AddClusterHostsMetadata

type AddClusterHostsMetadata struct {

	// ID of the cluster to which the hosts are being added.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts that are being added.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*AddClusterHostsMetadata) Descriptor deprecated

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

Deprecated: Use AddClusterHostsMetadata.ProtoReflect.Descriptor instead.

func (*AddClusterHostsMetadata) GetClusterId

func (x *AddClusterHostsMetadata) GetClusterId() string

func (*AddClusterHostsMetadata) GetHostNames

func (x *AddClusterHostsMetadata) GetHostNames() []string

func (*AddClusterHostsMetadata) ProtoMessage

func (*AddClusterHostsMetadata) ProtoMessage()

func (*AddClusterHostsMetadata) ProtoReflect

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

func (*AddClusterHostsMetadata) Reset

func (x *AddClusterHostsMetadata) Reset()

func (*AddClusterHostsMetadata) SetClusterId

func (m *AddClusterHostsMetadata) SetClusterId(v string)

func (*AddClusterHostsMetadata) SetHostNames

func (m *AddClusterHostsMetadata) SetHostNames(v []string)

func (*AddClusterHostsMetadata) String

func (x *AddClusterHostsMetadata) String() string

type AddClusterHostsRequest

type AddClusterHostsRequest struct {

	// ID of the cluster to add hosts to.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Configuration of the newly added hosts.
	HostSpecs []*HostSpec `protobuf:"bytes,2,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"`
	// contains filtered or unexported fields
}

func (*AddClusterHostsRequest) Descriptor deprecated

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

Deprecated: Use AddClusterHostsRequest.ProtoReflect.Descriptor instead.

func (*AddClusterHostsRequest) GetClusterId

func (x *AddClusterHostsRequest) GetClusterId() string

func (*AddClusterHostsRequest) GetHostSpecs

func (x *AddClusterHostsRequest) GetHostSpecs() []*HostSpec

func (*AddClusterHostsRequest) ProtoMessage

func (*AddClusterHostsRequest) ProtoMessage()

func (*AddClusterHostsRequest) ProtoReflect

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

func (*AddClusterHostsRequest) Reset

func (x *AddClusterHostsRequest) Reset()

func (*AddClusterHostsRequest) SetClusterId

func (m *AddClusterHostsRequest) SetClusterId(v string)

func (*AddClusterHostsRequest) SetHostSpecs

func (m *AddClusterHostsRequest) SetHostSpecs(v []*HostSpec)

func (*AddClusterHostsRequest) String

func (x *AddClusterHostsRequest) String() string

type AnytimeMaintenanceWindow

type AnytimeMaintenanceWindow struct {
	// contains filtered or unexported fields
}

func (*AnytimeMaintenanceWindow) Descriptor deprecated

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

Deprecated: Use AnytimeMaintenanceWindow.ProtoReflect.Descriptor instead.

func (*AnytimeMaintenanceWindow) ProtoMessage

func (*AnytimeMaintenanceWindow) ProtoMessage()

func (*AnytimeMaintenanceWindow) ProtoReflect

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

func (*AnytimeMaintenanceWindow) Reset

func (x *AnytimeMaintenanceWindow) Reset()

func (*AnytimeMaintenanceWindow) String

func (x *AnytimeMaintenanceWindow) String() string

type AuthPlugin

type AuthPlugin int32
const (
	AuthPlugin_AUTH_PLUGIN_UNSPECIFIED AuthPlugin = 0
	// Use [Native Pluggable Authentication](https://dev.mysql.com/doc/refman/8.0/en/native-pluggable-authentication.html).
	AuthPlugin_MYSQL_NATIVE_PASSWORD AuthPlugin = 1
	// Use [Caching SHA-2 Pluggable Authentication](https://dev.mysql.com/doc/refman/8.0/en/caching-sha2-pluggable-authentication.html).
	AuthPlugin_CACHING_SHA2_PASSWORD AuthPlugin = 2
	// Use [SHA-256 Pluggable Authentication](https://dev.mysql.com/doc/refman/8.0/en/sha256-pluggable-authentication.html).
	AuthPlugin_SHA256_PASSWORD AuthPlugin = 3
)

func (AuthPlugin) Descriptor

func (AuthPlugin) Descriptor() protoreflect.EnumDescriptor

func (AuthPlugin) Enum

func (x AuthPlugin) Enum() *AuthPlugin

func (AuthPlugin) EnumDescriptor deprecated

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

Deprecated: Use AuthPlugin.Descriptor instead.

func (AuthPlugin) Number

func (x AuthPlugin) Number() protoreflect.EnumNumber

func (AuthPlugin) String

func (x AuthPlugin) String() string

func (AuthPlugin) Type

type Backup

type Backup struct {

	// ID of the backup.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the backup belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp (the time when the backup operation was completed).
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// ID of the cluster that the backup was created for.
	SourceClusterId string `protobuf:"bytes,4,opt,name=source_cluster_id,json=sourceClusterId,proto3" json:"source_cluster_id,omitempty"`
	// Start timestamp (the time when the backup operation was started).
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// Size of backup, in bytes
	Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	// How this backup was created (manual/automatic/etc...)
	Type Backup_BackupCreationType `protobuf:"varint,7,opt,name=type,proto3,enum=yandex.cloud.mdb.mysql.v1.Backup_BackupCreationType" json:"type,omitempty"`
	// Status of backup
	Status Backup_BackupStatus `protobuf:"varint,8,opt,name=status,proto3,enum=yandex.cloud.mdb.mysql.v1.Backup_BackupStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

An object that represents MySQL backup.

See [the documentation](/docs/managed-mysql/concepts/backup) for details.

func (*Backup) Descriptor deprecated

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

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetCreatedAt

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

func (*Backup) GetFolderId

func (x *Backup) GetFolderId() string

func (*Backup) GetId

func (x *Backup) GetId() string

func (*Backup) GetSize

func (x *Backup) GetSize() int64

func (*Backup) GetSourceClusterId

func (x *Backup) GetSourceClusterId() string

func (*Backup) GetStartedAt

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

func (*Backup) GetStatus

func (x *Backup) GetStatus() Backup_BackupStatus

func (*Backup) GetType

func (x *Backup) GetType() Backup_BackupCreationType

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

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

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) SetCreatedAt

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

func (*Backup) SetFolderId

func (m *Backup) SetFolderId(v string)

func (*Backup) SetId

func (m *Backup) SetId(v string)

func (*Backup) SetSize

func (m *Backup) SetSize(v int64)

func (*Backup) SetSourceClusterId

func (m *Backup) SetSourceClusterId(v string)

func (*Backup) SetStartedAt

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

func (*Backup) SetStatus

func (m *Backup) SetStatus(v Backup_BackupStatus)

func (*Backup) SetType

func (m *Backup) SetType(v Backup_BackupCreationType)

func (*Backup) String

func (x *Backup) String() string

type BackupClusterMetadata

type BackupClusterMetadata struct {

	// ID of the cluster that is being backed up.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the MySQL backup that is created.
	BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupClusterMetadata) Descriptor deprecated

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

Deprecated: Use BackupClusterMetadata.ProtoReflect.Descriptor instead.

func (*BackupClusterMetadata) GetBackupId

func (x *BackupClusterMetadata) GetBackupId() string

func (*BackupClusterMetadata) GetClusterId

func (x *BackupClusterMetadata) GetClusterId() string

func (*BackupClusterMetadata) ProtoMessage

func (*BackupClusterMetadata) ProtoMessage()

func (*BackupClusterMetadata) ProtoReflect

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

func (*BackupClusterMetadata) Reset

func (x *BackupClusterMetadata) Reset()

func (*BackupClusterMetadata) SetBackupId

func (m *BackupClusterMetadata) SetBackupId(v string)

func (*BackupClusterMetadata) SetClusterId

func (m *BackupClusterMetadata) SetClusterId(v string)

func (*BackupClusterMetadata) String

func (x *BackupClusterMetadata) String() string

type BackupClusterRequest

type BackupClusterRequest struct {

	// ID of the cluster to back up.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupClusterRequest) Descriptor deprecated

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

Deprecated: Use BackupClusterRequest.ProtoReflect.Descriptor instead.

func (*BackupClusterRequest) GetClusterId

func (x *BackupClusterRequest) GetClusterId() string

func (*BackupClusterRequest) ProtoMessage

func (*BackupClusterRequest) ProtoMessage()

func (*BackupClusterRequest) ProtoReflect

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

func (*BackupClusterRequest) Reset

func (x *BackupClusterRequest) Reset()

func (*BackupClusterRequest) SetClusterId

func (m *BackupClusterRequest) SetClusterId(v string)

func (*BackupClusterRequest) String

func (x *BackupClusterRequest) String() string

type BackupServiceClient

type BackupServiceClient interface {
	// Retrieves information about the specified backup.
	Get(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
	// Retrieves the list of backups in a folder.
	//
	// To list backups for an existing cluster, make a [ClusterService.ListBackups] request.
	List(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
	// Deletes the specified MySQL cluster 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 MySQL backups.

See [the documentation](/docs/managed-mysql/operations/cluster-backups) for details.

type BackupServiceServer

type BackupServiceServer interface {
	// Retrieves information about the specified backup.
	Get(context.Context, *GetBackupRequest) (*Backup, error)
	// Retrieves the list of backups in a folder.
	//
	// To list backups for an existing cluster, make a [ClusterService.ListBackups] request.
	List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
	// Deletes the specified MySQL cluster 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 MySQL backups.

See [the documentation](/docs/managed-mysql/operations/cluster-backups) for details.

type Backup_BackupCreationType

type Backup_BackupCreationType int32
const (
	Backup_BACKUP_CREATION_TYPE_UNSPECIFIED Backup_BackupCreationType = 0
	// Backup created by automated daily schedule
	Backup_AUTOMATED Backup_BackupCreationType = 1
	// Backup created by user request
	Backup_MANUAL Backup_BackupCreationType = 2
)

func (Backup_BackupCreationType) Descriptor

func (Backup_BackupCreationType) Enum

func (Backup_BackupCreationType) EnumDescriptor deprecated

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

Deprecated: Use Backup_BackupCreationType.Descriptor instead.

func (Backup_BackupCreationType) Number

func (Backup_BackupCreationType) String

func (x Backup_BackupCreationType) String() string

func (Backup_BackupCreationType) Type

type Backup_BackupStatus

type Backup_BackupStatus int32
const (
	Backup_BACKUP_STATUS_UNSPECIFIED Backup_BackupStatus = 0
	// Backup is done
	Backup_DONE Backup_BackupStatus = 1
	// Backup is creating
	Backup_CREATING Backup_BackupStatus = 2
)

func (Backup_BackupStatus) Descriptor

func (Backup_BackupStatus) Enum

func (Backup_BackupStatus) EnumDescriptor deprecated

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

Deprecated: Use Backup_BackupStatus.Descriptor instead.

func (Backup_BackupStatus) Number

func (Backup_BackupStatus) String

func (x Backup_BackupStatus) String() string

func (Backup_BackupStatus) Type

type Cluster

type Cluster struct {

	// ID of the cluster.
	//
	// This ID is assigned by the platform at the time of creation.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the cluster belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp of the cluster.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the cluster.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the cluster.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the cluster as `key:value` pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Deployment environment of the MySQL cluster.
	Environment Cluster_Environment `` /* 127-byte string literal not displayed */
	// Monitoring systems data that is relevant to the cluster.
	Monitoring []*Monitoring `protobuf:"bytes,8,rep,name=monitoring,proto3" json:"monitoring,omitempty"`
	// Configuration of the cluster.
	Config *ClusterConfig `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"`
	// ID of the network that the cluster belongs to.
	NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// Aggregated health of the cluster.
	Health Cluster_Health `protobuf:"varint,11,opt,name=health,proto3,enum=yandex.cloud.mdb.mysql.v1.Cluster_Health" json:"health,omitempty"`
	// Current state of the cluster.
	Status Cluster_Status `protobuf:"varint,12,opt,name=status,proto3,enum=yandex.cloud.mdb.mysql.v1.Cluster_Status" json:"status,omitempty"`
	// Maintenance window settings for the cluster.
	MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,13,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"`
	// Planned maintenance operation to be started for the cluster within the nearest [maintenance_window].
	PlannedOperation *MaintenanceOperation `protobuf:"bytes,14,opt,name=planned_operation,json=plannedOperation,proto3" json:"planned_operation,omitempty"`
	// Effective list of security group IDs applied to the cluster.
	SecurityGroupIds []string `protobuf:"bytes,15,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// This option prevents unintended deletion of the cluster.
	DeletionProtection bool `protobuf:"varint,16,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Host groups hosting VMs of the cluster.
	HostGroupIds []string `protobuf:"bytes,17,rep,name=host_group_ids,json=hostGroupIds,proto3" json:"host_group_ids,omitempty"`
	// contains filtered or unexported fields
}

An object that represents MySQL cluster.

See [the documentation](/docs/managed-mysql/concepts) for details.

func (*Cluster) Descriptor deprecated

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

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetConfig

func (x *Cluster) GetConfig() *ClusterConfig

func (*Cluster) GetCreatedAt

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

func (*Cluster) GetDeletionProtection

func (x *Cluster) GetDeletionProtection() bool

func (*Cluster) GetDescription

func (x *Cluster) GetDescription() string

func (*Cluster) GetEnvironment

func (x *Cluster) GetEnvironment() Cluster_Environment

func (*Cluster) GetFolderId

func (x *Cluster) GetFolderId() string

func (*Cluster) GetHealth

func (x *Cluster) GetHealth() Cluster_Health

func (*Cluster) GetHostGroupIds

func (x *Cluster) GetHostGroupIds() []string

func (*Cluster) GetId

func (x *Cluster) GetId() string

func (*Cluster) GetLabels

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

func (*Cluster) GetMaintenanceWindow

func (x *Cluster) GetMaintenanceWindow() *MaintenanceWindow

func (*Cluster) GetMonitoring

func (x *Cluster) GetMonitoring() []*Monitoring

func (*Cluster) GetName

func (x *Cluster) GetName() string

func (*Cluster) GetNetworkId

func (x *Cluster) GetNetworkId() string

func (*Cluster) GetPlannedOperation

func (x *Cluster) GetPlannedOperation() *MaintenanceOperation

func (*Cluster) GetSecurityGroupIds

func (x *Cluster) GetSecurityGroupIds() []string

func (*Cluster) GetStatus

func (x *Cluster) GetStatus() Cluster_Status

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect

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

func (*Cluster) Reset

func (x *Cluster) Reset()

func (*Cluster) SetConfig

func (m *Cluster) SetConfig(v *ClusterConfig)

func (*Cluster) SetCreatedAt

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

func (*Cluster) SetDeletionProtection

func (m *Cluster) SetDeletionProtection(v bool)

func (*Cluster) SetDescription

func (m *Cluster) SetDescription(v string)

func (*Cluster) SetEnvironment

func (m *Cluster) SetEnvironment(v Cluster_Environment)

func (*Cluster) SetFolderId

func (m *Cluster) SetFolderId(v string)

func (*Cluster) SetHealth

func (m *Cluster) SetHealth(v Cluster_Health)

func (*Cluster) SetHostGroupIds

func (m *Cluster) SetHostGroupIds(v []string)

func (*Cluster) SetId

func (m *Cluster) SetId(v string)

func (*Cluster) SetLabels

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

func (*Cluster) SetMaintenanceWindow

func (m *Cluster) SetMaintenanceWindow(v *MaintenanceWindow)

func (*Cluster) SetMonitoring

func (m *Cluster) SetMonitoring(v []*Monitoring)

func (*Cluster) SetName

func (m *Cluster) SetName(v string)

func (*Cluster) SetNetworkId

func (m *Cluster) SetNetworkId(v string)

func (*Cluster) SetPlannedOperation

func (m *Cluster) SetPlannedOperation(v *MaintenanceOperation)

func (*Cluster) SetSecurityGroupIds

func (m *Cluster) SetSecurityGroupIds(v []string)

func (*Cluster) SetStatus

func (m *Cluster) SetStatus(v Cluster_Status)

func (*Cluster) String

func (x *Cluster) String() string

type ClusterConfig

type ClusterConfig struct {

	// Version of MySQL used in the cluster.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Cluster-wide MySQL configuration.
	//
	// Types that are assignable to MysqlConfig:
	//
	//	*ClusterConfig_MysqlConfig_5_7
	//	*ClusterConfig_MysqlConfig_8_0
	MysqlConfig isClusterConfig_MysqlConfig `protobuf_oneof:"mysql_config"`
	// Resource preset for the cluster hosts.
	Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	// Time to start the daily backup, in the UTC timezone.
	BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"`
	// Access policy for external services.
	Access *Access `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"`
	// Configuration of the performance diagnostics service.
	PerformanceDiagnostics *PerformanceDiagnostics `` /* 127-byte string literal not displayed */
	// Retention policy of automated backups.
	BackupRetainPeriodDays *wrapperspb.Int64Value `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ClusterConfig) Descriptor deprecated

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

Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead.

func (*ClusterConfig) GetAccess

func (x *ClusterConfig) GetAccess() *Access

func (*ClusterConfig) GetBackupRetainPeriodDays

func (x *ClusterConfig) GetBackupRetainPeriodDays() *wrapperspb.Int64Value

func (*ClusterConfig) GetBackupWindowStart

func (x *ClusterConfig) GetBackupWindowStart() *timeofday.TimeOfDay

func (*ClusterConfig) GetMysqlConfig

func (m *ClusterConfig) GetMysqlConfig() isClusterConfig_MysqlConfig

func (*ClusterConfig) GetMysqlConfig_5_7

func (x *ClusterConfig) GetMysqlConfig_5_7() *config.MysqlConfigSet5_7

func (*ClusterConfig) GetMysqlConfig_8_0

func (x *ClusterConfig) GetMysqlConfig_8_0() *config.MysqlConfigSet8_0

func (*ClusterConfig) GetPerformanceDiagnostics

func (x *ClusterConfig) GetPerformanceDiagnostics() *PerformanceDiagnostics

func (*ClusterConfig) GetResources

func (x *ClusterConfig) GetResources() *Resources

func (*ClusterConfig) GetVersion

func (x *ClusterConfig) GetVersion() string

func (*ClusterConfig) ProtoMessage

func (*ClusterConfig) ProtoMessage()

func (*ClusterConfig) ProtoReflect

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

func (*ClusterConfig) Reset

func (x *ClusterConfig) Reset()

func (*ClusterConfig) SetAccess

func (m *ClusterConfig) SetAccess(v *Access)

func (*ClusterConfig) SetBackupRetainPeriodDays

func (m *ClusterConfig) SetBackupRetainPeriodDays(v *wrapperspb.Int64Value)

func (*ClusterConfig) SetBackupWindowStart

func (m *ClusterConfig) SetBackupWindowStart(v *timeofday.TimeOfDay)

func (*ClusterConfig) SetMysqlConfig

func (m *ClusterConfig) SetMysqlConfig(v ClusterConfig_MysqlConfig)

func (*ClusterConfig) SetMysqlConfig_5_7

func (m *ClusterConfig) SetMysqlConfig_5_7(v *config.MysqlConfigSet5_7)

func (*ClusterConfig) SetMysqlConfig_8_0

func (m *ClusterConfig) SetMysqlConfig_8_0(v *config.MysqlConfigSet8_0)

func (*ClusterConfig) SetPerformanceDiagnostics

func (m *ClusterConfig) SetPerformanceDiagnostics(v *PerformanceDiagnostics)

func (*ClusterConfig) SetResources

func (m *ClusterConfig) SetResources(v *Resources)

func (*ClusterConfig) SetVersion

func (m *ClusterConfig) SetVersion(v string)

func (*ClusterConfig) String

func (x *ClusterConfig) String() string

type ClusterConfig_MysqlConfig

type ClusterConfig_MysqlConfig = isClusterConfig_MysqlConfig

type ClusterConfig_MysqlConfig_5_7

type ClusterConfig_MysqlConfig_5_7 struct {
	// Configuration of a MySQL 5.7 server.
	MysqlConfig_5_7 *config.MysqlConfigSet5_7 `protobuf:"bytes,2,opt,name=mysql_config_5_7,json=mysqlConfig_5_7,proto3,oneof"`
}

type ClusterConfig_MysqlConfig_8_0

type ClusterConfig_MysqlConfig_8_0 struct {
	// Configuration of a MySQL 8.0 server.
	MysqlConfig_8_0 *config.MysqlConfigSet8_0 `protobuf:"bytes,6,opt,name=mysql_config_8_0,json=mysqlConfig_8_0,proto3,oneof"`
}

type ClusterServiceClient

type ClusterServiceClient interface {
	// Retrieves information about a cluster.
	Get(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
	// Retrieves the list of clusters in a folder.
	List(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
	// Creates a cluster in a folder.
	Create(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates a cluster.
	Update(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes a cluster.
	Delete(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Starts a cluster.
	Start(ctx context.Context, in *StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Stops a cluster.
	Stop(ctx context.Context, in *StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Moves a cluster to a folder.
	Move(ctx context.Context, in *MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Creates a backup for a cluster.
	//
	// To get information about a backup, make a [BackupService.Get] request.
	Backup(ctx context.Context, in *BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Restores a backup to a new cluster.
	//
	// See [the documentation](/docs/managed-mysql/concepts/backup) for details.
	Restore(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Reschedules planned maintenance operation.
	RescheduleMaintenance(ctx context.Context, in *RescheduleMaintenanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Starts a manual failover for a cluster.
	StartFailover(ctx context.Context, in *StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Retrieves logs for a cluster.
	//
	// Alternatively, logs can be streamed using [StreamLogs].
	ListLogs(ctx context.Context, in *ListClusterLogsRequest, opts ...grpc.CallOption) (*ListClusterLogsResponse, error)
	// Retrieves a log stream for a cluster.
	//
	// This method is similar to [ListLogs], but uses server-side streaming, which allows for the `tail -f` command semantics.
	StreamLogs(ctx context.Context, in *StreamClusterLogsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StreamLogRecord], error)
	// Retrieves a list of operations for a cluster.
	ListOperations(ctx context.Context, in *ListClusterOperationsRequest, opts ...grpc.CallOption) (*ListClusterOperationsResponse, error)
	// Retrieves a list of backups for a cluster.
	//
	// To list all backups in a folder, make a [BackupService.List] request.
	ListBackups(ctx context.Context, in *ListClusterBackupsRequest, opts ...grpc.CallOption) (*ListClusterBackupsResponse, error)
	// Retrieves a list of hosts for a cluster.
	ListHosts(ctx context.Context, in *ListClusterHostsRequest, opts ...grpc.CallOption) (*ListClusterHostsResponse, error)
	// Adds new hosts in a cluster.
	AddHosts(ctx context.Context, in *AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified hosts.
	UpdateHosts(ctx context.Context, in *UpdateClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified hosts for a cluster.
	DeleteHosts(ctx context.Context, in *DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

ClusterServiceClient is the client API for ClusterService 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 MySQL clusters.

type ClusterServiceServer

type ClusterServiceServer interface {
	// Retrieves information about a cluster.
	Get(context.Context, *GetClusterRequest) (*Cluster, error)
	// Retrieves the list of clusters in a folder.
	List(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
	// Creates a cluster in a folder.
	Create(context.Context, *CreateClusterRequest) (*operation.Operation, error)
	// Updates a cluster.
	Update(context.Context, *UpdateClusterRequest) (*operation.Operation, error)
	// Deletes a cluster.
	Delete(context.Context, *DeleteClusterRequest) (*operation.Operation, error)
	// Starts a cluster.
	Start(context.Context, *StartClusterRequest) (*operation.Operation, error)
	// Stops a cluster.
	Stop(context.Context, *StopClusterRequest) (*operation.Operation, error)
	// Moves a cluster to a folder.
	Move(context.Context, *MoveClusterRequest) (*operation.Operation, error)
	// Creates a backup for a cluster.
	//
	// To get information about a backup, make a [BackupService.Get] request.
	Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error)
	// Restores a backup to a new cluster.
	//
	// See [the documentation](/docs/managed-mysql/concepts/backup) for details.
	Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error)
	// Reschedules planned maintenance operation.
	RescheduleMaintenance(context.Context, *RescheduleMaintenanceRequest) (*operation.Operation, error)
	// Starts a manual failover for a cluster.
	StartFailover(context.Context, *StartClusterFailoverRequest) (*operation.Operation, error)
	// Retrieves logs for a cluster.
	//
	// Alternatively, logs can be streamed using [StreamLogs].
	ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error)
	// Retrieves a log stream for a cluster.
	//
	// This method is similar to [ListLogs], but uses server-side streaming, which allows for the `tail -f` command semantics.
	StreamLogs(*StreamClusterLogsRequest, grpc.ServerStreamingServer[StreamLogRecord]) error
	// Retrieves a list of operations for a cluster.
	ListOperations(context.Context, *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error)
	// Retrieves a list of backups for a cluster.
	//
	// To list all backups in a folder, make a [BackupService.List] request.
	ListBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error)
	// Retrieves a list of hosts for a cluster.
	ListHosts(context.Context, *ListClusterHostsRequest) (*ListClusterHostsResponse, error)
	// Adds new hosts in a cluster.
	AddHosts(context.Context, *AddClusterHostsRequest) (*operation.Operation, error)
	// Updates the specified hosts.
	UpdateHosts(context.Context, *UpdateClusterHostsRequest) (*operation.Operation, error)
	// Deletes the specified hosts for a cluster.
	DeleteHosts(context.Context, *DeleteClusterHostsRequest) (*operation.Operation, error)
}

ClusterServiceServer is the server API for ClusterService service. All implementations should embed UnimplementedClusterServiceServer for forward compatibility.

A set of methods for managing MySQL clusters.

type ClusterService_StreamLogsClient

type ClusterService_StreamLogsClient = grpc.ServerStreamingClient[StreamLogRecord]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ClusterService_StreamLogsServer

type ClusterService_StreamLogsServer = grpc.ServerStreamingServer[StreamLogRecord]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Cluster_Environment

type Cluster_Environment int32
const (
	Cluster_ENVIRONMENT_UNSPECIFIED Cluster_Environment = 0
	// Environment for stable versions of your apps.
	// A conservative update policy is in effect: only bug fixes are applied during regular maintenance.
	Cluster_PRODUCTION Cluster_Environment = 1
	// Environment for testing, including the Managed Service for MySQL itself.
	// This environment gets new features, improvements, and bug fixes in the first place, compared to the production environment.
	// However, not every update ensures backward compatibility.
	Cluster_PRESTABLE Cluster_Environment = 2
)

func (Cluster_Environment) Descriptor

func (Cluster_Environment) Enum

func (Cluster_Environment) EnumDescriptor deprecated

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

Deprecated: Use Cluster_Environment.Descriptor instead.

func (Cluster_Environment) Number

func (Cluster_Environment) String

func (x Cluster_Environment) String() string

func (Cluster_Environment) Type

type Cluster_Health

type Cluster_Health int32
const (
	// Health of the cluster is unknown ([Host.health] for every host in the cluster is `UNKNOWN`).
	Cluster_HEALTH_UNKNOWN Cluster_Health = 0
	// Cluster is alive and well ([Host.health] for every host in the cluster is `ALIVE`).
	Cluster_ALIVE Cluster_Health = 1
	// Cluster is inoperable ([Host.health] for every host in the cluster is `DEAD`).
	Cluster_DEAD Cluster_Health = 2
	// Cluster is degraded ([Host.health] for at least one host in the cluster is not `ALIVE`).
	Cluster_DEGRADED Cluster_Health = 3
)

func (Cluster_Health) Descriptor

func (Cluster_Health) Enum

func (x Cluster_Health) Enum() *Cluster_Health

func (Cluster_Health) EnumDescriptor deprecated

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

Deprecated: Use Cluster_Health.Descriptor instead.

func (Cluster_Health) Number

func (Cluster_Health) String

func (x Cluster_Health) String() string

func (Cluster_Health) Type

type Cluster_Status

type Cluster_Status int32
const (
	// Cluster state is unknown.
	Cluster_STATUS_UNKNOWN Cluster_Status = 0
	// Cluster is being created.
	Cluster_CREATING Cluster_Status = 1
	// Cluster is running normally.
	Cluster_RUNNING Cluster_Status = 2
	// Cluster encountered a problem and cannot operate.
	Cluster_ERROR Cluster_Status = 3
	// Cluster is being updated.
	Cluster_UPDATING Cluster_Status = 4
	// Cluster is stopping.
	Cluster_STOPPING Cluster_Status = 5
	// Cluster is stopped.
	Cluster_STOPPED Cluster_Status = 6
	// Cluster is starting.
	Cluster_STARTING Cluster_Status = 7
)

func (Cluster_Status) Descriptor

func (Cluster_Status) Enum

func (x Cluster_Status) Enum() *Cluster_Status

func (Cluster_Status) EnumDescriptor deprecated

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

Deprecated: Use Cluster_Status.Descriptor instead.

func (Cluster_Status) Number

func (Cluster_Status) String

func (x Cluster_Status) String() string

func (Cluster_Status) Type

type ConfigSpec

type ConfigSpec struct {

	// Version of MySQL used in the cluster.
	//
	// Possible values: `5.7`, `8.0`.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // No formal validation, a list of supported versions should suffice.
	// Cluster-wide MySQL configuration.
	//
	// Types that are assignable to MysqlConfig:
	//
	//	*ConfigSpec_MysqlConfig_5_7
	//	*ConfigSpec_MysqlConfig_8_0
	MysqlConfig isConfigSpec_MysqlConfig `protobuf_oneof:"mysql_config"`
	// Resource preset for the cluster hosts.
	Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	// Time to start the daily backup, in the UTC timezone.
	BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"`
	// Access policy for external services.
	//
	// If the specific services need to access the cluster, then set the necessary values in this policy.
	Access *Access `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"`
	// Configuration of the performance diagnostics service.
	PerformanceDiagnostics *PerformanceDiagnostics `` /* 127-byte string literal not displayed */
	// Retention policy of automated backups.
	BackupRetainPeriodDays *wrapperspb.Int64Value `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigSpec) Descriptor deprecated

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

Deprecated: Use ConfigSpec.ProtoReflect.Descriptor instead.

func (*ConfigSpec) GetAccess

func (x *ConfigSpec) GetAccess() *Access

func (*ConfigSpec) GetBackupRetainPeriodDays

func (x *ConfigSpec) GetBackupRetainPeriodDays() *wrapperspb.Int64Value

func (*ConfigSpec) GetBackupWindowStart

func (x *ConfigSpec) GetBackupWindowStart() *timeofday.TimeOfDay

func (*ConfigSpec) GetMysqlConfig

func (m *ConfigSpec) GetMysqlConfig() isConfigSpec_MysqlConfig

func (*ConfigSpec) GetMysqlConfig_5_7

func (x *ConfigSpec) GetMysqlConfig_5_7() *config.MysqlConfig5_7

func (*ConfigSpec) GetMysqlConfig_8_0

func (x *ConfigSpec) GetMysqlConfig_8_0() *config.MysqlConfig8_0

func (*ConfigSpec) GetPerformanceDiagnostics

func (x *ConfigSpec) GetPerformanceDiagnostics() *PerformanceDiagnostics

func (*ConfigSpec) GetResources

func (x *ConfigSpec) GetResources() *Resources

func (*ConfigSpec) GetVersion

func (x *ConfigSpec) GetVersion() string

func (*ConfigSpec) ProtoMessage

func (*ConfigSpec) ProtoMessage()

func (*ConfigSpec) ProtoReflect

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

func (*ConfigSpec) Reset

func (x *ConfigSpec) Reset()

func (*ConfigSpec) SetAccess

func (m *ConfigSpec) SetAccess(v *Access)

func (*ConfigSpec) SetBackupRetainPeriodDays

func (m *ConfigSpec) SetBackupRetainPeriodDays(v *wrapperspb.Int64Value)

func (*ConfigSpec) SetBackupWindowStart

func (m *ConfigSpec) SetBackupWindowStart(v *timeofday.TimeOfDay)

func (*ConfigSpec) SetMysqlConfig

func (m *ConfigSpec) SetMysqlConfig(v ConfigSpec_MysqlConfig)

func (*ConfigSpec) SetMysqlConfig_5_7

func (m *ConfigSpec) SetMysqlConfig_5_7(v *config.MysqlConfig5_7)

func (*ConfigSpec) SetMysqlConfig_8_0

func (m *ConfigSpec) SetMysqlConfig_8_0(v *config.MysqlConfig8_0)

func (*ConfigSpec) SetPerformanceDiagnostics

func (m *ConfigSpec) SetPerformanceDiagnostics(v *PerformanceDiagnostics)

func (*ConfigSpec) SetResources

func (m *ConfigSpec) SetResources(v *Resources)

func (*ConfigSpec) SetVersion

func (m *ConfigSpec) SetVersion(v string)

func (*ConfigSpec) String

func (x *ConfigSpec) String() string

type ConfigSpec_MysqlConfig

type ConfigSpec_MysqlConfig = isConfigSpec_MysqlConfig

type ConfigSpec_MysqlConfig_5_7

type ConfigSpec_MysqlConfig_5_7 struct {
	// Configuration for a MySQL 5.7 cluster.
	MysqlConfig_5_7 *config.MysqlConfig5_7 `protobuf:"bytes,2,opt,name=mysql_config_5_7,json=mysqlConfig_5_7,proto3,oneof"`
}

type ConfigSpec_MysqlConfig_8_0

type ConfigSpec_MysqlConfig_8_0 struct {
	// Configuration for a MySQL 8.0 cluster.
	MysqlConfig_8_0 *config.MysqlConfig8_0 `protobuf:"bytes,6,opt,name=mysql_config_8_0,json=mysqlConfig_8_0,proto3,oneof"`
}

type ConnectionLimits

type ConnectionLimits struct {

	// The maximum permitted number of user questions per hour.
	MaxQuestionsPerHour *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=max_questions_per_hour,json=maxQuestionsPerHour,proto3" json:"max_questions_per_hour,omitempty"`
	// The maximum permitted number of user updates per hour.
	MaxUpdatesPerHour *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=max_updates_per_hour,json=maxUpdatesPerHour,proto3" json:"max_updates_per_hour,omitempty"`
	// The maximum permitted number of simultaneous client connections per hour.
	MaxConnectionsPerHour *wrapperspb.Int64Value `` /* 128-byte string literal not displayed */
	// The maximum number of simultaneous connections permitted to any given MySQL user account.
	MaxUserConnections *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=max_user_connections,json=maxUserConnections,proto3" json:"max_user_connections,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionLimits) Descriptor deprecated

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

Deprecated: Use ConnectionLimits.ProtoReflect.Descriptor instead.

func (*ConnectionLimits) GetMaxConnectionsPerHour

func (x *ConnectionLimits) GetMaxConnectionsPerHour() *wrapperspb.Int64Value

func (*ConnectionLimits) GetMaxQuestionsPerHour

func (x *ConnectionLimits) GetMaxQuestionsPerHour() *wrapperspb.Int64Value

func (*ConnectionLimits) GetMaxUpdatesPerHour

func (x *ConnectionLimits) GetMaxUpdatesPerHour() *wrapperspb.Int64Value

func (*ConnectionLimits) GetMaxUserConnections

func (x *ConnectionLimits) GetMaxUserConnections() *wrapperspb.Int64Value

func (*ConnectionLimits) ProtoMessage

func (*ConnectionLimits) ProtoMessage()

func (*ConnectionLimits) ProtoReflect

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

func (*ConnectionLimits) Reset

func (x *ConnectionLimits) Reset()

func (*ConnectionLimits) SetMaxConnectionsPerHour

func (m *ConnectionLimits) SetMaxConnectionsPerHour(v *wrapperspb.Int64Value)

func (*ConnectionLimits) SetMaxQuestionsPerHour

func (m *ConnectionLimits) SetMaxQuestionsPerHour(v *wrapperspb.Int64Value)

func (*ConnectionLimits) SetMaxUpdatesPerHour

func (m *ConnectionLimits) SetMaxUpdatesPerHour(v *wrapperspb.Int64Value)

func (*ConnectionLimits) SetMaxUserConnections

func (m *ConnectionLimits) SetMaxUserConnections(v *wrapperspb.Int64Value)

func (*ConnectionLimits) String

func (x *ConnectionLimits) String() string

type CreateClusterMetadata

type CreateClusterMetadata struct {

	// ID of the cluster that is being created.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateClusterMetadata) Descriptor deprecated

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

Deprecated: Use CreateClusterMetadata.ProtoReflect.Descriptor instead.

func (*CreateClusterMetadata) GetClusterId

func (x *CreateClusterMetadata) GetClusterId() string

func (*CreateClusterMetadata) ProtoMessage

func (*CreateClusterMetadata) ProtoMessage()

func (*CreateClusterMetadata) ProtoReflect

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

func (*CreateClusterMetadata) Reset

func (x *CreateClusterMetadata) Reset()

func (*CreateClusterMetadata) SetClusterId

func (m *CreateClusterMetadata) SetClusterId(v string)

func (*CreateClusterMetadata) String

func (x *CreateClusterMetadata) String() string

type CreateClusterRequest

type CreateClusterRequest struct {

	// ID of the folder to create the cluster in.
	//
	// To get this ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the cluster. The name must be unique within the folder.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the cluster.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the cluster as `key:value` pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Deployment environment of the MySQL cluster.
	Environment Cluster_Environment `` /* 127-byte string literal not displayed */
	// Configuration of the cluster.
	ConfigSpec *ConfigSpec `protobuf:"bytes,6,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// Configuration of databases in the cluster.
	DatabaseSpecs []*DatabaseSpec `protobuf:"bytes,7,rep,name=database_specs,json=databaseSpecs,proto3" json:"database_specs,omitempty"`
	// Configuration of database users in the cluster.
	UserSpecs []*UserSpec `protobuf:"bytes,8,rep,name=user_specs,json=userSpecs,proto3" json:"user_specs,omitempty"`
	// Configuration of hosts in the cluster.
	HostSpecs []*HostSpec `protobuf:"bytes,9,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"`
	// ID of the network to create the cluster in.
	NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// List of security group IDs to apply to the cluster.
	SecurityGroupIds []string `protobuf:"bytes,11,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// This option prevents unintended deletion of the cluster.
	DeletionProtection bool `protobuf:"varint,12,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Host groups hosting VMs of the cluster.
	HostGroupIds []string `protobuf:"bytes,13,rep,name=host_group_ids,json=hostGroupIds,proto3" json:"host_group_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateClusterRequest) Descriptor deprecated

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

Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.

func (*CreateClusterRequest) GetConfigSpec

func (x *CreateClusterRequest) GetConfigSpec() *ConfigSpec

func (*CreateClusterRequest) GetDatabaseSpecs

func (x *CreateClusterRequest) GetDatabaseSpecs() []*DatabaseSpec

func (*CreateClusterRequest) GetDeletionProtection

func (x *CreateClusterRequest) GetDeletionProtection() bool

func (*CreateClusterRequest) GetDescription

func (x *CreateClusterRequest) GetDescription() string

func (*CreateClusterRequest) GetEnvironment

func (x *CreateClusterRequest) GetEnvironment() Cluster_Environment

func (*CreateClusterRequest) GetFolderId

func (x *CreateClusterRequest) GetFolderId() string

func (*CreateClusterRequest) GetHostGroupIds

func (x *CreateClusterRequest) GetHostGroupIds() []string

func (*CreateClusterRequest) GetHostSpecs

func (x *CreateClusterRequest) GetHostSpecs() []*HostSpec

func (*CreateClusterRequest) GetLabels

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

func (*CreateClusterRequest) GetName

func (x *CreateClusterRequest) GetName() string

func (*CreateClusterRequest) GetNetworkId

func (x *CreateClusterRequest) GetNetworkId() string

func (*CreateClusterRequest) GetSecurityGroupIds

func (x *CreateClusterRequest) GetSecurityGroupIds() []string

func (*CreateClusterRequest) GetUserSpecs

func (x *CreateClusterRequest) GetUserSpecs() []*UserSpec

func (*CreateClusterRequest) ProtoMessage

func (*CreateClusterRequest) ProtoMessage()

func (*CreateClusterRequest) ProtoReflect

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

func (*CreateClusterRequest) Reset

func (x *CreateClusterRequest) Reset()

func (*CreateClusterRequest) SetConfigSpec

func (m *CreateClusterRequest) SetConfigSpec(v *ConfigSpec)

func (*CreateClusterRequest) SetDatabaseSpecs

func (m *CreateClusterRequest) SetDatabaseSpecs(v []*DatabaseSpec)

func (*CreateClusterRequest) SetDeletionProtection

func (m *CreateClusterRequest) SetDeletionProtection(v bool)

func (*CreateClusterRequest) SetDescription

func (m *CreateClusterRequest) SetDescription(v string)

func (*CreateClusterRequest) SetEnvironment

func (m *CreateClusterRequest) SetEnvironment(v Cluster_Environment)

func (*CreateClusterRequest) SetFolderId

func (m *CreateClusterRequest) SetFolderId(v string)

func (*CreateClusterRequest) SetHostGroupIds

func (m *CreateClusterRequest) SetHostGroupIds(v []string)

func (*CreateClusterRequest) SetHostSpecs

func (m *CreateClusterRequest) SetHostSpecs(v []*HostSpec)

func (*CreateClusterRequest) SetLabels

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

func (*CreateClusterRequest) SetName

func (m *CreateClusterRequest) SetName(v string)

func (*CreateClusterRequest) SetNetworkId

func (m *CreateClusterRequest) SetNetworkId(v string)

func (*CreateClusterRequest) SetSecurityGroupIds

func (m *CreateClusterRequest) SetSecurityGroupIds(v []string)

func (*CreateClusterRequest) SetUserSpecs

func (m *CreateClusterRequest) SetUserSpecs(v []*UserSpec)

func (*CreateClusterRequest) String

func (x *CreateClusterRequest) String() string

type CreateDatabaseMetadata

type CreateDatabaseMetadata struct {

	// ID of the cluster the database is being created in.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the database that is being created.
	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) GetClusterId

func (x *CreateDatabaseMetadata) GetClusterId() 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) SetClusterId

func (m *CreateDatabaseMetadata) SetClusterId(v string)

func (*CreateDatabaseMetadata) SetDatabaseName

func (m *CreateDatabaseMetadata) SetDatabaseName(v string)

func (*CreateDatabaseMetadata) String

func (x *CreateDatabaseMetadata) String() string

type CreateDatabaseRequest

type CreateDatabaseRequest struct {

	// ID of the cluster to create the database in.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Configuration of the database.
	DatabaseSpec *DatabaseSpec `protobuf:"bytes,2,opt,name=database_spec,json=databaseSpec,proto3" json:"database_spec,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDatabaseRequest) Descriptor deprecated

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

Deprecated: Use CreateDatabaseRequest.ProtoReflect.Descriptor instead.

func (*CreateDatabaseRequest) GetClusterId

func (x *CreateDatabaseRequest) GetClusterId() string

func (*CreateDatabaseRequest) GetDatabaseSpec

func (x *CreateDatabaseRequest) GetDatabaseSpec() *DatabaseSpec

func (*CreateDatabaseRequest) ProtoMessage

func (*CreateDatabaseRequest) ProtoMessage()

func (*CreateDatabaseRequest) ProtoReflect

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

func (*CreateDatabaseRequest) Reset

func (x *CreateDatabaseRequest) Reset()

func (*CreateDatabaseRequest) SetClusterId

func (m *CreateDatabaseRequest) SetClusterId(v string)

func (*CreateDatabaseRequest) SetDatabaseSpec

func (m *CreateDatabaseRequest) SetDatabaseSpec(v *DatabaseSpec)

func (*CreateDatabaseRequest) String

func (x *CreateDatabaseRequest) String() string

type CreateUserMetadata

type CreateUserMetadata struct {

	// ID of the cluster the user is being created in.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user that is being created.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserMetadata) Descriptor deprecated

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

Deprecated: Use CreateUserMetadata.ProtoReflect.Descriptor instead.

func (*CreateUserMetadata) GetClusterId

func (x *CreateUserMetadata) GetClusterId() string

func (*CreateUserMetadata) GetUserName

func (x *CreateUserMetadata) GetUserName() string

func (*CreateUserMetadata) ProtoMessage

func (*CreateUserMetadata) ProtoMessage()

func (*CreateUserMetadata) ProtoReflect

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

func (*CreateUserMetadata) Reset

func (x *CreateUserMetadata) Reset()

func (*CreateUserMetadata) SetClusterId

func (m *CreateUserMetadata) SetClusterId(v string)

func (*CreateUserMetadata) SetUserName

func (m *CreateUserMetadata) SetUserName(v string)

func (*CreateUserMetadata) String

func (x *CreateUserMetadata) String() string

type CreateUserRequest

type CreateUserRequest struct {

	// ID of the cluster to create the user in.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Configuration of the user.
	UserSpec *UserSpec `protobuf:"bytes,2,opt,name=user_spec,json=userSpec,proto3" json:"user_spec,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetClusterId

func (x *CreateUserRequest) GetClusterId() string

func (*CreateUserRequest) GetUserSpec

func (x *CreateUserRequest) GetUserSpec() *UserSpec

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) SetClusterId

func (m *CreateUserRequest) SetClusterId(v string)

func (*CreateUserRequest) SetUserSpec

func (m *CreateUserRequest) SetUserSpec(v *UserSpec)

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type Database

type Database struct {

	// Name of the database.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the cluster that the database belongs to.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

An object that represents MySQL database.

See [the documentation](/docs/managed-mysql/operations/databases) for details.

func (*Database) Descriptor deprecated

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

Deprecated: Use Database.ProtoReflect.Descriptor instead.

func (*Database) GetClusterId

func (x *Database) GetClusterId() string

func (*Database) GetName

func (x *Database) GetName() string

func (*Database) ProtoMessage

func (*Database) ProtoMessage()

func (*Database) ProtoReflect

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

func (*Database) Reset

func (x *Database) Reset()

func (*Database) SetClusterId

func (m *Database) SetClusterId(v string)

func (*Database) SetName

func (m *Database) SetName(v string)

func (*Database) String

func (x *Database) String() string

type DatabaseServiceClient

type DatabaseServiceClient interface {
	// Retrieves information about the specified database.
	Get(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error)
	// Retrieves the list of databases in a cluster.
	List(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error)
	// Creates a new database in a cluster.
	Create(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes a database from a cluster.
	Delete(ctx context.Context, in *DeleteDatabaseRequest, 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 MySQL databases in a cluster.

See [the documentation](/docs/managed-mysql/operations/databases) for details.

type DatabaseServiceServer

type DatabaseServiceServer interface {
	// Retrieves information about the specified database.
	Get(context.Context, *GetDatabaseRequest) (*Database, error)
	// Retrieves the list of databases in a cluster.
	List(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
	// Creates a new database in a cluster.
	Create(context.Context, *CreateDatabaseRequest) (*operation.Operation, error)
	// Deletes a database from a cluster.
	Delete(context.Context, *DeleteDatabaseRequest) (*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 MySQL databases in a cluster.

See [the documentation](/docs/managed-mysql/operations/databases) for details.

type DatabaseSpec

type DatabaseSpec struct {

	// Name of the database.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DatabaseSpec) Descriptor deprecated

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

Deprecated: Use DatabaseSpec.ProtoReflect.Descriptor instead.

func (*DatabaseSpec) GetName

func (x *DatabaseSpec) GetName() string

func (*DatabaseSpec) ProtoMessage

func (*DatabaseSpec) ProtoMessage()

func (*DatabaseSpec) ProtoReflect

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

func (*DatabaseSpec) Reset

func (x *DatabaseSpec) Reset()

func (*DatabaseSpec) SetName

func (m *DatabaseSpec) SetName(v string)

func (*DatabaseSpec) String

func (x *DatabaseSpec) String() string

type DeleteBackupMetadata

type DeleteBackupMetadata struct {

	// Required. ID of the MySQL backup that is currently being deleted.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// ID of the MySQL backup that is being deleted.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_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) GetClusterId

func (x *DeleteBackupMetadata) GetClusterId() 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) SetClusterId

func (m *DeleteBackupMetadata) SetClusterId(v string)

func (*DeleteBackupMetadata) String

func (x *DeleteBackupMetadata) String() string

type DeleteBackupRequest

type DeleteBackupRequest struct {

	// Required. ID of the backup to delete.
	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 DeleteClusterHostsMetadata

type DeleteClusterHostsMetadata struct {

	// ID of the cluster from which the hosts are being deleted.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts that are being deleted.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterHostsMetadata) Descriptor deprecated

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

Deprecated: Use DeleteClusterHostsMetadata.ProtoReflect.Descriptor instead.

func (*DeleteClusterHostsMetadata) GetClusterId

func (x *DeleteClusterHostsMetadata) GetClusterId() string

func (*DeleteClusterHostsMetadata) GetHostNames

func (x *DeleteClusterHostsMetadata) GetHostNames() []string

func (*DeleteClusterHostsMetadata) ProtoMessage

func (*DeleteClusterHostsMetadata) ProtoMessage()

func (*DeleteClusterHostsMetadata) ProtoReflect

func (*DeleteClusterHostsMetadata) Reset

func (x *DeleteClusterHostsMetadata) Reset()

func (*DeleteClusterHostsMetadata) SetClusterId

func (m *DeleteClusterHostsMetadata) SetClusterId(v string)

func (*DeleteClusterHostsMetadata) SetHostNames

func (m *DeleteClusterHostsMetadata) SetHostNames(v []string)

func (*DeleteClusterHostsMetadata) String

func (x *DeleteClusterHostsMetadata) String() string

type DeleteClusterHostsRequest

type DeleteClusterHostsRequest struct {

	// ID of the cluster to delete hosts from.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts to delete.
	//
	// To get these names, make a [ClusterService.ListHosts] request.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterHostsRequest) Descriptor deprecated

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

Deprecated: Use DeleteClusterHostsRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterHostsRequest) GetClusterId

func (x *DeleteClusterHostsRequest) GetClusterId() string

func (*DeleteClusterHostsRequest) GetHostNames

func (x *DeleteClusterHostsRequest) GetHostNames() []string

func (*DeleteClusterHostsRequest) ProtoMessage

func (*DeleteClusterHostsRequest) ProtoMessage()

func (*DeleteClusterHostsRequest) ProtoReflect

func (*DeleteClusterHostsRequest) Reset

func (x *DeleteClusterHostsRequest) Reset()

func (*DeleteClusterHostsRequest) SetClusterId

func (m *DeleteClusterHostsRequest) SetClusterId(v string)

func (*DeleteClusterHostsRequest) SetHostNames

func (m *DeleteClusterHostsRequest) SetHostNames(v []string)

func (*DeleteClusterHostsRequest) String

func (x *DeleteClusterHostsRequest) String() string

type DeleteClusterMetadata

type DeleteClusterMetadata struct {

	// ID of the cluster that is being deleted.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterMetadata) Descriptor deprecated

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

Deprecated: Use DeleteClusterMetadata.ProtoReflect.Descriptor instead.

func (*DeleteClusterMetadata) GetClusterId

func (x *DeleteClusterMetadata) GetClusterId() string

func (*DeleteClusterMetadata) ProtoMessage

func (*DeleteClusterMetadata) ProtoMessage()

func (*DeleteClusterMetadata) ProtoReflect

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

func (*DeleteClusterMetadata) Reset

func (x *DeleteClusterMetadata) Reset()

func (*DeleteClusterMetadata) SetClusterId

func (m *DeleteClusterMetadata) SetClusterId(v string)

func (*DeleteClusterMetadata) String

func (x *DeleteClusterMetadata) String() string

type DeleteClusterRequest

type DeleteClusterRequest struct {

	// ID of the cluster to delete.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterRequest) Descriptor deprecated

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

Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterRequest) GetClusterId

func (x *DeleteClusterRequest) GetClusterId() string

func (*DeleteClusterRequest) ProtoMessage

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) ProtoReflect

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

func (*DeleteClusterRequest) Reset

func (x *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) SetClusterId

func (m *DeleteClusterRequest) SetClusterId(v string)

func (*DeleteClusterRequest) String

func (x *DeleteClusterRequest) String() string

type DeleteDatabaseMetadata

type DeleteDatabaseMetadata struct {

	// ID of the cluster the database is being deleted from.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the database that is being deleted.
	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) GetClusterId

func (x *DeleteDatabaseMetadata) GetClusterId() 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) SetClusterId

func (m *DeleteDatabaseMetadata) SetClusterId(v string)

func (*DeleteDatabaseMetadata) SetDatabaseName

func (m *DeleteDatabaseMetadata) SetDatabaseName(v string)

func (*DeleteDatabaseMetadata) String

func (x *DeleteDatabaseMetadata) String() string

type DeleteDatabaseRequest

type DeleteDatabaseRequest struct {

	// ID of the cluster to delete the database from.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the database to delete.
	//
	// To get this name, make a [DatabaseService.List] request.
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDatabaseRequest) Descriptor deprecated

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

Deprecated: Use DeleteDatabaseRequest.ProtoReflect.Descriptor instead.

func (*DeleteDatabaseRequest) GetClusterId

func (x *DeleteDatabaseRequest) GetClusterId() string

func (*DeleteDatabaseRequest) GetDatabaseName

func (x *DeleteDatabaseRequest) GetDatabaseName() 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) SetClusterId

func (m *DeleteDatabaseRequest) SetClusterId(v string)

func (*DeleteDatabaseRequest) SetDatabaseName

func (m *DeleteDatabaseRequest) SetDatabaseName(v string)

func (*DeleteDatabaseRequest) String

func (x *DeleteDatabaseRequest) String() string

type DeleteUserMetadata

type DeleteUserMetadata struct {

	// ID of the cluster the user is being deleted from.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user that is being deleted.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserMetadata) Descriptor deprecated

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

Deprecated: Use DeleteUserMetadata.ProtoReflect.Descriptor instead.

func (*DeleteUserMetadata) GetClusterId

func (x *DeleteUserMetadata) GetClusterId() string

func (*DeleteUserMetadata) GetUserName

func (x *DeleteUserMetadata) GetUserName() string

func (*DeleteUserMetadata) ProtoMessage

func (*DeleteUserMetadata) ProtoMessage()

func (*DeleteUserMetadata) ProtoReflect

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

func (*DeleteUserMetadata) Reset

func (x *DeleteUserMetadata) Reset()

func (*DeleteUserMetadata) SetClusterId

func (m *DeleteUserMetadata) SetClusterId(v string)

func (*DeleteUserMetadata) SetUserName

func (m *DeleteUserMetadata) SetUserName(v string)

func (*DeleteUserMetadata) String

func (x *DeleteUserMetadata) String() string

type DeleteUserRequest

type DeleteUserRequest struct {

	// ID of the cluster to delete the user from.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user to delete.
	//
	// To get this name, make a [UserService.List] request.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetClusterId

func (x *DeleteUserRequest) GetClusterId() string

func (*DeleteUserRequest) GetUserName

func (x *DeleteUserRequest) GetUserName() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) SetClusterId

func (m *DeleteUserRequest) SetClusterId(v string)

func (*DeleteUserRequest) SetUserName

func (m *DeleteUserRequest) SetUserName(v string)

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type GetBackupRequest

type GetBackupRequest struct {

	// ID of the backup to return information about.
	//
	// To get this ID, make a [BackupService.List] request (lists all backups in a folder) or a [ClusterService.ListBackups] request (lists all backups for an existing cluster).
	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 GetClusterRequest

type GetClusterRequest struct {

	// ID of the cluster to return information about.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClusterRequest) Descriptor deprecated

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

Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.

func (*GetClusterRequest) GetClusterId

func (x *GetClusterRequest) GetClusterId() string

func (*GetClusterRequest) ProtoMessage

func (*GetClusterRequest) ProtoMessage()

func (*GetClusterRequest) ProtoReflect

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

func (*GetClusterRequest) Reset

func (x *GetClusterRequest) Reset()

func (*GetClusterRequest) SetClusterId

func (m *GetClusterRequest) SetClusterId(v string)

func (*GetClusterRequest) String

func (x *GetClusterRequest) String() string

type GetDatabaseRequest

type GetDatabaseRequest struct {

	// ID of the cluster that the database belongs to.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the database to return information about.
	//
	// To get this name, make a [DatabaseService.List] request.
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDatabaseRequest) Descriptor deprecated

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

Deprecated: Use GetDatabaseRequest.ProtoReflect.Descriptor instead.

func (*GetDatabaseRequest) GetClusterId

func (x *GetDatabaseRequest) GetClusterId() string

func (*GetDatabaseRequest) GetDatabaseName

func (x *GetDatabaseRequest) GetDatabaseName() 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) SetClusterId

func (m *GetDatabaseRequest) SetClusterId(v string)

func (*GetDatabaseRequest) SetDatabaseName

func (m *GetDatabaseRequest) SetDatabaseName(v string)

func (*GetDatabaseRequest) String

func (x *GetDatabaseRequest) String() string

type GetResourcePresetRequest

type GetResourcePresetRequest struct {

	// ID of the resource preset to return information about.
	//
	// To get this ID, make a [ResourcePresetService.List] request.
	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 GetUserRequest

type GetUserRequest struct {

	// ID of the cluster the user belongs to.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user to return information about.
	//
	// To get this name, make a [UserService.List] request.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetClusterId

func (x *GetUserRequest) GetClusterId() string

func (*GetUserRequest) GetUserName

func (x *GetUserRequest) GetUserName() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) SetClusterId

func (m *GetUserRequest) SetClusterId(v string)

func (*GetUserRequest) SetUserName

func (m *GetUserRequest) SetUserName(v string)

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GlobalPermission

type GlobalPermission int32
const (
	GlobalPermission_GLOBAL_PERMISSION_UNSPECIFIED GlobalPermission = 0
	// Enables use of the `SHOW MASTER STATUS`, `SHOW SLAVE STATUS`, and `SHOW BINARY LOGS` statements.
	GlobalPermission_REPLICATION_CLIENT GlobalPermission = 1
	// Enables the account to request updates that have been made to databases on the master server,
	// using the `SHOW SLAVE HOSTS`, `SHOW RELAYLOG EVENTS` and `SHOW BINLOG EVENTS` statements.
	GlobalPermission_REPLICATION_SLAVE GlobalPermission = 2
	// Enables display of information about the the statements currently being performed by sessions (the set of threads executing within the server).
	//
	// The privilege enables use of `SHOW PROCESSLIST` or `mysqladmin` processlist to see threads belonging to other users.
	// You can always see your own threads. The `PROCESS` privilege also enables use of `SHOW ENGINE`.
	GlobalPermission_PROCESS GlobalPermission = 3
	// Enables use of the `FLUSH OPTIMIZER_COSTS` statement.
	GlobalPermission_FLUSH_OPTIMIZER_COSTS GlobalPermission = 4
	// Enables a user to access definitions and properties of all stored routines (stored procedures and functions), even those for which the user is not named as the routine DEFINER.
	// This access includes:
	// The contents of the Information Schema `ROUTINES` table.
	// The `SHOW CREATE FUNCTION` and `SHOW CREATE PROCEDURE` statements.
	// The `SHOW FUNCTION CODE` and `SHOW PROCEDURE CODE` statements.
	// The SHOW `FUNCTION STATUS` and `SHOW PROCEDURE STATUS` statements.
	GlobalPermission_SHOW_ROUTINE GlobalPermission = 5
)

func (GlobalPermission) Descriptor

func (GlobalPermission) Enum

func (GlobalPermission) EnumDescriptor deprecated

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

Deprecated: Use GlobalPermission.Descriptor instead.

func (GlobalPermission) Number

func (GlobalPermission) String

func (x GlobalPermission) String() string

func (GlobalPermission) Type

type GrantUserPermissionMetadata

type GrantUserPermissionMetadata struct {

	// ID of the cluster the user is being granted a permission in.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user that is being granted a permission.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantUserPermissionMetadata) Descriptor deprecated

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

Deprecated: Use GrantUserPermissionMetadata.ProtoReflect.Descriptor instead.

func (*GrantUserPermissionMetadata) GetClusterId

func (x *GrantUserPermissionMetadata) GetClusterId() string

func (*GrantUserPermissionMetadata) GetUserName

func (x *GrantUserPermissionMetadata) GetUserName() string

func (*GrantUserPermissionMetadata) ProtoMessage

func (*GrantUserPermissionMetadata) ProtoMessage()

func (*GrantUserPermissionMetadata) ProtoReflect

func (*GrantUserPermissionMetadata) Reset

func (x *GrantUserPermissionMetadata) Reset()

func (*GrantUserPermissionMetadata) SetClusterId

func (m *GrantUserPermissionMetadata) SetClusterId(v string)

func (*GrantUserPermissionMetadata) SetUserName

func (m *GrantUserPermissionMetadata) SetUserName(v string)

func (*GrantUserPermissionMetadata) String

func (x *GrantUserPermissionMetadata) String() string

type GrantUserPermissionRequest

type GrantUserPermissionRequest struct {

	// ID of the cluster to grant permission to the user in.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user to grant permission to.
	//
	// To get this name, make a [UserService.List] request.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// Permission that should be granted to the specified user.
	Permission *Permission `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantUserPermissionRequest) Descriptor deprecated

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

Deprecated: Use GrantUserPermissionRequest.ProtoReflect.Descriptor instead.

func (*GrantUserPermissionRequest) GetClusterId

func (x *GrantUserPermissionRequest) GetClusterId() string

func (*GrantUserPermissionRequest) GetPermission

func (x *GrantUserPermissionRequest) GetPermission() *Permission

func (*GrantUserPermissionRequest) GetUserName

func (x *GrantUserPermissionRequest) GetUserName() string

func (*GrantUserPermissionRequest) ProtoMessage

func (*GrantUserPermissionRequest) ProtoMessage()

func (*GrantUserPermissionRequest) ProtoReflect

func (*GrantUserPermissionRequest) Reset

func (x *GrantUserPermissionRequest) Reset()

func (*GrantUserPermissionRequest) SetClusterId

func (m *GrantUserPermissionRequest) SetClusterId(v string)

func (*GrantUserPermissionRequest) SetPermission

func (m *GrantUserPermissionRequest) SetPermission(v *Permission)

func (*GrantUserPermissionRequest) SetUserName

func (m *GrantUserPermissionRequest) SetUserName(v string)

func (*GrantUserPermissionRequest) String

func (x *GrantUserPermissionRequest) String() string

type Host

type Host struct {

	// Name of the host.
	//
	// This name is assigned by the platform at the time of creation.
	// The name is unique across all MDB hosts that exist on the platform, as it defines the FQDN of the host.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the cluster the host belongs to.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the availability zone where the host resides.
	ZoneId string `protobuf:"bytes,3,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	// Resources allocated to the host.
	Resources *Resources `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"`
	// Role of the host in the cluster. If the field has default value, it is not returned in the response.
	Role Host_Role `protobuf:"varint,5,opt,name=role,proto3,enum=yandex.cloud.mdb.mysql.v1.Host_Role" json:"role,omitempty"`
	// Aggregated health of the host. If the field has default value, it is not returned in the response.
	Health Host_Health `protobuf:"varint,6,opt,name=health,proto3,enum=yandex.cloud.mdb.mysql.v1.Host_Health" json:"health,omitempty"`
	// List of services provided by the host.
	Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"`
	// ID of the subnet that the host belongs to.
	SubnetId string `protobuf:"bytes,8,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// Flag that shows if public IP address is assigned to the host so that the host can be accessed from the internet.
	AssignPublicIp bool `protobuf:"varint,9,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	// Name of the host to be used as the replication source for cascading replication.
	ReplicationSource string `protobuf:"bytes,10,opt,name=replication_source,json=replicationSource,proto3" json:"replication_source,omitempty"`
	// Host backup priority.
	BackupPriority int64 `protobuf:"varint,11,opt,name=backup_priority,json=backupPriority,proto3" json:"backup_priority,omitempty"`
	// Host master promotion priority.
	Priority int64 `protobuf:"varint,12,opt,name=priority,proto3" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

func (*Host) Descriptor deprecated

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

Deprecated: Use Host.ProtoReflect.Descriptor instead.

func (*Host) GetAssignPublicIp

func (x *Host) GetAssignPublicIp() bool

func (*Host) GetBackupPriority

func (x *Host) GetBackupPriority() int64

func (*Host) GetClusterId

func (x *Host) GetClusterId() string

func (*Host) GetHealth

func (x *Host) GetHealth() Host_Health

func (*Host) GetName

func (x *Host) GetName() string

func (*Host) GetPriority

func (x *Host) GetPriority() int64

func (*Host) GetReplicationSource

func (x *Host) GetReplicationSource() string

func (*Host) GetResources

func (x *Host) GetResources() *Resources

func (*Host) GetRole

func (x *Host) GetRole() Host_Role

func (*Host) GetServices

func (x *Host) GetServices() []*Service

func (*Host) GetSubnetId

func (x *Host) GetSubnetId() string

func (*Host) GetZoneId

func (x *Host) GetZoneId() string

func (*Host) ProtoMessage

func (*Host) ProtoMessage()

func (*Host) ProtoReflect

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

func (*Host) Reset

func (x *Host) Reset()

func (*Host) SetAssignPublicIp

func (m *Host) SetAssignPublicIp(v bool)

func (*Host) SetBackupPriority

func (m *Host) SetBackupPriority(v int64)

func (*Host) SetClusterId

func (m *Host) SetClusterId(v string)

func (*Host) SetHealth

func (m *Host) SetHealth(v Host_Health)

func (*Host) SetName

func (m *Host) SetName(v string)

func (*Host) SetPriority

func (m *Host) SetPriority(v int64)

func (*Host) SetReplicationSource

func (m *Host) SetReplicationSource(v string)

func (*Host) SetResources

func (m *Host) SetResources(v *Resources)

func (*Host) SetRole

func (m *Host) SetRole(v Host_Role)

func (*Host) SetServices

func (m *Host) SetServices(v []*Service)

func (*Host) SetSubnetId

func (m *Host) SetSubnetId(v string)

func (*Host) SetZoneId

func (m *Host) SetZoneId(v string)

func (*Host) String

func (x *Host) String() string

type HostSpec

type HostSpec struct {

	// ID of the availability zone where the host resides.
	//
	// To get a list of available zones, make the [yandex.cloud.compute.v1.ZoneService.List] request.
	ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	// ID of the subnet to assign to the host.
	//
	// This subnet should be a part of the cluster network (the network ID is specified in the [ClusterService.CreateClusterRequest.network_id]).
	SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// Option that enables public IP address for the host so that the host can be accessed from the internet.
	//
	// After a host has been created, this setting cannot be changed.
	// To remove an assigned public IP address, or to assign a public IP address to a host without one, recreate the host with the appropriate [assign_public_ip] value set.
	//
	// Possible values:
	// * `false` - don't assign a public IP address to the host.
	// * `true` - assign a public IP address to the host.
	AssignPublicIp bool `protobuf:"varint,3,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	// [Host.name] of the host to be used as the replication source (for cascading replication).
	ReplicationSource string `protobuf:"bytes,4,opt,name=replication_source,json=replicationSource,proto3" json:"replication_source,omitempty"`
	// Host backup priority
	BackupPriority int64 `protobuf:"varint,5,opt,name=backup_priority,json=backupPriority,proto3" json:"backup_priority,omitempty"`
	// Host master promotion priority
	Priority int64 `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

func (*HostSpec) Descriptor deprecated

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

Deprecated: Use HostSpec.ProtoReflect.Descriptor instead.

func (*HostSpec) GetAssignPublicIp

func (x *HostSpec) GetAssignPublicIp() bool

func (*HostSpec) GetBackupPriority

func (x *HostSpec) GetBackupPriority() int64

func (*HostSpec) GetPriority

func (x *HostSpec) GetPriority() int64

func (*HostSpec) GetReplicationSource

func (x *HostSpec) GetReplicationSource() string

func (*HostSpec) GetSubnetId

func (x *HostSpec) GetSubnetId() string

func (*HostSpec) GetZoneId

func (x *HostSpec) GetZoneId() string

func (*HostSpec) ProtoMessage

func (*HostSpec) ProtoMessage()

func (*HostSpec) ProtoReflect

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

func (*HostSpec) Reset

func (x *HostSpec) Reset()

func (*HostSpec) SetAssignPublicIp

func (m *HostSpec) SetAssignPublicIp(v bool)

func (*HostSpec) SetBackupPriority

func (m *HostSpec) SetBackupPriority(v int64)

func (*HostSpec) SetPriority

func (m *HostSpec) SetPriority(v int64)

func (*HostSpec) SetReplicationSource

func (m *HostSpec) SetReplicationSource(v string)

func (*HostSpec) SetSubnetId

func (m *HostSpec) SetSubnetId(v string)

func (*HostSpec) SetZoneId

func (m *HostSpec) SetZoneId(v string)

func (*HostSpec) String

func (x *HostSpec) String() string

type Host_Health

type Host_Health int32
const (
	// Health of the host is unknown. Default value.
	Host_HEALTH_UNKNOWN Host_Health = 0
	// Host is performing all its functions normally.
	Host_ALIVE Host_Health = 1
	// Host is inoperable, and cannot perform any of its essential functions.
	Host_DEAD Host_Health = 2
	// Host is degraded, and can perform only some of its essential functions.
	Host_DEGRADED Host_Health = 3
	// Host is alive, but in read-only mode.
	Host_READONLY Host_Health = 4
)

func (Host_Health) Descriptor

func (Host_Health) Enum

func (x Host_Health) Enum() *Host_Health

func (Host_Health) EnumDescriptor deprecated

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

Deprecated: Use Host_Health.Descriptor instead.

func (Host_Health) Number

func (x Host_Health) Number() protoreflect.EnumNumber

func (Host_Health) String

func (x Host_Health) String() string

func (Host_Health) Type

type Host_Role

type Host_Role int32
const (
	// Role of the host is unknown. Default value.
	Host_ROLE_UNKNOWN Host_Role = 0
	// Host is the master.
	Host_MASTER Host_Role = 1
	// Host is a replica.
	Host_REPLICA Host_Role = 2
)

func (Host_Role) Descriptor

func (Host_Role) Descriptor() protoreflect.EnumDescriptor

func (Host_Role) Enum

func (x Host_Role) Enum() *Host_Role

func (Host_Role) EnumDescriptor deprecated

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

Deprecated: Use Host_Role.Descriptor instead.

func (Host_Role) Number

func (x Host_Role) Number() protoreflect.EnumNumber

func (Host_Role) String

func (x Host_Role) String() string

func (Host_Role) Type

type ListBackupsRequest

type ListBackupsRequest struct {

	// ID of the folder to list backups in.
	//
	// To get this ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return.
	//
	// If the number of available results is larger than [page_size], the API returns a [ListBackupsResponse.next_page_token] that can be used to get the next page of results in the subsequent [BackupService.List] requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token that can be used to iterate through multiple pages of results.
	//
	// To get the next page of results, set [page_token] to the [ListBackupsResponse.next_page_token] returned by the previous [BackupService.List] request.
	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 {

	// List of backups.
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// The token that can be used to get the next page of results.
	//
	// If the number of results is larger than [ListBackupsRequest.page_size], use the [next_page_token] as the value for the [ListBackupsRequest.page_token] in the subsequent [BackupService.List] request to iterate through multiple pages of results.
	//
	// Each of the subsequent [BackupService.List] requests should use the [next_page_token] value returned by the previous request 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 ListClusterBackupsRequest

type ListClusterBackupsRequest struct {

	// ID of the cluster to list backups for.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return.
	//
	// If the number of available results is larger than [page_size], the API returns a [ListClusterBackupsResponse.next_page_token] that can be used to get the next page of results in the subsequent [ClusterService.ListBackups] requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token that can be used to iterate through multiple pages of results.
	//
	// To get the next page of results, set [page_token] to the [ListClusterBackupsResponse.next_page_token] returned by the previous [ClusterService.ListBackups] request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterBackupsRequest) Descriptor deprecated

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

Deprecated: Use ListClusterBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterBackupsRequest) GetClusterId

func (x *ListClusterBackupsRequest) GetClusterId() string

func (*ListClusterBackupsRequest) GetPageSize

func (x *ListClusterBackupsRequest) GetPageSize() int64

func (*ListClusterBackupsRequest) GetPageToken

func (x *ListClusterBackupsRequest) GetPageToken() string

func (*ListClusterBackupsRequest) ProtoMessage

func (*ListClusterBackupsRequest) ProtoMessage()

func (*ListClusterBackupsRequest) ProtoReflect

func (*ListClusterBackupsRequest) Reset

func (x *ListClusterBackupsRequest) Reset()

func (*ListClusterBackupsRequest) SetClusterId

func (m *ListClusterBackupsRequest) SetClusterId(v string)

func (*ListClusterBackupsRequest) SetPageSize

func (m *ListClusterBackupsRequest) SetPageSize(v int64)

func (*ListClusterBackupsRequest) SetPageToken

func (m *ListClusterBackupsRequest) SetPageToken(v string)

func (*ListClusterBackupsRequest) String

func (x *ListClusterBackupsRequest) String() string

type ListClusterBackupsResponse

type ListClusterBackupsResponse struct {

	// List of the cluster backups.
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// The token that can be used to get the next page of results.
	//
	// If the number of results is larger than [ListClusterBackupsRequest.page_size], use the [next_page_token] as the value for the [ListClusterBackupsRequest.page_token] in the subsequent [ClusterService.ListBackups] request to iterate through multiple pages of results.
	//
	// Each of the subsequent [ClusterService.ListBackups] requests should use the [next_page_token] value returned by the previous request 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 (*ListClusterBackupsResponse) Descriptor deprecated

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

Deprecated: Use ListClusterBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterBackupsResponse) GetBackups

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

func (*ListClusterBackupsResponse) GetNextPageToken

func (x *ListClusterBackupsResponse) GetNextPageToken() string

func (*ListClusterBackupsResponse) ProtoMessage

func (*ListClusterBackupsResponse) ProtoMessage()

func (*ListClusterBackupsResponse) ProtoReflect

func (*ListClusterBackupsResponse) Reset

func (x *ListClusterBackupsResponse) Reset()

func (*ListClusterBackupsResponse) SetBackups

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

func (*ListClusterBackupsResponse) SetNextPageToken

func (m *ListClusterBackupsResponse) SetNextPageToken(v string)

func (*ListClusterBackupsResponse) String

func (x *ListClusterBackupsResponse) String() string

type ListClusterHostsRequest

type ListClusterHostsRequest struct {

	// ID of the cluster to list hosts for.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return.
	//
	// If the number of available results is larger than [page_size], the API returns a [ListClusterHostsResponse.next_page_token] that can be used to get the next page of results in the subsequent [ClusterService.ListHosts] requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token that can be used to iterate through multiple pages of results.
	//
	// To get the next page of results, set [page_token] to the [ListClusterHostsResponse.next_page_token] returned by the previous [ClusterService.ListHosts] request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterHostsRequest) Descriptor deprecated

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

Deprecated: Use ListClusterHostsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterHostsRequest) GetClusterId

func (x *ListClusterHostsRequest) GetClusterId() string

func (*ListClusterHostsRequest) GetPageSize

func (x *ListClusterHostsRequest) GetPageSize() int64

func (*ListClusterHostsRequest) GetPageToken

func (x *ListClusterHostsRequest) GetPageToken() string

func (*ListClusterHostsRequest) ProtoMessage

func (*ListClusterHostsRequest) ProtoMessage()

func (*ListClusterHostsRequest) ProtoReflect

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

func (*ListClusterHostsRequest) Reset

func (x *ListClusterHostsRequest) Reset()

func (*ListClusterHostsRequest) SetClusterId

func (m *ListClusterHostsRequest) SetClusterId(v string)

func (*ListClusterHostsRequest) SetPageSize

func (m *ListClusterHostsRequest) SetPageSize(v int64)

func (*ListClusterHostsRequest) SetPageToken

func (m *ListClusterHostsRequest) SetPageToken(v string)

func (*ListClusterHostsRequest) String

func (x *ListClusterHostsRequest) String() string

type ListClusterHostsResponse

type ListClusterHostsResponse struct {

	// List of hosts in the cluster.
	Hosts []*Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
	// The token that can be used to get the next page of results.
	//
	// If the number of results is larger than [ListClusterHostsRequest.page_size], use the [next_page_token] as the value for the [ListClusterHostsRequest.page_token] in the subsequent [ClusterService.ListHosts] request to iterate through multiple pages of results.
	//
	// Each of the subsequent [ClusterService.ListHosts] requests should use the [next_page_token] value returned by the previous request 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 (*ListClusterHostsResponse) Descriptor deprecated

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

Deprecated: Use ListClusterHostsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterHostsResponse) GetHosts

func (x *ListClusterHostsResponse) GetHosts() []*Host

func (*ListClusterHostsResponse) GetNextPageToken

func (x *ListClusterHostsResponse) GetNextPageToken() string

func (*ListClusterHostsResponse) ProtoMessage

func (*ListClusterHostsResponse) ProtoMessage()

func (*ListClusterHostsResponse) ProtoReflect

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

func (*ListClusterHostsResponse) Reset

func (x *ListClusterHostsResponse) Reset()

func (*ListClusterHostsResponse) SetHosts

func (m *ListClusterHostsResponse) SetHosts(v []*Host)

func (*ListClusterHostsResponse) SetNextPageToken

func (m *ListClusterHostsResponse) SetNextPageToken(v string)

func (*ListClusterHostsResponse) String

func (x *ListClusterHostsResponse) String() string

type ListClusterLogsRequest

type ListClusterLogsRequest struct {

	// ID of the cluster to request logs for.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Columns from the logs table to request.
	// If no columns are specified, complete log records are returned.
	ColumnFilter []string `protobuf:"bytes,2,rep,name=column_filter,json=columnFilter,proto3" json:"column_filter,omitempty"`
	// The log type.
	ServiceType ListClusterLogsRequest_ServiceType `` /* 161-byte string literal not displayed */
	// Start timestamp for the logs request.
	// The logs in the response will be within [from_time] to [to_time] range.
	FromTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
	// End timestamp for the logs request.
	// The logs in the response will be within [from_time] to [to_time] range.
	ToTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=to_time,json=toTime,proto3" json:"to_time,omitempty"`
	// The maximum number of results per page to return.
	//
	// If the number of available results is larger than [page_size], the API returns a [ListClusterLogsResponse.next_page_token] that can be used to get the next page of results in the subsequent [ClusterService.ListLogs] requests.
	PageSize int64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token that can be used to iterate through multiple pages of results.
	//
	// To get the next page of results, set [page_token] to the [ListClusterLogsResponse.next_page_token] returned by the previous [ClusterService.ListLogs] request.
	PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Option that controls the behavior of result pagination.
	// If it is set to `true`, then [ListClusterLogsResponse.next_page_token] will always be returned, even if the current page is empty.
	AlwaysNextPageToken bool `protobuf:"varint,8,opt,name=always_next_page_token,json=alwaysNextPageToken,proto3" json:"always_next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterLogsRequest) Descriptor deprecated

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

Deprecated: Use ListClusterLogsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterLogsRequest) GetAlwaysNextPageToken

func (x *ListClusterLogsRequest) GetAlwaysNextPageToken() bool

func (*ListClusterLogsRequest) GetClusterId

func (x *ListClusterLogsRequest) GetClusterId() string

func (*ListClusterLogsRequest) GetColumnFilter

func (x *ListClusterLogsRequest) GetColumnFilter() []string

func (*ListClusterLogsRequest) GetFromTime

func (x *ListClusterLogsRequest) GetFromTime() *timestamppb.Timestamp

func (*ListClusterLogsRequest) GetPageSize

func (x *ListClusterLogsRequest) GetPageSize() int64

func (*ListClusterLogsRequest) GetPageToken

func (x *ListClusterLogsRequest) GetPageToken() string

func (*ListClusterLogsRequest) GetServiceType

func (*ListClusterLogsRequest) GetToTime

func (*ListClusterLogsRequest) ProtoMessage

func (*ListClusterLogsRequest) ProtoMessage()

func (*ListClusterLogsRequest) ProtoReflect

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

func (*ListClusterLogsRequest) Reset

func (x *ListClusterLogsRequest) Reset()

func (*ListClusterLogsRequest) SetAlwaysNextPageToken

func (m *ListClusterLogsRequest) SetAlwaysNextPageToken(v bool)

func (*ListClusterLogsRequest) SetClusterId

func (m *ListClusterLogsRequest) SetClusterId(v string)

func (*ListClusterLogsRequest) SetColumnFilter

func (m *ListClusterLogsRequest) SetColumnFilter(v []string)

func (*ListClusterLogsRequest) SetFromTime

func (m *ListClusterLogsRequest) SetFromTime(v *timestamppb.Timestamp)

func (*ListClusterLogsRequest) SetPageSize

func (m *ListClusterLogsRequest) SetPageSize(v int64)

func (*ListClusterLogsRequest) SetPageToken

func (m *ListClusterLogsRequest) SetPageToken(v string)

func (*ListClusterLogsRequest) SetServiceType

func (*ListClusterLogsRequest) SetToTime

func (m *ListClusterLogsRequest) SetToTime(v *timestamppb.Timestamp)

func (*ListClusterLogsRequest) String

func (x *ListClusterLogsRequest) String() string

type ListClusterLogsRequest_ServiceType

type ListClusterLogsRequest_ServiceType int32
const (
	ListClusterLogsRequest_SERVICE_TYPE_UNSPECIFIED ListClusterLogsRequest_ServiceType = 0
	// MySQL error log.
	ListClusterLogsRequest_MYSQL_ERROR ListClusterLogsRequest_ServiceType = 1
	// MySQL general query log.
	ListClusterLogsRequest_MYSQL_GENERAL ListClusterLogsRequest_ServiceType = 2
	// MySQL slow query log.
	ListClusterLogsRequest_MYSQL_SLOW_QUERY ListClusterLogsRequest_ServiceType = 3
	// MySQL audit log.
	ListClusterLogsRequest_MYSQL_AUDIT ListClusterLogsRequest_ServiceType = 4
)

func (ListClusterLogsRequest_ServiceType) Descriptor

func (ListClusterLogsRequest_ServiceType) Enum

func (ListClusterLogsRequest_ServiceType) EnumDescriptor deprecated

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

Deprecated: Use ListClusterLogsRequest_ServiceType.Descriptor instead.

func (ListClusterLogsRequest_ServiceType) Number

func (ListClusterLogsRequest_ServiceType) String

func (ListClusterLogsRequest_ServiceType) Type

type ListClusterLogsResponse

type ListClusterLogsResponse struct {

	// Requested log records.
	Logs []*LogRecord `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	// The token that can be used to get the next page of results.
	//
	// If the number of results is larger than [ListClusterLogsRequest.page_size], use the [next_page_token] as the value for the [ListClusterLogsRequest.page_token] in the subsequent [ClusterService.ListLogs] request to iterate through multiple pages of results.
	//
	// Each of the subsequent [ClusterService.ListLogs] requests should use the [next_page_token] value returned by the previous request to continue paging through the results.
	//
	// This value is interchangeable with [StreamLogRecord.next_record_token] from [ClusterService.StreamLogs] method.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterLogsResponse) Descriptor deprecated

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

Deprecated: Use ListClusterLogsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterLogsResponse) GetLogs

func (x *ListClusterLogsResponse) GetLogs() []*LogRecord

func (*ListClusterLogsResponse) GetNextPageToken

func (x *ListClusterLogsResponse) GetNextPageToken() string

func (*ListClusterLogsResponse) ProtoMessage

func (*ListClusterLogsResponse) ProtoMessage()

func (*ListClusterLogsResponse) ProtoReflect

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

func (*ListClusterLogsResponse) Reset

func (x *ListClusterLogsResponse) Reset()

func (*ListClusterLogsResponse) SetLogs

func (m *ListClusterLogsResponse) SetLogs(v []*LogRecord)

func (*ListClusterLogsResponse) SetNextPageToken

func (m *ListClusterLogsResponse) SetNextPageToken(v string)

func (*ListClusterLogsResponse) String

func (x *ListClusterLogsResponse) String() string

type ListClusterOperationsRequest

type ListClusterOperationsRequest struct {

	// ID of the cluster to list operations for.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return.
	//
	// If the number of available results is larger than [page_size], the API returns a [ListClusterOperationsResponse.next_page_token] that can be used to get the next page of results in the subsequent [ClusterService.ListOperations] requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token that can be used to iterate through multiple pages of results.
	//
	// To get the next page of results, set [page_token] to the [ListClusterOperationsResponse.next_page_token] returned by the previous [ClusterService.ListOperations] request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterOperationsRequest) Descriptor deprecated

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

Deprecated: Use ListClusterOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterOperationsRequest) GetClusterId

func (x *ListClusterOperationsRequest) GetClusterId() string

func (*ListClusterOperationsRequest) GetPageSize

func (x *ListClusterOperationsRequest) GetPageSize() int64

func (*ListClusterOperationsRequest) GetPageToken

func (x *ListClusterOperationsRequest) GetPageToken() string

func (*ListClusterOperationsRequest) ProtoMessage

func (*ListClusterOperationsRequest) ProtoMessage()

func (*ListClusterOperationsRequest) ProtoReflect

func (*ListClusterOperationsRequest) Reset

func (x *ListClusterOperationsRequest) Reset()

func (*ListClusterOperationsRequest) SetClusterId

func (m *ListClusterOperationsRequest) SetClusterId(v string)

func (*ListClusterOperationsRequest) SetPageSize

func (m *ListClusterOperationsRequest) SetPageSize(v int64)

func (*ListClusterOperationsRequest) SetPageToken

func (m *ListClusterOperationsRequest) SetPageToken(v string)

func (*ListClusterOperationsRequest) String

type ListClusterOperationsResponse

type ListClusterOperationsResponse struct {

	// List of operations in the cluster.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// The token that can be used to get the next page of results.
	//
	// If the number of results is larger than [ListClusterOperationsRequest.page_size], use the [next_page_token] as the value for the [ListClusterOperationsRequest.page_token] in the subsequent [ClusterService.ListOperations] request to iterate through multiple pages of results.
	//
	// Each of the subsequent [ClusterService.ListOperations] requests should use the [next_page_token] value returned by the previous request 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 (*ListClusterOperationsResponse) Descriptor deprecated

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

Deprecated: Use ListClusterOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterOperationsResponse) GetNextPageToken

func (x *ListClusterOperationsResponse) GetNextPageToken() string

func (*ListClusterOperationsResponse) GetOperations

func (x *ListClusterOperationsResponse) GetOperations() []*operation.Operation

func (*ListClusterOperationsResponse) ProtoMessage

func (*ListClusterOperationsResponse) ProtoMessage()

func (*ListClusterOperationsResponse) ProtoReflect

func (*ListClusterOperationsResponse) Reset

func (x *ListClusterOperationsResponse) Reset()

func (*ListClusterOperationsResponse) SetNextPageToken

func (m *ListClusterOperationsResponse) SetNextPageToken(v string)

func (*ListClusterOperationsResponse) SetOperations

func (m *ListClusterOperationsResponse) SetOperations(v []*operation.Operation)

func (*ListClusterOperationsResponse) String

type ListClustersRequest

type ListClustersRequest struct {

	// ID of the folder to list clusters in.
	//
	// To get this ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return.
	//
	// If the number of available results is larger than [page_size], the API returns a [ListClustersResponse.next_page_token] that can be used to get the next page of results in the subsequent [ClusterService.List] requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token that can be used to iterate through multiple pages of results.
	//
	// To get the next page of results, set [page_token] to the [ListClustersResponse.next_page_token] returned by the previous [ClusterService.List] request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that selects clusters listed in the response.
	//
	// The expression must specify:
	// 1. The field name. Currently you can only use filtering with the [Cluster.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 1-63 characters long and match the regular expression `[a-zA-Z0-9_-]+`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClustersRequest) Descriptor deprecated

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

Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.

func (*ListClustersRequest) GetFilter

func (x *ListClustersRequest) GetFilter() string

func (*ListClustersRequest) GetFolderId

func (x *ListClustersRequest) GetFolderId() string

func (*ListClustersRequest) GetPageSize

func (x *ListClustersRequest) GetPageSize() int64

func (*ListClustersRequest) GetPageToken

func (x *ListClustersRequest) GetPageToken() string

func (*ListClustersRequest) ProtoMessage

func (*ListClustersRequest) ProtoMessage()

func (*ListClustersRequest) ProtoReflect

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

func (*ListClustersRequest) Reset

func (x *ListClustersRequest) Reset()

func (*ListClustersRequest) SetFilter

func (m *ListClustersRequest) SetFilter(v string)

func (*ListClustersRequest) SetFolderId

func (m *ListClustersRequest) SetFolderId(v string)

func (*ListClustersRequest) SetPageSize

func (m *ListClustersRequest) SetPageSize(v int64)

func (*ListClustersRequest) SetPageToken

func (m *ListClustersRequest) SetPageToken(v string)

func (*ListClustersRequest) String

func (x *ListClustersRequest) String() string

type ListClustersResponse

type ListClustersResponse struct {

	// List of clusters.
	Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// The token that can be used to get the next page of results.
	//
	// If the number of results is larger than [ListClustersRequest.page_size], use the [next_page_token] as the value for the [ListClustersRequest.page_token] in the subsequent [ClusterService.List] request to iterate through multiple pages of results.
	//
	// Each of the subsequent [ClusterService.List] requests should use the [next_page_token] value returned by the previous request 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 (*ListClustersResponse) Descriptor deprecated

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

Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.

func (*ListClustersResponse) GetClusters

func (x *ListClustersResponse) GetClusters() []*Cluster

func (*ListClustersResponse) GetNextPageToken

func (x *ListClustersResponse) GetNextPageToken() string

func (*ListClustersResponse) ProtoMessage

func (*ListClustersResponse) ProtoMessage()

func (*ListClustersResponse) ProtoReflect

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

func (*ListClustersResponse) Reset

func (x *ListClustersResponse) Reset()

func (*ListClustersResponse) SetClusters

func (m *ListClustersResponse) SetClusters(v []*Cluster)

func (*ListClustersResponse) SetNextPageToken

func (m *ListClustersResponse) SetNextPageToken(v string)

func (*ListClustersResponse) String

func (x *ListClustersResponse) String() string

type ListDatabasesRequest

type ListDatabasesRequest struct {

	// ID of the cluster to list databases in.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return.
	//
	// If the number of available results is larger than [page_size], the API returns a [ListDatabasesResponse.next_page_token] that can be used to get the next page of results in the subsequent [DatabaseService.List] requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token that can be used to iterate through multiple pages of results.
	//
	// To get the next page of results, set [page_token] to the [ListDatabasesResponse.next_page_token] returned by the previous [DatabaseService.List] request.
	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) GetClusterId

func (x *ListDatabasesRequest) GetClusterId() 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) SetClusterId

func (m *ListDatabasesRequest) SetClusterId(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 {

	// List of databases.
	Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
	// The token that can be used to get the next page of results.
	//
	// If the number of results is larger than [ListDatabasesRequest.page_size], use the [next_page_token] as the value for the [ListDatabasesRequest.page_token] in the subsequent [DatabaseService.List] request to iterate through multiple pages of results.
	//
	// Each of the subsequent [DatabaseService.List] requests should use the [next_page_token] value returned by the previous request 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 ListResourcePresetsRequest

type ListResourcePresetsRequest struct {

	// The maximum number of results per page to return.
	//
	// If the number of available results is larger than [page_size], the API returns a [ListResourcePresetsResponse.next_page_token] that can be used to get the next page of results in the subsequent [ResourcePresetService.List] requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token that can be used to iterate through multiple pages of results.
	//
	// To get the next page of results, set [page_token] to the [ListResourcePresetsResponse.next_page_token] returned by the previous [ResourcePresetService.List] request.
	PageToken string `protobuf:"bytes,3,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 {

	// List of resource presets.
	ResourcePresets []*ResourcePreset `protobuf:"bytes,1,rep,name=resource_presets,json=resourcePresets,proto3" json:"resource_presets,omitempty"`
	// The token that can be used to get the next page of results.
	//
	// If the number of results is larger than [ListResourcePresetsRequest.page_size], use the [next_page_token] as the value for the [ListResourcePresetsRequest.page_token] in the subsequent [ResourcePresetService.List] request to iterate through multiple pages of results.
	//
	// Each of the subsequent [ResourcePresetService.List] requests should use the [next_page_token] value returned by the previous request 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 ListUsersRequest

type ListUsersRequest struct {

	// ID of the cluster to list the users in.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return.
	//
	// If the number of available results is larger than [page_size], the API returns a [ListUsersResponse.next_page_token] that can be used to get the next page of results in the subsequent [UserService.List] requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token that can be used to iterate through multiple pages of results.
	//
	// To get the next page of results, set [page_token] to the [ListUsersResponse.next_page_token] returned by the previous [UserService.List] request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersRequest) Descriptor deprecated

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetClusterId

func (x *ListUsersRequest) GetClusterId() string

func (*ListUsersRequest) GetPageSize

func (x *ListUsersRequest) GetPageSize() int64

func (*ListUsersRequest) GetPageToken

func (x *ListUsersRequest) GetPageToken() string

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

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

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) SetClusterId

func (m *ListUsersRequest) SetClusterId(v string)

func (*ListUsersRequest) SetPageSize

func (m *ListUsersRequest) SetPageSize(v int64)

func (*ListUsersRequest) SetPageToken

func (m *ListUsersRequest) SetPageToken(v string)

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

type ListUsersResponse

type ListUsersResponse struct {

	// List of users.
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// The token that can be used to get the next page of results.
	//
	// If the number of results is larger than [ListUsersRequest.page_size], use the [next_page_token] as the value for the [ListUsersRequest.page_token] in the subsequent [UserService.List] request to iterate through multiple pages of results.
	//
	// Each of the subsequent [UserService.List] requests should use the [next_page_token] value returned by the previous request 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 (*ListUsersResponse) Descriptor deprecated

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetNextPageToken

func (x *ListUsersResponse) GetNextPageToken() string

func (*ListUsersResponse) GetUsers

func (x *ListUsersResponse) GetUsers() []*User

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

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

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) SetNextPageToken

func (m *ListUsersResponse) SetNextPageToken(v string)

func (*ListUsersResponse) SetUsers

func (m *ListUsersResponse) SetUsers(v []*User)

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

type LogRecord

type LogRecord struct {

	// Timestamp of the log record.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Contents of the log record.
	Message map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

A single log record.

func (*LogRecord) Descriptor deprecated

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

Deprecated: Use LogRecord.ProtoReflect.Descriptor instead.

func (*LogRecord) GetMessage

func (x *LogRecord) GetMessage() map[string]string

func (*LogRecord) GetTimestamp

func (x *LogRecord) GetTimestamp() *timestamppb.Timestamp

func (*LogRecord) ProtoMessage

func (*LogRecord) ProtoMessage()

func (*LogRecord) ProtoReflect

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

func (*LogRecord) Reset

func (x *LogRecord) Reset()

func (*LogRecord) SetMessage

func (m *LogRecord) SetMessage(v map[string]string)

func (*LogRecord) SetTimestamp

func (m *LogRecord) SetTimestamp(v *timestamppb.Timestamp)

func (*LogRecord) String

func (x *LogRecord) String() string

type MaintenanceOperation

type MaintenanceOperation struct {

	// Information about this maintenance operation.
	Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// Time until which this maintenance operation is delayed.
	DelayedUntil *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=delayed_until,json=delayedUntil,proto3" json:"delayed_until,omitempty"`
	// contains filtered or unexported fields
}

A planned maintenance operation.

func (*MaintenanceOperation) Descriptor deprecated

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

Deprecated: Use MaintenanceOperation.ProtoReflect.Descriptor instead.

func (*MaintenanceOperation) GetDelayedUntil

func (x *MaintenanceOperation) GetDelayedUntil() *timestamppb.Timestamp

func (*MaintenanceOperation) GetInfo

func (x *MaintenanceOperation) GetInfo() string

func (*MaintenanceOperation) ProtoMessage

func (*MaintenanceOperation) ProtoMessage()

func (*MaintenanceOperation) ProtoReflect

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

func (*MaintenanceOperation) Reset

func (x *MaintenanceOperation) Reset()

func (*MaintenanceOperation) SetDelayedUntil

func (m *MaintenanceOperation) SetDelayedUntil(v *timestamppb.Timestamp)

func (*MaintenanceOperation) SetInfo

func (m *MaintenanceOperation) SetInfo(v string)

func (*MaintenanceOperation) String

func (x *MaintenanceOperation) String() string

type MaintenanceWindow

type MaintenanceWindow struct {

	// The maintenance policy in effect.
	//
	// Types that are assignable to Policy:
	//
	//	*MaintenanceWindow_Anytime
	//	*MaintenanceWindow_WeeklyMaintenanceWindow
	Policy isMaintenanceWindow_Policy `protobuf_oneof:"policy"`
	// contains filtered or unexported fields
}

Configuration of a maintenance window in a MySQL cluster.

func (*MaintenanceWindow) Descriptor deprecated

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

Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.

func (*MaintenanceWindow) GetAnytime

func (*MaintenanceWindow) GetPolicy

func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy

func (*MaintenanceWindow) GetWeeklyMaintenanceWindow

func (x *MaintenanceWindow) GetWeeklyMaintenanceWindow() *WeeklyMaintenanceWindow

func (*MaintenanceWindow) ProtoMessage

func (*MaintenanceWindow) ProtoMessage()

func (*MaintenanceWindow) ProtoReflect

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

func (*MaintenanceWindow) Reset

func (x *MaintenanceWindow) Reset()

func (*MaintenanceWindow) SetAnytime

func (m *MaintenanceWindow) SetAnytime(v *AnytimeMaintenanceWindow)

func (*MaintenanceWindow) SetPolicy

func (*MaintenanceWindow) SetWeeklyMaintenanceWindow

func (m *MaintenanceWindow) SetWeeklyMaintenanceWindow(v *WeeklyMaintenanceWindow)

func (*MaintenanceWindow) String

func (x *MaintenanceWindow) String() string

type MaintenanceWindow_Anytime

type MaintenanceWindow_Anytime struct {
	// Maintenance operation can be scheduled anytime.
	Anytime *AnytimeMaintenanceWindow `protobuf:"bytes,1,opt,name=anytime,proto3,oneof"`
}

type MaintenanceWindow_Policy

type MaintenanceWindow_Policy = isMaintenanceWindow_Policy

type MaintenanceWindow_WeeklyMaintenanceWindow

type MaintenanceWindow_WeeklyMaintenanceWindow struct {
	// Maintenance operation can be scheduled on a weekly basis.
	WeeklyMaintenanceWindow *WeeklyMaintenanceWindow `protobuf:"bytes,2,opt,name=weekly_maintenance_window,json=weeklyMaintenanceWindow,proto3,oneof"`
}

type Monitoring

type Monitoring struct {

	// Name of the monitoring system.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the monitoring system.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Link to the monitoring system charts for the cluster.
	Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"`
	// contains filtered or unexported fields
}

Cluster-related monitoring system data.

func (*Monitoring) Descriptor deprecated

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

Deprecated: Use Monitoring.ProtoReflect.Descriptor instead.

func (*Monitoring) GetDescription

func (x *Monitoring) GetDescription() string
func (x *Monitoring) GetLink() string

func (*Monitoring) GetName

func (x *Monitoring) GetName() string

func (*Monitoring) ProtoMessage

func (*Monitoring) ProtoMessage()

func (*Monitoring) ProtoReflect

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

func (*Monitoring) Reset

func (x *Monitoring) Reset()

func (*Monitoring) SetDescription

func (m *Monitoring) SetDescription(v string)
func (m *Monitoring) SetLink(v string)

func (*Monitoring) SetName

func (m *Monitoring) SetName(v string)

func (*Monitoring) String

func (x *Monitoring) String() string

type MoveClusterMetadata

type MoveClusterMetadata struct {

	// ID of the cluster that is being moved.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the source folder.
	SourceFolderId string `protobuf:"bytes,2,opt,name=source_folder_id,json=sourceFolderId,proto3" json:"source_folder_id,omitempty"`
	// ID of the destination folder.
	DestinationFolderId string `protobuf:"bytes,3,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveClusterMetadata) Descriptor deprecated

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

Deprecated: Use MoveClusterMetadata.ProtoReflect.Descriptor instead.

func (*MoveClusterMetadata) GetClusterId

func (x *MoveClusterMetadata) GetClusterId() string

func (*MoveClusterMetadata) GetDestinationFolderId

func (x *MoveClusterMetadata) GetDestinationFolderId() string

func (*MoveClusterMetadata) GetSourceFolderId

func (x *MoveClusterMetadata) GetSourceFolderId() string

func (*MoveClusterMetadata) ProtoMessage

func (*MoveClusterMetadata) ProtoMessage()

func (*MoveClusterMetadata) ProtoReflect

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

func (*MoveClusterMetadata) Reset

func (x *MoveClusterMetadata) Reset()

func (*MoveClusterMetadata) SetClusterId

func (m *MoveClusterMetadata) SetClusterId(v string)

func (*MoveClusterMetadata) SetDestinationFolderId

func (m *MoveClusterMetadata) SetDestinationFolderId(v string)

func (*MoveClusterMetadata) SetSourceFolderId

func (m *MoveClusterMetadata) SetSourceFolderId(v string)

func (*MoveClusterMetadata) String

func (x *MoveClusterMetadata) String() string

type MoveClusterRequest

type MoveClusterRequest struct {

	// ID of the cluster to move.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the destination folder.
	//
	// To get this ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	DestinationFolderId string `protobuf:"bytes,2,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveClusterRequest) Descriptor deprecated

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

Deprecated: Use MoveClusterRequest.ProtoReflect.Descriptor instead.

func (*MoveClusterRequest) GetClusterId

func (x *MoveClusterRequest) GetClusterId() string

func (*MoveClusterRequest) GetDestinationFolderId

func (x *MoveClusterRequest) GetDestinationFolderId() string

func (*MoveClusterRequest) ProtoMessage

func (*MoveClusterRequest) ProtoMessage()

func (*MoveClusterRequest) ProtoReflect

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

func (*MoveClusterRequest) Reset

func (x *MoveClusterRequest) Reset()

func (*MoveClusterRequest) SetClusterId

func (m *MoveClusterRequest) SetClusterId(v string)

func (*MoveClusterRequest) SetDestinationFolderId

func (m *MoveClusterRequest) SetDestinationFolderId(v string)

func (*MoveClusterRequest) String

func (x *MoveClusterRequest) String() string

type PerformanceDiagnostics

type PerformanceDiagnostics struct {

	// Flag that shows if performance statistics gathering is enabled for the cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Interval (in seconds) for `my_session` sampling.
	SessionsSamplingInterval int64 `` /* 136-byte string literal not displayed */
	// Interval (in seconds) for `my_statements` sampling.
	StatementsSamplingInterval int64 `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PerformanceDiagnostics) Descriptor deprecated

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

Deprecated: Use PerformanceDiagnostics.ProtoReflect.Descriptor instead.

func (*PerformanceDiagnostics) GetEnabled

func (x *PerformanceDiagnostics) GetEnabled() bool

func (*PerformanceDiagnostics) GetSessionsSamplingInterval

func (x *PerformanceDiagnostics) GetSessionsSamplingInterval() int64

func (*PerformanceDiagnostics) GetStatementsSamplingInterval

func (x *PerformanceDiagnostics) GetStatementsSamplingInterval() int64

func (*PerformanceDiagnostics) ProtoMessage

func (*PerformanceDiagnostics) ProtoMessage()

func (*PerformanceDiagnostics) ProtoReflect

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

func (*PerformanceDiagnostics) Reset

func (x *PerformanceDiagnostics) Reset()

func (*PerformanceDiagnostics) SetEnabled

func (m *PerformanceDiagnostics) SetEnabled(v bool)

func (*PerformanceDiagnostics) SetSessionsSamplingInterval

func (m *PerformanceDiagnostics) SetSessionsSamplingInterval(v int64)

func (*PerformanceDiagnostics) SetStatementsSamplingInterval

func (m *PerformanceDiagnostics) SetStatementsSamplingInterval(v int64)

func (*PerformanceDiagnostics) String

func (x *PerformanceDiagnostics) String() string

type Permission

type Permission struct {

	// Name of the database that the permission grants access to.
	DatabaseName string `protobuf:"bytes,1,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// Roles granted to the user within the database.
	//
	// See [the documentation](/docs/managed-mysql/operations/grant) for details.
	Roles []Permission_Privilege `protobuf:"varint,2,rep,packed,name=roles,proto3,enum=yandex.cloud.mdb.mysql.v1.Permission_Privilege" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*Permission) Descriptor deprecated

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetDatabaseName

func (x *Permission) GetDatabaseName() string

func (*Permission) GetRoles

func (x *Permission) GetRoles() []Permission_Privilege

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

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

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) SetDatabaseName

func (m *Permission) SetDatabaseName(v string)

func (*Permission) SetRoles

func (m *Permission) SetRoles(v []Permission_Privilege)

func (*Permission) String

func (x *Permission) String() string

type Permission_Privilege

type Permission_Privilege int32
const (
	Permission_PRIVILEGE_UNSPECIFIED Permission_Privilege = 0
	// All privileges that can be made available to the user.
	Permission_ALL_PRIVILEGES Permission_Privilege = 1
	// Altering tables.
	Permission_ALTER Permission_Privilege = 2
	// Altering stored routines and functions.
	Permission_ALTER_ROUTINE Permission_Privilege = 3
	// Creating tables or indexes.
	Permission_CREATE Permission_Privilege = 4
	// Creating stored routines.
	Permission_CREATE_ROUTINE Permission_Privilege = 5
	// Creating temporary tables.
	Permission_CREATE_TEMPORARY_TABLES Permission_Privilege = 6
	// Creating views.
	Permission_CREATE_VIEW Permission_Privilege = 7
	// Deleting tables.
	Permission_DELETE Permission_Privilege = 8
	// Removing tables or views.
	Permission_DROP Permission_Privilege = 9
	// Creating, altering, dropping, or displaying events for the Event Scheduler.
	Permission_EVENT Permission_Privilege = 10
	// Executing stored routines.
	Permission_EXECUTE Permission_Privilege = 11
	// Creating and removing indexes.
	Permission_INDEX Permission_Privilege = 12
	// Inserting rows into the database.
	Permission_INSERT Permission_Privilege = 13
	// Using `LOCK TABLES` statement for tables available with `SELECT` privilege.
	Permission_LOCK_TABLES Permission_Privilege = 14
	// Selecting rows from tables.
	//
	// Some `SELECT` statements can be allowed without the `SELECT` privilege. All statements that read column values require the `SELECT` privilege.
	//
	// See [MySQL documentation](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html#priv_select) for details.
	Permission_SELECT Permission_Privilege = 15
	// Using the `SHOW CREATE VIEW` statement. Also needed for views used with `EXPLAIN`.
	Permission_SHOW_VIEW Permission_Privilege = 16
	// Creating, removing, executing, or displaying triggers for a table.
	Permission_TRIGGER Permission_Privilege = 17
	// Updating rows in the database.
	Permission_UPDATE Permission_Privilege = 18
	// Creation of a foreign key constraint for the parent table.
	Permission_REFERENCES Permission_Privilege = 19
)

func (Permission_Privilege) Descriptor

func (Permission_Privilege) Enum

func (Permission_Privilege) EnumDescriptor deprecated

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

Deprecated: Use Permission_Privilege.Descriptor instead.

func (Permission_Privilege) Number

func (Permission_Privilege) String

func (x Permission_Privilege) String() string

func (Permission_Privilege) Type

type RescheduleMaintenanceMetadata

type RescheduleMaintenanceMetadata struct {

	// ID of the cluster the maintenance operation is being rescheduled for.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The time until which this maintenance operation is to be delayed.
	DelayedUntil *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=delayed_until,json=delayedUntil,proto3" json:"delayed_until,omitempty"`
	// contains filtered or unexported fields
}

func (*RescheduleMaintenanceMetadata) Descriptor deprecated

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

Deprecated: Use RescheduleMaintenanceMetadata.ProtoReflect.Descriptor instead.

func (*RescheduleMaintenanceMetadata) GetClusterId

func (x *RescheduleMaintenanceMetadata) GetClusterId() string

func (*RescheduleMaintenanceMetadata) GetDelayedUntil

func (x *RescheduleMaintenanceMetadata) GetDelayedUntil() *timestamppb.Timestamp

func (*RescheduleMaintenanceMetadata) ProtoMessage

func (*RescheduleMaintenanceMetadata) ProtoMessage()

func (*RescheduleMaintenanceMetadata) ProtoReflect

func (*RescheduleMaintenanceMetadata) Reset

func (x *RescheduleMaintenanceMetadata) Reset()

func (*RescheduleMaintenanceMetadata) SetClusterId

func (m *RescheduleMaintenanceMetadata) SetClusterId(v string)

func (*RescheduleMaintenanceMetadata) SetDelayedUntil

func (m *RescheduleMaintenanceMetadata) SetDelayedUntil(v *timestamppb.Timestamp)

func (*RescheduleMaintenanceMetadata) String

type RescheduleMaintenanceRequest

type RescheduleMaintenanceRequest struct {

	// ID of the cluster to reschedule the maintenance operation for.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The type of reschedule request.
	RescheduleType RescheduleMaintenanceRequest_RescheduleType `` /* 179-byte string literal not displayed */
	// The time until which this maintenance operation should be delayed.
	// The value should be ahead of the first time when the maintenance operation has been scheduled for no more than two weeks.
	// The value can also point to the past moment of time if `IMMEDIATE` reschedule type is chosen.
	DelayedUntil *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=delayed_until,json=delayedUntil,proto3" json:"delayed_until,omitempty"`
	// contains filtered or unexported fields
}

func (*RescheduleMaintenanceRequest) Descriptor deprecated

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

Deprecated: Use RescheduleMaintenanceRequest.ProtoReflect.Descriptor instead.

func (*RescheduleMaintenanceRequest) GetClusterId

func (x *RescheduleMaintenanceRequest) GetClusterId() string

func (*RescheduleMaintenanceRequest) GetDelayedUntil

func (x *RescheduleMaintenanceRequest) GetDelayedUntil() *timestamppb.Timestamp

func (*RescheduleMaintenanceRequest) GetRescheduleType

func (*RescheduleMaintenanceRequest) ProtoMessage

func (*RescheduleMaintenanceRequest) ProtoMessage()

func (*RescheduleMaintenanceRequest) ProtoReflect

func (*RescheduleMaintenanceRequest) Reset

func (x *RescheduleMaintenanceRequest) Reset()

func (*RescheduleMaintenanceRequest) SetClusterId

func (m *RescheduleMaintenanceRequest) SetClusterId(v string)

func (*RescheduleMaintenanceRequest) SetDelayedUntil

func (m *RescheduleMaintenanceRequest) SetDelayedUntil(v *timestamppb.Timestamp)

func (*RescheduleMaintenanceRequest) SetRescheduleType

func (*RescheduleMaintenanceRequest) String

type RescheduleMaintenanceRequest_RescheduleType

type RescheduleMaintenanceRequest_RescheduleType int32
const (
	RescheduleMaintenanceRequest_RESCHEDULE_TYPE_UNSPECIFIED RescheduleMaintenanceRequest_RescheduleType = 0
	// Start the maintenance operation immediately.
	RescheduleMaintenanceRequest_IMMEDIATE RescheduleMaintenanceRequest_RescheduleType = 1
	// Start the maintenance operation within the next available maintenance window.
	RescheduleMaintenanceRequest_NEXT_AVAILABLE_WINDOW RescheduleMaintenanceRequest_RescheduleType = 2
	// Start the maintenance operation at the specific time.
	RescheduleMaintenanceRequest_SPECIFIC_TIME RescheduleMaintenanceRequest_RescheduleType = 3
)

func (RescheduleMaintenanceRequest_RescheduleType) Descriptor

func (RescheduleMaintenanceRequest_RescheduleType) Enum

func (RescheduleMaintenanceRequest_RescheduleType) EnumDescriptor deprecated

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

Deprecated: Use RescheduleMaintenanceRequest_RescheduleType.Descriptor instead.

func (RescheduleMaintenanceRequest_RescheduleType) Number

func (RescheduleMaintenanceRequest_RescheduleType) String

func (RescheduleMaintenanceRequest_RescheduleType) Type

type ResourcePreset

type ResourcePreset struct {

	// ID of the resource preset that defines available computational resources (vCPU, RAM, etc.) for a cluster host.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// IDs of availability zones where the resource preset is available.
	ZoneIds []string `protobuf:"bytes,2,rep,name=zone_ids,json=zoneIds,proto3" json:"zone_ids,omitempty"`
	// Number of CPU cores for a MySQL host created with the preset.
	Cores int64 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"`
	// RAM volume for a MySQL host created with the preset, in bytes.
	Memory int64 `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

An object that represents MySQL resource preset. A resource preset defines hardware configuration for cluster hosts.

See [the documentation](/docs/managed-mysql/concepts/instance-types) for details.

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) GetZoneIds

func (x *ResourcePreset) GetZoneIds() []string

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) SetZoneIds

func (m *ResourcePreset) SetZoneIds(v []string)

func (*ResourcePreset) String

func (x *ResourcePreset) String() string

type ResourcePresetServiceClient

type ResourcePresetServiceClient interface {
	// Retrieves information about a resource preset.
	Get(ctx context.Context, in *GetResourcePresetRequest, opts ...grpc.CallOption) (*ResourcePreset, error)
	// Retrieves 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.

A set of methods for managing MySQL resource presets.

See [the documentation](/docs/managed-mysql/concepts/instance-types) for details.

type ResourcePresetServiceServer

type ResourcePresetServiceServer interface {
	// Retrieves information about a resource preset.
	Get(context.Context, *GetResourcePresetRequest) (*ResourcePreset, error)
	// Retrieves 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.

A set of methods for managing MySQL resource presets.

See [the documentation](/docs/managed-mysql/concepts/instance-types) for details.

type Resources

type Resources struct {

	// ID of the resource preset that defines available computational resources (vCPU, RAM, etc.) for a cluster host.
	//
	// All available presets are listed in [the documentation](/docs/managed-mysql/concepts/instance-types).
	ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	// Volume of the storage (for each cluster host, in bytes).
	DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"`
	// Type of the storage.
	//
	// Possible values:
	// * `network-hdd` - standard network storage
	// * `network-ssd` - fast network storage
	// * `network-ssd-nonreplicated` - fast network nonreplicated storage
	// * `local-ssd` - fast local storage.
	//
	// See [the documentation](/docs/managed-mysql/concepts/storage) for details.
	DiskTypeId string `protobuf:"bytes,3,opt,name=disk_type_id,json=diskTypeId,proto3" json:"disk_type_id,omitempty"`
	// contains filtered or unexported fields
}

Cluster resource preset.

func (*Resources) Descriptor deprecated

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

Deprecated: Use Resources.ProtoReflect.Descriptor instead.

func (*Resources) GetDiskSize

func (x *Resources) GetDiskSize() int64

func (*Resources) GetDiskTypeId

func (x *Resources) GetDiskTypeId() string

func (*Resources) GetResourcePresetId

func (x *Resources) GetResourcePresetId() string

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect

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

func (*Resources) Reset

func (x *Resources) Reset()

func (*Resources) SetDiskSize

func (m *Resources) SetDiskSize(v int64)

func (*Resources) SetDiskTypeId

func (m *Resources) SetDiskTypeId(v string)

func (*Resources) SetResourcePresetId

func (m *Resources) SetResourcePresetId(v string)

func (*Resources) String

func (x *Resources) String() string

type RestoreClusterMetadata

type RestoreClusterMetadata struct {

	// ID of the new cluster that is being created from a backup.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the backup that is being used for creating a cluster.
	BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreClusterMetadata) Descriptor deprecated

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

Deprecated: Use RestoreClusterMetadata.ProtoReflect.Descriptor instead.

func (*RestoreClusterMetadata) GetBackupId

func (x *RestoreClusterMetadata) GetBackupId() string

func (*RestoreClusterMetadata) GetClusterId

func (x *RestoreClusterMetadata) GetClusterId() string

func (*RestoreClusterMetadata) ProtoMessage

func (*RestoreClusterMetadata) ProtoMessage()

func (*RestoreClusterMetadata) ProtoReflect

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

func (*RestoreClusterMetadata) Reset

func (x *RestoreClusterMetadata) Reset()

func (*RestoreClusterMetadata) SetBackupId

func (m *RestoreClusterMetadata) SetBackupId(v string)

func (*RestoreClusterMetadata) SetClusterId

func (m *RestoreClusterMetadata) SetClusterId(v string)

func (*RestoreClusterMetadata) String

func (x *RestoreClusterMetadata) String() string

type RestoreClusterRequest

type RestoreClusterRequest struct {

	// ID of the backup to restore from.
	//
	// To get this ID, make a [BackupService.List] request (lists all backups in a folder) or a [ClusterService.ListBackups] request (lists all backups for an existing cluster).
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Timestamp of the moment to which the MySQL cluster should be restored.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Name of the new MySQL cluster the backup will be restored to. The name must be unique within the folder.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the new cluster.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the new cluster as `key:value` pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Deployment environment of the new cluster.
	Environment Cluster_Environment `` /* 127-byte string literal not displayed */
	// Configuration of the new cluster.
	ConfigSpec *ConfigSpec `protobuf:"bytes,8,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// Configuration of hosts in the new cluster.
	HostSpecs []*HostSpec `protobuf:"bytes,9,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"`
	// ID of the network to create the new cluster in.
	NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// ID of the folder to create the new cluster in.
	FolderId string `protobuf:"bytes,11,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// List of security group IDs to apply to the new cluster.
	SecurityGroupIds []string `protobuf:"bytes,12,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// Deletion Protection inhibits deletion of the cluster
	DeletionProtection bool `protobuf:"varint,13,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Host groups hosting VMs of the cluster.
	HostGroupIds []string `protobuf:"bytes,14,rep,name=host_group_ids,json=hostGroupIds,proto3" json:"host_group_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreClusterRequest) Descriptor deprecated

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

Deprecated: Use RestoreClusterRequest.ProtoReflect.Descriptor instead.

func (*RestoreClusterRequest) GetBackupId

func (x *RestoreClusterRequest) GetBackupId() string

func (*RestoreClusterRequest) GetConfigSpec

func (x *RestoreClusterRequest) GetConfigSpec() *ConfigSpec

func (*RestoreClusterRequest) GetDeletionProtection

func (x *RestoreClusterRequest) GetDeletionProtection() bool

func (*RestoreClusterRequest) GetDescription

func (x *RestoreClusterRequest) GetDescription() string

func (*RestoreClusterRequest) GetEnvironment

func (x *RestoreClusterRequest) GetEnvironment() Cluster_Environment

func (*RestoreClusterRequest) GetFolderId

func (x *RestoreClusterRequest) GetFolderId() string

func (*RestoreClusterRequest) GetHostGroupIds

func (x *RestoreClusterRequest) GetHostGroupIds() []string

func (*RestoreClusterRequest) GetHostSpecs

func (x *RestoreClusterRequest) GetHostSpecs() []*HostSpec

func (*RestoreClusterRequest) GetLabels

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

func (*RestoreClusterRequest) GetName

func (x *RestoreClusterRequest) GetName() string

func (*RestoreClusterRequest) GetNetworkId

func (x *RestoreClusterRequest) GetNetworkId() string

func (*RestoreClusterRequest) GetSecurityGroupIds

func (x *RestoreClusterRequest) GetSecurityGroupIds() []string

func (*RestoreClusterRequest) GetTime

func (*RestoreClusterRequest) ProtoMessage

func (*RestoreClusterRequest) ProtoMessage()

func (*RestoreClusterRequest) ProtoReflect

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

func (*RestoreClusterRequest) Reset

func (x *RestoreClusterRequest) Reset()

func (*RestoreClusterRequest) SetBackupId

func (m *RestoreClusterRequest) SetBackupId(v string)

func (*RestoreClusterRequest) SetConfigSpec

func (m *RestoreClusterRequest) SetConfigSpec(v *ConfigSpec)

func (*RestoreClusterRequest) SetDeletionProtection

func (m *RestoreClusterRequest) SetDeletionProtection(v bool)

func (*RestoreClusterRequest) SetDescription

func (m *RestoreClusterRequest) SetDescription(v string)

func (*RestoreClusterRequest) SetEnvironment

func (m *RestoreClusterRequest) SetEnvironment(v Cluster_Environment)

func (*RestoreClusterRequest) SetFolderId

func (m *RestoreClusterRequest) SetFolderId(v string)

func (*RestoreClusterRequest) SetHostGroupIds

func (m *RestoreClusterRequest) SetHostGroupIds(v []string)

func (*RestoreClusterRequest) SetHostSpecs

func (m *RestoreClusterRequest) SetHostSpecs(v []*HostSpec)

func (*RestoreClusterRequest) SetLabels

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

func (*RestoreClusterRequest) SetName

func (m *RestoreClusterRequest) SetName(v string)

func (*RestoreClusterRequest) SetNetworkId

func (m *RestoreClusterRequest) SetNetworkId(v string)

func (*RestoreClusterRequest) SetSecurityGroupIds

func (m *RestoreClusterRequest) SetSecurityGroupIds(v []string)

func (*RestoreClusterRequest) SetTime

func (*RestoreClusterRequest) String

func (x *RestoreClusterRequest) String() string

type RevokeUserPermissionMetadata

type RevokeUserPermissionMetadata struct {

	// ID of the cluster the user is being revoked a permission in.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user whose permission is being revoked.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeUserPermissionMetadata) Descriptor deprecated

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

Deprecated: Use RevokeUserPermissionMetadata.ProtoReflect.Descriptor instead.

func (*RevokeUserPermissionMetadata) GetClusterId

func (x *RevokeUserPermissionMetadata) GetClusterId() string

func (*RevokeUserPermissionMetadata) GetUserName

func (x *RevokeUserPermissionMetadata) GetUserName() string

func (*RevokeUserPermissionMetadata) ProtoMessage

func (*RevokeUserPermissionMetadata) ProtoMessage()

func (*RevokeUserPermissionMetadata) ProtoReflect

func (*RevokeUserPermissionMetadata) Reset

func (x *RevokeUserPermissionMetadata) Reset()

func (*RevokeUserPermissionMetadata) SetClusterId

func (m *RevokeUserPermissionMetadata) SetClusterId(v string)

func (*RevokeUserPermissionMetadata) SetUserName

func (m *RevokeUserPermissionMetadata) SetUserName(v string)

func (*RevokeUserPermissionMetadata) String

type RevokeUserPermissionRequest

type RevokeUserPermissionRequest struct {

	// ID of the cluster to revoke permission from the user in.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user to revoke permission from.
	//
	// To get this name, make a [UserService.List] request.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// Permission that should be revoked from the user.
	Permission *Permission `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeUserPermissionRequest) Descriptor deprecated

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

Deprecated: Use RevokeUserPermissionRequest.ProtoReflect.Descriptor instead.

func (*RevokeUserPermissionRequest) GetClusterId

func (x *RevokeUserPermissionRequest) GetClusterId() string

func (*RevokeUserPermissionRequest) GetPermission

func (x *RevokeUserPermissionRequest) GetPermission() *Permission

func (*RevokeUserPermissionRequest) GetUserName

func (x *RevokeUserPermissionRequest) GetUserName() string

func (*RevokeUserPermissionRequest) ProtoMessage

func (*RevokeUserPermissionRequest) ProtoMessage()

func (*RevokeUserPermissionRequest) ProtoReflect

func (*RevokeUserPermissionRequest) Reset

func (x *RevokeUserPermissionRequest) Reset()

func (*RevokeUserPermissionRequest) SetClusterId

func (m *RevokeUserPermissionRequest) SetClusterId(v string)

func (*RevokeUserPermissionRequest) SetPermission

func (m *RevokeUserPermissionRequest) SetPermission(v *Permission)

func (*RevokeUserPermissionRequest) SetUserName

func (m *RevokeUserPermissionRequest) SetUserName(v string)

func (*RevokeUserPermissionRequest) String

func (x *RevokeUserPermissionRequest) String() string

type Service

type Service struct {

	// Type of the service provided by the host. If the field has default value, it is not returned in the response.
	Type Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.mdb.mysql.v1.Service_Type" json:"type,omitempty"`
	// Aggregated health of the service. If the field has default value, it is not returned in the response.
	Health Service_Health `protobuf:"varint,2,opt,name=health,proto3,enum=yandex.cloud.mdb.mysql.v1.Service_Health" json:"health,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetHealth

func (x *Service) GetHealth() Service_Health

func (*Service) GetType

func (x *Service) GetType() Service_Type

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) SetHealth

func (m *Service) SetHealth(v Service_Health)

func (*Service) SetType

func (m *Service) SetType(v Service_Type)

func (*Service) String

func (x *Service) String() string

type Service_Health

type Service_Health int32
const (
	// Health of the service is unknown. Default value.
	Service_HEALTH_UNKNOWN Service_Health = 0
	// The service is working normally.
	Service_ALIVE Service_Health = 1
	// The service is dead or unresponsive.
	Service_DEAD Service_Health = 2
	// The service is in read-only mode.
	Service_READONLY Service_Health = 3
)

func (Service_Health) Descriptor

func (Service_Health) Enum

func (x Service_Health) Enum() *Service_Health

func (Service_Health) EnumDescriptor deprecated

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

Deprecated: Use Service_Health.Descriptor instead.

func (Service_Health) Number

func (Service_Health) String

func (x Service_Health) String() string

func (Service_Health) Type

type Service_Type

type Service_Type int32
const (
	// Service type of the host is unspecified. Default value.
	Service_TYPE_UNSPECIFIED Service_Type = 0
	// The host is a MySQL server.
	Service_MYSQL Service_Type = 1
)

func (Service_Type) Descriptor

func (Service_Type) Enum

func (x Service_Type) Enum() *Service_Type

func (Service_Type) EnumDescriptor deprecated

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

Deprecated: Use Service_Type.Descriptor instead.

func (Service_Type) Number

func (Service_Type) String

func (x Service_Type) String() string

func (Service_Type) Type

type StartClusterFailoverMetadata

type StartClusterFailoverMetadata struct {

	// ID of the cluster that is being failovered.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartClusterFailoverMetadata) Descriptor deprecated

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

Deprecated: Use StartClusterFailoverMetadata.ProtoReflect.Descriptor instead.

func (*StartClusterFailoverMetadata) GetClusterId

func (x *StartClusterFailoverMetadata) GetClusterId() string

func (*StartClusterFailoverMetadata) ProtoMessage

func (*StartClusterFailoverMetadata) ProtoMessage()

func (*StartClusterFailoverMetadata) ProtoReflect

func (*StartClusterFailoverMetadata) Reset

func (x *StartClusterFailoverMetadata) Reset()

func (*StartClusterFailoverMetadata) SetClusterId

func (m *StartClusterFailoverMetadata) SetClusterId(v string)

func (*StartClusterFailoverMetadata) String

type StartClusterFailoverRequest

type StartClusterFailoverRequest struct {

	// ID of the cluster to start failover for.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Host name to switch master role to.
	// If not provided, then the master role is switched to the most up-to-date replica host.
	//
	// To get this name, make a [ClusterService.ListHosts] request.
	HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	// contains filtered or unexported fields
}

func (*StartClusterFailoverRequest) Descriptor deprecated

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

Deprecated: Use StartClusterFailoverRequest.ProtoReflect.Descriptor instead.

func (*StartClusterFailoverRequest) GetClusterId

func (x *StartClusterFailoverRequest) GetClusterId() string

func (*StartClusterFailoverRequest) GetHostName

func (x *StartClusterFailoverRequest) GetHostName() string

func (*StartClusterFailoverRequest) ProtoMessage

func (*StartClusterFailoverRequest) ProtoMessage()

func (*StartClusterFailoverRequest) ProtoReflect

func (*StartClusterFailoverRequest) Reset

func (x *StartClusterFailoverRequest) Reset()

func (*StartClusterFailoverRequest) SetClusterId

func (m *StartClusterFailoverRequest) SetClusterId(v string)

func (*StartClusterFailoverRequest) SetHostName

func (m *StartClusterFailoverRequest) SetHostName(v string)

func (*StartClusterFailoverRequest) String

func (x *StartClusterFailoverRequest) String() string

type StartClusterMetadata

type StartClusterMetadata struct {

	// ID of the cluster that is being started.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartClusterMetadata) Descriptor deprecated

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

Deprecated: Use StartClusterMetadata.ProtoReflect.Descriptor instead.

func (*StartClusterMetadata) GetClusterId

func (x *StartClusterMetadata) GetClusterId() string

func (*StartClusterMetadata) ProtoMessage

func (*StartClusterMetadata) ProtoMessage()

func (*StartClusterMetadata) ProtoReflect

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

func (*StartClusterMetadata) Reset

func (x *StartClusterMetadata) Reset()

func (*StartClusterMetadata) SetClusterId

func (m *StartClusterMetadata) SetClusterId(v string)

func (*StartClusterMetadata) String

func (x *StartClusterMetadata) String() string

type StartClusterRequest

type StartClusterRequest struct {

	// ID of the cluster to start.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartClusterRequest) Descriptor deprecated

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

Deprecated: Use StartClusterRequest.ProtoReflect.Descriptor instead.

func (*StartClusterRequest) GetClusterId

func (x *StartClusterRequest) GetClusterId() string

func (*StartClusterRequest) ProtoMessage

func (*StartClusterRequest) ProtoMessage()

func (*StartClusterRequest) ProtoReflect

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

func (*StartClusterRequest) Reset

func (x *StartClusterRequest) Reset()

func (*StartClusterRequest) SetClusterId

func (m *StartClusterRequest) SetClusterId(v string)

func (*StartClusterRequest) String

func (x *StartClusterRequest) String() string

type StopClusterMetadata

type StopClusterMetadata struct {

	// ID of the cluster that is being stopped.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopClusterMetadata) Descriptor deprecated

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

Deprecated: Use StopClusterMetadata.ProtoReflect.Descriptor instead.

func (*StopClusterMetadata) GetClusterId

func (x *StopClusterMetadata) GetClusterId() string

func (*StopClusterMetadata) ProtoMessage

func (*StopClusterMetadata) ProtoMessage()

func (*StopClusterMetadata) ProtoReflect

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

func (*StopClusterMetadata) Reset

func (x *StopClusterMetadata) Reset()

func (*StopClusterMetadata) SetClusterId

func (m *StopClusterMetadata) SetClusterId(v string)

func (*StopClusterMetadata) String

func (x *StopClusterMetadata) String() string

type StopClusterRequest

type StopClusterRequest struct {

	// ID of the cluster to stop.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopClusterRequest) Descriptor deprecated

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

Deprecated: Use StopClusterRequest.ProtoReflect.Descriptor instead.

func (*StopClusterRequest) GetClusterId

func (x *StopClusterRequest) GetClusterId() string

func (*StopClusterRequest) ProtoMessage

func (*StopClusterRequest) ProtoMessage()

func (*StopClusterRequest) ProtoReflect

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

func (*StopClusterRequest) Reset

func (x *StopClusterRequest) Reset()

func (*StopClusterRequest) SetClusterId

func (m *StopClusterRequest) SetClusterId(v string)

func (*StopClusterRequest) String

func (x *StopClusterRequest) String() string

type StreamClusterLogsRequest

type StreamClusterLogsRequest struct {

	// ID of the cluster to stream logs for.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Columns from the logs table to request.
	// If no columns are specified, complete log records are returned.
	ColumnFilter []string `protobuf:"bytes,2,rep,name=column_filter,json=columnFilter,proto3" json:"column_filter,omitempty"`
	// The log type.
	ServiceType StreamClusterLogsRequest_ServiceType `` /* 163-byte string literal not displayed */
	// Start timestamp for the logs request.
	FromTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
	// End timestamp for the logs request.
	// If this field is not set, all existing log records beginning from [from_time] will be returned first, and then the new records will be returned as they appear.
	//
	// In essence it has `tail -f` command semantics.
	ToTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=to_time,json=toTime,proto3" json:"to_time,omitempty"`
	// Record token that can be used to control logs streaming.
	//
	// Set [record_token] to the [StreamLogRecord.next_record_token], returned by the previous [ClusterService.StreamLogs] request to start streaming from the next log record.
	RecordToken string `protobuf:"bytes,6,opt,name=record_token,json=recordToken,proto3" json:"record_token,omitempty"`
	// A filter expression that selects clusters logs listed in the response.
	//
	// The expression must specify:
	// 1. The field name. Currently filtering can be applied to the [LogRecord.logs.hostname] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
	// Examples of a filter: `message.hostname='node1.db.cloud.yandex.net'`
	Filter string `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamClusterLogsRequest) Descriptor deprecated

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

Deprecated: Use StreamClusterLogsRequest.ProtoReflect.Descriptor instead.

func (*StreamClusterLogsRequest) GetClusterId

func (x *StreamClusterLogsRequest) GetClusterId() string

func (*StreamClusterLogsRequest) GetColumnFilter

func (x *StreamClusterLogsRequest) GetColumnFilter() []string

func (*StreamClusterLogsRequest) GetFilter

func (x *StreamClusterLogsRequest) GetFilter() string

func (*StreamClusterLogsRequest) GetFromTime

func (*StreamClusterLogsRequest) GetRecordToken

func (x *StreamClusterLogsRequest) GetRecordToken() string

func (*StreamClusterLogsRequest) GetServiceType

func (*StreamClusterLogsRequest) GetToTime

func (*StreamClusterLogsRequest) ProtoMessage

func (*StreamClusterLogsRequest) ProtoMessage()

func (*StreamClusterLogsRequest) ProtoReflect

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

func (*StreamClusterLogsRequest) Reset

func (x *StreamClusterLogsRequest) Reset()

func (*StreamClusterLogsRequest) SetClusterId

func (m *StreamClusterLogsRequest) SetClusterId(v string)

func (*StreamClusterLogsRequest) SetColumnFilter

func (m *StreamClusterLogsRequest) SetColumnFilter(v []string)

func (*StreamClusterLogsRequest) SetFilter

func (m *StreamClusterLogsRequest) SetFilter(v string)

func (*StreamClusterLogsRequest) SetFromTime

func (m *StreamClusterLogsRequest) SetFromTime(v *timestamppb.Timestamp)

func (*StreamClusterLogsRequest) SetRecordToken

func (m *StreamClusterLogsRequest) SetRecordToken(v string)

func (*StreamClusterLogsRequest) SetServiceType

func (*StreamClusterLogsRequest) SetToTime

func (*StreamClusterLogsRequest) String

func (x *StreamClusterLogsRequest) String() string

type StreamClusterLogsRequest_ServiceType

type StreamClusterLogsRequest_ServiceType int32
const (
	StreamClusterLogsRequest_SERVICE_TYPE_UNSPECIFIED StreamClusterLogsRequest_ServiceType = 0
	// MySQL error log.
	StreamClusterLogsRequest_MYSQL_ERROR StreamClusterLogsRequest_ServiceType = 1
	// MySQL general query log.
	StreamClusterLogsRequest_MYSQL_GENERAL StreamClusterLogsRequest_ServiceType = 2
	// MySQL slow query log.
	StreamClusterLogsRequest_MYSQL_SLOW_QUERY StreamClusterLogsRequest_ServiceType = 3
	// MySQL audit log.
	StreamClusterLogsRequest_MYSQL_AUDIT StreamClusterLogsRequest_ServiceType = 4
)

func (StreamClusterLogsRequest_ServiceType) Descriptor

func (StreamClusterLogsRequest_ServiceType) Enum

func (StreamClusterLogsRequest_ServiceType) EnumDescriptor deprecated

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

Deprecated: Use StreamClusterLogsRequest_ServiceType.Descriptor instead.

func (StreamClusterLogsRequest_ServiceType) Number

func (StreamClusterLogsRequest_ServiceType) String

func (StreamClusterLogsRequest_ServiceType) Type

type StreamLogRecord

type StreamLogRecord struct {

	// One of the requested log records.
	Record *LogRecord `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
	// The token that can be used to continue streaming logs starting from the exact same record.
	// To continue streaming, specify value of [next_record_token] as the [StreamClusterLogsRequest.record_token] value in the next [ClusterService.StreamLogs] request.
	//
	// This value is interchangeable with [ListClusterLogsResponse.next_page_token] from [ClusterService.ListLogs] method.
	NextRecordToken string `protobuf:"bytes,2,opt,name=next_record_token,json=nextRecordToken,proto3" json:"next_record_token,omitempty"`
	// contains filtered or unexported fields
}

A single log record in the logs stream.

func (*StreamLogRecord) Descriptor deprecated

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

Deprecated: Use StreamLogRecord.ProtoReflect.Descriptor instead.

func (*StreamLogRecord) GetNextRecordToken

func (x *StreamLogRecord) GetNextRecordToken() string

func (*StreamLogRecord) GetRecord

func (x *StreamLogRecord) GetRecord() *LogRecord

func (*StreamLogRecord) ProtoMessage

func (*StreamLogRecord) ProtoMessage()

func (*StreamLogRecord) ProtoReflect

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

func (*StreamLogRecord) Reset

func (x *StreamLogRecord) Reset()

func (*StreamLogRecord) SetNextRecordToken

func (m *StreamLogRecord) SetNextRecordToken(v string)

func (*StreamLogRecord) SetRecord

func (m *StreamLogRecord) SetRecord(v *LogRecord)

func (*StreamLogRecord) String

func (x *StreamLogRecord) String() string

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

type UnimplementedClusterServiceServer

type UnimplementedClusterServiceServer struct{}

UnimplementedClusterServiceServer 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 (UnimplementedClusterServiceServer) AddHosts

func (UnimplementedClusterServiceServer) Backup

func (UnimplementedClusterServiceServer) Create

func (UnimplementedClusterServiceServer) Delete

func (UnimplementedClusterServiceServer) DeleteHosts

func (UnimplementedClusterServiceServer) Get

func (UnimplementedClusterServiceServer) List

func (UnimplementedClusterServiceServer) ListHosts

func (UnimplementedClusterServiceServer) ListLogs

func (UnimplementedClusterServiceServer) Move

func (UnimplementedClusterServiceServer) RescheduleMaintenance

func (UnimplementedClusterServiceServer) Restore

func (UnimplementedClusterServiceServer) Start

func (UnimplementedClusterServiceServer) StartFailover

func (UnimplementedClusterServiceServer) Stop

func (UnimplementedClusterServiceServer) Update

func (UnimplementedClusterServiceServer) UpdateHosts

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) Create

func (UnimplementedDatabaseServiceServer) Delete

func (UnimplementedDatabaseServiceServer) Get

func (UnimplementedDatabaseServiceServer) 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 UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct{}

UnimplementedUserServiceServer 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 (UnimplementedUserServiceServer) Create

func (UnimplementedUserServiceServer) Delete

func (UnimplementedUserServiceServer) Get

func (UnimplementedUserServiceServer) GrantPermission

func (UnimplementedUserServiceServer) List

func (UnimplementedUserServiceServer) RevokePermission

func (UnimplementedUserServiceServer) Update

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 UnsafeClusterServiceServer

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

UnsafeClusterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClusterServiceServer 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 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 UnsafeUserServiceServer

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

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

type UpdateClusterHostsMetadata

type UpdateClusterHostsMetadata struct {

	// ID of the cluster in which the hosts are being updated.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts that are being updated.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterHostsMetadata) Descriptor deprecated

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

Deprecated: Use UpdateClusterHostsMetadata.ProtoReflect.Descriptor instead.

func (*UpdateClusterHostsMetadata) GetClusterId

func (x *UpdateClusterHostsMetadata) GetClusterId() string

func (*UpdateClusterHostsMetadata) GetHostNames

func (x *UpdateClusterHostsMetadata) GetHostNames() []string

func (*UpdateClusterHostsMetadata) ProtoMessage

func (*UpdateClusterHostsMetadata) ProtoMessage()

func (*UpdateClusterHostsMetadata) ProtoReflect

func (*UpdateClusterHostsMetadata) Reset

func (x *UpdateClusterHostsMetadata) Reset()

func (*UpdateClusterHostsMetadata) SetClusterId

func (m *UpdateClusterHostsMetadata) SetClusterId(v string)

func (*UpdateClusterHostsMetadata) SetHostNames

func (m *UpdateClusterHostsMetadata) SetHostNames(v []string)

func (*UpdateClusterHostsMetadata) String

func (x *UpdateClusterHostsMetadata) String() string

type UpdateClusterHostsRequest

type UpdateClusterHostsRequest struct {

	// ID of the MySQL cluster to update hosts in.
	// To get the MySQL cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// New configurations to apply to hosts.
	UpdateHostSpecs []*UpdateHostSpec `protobuf:"bytes,2,rep,name=update_host_specs,json=updateHostSpecs,proto3" json:"update_host_specs,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterHostsRequest) Descriptor deprecated

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

Deprecated: Use UpdateClusterHostsRequest.ProtoReflect.Descriptor instead.

func (*UpdateClusterHostsRequest) GetClusterId

func (x *UpdateClusterHostsRequest) GetClusterId() string

func (*UpdateClusterHostsRequest) GetUpdateHostSpecs

func (x *UpdateClusterHostsRequest) GetUpdateHostSpecs() []*UpdateHostSpec

func (*UpdateClusterHostsRequest) ProtoMessage

func (*UpdateClusterHostsRequest) ProtoMessage()

func (*UpdateClusterHostsRequest) ProtoReflect

func (*UpdateClusterHostsRequest) Reset

func (x *UpdateClusterHostsRequest) Reset()

func (*UpdateClusterHostsRequest) SetClusterId

func (m *UpdateClusterHostsRequest) SetClusterId(v string)

func (*UpdateClusterHostsRequest) SetUpdateHostSpecs

func (m *UpdateClusterHostsRequest) SetUpdateHostSpecs(v []*UpdateHostSpec)

func (*UpdateClusterHostsRequest) String

func (x *UpdateClusterHostsRequest) String() string

type UpdateClusterMetadata

type UpdateClusterMetadata struct {

	// ID of the cluster that is being updated.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterMetadata) Descriptor deprecated

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

Deprecated: Use UpdateClusterMetadata.ProtoReflect.Descriptor instead.

func (*UpdateClusterMetadata) GetClusterId

func (x *UpdateClusterMetadata) GetClusterId() string

func (*UpdateClusterMetadata) ProtoMessage

func (*UpdateClusterMetadata) ProtoMessage()

func (*UpdateClusterMetadata) ProtoReflect

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

func (*UpdateClusterMetadata) Reset

func (x *UpdateClusterMetadata) Reset()

func (*UpdateClusterMetadata) SetClusterId

func (m *UpdateClusterMetadata) SetClusterId(v string)

func (*UpdateClusterMetadata) String

func (x *UpdateClusterMetadata) String() string

type UpdateClusterRequest

type UpdateClusterRequest struct {

	// ID of the cluster to update.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Field mask that specifies which settings of the cluster should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// New description of the cluster.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// New set of custom labels for the cluster as `key:value` pairs.
	//
	// This set will completely replace the current one.
	// To add a label, request the current label set with the [ClusterService.Get] request, then send an [ClusterService.Update] request with the new label added to the current set.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// New configuration of the cluster.
	ConfigSpec *ConfigSpec `protobuf:"bytes,5,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// New name of the cluster.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// Configuration of a maintenance window in an MySQL cluster.
	MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,7,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"`
	// New list of security group IDs to apply to the cluster.
	SecurityGroupIds []string `protobuf:"bytes,8,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// This option prevents unintended deletion of the cluster.
	DeletionProtection bool `protobuf:"varint,9,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// ID of the network to move the cluster to.
	NetworkId string `protobuf:"bytes,11,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterRequest) Descriptor deprecated

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

Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.

func (*UpdateClusterRequest) GetClusterId

func (x *UpdateClusterRequest) GetClusterId() string

func (*UpdateClusterRequest) GetConfigSpec

func (x *UpdateClusterRequest) GetConfigSpec() *ConfigSpec

func (*UpdateClusterRequest) GetDeletionProtection

func (x *UpdateClusterRequest) GetDeletionProtection() bool

func (*UpdateClusterRequest) GetDescription

func (x *UpdateClusterRequest) GetDescription() string

func (*UpdateClusterRequest) GetLabels

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

func (*UpdateClusterRequest) GetMaintenanceWindow

func (x *UpdateClusterRequest) GetMaintenanceWindow() *MaintenanceWindow

func (*UpdateClusterRequest) GetName

func (x *UpdateClusterRequest) GetName() string

func (*UpdateClusterRequest) GetNetworkId

func (x *UpdateClusterRequest) GetNetworkId() string

func (*UpdateClusterRequest) GetSecurityGroupIds

func (x *UpdateClusterRequest) GetSecurityGroupIds() []string

func (*UpdateClusterRequest) GetUpdateMask

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

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) ProtoReflect

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

func (*UpdateClusterRequest) Reset

func (x *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) SetClusterId

func (m *UpdateClusterRequest) SetClusterId(v string)

func (*UpdateClusterRequest) SetConfigSpec

func (m *UpdateClusterRequest) SetConfigSpec(v *ConfigSpec)

func (*UpdateClusterRequest) SetDeletionProtection

func (m *UpdateClusterRequest) SetDeletionProtection(v bool)

func (*UpdateClusterRequest) SetDescription

func (m *UpdateClusterRequest) SetDescription(v string)

func (*UpdateClusterRequest) SetLabels

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

func (*UpdateClusterRequest) SetMaintenanceWindow

func (m *UpdateClusterRequest) SetMaintenanceWindow(v *MaintenanceWindow)

func (*UpdateClusterRequest) SetName

func (m *UpdateClusterRequest) SetName(v string)

func (*UpdateClusterRequest) SetNetworkId

func (m *UpdateClusterRequest) SetNetworkId(v string)

func (*UpdateClusterRequest) SetSecurityGroupIds

func (m *UpdateClusterRequest) SetSecurityGroupIds(v []string)

func (*UpdateClusterRequest) SetUpdateMask

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

func (*UpdateClusterRequest) String

func (x *UpdateClusterRequest) String() string

type UpdateHostSpec

type UpdateHostSpec struct {

	// Name of the host to update.
	// To get a MySQL host name, use a [ClusterService.ListHosts] request.
	HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	// [Host.name] of the host to be used as the replication source (for cascading replication).
	// To get a MySQL host name, use a [ClusterService.ListHosts] request.
	ReplicationSource string `protobuf:"bytes,2,opt,name=replication_source,json=replicationSource,proto3" json:"replication_source,omitempty"`
	// Field mask that specifies which settings of the MySQL host should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Host backup priority.
	BackupPriority int64 `protobuf:"varint,4,opt,name=backup_priority,json=backupPriority,proto3" json:"backup_priority,omitempty"`
	// Whether the host should get a public IP address on creation.
	AssignPublicIp bool `protobuf:"varint,5,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	// Host master promotion priority.
	Priority int64 `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateHostSpec) Descriptor deprecated

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

Deprecated: Use UpdateHostSpec.ProtoReflect.Descriptor instead.

func (*UpdateHostSpec) GetAssignPublicIp

func (x *UpdateHostSpec) GetAssignPublicIp() bool

func (*UpdateHostSpec) GetBackupPriority

func (x *UpdateHostSpec) GetBackupPriority() int64

func (*UpdateHostSpec) GetHostName

func (x *UpdateHostSpec) GetHostName() string

func (*UpdateHostSpec) GetPriority

func (x *UpdateHostSpec) GetPriority() int64

func (*UpdateHostSpec) GetReplicationSource

func (x *UpdateHostSpec) GetReplicationSource() string

func (*UpdateHostSpec) GetUpdateMask

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

func (*UpdateHostSpec) ProtoMessage

func (*UpdateHostSpec) ProtoMessage()

func (*UpdateHostSpec) ProtoReflect

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

func (*UpdateHostSpec) Reset

func (x *UpdateHostSpec) Reset()

func (*UpdateHostSpec) SetAssignPublicIp

func (m *UpdateHostSpec) SetAssignPublicIp(v bool)

func (*UpdateHostSpec) SetBackupPriority

func (m *UpdateHostSpec) SetBackupPriority(v int64)

func (*UpdateHostSpec) SetHostName

func (m *UpdateHostSpec) SetHostName(v string)

func (*UpdateHostSpec) SetPriority

func (m *UpdateHostSpec) SetPriority(v int64)

func (*UpdateHostSpec) SetReplicationSource

func (m *UpdateHostSpec) SetReplicationSource(v string)

func (*UpdateHostSpec) SetUpdateMask

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

func (*UpdateHostSpec) String

func (x *UpdateHostSpec) String() string

type UpdateUserMetadata

type UpdateUserMetadata struct {

	// ID of the cluster the user is being updated in.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user that is being updated.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserMetadata) Descriptor deprecated

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

Deprecated: Use UpdateUserMetadata.ProtoReflect.Descriptor instead.

func (*UpdateUserMetadata) GetClusterId

func (x *UpdateUserMetadata) GetClusterId() string

func (*UpdateUserMetadata) GetUserName

func (x *UpdateUserMetadata) GetUserName() string

func (*UpdateUserMetadata) ProtoMessage

func (*UpdateUserMetadata) ProtoMessage()

func (*UpdateUserMetadata) ProtoReflect

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

func (*UpdateUserMetadata) Reset

func (x *UpdateUserMetadata) Reset()

func (*UpdateUserMetadata) SetClusterId

func (m *UpdateUserMetadata) SetClusterId(v string)

func (*UpdateUserMetadata) SetUserName

func (m *UpdateUserMetadata) SetUserName(v string)

func (*UpdateUserMetadata) String

func (x *UpdateUserMetadata) String() string

type UpdateUserRequest

type UpdateUserRequest struct {

	// ID of the cluster to update the user in.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user to update.
	//
	// To get this name, make a [UserService.List] request.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// Field mask that specifies which settings of the user should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// New password for the user.
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// A new set of permissions that should be granted to the user.
	Permissions []*Permission `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// New set of global permissions to grant to the user.
	GlobalPermissions []GlobalPermission `` /* 168-byte string literal not displayed */
	// Set of changed user connection limits.
	ConnectionLimits *ConnectionLimits `protobuf:"bytes,7,opt,name=connection_limits,json=connectionLimits,proto3" json:"connection_limits,omitempty"`
	// New user authentication plugin.
	AuthenticationPlugin AuthPlugin `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetAuthenticationPlugin

func (x *UpdateUserRequest) GetAuthenticationPlugin() AuthPlugin

func (*UpdateUserRequest) GetClusterId

func (x *UpdateUserRequest) GetClusterId() string

func (*UpdateUserRequest) GetConnectionLimits

func (x *UpdateUserRequest) GetConnectionLimits() *ConnectionLimits

func (*UpdateUserRequest) GetGlobalPermissions

func (x *UpdateUserRequest) GetGlobalPermissions() []GlobalPermission

func (*UpdateUserRequest) GetPassword

func (x *UpdateUserRequest) GetPassword() string

func (*UpdateUserRequest) GetPermissions

func (x *UpdateUserRequest) GetPermissions() []*Permission

func (*UpdateUserRequest) GetUpdateMask

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

func (*UpdateUserRequest) GetUserName

func (x *UpdateUserRequest) GetUserName() string

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

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

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) SetAuthenticationPlugin

func (m *UpdateUserRequest) SetAuthenticationPlugin(v AuthPlugin)

func (*UpdateUserRequest) SetClusterId

func (m *UpdateUserRequest) SetClusterId(v string)

func (*UpdateUserRequest) SetConnectionLimits

func (m *UpdateUserRequest) SetConnectionLimits(v *ConnectionLimits)

func (*UpdateUserRequest) SetGlobalPermissions

func (m *UpdateUserRequest) SetGlobalPermissions(v []GlobalPermission)

func (*UpdateUserRequest) SetPassword

func (m *UpdateUserRequest) SetPassword(v string)

func (*UpdateUserRequest) SetPermissions

func (m *UpdateUserRequest) SetPermissions(v []*Permission)

func (*UpdateUserRequest) SetUpdateMask

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

func (*UpdateUserRequest) SetUserName

func (m *UpdateUserRequest) SetUserName(v string)

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

type User

type User struct {

	// Name of the user.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the cluster the user belongs to.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Set of permissions granted to the user.
	Permissions []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// Set of global permissions to grant to the user.
	GlobalPermissions []GlobalPermission `` /* 168-byte string literal not displayed */
	// Set of user connection limits.
	ConnectionLimits *ConnectionLimits `protobuf:"bytes,5,opt,name=connection_limits,json=connectionLimits,proto3" json:"connection_limits,omitempty"`
	// User authentication plugin.
	AuthenticationPlugin AuthPlugin `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

An object that represents MySQL user.

See [the documentation](/docs/managed-mysql/operations/cluster-users) for details.

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAuthenticationPlugin

func (x *User) GetAuthenticationPlugin() AuthPlugin

func (*User) GetClusterId

func (x *User) GetClusterId() string

func (*User) GetConnectionLimits

func (x *User) GetConnectionLimits() *ConnectionLimits

func (*User) GetGlobalPermissions

func (x *User) GetGlobalPermissions() []GlobalPermission

func (*User) GetName

func (x *User) GetName() string

func (*User) GetPermissions

func (x *User) GetPermissions() []*Permission

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) SetAuthenticationPlugin

func (m *User) SetAuthenticationPlugin(v AuthPlugin)

func (*User) SetClusterId

func (m *User) SetClusterId(v string)

func (*User) SetConnectionLimits

func (m *User) SetConnectionLimits(v *ConnectionLimits)

func (*User) SetGlobalPermissions

func (m *User) SetGlobalPermissions(v []GlobalPermission)

func (*User) SetName

func (m *User) SetName(v string)

func (*User) SetPermissions

func (m *User) SetPermissions(v []*Permission)

func (*User) String

func (x *User) String() string

type UserServiceClient

type UserServiceClient interface {
	// Retrieves information about the specified user.
	Get(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error)
	// Retrieves the list of users in a cluster.
	List(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	// Creates a user in a cluster.
	Create(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates a user in a cluster.
	Update(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes a user in a cluster.
	Delete(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Grants permission to access a database to a user in a cluster.
	GrantPermission(ctx context.Context, in *GrantUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Revokes permission to access a database from a user in a cluster.
	RevokePermission(ctx context.Context, in *RevokeUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

UserServiceClient is the client API for UserService 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 MySQL users.

See [the documentation](/docs/managed-mysql/operations/cluster-users) for details.

type UserServiceServer

type UserServiceServer interface {
	// Retrieves information about the specified user.
	Get(context.Context, *GetUserRequest) (*User, error)
	// Retrieves the list of users in a cluster.
	List(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
	// Creates a user in a cluster.
	Create(context.Context, *CreateUserRequest) (*operation.Operation, error)
	// Updates a user in a cluster.
	Update(context.Context, *UpdateUserRequest) (*operation.Operation, error)
	// Deletes a user in a cluster.
	Delete(context.Context, *DeleteUserRequest) (*operation.Operation, error)
	// Grants permission to access a database to a user in a cluster.
	GrantPermission(context.Context, *GrantUserPermissionRequest) (*operation.Operation, error)
	// Revokes permission to access a database from a user in a cluster.
	RevokePermission(context.Context, *RevokeUserPermissionRequest) (*operation.Operation, error)
}

UserServiceServer is the server API for UserService service. All implementations should embed UnimplementedUserServiceServer for forward compatibility.

A set of methods for managing MySQL users.

See [the documentation](/docs/managed-mysql/operations/cluster-users) for details.

type UserSpec

type UserSpec struct {

	// Name of the user.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Password of the user.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// Set of permissions granted to the user to access specific databases.
	// One permission per database.
	//
	// When a permission for a database is set, the user will have access to the database.
	Permissions []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// Set of global permissions to grant to the user.
	GlobalPermissions []GlobalPermission `` /* 168-byte string literal not displayed */
	// Set of user connection limits.
	ConnectionLimits *ConnectionLimits `protobuf:"bytes,5,opt,name=connection_limits,json=connectionLimits,proto3" json:"connection_limits,omitempty"`
	// User authentication plugin.
	AuthenticationPlugin AuthPlugin `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UserSpec) Descriptor deprecated

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

Deprecated: Use UserSpec.ProtoReflect.Descriptor instead.

func (*UserSpec) GetAuthenticationPlugin

func (x *UserSpec) GetAuthenticationPlugin() AuthPlugin

func (*UserSpec) GetConnectionLimits

func (x *UserSpec) GetConnectionLimits() *ConnectionLimits

func (*UserSpec) GetGlobalPermissions

func (x *UserSpec) GetGlobalPermissions() []GlobalPermission

func (*UserSpec) GetName

func (x *UserSpec) GetName() string

func (*UserSpec) GetPassword

func (x *UserSpec) GetPassword() string

func (*UserSpec) GetPermissions

func (x *UserSpec) GetPermissions() []*Permission

func (*UserSpec) ProtoMessage

func (*UserSpec) ProtoMessage()

func (*UserSpec) ProtoReflect

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

func (*UserSpec) Reset

func (x *UserSpec) Reset()

func (*UserSpec) SetAuthenticationPlugin

func (m *UserSpec) SetAuthenticationPlugin(v AuthPlugin)

func (*UserSpec) SetConnectionLimits

func (m *UserSpec) SetConnectionLimits(v *ConnectionLimits)

func (*UserSpec) SetGlobalPermissions

func (m *UserSpec) SetGlobalPermissions(v []GlobalPermission)

func (*UserSpec) SetName

func (m *UserSpec) SetName(v string)

func (*UserSpec) SetPassword

func (m *UserSpec) SetPassword(v string)

func (*UserSpec) SetPermissions

func (m *UserSpec) SetPermissions(v []*Permission)

func (*UserSpec) String

func (x *UserSpec) String() string

type WeeklyMaintenanceWindow

type WeeklyMaintenanceWindow struct {

	// Day of the week (in `DDD` format).
	Day WeeklyMaintenanceWindow_WeekDay `protobuf:"varint,1,opt,name=day,proto3,enum=yandex.cloud.mdb.mysql.v1.WeeklyMaintenanceWindow_WeekDay" json:"day,omitempty"`
	// Hour of the day in UTC (in `HH` format).
	Hour int64 `protobuf:"varint,2,opt,name=hour,proto3" json:"hour,omitempty"`
	// contains filtered or unexported fields
}

Weelky maintenance window settings.

func (*WeeklyMaintenanceWindow) Descriptor deprecated

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

Deprecated: Use WeeklyMaintenanceWindow.ProtoReflect.Descriptor instead.

func (*WeeklyMaintenanceWindow) GetDay

func (*WeeklyMaintenanceWindow) GetHour

func (x *WeeklyMaintenanceWindow) GetHour() int64

func (*WeeklyMaintenanceWindow) ProtoMessage

func (*WeeklyMaintenanceWindow) ProtoMessage()

func (*WeeklyMaintenanceWindow) ProtoReflect

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

func (*WeeklyMaintenanceWindow) Reset

func (x *WeeklyMaintenanceWindow) Reset()

func (*WeeklyMaintenanceWindow) SetDay

func (*WeeklyMaintenanceWindow) SetHour

func (m *WeeklyMaintenanceWindow) SetHour(v int64)

func (*WeeklyMaintenanceWindow) String

func (x *WeeklyMaintenanceWindow) String() string

type WeeklyMaintenanceWindow_WeekDay

type WeeklyMaintenanceWindow_WeekDay int32
const (
	WeeklyMaintenanceWindow_WEEK_DAY_UNSPECIFIED WeeklyMaintenanceWindow_WeekDay = 0
	WeeklyMaintenanceWindow_MON                  WeeklyMaintenanceWindow_WeekDay = 1
	WeeklyMaintenanceWindow_TUE                  WeeklyMaintenanceWindow_WeekDay = 2
	WeeklyMaintenanceWindow_WED                  WeeklyMaintenanceWindow_WeekDay = 3
	WeeklyMaintenanceWindow_THU                  WeeklyMaintenanceWindow_WeekDay = 4
	WeeklyMaintenanceWindow_FRI                  WeeklyMaintenanceWindow_WeekDay = 5
	WeeklyMaintenanceWindow_SAT                  WeeklyMaintenanceWindow_WeekDay = 6
	WeeklyMaintenanceWindow_SUN                  WeeklyMaintenanceWindow_WeekDay = 7
)

func (WeeklyMaintenanceWindow_WeekDay) Descriptor

func (WeeklyMaintenanceWindow_WeekDay) Enum

func (WeeklyMaintenanceWindow_WeekDay) EnumDescriptor deprecated

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

Deprecated: Use WeeklyMaintenanceWindow_WeekDay.Descriptor instead.

func (WeeklyMaintenanceWindow_WeekDay) Number

func (WeeklyMaintenanceWindow_WeekDay) String

func (WeeklyMaintenanceWindow_WeekDay) Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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