mysql

package
v0.0.0-...-7617782 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cluster_Environment_name = map[int32]string{
	0: "ENVIRONMENT_UNSPECIFIED",
	1: "PRODUCTION",
	2: "PRESTABLE",
}
View Source
var Cluster_Environment_value = map[string]int32{
	"ENVIRONMENT_UNSPECIFIED": 0,
	"PRODUCTION":              1,
	"PRESTABLE":               2,
}
View Source
var Cluster_Health_name = map[int32]string{
	0: "HEALTH_UNKNOWN",
	1: "ALIVE",
	2: "DEAD",
	3: "DEGRADED",
}
View Source
var Cluster_Health_value = map[string]int32{
	"HEALTH_UNKNOWN": 0,
	"ALIVE":          1,
	"DEAD":           2,
	"DEGRADED":       3,
}
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",
}
View Source
var Cluster_Status_value = map[string]int32{
	"STATUS_UNKNOWN": 0,
	"CREATING":       1,
	"RUNNING":        2,
	"ERROR":          3,
	"UPDATING":       4,
	"STOPPING":       5,
	"STOPPED":        6,
	"STARTING":       7,
}
View Source
var Host_Health_name = map[int32]string{
	0: "HEALTH_UNKNOWN",
	1: "ALIVE",
	2: "DEAD",
	3: "DEGRADED",
}
View Source
var Host_Health_value = map[string]int32{
	"HEALTH_UNKNOWN": 0,
	"ALIVE":          1,
	"DEAD":           2,
	"DEGRADED":       3,
}
View Source
var Host_Role_name = map[int32]string{
	0: "ROLE_UNKNOWN",
	1: "MASTER",
	2: "REPLICA",
}
View Source
var Host_Role_value = map[string]int32{
	"ROLE_UNKNOWN": 0,
	"MASTER":       1,
	"REPLICA":      2,
}
View Source
var ListClusterLogsRequest_ServiceType_name = map[int32]string{
	0: "SERVICE_TYPE_UNSPECIFIED",
	1: "MYSQL",
}
View Source
var ListClusterLogsRequest_ServiceType_value = map[string]int32{
	"SERVICE_TYPE_UNSPECIFIED": 0,
	"MYSQL":                    1,
}
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",
}
View Source
var 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,
}
View Source
var Service_Health_name = map[int32]string{
	0: "HEALTH_UNKNOWN",
	1: "ALIVE",
	2: "DEAD",
}
View Source
var Service_Health_value = map[string]int32{
	"HEALTH_UNKNOWN": 0,
	"ALIVE":          1,
	"DEAD":           2,
}
View Source
var Service_Type_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "MYSQL_ERROR",
	2: "MYSQL_GENERAL",
	3: "MYSQL_SLOW_QUERY",
}
View Source
var Service_Type_value = map[string]int32{
	"TYPE_UNSPECIFIED": 0,
	"MYSQL_ERROR":      1,
	"MYSQL_GENERAL":    2,
	"MYSQL_SLOW_QUERY": 3,
}

Functions

func RegisterBackupServiceServer

func RegisterBackupServiceServer(s *grpc.Server, srv BackupServiceServer)

func RegisterClusterServiceServer

func RegisterClusterServiceServer(s *grpc.Server, srv ClusterServiceServer)

func RegisterDatabaseServiceServer

func RegisterDatabaseServiceServer(s *grpc.Server, srv DatabaseServiceServer)

func RegisterResourcePresetServiceServer

func RegisterResourcePresetServiceServer(s *grpc.Server, srv ResourcePresetServiceServer)

func RegisterUserServiceServer

func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)

Types

type AddClusterHostsMetadata

type AddClusterHostsMetadata struct {
	// ID of the MySQL 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 to the cluster.
	HostNames            []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddClusterHostsMetadata) Descriptor

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

func (*AddClusterHostsMetadata) GetClusterId

func (m *AddClusterHostsMetadata) GetClusterId() string

func (*AddClusterHostsMetadata) GetHostNames

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

func (*AddClusterHostsMetadata) ProtoMessage

func (*AddClusterHostsMetadata) ProtoMessage()

func (*AddClusterHostsMetadata) Reset

func (m *AddClusterHostsMetadata) Reset()

func (*AddClusterHostsMetadata) String

func (m *AddClusterHostsMetadata) String() string

func (*AddClusterHostsMetadata) XXX_DiscardUnknown

func (m *AddClusterHostsMetadata) XXX_DiscardUnknown()

func (*AddClusterHostsMetadata) XXX_Marshal

func (m *AddClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddClusterHostsMetadata) XXX_Merge

func (m *AddClusterHostsMetadata) XXX_Merge(src proto.Message)

func (*AddClusterHostsMetadata) XXX_Size

func (m *AddClusterHostsMetadata) XXX_Size() int

func (*AddClusterHostsMetadata) XXX_Unmarshal

func (m *AddClusterHostsMetadata) XXX_Unmarshal(b []byte) error

type AddClusterHostsRequest

type AddClusterHostsRequest struct {
	// ID of the MySQL cluster to add hosts to.
	// 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"`
	// Configurations for MySQL hosts that should be added to the cluster.
	HostSpecs            []*HostSpec `protobuf:"bytes,2,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*AddClusterHostsRequest) Descriptor

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

func (*AddClusterHostsRequest) GetClusterId

func (m *AddClusterHostsRequest) GetClusterId() string

func (*AddClusterHostsRequest) GetHostSpecs

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

func (*AddClusterHostsRequest) ProtoMessage

func (*AddClusterHostsRequest) ProtoMessage()

func (*AddClusterHostsRequest) Reset

func (m *AddClusterHostsRequest) Reset()

func (*AddClusterHostsRequest) String

func (m *AddClusterHostsRequest) String() string

func (*AddClusterHostsRequest) XXX_DiscardUnknown

func (m *AddClusterHostsRequest) XXX_DiscardUnknown()

func (*AddClusterHostsRequest) XXX_Marshal

func (m *AddClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddClusterHostsRequest) XXX_Merge

func (m *AddClusterHostsRequest) XXX_Merge(src proto.Message)

func (*AddClusterHostsRequest) XXX_Size

func (m *AddClusterHostsRequest) XXX_Size() int

func (*AddClusterHostsRequest) XXX_Unmarshal

func (m *AddClusterHostsRequest) XXX_Unmarshal(b []byte) error

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"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// ID of the MySQL 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"`
	// Time when the backup operation was started.
	StartedAt            *timestamp.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A MySQL backup. For more information, see the [documentation](/docs/managed-mysql/concepts/backup).

func (*Backup) Descriptor

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

func (*Backup) GetCreatedAt

func (m *Backup) GetCreatedAt() *timestamp.Timestamp

func (*Backup) GetFolderId

func (m *Backup) GetFolderId() string

func (*Backup) GetId

func (m *Backup) GetId() string

func (*Backup) GetSourceClusterId

func (m *Backup) GetSourceClusterId() string

func (*Backup) GetStartedAt

func (m *Backup) GetStartedAt() *timestamp.Timestamp

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) Reset

func (m *Backup) Reset()

func (*Backup) String

func (m *Backup) String() string

func (*Backup) XXX_DiscardUnknown

func (m *Backup) XXX_DiscardUnknown()

func (*Backup) XXX_Marshal

func (m *Backup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Backup) XXX_Merge

func (m *Backup) XXX_Merge(src proto.Message)

func (*Backup) XXX_Size

func (m *Backup) XXX_Size() int

func (*Backup) XXX_Unmarshal

func (m *Backup) XXX_Unmarshal(b []byte) error

type BackupClusterMetadata

