|
528 | 528 | ],
|
529 | 529 | "parameters": {
|
530 | 530 | "options.requestedPolicyVersion": {
|
531 |
| - "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", |
| 531 | + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", |
532 | 532 | "format": "int32",
|
533 | 533 | "location": "query",
|
534 | 534 | "type": "integer"
|
|
589 | 589 | "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
|
590 | 590 | "required": true,
|
591 | 591 | "type": "string"
|
| 592 | + }, |
| 593 | + "type": { |
| 594 | + "description": "Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.", |
| 595 | + "enum": [ |
| 596 | + "UPGRADE_TYPE_UNSPECIFIED", |
| 597 | + "UPGRADE_FRAMEWORK", |
| 598 | + "UPGRADE_OS", |
| 599 | + "UPGRADE_CUDA", |
| 600 | + "UPGRADE_ALL" |
| 601 | + ], |
| 602 | + "enumDescriptions": [ |
| 603 | + "Upgrade type is not specified.", |
| 604 | + "Upgrade ML framework.", |
| 605 | + "Upgrade Operating System.", |
| 606 | + "Upgrade CUDA.", |
| 607 | + "Upgrade All (OS, Framework and CUDA)." |
| 608 | + ], |
| 609 | + "location": "query", |
| 610 | + "type": "string" |
592 | 611 | }
|
593 | 612 | },
|
594 | 613 | "path": "v1/{+notebookInstance}:isUpgradeable",
|
|
971 | 990 | "https://www.googleapis.com/auth/cloud-platform"
|
972 | 991 | ]
|
973 | 992 | },
|
| 993 | + "updateMetadataItems": { |
| 994 | + "description": "Add/update metadata items for an instance.", |
| 995 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:updateMetadataItems", |
| 996 | + "httpMethod": "PATCH", |
| 997 | + "id": "notebooks.projects.locations.instances.updateMetadataItems", |
| 998 | + "parameterOrder": [ |
| 999 | + "name" |
| 1000 | + ], |
| 1001 | + "parameters": { |
| 1002 | + "name": { |
| 1003 | + "description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", |
| 1004 | + "location": "path", |
| 1005 | + "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", |
| 1006 | + "required": true, |
| 1007 | + "type": "string" |
| 1008 | + } |
| 1009 | + }, |
| 1010 | + "path": "v1/{+name}:updateMetadataItems", |
| 1011 | + "request": { |
| 1012 | + "$ref": "UpdateInstanceMetadataItemsRequest" |
| 1013 | + }, |
| 1014 | + "response": { |
| 1015 | + "$ref": "UpdateInstanceMetadataItemsResponse" |
| 1016 | + }, |
| 1017 | + "scopes": [ |
| 1018 | + "https://www.googleapis.com/auth/cloud-platform" |
| 1019 | + ] |
| 1020 | + }, |
974 | 1021 | "updateShieldedInstanceConfig": {
|
975 | 1022 | "description": "Updates the Shielded instance configuration of a single Instance.",
|
976 | 1023 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:updateShieldedInstanceConfig",
|
|
1275 | 1322 | ],
|
1276 | 1323 | "parameters": {
|
1277 | 1324 | "options.requestedPolicyVersion": {
|
1278 |
| - "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", |
| 1325 | + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", |
1279 | 1326 | "format": "int32",
|
1280 | 1327 | "location": "query",
|
1281 | 1328 | "type": "integer"
|
|
1696 | 1743 | }
|
1697 | 1744 | }
|
1698 | 1745 | },
|
1699 |
| - "revision": "20211019", |
| 1746 | + "revision": "20220104", |
1700 | 1747 | "rootUrl": "https://notebooks.googleapis.com/",
|
1701 | 1748 | "schemas": {
|
1702 | 1749 | "AcceleratorConfig": {
|
|
3526 | 3573 | },
|
3527 | 3574 | "type": "object"
|
3528 | 3575 | },
|
| 3576 | + "UpdateInstanceMetadataItemsRequest": { |
| 3577 | + "description": "Request for adding/changing metadata items for an instance.", |
| 3578 | + "id": "UpdateInstanceMetadataItemsRequest", |
| 3579 | + "properties": { |
| 3580 | + "items": { |
| 3581 | + "additionalProperties": { |
| 3582 | + "type": "string" |
| 3583 | + }, |
| 3584 | + "description": "Metadata items to add/update for the instance.", |
| 3585 | + "type": "object" |
| 3586 | + } |
| 3587 | + }, |
| 3588 | + "type": "object" |
| 3589 | + }, |
| 3590 | + "UpdateInstanceMetadataItemsResponse": { |
| 3591 | + "description": "Response for adding/changing metadata items for an instance.", |
| 3592 | + "id": "UpdateInstanceMetadataItemsResponse", |
| 3593 | + "properties": { |
| 3594 | + "items": { |
| 3595 | + "additionalProperties": { |
| 3596 | + "type": "string" |
| 3597 | + }, |
| 3598 | + "description": "Map of items that were added/updated to/in the metadata.", |
| 3599 | + "type": "object" |
| 3600 | + } |
| 3601 | + }, |
| 3602 | + "type": "object" |
| 3603 | + }, |
3529 | 3604 | "UpdateShieldedInstanceConfigRequest": {
|
3530 | 3605 | "description": "Request for updating the Shielded Instance config for a notebook instance. You can only use this method on a stopped instance",
|
3531 | 3606 | "id": "UpdateShieldedInstanceConfigRequest",
|
|
3611 | 3686 | "description": "Request for upgrading a notebook instance from within the VM",
|
3612 | 3687 | "id": "UpgradeInstanceInternalRequest",
|
3613 | 3688 | "properties": {
|
| 3689 | + "type": { |
| 3690 | + "description": "Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.", |
| 3691 | + "enum": [ |
| 3692 | + "UPGRADE_TYPE_UNSPECIFIED", |
| 3693 | + "UPGRADE_FRAMEWORK", |
| 3694 | + "UPGRADE_OS", |
| 3695 | + "UPGRADE_CUDA", |
| 3696 | + "UPGRADE_ALL" |
| 3697 | + ], |
| 3698 | + "enumDescriptions": [ |
| 3699 | + "Upgrade type is not specified.", |
| 3700 | + "Upgrade ML framework.", |
| 3701 | + "Upgrade Operating System.", |
| 3702 | + "Upgrade CUDA.", |
| 3703 | + "Upgrade All (OS, Framework and CUDA)." |
| 3704 | + ], |
| 3705 | + "type": "string" |
| 3706 | + }, |
3614 | 3707 | "vmId": {
|
3615 | 3708 | "description": "Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity",
|
3616 | 3709 | "type": "string"
|
|
3621 | 3714 | "UpgradeInstanceRequest": {
|
3622 | 3715 | "description": "Request for upgrading a notebook instance",
|
3623 | 3716 | "id": "UpgradeInstanceRequest",
|
3624 |
| - "properties": {}, |
| 3717 | + "properties": { |
| 3718 | + "type": { |
| 3719 | + "description": "Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.", |
| 3720 | + "enum": [ |
| 3721 | + "UPGRADE_TYPE_UNSPECIFIED", |
| 3722 | + "UPGRADE_FRAMEWORK", |
| 3723 | + "UPGRADE_OS", |
| 3724 | + "UPGRADE_CUDA", |
| 3725 | + "UPGRADE_ALL" |
| 3726 | + ], |
| 3727 | + "enumDescriptions": [ |
| 3728 | + "Upgrade type is not specified.", |
| 3729 | + "Upgrade ML framework.", |
| 3730 | + "Upgrade Operating System.", |
| 3731 | + "Upgrade CUDA.", |
| 3732 | + "Upgrade All (OS, Framework and CUDA)." |
| 3733 | + ], |
| 3734 | + "type": "string" |
| 3735 | + } |
| 3736 | + }, |
3625 | 3737 | "type": "object"
|
3626 | 3738 | },
|
3627 | 3739 | "VertexAIParameters": {
|
|
0 commit comments