Skip to content

Commit a2038b3

Browse files
committedJun 27, 2023
feat(notebooks): update the api
#### notebooks:v1 The following keys were added: - schemas.Instance.properties.preMigrationCheck (Total Keys: 2) - schemas.PreMigrationCheck (Total Keys: 4)
1 parent 1faf56c commit a2038b3

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed
 

‎docs/dyn/notebooks_v1.projects.locations.instances.html

+12
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ <h3>Method Details</h3>
229229
&quot;noPublicIp&quot;: True or False, # If true, no external IP will be assigned to this instance.
230230
&quot;noRemoveDataDisk&quot;: True or False, # Input only. If true, the data disk will not be auto deleted when deleting the instance.
231231
&quot;postStartupScript&quot;: &quot;A String&quot;, # Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (`gs://path-to-file/file-name`).
232+
&quot;preMigrationCheck&quot;: { # PreMigrationCheck checks how feasible a migration from UmN is. # Output only. Check how possible a migration from UmN to WbI is.
233+
&quot;message&quot;: &quot;A String&quot;, # Message provides a summary or workaround.
234+
&quot;result&quot;: &quot;A String&quot;, # Result returns the result of the check.
235+
},
232236
&quot;proxyUri&quot;: &quot;A String&quot;, # Output only. The proxy endpoint that is used to access the Jupyter notebook.
233237
&quot;reservationAffinity&quot;: { # Reservation Affinity for consuming Zonal reservation. # Optional. The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this notebook instance.
234238
&quot;consumeReservationType&quot;: &quot;A String&quot;, # Optional. Type of reservation to consume
@@ -459,6 +463,10 @@ <h3>Method Details</h3>
459463
&quot;noPublicIp&quot;: True or False, # If true, no external IP will be assigned to this instance.
460464
&quot;noRemoveDataDisk&quot;: True or False, # Input only. If true, the data disk will not be auto deleted when deleting the instance.
461465
&quot;postStartupScript&quot;: &quot;A String&quot;, # Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (`gs://path-to-file/file-name`).
466+
&quot;preMigrationCheck&quot;: { # PreMigrationCheck checks how feasible a migration from UmN is. # Output only. Check how possible a migration from UmN to WbI is.
467+
&quot;message&quot;: &quot;A String&quot;, # Message provides a summary or workaround.
468+
&quot;result&quot;: &quot;A String&quot;, # Result returns the result of the check.
469+
},
462470
&quot;proxyUri&quot;: &quot;A String&quot;, # Output only. The proxy endpoint that is used to access the Jupyter notebook.
463471
&quot;reservationAffinity&quot;: { # Reservation Affinity for consuming Zonal reservation. # Optional. The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this notebook instance.
464472
&quot;consumeReservationType&quot;: &quot;A String&quot;, # Optional. Type of reservation to consume
@@ -667,6 +675,10 @@ <h3>Method Details</h3>
667675
&quot;noPublicIp&quot;: True or False, # If true, no external IP will be assigned to this instance.
668676
&quot;noRemoveDataDisk&quot;: True or False, # Input only. If true, the data disk will not be auto deleted when deleting the instance.
669677
&quot;postStartupScript&quot;: &quot;A String&quot;, # Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (`gs://path-to-file/file-name`).
678+
&quot;preMigrationCheck&quot;: { # PreMigrationCheck checks how feasible a migration from UmN is. # Output only. Check how possible a migration from UmN to WbI is.
679+
&quot;message&quot;: &quot;A String&quot;, # Message provides a summary or workaround.
680+
&quot;result&quot;: &quot;A String&quot;, # Result returns the result of the check.
681+
},
670682
&quot;proxyUri&quot;: &quot;A String&quot;, # Output only. The proxy endpoint that is used to access the Jupyter notebook.
671683
&quot;reservationAffinity&quot;: { # Reservation Affinity for consuming Zonal reservation. # Optional. The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this notebook instance.
672684
&quot;consumeReservationType&quot;: &quot;A String&quot;, # Optional. Type of reservation to consume

‎googleapiclient/discovery_cache/documents/notebooks.v1.json

+33-1
Original file line numberDiff line numberDiff line change
@@ -1932,7 +1932,7 @@
19321932
}
19331933
}
19341934
},
1935-
"revision": "20230604",
1935+
"revision": "20230606",
19361936
"rootUrl": "https://notebooks.googleapis.com/",
19371937
"schemas": {
19381938
"AcceleratorConfig": {
@@ -2655,6 +2655,11 @@
26552655
"description": "Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (`gs://path-to-file/file-name`).",
26562656
"type": "string"
26572657
},
2658+
"preMigrationCheck": {
2659+
"$ref": "PreMigrationCheck",
2660+
"description": "Output only. Check how possible a migration from UmN to WbI is.",
2661+
"readOnly": true
2662+
},
26582663
"proxyUri": {
26592664
"description": "Output only. The proxy endpoint that is used to access the Jupyter notebook.",
26602665
"readOnly": true,
@@ -3190,6 +3195,33 @@
31903195
},
31913196
"type": "object"
31923197
},
3198+
"PreMigrationCheck": {
3199+
"description": "PreMigrationCheck checks how feasible a migration from UmN is.",
3200+
"id": "PreMigrationCheck",
3201+
"properties": {
3202+
"message": {
3203+
"description": "Message provides a summary or workaround.",
3204+
"type": "string"
3205+
},
3206+
"result": {
3207+
"description": "Result returns the result of the check.",
3208+
"enum": [
3209+
"RESULT_UNSPECIFIED",
3210+
"IDENTICAL",
3211+
"PARTIAL",
3212+
"NOT_RECOMMENDED"
3213+
],
3214+
"enumDescriptions": [
3215+
"Default type.",
3216+
"UmN can be migrated to WbI as is minus non-relevant parts.",
3217+
"Part of the UmN won't be ported. The migration might default some values.",
3218+
"UmN has too many unsupported options for a migration to WbI."
3219+
],
3220+
"type": "string"
3221+
}
3222+
},
3223+
"type": "object"
3224+
},
31933225
"RefreshRuntimeTokenInternalRequest": {
31943226
"description": "Request for getting a new access token.",
31953227
"id": "RefreshRuntimeTokenInternalRequest",

‎googleapiclient/discovery_cache/documents/notebooks.v2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@
396396
}
397397
}
398398
},
399-
"revision": "20230604",
399+
"revision": "20230606",
400400
"rootUrl": "https://notebooks.googleapis.com/",
401401
"schemas": {
402402
"Binding": {

0 commit comments

Comments
 (0)
Please sign in to comment.