type BackupClusterMetadata struct {
	// ID of the MySQL cluster that is being backed up.
	ClusterId            string   `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BackupClusterMetadata) Descriptor

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

func (*BackupClusterMetadata) GetClusterId

func (m *BackupClusterMetadata) GetClusterId() string

func (*BackupClusterMetadata) ProtoMessage

func (*BackupClusterMetadata) ProtoMessage()

func (*BackupClusterMetadata) Reset

func (m *BackupClusterMetadata) Reset()

func (*BackupClusterMetadata) String

func (m *BackupClusterMetadata) String() string

func (*BackupClusterMetadata) XXX_DiscardUnknown

func (m *BackupClusterMetadata) XXX_DiscardUnknown()

func (*BackupClusterMetadata) XXX_Marshal

func (m *BackupClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupClusterMetadata) XXX_Merge

func (m *BackupClusterMetadata) XXX_Merge(src proto.Message)

func (*BackupClusterMetadata) XXX_Size

func (m *BackupClusterMetadata) XXX_Size() int

func (*BackupClusterMetadata) XXX_Unmarshal

func (m *BackupClusterMetadata) XXX_Unmarshal(b []byte) error

type BackupClusterRequest

type BackupClusterRequest struct {
	// ID of the MySQL cluster to back up.
	// 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BackupClusterRequest) Descriptor

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

func (*BackupClusterRequest) GetClusterId

func (m *BackupClusterRequest) GetClusterId() string

func (*BackupClusterRequest) ProtoMessage

func (*BackupClusterRequest) ProtoMessage()

func (*BackupClusterRequest) Reset

func (m *BackupClusterRequest) Reset()

func (*BackupClusterRequest) String

func (m *BackupClusterRequest) String() string

func (*BackupClusterRequest) XXX_DiscardUnknown

func (m *BackupClusterRequest) XXX_DiscardUnknown()

func (*BackupClusterRequest) XXX_Marshal

func (m *BackupClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupClusterRequest) XXX_Merge

func (m *BackupClusterRequest) XXX_Merge(src proto.Message)

func (*BackupClusterRequest) XXX_Size

func (m *BackupClusterRequest) XXX_Size() int

func (*BackupClusterRequest) XXX_Unmarshal

func (m *BackupClusterRequest) XXX_Unmarshal(b []byte) error

type BackupServiceClient

type BackupServiceClient interface {
	// Returns the specified MySQL backup.
	//
	// To get the list of available MySQL backups, make a [List] request.
	Get(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
	// Retrieves the list of MySQL backups available for the specified folder.
	List(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
}

BackupServiceClient is the client API for BackupService service.

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

func NewBackupServiceClient

func NewBackupServiceClient(cc *grpc.ClientConn) BackupServiceClient

type BackupServiceServer

type BackupServiceServer interface {
	// Returns the specified MySQL backup.
	//
	// To get the list of available MySQL backups, make a [List] request.
	Get(context.Context, *GetBackupRequest) (*Backup, error)
	// Retrieves the list of MySQL backups available for the specified folder.
	List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
}

BackupServiceServer is the server API for BackupService service.

type Cluster

type Cluster struct {
	// ID of the MySQL cluster.
	// This ID is assigned by Managed Service for MySQL at creation time.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the MySQL cluster belongs to.
	FolderId  string               `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the MySQL cluster.
	// The name must be unique within the folder, comply with RFC 1035
	// and be 1-63 characters long.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the MySQL cluster. 0-256 characters long.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the MySQL cluster as `key:value` pairs.
	// Maximum 64 per resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Deployment environment of the MySQL cluster.
	Environment Cluster_Environment `` /* 132-byte string literal not displayed */
	// Description of monitoring systems relevant to the MySQL cluster.
	Monitoring []*Monitoring `protobuf:"bytes,8,rep,name=monitoring,proto3" json:"monitoring,omitempty"`
	// Configuration of the MySQL 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 cluster health.
	Health Cluster_Health `protobuf:"varint,11,opt,name=health,proto3,enum=yandex.cloud.mdb.mysql.v1alpha.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.v1alpha.Cluster_Status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

A MySQL cluster. For more information, see the [documentation](/docs/managed-mysql/concepts).

func (*Cluster) Descriptor

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

func (*Cluster) GetConfig

func (m *Cluster) GetConfig() *ClusterConfig

func (*Cluster) GetCreatedAt

func (m *Cluster) GetCreatedAt() *timestamp.Timestamp

func (*Cluster) GetDescription

func (m *Cluster) GetDescription() string

func (*Cluster) GetEnvironment

func (m *Cluster) GetEnvironment() Cluster_Environment

func (*Cluster) GetFolderId

func (m *Cluster) GetFolderId() string

func (*Cluster) GetHealth

func (m *Cluster) GetHealth() Cluster_Health

func (*Cluster) GetId

func (m *Cluster) GetId() string

func (*Cluster) GetLabels

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

func (*Cluster) GetMonitoring

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

func (*Cluster) GetName

func (m *Cluster) GetName() string

func (*Cluster) GetNetworkId

func (m *Cluster) GetNetworkId() string

func (*Cluster) GetStatus

func (m *Cluster) GetStatus() Cluster_Status

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) Reset

func (m *Cluster) Reset()

func (*Cluster) String

func (m *Cluster) String() string

func (*Cluster) XXX_DiscardUnknown

func (m *Cluster) XXX_DiscardUnknown()

func (*Cluster) XXX_Marshal

func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Cluster) XXX_Merge

func (m *Cluster) XXX_Merge(src proto.Message)

func (*Cluster) XXX_Size

func (m *Cluster) XXX_Size() int

func (*Cluster) XXX_Unmarshal

func (m *Cluster) XXX_Unmarshal(b []byte) error

type ClusterConfig

type ClusterConfig struct {
	// Version of MySQL server software.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Configuration for MySQL servers in the cluster.
	//
	// Types that are valid to be assigned to MysqlConfig:
	//	*ClusterConfig_MysqlConfig_5_7
	MysqlConfig isClusterConfig_MysqlConfig `protobuf_oneof:"mysql_config"`
	// Resources allocated to MySQL 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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ClusterConfig) Descriptor

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

func (*ClusterConfig) GetBackupWindowStart

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

func (*ClusterConfig) GetMysqlConfig

func (m *ClusterConfig) GetMysqlConfig() isClusterConfig_MysqlConfig

func (*ClusterConfig) GetMysqlConfig_5_7

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

func (*ClusterConfig) GetResources

func (m *ClusterConfig) GetResources() *Resources

func (*ClusterConfig) GetVersion

func (m *ClusterConfig) GetVersion() string

func (*ClusterConfig) ProtoMessage

func (*ClusterConfig) ProtoMessage()

func (*ClusterConfig) Reset

func (m *ClusterConfig) Reset()

func (*ClusterConfig) String

func (m *ClusterConfig) String() string

func (*ClusterConfig) XXX_DiscardUnknown

func (m *ClusterConfig) XXX_DiscardUnknown()

func (*ClusterConfig) XXX_Marshal

func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterConfig) XXX_Merge

func (m *ClusterConfig) XXX_Merge(src proto.Message)

func (*ClusterConfig) XXX_OneofWrappers

func (*ClusterConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ClusterConfig) XXX_Size

func (m *ClusterConfig) XXX_Size() int

func (*ClusterConfig) XXX_Unmarshal

func (m *ClusterConfig) XXX_Unmarshal(b []byte) error

type ClusterConfig_MysqlConfig_5_7

type ClusterConfig_MysqlConfig_5_7 struct {
	MysqlConfig_5_7 *config.MysqlConfigSet5_7 `protobuf:"bytes,2,opt,name=mysql_config_5_7,json=mysqlConfig57,proto3,oneof"`
}

type ClusterServiceClient

type ClusterServiceClient interface {
	// Returns the specified MySQL cluster.
	//
	// To get the list of available MySQL clusters, make a [List] request.
	Get(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
	// Retrieves the list of MySQL clusters that belong to the specified folder.
	List(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
	// Creates a MySQL cluster in the specified folder.
	Create(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Modifies the specified MySQL cluster.
	Update(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified MySQL cluster.
	Delete(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Starts the specified MySQL cluster.
	Start(ctx context.Context, in *StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Stops the specified MySQL cluster.
	Stop(ctx context.Context, in *StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Creates a backup for the specified MySQL cluster.
	Backup(ctx context.Context, in *BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Creates a new MySQL cluster using the specified backup.
	Restore(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Retrieves logs for the specified MySQL cluster.
	// For more information about logs, see the [Logs](/docs/managed-mysql/concepts/logs) section in the documentation.
	ListLogs(ctx context.Context, in *ListClusterLogsRequest, opts ...grpc.CallOption) (*ListClusterLogsResponse, error)
	// Retrieves the list of operations for the specified MySQL cluster.
	ListOperations(ctx context.Context, in *ListClusterOperationsRequest, opts ...grpc.CallOption) (*ListClusterOperationsResponse, error)
	// Retrieves the list of available backups for the specified MySQL cluster.
	ListBackups(ctx context.Context, in *ListClusterBackupsRequest, opts ...grpc.CallOption) (*ListClusterBackupsResponse, error)
	// Retrieves a list of hosts for the specified MySQL cluster.
	ListHosts(ctx context.Context, in *ListClusterHostsRequest, opts ...grpc.CallOption) (*ListClusterHostsResponse, error)
	// Creates new hosts for a cluster.
	AddHosts(ctx context.Context, in *AddClusterHostsRequest, 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClusterServiceClient

func NewClusterServiceClient(cc *grpc.ClientConn) ClusterServiceClient

type ClusterServiceServer

type ClusterServiceServer interface {
	// Returns the specified MySQL cluster.
	//
	// To get the list of available MySQL clusters, make a [List] request.
	Get(context.Context, *GetClusterRequest) (*Cluster, error)
	// Retrieves the list of MySQL clusters that belong to the specified folder.
	List(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
	// Creates a MySQL cluster in the specified folder.
	Create(context.Context, *CreateClusterRequest) (*operation.Operation, error)
	// Modifies the specified MySQL cluster.
	Update(context.Context, *UpdateClusterRequest) (*operation.Operation, error)
	// Deletes the specified MySQL cluster.
	Delete(context.Context, *DeleteClusterRequest) (*operation.Operation, error)
	// Starts the specified MySQL cluster.
	Start(context.Context, *StartClusterRequest) (*operation.Operation, error)
	// Stops the specified MySQL cluster.
	Stop(context.Context, *StopClusterRequest) (*operation.Operation, error)
	// Creates a backup for the specified MySQL cluster.
	Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error)
	// Creates a new MySQL cluster using the specified backup.
	Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error)
	// Retrieves logs for the specified MySQL cluster.
	// For more information about logs, see the [Logs](/docs/managed-mysql/concepts/logs) section in the documentation.
	ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error)
	// Retrieves the list of operations for the specified MySQL cluster.
	ListOperations(context.Context, *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error)
	// Retrieves the list of available backups for the specified MySQL cluster.
	ListBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error)
	// Retrieves a list of hosts for the specified MySQL cluster.
	ListHosts(context.Context, *ListClusterHostsRequest) (*ListClusterHostsResponse, error)
	// Creates new hosts for a cluster.
	AddHosts(context.Context, *AddClusterHostsRequest) (*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.

type Cluster_Environment

type Cluster_Environment int32
const (
	Cluster_ENVIRONMENT_UNSPECIFIED Cluster_Environment = 0
	// Stable environment with a conservative update policy:
	// only hotfixes are applied during regular maintenance.
	Cluster_PRODUCTION Cluster_Environment = 1
	// Environment with more aggressive update policy: new versions
	// are rolled out irrespective of backward compatibility.
	Cluster_PRESTABLE Cluster_Environment = 2
)

func (Cluster_Environment) EnumDescriptor

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

func (Cluster_Environment) String

func (x Cluster_Environment) String() string

type Cluster_Health

type Cluster_Health int32
const (
	// State 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 working below capacity ([Host.health] for at least one host in the cluster is not ALIVE).
	Cluster_DEGRADED Cluster_Health = 3
)

func (Cluster_Health) EnumDescriptor

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

func (Cluster_Health) String

func (x Cluster_Health) String() string

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 stopped.
	Cluster_STOPPED Cluster_Status = 6
	// Cluster is starting.
	Cluster_STARTING Cluster_Status = 7
)

func (Cluster_Status) EnumDescriptor

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

func (Cluster_Status) String

func (x Cluster_Status) String() string

type ConfigSpec

type ConfigSpec struct {
	// Version of MySQL used in the cluster.
	// Possible values:
	// * 5.7
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Configuration of a MySQL cluster.
	//
	// Types that are valid to be assigned to MysqlConfig:
	//	*ConfigSpec_MysqlConfig_5_7
	MysqlConfig isConfigSpec_MysqlConfig `protobuf_oneof:"mysql_config"`
	// Resources allocated to MySQL 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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ConfigSpec) Descriptor

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

func (*ConfigSpec) GetBackupWindowStart

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

func (*ConfigSpec) GetMysqlConfig

func (m *ConfigSpec) GetMysqlConfig() isConfigSpec_MysqlConfig

func (*ConfigSpec) GetMysqlConfig_5_7

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

func (*ConfigSpec) GetResources

func (m *ConfigSpec) GetResources() *Resources

func (*ConfigSpec) GetVersion

func (m *ConfigSpec) GetVersion() string

func (*ConfigSpec) ProtoMessage

func (*ConfigSpec) ProtoMessage()

func (*ConfigSpec) Reset

func (m *ConfigSpec) Reset()

func (*ConfigSpec) String

func (m *ConfigSpec) String() string

func (*ConfigSpec) XXX_DiscardUnknown

func (m *ConfigSpec) XXX_DiscardUnknown()

func (*ConfigSpec) XXX_Marshal

func (m *ConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigSpec) XXX_Merge

func (m *ConfigSpec) XXX_Merge(src proto.Message)

func (*ConfigSpec) XXX_OneofWrappers

func (*ConfigSpec) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ConfigSpec) XXX_Size

func (m *ConfigSpec) XXX_Size() int

func (*ConfigSpec) XXX_Unmarshal

func (m *ConfigSpec) XXX_Unmarshal(b []byte) error

type ConfigSpec_MysqlConfig_5_7

type ConfigSpec_MysqlConfig_5_7 struct {
	MysqlConfig_5_7 *config.MysqlConfig5_7 `protobuf:"bytes,2,opt,name=mysql_config_5_7,json=mysqlConfig57,proto3,oneof"`
}

type CreateClusterMetadata

type CreateClusterMetadata struct {
	// ID of the MySQL cluster that is being created.
	ClusterId            string   `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateClusterMetadata) Descriptor

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

func (*CreateClusterMetadata) GetClusterId

func (m *CreateClusterMetadata) GetClusterId() string

func (*CreateClusterMetadata) ProtoMessage

func (*CreateClusterMetadata) ProtoMessage()

func (*CreateClusterMetadata) Reset

func (m *CreateClusterMetadata) Reset()

func (*CreateClusterMetadata) String

func (m *CreateClusterMetadata) String() string

func (*CreateClusterMetadata) XXX_DiscardUnknown

func (m *CreateClusterMetadata) XXX_DiscardUnknown()

func (*CreateClusterMetadata) XXX_Marshal

func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateClusterMetadata) XXX_Merge

func (m *CreateClusterMetadata) XXX_Merge(src proto.Message)

func (*CreateClusterMetadata) XXX_Size

func (m *CreateClusterMetadata) XXX_Size() int

func (*CreateClusterMetadata) XXX_Unmarshal

func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error

type CreateClusterRequest

type CreateClusterRequest struct {
	// ID of the folder to create the MySQL cluster in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the MySQL cluster. The name must be unique within the folder.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the MySQL cluster.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the MySQL cluster as `key:value` pairs. Maximum 64 per resource.
	// For example, "project": "mvp" or "source": "dictionary".
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Deployment environment of the MySQL cluster.
	Environment Cluster_Environment `` /* 132-byte string literal not displayed */
	// Configuration and resources for hosts that should be created for the MySQL cluster.
	ConfigSpec *ConfigSpec `protobuf:"bytes,6,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// Descriptions of databases to be created in the MySQL cluster.
	DatabaseSpecs []*DatabaseSpec `protobuf:"bytes,7,rep,name=database_specs,json=databaseSpecs,proto3" json:"database_specs,omitempty"`
	// Descriptions of database users to be created in the MySQL cluster.
	UserSpecs []*UserSpec `protobuf:"bytes,8,rep,name=user_specs,json=userSpecs,proto3" json:"user_specs,omitempty"`
	// Individual configurations for hosts that should be created for the MySQL 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateClusterRequest) Descriptor

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

func (*CreateClusterRequest) GetConfigSpec

func (m *CreateClusterRequest) GetConfigSpec() *ConfigSpec

func (*CreateClusterRequest) GetDatabaseSpecs

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

func (*CreateClusterRequest) GetDescription

func (m *CreateClusterRequest) GetDescription() string

func (*CreateClusterRequest) GetEnvironment

func (m *CreateClusterRequest) GetEnvironment() Cluster_Environment

func (*CreateClusterRequest) GetFolderId

func (m *CreateClusterRequest) GetFolderId() string

func (*CreateClusterRequest) GetHostSpecs

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

func (*CreateClusterRequest) GetLabels

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

func (*CreateClusterRequest) GetName

func (m *CreateClusterRequest) GetName() string

func (*CreateClusterRequest) GetNetworkId

func (m *CreateClusterRequest) GetNetworkId() string

func (*CreateClusterRequest) GetUserSpecs

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

func (*CreateClusterRequest) ProtoMessage

func (*CreateClusterRequest) ProtoMessage()

func (*CreateClusterRequest) Reset

func (m *CreateClusterRequest) Reset()

func (*CreateClusterRequest) String

func (m *CreateClusterRequest) String() string

func (*CreateClusterRequest) XXX_DiscardUnknown

func (m *CreateClusterRequest) XXX_DiscardUnknown()

func (*CreateClusterRequest) XXX_Marshal

func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateClusterRequest) XXX_Merge

func (m *CreateClusterRequest) XXX_Merge(src proto.Message)

func (*CreateClusterRequest) XXX_Size

func (m *CreateClusterRequest) XXX_Size() int

func (*CreateClusterRequest) XXX_Unmarshal

func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error

type CreateDatabaseMetadata

type CreateDatabaseMetadata struct {
	// ID of the MySQL cluster where a database is being created.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the MySQL database that is being created.
	DatabaseName         string   `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateDatabaseMetadata) Descriptor

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

func (*CreateDatabaseMetadata) GetClusterId

func (m *CreateDatabaseMetadata) GetClusterId() string

func (*CreateDatabaseMetadata) GetDatabaseName

func (m *CreateDatabaseMetadata) GetDatabaseName() string

func (*CreateDatabaseMetadata) ProtoMessage

func (*CreateDatabaseMetadata) ProtoMessage()

func (*CreateDatabaseMetadata) Reset

func (m *CreateDatabaseMetadata) Reset()

func (*CreateDatabaseMetadata) String

func (m *CreateDatabaseMetadata) String() string

func (*CreateDatabaseMetadata) XXX_DiscardUnknown

func (m *CreateDatabaseMetadata) XXX_DiscardUnknown()

func (*CreateDatabaseMetadata) XXX_Marshal

func (m *CreateDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDatabaseMetadata) XXX_Merge

func (m *CreateDatabaseMetadata) XXX_Merge(src proto.Message)

func (*CreateDatabaseMetadata) XXX_Size

func (m *CreateDatabaseMetadata) XXX_Size() int

func (*CreateDatabaseMetadata) XXX_Unmarshal

func (m *CreateDatabaseMetadata) XXX_Unmarshal(b []byte) error

type CreateDatabaseRequest

