blob: 6e9aee5a0a0871472338f65266b48a043b019403 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
syntax = "proto3";
package yandex.cloud.mdb.mysql.v1;
import "yandex/cloud/validation.proto";
option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1;mysql";
option java_package = "yandex.cloud.api.mdb.mysql.v1";
// An object that represents MySQL database.
//
// See [the documentation](/docs/managed-mysql/operations/databases) for details.
message Database {
// Name of the database.
string name = 1;
// ID of the cluster that the database belongs to.
string cluster_id = 2;
}
message DatabaseSpec {
// Name of the database.
string name = 1 [(required) = true, (length) = "<=63", (pattern) = "[a-zA-Z0-9_-]*"];
}
|