Managed Service for Trino API, gRPC: ClusterService.Create
- gRPC request
- CreateClusterRequest
- TrinoConfigSpec
- CatalogSpec
- Connector
- HiveConnector
- Metastore
- HiveMetastore
- FileSystem
- S3FileSystem
- ExternalS3FileSystem
- IcebergConnector
- DeltaLakeConnector
- PostgresqlConnector
- PostgresqlConnection
- OnPremise
- ConnectionManager
- ClickhouseConnector
- ClickhouseConnection
- OnPremise
- ConnectionManager
- TPCHConnector
- TPCDSConnector
- OracleConnector
- OracleConnection
- OnPremise
- SQLServerConnector
- SQLServerConnection
- OnPremise
- HudiConnector
- MysqlConnector
- MysqlConnection
- OnPremise
- ConnectionManager
- GreenplumConnector
- GreenplumConnection
- OnPremise
- ConnectionManager
- CoordinatorConfig
- Resources
- WorkerConfig
- WorkerScalePolicy
- FixedScalePolicy
- AutoScalePolicy
- RetryPolicyConfig
- ExchangeManagerConfig
- ExchangeManagerStorage
- ServiceS3
- AccessControlConfig
- CatalogAccessRule
- CatalogAccessRuleMatcher
- CatalogIds
- CatalogNames
- SchemaAccessRule
- SchemaAccessRuleMatcher
- SchemaNames
- TableAccessRule
- TableAccessRuleMatcher
- TableNames
- Column
- FunctionAccessRule
- FunctionAccessRuleMatcher
- FunctionNames
- ProcedureAccessRule
- ProcedureAccessRuleMatcher
- ProcedureNames
- QueryAccessRule
- SystemSessionPropertyAccessRule
- PropertyAccessRuleMatcher
- PropertyNames
- CatalogSessionPropertyAccessRule
- ResourceManagementConfig
- ResourceGroupsConfig
- ResourceGroupConfig
- SelectorRuleConfig
- QueryConfig
- TLSConfig
- NetworkConfig
- LoggingConfig
- MaintenanceWindow
- AnytimeMaintenanceWindow
- WeeklyMaintenanceWindow
- operation.Operation
- CreateClusterMetadata
- Cluster
- Monitoring
- TrinoConfig
- CoordinatorConfig
- Resources
- WorkerConfig
- WorkerScalePolicy
- FixedScalePolicy
- AutoScalePolicy
- RetryPolicyConfig
- ExchangeManagerConfig
- ExchangeManagerStorage
- ServiceS3
- AccessControlConfig
- CatalogAccessRule
- CatalogAccessRuleMatcher
- CatalogIds
- CatalogNames
- SchemaAccessRule
- SchemaAccessRuleMatcher
- SchemaNames
- TableAccessRule
- TableAccessRuleMatcher
- TableNames
- Column
- FunctionAccessRule
- FunctionAccessRuleMatcher
- FunctionNames
- ProcedureAccessRule
- ProcedureAccessRuleMatcher
- ProcedureNames
- QueryAccessRule
- SystemSessionPropertyAccessRule
- PropertyAccessRuleMatcher
- PropertyNames
- CatalogSessionPropertyAccessRule
- ResourceManagementConfig
- ResourceGroupsConfig
- ResourceGroupConfig
- SelectorRuleConfig
- QueryConfig
- TLSConfig
- NetworkConfig
- LoggingConfig
- MaintenanceWindow
- AnytimeMaintenanceWindow
- WeeklyMaintenanceWindow
- MaintenanceOperation
Creates a Trino Cluster resource.
gRPC request
rpc Create (CreateClusterRequest) returns (operation.Operation)
CreateClusterRequest
{
"folder_id": "string",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"trino": {
"catalogs": [
{
"name": "string",
"connector": {
// Includes only one of the fields `hive`, `iceberg`, `delta_lake`, `postgresql`, `clickhouse`, `tpch`, `tpcds`, `oracle`, `sqlserver`, `hudi`, `mysql`, `greenplum`
"hive": {
"metastore": {
// Includes only one of the fields `hive`
"hive": {
// Includes only one of the fields `uri`
"uri": "string"
// end of the list of possible fields
}
// end of the list of possible fields
},
"filesystem": {
// Includes only one of the fields `s3`, `external_s3`
"s3": "S3FileSystem",
"external_s3": {
"aws_access_key": "string",
"aws_secret_key": "string",
"aws_endpoint": "string",
"aws_region": "string"
}
// end of the list of possible fields
},
"additional_properties": "map<string, string>"
},
"iceberg": {
"metastore": {
// Includes only one of the fields `hive`
"hive": {
// Includes only one of the fields `uri`
"uri": "string"
// end of the list of possible fields
}
// end of the list of possible fields
},
"filesystem": {
// Includes only one of the fields `s3`, `external_s3`
"s3": "S3FileSystem",
"external_s3": {
"aws_access_key": "string",
"aws_secret_key": "string",
"aws_endpoint": "string",
"aws_region": "string"
}
// end of the list of possible fields
},
"additional_properties": "map<string, string>"
},
"delta_lake": {
"metastore": {
// Includes only one of the fields `hive`
"hive": {
// Includes only one of the fields `uri`
"uri": "string"
// end of the list of possible fields
}
// end of the list of possible fields
},
"filesystem": {
// Includes only one of the fields `s3`, `external_s3`
"s3": "S3FileSystem",
"external_s3": {
"aws_access_key": "string",
"aws_secret_key": "string",
"aws_endpoint": "string",
"aws_region": "string"
}
// end of the list of possible fields
},
"additional_properties": "map<string, string>"
},
"postgresql": {
"connection": {
// Includes only one of the fields `on_premise`, `connection_manager`
"on_premise": {
"connection_url": "string",
"user_name": "string",
"password": "string"
},
"connection_manager": {
"connection_id": "string",
"database": "string",
"connection_properties": "map<string, string>"
}
// end of the list of possible fields
},
"additional_properties": "map<string, string>"
},
"clickhouse": {
"connection": {
// Includes only one of the fields `on_premise`, `connection_manager`
"on_premise": {
"connection_url": "string",
"user_name": "string",
"password": "string"
},
"connection_manager": {
"connection_id": "string",
"database": "string",
"connection_properties": "map<string, string>"
}
// end of the list of possible fields
},
"additional_properties": "map<string, string>"
},
"tpch": {
"additional_properties": "map<string, string>"
},
"tpcds": {
"additional_properties": "map<string, string>"
},
"oracle": {
"connection": {
// Includes only one of the fields `on_premise`
"on_premise": {
"connection_url": "string",
"user_name": "string",
"password": "string"
}
// end of the list of possible fields
},
"additional_properties": "map<string, string>"
},
"sqlserver": {
"connection": {
// Includes only one of the fields `on_premise`
"on_premise": {
"connection_url": "string",
"user_name": "string",
"password": "string"
}
// end of the list of possible fields
},
"additional_properties": "map<string, string>"
},
"hudi": {
"metastore": {
// Includes only one of the fields `hive`
"hive": {
// Includes only one of the fields `uri`
"uri": "string"
// end of the list of possible fields
}
// end of the list of possible fields
},
"filesystem": {
// Includes only one of the fields `s3`, `external_s3`
"s3": "S3FileSystem",
"external_s3": {
"aws_access_key": "string",
"aws_secret_key": "string",
"aws_endpoint": "string",
"aws_region": "string"
}
// end of the list of possible fields
},
"additional_properties": "map<string, string>"
},
"mysql": {
"connection": {
// Includes only one of the fields `on_premise`, `connection_manager`
"on_premise": {
"connection_url": "string",
"user_name": "string",
"password": "string"
},
"connection_manager": {
"connection_id": "string",
"connection_properties": "map<string, string>"
}
// end of the list of possible fields
},
"additional_properties": "map<string, string>"
},
"greenplum": {
"connection": {
// Includes only one of the fields `on_premise`, `connection_manager`
"on_premise": {
"connection_url": "string",
"user_name": "string",
"password": "string"
},
"connection_manager": {
"connection_id": "string",
"database": "string",
"connection_properties": "map<string, string>"
}
// end of the list of possible fields
},
"additional_properties": "map<string, string>"
}
// end of the list of possible fields
},
"description": "string",
"labels": "map<string, string>"
}
],
"coordinator_config": {
"resources": {
"resource_preset_id": "string"
}
},
"worker_config": {
"resources": {
"resource_preset_id": "string"
},
"scale_policy": {
// Includes only one of the fields `fixed_scale`, `auto_scale`
"fixed_scale": {
"count": "int64"
},
"auto_scale": {
"min_count": "int64",
"max_count": "int64"
}
// end of the list of possible fields
}
},
"retry_policy": {
"policy": "RetryPolicy",
"exchange_manager": {
"additional_properties": "map<string, string>",
"storage": {
// Includes only one of the fields `service_s3`
"service_s3": "ServiceS3"
// end of the list of possible fields
}
},
"additional_properties": "map<string, string>"
},
"version": "string",
"access_control": {
"catalogs": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `name_regexp`, `ids`, `names`
"name_regexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"permission": "Permission",
"description": "string"
}
],
"schemas": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `name_regexp`, `ids`, `names`
"name_regexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"schema": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"owner": "Owner",
"description": "string"
}
],
"tables": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `name_regexp`, `ids`, `names`
"name_regexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"schema": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"table": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"privileges": [
"Privilege"
],
"columns": [
{
"name": "string",
"access": "AccessMode",
"mask": "string"
}
],
"filter": "string",
"description": "string"
}
],
"functions": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `name_regexp`, `ids`, `names`
"name_regexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"schema": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"function": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"privileges": [
"Privilege"
],
"description": "string"
}
],
"procedures": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `name_regexp`, `ids`, `names`
"name_regexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"schema": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"procedure": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"privileges": [
"Privilege"
],
"description": "string"
}
],
"queries": [
{
"users": [
"string"
],
"groups": [
"string"
],
"query_owners": [
"string"
],
"privileges": [
"Privilege"
],
"description": "string"
}
],
"system_session_properties": [
{
"users": [
"string"
],
"groups": [
"string"
],
"property": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"allow": "Allow",
"description": "string"
}
],
"catalog_session_properties": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `name_regexp`, `ids`, `names`
"name_regexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"property": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"allow": "Allow",
"description": "string"
}
]
},
"resource_management": {
"resource_groups": {
"root_groups": [
{
"name": "string",
"max_queued": "int64",
"soft_concurrency_limit": "int64",
"hard_concurrency_limit": "int64",
"soft_memory_limit": "string",
"soft_cpu_limit": "string",
"hard_cpu_limit": "string",
"scheduling_policy": "SchedulingPolicy",
"scheduling_weight": "int64",
"sub_groups": [
"ResourceGroupConfig"
]
}
],
"selectors": [
{
"user": "string",
"user_group": "string",
"source": "string",
"query_type": "QueryType",
"client_tags": [
"string"
],
"group": "string"
}
],
"cpu_quota_period": "string"
},
"query": {
"properties": "map<string, string>"
}
},
"tls": {
"trusted_certificates": [
"string"
]
}
},
"network": {
"subnet_ids": [
"string"
],
"security_group_ids": [
"string"
]
},
"deletion_protection": "bool",
"service_account_id": "string",
"logging": {
"enabled": "bool",
// Includes only one of the fields `folder_id`, `log_group_id`
"folder_id": "string",
"log_group_id": "string",
// end of the list of possible fields
"min_level": "Level"
},
"maintenance_window": {
// Includes only one of the fields `anytime`, `weekly_maintenance_window`
"anytime": "AnytimeMaintenanceWindow",
"weekly_maintenance_window": {
"day": "WeekDay",
"hour": "int64"
}
// end of the list of possible fields
}
}
|
Field |
Description |
|
folder_id |
string Required field. ID of the folder to create Trino cluster in. The maximum string length in characters is 50. |
|
name |
string Required field. Name of the Trino cluster. The name must be unique within the folder. The maximum string length in characters is 63. Value must match the regular expression |
|
description |
string Description of the Trino cluster. The maximum string length in characters is 256. |
|
labels |
object (map<string, string>) Custom labels for the Trino cluster as No more than 64 per resource. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
trino |
Required field. Configuration of Trino components. |
|
network |
Required field. Network related configuration options. |
|
deletion_protection |
bool Deletion Protection inhibits deletion of the cluster. |
|
service_account_id |
string Required field. Service account used to access Cloud resources. The maximum string length in characters is 50. |
|
logging |
Cloud logging configuration. |
|
maintenance_window |
Window of maintenance operations. |
TrinoConfigSpec
|
Field |
Description |
|
catalogs[] |
List of catalogs that enable integration with various data sources. |
|
coordinator_config |
Required field. Configuration for the coordinator, specifying computational resources and other settings. |
|
worker_config |
Required field. Configuration for worker nodes, including scaling policy and computational resources. |
|
retry_policy |
Configuration for retry policy, specifying the spooling storage destination and other settings. |
|
version |
string Trino version. |
|
access_control |
Configuration for access control, specifying the fine-grained access rules. |
|
resource_management |
Configuration for cluster resource management, specifying the resource groups. |
|
tls |
Configuration for TLS. |
CatalogSpec
CatalogSpec defines the desired state of a new catalog.
|
Field |
Description |
|
name |
string Required field. Name of the catalog. The maximum string length in characters is 63. Value must match the regular expression |
|
connector |
Required field. Connector backing this catalog. |
|
description |
string Description of the catalog. The maximum string length in characters is 256. |
|
labels |
object (map<string, string>) Labels associated with the catalog. No more than 64 per resource. The maximum string length in characters for each value is 63. Each value must match the regular expression |
Connector
Connector configuration. Exactly one connector type must be specified.
|
Field |
Description |
|
hive |
Hive connector configuration. Includes only one of the fields |
|
iceberg |
Iceberg connector configuration. Includes only one of the fields |
|
delta_lake |
Delta Lake connector configuration. Includes only one of the fields |
|
postgresql |
PostgreSQL connector configuration. Includes only one of the fields |
|
clickhouse |
ClickHouse connector configuration. Includes only one of the fields |
|
tpch |
TPC-H connector for synthetic benchmarking. Includes only one of the fields |
|
tpcds |
TPC-DS connector for synthetic benchmarking. Includes only one of the fields |
|
oracle |
Oracle connector configuration for connecting to Oracle Database instances. Includes only one of the fields |
|
sqlserver |
SQLServer connector configuration for connecting to SQLServer Database instances. Includes only one of the fields |
|
hudi |
Hudi connector configuration. Includes only one of the fields |
|
mysql |
MySQL connector configuration for connecting to MySQL Database instances. Includes only one of the fields |
|
greenplum |
Greenplum connector configuration for connecting to Greenplum or Cloudberry Database instances. Includes only one of the fields |
HiveConnector
|
Field |
Description |
|
metastore |
Required field. Metastore configuration. |
|
filesystem |
Required field. File system configuration. |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
Metastore
Metastore configuration.
|
Field |
Description |
|
hive |
Includes only one of the fields |
HiveMetastore
Configuration of Hive's metastore type.
|
Field |
Description |
|
uri |
string URI or cluster ID of the Hive Metastore. Includes only one of the fields |
FileSystem
Configuration of file system used by a connector.
|
Field |
Description |
|
s3 |
Includes only one of the fields |
|
external_s3 |
Includes only one of the fields |
S3FileSystem
Describes YandexCloud native S3 file system.
Currently does not require configuration.
|
Field |
Description |
|
Empty |
|
ExternalS3FileSystem
Describes External S3 compatible file system.
|
Field |
Description |
|
aws_access_key |
string Required field. |
|
aws_secret_key |
string Required field. |
|
aws_endpoint |
string Required field. |
|
aws_region |
string Required field. |
IcebergConnector
|
Field |
Description |
|
metastore |
Required field. Metastore configuration. |
|
filesystem |
Required field. File system configuration. |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
DeltaLakeConnector
|
Field |
Description |
|
metastore |
Required field. Metastore configuration. |
|
filesystem |
Required field. File system configuration. |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
PostgresqlConnector
|
Field |
Description |
|
connection |
Connection configuration. |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
PostgresqlConnection
|
Field |
Description |
|
on_premise |
Includes only one of the fields |
|
connection_manager |
Includes only one of the fields |
OnPremise
|
Field |
Description |
|
connection_url |
string Required field. Connection to the Postgresql. Value must match the regular expression |
|
user_name |
string Required field. Name of the Postgresql user. The maximum string length in characters is 63. Value must match the regular expression |
|
password |
string Required field. Password of the Postgresql user. The string length in characters must be 0-128. |
ConnectionManager
|
Field |
Description |
|
connection_id |
string Required field. Connection ID. The string length in characters must be 1-50. |
|
database |
string Required field. Database. The maximum string length in characters is 63. Value must match the regular expression |
|
connection_properties |
object (map<string, string>) Additional connection properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
ClickhouseConnector
|
Field |
Description |
|
connection |
Connection configuration. |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
ClickhouseConnection
|
Field |
Description |
|
on_premise |
Includes only one of the fields |
|
connection_manager |
Includes only one of the fields |
OnPremise
|
Field |
Description |
|
connection_url |
string Required field. Connection to the Clickhouse. Value must match the regular expression |
|
user_name |
string Required field. Name of the Clickhouse user. The maximum string length in characters is 63. Value must match the regular expression |
|
password |
string Required field. Password of the Clickhouse user. The string length in characters must be 0-128. |
ConnectionManager
|
Field |
Description |
|
connection_id |
string Required field. Connection ID. The string length in characters must be 1-50. |
|
database |
string Required field. Database. The maximum string length in characters is 63. Value must match the regular expression |
|
connection_properties |
object (map<string, string>) Additional connection properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
TPCHConnector
|
Field |
Description |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
TPCDSConnector
|
Field |
Description |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
OracleConnector
|
Field |
Description |
|
connection |
Connection configuration. |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
OracleConnection
|
Field |
Description |
|
on_premise |
Includes only one of the fields |
OnPremise
|
Field |
Description |
|
connection_url |
string Required field. Connection to the Oracle. Value must match the regular expression |
|
user_name |
string Required field. Name of the Oracle user. The maximum string length in characters is 63. Value must match the regular expression |
|
password |
string Required field. Password of the Oracle user. The string length in characters must be 0-128. |
SQLServerConnector
|
Field |
Description |
|
connection |
Connection configuration. |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
SQLServerConnection
|
Field |
Description |
|
on_premise |
Includes only one of the fields |
OnPremise
|
Field |
Description |
|
connection_url |
string Required field. Connection to the SQLServer. Value must match the regular expression |
|
user_name |
string Required field. Name of the SQLServer user. The maximum string length in characters is 63. Value must match the regular expression |
|
password |
string Required field. Password of the SQLServer user. The string length in characters must be 0-128. |
HudiConnector
|
Field |
Description |
|
metastore |
Required field. Metastore configuration. |
|
filesystem |
Required field. File system configuration. |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
MysqlConnector
|
Field |
Description |
|
connection |
Connection configuration. |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
MysqlConnection
|
Field |
Description |
|
on_premise |
Includes only one of the fields |
|
connection_manager |
Includes only one of the fields |
OnPremise
|
Field |
Description |
|
connection_url |
string Required field. Connection to the MySQL. Value must match the regular expression |
|
user_name |
string Required field. Name of the MySQL user. The maximum string length in characters is 63. Value must match the regular expression |
|
password |
string Required field. Password of the MySQL user. The string length in characters must be 0-128. |
ConnectionManager
|
Field |
Description |
|
connection_id |
string Required field. Connection ID. The string length in characters must be 1-50. |
|
connection_properties |
object (map<string, string>) Additional connection properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
GreenplumConnector
|
Field |
Description |
|
connection |
Connection configuration |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
GreenplumConnection
|
Field |
Description |
|
on_premise |
Includes only one of the fields |
|
connection_manager |
Includes only one of the fields |
OnPremise
|
Field |
Description |
|
connection_url |
string Required field. Connection to the Greenplum/Cloudberry. Value must match the regular expression |
|
user_name |
string Required field. Name of the Greenplum/Cloudberry user. The maximum string length in characters is 63. Value must match the regular expression |
|
password |
string Required field. Password of the Greenplum/Cloudberry user. The string length in characters must be 0-128. |
ConnectionManager
|
Field |
Description |
|
connection_id |
string Required field. Connection ID. The string length in characters must be 1-50. |
|
database |
string Required field. Database. The maximum string length in characters is 63. Value must match the regular expression |
|
connection_properties |
object (map<string, string>) Additional connection properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
CoordinatorConfig
|
Field |
Description |
|
resources |
Required field. Configuration for computational resources assigned to the coordinator instance. |
Resources
|
Field |
Description |
|
resource_preset_id |
string Required field. ID of the preset for computational resources allocated to a instance (e.g., CPU, memory, etc.). The maximum string length in characters is 50. |
WorkerConfig
|
Field |
Description |
|
resources |
Required field. Configuration for computational resources for worker instances. |
|
scale_policy |
Required field. Configuration for scaling policy for worker instances. |
WorkerScalePolicy
|
Field |
Description |
|
fixed_scale |
A fixed scaling policy that specifies a fixed number of worker instances. Includes only one of the fields Defines the scaling type for worker instances. |
|
auto_scale |
A scaling policy that dynamically adjusts the number of worker instances Includes only one of the fields Defines the scaling type for worker instances. |
FixedScalePolicy
|
Field |
Description |
|
count |
int64 Specifies the number of worker instances. Acceptable values are 1 to 512, inclusive. |
AutoScalePolicy
|
Field |
Description |
|
min_count |
int64 Acceptable values are 0 to 512, inclusive. |
|
max_count |
int64 Acceptable values are 1 to 512, inclusive. |
RetryPolicyConfig
|
Field |
Description |
|
policy |
enum RetryPolicy Retry policy level.
|
|
exchange_manager |
Configuration for exchange manager. |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
ExchangeManagerConfig
|
Field |
Description |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
|
storage |
ExchangeManagerStorage
|
Field |
Description |
|
service_s3 |
Use service side s3 bucket for exchange manager. Includes only one of the fields |
ServiceS3
|
Field |
Description |
|
Empty |
|
AccessControlConfig
|
Field |
Description |
|
catalogs[] |
Catalog access control rules. |
|
schemas[] |
Schema access control rules. |
|
tables[] |
Table access control rules. |
|
functions[] |
Function access control rules. |
|
procedures[] |
Procedures access control rules. |
|
queries[] |
Queries access control rules. |
|
system_session_properties[] |
SystemSessionPropertyAccessRule System session property access control rules. |
|
catalog_session_properties[] |
CatalogSessionPropertyAccessRule Catalog session property access control rules. |
CatalogAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
catalog |
Catalog matcher specifying what catalogs the rule is applied to. |
|
permission |
enum Permission Required field. Permission granted by the rule.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
CatalogAccessRuleMatcher
|
Field |
Description |
|
name_regexp |
string Catalog name regexp the rule is applied to. The maximum string length in characters is 256. Includes only one of the fields |
|
ids |
Catalog IDs rule is applied to. Includes only one of the fields |
|
names |
Catalog names rule is applied to. Includes only one of the fields |
CatalogIds
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. |
CatalogNames
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. |
SchemaAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
catalog |
Catalog matcher specifying what catalogs the rule is applied to. |
|
schema |
Schema matcher specifying what schemas the rule is applied to. |
|
owner |
enum Owner Required field. Ownership granted by the rule.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
SchemaAccessRuleMatcher
|
Field |
Description |
|
name_regexp |
string Schema name regexp the rule is applied to. The maximum string length in characters is 256. Includes only one of the fields |
|
names |
Schema names the rule is applied to. Includes only one of the fields |
SchemaNames
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
TableAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
catalog |
Catalog matcher specifying what catalogs the rule is applied to. |
|
schema |
Schema matcher specifying what schemas the rule is applied to. |
|
table |
Table matcher specifying what tables the rule is applied to. |
|
privileges[] |
enum Privilege Permission granted by the rule.
|
|
columns[] |
Column rules. |
|
filter |
string Boolean SQL expression to filter table rows for particular user. The maximum string length in characters is 128. |
|
description |
string Rule description. The maximum string length in characters is 128. |
TableAccessRuleMatcher
|
Field |
Description |
|
name_regexp |
string Table name regexp the rule is applied to. The maximum string length in characters is 256. Includes only one of the fields |
|
names |
Table names the rule is applied to. Includes only one of the fields |
TableNames
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
Column
|
Field |
Description |
|
name |
string Required field. Column name. The maximum string length in characters is 63. Value must match the regular expression |
|
access |
enum AccessMode Required field. Column access mode.
|
|
mask |
string SQL expression mask to evaluate instead of original column values. The maximum string length in characters is 128. |
FunctionAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
catalog |
Catalog matcher specifying what catalogs the rule is applied to. |
|
schema |
Schema matcher specifying what schema the rule is applied to. |
|
function |
Function matcher specifying what functions the rule is applied to. |
|
privileges[] |
enum Privilege Privileges granted by the rule.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
FunctionAccessRuleMatcher
|
Field |
Description |
|
name_regexp |
string Function name regexp the rule is applied to. The maximum string length in characters is 256. Includes only one of the fields |
|
names |
Function names the rule is applied to. Includes only one of the fields |
FunctionNames
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
ProcedureAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
catalog |
Catalog matcher specifying what catalogs the rule is applied to. |
|
schema |
Schema matcher specifying what schema the rule is applied to. |
|
procedure |
Procedure matcher specifying what functions the rule is applied to. |
|
privileges[] |
enum Privilege Privileges granted by the rule.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
ProcedureAccessRuleMatcher
|
Field |
Description |
|
name_regexp |
string Procedure name regexp the rule is applied to. The maximum string length in characters is 256. Includes only one of the fields |
|
names |
Procedure names the rule is applied to. Includes only one of the fields |
ProcedureNames
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
QueryAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
query_owners[] |
string Owners of queries the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
privileges[] |
enum Privilege Privileges granted by the user.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
SystemSessionPropertyAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
property |
Property matcher specifying what properties the rule is applied to. |
|
allow |
enum Allow Required field. Whether the rule allows setting the property.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
PropertyAccessRuleMatcher
|
Field |
Description |
|
name_regexp |
string Property name regexp the rule is applied to. The maximum string length in characters is 256. Includes only one of the fields |
|
names |
Property names the rule is applied to. Includes only one of the fields |
PropertyNames
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
CatalogSessionPropertyAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
catalog |
Catalog matcher specifying what catalogs the rule is applied to. |
|
property |
Property matcher specifying what properties the rule is applied to. |
|
allow |
enum Allow Required field. Whether the rule allows setting the property.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
ResourceManagementConfig
|
Field |
Description |
|
resource_groups |
Resource groups configuration. |
|
query |
Query management confiugration. |
ResourceGroupsConfig
|
Field |
Description |
|
root_groups[] |
Root resource groups configuration. The number of elements must be greater than 0. |
|
selectors[] |
Selector rules for routing queries to resource groups. The number of elements must be greater than 0. |
|
cpu_quota_period |
string Period for CPU quota calculations. |
ResourceGroupConfig
|
Field |
Description |
|
name |
string Required field. Resource group name. |
|
max_queued |
int64 Maximum number of queued queries. Value must be greater than 0. |
|
soft_concurrency_limit |
int64 Number of concurrently running queries after which new queries only run if peer groups are below soft limits. |
|
hard_concurrency_limit |
int64 Maximum number of queries that can run concurrently. Value must be greater than 0. |
|
soft_memory_limit |
string Maximum amount of distributed memory this group can use. |
|
soft_cpu_limit |
string Maximum CPU time per period this group can use before applying penalty to running queries (requires hard_cpu_limit). |
|
hard_cpu_limit |
string Maximum CPU time per period this group can use. |
|
scheduling_policy |
enum SchedulingPolicy Policy for selecting queued queries and sub-group eligibility.
|
|
scheduling_weight |
int64 Weight for weighted and weighted_fair scheduling policies. |
|
sub_groups[] |
List of sub-groups. |
SelectorRuleConfig
|
Field |
Description |
|
user |
string Regex to match against username. |
|
user_group |
string Regex to match against user groups. |
|
source |
string Regex to match against query source. |
|
query_type |
enum QueryType Type of query to match.
|
|
client_tags[] |
string Tags that must all be present in the query's client tags. |
|
group |
string Required field. Target resource group name. |
QueryConfig
|
Field |
Description |
|
properties |
object (map<string, string>) Query properties. |
TLSConfig
|
Field |
Description |
|
trusted_certificates[] |
string Trusted CA-certificates. Each element should contain single self-signed CA-certificate or The maximum number of elements is 8. The maximum string length in characters for each value is 8192. |
NetworkConfig
|
Field |
Description |
|
subnet_ids[] |
string IDs of VPC network subnets where instances of the cluster are attached. |
|
security_group_ids[] |
string User security groups. |
LoggingConfig
|
Field |
Description |
|
enabled |
bool Logs generated by the Trino components are delivered to Cloud Logging. |
|
folder_id |
string Logs should be written to default log group for specified folder. Value must match the regular expression Includes only one of the fields Destination of log records. |
|
log_group_id |
string Logs should be written to log group resolved by ID. Value must match the regular expression Includes only one of the fields Destination of log records. |
|
min_level |
enum Level Minimum log entry level. See LogLevel.Level for details.
|
MaintenanceWindow
|
Field |
Description |
|
anytime |
Includes only one of the fields |
|
weekly_maintenance_window |
Includes only one of the fields |
AnytimeMaintenanceWindow
|
Field |
Description |
|
Empty |
|
WeeklyMaintenanceWindow
|
Field |
Description |
|
day |
enum WeekDay
|
|
hour |
int64 Hour of the day in UTC. Acceptable values are 1 to 24, inclusive. |
operation.Operation
{
"id": "string",
"description": "string",
"created_at": "google.protobuf.Timestamp",
"created_by": "string",
"modified_at": "google.protobuf.Timestamp",
"done": "bool",
"metadata": {
"cluster_id": "string"
},
// Includes only one of the fields `error`, `response`
"error": "google.rpc.Status",
"response": {
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"monitoring": [
{
"name": "string",
"description": "string",
"link": "string"
}
],
"trino": {
"coordinator_config": {
"resources": {
"resource_preset_id": "string"
}
},
"worker_config": {
"resources": {
"resource_preset_id": "string"
},
"scale_policy": {
// Includes only one of the fields `fixed_scale`, `auto_scale`
"fixed_scale": {
"count": "int64"
},
"auto_scale": {
"min_count": "int64",
"max_count": "int64"
}
// end of the list of possible fields
}
},
"version": "string",
"retry_policy": {
"policy": "RetryPolicy",
"exchange_manager": {
"additional_properties": "map<string, string>",
"storage": {
// Includes only one of the fields `service_s3`
"service_s3": "ServiceS3"
// end of the list of possible fields
}
},
"additional_properties": "map<string, string>"
},
"access_control": {
"catalogs": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `name_regexp`, `ids`, `names`
"name_regexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"permission": "Permission",
"description": "string"
}
],
"schemas": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `name_regexp`, `ids`, `names`
"name_regexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"schema": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"owner": "Owner",
"description": "string"
}
],
"tables": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `name_regexp`, `ids`, `names`
"name_regexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"schema": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"table": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"privileges": [
"Privilege"
],
"columns": [
{
"name": "string",
"access": "AccessMode",
"mask": "string"
}
],
"filter": "string",
"description": "string"
}
],
"functions": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `name_regexp`, `ids`, `names`
"name_regexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"schema": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"function": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"privileges": [
"Privilege"
],
"description": "string"
}
],
"procedures": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `name_regexp`, `ids`, `names`
"name_regexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"schema": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"procedure": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"privileges": [
"Privilege"
],
"description": "string"
}
],
"queries": [
{
"users": [
"string"
],
"groups": [
"string"
],
"query_owners": [
"string"
],
"privileges": [
"Privilege"
],
"description": "string"
}
],
"system_session_properties": [
{
"users": [
"string"
],
"groups": [
"string"
],
"property": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"allow": "Allow",
"description": "string"
}
],
"catalog_session_properties": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `name_regexp`, `ids`, `names`
"name_regexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"property": {
// Includes only one of the fields `name_regexp`, `names`
"name_regexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"allow": "Allow",
"description": "string"
}
]
},
"resource_management": {
"resource_groups": {
"root_groups": [
{
"name": "string",
"max_queued": "int64",
"soft_concurrency_limit": "int64",
"hard_concurrency_limit": "int64",
"soft_memory_limit": "string",
"soft_cpu_limit": "string",
"hard_cpu_limit": "string",
"scheduling_policy": "SchedulingPolicy",
"scheduling_weight": "int64",
"sub_groups": [
"ResourceGroupConfig"
]
}
],
"selectors": [
{
"user": "string",
"user_group": "string",
"source": "string",
"query_type": "QueryType",
"client_tags": [
"string"
],
"group": "string"
}
],
"cpu_quota_period": "string"
},
"query": {
"properties": "map<string, string>"
}
},
"tls": {
"trusted_certificates": [
"string"
]
}
},
"health": "Health",
"status": "Status",
"network": {
"subnet_ids": [
"string"
],
"security_group_ids": [
"string"
]
},
"deletion_protection": "bool",
"service_account_id": "string",
"logging": {
"enabled": "bool",
// Includes only one of the fields `folder_id`, `log_group_id`
"folder_id": "string",
"log_group_id": "string",
// end of the list of possible fields
"min_level": "Level"
},
"coordinator_url": "string",
"maintenance_window": {
// Includes only one of the fields `anytime`, `weekly_maintenance_window`
"anytime": "AnytimeMaintenanceWindow",
"weekly_maintenance_window": {
"day": "WeekDay",
"hour": "int64"
}
// end of the list of possible fields
},
"planned_operation": {
"info": "string",
"delayed_until": "google.protobuf.Timestamp",
"latest_maintenance_time": "google.protobuf.Timestamp",
"next_maintenance_window_time": "google.protobuf.Timestamp"
}
}
// end of the list of possible fields
}
An Operation resource. For more information, see Operation.
|
Field |
Description |
|
id |
string ID of the operation. |
|
description |
string Description of the operation. 0-256 characters long. |
|
created_at |
Creation timestamp. |
|
created_by |
string ID of the user or service account who initiated the operation. |
|
modified_at |
The time when the Operation resource was last modified. |
|
done |
bool If the value is |
|
metadata |
Service-specific metadata associated with the operation. |
|
error |
The error result of the operation in case of failure or cancellation. Includes only one of the fields The operation result. |
|
response |
The normal response of the operation in case of success. Includes only one of the fields The operation result. |
CreateClusterMetadata
|
Field |
Description |
|
cluster_id |
string ID of the Trino cluster that is being created. |
Cluster
Trino cluster.
|
Field |
Description |
|
id |
string Unique ID of the Trino cluster. |
|
folder_id |
string ID of the folder that the Trino cluster belongs to. |
|
created_at |
The time when the Trino cluster was created. |
|
name |
string Name of the Trino cluster. |
|
description |
string Description of the Trino cluster. 0-256 characters long. |
|
labels |
object (map<string, string>) Resource labels as |
|
monitoring[] |
Monitoring systems relevant to the Trino cluster. |
|
trino |
Configuration of the Trino cluster. |
|
health |
enum Health Aggregated cluster health.
|
|
status |
enum Status Cluster status.
|
|
network |
Network related configuration options. |
|
deletion_protection |
bool Deletion Protection inhibits deletion of the cluster. |
|
service_account_id |
string Service account used to access Cloud resources. The maximum string length in characters is 50. |
|
logging |
Cloud logging configuration. |
|
coordinator_url |
string Address of Trino Coordinator. |
|
maintenance_window |
Window of maintenance operations. |
|
planned_operation |
Maintenance operation planned at nearest maintenance_window. |
Monitoring
Monitoring system.
|
Field |
Description |
|
name |
string Name of the monitoring system. |
|
description |
string Description of the monitoring system. |
|
link |
string Link to the monitoring system. |
TrinoConfig
|
Field |
Description |
|
coordinator_config |
Required field. Configuration for the coordinator, specifying computational resources and other settings. |
|
worker_config |
Required field. Configuration for worker nodes, including scaling policy and computational resources. |
|
version |
string Version of Trino. |
|
retry_policy |
Configuration for retry policy, specifying the spooling storage destination and other settings. |
|
access_control |
Configuration for access control, specifying the fine-grained rules of accesses. |
|
resource_management |
Configuration for resource management, specifying the resource groups and other settings. |
|
tls |
Configuration for TLS. |
CoordinatorConfig
|
Field |
Description |
|
resources |
Required field. Configuration for computational resources assigned to the coordinator instance. |
Resources
|
Field |
Description |
|
resource_preset_id |
string Required field. ID of the preset for computational resources allocated to a instance (e.g., CPU, memory, etc.). The maximum string length in characters is 50. |
WorkerConfig
|
Field |
Description |
|
resources |
Required field. Configuration for computational resources for worker instances. |
|
scale_policy |
Required field. Configuration for scaling policy for worker instances. |
WorkerScalePolicy
|
Field |
Description |
|
fixed_scale |
A fixed scaling policy that specifies a fixed number of worker instances. Includes only one of the fields Defines the scaling type for worker instances. |
|
auto_scale |
A scaling policy that dynamically adjusts the number of worker instances Includes only one of the fields Defines the scaling type for worker instances. |
FixedScalePolicy
|
Field |
Description |
|
count |
int64 Specifies the number of worker instances. Acceptable values are 1 to 512, inclusive. |
AutoScalePolicy
|
Field |
Description |
|
min_count |
int64 Acceptable values are 0 to 512, inclusive. |
|
max_count |
int64 Acceptable values are 1 to 512, inclusive. |
RetryPolicyConfig
|
Field |
Description |
|
policy |
enum RetryPolicy Retry policy level.
|
|
exchange_manager |
Configuration for exchange manager. |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
ExchangeManagerConfig
|
Field |
Description |
|
additional_properties |
object (map<string, string>) Additional properties. No more than 256 per resource. The maximum string length in characters for each value is 128. Each value must match the regular expression |
|
storage |
ExchangeManagerStorage
|
Field |
Description |
|
service_s3 |
Use service side s3 bucket for exchange manager. Includes only one of the fields |
ServiceS3
|
Field |
Description |
|
Empty |
|
AccessControlConfig
|
Field |
Description |
|
catalogs[] |
Catalog access control rules. |
|
schemas[] |
Schema access control rules. |
|
tables[] |
Table access control rules. |
|
functions[] |
Function access control rules. |
|
procedures[] |
Procedures access control rules. |
|
queries[] |
Queries access control rules. |
|
system_session_properties[] |
SystemSessionPropertyAccessRule System session property access control rules. |
|
catalog_session_properties[] |
CatalogSessionPropertyAccessRule Catalog session property access control rules. |
CatalogAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
catalog |
Catalog matcher specifying what catalogs the rule is applied to. |
|
permission |
enum Permission Required field. Permission granted by the rule.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
CatalogAccessRuleMatcher
|
Field |
Description |
|
name_regexp |
string Catalog name regexp the rule is applied to. The maximum string length in characters is 256. Includes only one of the fields |
|
ids |
Catalog IDs rule is applied to. Includes only one of the fields |
|
names |
Catalog names rule is applied to. Includes only one of the fields |
CatalogIds
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. |
CatalogNames
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. |
SchemaAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
catalog |
Catalog matcher specifying what catalogs the rule is applied to. |
|
schema |
Schema matcher specifying what schemas the rule is applied to. |
|
owner |
enum Owner Required field. Ownership granted by the rule.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
SchemaAccessRuleMatcher
|
Field |
Description |
|
name_regexp |
string Schema name regexp the rule is applied to. The maximum string length in characters is 256. Includes only one of the fields |
|
names |
Schema names the rule is applied to. Includes only one of the fields |
SchemaNames
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
TableAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
catalog |
Catalog matcher specifying what catalogs the rule is applied to. |
|
schema |
Schema matcher specifying what schemas the rule is applied to. |
|
table |
Table matcher specifying what tables the rule is applied to. |
|
privileges[] |
enum Privilege Permission granted by the rule.
|
|
columns[] |
Column rules. |
|
filter |
string Boolean SQL expression to filter table rows for particular user. The maximum string length in characters is 128. |
|
description |
string Rule description. The maximum string length in characters is 128. |
TableAccessRuleMatcher
|
Field |
Description |
|
name_regexp |
string Table name regexp the rule is applied to. The maximum string length in characters is 256. Includes only one of the fields |
|
names |
Table names the rule is applied to. Includes only one of the fields |
TableNames
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
Column
|
Field |
Description |
|
name |
string Required field. Column name. The maximum string length in characters is 63. Value must match the regular expression |
|
access |
enum AccessMode Required field. Column access mode.
|
|
mask |
string SQL expression mask to evaluate instead of original column values. The maximum string length in characters is 128. |
FunctionAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
catalog |
Catalog matcher specifying what catalogs the rule is applied to. |
|
schema |
Schema matcher specifying what schema the rule is applied to. |
|
function |
Function matcher specifying what functions the rule is applied to. |
|
privileges[] |
enum Privilege Privileges granted by the rule.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
FunctionAccessRuleMatcher
|
Field |
Description |
|
name_regexp |
string Function name regexp the rule is applied to. The maximum string length in characters is 256. Includes only one of the fields |
|
names |
Function names the rule is applied to. Includes only one of the fields |
FunctionNames
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
ProcedureAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
catalog |
Catalog matcher specifying what catalogs the rule is applied to. |
|
schema |
Schema matcher specifying what schema the rule is applied to. |
|
procedure |
Procedure matcher specifying what functions the rule is applied to. |
|
privileges[] |
enum Privilege Privileges granted by the rule.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
ProcedureAccessRuleMatcher
|
Field |
Description |
|
name_regexp |
string Procedure name regexp the rule is applied to. The maximum string length in characters is 256. Includes only one of the fields |
|
names |
Procedure names the rule is applied to. Includes only one of the fields |
ProcedureNames
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
QueryAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
query_owners[] |
string Owners of queries the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
privileges[] |
enum Privilege Privileges granted by the user.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
SystemSessionPropertyAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
property |
Property matcher specifying what properties the rule is applied to. |
|
allow |
enum Allow Required field. Whether the rule allows setting the property.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
PropertyAccessRuleMatcher
|
Field |
Description |
|
name_regexp |
string Property name regexp the rule is applied to. The maximum string length in characters is 256. Includes only one of the fields |
|
names |
Property names the rule is applied to. Includes only one of the fields |
PropertyNames
|
Field |
Description |
|
any[] |
string The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
CatalogSessionPropertyAccessRule
|
Field |
Description |
|
users[] |
string IAM user IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
groups[] |
string IAM group IDs the rule is applied to. The maximum number of elements is 128. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
catalog |
Catalog matcher specifying what catalogs the rule is applied to. |
|
property |
Property matcher specifying what properties the rule is applied to. |
|
allow |
enum Allow Required field. Whether the rule allows setting the property.
|
|
description |
string Rule description. The maximum string length in characters is 128. |
ResourceManagementConfig
|
Field |
Description |
|
resource_groups |
Resource groups configuration. |
|
query |
Query management confiugration. |
ResourceGroupsConfig
|
Field |
Description |
|
root_groups[] |
Root resource groups configuration. The number of elements must be greater than 0. |
|
selectors[] |
Selector rules for routing queries to resource groups. The number of elements must be greater than 0. |
|
cpu_quota_period |
string Period for CPU quota calculations. |
ResourceGroupConfig
|
Field |
Description |
|
name |
string Required field. Resource group name. |
|
max_queued |
int64 Maximum number of queued queries. Value must be greater than 0. |
|
soft_concurrency_limit |
int64 Number of concurrently running queries after which new queries only run if peer groups are below soft limits. |
|
hard_concurrency_limit |
int64 Maximum number of queries that can run concurrently. Value must be greater than 0. |
|
soft_memory_limit |
string Maximum amount of distributed memory this group can use. |
|
soft_cpu_limit |
string Maximum CPU time per period this group can use before applying penalty to running queries (requires hard_cpu_limit). |
|
hard_cpu_limit |
string Maximum CPU time per period this group can use. |
|
scheduling_policy |
enum SchedulingPolicy Policy for selecting queued queries and sub-group eligibility.
|
|
scheduling_weight |
int64 Weight for weighted and weighted_fair scheduling policies. |
|
sub_groups[] |
List of sub-groups. |
SelectorRuleConfig
|
Field |
Description |
|
user |
string Regex to match against username. |
|
user_group |
string Regex to match against user groups. |
|
source |
string Regex to match against query source. |
|
query_type |
enum QueryType Type of query to match.
|
|
client_tags[] |
string Tags that must all be present in the query's client tags. |
|
group |
string Required field. Target resource group name. |
QueryConfig
|
Field |
Description |
|
properties |
object (map<string, string>) Query properties. |
TLSConfig
|
Field |
Description |
|
trusted_certificates[] |
string Trusted CA-certificates. Each element should contain single self-signed CA-certificate or The maximum number of elements is 8. The maximum string length in characters for each value is 8192. |
NetworkConfig
|
Field |
Description |
|
subnet_ids[] |
string IDs of VPC network subnets where instances of the cluster are attached. |
|
security_group_ids[] |
string User security groups. |
LoggingConfig
|
Field |
Description |
|
enabled |
bool Logs generated by the Trino components are delivered to Cloud Logging. |
|
folder_id |
string Logs should be written to default log group for specified folder. Value must match the regular expression Includes only one of the fields Destination of log records. |
|
log_group_id |
string Logs should be written to log group resolved by ID. Value must match the regular expression Includes only one of the fields Destination of log records. |
|
min_level |
enum Level Minimum log entry level. See LogLevel.Level for details.
|
MaintenanceWindow
|
Field |
Description |
|
anytime |
Includes only one of the fields |
|
weekly_maintenance_window |
Includes only one of the fields |
AnytimeMaintenanceWindow
|
Field |
Description |
|
Empty |
|
WeeklyMaintenanceWindow
|
Field |
Description |
|
day |
enum WeekDay
|
|
hour |
int64 Hour of the day in UTC. Acceptable values are 1 to 24, inclusive. |
MaintenanceOperation
|
Field |
Description |
|
info |
string The maximum string length in characters is 256. |
|
delayed_until |
|
|
latest_maintenance_time |
|
|
next_maintenance_window_time |