type CreateDatabaseRequest struct {
	// ID of the MySQL cluster to create a database in.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Configuration of the database to create.
	DatabaseSpec         *DatabaseSpec `protobuf:"bytes,2,opt,name=database_spec,json=databaseSpec,proto3" json:"database_spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*CreateDatabaseRequest) Descriptor

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

func (*CreateDatabaseRequest) GetClusterId

func (m *CreateDatabaseRequest) GetClusterId() string

func (*CreateDatabaseRequest) GetDatabaseSpec

func (m *CreateDatabaseRequest) GetDatabaseSpec() *DatabaseSpec

func (*CreateDatabaseRequest) ProtoMessage

func (*CreateDatabaseRequest) ProtoMessage()

func (*CreateDatabaseRequest) Reset

func (m *CreateDatabaseRequest) Reset()

func (*CreateDatabaseRequest) String

func (m *CreateDatabaseRequest) String() string

func (*CreateDatabaseRequest) XXX_DiscardUnknown

func (m *CreateDatabaseRequest) XXX_DiscardUnknown()

func (*CreateDatabaseRequest) XXX_Marshal

func (m *CreateDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDatabaseRequest) XXX_Merge

func (m *CreateDatabaseRequest) XXX_Merge(src proto.Message)

func (*CreateDatabaseRequest) XXX_Size

func (m *CreateDatabaseRequest) XXX_Size() int

func (*CreateDatabaseRequest) XXX_Unmarshal

func (m *CreateDatabaseRequest) XXX_Unmarshal(b []byte) error

type CreateUserMetadata

type CreateUserMetadata struct {
	// ID of the MySQL cluster the user is being created for.
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateUserMetadata) Descriptor

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

func (*CreateUserMetadata) GetClusterId

func (m *CreateUserMetadata) GetClusterId() string

func (*CreateUserMetadata) GetUserName

func (m *CreateUserMetadata) GetUserName() string

func (*CreateUserMetadata) ProtoMessage

func (*CreateUserMetadata) ProtoMessage()

func (*CreateUserMetadata) Reset

func (m *CreateUserMetadata) Reset()

func (*CreateUserMetadata) String

func (m *CreateUserMetadata) String() string

func (*CreateUserMetadata) XXX_DiscardUnknown

func (m *CreateUserMetadata) XXX_DiscardUnknown()

func (*CreateUserMetadata) XXX_Marshal

func (m *CreateUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateUserMetadata) XXX_Merge

func (m *CreateUserMetadata) XXX_Merge(src proto.Message)

func (*CreateUserMetadata) XXX_Size

func (m *CreateUserMetadata) XXX_Size() int

func (*CreateUserMetadata) XXX_Unmarshal

func (m *CreateUserMetadata) XXX_Unmarshal(b []byte) error

type CreateUserRequest

type CreateUserRequest struct {
	// ID of the MySQL cluster to create a user for.
	// To get the cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Properties of the user to be created.
	UserSpec             *UserSpec `protobuf:"bytes,2,opt,name=user_spec,json=userSpec,proto3" json:"user_spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*CreateUserRequest) Descriptor

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

func (*CreateUserRequest) GetClusterId

func (m *CreateUserRequest) GetClusterId() string

func (*CreateUserRequest) GetUserSpec

func (m *CreateUserRequest) GetUserSpec() *UserSpec

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) Reset

func (m *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (m *CreateUserRequest) String() string

func (*CreateUserRequest) XXX_DiscardUnknown

func (m *CreateUserRequest) XXX_DiscardUnknown()

func (*CreateUserRequest) XXX_Marshal

func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateUserRequest) XXX_Merge

func (m *CreateUserRequest) XXX_Merge(src proto.Message)

func (*CreateUserRequest) XXX_Size

func (m *CreateUserRequest) XXX_Size() int

func (*CreateUserRequest) XXX_Unmarshal

func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error

type Database

type Database struct {
	// Name of the database.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the MySQL cluster that the database belongs to.
	ClusterId            string   `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A MySQL database. For more information, see the [documentation](/docs/managed-mysql/concepts).

func (*Database) Descriptor

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

func (*Database) GetClusterId

func (m *Database) GetClusterId() string

func (*Database) GetName

func (m *Database) GetName() string

func (*Database) ProtoMessage

func (*Database) ProtoMessage()

func (*Database) Reset

func (m *Database) Reset()

func (*Database) String

func (m *Database) String() string

func (*Database) XXX_DiscardUnknown

func (m *Database) XXX_DiscardUnknown()

func (*Database) XXX_Marshal

func (m *Database) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Database) XXX_Merge

func (m *Database) XXX_Merge(src proto.Message)

func (*Database) XXX_Size

func (m *Database) XXX_Size() int

func (*Database) XXX_Unmarshal

func (m *Database) XXX_Unmarshal(b []byte) error

type DatabaseServiceClient

type DatabaseServiceClient interface {
	// Returns the specified MySQL database.
	//
	// To get the list of available MySQL databases, make a [List] request.
	Get(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error)
	// Retrieves the list of MySQL databases in the specified cluster.
	List(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error)
	// Creates a new MySQL database in the specified cluster.
	Create(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified MySQL database.
	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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDatabaseServiceClient

func NewDatabaseServiceClient(cc *grpc.ClientConn) DatabaseServiceClient

type DatabaseServiceServer

type DatabaseServiceServer interface {
	// Returns the specified MySQL database.
	//
	// To get the list of available MySQL databases, make a [List] request.
	Get(context.Context, *GetDatabaseRequest) (*Database, error)
	// Retrieves the list of MySQL databases in the specified cluster.
	List(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
	// Creates a new MySQL database in the specified cluster.
	Create(context.Context, *CreateDatabaseRequest) (*operation.Operation, error)
	// Deletes the specified MySQL database.
	Delete(context.Context, *DeleteDatabaseRequest) (*operation.Operation, error)
}

DatabaseServiceServer is the server API for DatabaseService service.

type DatabaseSpec

type DatabaseSpec struct {
	// Name of the MySQL database.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DatabaseSpec) Descriptor

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

func (*DatabaseSpec) GetName

func (m *DatabaseSpec) GetName() string

func (*DatabaseSpec) ProtoMessage

func (*DatabaseSpec) ProtoMessage()

func (*DatabaseSpec) Reset

func (m *DatabaseSpec) Reset()

func (*DatabaseSpec) String

func (m *DatabaseSpec) String() string

func (*DatabaseSpec) XXX_DiscardUnknown

func (m *DatabaseSpec) XXX_DiscardUnknown()

func (*DatabaseSpec) XXX_Marshal

func (m *DatabaseSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DatabaseSpec) XXX_Merge

func (m *DatabaseSpec) XXX_Merge(src proto.Message)

func (*DatabaseSpec) XXX_Size

func (m *DatabaseSpec) XXX_Size() int

func (*DatabaseSpec) XXX_Unmarshal

func (m *DatabaseSpec) XXX_Unmarshal(b []byte) error

type DeleteClusterHostsMetadata

type DeleteClusterHostsMetadata struct {
	// ID of the MySQL cluster to remove hosts from.
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteClusterHostsMetadata) Descriptor

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

func (*DeleteClusterHostsMetadata) GetClusterId

func (m *DeleteClusterHostsMetadata) GetClusterId() string

func (*DeleteClusterHostsMetadata) GetHostNames

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

func (*DeleteClusterHostsMetadata) ProtoMessage

func (*DeleteClusterHostsMetadata) ProtoMessage()

func (*DeleteClusterHostsMetadata) Reset

func (m *DeleteClusterHostsMetadata) Reset()

func (*DeleteClusterHostsMetadata) String

func (m *DeleteClusterHostsMetadata) String() string

func (*DeleteClusterHostsMetadata) XXX_DiscardUnknown

func (m *DeleteClusterHostsMetadata) XXX_DiscardUnknown()

func (*DeleteClusterHostsMetadata) XXX_Marshal

func (m *DeleteClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteClusterHostsMetadata) XXX_Merge

func (m *DeleteClusterHostsMetadata) XXX_Merge(src proto.Message)

func (*DeleteClusterHostsMetadata) XXX_Size

func (m *DeleteClusterHostsMetadata) XXX_Size() int

func (*DeleteClusterHostsMetadata) XXX_Unmarshal

func (m *DeleteClusterHostsMetadata) XXX_Unmarshal(b []byte) error

type DeleteClusterHostsRequest

type DeleteClusterHostsRequest struct {
	// ID of the MySQL cluster to remove hosts from.
	// 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"`
	// Names of hosts to delete.
	HostNames            []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteClusterHostsRequest) Descriptor

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

func (*DeleteClusterHostsRequest) GetClusterId

func (m *DeleteClusterHostsRequest) GetClusterId() string

func (*DeleteClusterHostsRequest) GetHostNames

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

func (*DeleteClusterHostsRequest) ProtoMessage

func (*DeleteClusterHostsRequest) ProtoMessage()

func (*DeleteClusterHostsRequest) Reset

func (m *DeleteClusterHostsRequest) Reset()

func (*DeleteClusterHostsRequest) String

func (m *DeleteClusterHostsRequest) String() string

func (*DeleteClusterHostsRequest) XXX_DiscardUnknown

func (m *DeleteClusterHostsRequest) XXX_DiscardUnknown()

func (*DeleteClusterHostsRequest) XXX_Marshal

func (m *DeleteClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteClusterHostsRequest) XXX_Merge

func (m *DeleteClusterHostsRequest) XXX_Merge(src proto.Message)

func (*DeleteClusterHostsRequest) XXX_Size

func (m *DeleteClusterHostsRequest) XXX_Size() int

func (*DeleteClusterHostsRequest) XXX_Unmarshal

func (m *DeleteClusterHostsRequest) XXX_Unmarshal(b []byte) error

type DeleteClusterMetadata

type DeleteClusterMetadata struct {
	// ID of the MySQL cluster that is being deleted.
	ClusterId            string   `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteClusterMetadata) Descriptor

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

func (*DeleteClusterMetadata) GetClusterId

func (m *DeleteClusterMetadata) GetClusterId() string

func (*DeleteClusterMetadata) ProtoMessage

func (*DeleteClusterMetadata) ProtoMessage()

func (*DeleteClusterMetadata) Reset

func (m *DeleteClusterMetadata) Reset()

func (*DeleteClusterMetadata) String

func (m *DeleteClusterMetadata) String() string

func (*DeleteClusterMetadata) XXX_DiscardUnknown

func (m *DeleteClusterMetadata) XXX_DiscardUnknown()

func (*DeleteClusterMetadata) XXX_Marshal

func (m *DeleteClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteClusterMetadata) XXX_Merge

func (m *DeleteClusterMetadata) XXX_Merge(src proto.Message)

func (*DeleteClusterMetadata) XXX_Size

func (m *DeleteClusterMetadata) XXX_Size() int

func (*DeleteClusterMetadata) XXX_Unmarshal

func (m *DeleteClusterMetadata) XXX_Unmarshal(b []byte) error

type DeleteClusterRequest

type DeleteClusterRequest struct {
	// ID of the MySQL cluster to delete.
	// 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteClusterRequest) Descriptor

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

func (*DeleteClusterRequest) GetClusterId

func (m *DeleteClusterRequest) GetClusterId() string

func (*DeleteClusterRequest) ProtoMessage

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) Reset

func (m *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) String

func (m *DeleteClusterRequest) String() string

func (*DeleteClusterRequest) XXX_DiscardUnknown

func (m *DeleteClusterRequest) XXX_DiscardUnknown()

func (*DeleteClusterRequest) XXX_Marshal

func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteClusterRequest) XXX_Merge

func (m *DeleteClusterRequest) XXX_Merge(src proto.Message)

func (*DeleteClusterRequest) XXX_Size

func (m *DeleteClusterRequest) XXX_Size() int

func (*DeleteClusterRequest) XXX_Unmarshal

func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error

type DeleteDatabaseMetadata

type DeleteDatabaseMetadata struct {
	// ID of the MySQL cluster where a database is being deleted.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the MySQL database that is being deleted.
	DatabaseName         string   `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteDatabaseMetadata) Descriptor

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

func (*DeleteDatabaseMetadata) GetClusterId

func (m *DeleteDatabaseMetadata) GetClusterId() string

func (*DeleteDatabaseMetadata) GetDatabaseName

func (m *DeleteDatabaseMetadata) GetDatabaseName() string

func (*DeleteDatabaseMetadata) ProtoMessage

func (*DeleteDatabaseMetadata) ProtoMessage()

func (*DeleteDatabaseMetadata) Reset

func (m *DeleteDatabaseMetadata) Reset()

func (*DeleteDatabaseMetadata) String

func (m *DeleteDatabaseMetadata) String() string

func (*DeleteDatabaseMetadata) XXX_DiscardUnknown

func (m *DeleteDatabaseMetadata) XXX_DiscardUnknown()

func (*DeleteDatabaseMetadata) XXX_Marshal

func (m *DeleteDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDatabaseMetadata) XXX_Merge

func (m *DeleteDatabaseMetadata) XXX_Merge(src proto.Message)

func (*DeleteDatabaseMetadata) XXX_Size

func (m *DeleteDatabaseMetadata) XXX_Size() int

func (*DeleteDatabaseMetadata) XXX_Unmarshal

func (m *DeleteDatabaseMetadata) XXX_Unmarshal(b []byte) error

type DeleteDatabaseRequest

type DeleteDatabaseRequest struct {
	// ID of the MySQL cluster to delete a database in.
	// To get the cluster ID, use 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 the name of the database, use a [DatabaseService.List] request.
	DatabaseName         string   `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteDatabaseRequest) Descriptor

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

func (*DeleteDatabaseRequest) GetClusterId

func (m *DeleteDatabaseRequest) GetClusterId() string

func (*DeleteDatabaseRequest) GetDatabaseName

func (m *DeleteDatabaseRequest) GetDatabaseName() string

func (*DeleteDatabaseRequest) ProtoMessage

func (*DeleteDatabaseRequest) ProtoMessage()

func (*DeleteDatabaseRequest) Reset

func (m *DeleteDatabaseRequest) Reset()

func (*DeleteDatabaseRequest) String

func (m *DeleteDatabaseRequest) String() string

func (*DeleteDatabaseRequest) XXX_DiscardUnknown

func (m *DeleteDatabaseRequest) XXX_DiscardUnknown()

func (*DeleteDatabaseRequest) XXX_Marshal

func (m *DeleteDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDatabaseRequest) XXX_Merge

func (m *DeleteDatabaseRequest) XXX_Merge(src proto.Message)

func (*DeleteDatabaseRequest) XXX_Size

func (m *DeleteDatabaseRequest) XXX_Size() int

func (*DeleteDatabaseRequest) XXX_Unmarshal

func (m *DeleteDatabaseRequest) XXX_Unmarshal(b []byte) error

type DeleteUserMetadata

type DeleteUserMetadata struct {
	// ID of the MySQL cluster the user belongs to.
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteUserMetadata) Descriptor

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

func (*DeleteUserMetadata) GetClusterId

func (m *DeleteUserMetadata) GetClusterId() string

func (*DeleteUserMetadata) GetUserName

func (m *DeleteUserMetadata) GetUserName() string

func (*DeleteUserMetadata) ProtoMessage

func (*DeleteUserMetadata) ProtoMessage()

func (*DeleteUserMetadata) Reset

func (m *DeleteUserMetadata) Reset()

func (*DeleteUserMetadata) String

func (m *DeleteUserMetadata) String() string

func (*DeleteUserMetadata) XXX_DiscardUnknown

func (m *DeleteUserMetadata) XXX_DiscardUnknown()

func (*DeleteUserMetadata) XXX_Marshal

func (m *DeleteUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteUserMetadata) XXX_Merge

func (m *DeleteUserMetadata) XXX_Merge(src proto.Message)

func (*DeleteUserMetadata) XXX_Size

func (m *DeleteUserMetadata) XXX_Size() int

func (*DeleteUserMetadata) XXX_Unmarshal

func (m *DeleteUserMetadata) XXX_Unmarshal(b []byte) error

type DeleteUserRequest

type DeleteUserRequest struct {
	// ID of the MySQL cluster the user belongs to.
	// To get the cluster ID, use 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 the name of the user, use a [UserService.List] request.
	UserName             string   `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteUserRequest) Descriptor

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

