|
1389 | 1389 | "https://www.googleapis.com/auth/cloud-platform"
|
1390 | 1390 | ]
|
1391 | 1391 | },
|
| 1392 | + "refreshRuntimeTokenInternal": { |
| 1393 | + "description": "Gets an access token for the consumer service account that the customer attached to the runtime. Only accessible from the tenant instance.", |
| 1394 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:refreshRuntimeTokenInternal", |
| 1395 | + "httpMethod": "POST", |
| 1396 | + "id": "notebooks.projects.locations.runtimes.refreshRuntimeTokenInternal", |
| 1397 | + "parameterOrder": [ |
| 1398 | + "name" |
| 1399 | + ], |
| 1400 | + "parameters": { |
| 1401 | + "name": { |
| 1402 | + "description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", |
| 1403 | + "location": "path", |
| 1404 | + "pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", |
| 1405 | + "required": true, |
| 1406 | + "type": "string" |
| 1407 | + } |
| 1408 | + }, |
| 1409 | + "path": "v1/{+name}:refreshRuntimeTokenInternal", |
| 1410 | + "request": { |
| 1411 | + "$ref": "RefreshRuntimeTokenInternalRequest" |
| 1412 | + }, |
| 1413 | + "response": { |
| 1414 | + "$ref": "RefreshRuntimeTokenInternalResponse" |
| 1415 | + }, |
| 1416 | + "scopes": [ |
| 1417 | + "https://www.googleapis.com/auth/cloud-platform" |
| 1418 | + ] |
| 1419 | + }, |
1392 | 1420 | "reportEvent": {
|
1393 | 1421 | "description": "Report and process a runtime event.",
|
1394 | 1422 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:reportEvent",
|
|
1753 | 1781 | }
|
1754 | 1782 | }
|
1755 | 1783 | },
|
1756 |
| - "revision": "20220303", |
| 1784 | + "revision": "20220319", |
1757 | 1785 | "rootUrl": "https://notebooks.googleapis.com/",
|
1758 | 1786 | "schemas": {
|
1759 | 1787 | "AcceleratorConfig": {
|
|
1924 | 1952 | "type": "object"
|
1925 | 1953 | },
|
1926 | 1954 | "Empty": {
|
1927 |
| - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", |
| 1955 | + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", |
1928 | 1956 | "id": "Empty",
|
1929 | 1957 | "properties": {},
|
1930 | 1958 | "type": "object"
|
|
2956 | 2984 | },
|
2957 | 2985 | "type": "object"
|
2958 | 2986 | },
|
| 2987 | + "RefreshRuntimeTokenInternalRequest": { |
| 2988 | + "description": "Request for getting a new access token.", |
| 2989 | + "id": "RefreshRuntimeTokenInternalRequest", |
| 2990 | + "properties": { |
| 2991 | + "vmId": { |
| 2992 | + "description": "Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", |
| 2993 | + "type": "string" |
| 2994 | + } |
| 2995 | + }, |
| 2996 | + "type": "object" |
| 2997 | + }, |
| 2998 | + "RefreshRuntimeTokenInternalResponse": { |
| 2999 | + "description": "Response with a new access token.", |
| 3000 | + "id": "RefreshRuntimeTokenInternalResponse", |
| 3001 | + "properties": { |
| 3002 | + "accessToken": { |
| 3003 | + "description": "The OAuth 2.0 access token.", |
| 3004 | + "type": "string" |
| 3005 | + }, |
| 3006 | + "expireTime": { |
| 3007 | + "description": "Output only. Token expiration time.", |
| 3008 | + "format": "google-datetime", |
| 3009 | + "readOnly": true, |
| 3010 | + "type": "string" |
| 3011 | + } |
| 3012 | + }, |
| 3013 | + "type": "object" |
| 3014 | + }, |
2959 | 3015 | "RegisterInstanceRequest": {
|
2960 | 3016 | "description": "Request for registering a notebook instance.",
|
2961 | 3017 | "id": "RegisterInstanceRequest",
|
|
0 commit comments