Compute Audit Trails Events: UpdateInstance
Event JSON schema
{
"eventId": "string",
"eventSource": "string",
"eventType": "string",
"eventTime": "string",
"authentication": {
"authenticated": "boolean",
"subjectType": "string",
"subjectId": "string",
"subjectName": "string",
"federationId": "string",
"federationName": "string",
"federationType": "string",
"tokenInfo": {
"maskedIamToken": "string",
"iamTokenId": "string",
"impersonatorId": "string",
"impersonatorType": "string",
"impersonatorName": "string",
"impersonatorFederationId": "string",
"impersonatorFederationName": "string",
"impersonatorFederationType": "string"
}
},
"authorization": {
"authorized": "boolean"
},
"resourceMetadata": {
"path": [
{
"resourceType": "string",
"resourceId": "string",
"resourceName": "string"
}
]
},
"requestMetadata": {
"remoteAddress": "string",
"userAgent": "string",
"requestId": "string",
"remotePort": "string"
},
"eventStatus": "string",
"error": {
"code": "integer",
"message": "string",
"details": [
"object"
]
},
"details": {
"instanceId": "string",
"instanceName": "string",
"description": "string",
"labels": "object",
"platformId": "string",
"metadataKeys": [
"string"
],
"metadataSerialPortEnable": "string",
"metadataOsloginEnable": "string",
"serviceAccountId": "string",
"networkSettings": {
"type": "string"
},
"placementPolicy": {
"placementGroupId": "string",
"hostAffinityRules": [
{
"key": "string",
"op": "string",
"values": [
"string"
]
}
],
"placementGroupPartition": "string"
},
"metadataOptions": {
"gceHttpEndpoint": "string",
"awsV1HttpEndpoint": "string",
"gceHttpToken": "string",
"awsV1HttpToken": "string"
},
"reservedInstancePoolId": "string",
"updateMask": "string",
"resourcesSpec": {
"memory": "string",
"cores": "string",
"coreFraction": "string",
"gpus": "string"
},
"resources": {
"memory": "string",
"cores": "string",
"coreFraction": "string",
"gpus": "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)
|
|
subjectId |
string |
|
subjectName |
string |
|
federationId |
string |
|
federationName |
string |
|
federationType |
enum (FederationType)
|
|
tokenInfo |
IamTokenInfo
|
Field |
Description |
|
maskedIamToken |
string |
|
iamTokenId |
string |
|
impersonatorId |
string |
|
impersonatorType |
enum (IamSubjectType)
|
|
impersonatorName |
string |
|
impersonatorFederationId |
string |
|
impersonatorFederationName |
string |
|
impersonatorFederationType |
enum (FederationType)
|
Authorization
|
Field |
Description |
|
authorized |
boolean |
ResourceMetadata
|
Field |
Description |
|
path[] |
Resource
|
Field |
Description |
|
resourceType |
string |
|
resourceId |
string |
|
resourceName |
string |
RequestMetadata
|
Field |
Description |
|
remoteAddress |
string |
|
userAgent |
string |
|
requestId |
string |
|
remotePort |
string (int64) |
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 |
|
instanceId |
string |
|
instanceName |
string |
|
description |
string |
|
labels |
object (map<string, string>) |
|
platformId |
string |
|
metadataKeys[] |
string |
|
metadataSerialPortEnable |
string |
|
metadataOsloginEnable |
string |
|
serviceAccountId |
string |
|
networkSettings |
|
|
placementPolicy |
|
|
metadataOptions |
|
|
reservedInstancePoolId |
string |
|
updateMask |
string (field-mask) A comma-separated names off ALL fields to be updated. If |
|
resourcesSpec |
|
|
resources |
NetworkSettings
|
Field |
Description |
|
type |
enum (Type)
|
PlacementPolicy
|
Field |
Description |
|
placementGroupId |
string |
|
hostAffinityRules[] |
|
|
placementGroupPartition |
string (int64) |
HostAffinityRule
|
Field |
Description |
|
key |
string |
|
op |
enum (Operator)
|
|
values[] |
string |
MetadataOptions
|
Field |
Description |
|
gceHttpEndpoint |
enum (MetadataOption)
|
|
awsV1HttpEndpoint |
enum (MetadataOption)
|
|
gceHttpToken |
enum (MetadataOption)
|
|
awsV1HttpToken |
enum (MetadataOption)
|
ResourcesSpec
|
Field |
Description |
|
memory |
string (int64) The maximum value is 274877906944. |
|
cores |
string (int64) |
|
coreFraction |
string (int64) |
|
gpus |
string (int64) |
Resources
|
Field |
Description |
|
memory |
string (int64) |
|
cores |
string (int64) |
|
coreFraction |
string (int64) |
|
gpus |
string (int64) |