func (*DeleteUserRequest) GetClusterId

func (m *DeleteUserRequest) GetClusterId() string

func (*DeleteUserRequest) GetUserName

func (m *DeleteUserRequest) GetUserName() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) Reset

func (m *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (m *DeleteUserRequest) String() string

func (*DeleteUserRequest) XXX_DiscardUnknown

func (m *DeleteUserRequest) XXX_DiscardUnknown()

func (*DeleteUserRequest) XXX_Marshal

func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteUserRequest) XXX_Merge

func (m *DeleteUserRequest) XXX_Merge(src proto.Message)

func (*DeleteUserRequest) XXX_Size

func (m *DeleteUserRequest) XXX_Size() int

func (*DeleteUserRequest) XXX_Unmarshal

func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error

type GetBackupRequest

type GetBackupRequest struct {
	// ID of the backup to return information about.
	// To get the backup ID, use a [ClusterService.ListBackups] request.
	BackupId             string   `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetBackupRequest) Descriptor

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

func (*GetBackupRequest) GetBackupId

func (m *GetBackupRequest) GetBackupId() string

func (*GetBackupRequest) ProtoMessage

func (*GetBackupRequest) ProtoMessage()

func (*GetBackupRequest) Reset

func (m *GetBackupRequest) Reset()

func (*GetBackupRequest) String

func (m *GetBackupRequest) String() string

func (*GetBackupRequest) XXX_DiscardUnknown

func (m *GetBackupRequest) XXX_DiscardUnknown()

func (*GetBackupRequest) XXX_Marshal

func (m *GetBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetBackupRequest) XXX_Merge

func (m *GetBackupRequest) XXX_Merge(src proto.Message)

func (*GetBackupRequest) XXX_Size

func (m *GetBackupRequest) XXX_Size() int

func (*GetBackupRequest) XXX_Unmarshal

func (m *GetBackupRequest) XXX_Unmarshal(b []byte) error

type GetClusterRequest

type GetClusterRequest struct {
	// ID of the MySQL cluster to return.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId            string   `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetClusterRequest) Descriptor

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

func (*GetClusterRequest) GetClusterId

func (m *GetClusterRequest) GetClusterId() string

func (*GetClusterRequest) ProtoMessage

func (*GetClusterRequest) ProtoMessage()

func (*GetClusterRequest) Reset

func (m *GetClusterRequest) Reset()

func (*GetClusterRequest) String

func (m *GetClusterRequest) String() string

func (*GetClusterRequest) XXX_DiscardUnknown

func (m *GetClusterRequest) XXX_DiscardUnknown()

func (*GetClusterRequest) XXX_Marshal

func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetClusterRequest) XXX_Merge

func (m *GetClusterRequest) XXX_Merge(src proto.Message)

func (*GetClusterRequest) XXX_Size

func (m *GetClusterRequest) XXX_Size() int

func (*GetClusterRequest) XXX_Unmarshal

func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error

type GetDatabaseRequest

type GetDatabaseRequest struct {
	// ID of the MySQL cluster that the database belongs to.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the MySQL database to return.
	// To get the name of the database use a [DatabaseService.List] request.
	DatabaseName         string   `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetDatabaseRequest) Descriptor

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

func (*GetDatabaseRequest) GetClusterId

func (m *GetDatabaseRequest) GetClusterId() string

func (*GetDatabaseRequest) GetDatabaseName

func (m *GetDatabaseRequest) GetDatabaseName() string

func (*GetDatabaseRequest) ProtoMessage

func (*GetDatabaseRequest) ProtoMessage()

func (*GetDatabaseRequest) Reset

func (m *GetDatabaseRequest) Reset()

func (*GetDatabaseRequest) String

func (m *GetDatabaseRequest) String() string

func (*GetDatabaseRequest) XXX_DiscardUnknown

func (m *GetDatabaseRequest) XXX_DiscardUnknown()

func (*GetDatabaseRequest) XXX_Marshal

func (m *GetDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDatabaseRequest) XXX_Merge

func (m *GetDatabaseRequest) XXX_Merge(src proto.Message)

func (*GetDatabaseRequest) XXX_Size

func (m *GetDatabaseRequest) XXX_Size() int

func (*GetDatabaseRequest) XXX_Unmarshal

func (m *GetDatabaseRequest) XXX_Unmarshal(b []byte) error

type GetResourcePresetRequest

type GetResourcePresetRequest struct {
	// ID of the resource preset to return.
	// To get the resource preset ID, use a [ResourcePresetService.List] request.
	ResourcePresetId     string   `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetResourcePresetRequest) Descriptor

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

func (*GetResourcePresetRequest) GetResourcePresetId

func (m *GetResourcePresetRequest) GetResourcePresetId() string

func (*GetResourcePresetRequest) ProtoMessage

func (*GetResourcePresetRequest) ProtoMessage()

func (*GetResourcePresetRequest) Reset

func (m *GetResourcePresetRequest) Reset()

func (*GetResourcePresetRequest) String

func (m *GetResourcePresetRequest) String() string

func (*GetResourcePresetRequest) XXX_DiscardUnknown

func (m *GetResourcePresetRequest) XXX_DiscardUnknown()

func (*GetResourcePresetRequest) XXX_Marshal

func (m *GetResourcePresetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetResourcePresetRequest) XXX_Merge

func (m *GetResourcePresetRequest) XXX_Merge(src proto.Message)

func (*GetResourcePresetRequest) XXX_Size

func (m *GetResourcePresetRequest) XXX_Size() int

func (*GetResourcePresetRequest) XXX_Unmarshal

func (m *GetResourcePresetRequest) XXX_Unmarshal(b []byte) error

type GetUserRequest

type GetUserRequest struct {
	// ID of the MySQL cluster.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user.
	UserName             string   `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetUserRequest) Descriptor

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

func (*GetUserRequest) GetClusterId

func (m *GetUserRequest) GetClusterId() string

func (*GetUserRequest) GetUserName

func (m *GetUserRequest) GetUserName() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) Reset

func (m *GetUserRequest) Reset()

func (*GetUserRequest) String

func (m *GetUserRequest) String() string

func (*GetUserRequest) XXX_DiscardUnknown

func (m *GetUserRequest) XXX_DiscardUnknown()

func (*GetUserRequest) XXX_Marshal

func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUserRequest) XXX_Merge

func (m *GetUserRequest) XXX_Merge(src proto.Message)

func (*GetUserRequest) XXX_Size

func (m *GetUserRequest) XXX_Size() int

func (*GetUserRequest) XXX_Unmarshal

func (m *GetUserRequest) XXX_Unmarshal(b []byte) error

type GrantUserPermissionMetadata

type GrantUserPermissionMetadata struct {
	// ID of the MySQL cluster the user belongs to.
	// To get the cluster ID, use a [ClusterService.List] request.
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GrantUserPermissionMetadata) Descriptor

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

func (*GrantUserPermissionMetadata) GetClusterId

func (m *GrantUserPermissionMetadata) GetClusterId() string

func (*GrantUserPermissionMetadata) GetUserName

func (m *GrantUserPermissionMetadata) GetUserName() string

func (*GrantUserPermissionMetadata) ProtoMessage

func (*GrantUserPermissionMetadata) ProtoMessage()

func (*GrantUserPermissionMetadata) Reset

func (m *GrantUserPermissionMetadata) Reset()

func (*GrantUserPermissionMetadata) String

func (m *GrantUserPermissionMetadata) String() string

func (*GrantUserPermissionMetadata) XXX_DiscardUnknown

func (m *GrantUserPermissionMetadata) XXX_DiscardUnknown()

func (*GrantUserPermissionMetadata) XXX_Marshal

func (m *GrantUserPermissionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GrantUserPermissionMetadata) XXX_Merge

func (m *GrantUserPermissionMetadata) XXX_Merge(src proto.Message)

func (*GrantUserPermissionMetadata) XXX_Size

func (m *GrantUserPermissionMetadata) XXX_Size() int

func (*GrantUserPermissionMetadata) XXX_Unmarshal

func (m *GrantUserPermissionMetadata) XXX_Unmarshal(b []byte) error

type GrantUserPermissionRequest

type GrantUserPermissionRequest struct {
	// ID of the MySQL cluster the user belongs to.
	// To get the cluster ID, use 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 the permission to.
	// To get the name of the user, use 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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GrantUserPermissionRequest) Descriptor

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

func (*GrantUserPermissionRequest) GetClusterId

func (m *GrantUserPermissionRequest) GetClusterId() string

func (*GrantUserPermissionRequest) GetPermission

func (m *GrantUserPermissionRequest) GetPermission() *Permission

func (*GrantUserPermissionRequest) GetUserName

func (m *GrantUserPermissionRequest) GetUserName() string

func (*GrantUserPermissionRequest) ProtoMessage

func (*GrantUserPermissionRequest) ProtoMessage()

func (*GrantUserPermissionRequest) Reset

func (m *GrantUserPermissionRequest) Reset()

func (*GrantUserPermissionRequest) String

func (m *GrantUserPermissionRequest) String() string

func (*GrantUserPermissionRequest) XXX_DiscardUnknown

func (m *GrantUserPermissionRequest) XXX_DiscardUnknown()

func (*GrantUserPermissionRequest) XXX_Marshal

func (m *GrantUserPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GrantUserPermissionRequest) XXX_Merge

func (m *GrantUserPermissionRequest) XXX_Merge(src proto.Message)

func (*GrantUserPermissionRequest) XXX_Size

func (m *GrantUserPermissionRequest) XXX_Size() int

func (*GrantUserPermissionRequest) XXX_Unmarshal

func (m *GrantUserPermissionRequest) XXX_Unmarshal(b []byte) error

type Host

type Host struct {
	// Name of the MySQL host. The host name is assigned by Managed Service for MySQL
	// at creation time, and cannot be changed. 1-63 characters long.
	//
	// The name is unique across all existing database hosts in Yandex.Cloud,
	// as it defines the FQDN of the host.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the MySQL host. The ID is assigned by Managed Service for MySQL
	// at creation time.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the availability zone where the MySQL 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.
	Role Host_Role `protobuf:"varint,5,opt,name=role,proto3,enum=yandex.cloud.mdb.mysql.v1alpha.Host_Role" json:"role,omitempty"`
	// Status code of the aggregated health of the host.
	Health Host_Health `protobuf:"varint,6,opt,name=health,proto3,enum=yandex.cloud.mdb.mysql.v1alpha.Host_Health" json:"health,omitempty"`
	// 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 showing public IP assignment status to this host.
	AssignPublicIp       bool     `protobuf:"varint,9,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Host) Descriptor

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

func (*Host) GetAssignPublicIp

func (m *Host) GetAssignPublicIp() bool

func (*Host) GetClusterId

func (m *Host) GetClusterId() string

func (*Host) GetHealth

func (m *Host) GetHealth() Host_Health

func (*Host) GetName

func (m *Host) GetName() string

func (*Host) GetResources

func (m *Host) GetResources() *Resources

func (*Host) GetRole

func (m *Host) GetRole() Host_Role

func (*Host) GetServices

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

func (*Host) GetSubnetId

func (m *Host) GetSubnetId() string

func (*Host) GetZoneId

func (m *Host) GetZoneId() string

func (*Host) ProtoMessage

func (*Host) ProtoMessage()

func (*Host) Reset

func (m *Host) Reset()

func (*Host) String

func (m *Host) String() string

func (*Host) XXX_DiscardUnknown

func (m *Host) XXX_DiscardUnknown()

func (*Host) XXX_Marshal

func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Host) XXX_Merge

func (m *Host) XXX_Merge(src proto.Message)

func (*Host) XXX_Size

func (m *Host) XXX_Size() int

func (*Host) XXX_Unmarshal

func (m *Host) XXX_Unmarshal(b []byte) error

type HostSpec

