Creates a new database group. Permissions required: bb.databaseGroups.create
The project id.
The ID to use for the database group, which will become the final component of the database group's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
If set, validate the create request and preview the full database group response, but do not actually create it.
A group of databases matched by expressions.
The short name used in actual databases specified by users.
The name of the database group. Format: projects/{project}/databaseGroups/{databaseGroup}
The condition that is associated with this database group. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec
Support variables: resource.environment_id: the environment resource id. Support "==", "!=", "in [XX]", "!(in [xx])" operations. resource.instance_id: the instance resource id. Support "==", "!=", "in [XX]", "!(in [xx])", "contains", "matches", "startsWith", "endsWith" operations. resource.database_name: the database name. Support "==", "!=", "in [XX]", "!(in [xx])", "contains", "matches", "startsWith", "endsWith" operations. resource.database_labels: the database labels. Support map access operations. All variables should join with "&&" condition.
For example: resource.environment_id == "test" && resource.database_name.startsWith("sample_") resource.database_labels["tenant"] == "tenant1"
OK
A group of databases matched by expressions.
The short name used in actual databases specified by users.
The name of the database group. Format: projects/{project}/databaseGroups/{databaseGroup}
The condition that is associated with this database group. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec
Support variables: resource.environment_id: the environment resource id. Support "==", "!=", "in [XX]", "!(in [xx])" operations. resource.instance_id: the instance resource id. Support "==", "!=", "in [XX]", "!(in [xx])", "contains", "matches", "startsWith", "endsWith" operations. resource.database_name: the database name. Support "==", "!=", "in [XX]", "!(in [xx])", "contains", "matches", "startsWith", "endsWith" operations. resource.database_labels: the database labels. Support map access operations. All variables should join with "&&" condition.
For example: resource.environment_id == "test" && resource.database_name.startsWith("sample_") resource.database_labels["tenant"] == "tenant1"
The list of databases that match the database group condition.