Managed Service for YDB Audit Trails Events: UpdateDatabase
- Event JSON schema
- Field description
- IamAuthentication
- IamTokenInfo
- Authorization
- ResourceMetadata
- Resource
- RequestMetadata
- Status
- EventDetails
- DedicatedDatabase
- StorageConfig
- StorageOption
- ScalePolicy
- FixedScale
- AutoScale
- TargetTracking
- ServerlessDatabase
- BackupConfig
- BackupSettings
- BackupSchedule
- DailyBackupSchedule
- TimeOfDay
- WeeklyBackupSchedule
- DaysOfWeekBackupSchedule
- RecurringBackupSchedule
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": {
"databaseId": "string",
"databaseName": "string",
// Includes only one of the fields `dedicatedDatabase`, `serverlessDatabase`
"dedicatedDatabase": {
"resourcePresetId": "string",
"storageConfig": {
"storageOptions": [
{
"storageTypeId": "string",
"groupCount": "string"
}
],
"storageSizeLimit": "string"
},
"scalePolicy": {
// Includes only one of the fields `fixedScale`, `autoScale`
"fixedScale": {
"size": "string"
},
"autoScale": {
"minSize": "string",
"maxSize": "string",
// Includes only one of the fields `targetTracking`
"targetTracking": {
// Includes only one of the fields `cpuUtilizationPercent`
"cpuUtilizationPercent": "string"
// end of the list of possible fields
}
// end of the list of possible fields
}
// end of the list of possible fields
},
"networkId": "string",
"subnetIds": [
"string"
],
"assignPublicIps": "boolean",
"securityGroupIds": [
"string"
]
},
"serverlessDatabase": {
"throttlingRcuLimit": "string",
"storageSizeLimit": "string",
"enableThrottlingRcuLimit": "boolean",
"provisionedRcuLimit": "string",
"topicWriteQuota": "string"
},
// end of the list of possible fields
"locationId": "string",
"endpoint": "string",
"resourcePresetId": "string",
"storageConfig": {
"storageOptions": [
{
"storageTypeId": "string",
"groupCount": "string"
}
],
"storageSizeLimit": "string"
},
"scalePolicy": {
// Includes only one of the fields `fixedScale`, `autoScale`
"fixedScale": {
"size": "string"
},
"autoScale": {
"minSize": "string",
"maxSize": "string",
// Includes only one of the fields `targetTracking`
"targetTracking": {
// Includes only one of the fields `cpuUtilizationPercent`
"cpuUtilizationPercent": "string"
// end of the list of possible fields
}
// end of the list of possible fields
}
// end of the list of possible fields
},
"networkId": "string",
"subnetIds": [
"string"
],
"assignPublicIps": "boolean",
"documentApiEndpoint": "string",
"kinesisApiEndpoint": "string",
"status": "string",
"backupConfig": {
"backupSettings": [
{
"name": "string",
"description": "string",
"backupSchedule": {
// Includes only one of the fields `dailyBackupSchedule`, `weeklyBackupSchedule`, `recurringBackupSchedule`
"dailyBackupSchedule": {
"executeTime": {
"hours": "integer",
"minutes": "integer",
"seconds": "integer",
"nanos": "integer"
}
},
"weeklyBackupSchedule": {
"daysOfWeek": [
{
"days": [
"string"
],
"executeTime": {
"hours": "integer",
"minutes": "integer",
"seconds": "integer",
"nanos": "integer"
}
}
]
},
"recurringBackupSchedule": {
"startTime": "string",
"recurrence": "string"
},
// end of the list of possible fields
"nextExecuteTime": "string"
},
"backupTimeToLive": "string",
"sourcePaths": [
"string"
],
"sourcePathsToExclude": [
"string"
],
"type": "string",
"storageClass": "string"
}
]
},
"deletionProtection": "boolean",
"description": "string",
"labels": "object"
},
"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. |
EventDetails
|
Field |
Description |
|
databaseId |
string |
|
databaseName |
string |
|
dedicatedDatabase |
Includes only one of the fields |
|
serverlessDatabase |
Includes only one of the fields |
|
locationId |
string |
|
endpoint |
string |
|
resourcePresetId |
string |
|
storageConfig |
|
|
scalePolicy |
|
|
networkId |
string |
|
subnetIds[] |
string |
|
assignPublicIps |
boolean |
|
documentApiEndpoint |
string |
|
kinesisApiEndpoint |
string |
|
status |
enum (Status)
|
|
backupConfig |
|
|
deletionProtection |
boolean |
|
description |
string |
|
labels |
object (map<string, string>) |
DedicatedDatabase
|
Field |
Description |
|
resourcePresetId |
string |
|
storageConfig |
|
|
scalePolicy |
|
|
networkId |
string |
|
subnetIds[] |
string |
|
assignPublicIps |
boolean |
|
securityGroupIds[] |
string |
StorageConfig
|
Field |
Description |
|
storageOptions[] |
The minimum number of elements is 1. |
|
storageSizeLimit |
string (int64) |
StorageOption
|
Field |
Description |
|
storageTypeId |
string |
|
groupCount |
string (int64) |
ScalePolicy
|
Field |
Description |
|
fixedScale |
Includes only one of the fields |
|
autoScale |
Includes only one of the fields |
FixedScale
|
Field |
Description |
|
size |
string (int64) |
AutoScale
|
Field |
Description |
|
minSize |
string (int64) |
|
maxSize |
string (int64) |
|
targetTracking |
Includes only one of the fields |
TargetTracking
|
Field |
Description |
|
cpuUtilizationPercent |
string (int64) Includes only one of the fields |
ServerlessDatabase
|
Field |
Description |
|
throttlingRcuLimit |
string (int64) |
|
storageSizeLimit |
string (int64) |
|
enableThrottlingRcuLimit |
boolean |
|
provisionedRcuLimit |
string (int64) |
|
topicWriteQuota |
string (int64) |
BackupConfig
|
Field |
Description |
|
backupSettings[] |
BackupSettings
|
Field |
Description |
|
name |
string The maximum string length in characters is 256. |
|
description |
string The maximum string length in characters is 256. |
|
backupSchedule |
|
|
backupTimeToLive |
string (duration) |
|
sourcePaths[] |
string The maximum number of elements is 256. |
|
sourcePathsToExclude[] |
string The maximum number of elements is 256. |
|
type |
enum (Type)
|
|
storageClass |
enum (StorageClass)
|
BackupSchedule
|
Field |
Description |
|
dailyBackupSchedule |
Includes only one of the fields |
|
weeklyBackupSchedule |
Includes only one of the fields |
|
recurringBackupSchedule |
Includes only one of the fields |
|
nextExecuteTime |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
DailyBackupSchedule
|
Field |
Description |
|
executeTime |
TimeOfDay
|
Field |
Description |
|
hours |
integer (int32) |
|
minutes |
integer (int32) |
|
seconds |
integer (int32) |
|
nanos |
integer (int32) |
WeeklyBackupSchedule
|
Field |
Description |
|
daysOfWeek[] |
The number of elements must be in the range 1-7. |
DaysOfWeekBackupSchedule
|
Field |
Description |
|
days[] |
enum (DayOfWeek) The number of elements must be in the range 1-7.
|
|
executeTime |
RecurringBackupSchedule
|
Field |
Description |
|
startTime |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
|
recurrence |
string |