type HostSpec struct {
	// ID of the availability zone where the host resides.
	// To get a list of available zones, use 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 that the host should belong to. This subnet should be a part
	// of the network that the cluster belongs to.
	// The ID of the network is set in the field [Cluster.network_id].
	SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// Whether the host should get a public IP address on creation.
	//
	// After a host has been created, this setting cannot be changed. To remove an assigned public IP, or to assign
	// a public IP to a host without one, recreate the host with [assign_public_ip] set as needed.
	//
	// Possible values:
	// * false — don't assign a public IP to the host.
	// * true — the host should have a public IP address.
	AssignPublicIp       bool     `protobuf:"varint,3,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HostSpec) Descriptor

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

func (*HostSpec) GetAssignPublicIp

func (m *HostSpec) GetAssignPublicIp() bool

func (*HostSpec) GetSubnetId

func (m *HostSpec) GetSubnetId() string

func (*HostSpec) GetZoneId

func (m *HostSpec) GetZoneId() string

func (*HostSpec) ProtoMessage

func (*HostSpec) ProtoMessage()

func (*HostSpec) Reset

func (m *HostSpec) Reset()

func (*HostSpec) String

func (m *HostSpec) String() string

func (*HostSpec) XXX_DiscardUnknown

func (m *HostSpec) XXX_DiscardUnknown()

func (*HostSpec) XXX_Marshal

func (m *HostSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HostSpec) XXX_Merge

func (m *HostSpec) XXX_Merge(src proto.Message)

func (*HostSpec) XXX_Size

func (m *HostSpec) XXX_Size() int

func (*HostSpec) XXX_Unmarshal

func (m *HostSpec) XXX_Unmarshal(b []byte) error

type Host_Health

type Host_Health int32
const (
	// Health of the host is unknown.
	Host_HEALTH_UNKNOWN Host_Health = 0
	// The host is performing all its functions normally.
	Host_ALIVE Host_Health = 1
	// The host is inoperable, and cannot perform any of its essential functions.
	Host_DEAD Host_Health = 2
	// The host is degraded, and can perform only some of its essential functions.
	Host_DEGRADED Host_Health = 3
)

func (Host_Health) EnumDescriptor

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

func (Host_Health) String

func (x Host_Health) String() string

type Host_Role

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

func (Host_Role) EnumDescriptor

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

func (Host_Role) String

func (x Host_Role) String() string

type ListBackupsRequest

type ListBackupsRequest struct {
	// ID of the folder to list backups in.
	// To get the folder ID, use 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 service returns a [ListBackupsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.  To get the next page of results, Set [page_token] to the [ListBackupsResponse.next_page_token]
	// returned by a previous list request.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListBackupsRequest) Descriptor

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

func (*ListBackupsRequest) GetFolderId

func (m *ListBackupsRequest) GetFolderId() string

func (*ListBackupsRequest) GetPageSize

func (m *ListBackupsRequest) GetPageSize() int64

func (*ListBackupsRequest) GetPageToken

func (m *ListBackupsRequest) GetPageToken() string

func (*ListBackupsRequest) ProtoMessage

func (*ListBackupsRequest) ProtoMessage()

func (*ListBackupsRequest) Reset

func (m *ListBackupsRequest) Reset()

func (*ListBackupsRequest) String

func (m *ListBackupsRequest) String() string

func (*ListBackupsRequest) XXX_DiscardUnknown

func (m *ListBackupsRequest) XXX_DiscardUnknown()

func (*ListBackupsRequest) XXX_Marshal

func (m *ListBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListBackupsRequest) XXX_Merge

func (m *ListBackupsRequest) XXX_Merge(src proto.Message)

func (*ListBackupsRequest) XXX_Size

func (m *ListBackupsRequest) XXX_Size() int

func (*ListBackupsRequest) XXX_Unmarshal

func (m *ListBackupsRequest) XXX_Unmarshal(b []byte) error

type ListBackupsResponse

type ListBackupsResponse struct {
	// List of MySQL backups.
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListBackupsRequest.page_size], use the [next_page_token] as the value
	// for the [ListBackupsRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListBackupsResponse) Descriptor

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

func (*ListBackupsResponse) GetBackups

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

func (*ListBackupsResponse) GetNextPageToken

func (m *ListBackupsResponse) GetNextPageToken() string

func (*ListBackupsResponse) ProtoMessage

func (*ListBackupsResponse) ProtoMessage()

func (*ListBackupsResponse) Reset

func (m *ListBackupsResponse) Reset()

func (*ListBackupsResponse) String

func (m *ListBackupsResponse) String() string

func (*ListBackupsResponse) XXX_DiscardUnknown

func (m *ListBackupsResponse) XXX_DiscardUnknown()

func (*ListBackupsResponse) XXX_Marshal

func (m *ListBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListBackupsResponse) XXX_Merge

func (m *ListBackupsResponse) XXX_Merge(src proto.Message)

func (*ListBackupsResponse) XXX_Size

func (m *ListBackupsResponse) XXX_Size() int

func (*ListBackupsResponse) XXX_Unmarshal

func (m *ListBackupsResponse) XXX_Unmarshal(b []byte) error

type ListClusterBackupsRequest

type ListClusterBackupsRequest struct {
	// ID of the MySQL cluster.
	// 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"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListClusterBackupsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.  To get the next page of results, set [page_token] to the [ListClusterBackupsResponse.next_page_token]
	// returned by a previous list request.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClusterBackupsRequest) Descriptor

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

func (*ListClusterBackupsRequest) GetClusterId

func (m *ListClusterBackupsRequest) GetClusterId() string

func (*ListClusterBackupsRequest) GetPageSize

func (m *ListClusterBackupsRequest) GetPageSize() int64

func (*ListClusterBackupsRequest) GetPageToken

func (m *ListClusterBackupsRequest) GetPageToken() string

func (*ListClusterBackupsRequest) ProtoMessage

func (*ListClusterBackupsRequest) ProtoMessage()

func (*ListClusterBackupsRequest) Reset

func (m *ListClusterBackupsRequest) Reset()

func (*ListClusterBackupsRequest) String

func (m *ListClusterBackupsRequest) String() string

func (*ListClusterBackupsRequest) XXX_DiscardUnknown

func (m *ListClusterBackupsRequest) XXX_DiscardUnknown()

func (*ListClusterBackupsRequest) XXX_Marshal

func (m *ListClusterBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClusterBackupsRequest) XXX_Merge

func (m *ListClusterBackupsRequest) XXX_Merge(src proto.Message)

func (*ListClusterBackupsRequest) XXX_Size

func (m *ListClusterBackupsRequest) XXX_Size() int

func (*ListClusterBackupsRequest) XXX_Unmarshal

func (m *ListClusterBackupsRequest) XXX_Unmarshal(b []byte) error

type ListClusterBackupsResponse

type ListClusterBackupsResponse struct {
	// List of MySQL backups.
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterBackupsRequest.page_size], use the [next_page_token] as the value
	// for the [ListClusterBackupsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClusterBackupsResponse) Descriptor

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

func (*ListClusterBackupsResponse) GetBackups

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

func (*ListClusterBackupsResponse) GetNextPageToken

func (m *ListClusterBackupsResponse) GetNextPageToken() string

func (*ListClusterBackupsResponse) ProtoMessage

func (*ListClusterBackupsResponse) ProtoMessage()

func (*ListClusterBackupsResponse) Reset

func (m *ListClusterBackupsResponse) Reset()

func (*ListClusterBackupsResponse) String

func (m *ListClusterBackupsResponse) String() string

func (*ListClusterBackupsResponse) XXX_DiscardUnknown

func (m *ListClusterBackupsResponse) XXX_DiscardUnknown()

func (*ListClusterBackupsResponse) XXX_Marshal

func (m *ListClusterBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClusterBackupsResponse) XXX_Merge

func (m *ListClusterBackupsResponse) XXX_Merge(src proto.Message)

func (*ListClusterBackupsResponse) XXX_Size

func (m *ListClusterBackupsResponse) XXX_Size() int

func (*ListClusterBackupsResponse) XXX_Unmarshal

func (m *ListClusterBackupsResponse) XXX_Unmarshal(b []byte) error

type ListClusterHostsRequest

type ListClusterHostsRequest struct {
	// ID of the MySQL cluster.
	// 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"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListClusterHostsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.  To get the next page of results, set [page_token] to the [ListClusterHostsResponse.next_page_token]
	// returned by a previous list request.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClusterHostsRequest) Descriptor

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

func (*ListClusterHostsRequest) GetClusterId

func (m *ListClusterHostsRequest) GetClusterId() string

func (*ListClusterHostsRequest) GetPageSize

func (m *ListClusterHostsRequest) GetPageSize() int64

func (*ListClusterHostsRequest) GetPageToken

func (m *ListClusterHostsRequest) GetPageToken() string

func (*ListClusterHostsRequest) ProtoMessage

func (*ListClusterHostsRequest) ProtoMessage()

func (*ListClusterHostsRequest) Reset

func (m *ListClusterHostsRequest) Reset()

func (*ListClusterHostsRequest) String

func (m *ListClusterHostsRequest) String() string

func (*ListClusterHostsRequest) XXX_DiscardUnknown

func (m *ListClusterHostsRequest) XXX_DiscardUnknown()

func (*ListClusterHostsRequest) XXX_Marshal

func (m *ListClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClusterHostsRequest) XXX_Merge

func (m *ListClusterHostsRequest) XXX_Merge(src proto.Message)

func (*ListClusterHostsRequest) XXX_Size

func (m *ListClusterHostsRequest) XXX_Size() int

func (*ListClusterHostsRequest) XXX_Unmarshal

func (m *ListClusterHostsRequest) XXX_Unmarshal(b []byte) error

type ListClusterHostsResponse

type ListClusterHostsResponse struct {
	// List of MySQL hosts.
	Hosts []*Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterHostsRequest.page_size], use the [next_page_token] as the value
	// for the [ListClusterHostsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClusterHostsResponse) Descriptor

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

func (*ListClusterHostsResponse) GetHosts

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

func (*ListClusterHostsResponse) GetNextPageToken

func (m *ListClusterHostsResponse) GetNextPageToken() string

func (*ListClusterHostsResponse) ProtoMessage

func (*ListClusterHostsResponse) ProtoMessage()

func (*ListClusterHostsResponse) Reset

func (m *ListClusterHostsResponse) Reset()

func (*ListClusterHostsResponse) String

func (m *ListClusterHostsResponse) String() string

func (*ListClusterHostsResponse) XXX_DiscardUnknown

func (m *ListClusterHostsResponse) XXX_DiscardUnknown()

func (*ListClusterHostsResponse) XXX_Marshal

func (m *ListClusterHostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClusterHostsResponse) XXX_Merge

func (m *ListClusterHostsResponse) XXX_Merge(src proto.Message)

func (*ListClusterHostsResponse) XXX_Size

func (m *ListClusterHostsResponse) XXX_Size() int

func (*ListClusterHostsResponse) XXX_Unmarshal

func (m *ListClusterHostsResponse) XXX_Unmarshal(b []byte) error

type ListClusterLogsRequest

type ListClusterLogsRequest struct {
	// ID of the MySQL cluster to request logs for.
	// 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"`
	// Columns from the logs table to request.
	// If no columns are specified, entire log records are returned.
	ColumnFilter []string `protobuf:"bytes,2,rep,name=column_filter,json=columnFilter,proto3" json:"column_filter,omitempty"`
	// Type of the service to request logs about.
	ServiceType ListClusterLogsRequest_ServiceType `` /* 166-byte string literal not displayed */
	// Start timestamp for the logs request.
	FromTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
	// End timestamp for the logs request.
	ToTime *timestamp.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 service returns a [ListClusterLogsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the
	// [ListClusterLogsResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Always return `next_page_token`, even if current page is empty.
	AlwaysNextPageToken  bool     `protobuf:"varint,8,opt,name=always_next_page_token,json=alwaysNextPageToken,proto3" json:"always_next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClusterLogsRequest) Descriptor

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

func (*ListClusterLogsRequest) GetAlwaysNextPageToken

func (m *ListClusterLogsRequest) GetAlwaysNextPageToken() bool

func (*ListClusterLogsRequest) GetClusterId

func (m *ListClusterLogsRequest) GetClusterId() string

func (*ListClusterLogsRequest) GetColumnFilter

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

func (*ListClusterLogsRequest) GetFromTime

func (m *ListClusterLogsRequest) GetFromTime() *timestamp.Timestamp

func (*ListClusterLogsRequest) GetPageSize

func (m *ListClusterLogsRequest) GetPageSize() int64

func (*ListClusterLogsRequest) GetPageToken

func (m *ListClusterLogsRequest) GetPageToken() string

func (*ListClusterLogsRequest) GetServiceType

func (*ListClusterLogsRequest) GetToTime

func (m *ListClusterLogsRequest) GetToTime() *timestamp.Timestamp

func (*ListClusterLogsRequest) ProtoMessage

func (*ListClusterLogsRequest) ProtoMessage()

func (*ListClusterLogsRequest) Reset

func (m *ListClusterLogsRequest) Reset()

func (*ListClusterLogsRequest) String

func (m *ListClusterLogsRequest) String() string

func (*ListClusterLogsRequest) XXX_DiscardUnknown

func (m *ListClusterLogsRequest) XXX_DiscardUnknown()

func (*ListClusterLogsRequest) XXX_Marshal

func (m *ListClusterLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClusterLogsRequest) XXX_Merge

func (m *ListClusterLogsRequest) XXX_Merge(src proto.Message)

func (*ListClusterLogsRequest) XXX_Size

func (m *ListClusterLogsRequest) XXX_Size() int

func (*ListClusterLogsRequest) XXX_Unmarshal

func (m *ListClusterLogsRequest) XXX_Unmarshal(b []byte) error

type ListClusterLogsRequest_ServiceType

type ListClusterLogsRequest_ServiceType int32
const (
	ListClusterLogsRequest_SERVICE_TYPE_UNSPECIFIED ListClusterLogsRequest_ServiceType = 0
	// Logs of MySQL activity.
	ListClusterLogsRequest_MYSQL ListClusterLogsRequest_ServiceType = 1
)

func (ListClusterLogsRequest_ServiceType) EnumDescriptor

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

func (ListClusterLogsRequest_ServiceType) String

type ListClusterLogsResponse

type ListClusterLogsResponse struct {
	// Requested log records.
	Logs []*LogRecord `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterLogsRequest.page_size], use the [next_page_token] as the value
	// for the [ListClusterLogsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClusterLogsResponse) Descriptor

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

func (*ListClusterLogsResponse) GetLogs

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

func (*ListClusterLogsResponse) GetNextPageToken

func (m *ListClusterLogsResponse) GetNextPageToken() string

func (*ListClusterLogsResponse) ProtoMessage

func (*ListClusterLogsResponse) ProtoMessage()

func (*ListClusterLogsResponse) Reset

func (m *ListClusterLogsResponse) Reset()

func (*ListClusterLogsResponse) String

func (m *ListClusterLogsResponse) String() string

func (*ListClusterLogsResponse) XXX_DiscardUnknown

func (m *ListClusterLogsResponse) XXX_DiscardUnknown()

func (*ListClusterLogsResponse) XXX_Marshal

func (m *ListClusterLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClusterLogsResponse) XXX_Merge

func (m *ListClusterLogsResponse) XXX_Merge(src proto.Message)

func (*ListClusterLogsResponse) XXX_Size

func (m *ListClusterLogsResponse) XXX_Size() int

func (*ListClusterLogsResponse) XXX_Unmarshal

func (m *ListClusterLogsResponse) XXX_Unmarshal(b []byte) error

type ListClusterOperationsRequest

type ListClusterOperationsRequest struct {
	// ID of the MySQL cluster to list operations for.
	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 service returns a [ListClusterOperationsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.  To get the next page of results, set [page_token] to the [ListClusterOperationsResponse.next_page_token]
	// returned by a previous list request.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClusterOperationsRequest) Descriptor

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

func (*ListClusterOperationsRequest) GetClusterId

func (m *ListClusterOperationsRequest) GetClusterId() string

func (*ListClusterOperationsRequest) GetPageSize

func (m *ListClusterOperationsRequest) GetPageSize() int64

func (*ListClusterOperationsRequest) GetPageToken

func (m *ListClusterOperationsRequest) GetPageToken() string

func (*ListClusterOperationsRequest) ProtoMessage

func (*ListClusterOperationsRequest) ProtoMessage()

func (*ListClusterOperationsRequest) Reset

func (m *ListClusterOperationsRequest) Reset()

func (*ListClusterOperationsRequest) String

func (*ListClusterOperationsRequest) XXX_DiscardUnknown

func (m *ListClusterOperationsRequest) XXX_DiscardUnknown()

func (*ListClusterOperationsRequest) XXX_Marshal

func (m *ListClusterOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClusterOperationsRequest) XXX_Merge

func (m *ListClusterOperationsRequest) XXX_Merge(src proto.Message)

func (*ListClusterOperationsRequest) XXX_Size

func (m *ListClusterOperationsRequest) XXX_Size() int

func (*ListClusterOperationsRequest) XXX_Unmarshal

func (m *ListClusterOperationsRequest) XXX_Unmarshal(b []byte) error

type ListClusterOperationsResponse

type ListClusterOperationsResponse struct {
	// List of operations for the specified MySQL cluster.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterOperationsRequest.page_size], use the [next_page_token] as the value
	// for the [ListClusterOperationsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClusterOperationsResponse) Descriptor

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

func (*ListClusterOperationsResponse) GetNextPageToken

func (m *ListClusterOperationsResponse) GetNextPageToken() string

func (*ListClusterOperationsResponse) GetOperations

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

func (*ListClusterOperationsResponse) ProtoMessage

func (*ListClusterOperationsResponse) ProtoMessage()

func (*ListClusterOperationsResponse) Reset

func (m *ListClusterOperationsResponse) Reset()

func (*ListClusterOperationsResponse) String

func (*ListClusterOperationsResponse) XXX_DiscardUnknown

func (m *ListClusterOperationsResponse) XXX_DiscardUnknown()

func (*ListClusterOperationsResponse) XXX_Marshal

func (m *ListClusterOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClusterOperationsResponse) XXX_Merge

func (m *ListClusterOperationsResponse) XXX_Merge(src proto.Message)

func (*ListClusterOperationsResponse) XXX_Size

func (m *ListClusterOperationsResponse) XXX_Size() int

func (*ListClusterOperationsResponse) XXX_Unmarshal

func (m *ListClusterOperationsResponse) XXX_Unmarshal(b []byte) error

type ListClustersRequest

type ListClustersRequest struct {
	// ID of the folder to list MySQL clusters in.
	// To get the folder ID, use 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 service returns a [ListClustersResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the [ListClustersResponse.next_page_token]
	// returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters resources 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. Can be either `=` or `!=` for single values, `IN` or `NOT IN` for lists of values.
	// 3. The value. Мust 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClustersRequest) Descriptor

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

func (*ListClustersRequest) GetFilter

func (m *ListClustersRequest) GetFilter() string

func (*ListClustersRequest) GetFolderId

func (m *ListClustersRequest) GetFolderId() string

func (*ListClustersRequest) GetPageSize

func (m *ListClustersRequest) GetPageSize() int64

func (*ListClustersRequest) GetPageToken

func (m *ListClustersRequest) GetPageToken() string

func (*ListClustersRequest) ProtoMessage

func (*ListClustersRequest) ProtoMessage()

func (*ListClustersRequest) Reset

func (m *ListClustersRequest) Reset()

func (*ListClustersRequest) String

func (m *ListClustersRequest) String() string

func (*ListClustersRequest) XXX_DiscardUnknown

func (m *ListClustersRequest) XXX_DiscardUnknown()

func (*ListClustersRequest) XXX_Marshal

func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClustersRequest) XXX_Merge

func (m *ListClustersRequest) XXX_Merge(src proto.Message)

func (*ListClustersRequest) XXX_Size

func (m *ListClustersRequest) XXX_Size() int

func (*ListClustersRequest) XXX_Unmarshal

func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error

type ListClustersResponse

type ListClustersResponse struct {
	// List of MySQL clusters.
	Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClustersRequest.page_size], use the [next_page_token] as the value
	// for the [ListClustersRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClustersResponse) Descriptor

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

func (*ListClustersResponse) GetClusters

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

func (*ListClustersResponse) GetNextPageToken

func (m *ListClustersResponse) GetNextPageToken() string

func (*ListClustersResponse) ProtoMessage

func (*ListClustersResponse) ProtoMessage()

func (*ListClustersResponse) Reset

func (m *ListClustersResponse) Reset()

func (*ListClustersResponse) String

func (m *ListClustersResponse) String() string

func (*ListClustersResponse) XXX_DiscardUnknown

func (m *ListClustersResponse) XXX_DiscardUnknown()

func (*ListClustersResponse) XXX_Marshal

func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClustersResponse) XXX_Merge

func (m *ListClustersResponse) XXX_Merge(src proto.Message)

func (*ListClustersResponse) XXX_Size

func (m *ListClustersResponse) XXX_Size() int

func (*ListClustersResponse) XXX_Unmarshal

func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error

type ListDatabasesRequest

type ListDatabasesRequest struct {
	// ID of the MySQL cluster to list databases in.
	// To get the cluster ID use 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 service returns a [ListDatabasesResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, Set [page_token] to the [ListDatabasesResponse.next_page_token]
	// returned by a previous list request.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListDatabasesRequest) Descriptor

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

func (*ListDatabasesRequest) GetClusterId

func (m *ListDatabasesRequest) GetClusterId() string

func (*ListDatabasesRequest) GetPageSize

func (m *ListDatabasesRequest) GetPageSize() int64

func (*ListDatabasesRequest) GetPageToken

func (m *ListDatabasesRequest) GetPageToken() string

func (*ListDatabasesRequest) ProtoMessage

func (*ListDatabasesRequest) ProtoMessage()

func (*ListDatabasesRequest) Reset

func (m *ListDatabasesRequest) Reset()

func (*ListDatabasesRequest) String

func (m *ListDatabasesRequest) String() string

func (*ListDatabasesRequest) XXX_DiscardUnknown

func (m *ListDatabasesRequest) XXX_DiscardUnknown()

func (*ListDatabasesRequest) XXX_Marshal

func (m *ListDatabasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDatabasesRequest) XXX_Merge

func (m *ListDatabasesRequest) XXX_Merge(src proto.Message)

func (*ListDatabasesRequest) XXX_Size

func (m *ListDatabasesRequest) XXX_Size() int

func (*ListDatabasesRequest) XXX_Unmarshal

func (m *ListDatabasesRequest) XXX_Unmarshal(b []byte) error

type ListDatabasesResponse

type ListDatabasesResponse struct {
	// List of MySQL databases.
	Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListDatabasesRequest.page_size], use the [next_page_token] as the value
	// for the [ListDatabasesRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListDatabasesResponse) Descriptor

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

func (*ListDatabasesResponse) GetDatabases

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

func (*ListDatabasesResponse) GetNextPageToken

func (m *ListDatabasesResponse) GetNextPageToken() string

func (*ListDatabasesResponse) ProtoMessage

func (*ListDatabasesResponse) ProtoMessage()

func (*ListDatabasesResponse) Reset

func (m *ListDatabasesResponse) Reset()

func (*ListDatabasesResponse) String

func (m *ListDatabasesResponse) String() string

func (*ListDatabasesResponse) XXX_DiscardUnknown

func (m *ListDatabasesResponse) XXX_DiscardUnknown()

func (*ListDatabasesResponse) XXX_Marshal

func (m *ListDatabasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDatabasesResponse) XXX_Merge

func (m *ListDatabasesResponse) XXX_Merge(src proto.Message)

func (*ListDatabasesResponse) XXX_Size

func (m *ListDatabasesResponse) XXX_Size() int

func (*ListDatabasesResponse) XXX_Unmarshal

func (m *ListDatabasesResponse) XXX_Unmarshal(b []byte) error

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 service returns a [ListResourcePresetsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the [ListResourcePresetsResponse.next_page_token]
	// returned by a previous list request.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListResourcePresetsRequest) Descriptor

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

func (*ListResourcePresetsRequest) GetPageSize

func (m *ListResourcePresetsRequest) GetPageSize() int64

func (*ListResourcePresetsRequest) GetPageToken

func (m *ListResourcePresetsRequest) GetPageToken() string

func (*ListResourcePresetsRequest) ProtoMessage

func (*ListResourcePresetsRequest) ProtoMessage()

func (*ListResourcePresetsRequest) Reset

func (m *ListResourcePresetsRequest) Reset()

func (*ListResourcePresetsRequest) String

func (m *ListResourcePresetsRequest) String() string

func (*ListResourcePresetsRequest) XXX_DiscardUnknown

func (m *ListResourcePresetsRequest) XXX_DiscardUnknown()

func (*ListResourcePresetsRequest) XXX_Marshal

func (m *ListResourcePresetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListResourcePresetsRequest) XXX_Merge

func (m *ListResourcePresetsRequest) XXX_Merge(src proto.Message)

func (*ListResourcePresetsRequest) XXX_Size

func (m *ListResourcePresetsRequest) XXX_Size() int

func (*ListResourcePresetsRequest) XXX_Unmarshal

func (m *ListResourcePresetsRequest) XXX_Unmarshal(b []byte) error

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"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListResourcePresetsRequest.page_size], use the [next_page_token] as the value
	// for the [ListResourcePresetsRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListResourcePresetsResponse) Descriptor

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

func (*ListResourcePresetsResponse) GetNextPageToken

func (m *ListResourcePresetsResponse) GetNextPageToken() string

func (*ListResourcePresetsResponse) GetResourcePresets

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

func (*ListResourcePresetsResponse) ProtoMessage

func (*ListResourcePresetsResponse) ProtoMessage()

func (*ListResourcePresetsResponse) Reset

func (m *ListResourcePresetsResponse) Reset()

func (*ListResourcePresetsResponse) String

func (m *ListResourcePresetsResponse) String() string

func (*ListResourcePresetsResponse) XXX_DiscardUnknown

func (m *ListResourcePresetsResponse) XXX_DiscardUnknown()

func (*ListResourcePresetsResponse) XXX_Marshal

func (m *ListResourcePresetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListResourcePresetsResponse) XXX_Merge

func (m *ListResourcePresetsResponse) XXX_Merge(src proto.Message)

func (*ListResourcePresetsResponse) XXX_Size

func (m *ListResourcePresetsResponse) XXX_Size() int

func (*ListResourcePresetsResponse) XXX_Unmarshal

func (m *ListResourcePresetsResponse) XXX_Unmarshal(b []byte) error

type ListUsersRequest

type ListUsersRequest struct {
	// ID of the cluster to list MySQL users in.
	// To get the cluster ID, use 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 service returns a [ListUsersResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the [ListUsersResponse.next_page_token]
	// returned by a previous list request.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListUsersRequest) Descriptor

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

func (*ListUsersRequest) GetClusterId

func (m *ListUsersRequest) GetClusterId() string

func (*ListUsersRequest) GetPageSize

func (m *ListUsersRequest) GetPageSize() int64

func (*ListUsersRequest) GetPageToken

func (m *ListUsersRequest) GetPageToken() string

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) Reset

func (m *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (m *ListUsersRequest) String() string

func (*ListUsersRequest) XXX_DiscardUnknown

func (m *ListUsersRequest) XXX_DiscardUnknown()

func (*ListUsersRequest) XXX_Marshal

func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUsersRequest) XXX_Merge

func (m *ListUsersRequest) XXX_Merge(src proto.Message)

func (*ListUsersRequest) XXX_Size

func (m *ListUsersRequest) XXX_Size() int

func (*ListUsersRequest) XXX_Unmarshal

func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error

type ListUsersResponse

type ListUsersResponse struct {
	// Requested list of MySQL users.
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListUsersRequest.page_size], use the [next_page_token] as the value
	// for the [ListUsersRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListUsersResponse) Descriptor

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

func (*ListUsersResponse) GetNextPageToken

func (m *ListUsersResponse) GetNextPageToken() string

func (*ListUsersResponse) GetUsers

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

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) Reset

func (m *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (m *ListUsersResponse) String() string

func (*ListUsersResponse) XXX_DiscardUnknown

func (m *ListUsersResponse) XXX_DiscardUnknown()

func (*ListUsersResponse) XXX_Marshal

func (m *ListUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUsersResponse) XXX_Merge

func (m *ListUsersResponse) XXX_Merge(src proto.Message)

func (*ListUsersResponse) XXX_Size

func (m *ListUsersResponse) XXX_Size() int

func (*ListUsersResponse) XXX_Unmarshal

func (m *ListUsersResponse) XXX_Unmarshal(b []byte) error

type LogRecord

type LogRecord struct {
	// Log record timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	Timestamp *timestamp.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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*LogRecord) Descriptor

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

func (*LogRecord) GetMessage

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

func (*LogRecord) GetTimestamp

func (m *LogRecord) GetTimestamp() *timestamp.Timestamp

func (*LogRecord) ProtoMessage

func (*LogRecord) ProtoMessage()

func (*LogRecord) Reset

func (m *LogRecord) Reset()

func (*LogRecord) String

func (m *LogRecord) String() string

func (*LogRecord) XXX_DiscardUnknown

func (m *LogRecord) XXX_DiscardUnknown()

func (*LogRecord) XXX_Marshal

func (m *LogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogRecord) XXX_Merge

func (m *LogRecord) XXX_Merge(src proto.Message)

func (*LogRecord) XXX_Size

func (m *LogRecord) XXX_Size() int

func (*LogRecord) XXX_Unmarshal

func (m *LogRecord) XXX_Unmarshal(b []byte) error

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 MySQL cluster.
	Link                 string   `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Monitoring) Descriptor

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

func (*Monitoring) GetDescription

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

func (*Monitoring) GetName

func (m *Monitoring) GetName() string

func (*Monitoring) ProtoMessage

func (*Monitoring) ProtoMessage()

func (*Monitoring) Reset

func (m *Monitoring) Reset()

func (*Monitoring) String

func (m *Monitoring) String() string

func (*Monitoring) XXX_DiscardUnknown

func (m *Monitoring) XXX_DiscardUnknown()

func (*Monitoring) XXX_Marshal

func (m *Monitoring) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Monitoring) XXX_Merge

func (m *Monitoring) XXX_Merge(src proto.Message)

func (*Monitoring) XXX_Size

func (m *Monitoring) XXX_Size() int

func (*Monitoring) XXX_Unmarshal

func (m *Monitoring) XXX_Unmarshal(b []byte) error

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.
	Roles                []Permission_Privilege `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*Permission) Descriptor

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

func (*Permission) GetDatabaseName

func (m *Permission) GetDatabaseName() string

func (*Permission) GetRoles

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

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) Reset

func (m *Permission) Reset()

func (*Permission) String

func (m *Permission) String() string

func (*Permission) XXX_DiscardUnknown

func (m *Permission) XXX_DiscardUnknown()

func (*Permission) XXX_Marshal

func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Permission) XXX_Merge

func (m *Permission) XXX_Merge(src proto.Message)

func (*Permission) XXX_Size

func (m *Permission) XXX_Size() int

func (*Permission) XXX_Unmarshal

func (m *Permission) XXX_Unmarshal(b []byte) error

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 (stored procedures 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
	// details in [MySQL documentation](https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_select).
	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
)

func (Permission_Privilege) EnumDescriptor

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

func (Permission_Privilege) String

func (x Permission_Privilege) String() string

type ResourcePreset

type ResourcePreset struct {
	// ID of the resource preset.
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A preset of resources for hardware configuration of MySQL hosts.

func (*ResourcePreset) Descriptor

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

func (*ResourcePreset) GetCores

func (m *ResourcePreset) GetCores() int64

func (*ResourcePreset) GetId

func (m *ResourcePreset) GetId() string

func (*ResourcePreset) GetMemory

func (m *ResourcePreset) GetMemory() int64

func (*ResourcePreset) GetZoneIds

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

func (*ResourcePreset) ProtoMessage

func (*ResourcePreset) ProtoMessage()

func (*ResourcePreset) Reset

func (m *ResourcePreset) Reset()

func (*ResourcePreset) String

func (m *ResourcePreset) String() string

func (*ResourcePreset) XXX_DiscardUnknown

func (m *ResourcePreset) XXX_DiscardUnknown()

func (*ResourcePreset) XXX_Marshal

func (m *ResourcePreset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourcePreset) XXX_Merge

func (m *ResourcePreset) XXX_Merge(src proto.Message)

func (*ResourcePreset) XXX_Size

func (m *ResourcePreset) XXX_Size() int

func (*ResourcePreset) XXX_Unmarshal

func (m *ResourcePreset) XXX_Unmarshal(b []byte) error

type ResourcePresetServiceClient

type ResourcePresetServiceClient interface {
	// Returns the specified resource preset.
	//
	// To get the list of available resource presets, make a [List] request.
	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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewResourcePresetServiceClient

func NewResourcePresetServiceClient(cc *grpc.ClientConn) ResourcePresetServiceClient

type ResourcePresetServiceServer

type ResourcePresetServiceServer interface {
	// Returns the specified resource preset.
	//
	// To get the list of available resource presets, make a [List] request.
	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.

type Resources

type Resources struct {
	// ID of the preset for computational resources available to a host (CPU, memory etc.).
	// 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 available to a host.
	DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"`
	// Type of the storage environment for the host.
	// Possible values:
	// * network-ssd — network SSD drive,
	// * local-ssd — local SSD storage.
	DiskTypeId           string   `protobuf:"bytes,3,opt,name=disk_type_id,json=diskTypeId,proto3" json:"disk_type_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Resources) Descriptor

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

func (*Resources) GetDiskSize

func (m *Resources) GetDiskSize() int64

func (*Resources) GetDiskTypeId

func (m *Resources) GetDiskTypeId() string

func (*Resources) GetResourcePresetId

func (m *Resources) GetResourcePresetId() string

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) Reset

func (m *Resources) Reset()

func (*Resources) String

func (m *Resources) String() string

func (*Resources) XXX_DiscardUnknown

func (m *Resources) XXX_DiscardUnknown()

func (*Resources) XXX_Marshal

func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resources) XXX_Merge

func (m *Resources) XXX_Merge(src proto.Message)

func (*Resources) XXX_Size

func (m *Resources) XXX_Size() int

func (*Resources) XXX_Unmarshal

func (m *Resources) XXX_Unmarshal(b []byte) error

type RestoreClusterMetadata

type RestoreClusterMetadata struct {
	// ID of the new MySQL 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RestoreClusterMetadata) Descriptor

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

func (*RestoreClusterMetadata) GetBackupId

func (m *RestoreClusterMetadata) GetBackupId() string

func (*RestoreClusterMetadata) GetClusterId

func (m *RestoreClusterMetadata) GetClusterId() string

func (*RestoreClusterMetadata) ProtoMessage

func (*RestoreClusterMetadata) ProtoMessage()

func (*RestoreClusterMetadata) Reset

func (m *RestoreClusterMetadata) Reset()

func (*RestoreClusterMetadata) String

func (m *RestoreClusterMetadata) String() string

func (*RestoreClusterMetadata) XXX_DiscardUnknown

func (m *RestoreClusterMetadata) XXX_DiscardUnknown()

func (*RestoreClusterMetadata) XXX_Marshal

func (m *RestoreClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreClusterMetadata) XXX_Merge

func (m *RestoreClusterMetadata) XXX_Merge(src proto.Message)

func (*RestoreClusterMetadata) XXX_Size

func (m *RestoreClusterMetadata) XXX_Size() int

func (*RestoreClusterMetadata) XXX_Unmarshal

func (m *RestoreClusterMetadata) XXX_Unmarshal(b []byte) error

type RestoreClusterRequest

type RestoreClusterRequest struct {
	// ID of the backup to create a cluster from.
	// To get the backup ID, use a [ClusterService.ListBackups] request.
	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 *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Name of the new MySQL cluster. The name must be unique within the folder.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the new MySQL cluster.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the MySQL cluster as `key:value` pairs. Maximum 64 per resource.
	// For example, "project": "mvp" or "source": "dictionary".
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Deployment environment of the new MySQL cluster.
	Environment Cluster_Environment `` /* 132-byte string literal not displayed */
	// Configuration for the MySQL cluster to be created.
	ConfigSpec *ConfigSpec `protobuf:"bytes,8,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// Configurations for MySQL hosts that should be added
	// to the cluster that is being created from the backup.
	HostSpecs []*HostSpec `protobuf:"bytes,9,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"`
	// ID of the network to create the MySQL cluster in.
	NetworkId            string   `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RestoreClusterRequest) Descriptor

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

func (*RestoreClusterRequest) GetBackupId

func (m *RestoreClusterRequest) GetBackupId() string

func (*RestoreClusterRequest) GetConfigSpec

func (m *RestoreClusterRequest) GetConfigSpec() *ConfigSpec

func (*RestoreClusterRequest) GetDescription

func (m *RestoreClusterRequest) GetDescription() string

func (*RestoreClusterRequest) GetEnvironment

func (m *RestoreClusterRequest) GetEnvironment() Cluster_Environment

func (*RestoreClusterRequest) GetHostSpecs

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

func (*RestoreClusterRequest) GetLabels

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

func (*RestoreClusterRequest) GetName

func (m *RestoreClusterRequest) GetName() string

func (*RestoreClusterRequest) GetNetworkId

func (m *RestoreClusterRequest) GetNetworkId() string

func (*RestoreClusterRequest) GetTime

func (*RestoreClusterRequest) ProtoMessage

func (*RestoreClusterRequest) ProtoMessage()

func (*RestoreClusterRequest) Reset

func (m *RestoreClusterRequest) Reset()

func (*RestoreClusterRequest) String

func (m *RestoreClusterRequest) String() string

func (*RestoreClusterRequest) XXX_DiscardUnknown

func (m *RestoreClusterRequest) XXX_DiscardUnknown()

func (*RestoreClusterRequest) XXX_Marshal

func (m *RestoreClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreClusterRequest) XXX_Merge

func (m *RestoreClusterRequest) XXX_Merge(src proto.Message)

func (*RestoreClusterRequest) XXX_Size

func (m *RestoreClusterRequest) XXX_Size() int

func (*RestoreClusterRequest) XXX_Unmarshal

func (m *RestoreClusterRequest) XXX_Unmarshal(b []byte) error

type RevokeUserPermissionMetadata

type RevokeUserPermissionMetadata struct {
	// ID of the MySQL cluster the user belongs to.
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RevokeUserPermissionMetadata) Descriptor

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

func (*RevokeUserPermissionMetadata) GetClusterId

func (m *RevokeUserPermissionMetadata) GetClusterId() string

func (*RevokeUserPermissionMetadata) GetUserName

func (m *RevokeUserPermissionMetadata) GetUserName() string

func (*RevokeUserPermissionMetadata) ProtoMessage

func (*RevokeUserPermissionMetadata) ProtoMessage()

func (*RevokeUserPermissionMetadata) Reset

func (m *RevokeUserPermissionMetadata) Reset()

func (*RevokeUserPermissionMetadata) String

func (*RevokeUserPermissionMetadata) XXX_DiscardUnknown

func (m *RevokeUserPermissionMetadata) XXX_DiscardUnknown()

func (*RevokeUserPermissionMetadata) XXX_Marshal

func (m *RevokeUserPermissionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RevokeUserPermissionMetadata) XXX_Merge

func (m *RevokeUserPermissionMetadata) XXX_Merge(src proto.Message)

func (*RevokeUserPermissionMetadata) XXX_Size

func (m *RevokeUserPermissionMetadata) XXX_Size() int

func (*RevokeUserPermissionMetadata) XXX_Unmarshal

func (m *RevokeUserPermissionMetadata) XXX_Unmarshal(b []byte) error

type RevokeUserPermissionRequest

type RevokeUserPermissionRequest struct {
	// ID of the MySQL cluster the user belongs to.
	// To get the cluster ID, use 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 a permission from.
	// To get the name of the user, use a [UserService.List] request.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// Name of the database that the user should lose access to.
	DatabaseName         string   `protobuf:"bytes,3,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RevokeUserPermissionRequest) Descriptor

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

func (*RevokeUserPermissionRequest) GetClusterId

func (m *RevokeUserPermissionRequest) GetClusterId() string

func (*RevokeUserPermissionRequest) GetDatabaseName

func (m *RevokeUserPermissionRequest) GetDatabaseName() string

func (*RevokeUserPermissionRequest) GetUserName

func (m *RevokeUserPermissionRequest) GetUserName() string

func (*RevokeUserPermissionRequest) ProtoMessage

func (*RevokeUserPermissionRequest) ProtoMessage()

func (*RevokeUserPermissionRequest) Reset

func (m *RevokeUserPermissionRequest) Reset()

func (*RevokeUserPermissionRequest) String

func (m *RevokeUserPermissionRequest) String() string

func (*RevokeUserPermissionRequest) XXX_DiscardUnknown

func (m *RevokeUserPermissionRequest) XXX_DiscardUnknown()

func (*RevokeUserPermissionRequest) XXX_Marshal

func (m *RevokeUserPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RevokeUserPermissionRequest) XXX_Merge

func (m *RevokeUserPermissionRequest) XXX_Merge(src proto.Message)

func (*RevokeUserPermissionRequest) XXX_Size

func (m *RevokeUserPermissionRequest) XXX_Size() int

func (*RevokeUserPermissionRequest) XXX_Unmarshal

func (m *RevokeUserPermissionRequest) XXX_Unmarshal(b []byte) error

type Service

type Service struct {
	// Type of the service provided by the host.
	Type Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.mdb.mysql.v1alpha.Service_Type" json:"type,omitempty"`
	// Status code of server availability.
	Health               Service_Health `protobuf:"varint,2,opt,name=health,proto3,enum=yandex.cloud.mdb.mysql.v1alpha.Service_Health" json:"health,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Service) Descriptor

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

func (*Service) GetHealth

func (m *Service) GetHealth() Service_Health

func (*Service) GetType

func (m *Service) GetType() Service_Type

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) Reset

func (m *Service) Reset()

func (*Service) String

func (m *Service) String() string

func (*Service) XXX_DiscardUnknown

func (m *Service) XXX_DiscardUnknown()

func (*Service) XXX_Marshal

func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service) XXX_Merge

func (m *Service) XXX_Merge(src proto.Message)

func (*Service) XXX_Size

func (m *Service) XXX_Size() int

func (*Service) XXX_Unmarshal

func (m *Service) XXX_Unmarshal(b []byte) error

type Service_Health

type Service_Health int32
const (
	// Health of the server is unknown.
	Service_HEALTH_UNKNOWN Service_Health = 0
	// The server is working normally.
	Service_ALIVE Service_Health = 1
	// The server is dead or unresponsive.
	Service_DEAD Service_Health = 2
)

func (Service_Health) EnumDescriptor

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

func (Service_Health) String

func (x Service_Health) String() string

type Service_Type

type Service_Type int32
const (
	Service_TYPE_UNSPECIFIED Service_Type = 0
	// Host provides the MySQL error log.
	Service_MYSQL_ERROR Service_Type = 1
	// Host provides the MySQL general query log.
	Service_MYSQL_GENERAL Service_Type = 2
	// Host provides the MySQL slow query log.
	Service_MYSQL_SLOW_QUERY Service_Type = 3
)

func (Service_Type) EnumDescriptor

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

func (Service_Type) String

func (x Service_Type) String() string

type StartClusterMetadata

type StartClusterMetadata struct {
	// ID of the MySQL cluster being started.
	ClusterId            string   `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartClusterMetadata) Descriptor

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

func (*StartClusterMetadata) GetClusterId

func (m *StartClusterMetadata) GetClusterId() string

func (*StartClusterMetadata) ProtoMessage

func (*StartClusterMetadata) ProtoMessage()

func (*StartClusterMetadata) Reset

func (m *StartClusterMetadata) Reset()

func (*StartClusterMetadata) String

func (m *StartClusterMetadata) String() string

func (*StartClusterMetadata) XXX_DiscardUnknown

func (m *StartClusterMetadata) XXX_DiscardUnknown()

func (*StartClusterMetadata) XXX_Marshal

func (m *StartClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartClusterMetadata) XXX_Merge

func (m *StartClusterMetadata) XXX_Merge(src proto.Message)

func (*StartClusterMetadata) XXX_Size

func (m *StartClusterMetadata) XXX_Size() int

func (*StartClusterMetadata) XXX_Unmarshal

func (m *StartClusterMetadata) XXX_Unmarshal(b []byte) error

type StartClusterRequest

type StartClusterRequest struct {
	// ID of the MySQL cluster to start.
	ClusterId            string   `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartClusterRequest) Descriptor

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

func (*StartClusterRequest) GetClusterId

func (m *StartClusterRequest) GetClusterId() string

func (*StartClusterRequest) ProtoMessage

func (*StartClusterRequest) ProtoMessage()

func (*StartClusterRequest) Reset

func (m *StartClusterRequest) Reset()

func (*StartClusterRequest) String

func (m *StartClusterRequest) String() string

func (*StartClusterRequest) XXX_DiscardUnknown

func (m *StartClusterRequest) XXX_DiscardUnknown()

func (*StartClusterRequest) XXX_Marshal

func (m *StartClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartClusterRequest) XXX_Merge

func (m *StartClusterRequest) XXX_Merge(src proto.Message)

func (*StartClusterRequest) XXX_Size

func (m *StartClusterRequest) XXX_Size() int

func (*StartClusterRequest) XXX_Unmarshal

func (m *StartClusterRequest) XXX_Unmarshal(b []byte) error

type StopClusterMetadata

type StopClusterMetadata struct {
	// ID of the MySQL cluster being stopped.
	ClusterId            string   `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopClusterMetadata) Descriptor

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

func (*StopClusterMetadata) GetClusterId

func (m *StopClusterMetadata) GetClusterId() string

func (*StopClusterMetadata) ProtoMessage

func (*StopClusterMetadata) ProtoMessage()

func (*StopClusterMetadata) Reset

func (m *StopClusterMetadata) Reset()

func (*StopClusterMetadata) String

func (m *StopClusterMetadata) String() string

func (*StopClusterMetadata) XXX_DiscardUnknown

func (m *StopClusterMetadata) XXX_DiscardUnknown()

func (*StopClusterMetadata) XXX_Marshal

func (m *StopClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopClusterMetadata) XXX_Merge

func (m *StopClusterMetadata) XXX_Merge(src proto.Message)

func (*StopClusterMetadata) XXX_Size

func (m *StopClusterMetadata) XXX_Size() int

func (*StopClusterMetadata) XXX_Unmarshal

func (m *StopClusterMetadata) XXX_Unmarshal(b []byte) error

type StopClusterRequest

type StopClusterRequest struct {
	// ID of the MySQL cluster to stop.
	ClusterId            string   `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopClusterRequest) Descriptor

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

func (*StopClusterRequest) GetClusterId

func (m *StopClusterRequest) GetClusterId() string

func (*StopClusterRequest) ProtoMessage

func (*StopClusterRequest) ProtoMessage()

func (*StopClusterRequest) Reset

func (m *StopClusterRequest) Reset()

func (*StopClusterRequest) String

func (m *StopClusterRequest) String() string

func (*StopClusterRequest) XXX_DiscardUnknown

func (m *StopClusterRequest) XXX_DiscardUnknown()

func (*StopClusterRequest) XXX_Marshal

func (m *StopClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopClusterRequest) XXX_Merge

func (m *StopClusterRequest) XXX_Merge(src proto.Message)

func (*StopClusterRequest) XXX_Size

func (m *StopClusterRequest) XXX_Size() int

func (*StopClusterRequest) XXX_Unmarshal

func (m *StopClusterRequest) XXX_Unmarshal(b []byte) error

type UnimplementedBackupServiceServer

type UnimplementedBackupServiceServer struct {
}

UnimplementedBackupServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedBackupServiceServer) Get

func (*UnimplementedBackupServiceServer) List

type UnimplementedClusterServiceServer

type UnimplementedClusterServiceServer struct {
}

UnimplementedClusterServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedClusterServiceServer) AddHosts

func (*UnimplementedClusterServiceServer) Backup

func (*UnimplementedClusterServiceServer) Create

func (*UnimplementedClusterServiceServer) Delete

func (*UnimplementedClusterServiceServer) DeleteHosts

func (*UnimplementedClusterServiceServer) Get

func (*UnimplementedClusterServiceServer) List

func (*UnimplementedClusterServiceServer) ListBackups

func (*UnimplementedClusterServiceServer) ListHosts

func (*UnimplementedClusterServiceServer) ListLogs

func (*UnimplementedClusterServiceServer) ListOperations

func (*UnimplementedClusterServiceServer) Restore

func (*UnimplementedClusterServiceServer) Start

func (*UnimplementedClusterServiceServer) Stop

func (*UnimplementedClusterServiceServer) Update

type UnimplementedDatabaseServiceServer

type UnimplementedDatabaseServiceServer struct {
}

UnimplementedDatabaseServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDatabaseServiceServer) Create

func (*UnimplementedDatabaseServiceServer) Delete

func (*UnimplementedDatabaseServiceServer) Get

func (*UnimplementedDatabaseServiceServer) List

type UnimplementedResourcePresetServiceServer

type UnimplementedResourcePresetServiceServer struct {
}

UnimplementedResourcePresetServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedResourcePresetServiceServer) Get

func (*UnimplementedResourcePresetServiceServer) List

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedUserServiceServer) Create

func (*UnimplementedUserServiceServer) Delete

func (*UnimplementedUserServiceServer) Get

func (*UnimplementedUserServiceServer) GrantPermission

func (*UnimplementedUserServiceServer) List

func (*UnimplementedUserServiceServer) RevokePermission

func (*UnimplementedUserServiceServer) Update

type UpdateClusterHostsMetadata

type UpdateClusterHostsMetadata struct {
	// ID of the MySQL cluster to modify hosts in.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts that are being modified.
	HostNames            []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateClusterHostsMetadata) Descriptor

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

func (*UpdateClusterHostsMetadata) GetClusterId

func (m *UpdateClusterHostsMetadata) GetClusterId() string

func (*UpdateClusterHostsMetadata) GetHostNames

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

func (*UpdateClusterHostsMetadata) ProtoMessage

func (*UpdateClusterHostsMetadata) ProtoMessage()

func (*UpdateClusterHostsMetadata) Reset

func (m *UpdateClusterHostsMetadata) Reset()

func (*UpdateClusterHostsMetadata) String

func (m *UpdateClusterHostsMetadata) String() string

func (*UpdateClusterHostsMetadata) XXX_DiscardUnknown

func (m *UpdateClusterHostsMetadata) XXX_DiscardUnknown()

func (*UpdateClusterHostsMetadata) XXX_Marshal

func (m *UpdateClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateClusterHostsMetadata) XXX_Merge

func (m *UpdateClusterHostsMetadata) XXX_Merge(src proto.Message)

func (*UpdateClusterHostsMetadata) XXX_Size

func (m *UpdateClusterHostsMetadata) XXX_Size() int

func (*UpdateClusterHostsMetadata) XXX_Unmarshal

func (m *UpdateClusterHostsMetadata) XXX_Unmarshal(b []byte) error

type UpdateClusterMetadata

type UpdateClusterMetadata struct {
	// ID of the MySQL cluster that is being modified.
	ClusterId            string   `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateClusterMetadata) Descriptor

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

func (*UpdateClusterMetadata) GetClusterId

func (m *UpdateClusterMetadata) GetClusterId() string

func (*UpdateClusterMetadata) ProtoMessage

func (*UpdateClusterMetadata) ProtoMessage()

func (*UpdateClusterMetadata) Reset

func (m *UpdateClusterMetadata) Reset()

func (*UpdateClusterMetadata) String

func (m *UpdateClusterMetadata) String() string

func (*UpdateClusterMetadata) XXX_DiscardUnknown

func (m *UpdateClusterMetadata) XXX_DiscardUnknown()

func (*UpdateClusterMetadata) XXX_Marshal

func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateClusterMetadata) XXX_Merge

func (m *UpdateClusterMetadata) XXX_Merge(src proto.Message)

func (*UpdateClusterMetadata) XXX_Size

func (m *UpdateClusterMetadata) XXX_Size() int

func (*UpdateClusterMetadata) XXX_Unmarshal

func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error

type UpdateClusterRequest

type UpdateClusterRequest struct {
	// ID of the MySQL cluster to update.
	// 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"`
	// Field mask that specifies which fields of the MySQL cluster should be updated.
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// New description of the MySQL cluster.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the MySQL cluster as `key:value` pairs. Maximum 64 per resource.
	// For example, "project": "mvp" or "source": "dictionary".
	//
	// The new set of labels will completely replace the old ones. To add a label, request the current
	// set with the [ClusterService.Get] method, then send an [ClusterService.Update] request with the new label added to the set.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// New configuration and resources for hosts in the cluster.
	ConfigSpec *ConfigSpec `protobuf:"bytes,5,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// New name for the cluster.
	Name                 string   `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateClusterRequest) Descriptor

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

func (*UpdateClusterRequest) GetClusterId

func (m *UpdateClusterRequest) GetClusterId() string

func (*UpdateClusterRequest) GetConfigSpec

func (m *UpdateClusterRequest) GetConfigSpec() *ConfigSpec

func (*UpdateClusterRequest) GetDescription

func (m *UpdateClusterRequest) GetDescription() string

func (*UpdateClusterRequest) GetLabels

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

func (*UpdateClusterRequest) GetName

func (m *UpdateClusterRequest) GetName() string

func (*UpdateClusterRequest) GetUpdateMask

func (m *UpdateClusterRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) Reset

func (m *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) String

func (m *UpdateClusterRequest) String() string

func (*UpdateClusterRequest) XXX_DiscardUnknown

func (m *UpdateClusterRequest) XXX_DiscardUnknown()

func (*UpdateClusterRequest) XXX_Marshal

func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateClusterRequest) XXX_Merge

func (m *UpdateClusterRequest) XXX_Merge(src proto.Message)

func (*UpdateClusterRequest) XXX_Size

func (m *UpdateClusterRequest) XXX_Size() int

func (*UpdateClusterRequest) XXX_Unmarshal

func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error

type UpdateUserMetadata

type UpdateUserMetadata struct {
	// ID of the MySQL cluster the user belongs to.
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateUserMetadata) Descriptor

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

func (*UpdateUserMetadata) GetClusterId

func (m *UpdateUserMetadata) GetClusterId() string

func (*UpdateUserMetadata) GetUserName

func (m *UpdateUserMetadata) GetUserName() string

func (*UpdateUserMetadata) ProtoMessage

func (*UpdateUserMetadata) ProtoMessage()

func (*UpdateUserMetadata) Reset

func (m *UpdateUserMetadata) Reset()

func (*UpdateUserMetadata) String

func (m *UpdateUserMetadata) String() string

func (*UpdateUserMetadata) XXX_DiscardUnknown

func (m *UpdateUserMetadata) XXX_DiscardUnknown()

func (*UpdateUserMetadata) XXX_Marshal

func (m *UpdateUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUserMetadata) XXX_Merge

func (m *UpdateUserMetadata) XXX_Merge(src proto.Message)

func (*UpdateUserMetadata) XXX_Size

func (m *UpdateUserMetadata) XXX_Size() int

func (*UpdateUserMetadata) XXX_Unmarshal

func (m *UpdateUserMetadata) XXX_Unmarshal(b []byte) error

type UpdateUserRequest

type UpdateUserRequest struct {
	// ID of the MySQL cluster the user belongs to.
	// To get the cluster ID use 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 be updated.
	// To get the name of the user use 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 fields of the MySQL user should be updated.
	UpdateMask *field_mask.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"`
	// New set of permissions for the user.
	Permissions          []*Permission `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*UpdateUserRequest) Descriptor

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

func (*UpdateUserRequest) GetClusterId

func (m *UpdateUserRequest) GetClusterId() string

func (*UpdateUserRequest) GetPassword

func (m *UpdateUserRequest) GetPassword() string

func (*UpdateUserRequest) GetPermissions

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

func (*UpdateUserRequest) GetUpdateMask

func (m *UpdateUserRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateUserRequest) GetUserName

func (m *UpdateUserRequest) GetUserName() string

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) Reset

func (m *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (m *UpdateUserRequest) String() string

func (*UpdateUserRequest) XXX_DiscardUnknown

func (m *UpdateUserRequest) XXX_DiscardUnknown()

func (*UpdateUserRequest) XXX_Marshal

func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUserRequest) XXX_Merge

func (m *UpdateUserRequest) XXX_Merge(src proto.Message)

func (*UpdateUserRequest) XXX_Size

func (m *UpdateUserRequest) XXX_Size() int

func (*UpdateUserRequest) XXX_Unmarshal

func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error

type User

type User struct {
	// Name of the MySQL user.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the MySQL 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"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

A MySQL user. For more information, see the [documentation](/docs/managed-mysql/concepts).

func (*User) Descriptor

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

func (*User) GetClusterId

func (m *User) GetClusterId() string

func (*User) GetName

func (m *User) GetName() string

func (*User) GetPermissions

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

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User) XXX_Merge

func (m *User) XXX_Merge(src proto.Message)

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

func (m *User) XXX_Unmarshal(b []byte) error

type UserServiceClient

type UserServiceClient interface {
	// Returns the specified MySQL user.
	//
	// To get the list of available MySQL users, make a [List] request.
	Get(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error)
	// Retrieves a list of MySQL users in the specified cluster.
	List(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	// Creates a MySQL user in the specified cluster.
	Create(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Modifies the specified MySQL user.
	Update(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified MySQL user.
	Delete(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Grants a permission to the specified MySQL user.
	GrantPermission(ctx context.Context, in *GrantUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Revokes a permission from the specified MySQL user.
	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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewUserServiceClient

func NewUserServiceClient(cc *grpc.ClientConn) UserServiceClient

type UserServiceServer

type UserServiceServer interface {
	// Returns the specified MySQL user.
	//
	// To get the list of available MySQL users, make a [List] request.
	Get(context.Context, *GetUserRequest) (*User, error)
	// Retrieves a list of MySQL users in the specified cluster.
	List(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
	// Creates a MySQL user in the specified cluster.
	Create(context.Context, *CreateUserRequest) (*operation.Operation, error)
	// Modifies the specified MySQL user.
	Update(context.Context, *UpdateUserRequest) (*operation.Operation, error)
	// Deletes the specified MySQL user.
	Delete(context.Context, *DeleteUserRequest) (*operation.Operation, error)
	// Grants a permission to the specified MySQL user.
	GrantPermission(context.Context, *GrantUserPermissionRequest) (*operation.Operation, error)
	// Revokes a permission from the specified MySQL user.
	RevokePermission(context.Context, *RevokeUserPermissionRequest) (*operation.Operation, error)
}

UserServiceServer is the server API for UserService service.

type UserSpec

type UserSpec struct {
	// Name of the MySQL user.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Password of the MySQL user.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// Set of permissions to grant to the user.
	Permissions          []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*UserSpec) Descriptor

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

func (*UserSpec) GetName

func (m *UserSpec) GetName() string

func (*UserSpec) GetPassword

func (m *UserSpec) GetPassword() string

func (*UserSpec) GetPermissions

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

func (*UserSpec) ProtoMessage

func (*UserSpec) ProtoMessage()

func (*UserSpec) Reset

func (m *UserSpec) Reset()

func (*UserSpec) String

func (m *UserSpec) String() string

func (*UserSpec) XXX_DiscardUnknown

func (m *UserSpec) XXX_DiscardUnknown()

func (*UserSpec) XXX_Marshal

func (m *UserSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserSpec) XXX_Merge

func (m *UserSpec) XXX_Merge(src proto.Message)

func (*UserSpec) XXX_Size

func (m *UserSpec) XXX_Size() int

func (*UserSpec) XXX_Unmarshal

func (m *UserSpec) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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