Managed Service for Trino Audit Trails Events: UpdateCluster
- Event JSON schema
- Field description
- IamAuthentication
- IamTokenInfo
- Authorization
- ResourceMetadata
- Resource
- RequestMetadata
- Status
- ClusterEventDetails
- Cluster
- Monitoring
- TrinoConfig
- CoordinatorConfig
- Resources
- WorkerConfig
- WorkerScalePolicy
- FixedScalePolicy
- AutoScalePolicy
- RetryPolicyConfig
- ExchangeManagerConfig
- ExchangeManagerStorage
- 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
- PrivateAccessConfig
- LoggingConfig
- MaintenanceWindow
- WeeklyMaintenanceWindow
- MaintenanceOperation
Event JSON schema
{
"eventId": "string",
"eventSource": "string",
"eventType": "string",
"eventTime": "string",
"authentication": {
"authenticated": "boolean",
// Includes only one of the fields `subjectType`
"subjectType": "string",
// end of the list of possible fields
// Includes only one of the fields `subjectId`
"subjectId": "string",
// end of the list of possible fields
// Includes only one of the fields `subjectName`
"subjectName": "string",
// end of the list of possible fields
// Includes only one of the fields `federationId`
"federationId": "string",
// end of the list of possible fields
// Includes only one of the fields `federationName`
"federationName": "string",
// end of the list of possible fields
// Includes only one of the fields `federationType`
"federationType": "string",
// end of the list of possible fields
"tokenInfo": {
"maskedIamToken": "string",
// Includes only one of the fields `iamTokenId`
"iamTokenId": "string",
// end of the list of possible fields
// Includes only one of the fields `impersonatorId`
"impersonatorId": "string",
// end of the list of possible fields
// Includes only one of the fields `impersonatorType`
"impersonatorType": "string",
// end of the list of possible fields
// Includes only one of the fields `impersonatorName`
"impersonatorName": "string",
// end of the list of possible fields
// Includes only one of the fields `impersonatorFederationId`
"impersonatorFederationId": "string",
// end of the list of possible fields
// Includes only one of the fields `impersonatorFederationName`
"impersonatorFederationName": "string",
// end of the list of possible fields
// Includes only one of the fields `impersonatorFederationType`
"impersonatorFederationType": "string"
// end of the list of possible fields
}
},
"authorization": {
"authorized": "boolean"
},
"resourceMetadata": {
"path": [
{
"resourceType": "string",
"resourceId": "string",
// Includes only one of the fields `resourceName`
"resourceName": "string"
// end of the list of possible fields
}
]
},
"requestMetadata": {
"remoteAddress": "string",
"userAgent": "string",
"requestId": "string",
// Includes only one of the fields `remotePort`
"remotePort": "string"
// end of the list of possible fields
},
"eventStatus": "string",
"error": {
"code": "integer",
"message": "string",
"details": [
"object"
]
},
"details": {
"clusterId": "string",
"clusterName": "string",
"cluster": {
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"monitoring": [
{
"name": "string",
"description": "string",
"link": "string"
}
],
"trino": {
"coordinatorConfig": {
"resources": {
"resourcePresetId": "string"
}
},
"workerConfig": {
"resources": {
"resourcePresetId": "string"
},
"scalePolicy": {
// Includes only one of the fields `fixedScale`, `autoScale`
"fixedScale": {
"count": "string"
},
"autoScale": {
"minCount": "string",
"maxCount": "string"
}
// end of the list of possible fields
}
},
"version": "string",
"retryPolicy": {
"policy": "string",
"exchangeManager": {
"additionalProperties": "object",
"storage": {
// Includes only one of the fields `serviceS3`
"serviceS3": "object"
// end of the list of possible fields
}
},
"additionalProperties": "object"
},
"accessControl": {
"catalogs": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `nameRegexp`, `ids`, `names`
"nameRegexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"permission": "string",
"description": "string"
}
],
"schemas": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `nameRegexp`, `ids`, `names`
"nameRegexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"schema": {
// Includes only one of the fields `nameRegexp`, `names`
"nameRegexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"owner": "string",
"description": "string"
}
],
"tables": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `nameRegexp`, `ids`, `names`
"nameRegexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"schema": {
// Includes only one of the fields `nameRegexp`, `names`
"nameRegexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"table": {
// Includes only one of the fields `nameRegexp`, `names`
"nameRegexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"privileges": [
"string"
],
"columns": [
{
"name": "string",
"access": "string",
"mask": "string"
}
],
"filter": "string",
"description": "string"
}
],
"functions": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `nameRegexp`, `ids`, `names`
"nameRegexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"schema": {
// Includes only one of the fields `nameRegexp`, `names`
"nameRegexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"function": {
// Includes only one of the fields `nameRegexp`, `names`
"nameRegexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"privileges": [
"string"
],
"description": "string"
}
],
"procedures": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `nameRegexp`, `ids`, `names`
"nameRegexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"schema": {
// Includes only one of the fields `nameRegexp`, `names`
"nameRegexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"procedure": {
// Includes only one of the fields `nameRegexp`, `names`
"nameRegexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"privileges": [
"string"
],
"description": "string"
}
],
"queries": [
{
"users": [
"string"
],
"groups": [
"string"
],
"queryOwners": [
"string"
],
"privileges": [
"string"
],
"description": "string"
}
],
"systemSessionProperties": [
{
"users": [
"string"
],
"groups": [
"string"
],
"property": {
// Includes only one of the fields `nameRegexp`, `names`
"nameRegexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"allow": "string",
"description": "string"
}
],
"catalogSessionProperties": [
{
"users": [
"string"
],
"groups": [
"string"
],
"catalog": {
// Includes only one of the fields `nameRegexp`, `ids`, `names`
"nameRegexp": "string",
"ids": {
"any": [
"string"
]
},
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"property": {
// Includes only one of the fields `nameRegexp`, `names`
"nameRegexp": "string",
"names": {
"any": [
"string"
]
}
// end of the list of possible fields
},
"allow": "string",
"description": "string"
}
]
},
"resourceManagement": {
"resourceGroups": {
"rootGroups": [
{
"name": "string",
"maxQueued": "string",
"softConcurrencyLimit": "string",
"hardConcurrencyLimit": "string",
"softMemoryLimit": "string",
"softCpuLimit": "string",
"hardCpuLimit": "string",
"schedulingPolicy": "string",
"schedulingWeight": "string",
"subGroups": [
"object"
]
}
],
"selectors": [
{
"user": "string",
"userGroup": "string",
"source": "string",
"queryType": "string",
"clientTags": [
"string"
],
"group": "string"
}
],
"cpuQuotaPeriod": "string"
},
"query": {
"properties": "object"
}
},
"tls": {
"trustedCertificates": [
"string"
]
}
},
"health": "string",
"status": "string",
"network": {
"subnetIds": [
"string"
],
"securityGroupIds": [
"string"
],
"privateAccess": {
"enabled": "boolean"
}
},
"deletionProtection": "boolean",
"serviceAccountId": "string",
"logging": {
"enabled": "boolean",
// Includes only one of the fields `folderId`, `logGroupId`
"folderId": "string",
"logGroupId": "string",
// end of the list of possible fields
"minLevel": "string"
},
"coordinatorUrl": "string",
"maintenanceWindow": {
// Includes only one of the fields `anytime`, `weeklyMaintenanceWindow`
"anytime": "object",
"weeklyMaintenanceWindow": {
"day": "string",
"hour": "string"
}
// end of the list of possible fields
},
"plannedOperation": {
"info": "string",
"delayedUntil": "string",
"latestMaintenanceTime": "string",
"nextMaintenanceWindowTime": "string"
}
}
},
"requestParameters": "object",
"response": "object"
}
Field description
|
Field |
Description |
|
eventId |
string |
|
eventSource |
string |
|
eventType |
string |
|
eventTime |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
|
authentication |
|
|
authorization |
|
|
resourceMetadata |
|
|
requestMetadata |
|
|
eventStatus |
enum (EventStatus)
|
|
error |
The error result of the operation in case of failure or cancellation. |
|
details |
|
|
requestParameters |
object |
|
response |
object |
IamAuthentication
|
Field |
Description |
|
authenticated |
boolean |
|
subjectType |
enum (IamSubjectType) Includes only one of the fields
|
|
subjectId |
string Includes only one of the fields |
|
subjectName |
string Includes only one of the fields |
|
federationId |
string Includes only one of the fields |
|
federationName |
string Includes only one of the fields |
|
federationType |
enum (FederationType) Includes only one of the fields
|
|
tokenInfo |
IamTokenInfo
|
Field |
Description |
|
maskedIamToken |
string |
|
iamTokenId |
string Includes only one of the fields |
|
impersonatorId |
string Includes only one of the fields |
|
impersonatorType |
enum (IamSubjectType) Includes only one of the fields
|
|
impersonatorName |
string Includes only one of the fields |
|
impersonatorFederationId |
string Includes only one of the fields |
|
impersonatorFederationName |
string Includes only one of the fields |
|
impersonatorFederationType |
enum (FederationType) Includes only one of the fields
|
Authorization
|
Field |
Description |
|
authorized |
boolean |
ResourceMetadata
|
Field |
Description |
|
path[] |
Resource
|
Field |
Description |
|
resourceType |
string |
|
resourceId |
string |
|
resourceName |
string Includes only one of the fields |
RequestMetadata
|
Field |
Description |
|
remoteAddress |
string |
|
userAgent |
string |
|
requestId |
string |
|
remotePort |
string (int64) Includes only one of the fields |
Status
The error result of the operation in case of failure or cancellation.
|
Field |
Description |
|
code |
integer (int32) Error code. An enum value of google.rpc.Code |
|
message |
string An error message. |
|
details[] |
object A list of messages that carry the error details. |
ClusterEventDetails
|
Field |
Description |
|
clusterId |
string |
|
clusterName |
string |
|
cluster |
Cluster
|
Field |
Description |
|
id |
string |
|
folderId |
string |
|
createdAt |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
|
name |
string |
|
description |
string |
|
labels |
object (map<string, string>) |
|
monitoring[] |
|
|
trino |
|
|
health |
enum (Health)
|
|
status |
enum (Status)
|
|
network |
|
|
deletionProtection |
boolean |
|
serviceAccountId |
string The maximum string length in characters is 50. |
|
logging |
|
|
coordinatorUrl |
string |
|
maintenanceWindow |
|
|
plannedOperation |
Monitoring
|
Field |
Description |
|
name |
string |
|
description |
string |
|
link |
string |
TrinoConfig
|
Field |
Description |
|
coordinatorConfig |
|
|
workerConfig |
|
|
version |
string |
|
retryPolicy |
|
|
accessControl |
|
|
resourceManagement |
|
|
tls |
CoordinatorConfig
|
Field |
Description |
|
resources |
Resources
|
Field |
Description |
|
resourcePresetId |
string The maximum string length in characters is 50. |
WorkerConfig
|
Field |
Description |
|
resources |
|
|
scalePolicy |
WorkerScalePolicy
|
Field |
Description |
|
fixedScale |
Includes only one of the fields |
|
autoScale |
Includes only one of the fields |
FixedScalePolicy
|
Field |
Description |
|
count |
string (int64) Acceptable values are 1 to 512, inclusive. |
AutoScalePolicy
|
Field |
Description |
|
minCount |
string (int64) Acceptable values are 0 to 512, inclusive. |
|
maxCount |
string (int64) Acceptable values are 1 to 512, inclusive. |
RetryPolicyConfig
|
Field |
Description |
|
policy |
enum (RetryPolicy)
|
|
exchangeManager |
|
|
additionalProperties |
object (map<string, string>) 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 |
|
additionalProperties |
object (map<string, string>) 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 |
|
serviceS3 |
object Includes only one of the fields |
AccessControlConfig
|
Field |
Description |
|
catalogs[] |
|
|
schemas[] |
|
|
tables[] |
|
|
functions[] |
|
|
procedures[] |
|
|
queries[] |
|
|
systemSessionProperties[] |
|
|
catalogSessionProperties[] |
CatalogAccessRule
|
Field |
Description |
|
users[] |
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 |
|
groups[] |
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 |
|
catalog |
|
|
permission |
enum (Permission)
|
|
description |
string The maximum string length in characters is 128. |
CatalogAccessRuleMatcher
|
Field |
Description |
|
nameRegexp |
string The maximum string length in characters is 256. Includes only one of the fields |
|
ids |
Includes only one of the fields |
|
names |
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 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 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 |
|
|
schema |
|
|
owner |
enum (Owner)
|
|
description |
string The maximum string length in characters is 128. |
SchemaAccessRuleMatcher
|
Field |
Description |
|
nameRegexp |
string The maximum string length in characters is 256. Includes only one of the fields |
|
names |
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 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 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 |
|
|
schema |
|
|
table |
|
|
privileges[] |
enum (Privilege)
|
|
columns[] |
|
|
filter |
string The maximum string length in characters is 128. |
|
description |
string The maximum string length in characters is 128. |
TableAccessRuleMatcher
|
Field |
Description |
|
nameRegexp |
string The maximum string length in characters is 256. Includes only one of the fields |
|
names |
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 The maximum string length in characters is 63. Value must match the regular expression |
|
access |
enum (AccessMode)
|
|
mask |
string The maximum string length in characters is 128. |
FunctionAccessRule
|
Field |
Description |
|
users[] |
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 |
|
groups[] |
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 |
|
catalog |
|
|
schema |
|
|
function |
|
|
privileges[] |
enum (Privilege)
|
|
description |
string The maximum string length in characters is 128. |
FunctionAccessRuleMatcher
|
Field |
Description |
|
nameRegexp |
string The maximum string length in characters is 256. Includes only one of the fields |
|
names |
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 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 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 |
|
|
schema |
|
|
procedure |
|
|
privileges[] |
enum (Privilege)
|
|
description |
string The maximum string length in characters is 128. |
ProcedureAccessRuleMatcher
|
Field |
Description |
|
nameRegexp |
string The maximum string length in characters is 256. Includes only one of the fields |
|
names |
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 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 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 |
|
queryOwners[] |
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 |
|
privileges[] |
enum (Privilege)
|
|
description |
string The maximum string length in characters is 128. |
SystemSessionPropertyAccessRule
|
Field |
Description |
|
users[] |
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 |
|
groups[] |
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 |
|
property |
|
|
allow |
enum (Allow)
|
|
description |
string The maximum string length in characters is 128. |
PropertyAccessRuleMatcher
|
Field |
Description |
|
nameRegexp |
string The maximum string length in characters is 256. Includes only one of the fields |
|
names |
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 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 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 |
|
|
property |
|
|
allow |
enum (Allow)
|
|
description |
string The maximum string length in characters is 128. |
ResourceManagementConfig
|
Field |
Description |
|
resourceGroups |
|
|
query |
ResourceGroupsConfig
|
Field |
Description |
|
rootGroups[] |
The number of elements must be greater than 0. |
|
selectors[] |
The number of elements must be greater than 0. |
|
cpuQuotaPeriod |
string |
ResourceGroupConfig
|
Field |
Description |
|
name |
string |
|
maxQueued |
string (int64) Value must be greater than 0. |
|
softConcurrencyLimit |
string (int64) |
|
hardConcurrencyLimit |
string (int64) Value must be greater than 0. |
|
softMemoryLimit |
string |
|
softCpuLimit |
string |
|
hardCpuLimit |
string |
|
schedulingPolicy |
enum (SchedulingPolicy)
|
|
schedulingWeight |
string (int64) |
|
subGroups[] |
SelectorRuleConfig
|
Field |
Description |
|
user |
string |
|
userGroup |
string |
|
source |
string |
|
queryType |
enum (QueryType)
|
|
clientTags[] |
string |
|
group |
string |
QueryConfig
|
Field |
Description |
|
properties |
object (map<string, string>) |
TLSConfig
|
Field |
Description |
|
trustedCertificates[] |
string The maximum number of elements is 8. The maximum string length in characters for each value is 8192. |
NetworkConfig
|
Field |
Description |
|
subnetIds[] |
string |
|
securityGroupIds[] |
string |
|
privateAccess |
PrivateAccessConfig
|
Field |
Description |
|
enabled |
boolean |
LoggingConfig
|
Field |
Description |
|
enabled |
boolean |
|
folderId |
string Value must match the regular expression Includes only one of the fields |
|
logGroupId |
string Value must match the regular expression Includes only one of the fields |
|
minLevel |
enum (Level)
|
MaintenanceWindow
|
Field |
Description |
|
anytime |
object Includes only one of the fields |
|
weeklyMaintenanceWindow |
Includes only one of the fields |
WeeklyMaintenanceWindow
|
Field |
Description |
|
day |
enum (WeekDay)
|
|
hour |
string (int64) Acceptable values are 1 to 24, inclusive. |
MaintenanceOperation
|
Field |
Description |
|
info |
string The maximum string length in characters is 256. |
|
delayedUntil |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
|
latestMaintenanceTime |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
|
nextMaintenanceWindowTime |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |