-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Vertex AI notebooks to rpe lib.
- Loading branch information
1 parent
313e88b
commit 8025468
Showing
6 changed files
with
185 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"protoPayload": { | ||
"@type": "type.googleapis.com/google.cloud.audit.AuditLog", | ||
"status": {}, | ||
"authenticationInfo": { | ||
"principalEmail": "[email protected]", | ||
"principalSubject": "user:[email protected]" | ||
}, | ||
"requestMetadata": { | ||
"callerIp": "70.113.39.123", | ||
"callerSuppliedUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36,gzip(gfe),gzip(gfe)", | ||
"requestAttributes": { | ||
"time": "2024-11-22T19:39:10.510275284Z", | ||
"auth": {} | ||
}, | ||
"destinationAttributes": {} | ||
}, | ||
"serviceName": "notebooks.googleapis.com", | ||
"methodName": "google.cloud.notebooks.v2.NotebookService.CreateInstance", | ||
"authorizationInfo": [ | ||
{ | ||
"resource": "projects/cd-onboarding-graph-test-4/locations/us-central1-a/instances/test-create-event", | ||
"permission": "notebooks.instances.create", | ||
"granted": true, | ||
"resourceAttributes": { | ||
"service": "notebooks.googleapis.com", | ||
"name": "projects/cd-onboarding-graph-test-4/locations/us-central1-a/instances/test-create-event" | ||
}, | ||
"permissionType": "ADMIN_WRITE" | ||
} | ||
], | ||
"resourceName": "projects/cd-onboarding-graph-test-4/locations/us-central1-a/instances/test-create-event", | ||
"request": { | ||
"instance": {}, | ||
"parent": "projects/cd-onboarding-graph-test-4/locations/us-central1-a", | ||
"@type": "type.googleapis.com/google.cloud.notebooks.v2.CreateInstanceRequest", | ||
"instance_id": "test-create-event" | ||
}, | ||
"response": { | ||
"@type": "type.googleapis.com/google.longrunning.Operation" | ||
}, | ||
"resourceLocation": { | ||
"currentLocations": [ | ||
"us-central1-a" | ||
] | ||
} | ||
}, | ||
"insertId": "dlmvxecay0", | ||
"resource": { | ||
"type": "audited_resource", | ||
"labels": { | ||
"method": "google.cloud.notebooks.v2.NotebookService.CreateInstance", | ||
"project_id": "cd-onboarding-graph-test-4", | ||
"service": "notebooks.googleapis.com" | ||
} | ||
}, | ||
"timestamp": "2024-11-22T19:39:11.999291772Z", | ||
"severity": "NOTICE", | ||
"logName": "projects/cd-onboarding-graph-test-4/logs/cloudaudit.googleapis.com%2Factivity", | ||
"operation": { | ||
"id": "projects/cd-onboarding-graph-test-4/locations/us-central1-a/operations/operation-1732304350517-6278589749919-3cddbad0-d4e5f89e", | ||
"producer": "notebooks.googleapis.com", | ||
"first": true | ||
}, | ||
"receiveTimestamp": "2024-11-22T19:39:12.712491438Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"protoPayload": { | ||
"@type": "type.googleapis.com/google.cloud.audit.AuditLog", | ||
"status": { | ||
"code": 9, | ||
"message": "instance in state \"ACTIVE\" must be stopped before updating one of the following: [accelerator_configs machine_type shielded_instance_config reservation_affinity], failed precondition" | ||
}, | ||
"authenticationInfo": { | ||
"principalEmail": "[email protected]", | ||
"principalSubject": "user:[email protected]" | ||
}, | ||
"requestMetadata": { | ||
"callerIp": "70.113.39.123", | ||
"callerSuppliedUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36,gzip(gfe),gzip(gfe)", | ||
"requestAttributes": { | ||
"time": "2024-11-22T21:34:16.882098660Z", | ||
"auth": {} | ||
}, | ||
"destinationAttributes": {} | ||
}, | ||
"serviceName": "notebooks.googleapis.com", | ||
"methodName": "google.cloud.notebooks.v2.NotebookService.UpdateInstance", | ||
"authorizationInfo": [ | ||
{ | ||
"resource": "projects/cd-onboarding-graph-test-4/locations/us-central1-a/instances/test-notebook", | ||
"permission": "notebooks.instances.update", | ||
"granted": true, | ||
"resourceAttributes": { | ||
"service": "notebooks.googleapis.com", | ||
"name": "projects/cd-onboarding-graph-test-4/locations/us-central1-a/instances/test-notebook" | ||
}, | ||
"permissionType": "ADMIN_WRITE" | ||
} | ||
], | ||
"resourceName": "projects/cd-onboarding-graph-test-4/locations/us-central1-a/instances/test-notebook", | ||
"request": { | ||
"@type": "type.googleapis.com/google.cloud.notebooks.v2.UpdateInstanceRequest", | ||
"instance": {} | ||
}, | ||
"response": { | ||
"@type": "type.googleapis.com/google.longrunning.Operation" | ||
}, | ||
"resourceLocation": { | ||
"currentLocations": [ | ||
"us-central1-a" | ||
] | ||
} | ||
}, | ||
"insertId": "dlmvxeceen", | ||
"resource": { | ||
"type": "audited_resource", | ||
"labels": { | ||
"service": "notebooks.googleapis.com", | ||
"project_id": "cd-onboarding-graph-test-4", | ||
"method": "google.cloud.notebooks.v2.NotebookService.UpdateInstance" | ||
} | ||
}, | ||
"timestamp": "2024-11-22T21:34:16.891531432Z", | ||
"severity": "ERROR", | ||
"logName": "projects/cd-onboarding-graph-test-4/logs/cloudaudit.googleapis.com%2Factivity", | ||
"receiveTimestamp": "2024-11-22T21:34:17.868613326Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters