Skip to content

Commit

Permalink
feat(notebooks): update the api
Browse files Browse the repository at this point in the history
#### notebooks:v1

The following keys were added:
- schemas.RuntimeSoftwareConfig.properties.version (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Dec 20, 2022
1 parent a4ca99c commit f732fd3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/dyn/notebooks_v1.projects.locations.instances.html
Expand Up @@ -347,9 +347,9 @@ <h3>Method Details</h3>
{ # Request for creating a notebook instance diagnostic file.
&quot;diagnosticConfig&quot;: { # Defines flags that are used to run the diagnostic tool # Required. Defines flags that are used to run the diagnostic tool
&quot;copyHomeFilesFlagEnabled&quot;: True or False, # Optional. Enables flag to copy all `/home/jupyter` folder contents
&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
&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`
&quot;packetCaptureFlagEnabled&quot;: True or False, # Optional. Enables flag to capture packets from the instance for 30 seconds
&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/
&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/`
&quot;repairFlagEnabled&quot;: True or False, # Optional. Enables flag to repair service for instance
},
}
Expand Down
8 changes: 6 additions & 2 deletions docs/dyn/notebooks_v1.projects.locations.runtimes.html
Expand Up @@ -174,6 +174,7 @@ <h3>Method Details</h3>
&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`).
&quot;postStartupScriptBehavior&quot;: &quot;A String&quot;, # Behavior for the post startup script.
&quot;upgradeable&quot;: True or False, # Output only. Bool indicating whether an newer image is available in an image family.
&quot;version&quot;: &quot;A String&quot;, # Output only. version of boot image such as M100, from release label of the image.
},
&quot;state&quot;: &quot;A String&quot;, # Output only. Runtime state.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Runtime update time.
Expand Down Expand Up @@ -331,9 +332,9 @@ <h3>Method Details</h3>
{ # Request for creating a notebook instance diagnostic file.
&quot;diagnosticConfig&quot;: { # Defines flags that are used to run the diagnostic tool # Required. Defines flags that are used to run the diagnostic tool
&quot;copyHomeFilesFlagEnabled&quot;: True or False, # Optional. Enables flag to copy all `/home/jupyter` folder contents
&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
&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`
&quot;packetCaptureFlagEnabled&quot;: True or False, # Optional. Enables flag to capture packets from the instance for 30 seconds
&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/
&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/`
&quot;repairFlagEnabled&quot;: True or False, # Optional. Enables flag to repair service for instance
},
}
Expand Down Expand Up @@ -412,6 +413,7 @@ <h3>Method Details</h3>
&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`).
&quot;postStartupScriptBehavior&quot;: &quot;A String&quot;, # Behavior for the post startup script.
&quot;upgradeable&quot;: True or False, # Output only. Bool indicating whether an newer image is available in an image family.
&quot;version&quot;: &quot;A String&quot;, # Output only. version of boot image such as M100, from release label of the image.
},
&quot;state&quot;: &quot;A String&quot;, # Output only. Runtime state.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Runtime update time.
Expand Down Expand Up @@ -576,6 +578,7 @@ <h3>Method Details</h3>
&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`).
&quot;postStartupScriptBehavior&quot;: &quot;A String&quot;, # Behavior for the post startup script.
&quot;upgradeable&quot;: True or False, # Output only. Bool indicating whether an newer image is available in an image family.
&quot;version&quot;: &quot;A String&quot;, # Output only. version of boot image such as M100, from release label of the image.
},
&quot;state&quot;: &quot;A String&quot;, # Output only. Runtime state.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Runtime update time.
Expand Down Expand Up @@ -714,6 +717,7 @@ <h3>Method Details</h3>
&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`).
&quot;postStartupScriptBehavior&quot;: &quot;A String&quot;, # Behavior for the post startup script.
&quot;upgradeable&quot;: True or False, # Output only. Bool indicating whether an newer image is available in an image family.
&quot;version&quot;: &quot;A String&quot;, # Output only. version of boot image such as M100, from release label of the image.
},
&quot;state&quot;: &quot;A String&quot;, # Output only. Runtime state.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Runtime update time.
Expand Down
11 changes: 8 additions & 3 deletions googleapiclient/discovery_cache/documents/notebooks.v1.json
Expand Up @@ -1904,7 +1904,7 @@
}
}
},
"revision": "20221110",
"revision": "20221213",
"rootUrl": "https://notebooks.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2042,15 +2042,15 @@
"type": "boolean"
},
"gcsBucket": {
"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",
"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`",
"type": "string"
},
"packetCaptureFlagEnabled": {
"description": "Optional. Enables flag to capture packets from the instance for 30 seconds",
"type": "boolean"
},
"relativePath": {
"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/",
"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/`",
"type": "string"
},
"repairFlagEnabled": {
Expand Down Expand Up @@ -3564,6 +3564,11 @@
"description": "Output only. Bool indicating whether an newer image is available in an image family.",
"readOnly": true,
"type": "boolean"
},
"version": {
"description": "Output only. version of boot image such as M100, from release label of the image.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
Expand Down

0 comments on commit f732fd3

Please sign in to comment.