Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f732fd3

Browse files
committedDec 20, 2022
feat(notebooks): update the api
#### notebooks:v1 The following keys were added: - schemas.RuntimeSoftwareConfig.properties.version (Total Keys: 2)
1 parent a4ca99c commit f732fd3

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed
 

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,9 @@ <h3>Method Details</h3>
347347
{ # Request for creating a notebook instance diagnostic file.
348348
&quot;diagnosticConfig&quot;: { # Defines flags that are used to run the diagnostic tool # Required. Defines flags that are used to run the diagnostic tool
349349
&quot;copyHomeFilesFlagEnabled&quot;: True or False, # Optional. Enables flag to copy all `/home/jupyter` folder contents
350-
&quot;gcsBucket&quot;: &quot;A String&quot;, # Required. User Cloud Storage bucket location (REQUIRED) ## Must be formatted with path prefix (gs://$GCS_BUCKET) Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project&#x27;s service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project&#x27;s service account or ## user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz
350+
&quot;gcsBucket&quot;: &quot;A String&quot;, # Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (`gs://$GCS_BUCKET`). Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project&#x27;s service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project&#x27;s service account or user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz`
351351
&quot;packetCaptureFlagEnabled&quot;: True or False, # Optional. Enables flag to capture packets from the instance for 30 seconds
352-
&quot;relativePath&quot;: &quot;A String&quot;, # Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (gs://$GCS_BUCKET/$DATE_$TIME.tar.gz) Example of full path where Log file will be written: gs://$GCS_BUCKET/$RELATIVE_PATH/
352+
&quot;relativePath&quot;: &quot;A String&quot;, # Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (`gs://$GCS_BUCKET/$DATE_$TIME.tar.gz`) Example of full path where Log file will be written: `gs://$GCS_BUCKET/$RELATIVE_PATH/`
353353
&quot;repairFlagEnabled&quot;: True or False, # Optional. Enables flag to repair service for instance
354354
},
355355
}

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ <h3>Method Details</h3>
174174
&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`).
175175
&quot;postStartupScriptBehavior&quot;: &quot;A String&quot;, # Behavior for the post startup script.
176176
&quot;upgradeable&quot;: True or False, # Output only. Bool indicating whether an newer image is available in an image family.
177+
&quot;version&quot;: &quot;A String&quot;, # Output only. version of boot image such as M100, from release label of the image.
177178
},
178179
&quot;state&quot;: &quot;A String&quot;, # Output only. Runtime state.
179180
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Runtime update time.
@@ -331,9 +332,9 @@ <h3>Method Details</h3>
331332
{ # Request for creating a notebook instance diagnostic file.
332333
&quot;diagnosticConfig&quot;: { # Defines flags that are used to run the diagnostic tool # Required. Defines flags that are used to run the diagnostic tool
333334
&quot;copyHomeFilesFlagEnabled&quot;: True or False, # Optional. Enables flag to copy all `/home/jupyter` folder contents
334-
&quot;gcsBucket&quot;: &quot;A String&quot;, # Required. User Cloud Storage bucket location (REQUIRED) ## Must be formatted with path prefix (gs://$GCS_BUCKET) Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project&#x27;s service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project&#x27;s service account or ## user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz
335+
&quot;gcsBucket&quot;: &quot;A String&quot;, # Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (`gs://$GCS_BUCKET`). Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project&#x27;s service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project&#x27;s service account or user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz`
335336
&quot;packetCaptureFlagEnabled&quot;: True or False, # Optional. Enables flag to capture packets from the instance for 30 seconds
336-
&quot;relativePath&quot;: &quot;A String&quot;, # Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (gs://$GCS_BUCKET/$DATE_$TIME.tar.gz) Example of full path where Log file will be written: gs://$GCS_BUCKET/$RELATIVE_PATH/
337+
&quot;relativePath&quot;: &quot;A String&quot;, # Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (`gs://$GCS_BUCKET/$DATE_$TIME.tar.gz`) Example of full path where Log file will be written: `gs://$GCS_BUCKET/$RELATIVE_PATH/`
337338
&quot;repairFlagEnabled&quot;: True or False, # Optional. Enables flag to repair service for instance
338339
},
339340
}
@@ -412,6 +413,7 @@ <h3>Method Details</h3>
412413
&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`).
413414
&quot;postStartupScriptBehavior&quot;: &quot;A String&quot;, # Behavior for the post startup script.
414415
&quot;upgradeable&quot;: True or False, # Output only. Bool indicating whether an newer image is available in an image family.
416+
&quot;version&quot;: &quot;A String&quot;, # Output only. version of boot image such as M100, from release label of the image.
415417
},
416418
&quot;state&quot;: &quot;A String&quot;, # Output only. Runtime state.
417419
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Runtime update time.
@@ -576,6 +578,7 @@ <h3>Method Details</h3>
576578
&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`).
577579
&quot;postStartupScriptBehavior&quot;: &quot;A String&quot;, # Behavior for the post startup script.
578580
&quot;upgradeable&quot;: True or False, # Output only. Bool indicating whether an newer image is available in an image family.
581+
&quot;version&quot;: &quot;A String&quot;, # Output only. version of boot image such as M100, from release label of the image.
579582
},
580583
&quot;state&quot;: &quot;A String&quot;, # Output only. Runtime state.
581584
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Runtime update time.
@@ -714,6 +717,7 @@ <h3>Method Details</h3>
714717
&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`).
715718
&quot;postStartupScriptBehavior&quot;: &quot;A String&quot;, # Behavior for the post startup script.
716719
&quot;upgradeable&quot;: True or False, # Output only. Bool indicating whether an newer image is available in an image family.
720+
&quot;version&quot;: &quot;A String&quot;, # Output only. version of boot image such as M100, from release label of the image.
717721
},
718722
&quot;state&quot;: &quot;A String&quot;, # Output only. Runtime state.
719723
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Runtime update time.

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

+8-3
Original file line numberDiff line numberDiff line change
@@ -1904,7 +1904,7 @@
19041904
}
19051905
}
19061906
},
1907-
"revision": "20221110",
1907+
"revision": "20221213",
19081908
"rootUrl": "https://notebooks.googleapis.com/",
19091909
"schemas": {
19101910
"AcceleratorConfig": {
@@ -2042,15 +2042,15 @@
20422042
"type": "boolean"
20432043
},
20442044
"gcsBucket": {
2045-
"description": "Required. User Cloud Storage bucket location (REQUIRED) ## Must be formatted with path prefix (gs://$GCS_BUCKET) Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account or ## user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz",
2045+
"description": "Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (`gs://$GCS_BUCKET`). Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account or user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz`",
20462046
"type": "string"
20472047
},
20482048
"packetCaptureFlagEnabled": {
20492049
"description": "Optional. Enables flag to capture packets from the instance for 30 seconds",
20502050
"type": "boolean"
20512051
},
20522052
"relativePath": {
2053-
"description": "Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (gs://$GCS_BUCKET/$DATE_$TIME.tar.gz) Example of full path where Log file will be written: gs://$GCS_BUCKET/$RELATIVE_PATH/",
2053+
"description": "Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (`gs://$GCS_BUCKET/$DATE_$TIME.tar.gz`) Example of full path where Log file will be written: `gs://$GCS_BUCKET/$RELATIVE_PATH/`",
20542054
"type": "string"
20552055
},
20562056
"repairFlagEnabled": {
@@ -3564,6 +3564,11 @@
35643564
"description": "Output only. Bool indicating whether an newer image is available in an image family.",
35653565
"readOnly": true,
35663566
"type": "boolean"
3567+
},
3568+
"version": {
3569+
"description": "Output only. version of boot image such as M100, from release label of the image.",
3570+
"readOnly": true,
3571+
"type": "string"
35673572
}
35683573
},
35693574
"type": "object"

0 commit comments

Comments
 (0)
Please sign in to comment.