Skip to content

Commit d083735

Browse files
feat(notebooks): update the api
#### notebooks:v2 The following keys were added: - schemas.Instance.properties.enableThirdPartyIdentity.type (Total Keys: 1)
1 parent 6f1d805 commit d083735

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

docs/dyn/notebooks_v1.projects.locations.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1><a href="notebooks_v1.html">Notebooks API</a> . <a href="notebooks_v1.projec
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#cancel">cancel(name, body=None, x__xgafv=None)</a></code></p>
79-
<p class="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.</p>
79+
<p class="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.</p>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
8282
<p class="firstline">Close httplib2 connections.</p>
@@ -95,7 +95,7 @@ <h2>Instance Methods</h2>
9595
<h3>Method Details</h3>
9696
<div class="method">
9797
<code class="details" id="cancel">cancel(name, body=None, x__xgafv=None)</code>
98-
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn&#x27;t support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
98+
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn&#x27;t support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
9999

100100
Args:
101101
name: string, The name of the operation resource to be cancelled. (required)

docs/dyn/notebooks_v2.projects.locations.instances.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ <h3>Method Details</h3>
181181
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Instance creation time.
182182
&quot;creator&quot;: &quot;A String&quot;, # Output only. Email address of entity that sent original CreateInstance request.
183183
&quot;disableProxyAccess&quot;: True or False, # Optional. If true, the notebook instance will not register with the proxy.
184+
&quot;enableThirdPartyIdentity&quot;: True or False, # Optional. Flag that specifies that a notebook can be accessed with third party identity provider.
184185
&quot;gceSetup&quot;: { # The definition of how to configure a VM instance outside of Resources and Identity. # Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
185186
&quot;acceleratorConfigs&quot;: [ # Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has [enough vCPUs and memory to support the `machine_type` you have selected](https://cloud.google.com/compute/docs/gpus/#gpus-list). Currently supports only one accelerator configuration.
186187
{ # An accelerator configuration for a VM instance Definition of a hardware accelerator. Note that there is no check on `type` and `core_count` combinations. TPUs are not supported. See [GPUs on Compute Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a valid combination.
@@ -418,6 +419,7 @@ <h3>Method Details</h3>
418419
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Instance creation time.
419420
&quot;creator&quot;: &quot;A String&quot;, # Output only. Email address of entity that sent original CreateInstance request.
420421
&quot;disableProxyAccess&quot;: True or False, # Optional. If true, the notebook instance will not register with the proxy.
422+
&quot;enableThirdPartyIdentity&quot;: True or False, # Optional. Flag that specifies that a notebook can be accessed with third party identity provider.
421423
&quot;gceSetup&quot;: { # The definition of how to configure a VM instance outside of Resources and Identity. # Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
422424
&quot;acceleratorConfigs&quot;: [ # Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has [enough vCPUs and memory to support the `machine_type` you have selected](https://cloud.google.com/compute/docs/gpus/#gpus-list). Currently supports only one accelerator configuration.
423425
{ # An accelerator configuration for a VM instance Definition of a hardware accelerator. Note that there is no check on `type` and `core_count` combinations. TPUs are not supported. See [GPUs on Compute Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a valid combination.
@@ -616,6 +618,7 @@ <h3>Method Details</h3>
616618
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Instance creation time.
617619
&quot;creator&quot;: &quot;A String&quot;, # Output only. Email address of entity that sent original CreateInstance request.
618620
&quot;disableProxyAccess&quot;: True or False, # Optional. If true, the notebook instance will not register with the proxy.
621+
&quot;enableThirdPartyIdentity&quot;: True or False, # Optional. Flag that specifies that a notebook can be accessed with third party identity provider.
619622
&quot;gceSetup&quot;: { # The definition of how to configure a VM instance outside of Resources and Identity. # Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
620623
&quot;acceleratorConfigs&quot;: [ # Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has [enough vCPUs and memory to support the `machine_type` you have selected](https://cloud.google.com/compute/docs/gpus/#gpus-list). Currently supports only one accelerator configuration.
621624
{ # An accelerator configuration for a VM instance Definition of a hardware accelerator. Note that there is no check on `type` and `core_count` combinations. TPUs are not supported. See [GPUs on Compute Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a valid combination.
@@ -753,6 +756,7 @@ <h3>Method Details</h3>
753756
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Instance creation time.
754757
&quot;creator&quot;: &quot;A String&quot;, # Output only. Email address of entity that sent original CreateInstance request.
755758
&quot;disableProxyAccess&quot;: True or False, # Optional. If true, the notebook instance will not register with the proxy.
759+
&quot;enableThirdPartyIdentity&quot;: True or False, # Optional. Flag that specifies that a notebook can be accessed with third party identity provider.
756760
&quot;gceSetup&quot;: { # The definition of how to configure a VM instance outside of Resources and Identity. # Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
757761
&quot;acceleratorConfigs&quot;: [ # Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has [enough vCPUs and memory to support the `machine_type` you have selected](https://cloud.google.com/compute/docs/gpus/#gpus-list). Currently supports only one accelerator configuration.
758762
{ # An accelerator configuration for a VM instance Definition of a hardware accelerator. Note that there is no check on `type` and `core_count` combinations. TPUs are not supported. See [GPUs on Compute Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a valid combination.

docs/dyn/notebooks_v2.projects.locations.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1><a href="notebooks_v2.html">Notebooks API</a> . <a href="notebooks_v2.projec
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#cancel">cancel(name, body=None, x__xgafv=None)</a></code></p>
79-
<p class="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.</p>
79+
<p class="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.</p>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
8282
<p class="firstline">Close httplib2 connections.</p>
@@ -95,7 +95,7 @@ <h2>Instance Methods</h2>
9595
<h3>Method Details</h3>
9696
<div class="method">
9797
<code class="details" id="cancel">cancel(name, body=None, x__xgafv=None)</code>
98-
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn&#x27;t support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
98+
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn&#x27;t support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
9999

100100
Args:
101101
name: string, The name of the operation resource to be cancelled. (required)

googleapiclient/discovery_cache/documents/notebooks.v1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@
12011201
"operations": {
12021202
"methods": {
12031203
"cancel": {
1204-
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1204+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
12051205
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
12061206
"httpMethod": "POST",
12071207
"id": "notebooks.projects.locations.operations.cancel",
@@ -2008,7 +2008,7 @@
20082008
}
20092009
}
20102010
},
2011-
"revision": "20241106",
2011+
"revision": "20241204",
20122012
"rootUrl": "https://notebooks.googleapis.com/",
20132013
"schemas": {
20142014
"AcceleratorConfig": {

googleapiclient/discovery_cache/documents/notebooks.v2.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@
779779
"operations": {
780780
"methods": {
781781
"cancel": {
782-
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
782+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
783783
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
784784
"httpMethod": "POST",
785785
"id": "notebooks.projects.locations.operations.cancel",
@@ -904,7 +904,7 @@
904904
}
905905
}
906906
},
907-
"revision": "20241106",
907+
"revision": "20241204",
908908
"rootUrl": "https://notebooks.googleapis.com/",
909909
"schemas": {
910910
"AcceleratorConfig": {
@@ -1406,6 +1406,10 @@
14061406
"description": "Optional. If true, the notebook instance will not register with the proxy.",
14071407
"type": "boolean"
14081408
},
1409+
"enableThirdPartyIdentity": {
1410+
"description": "Optional. Flag that specifies that a notebook can be accessed with third party identity provider.",
1411+
"type": "boolean"
1412+
},
14091413
"gceSetup": {
14101414
"$ref": "GceSetup",
14111415
"description": "Optional. Compute Engine setup for the notebook. Uses notebook-defined fields."

0 commit comments

Comments
 (0)